chrono: New, as per N2661.
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS 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 ac_pwd=`pwd`
464
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
484
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
502
503 ac_prev=
504 for ac_option
505 do
506   # If the previous option needs an argument, assign it.
507   if test -n "$ac_prev"; then
508     eval "$ac_prev=\$ac_option"
509     ac_prev=
510     continue
511   fi
512
513   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515   # Accept the important Cygnus configure options, so we can diagnose typos.
516
517   case $ac_option in
518
519   -bindir | --bindir | --bindi | --bind | --bin | --bi)
520     ac_prev=bindir ;;
521   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522     bindir=$ac_optarg ;;
523
524   -build | --build | --buil | --bui | --bu)
525     ac_prev=build_alias ;;
526   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527     build_alias=$ac_optarg ;;
528
529   -cache-file | --cache-file | --cache-fil | --cache-fi \
530   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531     ac_prev=cache_file ;;
532   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534     cache_file=$ac_optarg ;;
535
536   --config-cache | -C)
537     cache_file=config.cache ;;
538
539   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540     ac_prev=datadir ;;
541   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542   | --da=*)
543     datadir=$ac_optarg ;;
544
545   -disable-* | --disable-*)
546     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547     # Reject names that are not valid shell variable names.
548     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550    { (exit 1); exit 1; }; }
551     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552     eval "enable_$ac_feature=no" ;;
553
554   -enable-* | --enable-*)
555     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556     # Reject names that are not valid shell variable names.
557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559    { (exit 1); exit 1; }; }
560     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561     case $ac_option in
562       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563       *) ac_optarg=yes ;;
564     esac
565     eval "enable_$ac_feature='$ac_optarg'" ;;
566
567   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569   | --exec | --exe | --ex)
570     ac_prev=exec_prefix ;;
571   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573   | --exec=* | --exe=* | --ex=*)
574     exec_prefix=$ac_optarg ;;
575
576   -gas | --gas | --ga | --g)
577     # Obsolete; use --with-gas.
578     with_gas=yes ;;
579
580   -help | --help | --hel | --he | -h)
581     ac_init_help=long ;;
582   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583     ac_init_help=recursive ;;
584   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585     ac_init_help=short ;;
586
587   -host | --host | --hos | --ho)
588     ac_prev=host_alias ;;
589   -host=* | --host=* | --hos=* | --ho=*)
590     host_alias=$ac_optarg ;;
591
592   -includedir | --includedir | --includedi | --included | --include \
593   | --includ | --inclu | --incl | --inc)
594     ac_prev=includedir ;;
595   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596   | --includ=* | --inclu=* | --incl=* | --inc=*)
597     includedir=$ac_optarg ;;
598
599   -infodir | --infodir | --infodi | --infod | --info | --inf)
600     ac_prev=infodir ;;
601   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602     infodir=$ac_optarg ;;
603
604   -libdir | --libdir | --libdi | --libd)
605     ac_prev=libdir ;;
606   -libdir=* | --libdir=* | --libdi=* | --libd=*)
607     libdir=$ac_optarg ;;
608
609   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610   | --libexe | --libex | --libe)
611     ac_prev=libexecdir ;;
612   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613   | --libexe=* | --libex=* | --libe=*)
614     libexecdir=$ac_optarg ;;
615
616   -localstatedir | --localstatedir | --localstatedi | --localstated \
617   | --localstate | --localstat | --localsta | --localst \
618   | --locals | --local | --loca | --loc | --lo)
619     ac_prev=localstatedir ;;
620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623     localstatedir=$ac_optarg ;;
624
625   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626     ac_prev=mandir ;;
627   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628     mandir=$ac_optarg ;;
629
630   -nfp | --nfp | --nf)
631     # Obsolete; use --without-fp.
632     with_fp=no ;;
633
634   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635   | --no-cr | --no-c | -n)
636     no_create=yes ;;
637
638   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640     no_recursion=yes ;;
641
642   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644   | --oldin | --oldi | --old | --ol | --o)
645     ac_prev=oldincludedir ;;
646   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649     oldincludedir=$ac_optarg ;;
650
651   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652     ac_prev=prefix ;;
653   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654     prefix=$ac_optarg ;;
655
656   -program-prefix | --program-prefix | --program-prefi | --program-pref \
657   | --program-pre | --program-pr | --program-p)
658     ac_prev=program_prefix ;;
659   -program-prefix=* | --program-prefix=* | --program-prefi=* \
660   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661     program_prefix=$ac_optarg ;;
662
663   -program-suffix | --program-suffix | --program-suffi | --program-suff \
664   | --program-suf | --program-su | --program-s)
665     ac_prev=program_suffix ;;
666   -program-suffix=* | --program-suffix=* | --program-suffi=* \
667   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668     program_suffix=$ac_optarg ;;
669
670   -program-transform-name | --program-transform-name \
671   | --program-transform-nam | --program-transform-na \
672   | --program-transform-n | --program-transform- \
673   | --program-transform | --program-transfor \
674   | --program-transfo | --program-transf \
675   | --program-trans | --program-tran \
676   | --progr-tra | --program-tr | --program-t)
677     ac_prev=program_transform_name ;;
678   -program-transform-name=* | --program-transform-name=* \
679   | --program-transform-nam=* | --program-transform-na=* \
680   | --program-transform-n=* | --program-transform-=* \
681   | --program-transform=* | --program-transfor=* \
682   | --program-transfo=* | --program-transf=* \
683   | --program-trans=* | --program-tran=* \
684   | --progr-tra=* | --program-tr=* | --program-t=*)
685     program_transform_name=$ac_optarg ;;
686
687   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688   | -silent | --silent | --silen | --sile | --sil)
689     silent=yes ;;
690
691   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692     ac_prev=sbindir ;;
693   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694   | --sbi=* | --sb=*)
695     sbindir=$ac_optarg ;;
696
697   -sharedstatedir | --sharedstatedir | --sharedstatedi \
698   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699   | --sharedst | --shareds | --shared | --share | --shar \
700   | --sha | --sh)
701     ac_prev=sharedstatedir ;;
702   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705   | --sha=* | --sh=*)
706     sharedstatedir=$ac_optarg ;;
707
708   -site | --site | --sit)
709     ac_prev=site ;;
710   -site=* | --site=* | --sit=*)
711     site=$ac_optarg ;;
712
713   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714     ac_prev=srcdir ;;
715   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716     srcdir=$ac_optarg ;;
717
718   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719   | --syscon | --sysco | --sysc | --sys | --sy)
720     ac_prev=sysconfdir ;;
721   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723     sysconfdir=$ac_optarg ;;
724
725   -target | --target | --targe | --targ | --tar | --ta | --t)
726     ac_prev=target_alias ;;
727   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728     target_alias=$ac_optarg ;;
729
730   -v | -verbose | --verbose | --verbos | --verbo | --verb)
731     verbose=yes ;;
732
733   -version | --version | --versio | --versi | --vers | -V)
734     ac_init_version=: ;;
735
736   -with-* | --with-*)
737     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738     # Reject names that are not valid shell variable names.
739     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740       { echo "$as_me: error: invalid package name: $ac_package" >&2
741    { (exit 1); exit 1; }; }
742     ac_package=`echo $ac_package| sed 's/-/_/g'`
743     case $ac_option in
744       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745       *) ac_optarg=yes ;;
746     esac
747     eval "with_$ac_package='$ac_optarg'" ;;
748
749   -without-* | --without-*)
750     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753       { echo "$as_me: error: invalid package name: $ac_package" >&2
754    { (exit 1); exit 1; }; }
755     ac_package=`echo $ac_package | sed 's/-/_/g'`
756     eval "with_$ac_package=no" ;;
757
758   --x)
759     # Obsolete; use --with-x.
760     with_x=yes ;;
761
762   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763   | --x-incl | --x-inc | --x-in | --x-i)
764     ac_prev=x_includes ;;
765   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767     x_includes=$ac_optarg ;;
768
769   -x-libraries | --x-libraries | --x-librarie | --x-librari \
770   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771     ac_prev=x_libraries ;;
772   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774     x_libraries=$ac_optarg ;;
775
776   -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778    { (exit 1); exit 1; }; }
779     ;;
780
781   *=*)
782     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783     # Reject names that are not valid shell variable names.
784     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786    { (exit 1); exit 1; }; }
787     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788     eval "$ac_envvar='$ac_optarg'"
789     export $ac_envvar ;;
790
791   *)
792     # FIXME: should be removed in autoconf 3.0.
793     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797     ;;
798
799   esac
800 done
801
802 if test -n "$ac_prev"; then
803   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804   { echo "$as_me: error: missing argument to $ac_option" >&2
805    { (exit 1); exit 1; }; }
806 fi
807
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
810 do
811   eval ac_val=$`echo $ac_var`
812   case $ac_val in
813     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815    { (exit 1); exit 1; }; };;
816   esac
817 done
818
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821               localstatedir libdir includedir oldincludedir infodir mandir
822 do
823   eval ac_val=$`echo $ac_var`
824   case $ac_val in
825     [\\/$]* | ?:[\\/]* ) ;;
826     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827    { (exit 1); exit 1; }; };;
828   esac
829 done
830
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
837
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840   if test "x$build_alias" = x; then
841     cross_compiling=maybe
842     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843     If a cross compiler is detected then cross compile mode will be used." >&2
844   elif test "x$build_alias" != "x$host_alias"; then
845     cross_compiling=yes
846   fi
847 fi
848
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852 test "$silent" = yes && exec 6>/dev/null
853
854
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857   ac_srcdir_defaulted=yes
858   # Try the directory containing this script, then its parent.
859   ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861          X"$0" : 'X\(//\)[^/]' \| \
862          X"$0" : 'X\(//\)$' \| \
863          X"$0" : 'X\(/\)' \| \
864          .     : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868           /^X\(\/\/\)$/{ s//\1/; q; }
869           /^X\(\/\).*/{ s//\1/; q; }
870           s/.*/./; q'`
871   srcdir=$ac_confdir
872   if test ! -r $srcdir/$ac_unique_file; then
873     srcdir=..
874   fi
875 else
876   ac_srcdir_defaulted=no
877 fi
878 if test ! -r $srcdir/$ac_unique_file; then
879   if test "$ac_srcdir_defaulted" = yes; then
880     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881    { (exit 1); exit 1; }; }
882   else
883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884    { (exit 1); exit 1; }; }
885   fi
886 fi
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889    { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
927
928 #
929 # Report the --help message.
930 #
931 if test "$ac_init_help" = "long"; then
932   # Omit some internal or obsolete options to make the list less imposing.
933   # This message is too long to be a string in the A/UX 3.1 sh.
934   cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936
937 Usage: $0 [OPTION]... [VAR=VALUE]...
938
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE.  See below for descriptions of some of the useful variables.
941
942 Defaults for the options are specified in brackets.
943
944 Configuration:
945   -h, --help              display this help and exit
946       --help=short        display options specific to this package
947       --help=recursive    display the short help of all the included packages
948   -V, --version           display version information and exit
949   -q, --quiet, --silent   do not print \`checking...' messages
950       --cache-file=FILE   cache test results in FILE [disabled]
951   -C, --config-cache      alias for \`--cache-file=config.cache'
952   -n, --no-create         do not create output files
953       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
954
955 _ACEOF
956
957   cat <<_ACEOF
958 Installation directories:
959   --prefix=PREFIX         install architecture-independent files in PREFIX
960                           [$ac_default_prefix]
961   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
962                           [PREFIX]
963
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
968
969 For better control, use the options below.
970
971 Fine tuning of the installation directories:
972   --bindir=DIR           user executables [EPREFIX/bin]
973   --sbindir=DIR          system admin executables [EPREFIX/sbin]
974   --libexecdir=DIR       program executables [EPREFIX/libexec]
975   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
976   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
977   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
978   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
979   --libdir=DIR           object code libraries [EPREFIX/lib]
980   --includedir=DIR       C header files [PREFIX/include]
981   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
982   --infodir=DIR          info documentation [PREFIX/info]
983   --mandir=DIR           man documentation [PREFIX/man]
984 _ACEOF
985
986   cat <<\_ACEOF
987
988 Program names:
989   --program-prefix=PREFIX            prepend PREFIX to installed program names
990   --program-suffix=SUFFIX            append SUFFIX to installed program names
991   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
992
993 System types:
994   --build=BUILD     configure for building on BUILD [guessed]
995   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
996   --target=TARGET   configure for building compilers for TARGET [HOST]
997 _ACEOF
998 fi
999
1000 if test -n "$ac_init_help"; then
1001   case $ac_init_help in
1002      short | recursive ) echo "Configuration of package-unused version-unused:";;
1003    esac
1004   cat <<\_ACEOF
1005
1006 Optional Features:
1007   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1008   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1009   --enable-multilib       build many library versions (default)
1010   --enable-maintainer-mode  enable make rules and dependencies not useful
1011                           (and sometimes confusing) to the casual installer
1012   --enable-shared[=PKGS]
1013                           build shared libraries [default=yes]
1014   --enable-static[=PKGS]
1015                           build static libraries [default=yes]
1016   --enable-fast-install[=PKGS]
1017                           optimize for fast installation [default=yes]
1018   --disable-libtool-lock  avoid locking (might break parallel builds)
1019   --disable-hosted-libstdcxx
1020                           only build freestanding C++ runtime support
1021   --enable-sjlj-exceptions
1022                           force use of builtin_setjmp for exceptions
1023                           [default=auto]
1024   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1025                           [default=$is_hosted]
1026   --enable-cstdio=PACKAGE use target-specific I/O package
1027                           [default=stdio]
1028   --enable-clocale[=MODEL]
1029                           use MODEL for target locale package
1030                           [default=auto]
1031   --enable-nls            use Native Language Support (default)
1032   --enable-libstdcxx-allocator=KIND
1033                           use KIND for target std::allocator base
1034                           [default=auto]
1035   --enable-cheaders=KIND  construct "C" headers for g++
1036                           [default=$c_model]
1037   --enable-long-long      enable template specializations for 'long long'
1038                           [default=yes]
1039   --enable-wchar_t        enable template specializations for 'wchar_t'
1040                           [default=yes]
1041   --enable-c99            turns on ISO/IEC 9899:1999 support
1042                           [default=yes]
1043   --enable-concept-checks use Boost-derived template checks [default=no]
1044   --enable-libstdcxx-debug-flags=FLAGS
1045                           pass compiler FLAGS when building debug library
1046                           [default="-g3 -O0"]
1047   --enable-libstdcxx-debug
1048                           build extra debug library [default=no]
1049   --enable-cxx-flags=FLAGS
1050                           pass compiler FLAGS when building library
1051                           [default=]
1052   --enable-fully-dynamic-string
1053                           do not put empty strings in per-process static
1054                           memory [default=no]
1055   --enable-tls            Use thread-local storage [default=yes]
1056   --disable-rpath         do not hardcode runtime library paths
1057   --enable-linux-futex    use the Linux futex system call
1058                           [default=default]
1059   --enable-symvers=STYLE  enables symbol versioning of the shared library
1060                           [default=yes]
1061   --enable-visibility     enables visibility safe usage [default=yes]
1062   --enable-version-specific-runtime-libs
1063                           Specify that runtime libraries should be installed
1064                           in a compiler-specific directory
1065
1066 Optional Packages:
1067   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1068   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1069   --with-target-subdir=SUBDIR
1070                           configuring in a subdirectory
1071   --with-cross-host=HOST  configuring with a cross compiler
1072   --with-newlib           assume newlib as a system C library
1073   --with-pic              try to use only PIC/non-PIC objects [default=use
1074                           both]
1075   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1076   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1077   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1078   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1079   --with-gxx-include-dir=DIR
1080                           installation directory for include files
1081
1082 Some influential environment variables:
1083   CC          C compiler command
1084   CFLAGS      C compiler flags
1085   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1086               nonstandard directory <lib dir>
1087   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088               headers in a nonstandard directory <include dir>
1089   CXX         C++ compiler command
1090   CXXFLAGS    C++ compiler flags
1091   CPP         C preprocessor
1092   CXXCPP      C++ preprocessor
1093
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1096
1097 _ACEOF
1098 fi
1099
1100 if test "$ac_init_help" = "recursive"; then
1101   # If there are subdirs, report their specific --help.
1102   ac_popdir=`pwd`
1103   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104     test -d $ac_dir || continue
1105     ac_builddir=.
1106
1107 if test "$ac_dir" != .; then
1108   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109   # A "../" for each directory in $ac_dir_suffix.
1110   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 else
1112   ac_dir_suffix= ac_top_builddir=
1113 fi
1114
1115 case $srcdir in
1116   .)  # No --srcdir option.  We are building in place.
1117     ac_srcdir=.
1118     if test -z "$ac_top_builddir"; then
1119        ac_top_srcdir=.
1120     else
1121        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122     fi ;;
1123   [\\/]* | ?:[\\/]* )  # Absolute path.
1124     ac_srcdir=$srcdir$ac_dir_suffix;
1125     ac_top_srcdir=$srcdir ;;
1126   *) # Relative path.
1127     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129 esac
1130
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1133 case `pwd` in
1134 .) ac_abs_builddir="$ac_dir";;
1135 *)
1136   case "$ac_dir" in
1137   .) ac_abs_builddir=`pwd`;;
1138   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140   esac;;
1141 esac
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 *)
1145   case ${ac_top_builddir}. in
1146   .) ac_abs_top_builddir=$ac_abs_builddir;;
1147   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149   esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_srcdir=$ac_srcdir;;
1153 *)
1154   case $ac_srcdir in
1155   .) ac_abs_srcdir=$ac_abs_builddir;;
1156   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158   esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 *)
1163   case $ac_top_srcdir in
1164   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167   esac;;
1168 esac
1169
1170     cd $ac_dir
1171     # Check for guested configure; otherwise get Cygnus style configure.
1172     if test -f $ac_srcdir/configure.gnu; then
1173       echo
1174       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1175     elif test -f $ac_srcdir/configure; then
1176       echo
1177       $SHELL $ac_srcdir/configure  --help=recursive
1178     elif test -f $ac_srcdir/configure.ac ||
1179            test -f $ac_srcdir/configure.in; then
1180       echo
1181       $ac_configure --help
1182     else
1183       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184     fi
1185     cd $ac_popdir
1186   done
1187 fi
1188
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1191   cat <<\_ACEOF
1192 package-unused configure version-unused
1193 generated by GNU Autoconf 2.59
1194
1195 Copyright (C) 2003 Free Software Foundation, Inc.
1196 This configure script is free software; the Free Software Foundation
1197 gives unlimited permission to copy, distribute and modify it.
1198 _ACEOF
1199   exit 0
1200 fi
1201 exec 5>config.log
1202 cat >&5 <<_ACEOF
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1205
1206 It was created by package-unused $as_me version-unused, which was
1207 generated by GNU Autoconf 2.59.  Invocation command line was
1208
1209   $ $0 $@
1210
1211 _ACEOF
1212 {
1213 cat <<_ASUNAME
1214 ## --------- ##
1215 ## Platform. ##
1216 ## --------- ##
1217
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1226
1227 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1228 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1231 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1232 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1233 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1234
1235 _ASUNAME
1236
1237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 for as_dir in $PATH
1239 do
1240   IFS=$as_save_IFS
1241   test -z "$as_dir" && as_dir=.
1242   echo "PATH: $as_dir"
1243 done
1244
1245 } >&5
1246
1247 cat >&5 <<_ACEOF
1248
1249
1250 ## ----------- ##
1251 ## Core tests. ##
1252 ## ----------- ##
1253
1254 _ACEOF
1255
1256
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_configure_args=
1263 ac_configure_args0=
1264 ac_configure_args1=
1265 ac_sep=
1266 ac_must_keep_next=false
1267 for ac_pass in 1 2
1268 do
1269   for ac_arg
1270   do
1271     case $ac_arg in
1272     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274     | -silent | --silent | --silen | --sile | --sil)
1275       continue ;;
1276     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1278     esac
1279     case $ac_pass in
1280     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281     2)
1282       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283       if test $ac_must_keep_next = true; then
1284         ac_must_keep_next=false # Got value, back to normal.
1285       else
1286         case $ac_arg in
1287           *=* | --config-cache | -C | -disable-* | --disable-* \
1288           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290           | -with-* | --with-* | -without-* | --without-* | --x)
1291             case "$ac_configure_args0 " in
1292               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1293             esac
1294             ;;
1295           -* ) ac_must_keep_next=true ;;
1296         esac
1297       fi
1298       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299       # Get rid of the leading space.
1300       ac_sep=" "
1301       ;;
1302     esac
1303   done
1304 done
1305 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log.  We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314   # Save into config.log some information that might help in debugging.
1315   {
1316     echo
1317
1318     cat <<\_ASBOX
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1322 _ASBOX
1323     echo
1324     # The following way of writing the cache mishandles newlines in values,
1325 {
1326   (set) 2>&1 |
1327     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1328     *ac_space=\ *)
1329       sed -n \
1330         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1332       ;;
1333     *)
1334       sed -n \
1335         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336       ;;
1337     esac;
1338 }
1339     echo
1340
1341     cat <<\_ASBOX
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1345 _ASBOX
1346     echo
1347     for ac_var in $ac_subst_vars
1348     do
1349       eval ac_val=$`echo $ac_var`
1350       echo "$ac_var='"'"'$ac_val'"'"'"
1351     done | sort
1352     echo
1353
1354     if test -n "$ac_subst_files"; then
1355       cat <<\_ASBOX
1356 ## ------------- ##
1357 ## Output files. ##
1358 ## ------------- ##
1359 _ASBOX
1360       echo
1361       for ac_var in $ac_subst_files
1362       do
1363         eval ac_val=$`echo $ac_var`
1364         echo "$ac_var='"'"'$ac_val'"'"'"
1365       done | sort
1366       echo
1367     fi
1368
1369     if test -s confdefs.h; then
1370       cat <<\_ASBOX
1371 ## ----------- ##
1372 ## confdefs.h. ##
1373 ## ----------- ##
1374 _ASBOX
1375       echo
1376       sed "/^$/d" confdefs.h | sort
1377       echo
1378     fi
1379     test "$ac_signal" != 0 &&
1380       echo "$as_me: caught signal $ac_signal"
1381     echo "$as_me: exit $exit_status"
1382   } >&5
1383   rm -f core *.core &&
1384   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1385     exit $exit_status
1386      ' 0
1387 for ac_signal in 1 2 13 15; do
1388   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389 done
1390 ac_signal=0
1391
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1395 echo >confdefs.h
1396
1397 # Predefined preprocessor variables.
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1416 _ACEOF
1417
1418
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421 _ACEOF
1422
1423
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427   if test "x$prefix" != xNONE; then
1428     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1429   else
1430     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1431   fi
1432 fi
1433 for ac_site_file in $CONFIG_SITE; do
1434   if test -r "$ac_site_file"; then
1435     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437     sed 's/^/| /' "$ac_site_file" >&5
1438     . "$ac_site_file"
1439   fi
1440 done
1441
1442 if test -r "$cache_file"; then
1443   # Some versions of bash will fail to source /dev/null (special
1444   # files actually), so we avoid doing that.
1445   if test -f "$cache_file"; then
1446     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1448     case $cache_file in
1449       [\\/]* | ?:[\\/]* ) . $cache_file;;
1450       *)                      . ./$cache_file;;
1451     esac
1452   fi
1453 else
1454   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1456   >$cache_file
1457 fi
1458
1459 # Check that the precious variables saved in the cache have kept the same
1460 # value.
1461 ac_cache_corrupted=false
1462 for ac_var in `(set) 2>&1 |
1463                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465   eval ac_new_set=\$ac_env_${ac_var}_set
1466   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467   eval ac_new_val="\$ac_env_${ac_var}_value"
1468   case $ac_old_set,$ac_new_set in
1469     set,)
1470       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472       ac_cache_corrupted=: ;;
1473     ,set)
1474       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476       ac_cache_corrupted=: ;;
1477     ,);;
1478     *)
1479       if test "x$ac_old_val" != "x$ac_new_val"; then
1480         # differences in whitespace do not lead to failure.
1481         ac_old_val_w=`echo x $ac_old_val`
1482         ac_new_val_w=`echo x $ac_new_val`
1483         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1484           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486           ac_cache_corrupted=:
1487         else
1488           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1489 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1490           eval $ac_var=\$ac_old_val
1491         fi
1492         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1493 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1494         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1495 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1496       fi;;
1497   esac
1498   # Pass precious variables to config.status.
1499   if test "$ac_new_set" = set; then
1500     case $ac_new_val in
1501     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503     *) ac_arg=$ac_var=$ac_new_val ;;
1504     esac
1505     case " $ac_configure_args " in
1506       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1507       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508     esac
1509   fi
1510 done
1511 if $ac_cache_corrupted; then
1512   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1513 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1514   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1515 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1516   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1517 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1518    { (exit 1); exit 1; }; }
1519 fi
1520
1521 ac_ext=c
1522 ac_cpp='$CPP $CPPFLAGS'
1523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1552
1553
1554
1555
1556
1557           ac_config_headers="$ac_config_headers config.h"
1558
1559
1560 # This works around the fact that libtool configuration may change LD
1561 # for this particular configuration, but some shells, instead of
1562 # keeping the changes in LD private, export them just because LD is
1563 # exported.  Only used at the end of this file.
1564 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1565
1566 # For libtool versioning info, format is CURRENT:REVISION:AGE
1567 libtool_VERSION=6:11:0
1568
1569
1570 # Find the rest of the source tree framework.
1571 # Default to --enable-multilib
1572 # Check whether --enable-multilib or --disable-multilib was given.
1573 if test "${enable_multilib+set}" = set; then
1574   enableval="$enable_multilib"
1575   case "$enableval" in
1576   yes) multilib=yes ;;
1577   no)  multilib=no ;;
1578   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1579 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1580    { (exit 1); exit 1; }; } ;;
1581  esac
1582 else
1583   multilib=yes
1584 fi;
1585
1586 # We may get other options which we leave undocumented:
1587 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1588 # See config-ml.in if you want the gory details.
1589
1590 if test "$srcdir" = "."; then
1591   if test "$with_target_subdir" != "."; then
1592     multi_basedir="$srcdir/$with_multisrctop../.."
1593   else
1594     multi_basedir="$srcdir/$with_multisrctop.."
1595   fi
1596 else
1597   multi_basedir="$srcdir/.."
1598 fi
1599
1600
1601 # Even if the default multilib is not a cross compilation,
1602 # it may be that some of the other multilibs are.
1603 if test $cross_compiling = no && test $multilib = yes \
1604    && test "x${with_multisubdir}" != x ; then
1605    cross_compiling=maybe
1606 fi
1607
1608           ac_config_commands="$ac_config_commands default-1"
1609
1610
1611 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1612 #
1613 # You will slowly go insane if you do not grok the following fact:  when
1614 # building v3 as part of the compiler, the top-level /target/ becomes the
1615 # library's /host/.  configure then causes --target to default to --host,
1616 # exactly like any other package using autoconf.  Therefore, 'target' and
1617 # 'host' will always be the same.  This makes sense both for native and
1618 # cross compilers, just think about it for a little while.  :-)
1619 #
1620 # Also, if v3 is being configured as part of a cross compiler, the top-level
1621 # configure script will pass the "real" host as $with_cross_host.
1622 #
1623 # Do not delete or change the following two lines.  For why, see
1624 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1625 ac_aux_dir=
1626 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1627   if test -f $ac_dir/install-sh; then
1628     ac_aux_dir=$ac_dir
1629     ac_install_sh="$ac_aux_dir/install-sh -c"
1630     break
1631   elif test -f $ac_dir/install.sh; then
1632     ac_aux_dir=$ac_dir
1633     ac_install_sh="$ac_aux_dir/install.sh -c"
1634     break
1635   elif test -f $ac_dir/shtool; then
1636     ac_aux_dir=$ac_dir
1637     ac_install_sh="$ac_aux_dir/shtool install -c"
1638     break
1639   fi
1640 done
1641 if test -z "$ac_aux_dir"; then
1642   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1643 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1644    { (exit 1); exit 1; }; }
1645 fi
1646 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1647 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1648 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1649
1650 # Make sure we can run config.sub.
1651 $ac_config_sub sun4 >/dev/null 2>&1 ||
1652   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1653 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1654    { (exit 1); exit 1; }; }
1655
1656 echo "$as_me:$LINENO: checking build system type" >&5
1657 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1658 if test "${ac_cv_build+set}" = set; then
1659   echo $ECHO_N "(cached) $ECHO_C" >&6
1660 else
1661   ac_cv_build_alias=$build_alias
1662 test -z "$ac_cv_build_alias" &&
1663   ac_cv_build_alias=`$ac_config_guess`
1664 test -z "$ac_cv_build_alias" &&
1665   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1667    { (exit 1); exit 1; }; }
1668 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1669   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1670 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1671    { (exit 1); exit 1; }; }
1672
1673 fi
1674 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1675 echo "${ECHO_T}$ac_cv_build" >&6
1676 build=$ac_cv_build
1677 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1678 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1679 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1680
1681
1682 echo "$as_me:$LINENO: checking host system type" >&5
1683 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1684 if test "${ac_cv_host+set}" = set; then
1685   echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687   ac_cv_host_alias=$host_alias
1688 test -z "$ac_cv_host_alias" &&
1689   ac_cv_host_alias=$ac_cv_build_alias
1690 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1691   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1692 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1693    { (exit 1); exit 1; }; }
1694
1695 fi
1696 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1697 echo "${ECHO_T}$ac_cv_host" >&6
1698 host=$ac_cv_host
1699 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1700 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1701 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1702
1703
1704 echo "$as_me:$LINENO: checking target system type" >&5
1705 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1706 if test "${ac_cv_target+set}" = set; then
1707   echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709   ac_cv_target_alias=$target_alias
1710 test "x$ac_cv_target_alias" = "x" &&
1711   ac_cv_target_alias=$ac_cv_host_alias
1712 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1713   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1714 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1715    { (exit 1); exit 1; }; }
1716
1717 fi
1718 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1719 echo "${ECHO_T}$ac_cv_target" >&6
1720 target=$ac_cv_target
1721 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1722 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1723 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1724
1725
1726 # The aliases save the names the user supplied, while $host etc.
1727 # will get canonicalized.
1728 test -n "$target_alias" &&
1729   test "$program_prefix$program_suffix$program_transform_name" = \
1730     NONENONEs,x,x, &&
1731   program_prefix=${target_alias}-
1732 target_alias=${target_alias-$host_alias}
1733
1734 # Handy for debugging:
1735 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1736
1737 if test "$build" != "$host"; then
1738   # We are being configured with some form of cross compiler.
1739   GLIBCXX_IS_NATIVE=false
1740   case "$host","$target" in
1741     # Darwin crosses can use the host system's libraries and headers,
1742     # because of the fat library support.  Of course, it must be the
1743     # same version of Darwin on both sides.  Allow the user to
1744     # just say --target=foo-darwin without a version number to mean
1745     # "the version on this system".
1746       *-*-darwin*,*-*-darwin*)
1747         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1748         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1749         if test $hostos = $targetos -o $targetos = darwin ; then
1750           GLIBCXX_IS_NATIVE=true
1751         fi
1752         ;;
1753
1754       *)
1755
1756         ;;
1757   esac
1758 else
1759   GLIBCXX_IS_NATIVE=true
1760 fi
1761
1762 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1763 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1764 #  1.x:  minimum required version
1765 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1766 #              of other PACKAGE_* variables will, however, and there's nothing
1767 #              we can do about that; they come from AC_INIT).
1768 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1769 #            file in the top srcdir, etc, etc), so stop complaining.
1770 #  no-dependencies:  turns off auto dependency generation (just for now)
1771 #  -Wall:  turns on all automake warnings...
1772 #  -Wno-portability:  ...except this one, since GNU make is now required.
1773 am__api_version="1.9"
1774 # Find a good install program.  We prefer a C program (faster),
1775 # so one script is as good as another.  But avoid the broken or
1776 # incompatible versions:
1777 # SysV /etc/install, /usr/sbin/install
1778 # SunOS /usr/etc/install
1779 # IRIX /sbin/install
1780 # AIX /bin/install
1781 # AmigaOS /C/install, which installs bootblocks on floppy discs
1782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785 # OS/2's system install, which has a completely different semantic
1786 # ./install, which can be erroneously created by make from ./install.sh.
1787 # Reject install programs that cannot install multiple files.
1788 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1789 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1790 if test -z "$INSTALL"; then
1791 if test "${ac_cv_path_install+set}" = set; then
1792   echo $ECHO_N "(cached) $ECHO_C" >&6
1793 else
1794   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 for as_dir in $PATH
1796 do
1797   IFS=$as_save_IFS
1798   test -z "$as_dir" && as_dir=.
1799   # Account for people who put trailing slashes in PATH elements.
1800 case $as_dir/ in
1801   ./ | .// | /cC/* | \
1802   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804   /usr/ucb/* ) ;;
1805   *)
1806     # OSF1 and SCO ODT 3.0 have their own names for install.
1807     # Don't use installbsd from OSF since it installs stuff as root
1808     # by default.
1809     for ac_prog in ginstall scoinst install; do
1810       for ac_exec_ext in '' $ac_executable_extensions; do
1811         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1812           if test $ac_prog = install &&
1813             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814             # AIX install.  It has an incompatible calling convention.
1815             :
1816           elif test $ac_prog = install &&
1817             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818             # program-specific install script used by HP pwplus--don't use.
1819             :
1820           else
1821             rm -rf conftest.one conftest.two conftest.dir
1822             echo one > conftest.one
1823             echo two > conftest.two
1824             mkdir conftest.dir
1825             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1826               test -s conftest.one && test -s conftest.two &&
1827               test -s conftest.dir/conftest.one &&
1828               test -s conftest.dir/conftest.two
1829             then
1830               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831               break 3
1832             fi
1833           fi
1834         fi
1835       done
1836     done
1837     ;;
1838 esac
1839 done
1840
1841 rm -rf conftest.one conftest.two conftest.dir
1842
1843 fi
1844   if test "${ac_cv_path_install+set}" = set; then
1845     INSTALL=$ac_cv_path_install
1846   else
1847     # As a last resort, use the slow shell script.  Don't cache a
1848     # value for INSTALL within a source directory, because that will
1849     # break other packages using the cache if that directory is
1850     # removed, or if the value is a relative name.
1851     INSTALL=$ac_install_sh
1852   fi
1853 fi
1854 echo "$as_me:$LINENO: result: $INSTALL" >&5
1855 echo "${ECHO_T}$INSTALL" >&6
1856
1857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1858 # It thinks the first close brace ends the variable substitution.
1859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1860
1861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1862
1863 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1864
1865 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1866 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1867 # Just in case
1868 sleep 1
1869 echo timestamp > conftest.file
1870 # Do `set' in a subshell so we don't clobber the current shell's
1871 # arguments.  Must try -L first in case configure is actually a
1872 # symlink; some systems play weird games with the mod time of symlinks
1873 # (eg FreeBSD returns the mod time of the symlink's containing
1874 # directory).
1875 if (
1876    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1877    if test "$*" = "X"; then
1878       # -L didn't work.
1879       set X `ls -t $srcdir/configure conftest.file`
1880    fi
1881    rm -f conftest.file
1882    if test "$*" != "X $srcdir/configure conftest.file" \
1883       && test "$*" != "X conftest.file $srcdir/configure"; then
1884
1885       # If neither matched, then we have a broken ls.  This can happen
1886       # if, for instance, CONFIG_SHELL is bash and it inherits a
1887       # broken ls alias from the environment.  This has actually
1888       # happened.  Such a system could not be considered "sane".
1889       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1890 alias in your environment" >&5
1891 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1892 alias in your environment" >&2;}
1893    { (exit 1); exit 1; }; }
1894    fi
1895
1896    test "$2" = conftest.file
1897    )
1898 then
1899    # Ok.
1900    :
1901 else
1902    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1903 Check your system clock" >&5
1904 echo "$as_me: error: newly created file is older than distributed files!
1905 Check your system clock" >&2;}
1906    { (exit 1); exit 1; }; }
1907 fi
1908 echo "$as_me:$LINENO: result: yes" >&5
1909 echo "${ECHO_T}yes" >&6
1910 test "$program_prefix" != NONE &&
1911   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1912 # Use a double $ so make ignores it.
1913 test "$program_suffix" != NONE &&
1914   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1915 # Double any \ or $.  echo might interpret backslashes.
1916 # By default was `s,x,x', remove it if useless.
1917 cat <<\_ACEOF >conftest.sed
1918 s/[\\$]/&&/g;s/;s,x,x,$//
1919 _ACEOF
1920 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1921 rm conftest.sed
1922
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir=`cd $ac_aux_dir && pwd`
1925
1926 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929   am_missing_run="$MISSING --run "
1930 else
1931   am_missing_run=
1932   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1934 fi
1935
1936 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1937   # We used to keeping the `.' as first argument, in order to
1938   # allow $(mkdir_p) to be used without argument.  As in
1939   #   $(mkdir_p) $(somedir)
1940   # where $(somedir) is conditionally defined.  However this is wrong
1941   # for two reasons:
1942   #  1. if the package is installed by a user who cannot write `.'
1943   #     make install will fail,
1944   #  2. the above comment should most certainly read
1945   #     $(mkdir_p) $(DESTDIR)$(somedir)
1946   #     so it does not work when $(somedir) is undefined and
1947   #     $(DESTDIR) is not.
1948   #  To support the latter case, we have to write
1949   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1950   #  so the `.' trick is pointless.
1951   mkdir_p='mkdir -p --'
1952 else
1953   # On NextStep and OpenStep, the `mkdir' command does not
1954   # recognize any option.  It will interpret all options as
1955   # directories to create, and then abort because `.' already
1956   # exists.
1957   for d in ./-p ./--version;
1958   do
1959     test -d $d && rmdir $d
1960   done
1961   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1962   if test -f "$ac_aux_dir/mkinstalldirs"; then
1963     mkdir_p='$(mkinstalldirs)'
1964   else
1965     mkdir_p='$(install_sh) -d'
1966   fi
1967 fi
1968
1969 for ac_prog in gawk mawk nawk awk
1970 do
1971   # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976   echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978   if test -n "$AWK"; then
1979   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1983 do
1984   IFS=$as_save_IFS
1985   test -z "$as_dir" && as_dir=.
1986   for ac_exec_ext in '' $ac_executable_extensions; do
1987   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988     ac_cv_prog_AWK="$ac_prog"
1989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990     break 2
1991   fi
1992 done
1993 done
1994
1995 fi
1996 fi
1997 AWK=$ac_cv_prog_AWK
1998 if test -n "$AWK"; then
1999   echo "$as_me:$LINENO: result: $AWK" >&5
2000 echo "${ECHO_T}$AWK" >&6
2001 else
2002   echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2004 fi
2005
2006   test -n "$AWK" && break
2007 done
2008
2009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2013   echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015   cat >conftest.make <<\_ACEOF
2016 all:
2017         @echo 'ac_maketemp="$(MAKE)"'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2021 if test -n "$ac_maketemp"; then
2022   eval ac_cv_prog_make_${ac_make}_set=yes
2023 else
2024   eval ac_cv_prog_make_${ac_make}_set=no
2025 fi
2026 rm -f conftest.make
2027 fi
2028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2029   echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2031   SET_MAKE=
2032 else
2033   echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2035   SET_MAKE="MAKE=${MAKE-make}"
2036 fi
2037
2038 rm -rf .tst 2>/dev/null
2039 mkdir .tst 2>/dev/null
2040 if test -d .tst; then
2041   am__leading_dot=.
2042 else
2043   am__leading_dot=_
2044 fi
2045 rmdir .tst 2>/dev/null
2046
2047 # test to see if srcdir already configured
2048 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2049    test -f $srcdir/config.status; then
2050   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052    { (exit 1); exit 1; }; }
2053 fi
2054
2055 # test whether we have cygpath
2056 if test -z "$CYGPATH_W"; then
2057   if (cygpath --version) >/dev/null 2>/dev/null; then
2058     CYGPATH_W='cygpath -w'
2059   else
2060     CYGPATH_W=echo
2061   fi
2062 fi
2063
2064
2065 # Define the identity of the package.
2066  PACKAGE='libstdc++'
2067  VERSION='version-unused'
2068
2069
2070 # Some tools Automake needs.
2071
2072 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2073
2074
2075 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2076
2077
2078 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2079
2080
2081 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2082
2083
2084 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2085
2086 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2087
2088 # Installed binaries are usually stripped using `strip' when the user
2089 # run `make install-strip'.  However `strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the `STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no; then
2093   if test -n "$ac_tool_prefix"; then
2094   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}strip; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_STRIP+set}" = set; then
2099   echo $ECHO_N "(cached) $ECHO_C" >&6
2100 else
2101   if test -n "$STRIP"; then
2102   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2103 else
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2106 do
2107   IFS=$as_save_IFS
2108   test -z "$as_dir" && as_dir=.
2109   for ac_exec_ext in '' $ac_executable_extensions; do
2110   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113     break 2
2114   fi
2115 done
2116 done
2117
2118 fi
2119 fi
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122   echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6
2124 else
2125   echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2127 fi
2128
2129 fi
2130 if test -z "$ac_cv_prog_STRIP"; then
2131   ac_ct_STRIP=$STRIP
2132   # Extract the first word of "strip", so it can be a program name with args.
2133 set dummy strip; ac_word=$2
2134 echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2137   echo $ECHO_N "(cached) $ECHO_C" >&6
2138 else
2139   if test -n "$ac_ct_STRIP"; then
2140   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2144 do
2145   IFS=$as_save_IFS
2146   test -z "$as_dir" && as_dir=.
2147   for ac_exec_ext in '' $ac_executable_extensions; do
2148   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149     ac_cv_prog_ac_ct_STRIP="strip"
2150     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151     break 2
2152   fi
2153 done
2154 done
2155
2156   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2157 fi
2158 fi
2159 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2160 if test -n "$ac_ct_STRIP"; then
2161   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2162 echo "${ECHO_T}$ac_ct_STRIP" >&6
2163 else
2164   echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2166 fi
2167
2168   STRIP=$ac_ct_STRIP
2169 else
2170   STRIP="$ac_cv_prog_STRIP"
2171 fi
2172
2173 fi
2174 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2175
2176 # We need awk for the "check" target.  The system "awk" is bad on
2177 # some platforms.
2178 # Always define AMTAR for backward compatibility.
2179
2180 AMTAR=${AMTAR-"${am_missing_run}tar"}
2181
2182 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2194 # up critical shell variables.
2195
2196 ac_ext=c
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2203 # On Suns, sometimes $CPP names a directory.
2204 if test -n "$CPP" && test -d "$CPP"; then
2205   CPP=
2206 fi
2207 if test -z "$CPP"; then
2208   if test "${ac_cv_prog_CPP+set}" = set; then
2209   echo $ECHO_N "(cached) $ECHO_C" >&6
2210 else
2211       # Double quotes because CPP needs to be expanded
2212     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2213     do
2214       ac_preproc_ok=false
2215 for ac_c_preproc_warn_flag in '' yes
2216 do
2217   # Use a header file that comes with gcc, so configuring glibc
2218   # with a fresh cross-compiler works.
2219   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2220   # <limits.h> exists even on freestanding compilers.
2221   # On the NeXT, cc -E runs the code through the compiler's parser,
2222   # not just through cpp. "Syntax error" is here to catch this case.
2223   cat >conftest.$ac_ext <<_ACEOF
2224 /* confdefs.h.  */
2225 _ACEOF
2226 cat confdefs.h >>conftest.$ac_ext
2227 cat >>conftest.$ac_ext <<_ACEOF
2228 /* end confdefs.h.  */
2229 #ifdef __STDC__
2230 # include <limits.h>
2231 #else
2232 # include <assert.h>
2233 #endif
2234                      Syntax error
2235 _ACEOF
2236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2237   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2238   ac_status=$?
2239   grep -v '^ *+' conftest.er1 >conftest.err
2240   rm -f conftest.er1
2241   cat conftest.err >&5
2242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243   (exit $ac_status); } >/dev/null; then
2244   if test -s conftest.err; then
2245     ac_cpp_err=$ac_c_preproc_warn_flag
2246     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2247   else
2248     ac_cpp_err=
2249   fi
2250 else
2251   ac_cpp_err=yes
2252 fi
2253 if test -z "$ac_cpp_err"; then
2254   :
2255 else
2256   echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2258
2259   # Broken: fails on valid input.
2260 continue
2261 fi
2262 rm -f conftest.err conftest.$ac_ext
2263
2264   # OK, works on sane cases.  Now check whether non-existent headers
2265   # can be detected and how.
2266   cat >conftest.$ac_ext <<_ACEOF
2267 /* confdefs.h.  */
2268 _ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h.  */
2272 #include <ac_nonexistent.h>
2273 _ACEOF
2274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2276   ac_status=$?
2277   grep -v '^ *+' conftest.er1 >conftest.err
2278   rm -f conftest.er1
2279   cat conftest.err >&5
2280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281   (exit $ac_status); } >/dev/null; then
2282   if test -s conftest.err; then
2283     ac_cpp_err=$ac_c_preproc_warn_flag
2284     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2285   else
2286     ac_cpp_err=
2287   fi
2288 else
2289   ac_cpp_err=yes
2290 fi
2291 if test -z "$ac_cpp_err"; then
2292   # Broken: success on invalid input.
2293 continue
2294 else
2295   echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2297
2298   # Passes both tests.
2299 ac_preproc_ok=:
2300 break
2301 fi
2302 rm -f conftest.err conftest.$ac_ext
2303
2304 done
2305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2306 rm -f conftest.err conftest.$ac_ext
2307 if $ac_preproc_ok; then
2308   break
2309 fi
2310
2311     done
2312     ac_cv_prog_CPP=$CPP
2313
2314 fi
2315   CPP=$ac_cv_prog_CPP
2316 else
2317   ac_cv_prog_CPP=$CPP
2318 fi
2319 echo "$as_me:$LINENO: result: $CPP" >&5
2320 echo "${ECHO_T}$CPP" >&6
2321 ac_preproc_ok=false
2322 for ac_c_preproc_warn_flag in '' yes
2323 do
2324   # Use a header file that comes with gcc, so configuring glibc
2325   # with a fresh cross-compiler works.
2326   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327   # <limits.h> exists even on freestanding compilers.
2328   # On the NeXT, cc -E runs the code through the compiler's parser,
2329   # not just through cpp. "Syntax error" is here to catch this case.
2330   cat >conftest.$ac_ext <<_ACEOF
2331 /* confdefs.h.  */
2332 _ACEOF
2333 cat confdefs.h >>conftest.$ac_ext
2334 cat >>conftest.$ac_ext <<_ACEOF
2335 /* end confdefs.h.  */
2336 #ifdef __STDC__
2337 # include <limits.h>
2338 #else
2339 # include <assert.h>
2340 #endif
2341                      Syntax error
2342 _ACEOF
2343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2344   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2345   ac_status=$?
2346   grep -v '^ *+' conftest.er1 >conftest.err
2347   rm -f conftest.er1
2348   cat conftest.err >&5
2349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350   (exit $ac_status); } >/dev/null; then
2351   if test -s conftest.err; then
2352     ac_cpp_err=$ac_c_preproc_warn_flag
2353     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2354   else
2355     ac_cpp_err=
2356   fi
2357 else
2358   ac_cpp_err=yes
2359 fi
2360 if test -z "$ac_cpp_err"; then
2361   :
2362 else
2363   echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2365
2366   # Broken: fails on valid input.
2367 continue
2368 fi
2369 rm -f conftest.err conftest.$ac_ext
2370
2371   # OK, works on sane cases.  Now check whether non-existent headers
2372   # can be detected and how.
2373   cat >conftest.$ac_ext <<_ACEOF
2374 /* confdefs.h.  */
2375 _ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h.  */
2379 #include <ac_nonexistent.h>
2380 _ACEOF
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2383   ac_status=$?
2384   grep -v '^ *+' conftest.er1 >conftest.err
2385   rm -f conftest.er1
2386   cat conftest.err >&5
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); } >/dev/null; then
2389   if test -s conftest.err; then
2390     ac_cpp_err=$ac_c_preproc_warn_flag
2391     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2392   else
2393     ac_cpp_err=
2394   fi
2395 else
2396   ac_cpp_err=yes
2397 fi
2398 if test -z "$ac_cpp_err"; then
2399   # Broken: success on invalid input.
2400 continue
2401 else
2402   echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2404
2405   # Passes both tests.
2406 ac_preproc_ok=:
2407 break
2408 fi
2409 rm -f conftest.err conftest.$ac_ext
2410
2411 done
2412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2413 rm -f conftest.err conftest.$ac_ext
2414 if $ac_preproc_ok; then
2415   :
2416 else
2417   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&2;}
2423    { (exit 1); exit 1; }; }; }
2424 fi
2425
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431
2432
2433 echo "$as_me:$LINENO: checking for egrep" >&5
2434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2435 if test "${ac_cv_prog_egrep+set}" = set; then
2436   echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2439     then ac_cv_prog_egrep='grep -E'
2440     else ac_cv_prog_egrep='egrep'
2441     fi
2442 fi
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2444 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2445  EGREP=$ac_cv_prog_egrep
2446
2447
2448
2449   # Keep these sync'd with the list in Makefile.am.  The first provides an
2450   # expandable list at autoconf time; the second provides an expandable list
2451   # (i.e., shell variable) at configure time.
2452
2453   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2454
2455   # These need to be absolute paths, yet at the same time need to
2456   # canonicalize only relative paths, because then amd will not unmount
2457   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2458   glibcxx_builddir=`${PWDCMD-pwd}`
2459   case $srcdir in
2460     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2461     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2462   esac
2463   toplevel_srcdir=${glibcxx_srcdir}/..
2464
2465
2466
2467
2468   # We use these options to decide which functions to include.  They are
2469   # set from the top level.
2470
2471 # Check whether --with-target-subdir or --without-target-subdir was given.
2472 if test "${with_target_subdir+set}" = set; then
2473   withval="$with_target_subdir"
2474
2475 fi;
2476
2477
2478 # Check whether --with-cross-host or --without-cross-host was given.
2479 if test "${with_cross_host+set}" = set; then
2480   withval="$with_cross_host"
2481
2482 fi;
2483
2484
2485 # Check whether --with-newlib or --without-newlib was given.
2486 if test "${with_newlib+set}" = set; then
2487   withval="$with_newlib"
2488
2489 fi;
2490
2491   # We're almost certainly being configured before anything else which uses
2492   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2493   # we not cache the value of CXX that we "discover" here, because it's set
2494   # to something unique for us and libjava.  Other target libraries need to
2495   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2496   # process by sneakily renaming the cache variable.  This also lets us debug
2497   # the value of "our" CXX in postmortems.
2498   #
2499   # We must also force CXX to /not/ be a precious variable, otherwise the
2500   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2501   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2502   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2503   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2504   #
2505   # -fno-builtin must be present here so that a non-conflicting form of
2506   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2507
2508
2509
2510
2511   save_CXXFLAGS="$CXXFLAGS"
2512   CXXFLAGS="$CXXFLAGS -fno-builtin"
2513   ac_ext=c
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2518 if test -n "$ac_tool_prefix"; then
2519   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2520 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524   echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526   if test -n "$CC"; then
2527   ac_cv_prog_CC="$CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532   IFS=$as_save_IFS
2533   test -z "$as_dir" && as_dir=.
2534   for ac_exec_ext in '' $ac_executable_extensions; do
2535   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2537     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538     break 2
2539   fi
2540 done
2541 done
2542
2543 fi
2544 fi
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547   echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6
2549 else
2550   echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2552 fi
2553
2554 fi
2555 if test -z "$ac_cv_prog_CC"; then
2556   ac_ct_CC=$CC
2557   # Extract the first word of "gcc", so it can be a program name with args.
2558 set dummy gcc; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562   echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564   if test -n "$ac_ct_CC"; then
2565   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570   IFS=$as_save_IFS
2571   test -z "$as_dir" && as_dir=.
2572   for ac_exec_ext in '' $ac_executable_extensions; do
2573   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574     ac_cv_prog_ac_ct_CC="gcc"
2575     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576     break 2
2577   fi
2578 done
2579 done
2580
2581 fi
2582 fi
2583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2584 if test -n "$ac_ct_CC"; then
2585   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2586 echo "${ECHO_T}$ac_ct_CC" >&6
2587 else
2588   echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2590 fi
2591
2592   CC=$ac_ct_CC
2593 else
2594   CC="$ac_cv_prog_CC"
2595 fi
2596
2597 if test -z "$CC"; then
2598   if test -n "$ac_tool_prefix"; then
2599   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}cc; ac_word=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604   echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606   if test -n "$CC"; then
2607   ac_cv_prog_CC="$CC" # Let the user override the test.
2608 else
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2611 do
2612   IFS=$as_save_IFS
2613   test -z "$as_dir" && as_dir=.
2614   for ac_exec_ext in '' $ac_executable_extensions; do
2615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616     ac_cv_prog_CC="${ac_tool_prefix}cc"
2617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618     break 2
2619   fi
2620 done
2621 done
2622
2623 fi
2624 fi
2625 CC=$ac_cv_prog_CC
2626 if test -n "$CC"; then
2627   echo "$as_me:$LINENO: result: $CC" >&5
2628 echo "${ECHO_T}$CC" >&6
2629 else
2630   echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2632 fi
2633
2634 fi
2635 if test -z "$ac_cv_prog_CC"; then
2636   ac_ct_CC=$CC
2637   # Extract the first word of "cc", so it can be a program name with args.
2638 set dummy cc; ac_word=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642   echo $ECHO_N "(cached) $ECHO_C" >&6
2643 else
2644   if test -n "$ac_ct_CC"; then
2645   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646 else
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2649 do
2650   IFS=$as_save_IFS
2651   test -z "$as_dir" && as_dir=.
2652   for ac_exec_ext in '' $ac_executable_extensions; do
2653   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654     ac_cv_prog_ac_ct_CC="cc"
2655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656     break 2
2657   fi
2658 done
2659 done
2660
2661 fi
2662 fi
2663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666 echo "${ECHO_T}$ac_ct_CC" >&6
2667 else
2668   echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2670 fi
2671
2672   CC=$ac_ct_CC
2673 else
2674   CC="$ac_cv_prog_CC"
2675 fi
2676
2677 fi
2678 if test -z "$CC"; then
2679   # Extract the first word of "cc", so it can be a program name with args.
2680 set dummy cc; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_CC+set}" = set; then
2684   echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686   if test -n "$CC"; then
2687   ac_cv_prog_CC="$CC" # Let the user override the test.
2688 else
2689   ac_prog_rejected=no
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693   IFS=$as_save_IFS
2694   test -z "$as_dir" && as_dir=.
2695   for ac_exec_ext in '' $ac_executable_extensions; do
2696   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2698        ac_prog_rejected=yes
2699        continue
2700      fi
2701     ac_cv_prog_CC="cc"
2702     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703     break 2
2704   fi
2705 done
2706 done
2707
2708 if test $ac_prog_rejected = yes; then
2709   # We found a bogon in the path, so make sure we never use it.
2710   set dummy $ac_cv_prog_CC
2711   shift
2712   if test $# != 0; then
2713     # We chose a different compiler from the bogus one.
2714     # However, it has the same basename, so the bogon will be chosen
2715     # first if we set CC to just the basename; use the full file name.
2716     shift
2717     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2718   fi
2719 fi
2720 fi
2721 fi
2722 CC=$ac_cv_prog_CC
2723 if test -n "$CC"; then
2724   echo "$as_me:$LINENO: result: $CC" >&5
2725 echo "${ECHO_T}$CC" >&6
2726 else
2727   echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2729 fi
2730
2731 fi
2732 if test -z "$CC"; then
2733   if test -n "$ac_tool_prefix"; then
2734   for ac_prog in cl
2735   do
2736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741   echo $ECHO_N "(cached) $ECHO_C" >&6
2742 else
2743   if test -n "$CC"; then
2744   ac_cv_prog_CC="$CC" # Let the user override the test.
2745 else
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH
2748 do
2749   IFS=$as_save_IFS
2750   test -z "$as_dir" && as_dir=.
2751   for ac_exec_ext in '' $ac_executable_extensions; do
2752   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2754     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755     break 2
2756   fi
2757 done
2758 done
2759
2760 fi
2761 fi
2762 CC=$ac_cv_prog_CC
2763 if test -n "$CC"; then
2764   echo "$as_me:$LINENO: result: $CC" >&5
2765 echo "${ECHO_T}$CC" >&6
2766 else
2767   echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2769 fi
2770
2771     test -n "$CC" && break
2772   done
2773 fi
2774 if test -z "$CC"; then
2775   ac_ct_CC=$CC
2776   for ac_prog in cl
2777 do
2778   # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783   echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785   if test -n "$ac_ct_CC"; then
2786   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2790 do
2791   IFS=$as_save_IFS
2792   test -z "$as_dir" && as_dir=.
2793   for ac_exec_ext in '' $ac_executable_extensions; do
2794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795     ac_cv_prog_ac_ct_CC="$ac_prog"
2796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797     break 2
2798   fi
2799 done
2800 done
2801
2802 fi
2803 fi
2804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2805 if test -n "$ac_ct_CC"; then
2806   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2807 echo "${ECHO_T}$ac_ct_CC" >&6
2808 else
2809   echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 fi
2812
2813   test -n "$ac_ct_CC" && break
2814 done
2815
2816   CC=$ac_ct_CC
2817 fi
2818
2819 fi
2820
2821
2822 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828    { (exit 1); exit 1; }; }; }
2829
2830 # Provide some information about the compiler.
2831 echo "$as_me:$LINENO:" \
2832      "checking for C compiler version" >&5
2833 ac_compiler=`set X $ac_compile; echo $2`
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2835   (eval $ac_compiler --version </dev/null >&5) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }
2839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2840   (eval $ac_compiler -v </dev/null >&5) 2>&5
2841   ac_status=$?
2842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843   (exit $ac_status); }
2844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2845   (eval $ac_compiler -V </dev/null >&5) 2>&5
2846   ac_status=$?
2847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848   (exit $ac_status); }
2849
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h.  */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h.  */
2856
2857 int
2858 main ()
2859 {
2860
2861   ;
2862   return 0;
2863 }
2864 _ACEOF
2865 # FIXME: Cleanup?
2866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2867   (eval $ac_link) 2>&5
2868   ac_status=$?
2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870   (exit $ac_status); }; then
2871   gcc_no_link=no
2872 else
2873   gcc_no_link=yes
2874 fi
2875
2876 if test x$gcc_no_link = xyes; then
2877   # Setting cross_compile will disable run tests; it will
2878   # also disable AC_CHECK_FILE but that's generally
2879   # correct if we can't link.
2880   cross_compiling=yes
2881   EXEEXT=
2882 else
2883   cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h.  */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h.  */
2889
2890 int
2891 main ()
2892 {
2893
2894   ;
2895   return 0;
2896 }
2897 _ACEOF
2898 ac_clean_files_save=$ac_clean_files
2899 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2900 # Try to create an executable without -o first, disregard a.out.
2901 # It will help us diagnose broken compilers, and finding out an intuition
2902 # of exeext.
2903 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2904 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2905 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2906 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2907   (eval $ac_link_default) 2>&5
2908   ac_status=$?
2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910   (exit $ac_status); }; then
2911   # Find the output, starting from the most likely.  This scheme is
2912 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2913 # resort.
2914
2915 # Be careful to initialize this variable, since it used to be cached.
2916 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2917 ac_cv_exeext=
2918 # b.out is created by i960 compilers.
2919 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2920 do
2921   test -f "$ac_file" || continue
2922   case $ac_file in
2923     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2924         ;;
2925     conftest.$ac_ext )
2926         # This is the source file.
2927         ;;
2928     [ab].out )
2929         # We found the default executable, but exeext='' is most
2930         # certainly right.
2931         break;;
2932     *.* )
2933         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934         # FIXME: I believe we export ac_cv_exeext for Libtool,
2935         # but it would be cool to find out if it's true.  Does anybody
2936         # maintain Libtool? --akim.
2937         export ac_cv_exeext
2938         break;;
2939     * )
2940         break;;
2941   esac
2942 done
2943 else
2944   echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2946
2947 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2948 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2950 See \`config.log' for more details." >&5
2951 echo "$as_me: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&2;}
2953    { (exit 77); exit 77; }; }; }
2954 fi
2955
2956 ac_exeext=$ac_cv_exeext
2957 echo "$as_me:$LINENO: result: $ac_file" >&5
2958 echo "${ECHO_T}$ac_file" >&6
2959
2960 # Check the compiler produces executables we can run.  If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2965 # If not cross compiling, check that we can run a simple program.
2966 if test "$cross_compiling" != yes; then
2967   if { ac_try='./$ac_file'
2968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969   (eval $ac_try) 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }; }; then
2973     cross_compiling=no
2974   else
2975     if test "$cross_compiling" = maybe; then
2976         cross_compiling=yes
2977     else
2978         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2979 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986    { (exit 1); exit 1; }; }; }
2987     fi
2988   fi
2989 fi
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2992
2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 # Check the compiler produces executables we can run.  If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3001
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005   (eval $ac_link) 2>&5
3006   ac_status=$?
3007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008   (exit $ac_status); }; then
3009   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3012 # `rm'.
3013 for ac_file in conftest.exe conftest conftest.*; do
3014   test -f "$ac_file" || continue
3015   case $ac_file in
3016     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3017     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018           export ac_cv_exeext
3019           break;;
3020     * ) break;;
3021   esac
3022 done
3023 else
3024   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&2;}
3030    { (exit 1); exit 1; }; }; }
3031 fi
3032
3033 rm -f conftest$ac_cv_exeext
3034 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3035 echo "${ECHO_T}$ac_cv_exeext" >&6
3036
3037 rm -f conftest.$ac_ext
3038 EXEEXT=$ac_cv_exeext
3039 ac_exeext=$EXEEXT
3040 fi
3041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3043 if test "${ac_cv_objext+set}" = set; then
3044   echo $ECHO_N "(cached) $ECHO_C" >&6
3045 else
3046   cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h.  */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h.  */
3052
3053 int
3054 main ()
3055 {
3056
3057   ;
3058   return 0;
3059 }
3060 _ACEOF
3061 rm -f conftest.o conftest.obj
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063   (eval $ac_compile) 2>&5
3064   ac_status=$?
3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066   (exit $ac_status); }; then
3067   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3068   case $ac_file in
3069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3070     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3071        break;;
3072   esac
3073 done
3074 else
3075   echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3077
3078 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3079 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3081 See \`config.log' for more details." >&5
3082 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&2;}
3084    { (exit 1); exit 1; }; }; }
3085 fi
3086
3087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3088 fi
3089 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090 echo "${ECHO_T}$ac_cv_objext" >&6
3091 OBJEXT=$ac_cv_objext
3092 ac_objext=$OBJEXT
3093 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3094 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3095 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3096   echo $ECHO_N "(cached) $ECHO_C" >&6
3097 else
3098   cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h.  */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h.  */
3104
3105 int
3106 main ()
3107 {
3108 #ifndef __GNUC__
3109        choke me
3110 #endif
3111
3112   ;
3113   return 0;
3114 }
3115 _ACEOF
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118   (eval $ac_compile) 2>conftest.er1
3119   ac_status=$?
3120   grep -v '^ *+' conftest.er1 >conftest.err
3121   rm -f conftest.er1
3122   cat conftest.err >&5
3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124   (exit $ac_status); } &&
3125          { ac_try='test -z "$ac_c_werror_flag"
3126                          || test ! -s conftest.err'
3127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128   (eval $ac_try) 2>&5
3129   ac_status=$?
3130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131   (exit $ac_status); }; } &&
3132          { ac_try='test -s conftest.$ac_objext'
3133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134   (eval $ac_try) 2>&5
3135   ac_status=$?
3136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137   (exit $ac_status); }; }; then
3138   ac_compiler_gnu=yes
3139 else
3140   echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3142
3143 ac_compiler_gnu=no
3144 fi
3145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3147
3148 fi
3149 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3150 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3151 GCC=`test $ac_compiler_gnu = yes && echo yes`
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3154 CFLAGS="-g"
3155 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3157 if test "${ac_cv_prog_cc_g+set}" = set; then
3158   echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160   cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h.  */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h.  */
3166
3167 int
3168 main ()
3169 {
3170
3171   ;
3172   return 0;
3173 }
3174 _ACEOF
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177   (eval $ac_compile) 2>conftest.er1
3178   ac_status=$?
3179   grep -v '^ *+' conftest.er1 >conftest.err
3180   rm -f conftest.er1
3181   cat conftest.err >&5
3182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183   (exit $ac_status); } &&
3184          { ac_try='test -z "$ac_c_werror_flag"
3185                          || test ! -s conftest.err'
3186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187   (eval $ac_try) 2>&5
3188   ac_status=$?
3189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190   (exit $ac_status); }; } &&
3191          { ac_try='test -s conftest.$ac_objext'
3192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193   (eval $ac_try) 2>&5
3194   ac_status=$?
3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196   (exit $ac_status); }; }; then
3197   ac_cv_prog_cc_g=yes
3198 else
3199   echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3201
3202 ac_cv_prog_cc_g=no
3203 fi
3204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3205 fi
3206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3208 if test "$ac_test_CFLAGS" = set; then
3209   CFLAGS=$ac_save_CFLAGS
3210 elif test $ac_cv_prog_cc_g = yes; then
3211   if test "$GCC" = yes; then
3212     CFLAGS="-g -O2"
3213   else
3214     CFLAGS="-g"
3215   fi
3216 else
3217   if test "$GCC" = yes; then
3218     CFLAGS="-O2"
3219   else
3220     CFLAGS=
3221   fi
3222 fi
3223 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3224 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3225 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3226   echo $ECHO_N "(cached) $ECHO_C" >&6
3227 else
3228   ac_cv_prog_cc_stdc=no
3229 ac_save_CC=$CC
3230 cat >conftest.$ac_ext <<_ACEOF
3231 /* confdefs.h.  */
3232 _ACEOF
3233 cat confdefs.h >>conftest.$ac_ext
3234 cat >>conftest.$ac_ext <<_ACEOF
3235 /* end confdefs.h.  */
3236 #include <stdarg.h>
3237 #include <stdio.h>
3238 #include <sys/types.h>
3239 #include <sys/stat.h>
3240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3241 struct buf { int x; };
3242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3243 static char *e (p, i)
3244      char **p;
3245      int i;
3246 {
3247   return p[i];
3248 }
3249 static char *f (char * (*g) (char **, int), char **p, ...)
3250 {
3251   char *s;
3252   va_list v;
3253   va_start (v,p);
3254   s = g (p, va_arg (v,int));
3255   va_end (v);
3256   return s;
3257 }
3258
3259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3260    function prototypes and stuff, but not '\xHH' hex character constants.
3261    These don't provoke an error unfortunately, instead are silently treated
3262    as 'x'.  The following induces an error, until -std1 is added to get
3263    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3264    array size at least.  It's necessary to write '\x00'==0 to get something
3265    that's true only with -std1.  */
3266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3267
3268 int test (int i, double x);
3269 struct s1 {int (*f) (int a);};
3270 struct s2 {int (*f) (double a);};
3271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3272 int argc;
3273 char **argv;
3274 int
3275 main ()
3276 {
3277 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3278   ;
3279   return 0;
3280 }
3281 _ACEOF
3282 # Don't try gcc -ansi; that turns off useful extensions and
3283 # breaks some systems' header files.
3284 # AIX                   -qlanglvl=ansi
3285 # Ultrix and OSF/1      -std1
3286 # HP-UX 10.20 and later -Ae
3287 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3288 # SVR4                  -Xc -D__EXTENSIONS__
3289 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3290 do
3291   CC="$ac_save_CC $ac_arg"
3292   rm -f conftest.$ac_objext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294   (eval $ac_compile) 2>conftest.er1
3295   ac_status=$?
3296   grep -v '^ *+' conftest.er1 >conftest.err
3297   rm -f conftest.er1
3298   cat conftest.err >&5
3299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300   (exit $ac_status); } &&
3301          { ac_try='test -z "$ac_c_werror_flag"
3302                          || test ! -s conftest.err'
3303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304   (eval $ac_try) 2>&5
3305   ac_status=$?
3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307   (exit $ac_status); }; } &&
3308          { ac_try='test -s conftest.$ac_objext'
3309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310   (eval $ac_try) 2>&5
3311   ac_status=$?
3312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313   (exit $ac_status); }; }; then
3314   ac_cv_prog_cc_stdc=$ac_arg
3315 break
3316 else
3317   echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3319
3320 fi
3321 rm -f conftest.err conftest.$ac_objext
3322 done
3323 rm -f conftest.$ac_ext conftest.$ac_objext
3324 CC=$ac_save_CC
3325
3326 fi
3327
3328 case "x$ac_cv_prog_cc_stdc" in
3329   x|xno)
3330     echo "$as_me:$LINENO: result: none needed" >&5
3331 echo "${ECHO_T}none needed" >&6 ;;
3332   *)
3333     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3334 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3335     CC="$CC $ac_cv_prog_cc_stdc" ;;
3336 esac
3337
3338 # Some people use a C++ compiler to compile C.  Since we use `exit',
3339 # in C++ we need to declare it.  In case someone uses the same compiler
3340 # for both compiling C and C++ we need to have the C++ compiler decide
3341 # the declaration of exit, since it's the most demanding environment.
3342 cat >conftest.$ac_ext <<_ACEOF
3343 #ifndef __cplusplus
3344   choke me
3345 #endif
3346 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349   (eval $ac_compile) 2>conftest.er1
3350   ac_status=$?
3351   grep -v '^ *+' conftest.er1 >conftest.err
3352   rm -f conftest.er1
3353   cat conftest.err >&5
3354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355   (exit $ac_status); } &&
3356          { ac_try='test -z "$ac_c_werror_flag"
3357                          || test ! -s conftest.err'
3358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359   (eval $ac_try) 2>&5
3360   ac_status=$?
3361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362   (exit $ac_status); }; } &&
3363          { ac_try='test -s conftest.$ac_objext'
3364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365   (eval $ac_try) 2>&5
3366   ac_status=$?
3367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368   (exit $ac_status); }; }; then
3369   for ac_declaration in \
3370    '' \
3371    'extern "C" void std::exit (int) throw (); using std::exit;' \
3372    'extern "C" void std::exit (int); using std::exit;' \
3373    'extern "C" void exit (int) throw ();' \
3374    'extern "C" void exit (int);' \
3375    'void exit (int);'
3376 do
3377   cat >conftest.$ac_ext <<_ACEOF
3378 /* confdefs.h.  */
3379 _ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h.  */
3383 $ac_declaration
3384 #include <stdlib.h>
3385 int
3386 main ()
3387 {
3388 exit (42);
3389   ;
3390   return 0;
3391 }
3392 _ACEOF
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395   (eval $ac_compile) 2>conftest.er1
3396   ac_status=$?
3397   grep -v '^ *+' conftest.er1 >conftest.err
3398   rm -f conftest.er1
3399   cat conftest.err >&5
3400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401   (exit $ac_status); } &&
3402          { ac_try='test -z "$ac_c_werror_flag"
3403                          || test ! -s conftest.err'
3404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405   (eval $ac_try) 2>&5
3406   ac_status=$?
3407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408   (exit $ac_status); }; } &&
3409          { ac_try='test -s conftest.$ac_objext'
3410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411   (eval $ac_try) 2>&5
3412   ac_status=$?
3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414   (exit $ac_status); }; }; then
3415   :
3416 else
3417   echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3419
3420 continue
3421 fi
3422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3423   cat >conftest.$ac_ext <<_ACEOF
3424 /* confdefs.h.  */
3425 _ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h.  */
3429 $ac_declaration
3430 int
3431 main ()
3432 {
3433 exit (42);
3434   ;
3435   return 0;
3436 }
3437 _ACEOF
3438 rm -f conftest.$ac_objext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440   (eval $ac_compile) 2>conftest.er1
3441   ac_status=$?
3442   grep -v '^ *+' conftest.er1 >conftest.err
3443   rm -f conftest.er1
3444   cat conftest.err >&5
3445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446   (exit $ac_status); } &&
3447          { ac_try='test -z "$ac_c_werror_flag"
3448                          || test ! -s conftest.err'
3449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450   (eval $ac_try) 2>&5
3451   ac_status=$?
3452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453   (exit $ac_status); }; } &&
3454          { ac_try='test -s conftest.$ac_objext'
3455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456   (eval $ac_try) 2>&5
3457   ac_status=$?
3458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459   (exit $ac_status); }; }; then
3460   break
3461 else
3462   echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3464
3465 fi
3466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3467 done
3468 rm -f conftest*
3469 if test -n "$ac_declaration"; then
3470   echo '#ifdef __cplusplus' >>confdefs.h
3471   echo $ac_declaration      >>confdefs.h
3472   echo '#endif'             >>confdefs.h
3473 fi
3474
3475 else
3476   echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3478
3479 fi
3480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486
3487   ac_ext=cc
3488 ac_cpp='$CXXCPP $CPPFLAGS'
3489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3492 if test -n "$ac_tool_prefix"; then
3493   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3494   do
3495     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3499 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3500   echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502   if test -n "$CXX"; then
3503   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3507 do
3508   IFS=$as_save_IFS
3509   test -z "$as_dir" && as_dir=.
3510   for ac_exec_ext in '' $ac_executable_extensions; do
3511   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3513     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514     break 2
3515   fi
3516 done
3517 done
3518
3519 fi
3520 fi
3521 CXX=$glibcxx_cv_prog_CXX
3522 if test -n "$CXX"; then
3523   echo "$as_me:$LINENO: result: $CXX" >&5
3524 echo "${ECHO_T}$CXX" >&6
3525 else
3526   echo "$as_me:$LINENO: result: no" >&5
3527 echo "${ECHO_T}no" >&6
3528 fi
3529
3530     test -n "$CXX" && break
3531   done
3532 fi
3533 if test -z "$CXX"; then
3534   ac_ct_CXX=$CXX
3535   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3536 do
3537   # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3542   echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544   if test -n "$ac_ct_CXX"; then
3545   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550   IFS=$as_save_IFS
3551   test -z "$as_dir" && as_dir=.
3552   for ac_exec_ext in '' $ac_executable_extensions; do
3553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554     ac_cv_prog_ac_ct_CXX="$ac_prog"
3555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556     break 2
3557   fi
3558 done
3559 done
3560
3561 fi
3562 fi
3563 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3564 if test -n "$ac_ct_CXX"; then
3565   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3566 echo "${ECHO_T}$ac_ct_CXX" >&6
3567 else
3568   echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572   test -n "$ac_ct_CXX" && break
3573 done
3574 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3575
3576   CXX=$ac_ct_CXX
3577 fi
3578
3579
3580 # Provide some information about the compiler.
3581 echo "$as_me:$LINENO:" \
3582      "checking for C++ compiler version" >&5
3583 ac_compiler=`set X $ac_compile; echo $2`
3584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3585   (eval $ac_compiler --version </dev/null >&5) 2>&5
3586   ac_status=$?
3587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588   (exit $ac_status); }
3589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3590   (eval $ac_compiler -v </dev/null >&5) 2>&5
3591   ac_status=$?
3592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593   (exit $ac_status); }
3594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3595   (eval $ac_compiler -V </dev/null >&5) 2>&5
3596   ac_status=$?
3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598   (exit $ac_status); }
3599
3600 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3601 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3602 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3603   echo $ECHO_N "(cached) $ECHO_C" >&6
3604 else
3605   cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h.  */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615 #ifndef __GNUC__
3616        choke me
3617 #endif
3618
3619   ;
3620   return 0;
3621 }
3622 _ACEOF
3623 rm -f conftest.$ac_objext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3625   (eval $ac_compile) 2>conftest.er1
3626   ac_status=$?
3627   grep -v '^ *+' conftest.er1 >conftest.err
3628   rm -f conftest.er1
3629   cat conftest.err >&5
3630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631   (exit $ac_status); } &&
3632          { ac_try='test -z "$ac_cxx_werror_flag"
3633                          || test ! -s conftest.err'
3634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635   (eval $ac_try) 2>&5
3636   ac_status=$?
3637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638   (exit $ac_status); }; } &&
3639          { ac_try='test -s conftest.$ac_objext'
3640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641   (eval $ac_try) 2>&5
3642   ac_status=$?
3643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644   (exit $ac_status); }; }; then
3645   ac_compiler_gnu=yes
3646 else
3647   echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3649
3650 ac_compiler_gnu=no
3651 fi
3652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3654
3655 fi
3656 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3657 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3658 GXX=`test $ac_compiler_gnu = yes && echo yes`
3659 ac_test_CXXFLAGS=${CXXFLAGS+set}
3660 ac_save_CXXFLAGS=$CXXFLAGS
3661 CXXFLAGS="-g"
3662 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3663 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3664 if test "${ac_cv_prog_cxx_g+set}" = set; then
3665   echo $ECHO_N "(cached) $ECHO_C" >&6
3666 else
3667   cat >conftest.$ac_ext <<_ACEOF
3668 /* confdefs.h.  */
3669 _ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h.  */
3673
3674 int
3675 main ()
3676 {
3677
3678   ;
3679   return 0;
3680 }
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684   (eval $ac_compile) 2>conftest.er1
3685   ac_status=$?
3686   grep -v '^ *+' conftest.er1 >conftest.err
3687   rm -f conftest.er1
3688   cat conftest.err >&5
3689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690   (exit $ac_status); } &&
3691          { ac_try='test -z "$ac_cxx_werror_flag"
3692                          || test ! -s conftest.err'
3693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694   (eval $ac_try) 2>&5
3695   ac_status=$?
3696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697   (exit $ac_status); }; } &&
3698          { ac_try='test -s conftest.$ac_objext'
3699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700   (eval $ac_try) 2>&5
3701   ac_status=$?
3702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703   (exit $ac_status); }; }; then
3704   ac_cv_prog_cxx_g=yes
3705 else
3706   echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3708
3709 ac_cv_prog_cxx_g=no
3710 fi
3711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3712 fi
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3714 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3715 if test "$ac_test_CXXFLAGS" = set; then
3716   CXXFLAGS=$ac_save_CXXFLAGS
3717 elif test $ac_cv_prog_cxx_g = yes; then
3718   if test "$GXX" = yes; then
3719     CXXFLAGS="-g -O2"
3720   else
3721     CXXFLAGS="-g"
3722   fi
3723 else
3724   if test "$GXX" = yes; then
3725     CXXFLAGS="-O2"
3726   else
3727     CXXFLAGS=
3728   fi
3729 fi
3730 for ac_declaration in \
3731    '' \
3732    'extern "C" void std::exit (int) throw (); using std::exit;' \
3733    'extern "C" void std::exit (int); using std::exit;' \
3734    'extern "C" void exit (int) throw ();' \
3735    'extern "C" void exit (int);' \
3736    'void exit (int);'
3737 do
3738   cat >conftest.$ac_ext <<_ACEOF
3739 /* confdefs.h.  */
3740 _ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h.  */
3744 $ac_declaration
3745 #include <stdlib.h>
3746 int
3747 main ()
3748 {
3749 exit (42);
3750   ;
3751   return 0;
3752 }
3753 _ACEOF
3754 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756   (eval $ac_compile) 2>conftest.er1
3757   ac_status=$?
3758   grep -v '^ *+' conftest.er1 >conftest.err
3759   rm -f conftest.er1
3760   cat conftest.err >&5
3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762   (exit $ac_status); } &&
3763          { ac_try='test -z "$ac_cxx_werror_flag"
3764                          || test ! -s conftest.err'
3765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766   (eval $ac_try) 2>&5
3767   ac_status=$?
3768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769   (exit $ac_status); }; } &&
3770          { ac_try='test -s conftest.$ac_objext'
3771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772   (eval $ac_try) 2>&5
3773   ac_status=$?
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); }; }; then
3776   :
3777 else
3778   echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3780
3781 continue
3782 fi
3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784   cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h.  */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h.  */
3790 $ac_declaration
3791 int
3792 main ()
3793 {
3794 exit (42);
3795   ;
3796   return 0;
3797 }
3798 _ACEOF
3799 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801   (eval $ac_compile) 2>conftest.er1
3802   ac_status=$?
3803   grep -v '^ *+' conftest.er1 >conftest.err
3804   rm -f conftest.er1
3805   cat conftest.err >&5
3806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807   (exit $ac_status); } &&
3808          { ac_try='test -z "$ac_cxx_werror_flag"
3809                          || test ! -s conftest.err'
3810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811   (eval $ac_try) 2>&5
3812   ac_status=$?
3813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814   (exit $ac_status); }; } &&
3815          { ac_try='test -s conftest.$ac_objext'
3816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817   (eval $ac_try) 2>&5
3818   ac_status=$?
3819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820   (exit $ac_status); }; }; then
3821   break
3822 else
3823   echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3825
3826 fi
3827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3828 done
3829 rm -f conftest*
3830 if test -n "$ac_declaration"; then
3831   echo '#ifdef __cplusplus' >>confdefs.h
3832   echo $ac_declaration      >>confdefs.h
3833   echo '#endif'             >>confdefs.h
3834 fi
3835
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841
3842   CXXFLAGS="$save_CXXFLAGS"
3843
3844
3845
3846
3847   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3848   # available).  Uncomment the next line to force a particular method.
3849   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3851 LN_S=$as_ln_s
3852 if test "$LN_S" = "ln -s"; then
3853   echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3857 echo "${ECHO_T}no, using $LN_S" >&6
3858 fi
3859
3860   #LN_S='cp -p'
3861
3862   if test -n "$ac_tool_prefix"; then
3863   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3864 set dummy ${ac_tool_prefix}as; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_AS+set}" = set; then
3868   echo $ECHO_N "(cached) $ECHO_C" >&6
3869 else
3870   if test -n "$AS"; then
3871   ac_cv_prog_AS="$AS" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876   IFS=$as_save_IFS
3877   test -z "$as_dir" && as_dir=.
3878   for ac_exec_ext in '' $ac_executable_extensions; do
3879   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880     ac_cv_prog_AS="${ac_tool_prefix}as"
3881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882     break 2
3883   fi
3884 done
3885 done
3886
3887 fi
3888 fi
3889 AS=$ac_cv_prog_AS
3890 if test -n "$AS"; then
3891   echo "$as_me:$LINENO: result: $AS" >&5
3892 echo "${ECHO_T}$AS" >&6
3893 else
3894   echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3896 fi
3897
3898 fi
3899 if test -z "$ac_cv_prog_AS"; then
3900   ac_ct_AS=$AS
3901   # Extract the first word of "as", so it can be a program name with args.
3902 set dummy as; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3906   echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908   if test -n "$ac_ct_AS"; then
3909   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914   IFS=$as_save_IFS
3915   test -z "$as_dir" && as_dir=.
3916   for ac_exec_ext in '' $ac_executable_extensions; do
3917   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918     ac_cv_prog_ac_ct_AS="as"
3919     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920     break 2
3921   fi
3922 done
3923 done
3924
3925 fi
3926 fi
3927 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3928 if test -n "$ac_ct_AS"; then
3929   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3930 echo "${ECHO_T}$ac_ct_AS" >&6
3931 else
3932   echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3934 fi
3935
3936   AS=$ac_ct_AS
3937 else
3938   AS="$ac_cv_prog_AS"
3939 fi
3940
3941   if test -n "$ac_tool_prefix"; then
3942   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3943 set dummy ${ac_tool_prefix}ar; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_AR+set}" = set; then
3947   echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949   if test -n "$AR"; then
3950   ac_cv_prog_AR="$AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3954 do
3955   IFS=$as_save_IFS
3956   test -z "$as_dir" && as_dir=.
3957   for ac_exec_ext in '' $ac_executable_extensions; do
3958   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959     ac_cv_prog_AR="${ac_tool_prefix}ar"
3960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961     break 2
3962   fi
3963 done
3964 done
3965
3966 fi
3967 fi
3968 AR=$ac_cv_prog_AR
3969 if test -n "$AR"; then
3970   echo "$as_me:$LINENO: result: $AR" >&5
3971 echo "${ECHO_T}$AR" >&6
3972 else
3973   echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3975 fi
3976
3977 fi
3978 if test -z "$ac_cv_prog_AR"; then
3979   ac_ct_AR=$AR
3980   # Extract the first word of "ar", so it can be a program name with args.
3981 set dummy ar; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3985   echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987   if test -n "$ac_ct_AR"; then
3988   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3992 do
3993   IFS=$as_save_IFS
3994   test -z "$as_dir" && as_dir=.
3995   for ac_exec_ext in '' $ac_executable_extensions; do
3996   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997     ac_cv_prog_ac_ct_AR="ar"
3998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999     break 2
4000   fi
4001 done
4002 done
4003
4004 fi
4005 fi
4006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4007 if test -n "$ac_ct_AR"; then
4008   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4009 echo "${ECHO_T}$ac_ct_AR" >&6
4010 else
4011   echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4013 fi
4014
4015   AR=$ac_ct_AR
4016 else
4017   AR="$ac_cv_prog_AR"
4018 fi
4019
4020   if test -n "$ac_tool_prefix"; then
4021   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_RANLIB+set}" = set; then
4026   echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028   if test -n "$RANLIB"; then
4029   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4033 do
4034   IFS=$as_save_IFS
4035   test -z "$as_dir" && as_dir=.
4036   for ac_exec_ext in '' $ac_executable_extensions; do
4037   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4039     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040     break 2
4041   fi
4042 done
4043 done
4044
4045 fi
4046 fi
4047 RANLIB=$ac_cv_prog_RANLIB
4048 if test -n "$RANLIB"; then
4049   echo "$as_me:$LINENO: result: $RANLIB" >&5
4050 echo "${ECHO_T}$RANLIB" >&6
4051 else
4052   echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056 fi
4057 if test -z "$ac_cv_prog_RANLIB"; then
4058   ac_ct_RANLIB=$RANLIB
4059   # Extract the first word of "ranlib", so it can be a program name with args.
4060 set dummy ranlib; ac_word=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4064   echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4066   if test -n "$ac_ct_RANLIB"; then
4067   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4071 do
4072   IFS=$as_save_IFS
4073   test -z "$as_dir" && as_dir=.
4074   for ac_exec_ext in '' $ac_executable_extensions; do
4075   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076     ac_cv_prog_ac_ct_RANLIB="ranlib"
4077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4078     break 2
4079   fi
4080 done
4081 done
4082
4083   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4084 fi
4085 fi
4086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4087 if test -n "$ac_ct_RANLIB"; then
4088   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4089 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4090 else
4091   echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095   RANLIB=$ac_ct_RANLIB
4096 else
4097   RANLIB="$ac_cv_prog_RANLIB"
4098 fi
4099
4100
4101   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4102 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4103     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4104 if test "${enable_maintainer_mode+set}" = set; then
4105   enableval="$enable_maintainer_mode"
4106   USE_MAINTAINER_MODE=$enableval
4107 else
4108   USE_MAINTAINER_MODE=no
4109 fi;
4110   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4111 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4112
4113
4114 if test $USE_MAINTAINER_MODE = yes; then
4115   MAINTAINER_MODE_TRUE=
4116   MAINTAINER_MODE_FALSE='#'
4117 else
4118   MAINTAINER_MODE_TRUE='#'
4119   MAINTAINER_MODE_FALSE=
4120 fi
4121
4122   MAINT=$MAINTAINER_MODE_TRUE
4123
4124
4125
4126   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4127   # which are themselves conditionally expanded.
4128   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4129   ## other macros from doing the same.  This should be automated.)  -pme
4130   need_libmath=no
4131
4132   # Check for uClibc since Linux platforms use different configuration
4133   # directories depending on the C library in use.
4134   cat >conftest.$ac_ext <<_ACEOF
4135 /* confdefs.h.  */
4136 _ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h.  */
4140
4141   #include <stdio.h>
4142   #if __UCLIBC__
4143     _using_uclibc
4144   #endif
4145
4146 _ACEOF
4147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4148   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4149   uclibc=yes
4150 else
4151   uclibc=no
4152 fi
4153 rm -f conftest*
4154
4155
4156   # Find platform-specific directories containing configuration info.
4157   # Also possibly modify flags used elsewhere, as needed by the platform.
4158
4159   . $glibcxx_srcdir/configure.host
4160   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4161 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4162   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4163 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4164
4165
4166
4167 if test "x${with_newlib}" != "xyes"; then
4168   enable_dlopen=yes
4169
4170
4171
4172 fi
4173
4174
4175 macro_version='2.1a'
4176 macro_revision='1.2435'
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189 ltmain="$ac_aux_dir/ltmain.sh"
4190
4191 # Set options
4192
4193
4194 enable_win32_dll=no
4195
4196
4197 # Check whether --enable-shared or --disable-shared was given.
4198 if test "${enable_shared+set}" = set; then
4199   enableval="$enable_shared"
4200   p=${PACKAGE-default}
4201     case $enableval in
4202     yes) enable_shared=yes ;;
4203     no) enable_shared=no ;;
4204     *)
4205       enable_shared=no
4206       # Look at the argument we got.  We use all the common list separators.
4207       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4208       for pkg in $enableval; do
4209         IFS="$lt_save_ifs"
4210         if test "X$pkg" = "X$p"; then
4211           enable_shared=yes
4212         fi
4213       done
4214       IFS="$lt_save_ifs"
4215       ;;
4216     esac
4217 else
4218   enable_shared=yes
4219 fi;
4220
4221
4222
4223
4224
4225
4226
4227
4228 # Check whether --enable-static or --disable-static was given.
4229 if test "${enable_static+set}" = set; then
4230   enableval="$enable_static"
4231   p=${PACKAGE-default}
4232     case $enableval in
4233     yes) enable_static=yes ;;
4234     no) enable_static=no ;;
4235     *)
4236      enable_static=no
4237       # Look at the argument we got.  We use all the common list separators.
4238       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4239       for pkg in $enableval; do
4240         IFS="$lt_save_ifs"
4241         if test "X$pkg" = "X$p"; then
4242           enable_static=yes
4243         fi
4244       done
4245       IFS="$lt_save_ifs"
4246       ;;
4247     esac
4248 else
4249   enable_static=yes
4250 fi;
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260 # Check whether --with-pic or --without-pic was given.
4261 if test "${with_pic+set}" = set; then
4262   withval="$with_pic"
4263   pic_mode="$withval"
4264 else
4265   pic_mode=default
4266 fi;
4267
4268 test -z "$pic_mode" && pic_mode=default
4269
4270
4271
4272
4273
4274
4275
4276 # Check whether --enable-fast-install or --disable-fast-install was given.
4277 if test "${enable_fast_install+set}" = set; then
4278   enableval="$enable_fast_install"
4279   p=${PACKAGE-default}
4280     case $enableval in
4281     yes) enable_fast_install=yes ;;
4282     no) enable_fast_install=no ;;
4283     *)
4284       enable_fast_install=no
4285       # Look at the argument we got.  We use all the common list separators.
4286       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4287       for pkg in $enableval; do
4288         IFS="$lt_save_ifs"
4289         if test "X$pkg" = "X$p"; then
4290           enable_fast_install=yes
4291         fi
4292       done
4293       IFS="$lt_save_ifs"
4294       ;;
4295     esac
4296 else
4297   enable_fast_install=yes
4298 fi;
4299
4300
4301
4302
4303
4304
4305
4306
4307 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4308 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4309 if test "${lt_cv_path_SED+set}" = set; then
4310   echo $ECHO_N "(cached) $ECHO_C" >&6
4311 else
4312   # Loop through the user's path and test for sed and gsed.
4313 # Then use that list of sed's as ones to test for truncation.
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4316 do
4317   IFS=$as_save_IFS
4318   test -z "$as_dir" && as_dir=.
4319   for lt_ac_prog in sed gsed; do
4320     for ac_exec_ext in '' $ac_executable_extensions; do
4321       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4322         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4323       fi
4324     done
4325   done
4326 done
4327 IFS=$as_save_IFS
4328 lt_ac_max=0
4329 lt_ac_count=0
4330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4331 # along with /bin/sed that truncates output.
4332 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4333   test ! -f $lt_ac_sed && continue
4334   cat /dev/null > conftest.in
4335   lt_ac_count=0
4336   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4337   # Check for GNU sed and select it if it is found.
4338   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4339     lt_cv_path_SED=$lt_ac_sed
4340     break
4341   fi
4342   while true; do
4343     cat conftest.in conftest.in >conftest.tmp
4344     mv conftest.tmp conftest.in
4345     cp conftest.in conftest.nl
4346     echo >>conftest.nl
4347     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4348     cmp -s conftest.out conftest.nl || break
4349     # 10000 chars as input seems more than enough
4350     test $lt_ac_count -gt 10 && break
4351     lt_ac_count=`expr $lt_ac_count + 1`
4352     if test $lt_ac_count -gt $lt_ac_max; then
4353       lt_ac_max=$lt_ac_count
4354       lt_cv_path_SED=$lt_ac_sed
4355     fi
4356   done
4357 done
4358
4359 fi
4360
4361 SED=$lt_cv_path_SED
4362
4363 echo "$as_me:$LINENO: result: $SED" >&5
4364 echo "${ECHO_T}$SED" >&6
4365
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379 echo "$as_me:$LINENO: checking for fgrep" >&5
4380 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4381 if test "${ac_cv_prog_fgrep+set}" = set; then
4382   echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4384   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4385     then ac_cv_prog_fgrep='grep -F'
4386     else ac_cv_prog_fgrep='fgrep'
4387     fi
4388 fi
4389 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4390 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4391  FGREP=$ac_cv_prog_fgrep
4392
4393
4394 test -z "$GREP" && GREP=grep
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4415 if test "${with_gnu_ld+set}" = set; then
4416   withval="$with_gnu_ld"
4417   test "$withval" = no || with_gnu_ld=yes
4418 else
4419   with_gnu_ld=no
4420 fi;
4421 ac_prog=ld
4422 if test "$GCC" = yes; then
4423   # Check if gcc -print-prog-name=ld gives a path.
4424   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4425 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4426   case $host in
4427   *-*-mingw*)
4428     # gcc leaves a trailing carriage return which upsets mingw
4429     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4430   *)
4431     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4432   esac
4433   case $ac_prog in
4434     # Accept absolute paths.
4435     [\\/]* | ?:[\\/]*)
4436       re_direlt='/[^/][^/]*/\.\./'
4437       # Canonicalize the pathname of ld
4438       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4439       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4440         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4441       done
4442       test -z "$LD" && LD="$ac_prog"
4443       ;;
4444   "")
4445     # If it fails, then pretend we aren't using GCC.
4446     ac_prog=ld
4447     ;;
4448   *)
4449     # If it is relative, then search for the first ld in PATH.
4450     with_gnu_ld=unknown
4451     ;;
4452   esac
4453 elif test "$with_gnu_ld" = yes; then
4454   echo "$as_me:$LINENO: checking for GNU ld" >&5
4455 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4456 else
4457   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4458 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4459 fi
4460 if test "${lt_cv_path_LD+set}" = set; then
4461   echo $ECHO_N "(cached) $ECHO_C" >&6
4462 else
4463   if test -z "$LD"; then
4464   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4465   for ac_dir in $PATH; do
4466     IFS="$lt_save_ifs"
4467     test -z "$ac_dir" && ac_dir=.
4468     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4469       lt_cv_path_LD="$ac_dir/$ac_prog"
4470       # Check to see if the program is GNU ld.  I'd rather use --version,
4471       # but apparently some variants of GNU ld only accept -v.
4472       # Break only if it was the GNU/non-GNU ld that we prefer.
4473       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4474       *GNU* | *'with BFD'*)
4475         test "$with_gnu_ld" != no && break
4476         ;;
4477       *)
4478         test "$with_gnu_ld" != yes && break
4479         ;;
4480       esac
4481     fi
4482   done
4483   IFS="$lt_save_ifs"
4484 else
4485   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4486 fi
4487 fi
4488
4489 LD="$lt_cv_path_LD"
4490 if test -n "$LD"; then
4491   echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4493 else
4494   echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4496 fi
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499    { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503   echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4506 case `$LD -v 2>&1 </dev/null` in
4507 *GNU* | *'with BFD'*)
4508   lt_cv_prog_gnu_ld=yes
4509   ;;
4510 *)
4511   lt_cv_prog_gnu_ld=no
4512   ;;
4513 esac
4514 fi
4515 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4516 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4517 with_gnu_ld=$lt_cv_prog_gnu_ld
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4529 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4530 if test "${lt_cv_path_NM+set}" = set; then
4531   echo $ECHO_N "(cached) $ECHO_C" >&6
4532 else
4533   if test -n "$NM"; then
4534   # Let the user override the test.
4535   lt_cv_path_NM="$NM"
4536 else
4537   lt_nm_to_check="${ac_tool_prefix}nm"
4538   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4539     lt_nm_to_check="$lt_nm_to_check nm"
4540   fi
4541   for lt_tmp_nm in $lt_nm_to_check; do
4542     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4543     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4544       IFS="$lt_save_ifs"
4545       test -z "$ac_dir" && ac_dir=.
4546       tmp_nm="$ac_dir/$lt_tmp_nm"
4547       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4548         # Check to see if the nm accepts a BSD-compat flag.
4549         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4550         #   nm: unknown option "B" ignored
4551         # Tru64's nm complains that /dev/null is an invalid object file
4552         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4553         */dev/null* | *'Invalid file or object type'*)
4554           lt_cv_path_NM="$tmp_nm -B"
4555           break
4556           ;;
4557         *)
4558           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4559           */dev/null*)
4560             lt_cv_path_NM="$tmp_nm -p"
4561             break
4562             ;;
4563           *)
4564             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4565             continue # so that we can try to find one that supports BSD flags
4566             ;;
4567           esac
4568           ;;
4569         esac
4570       fi
4571     done
4572     IFS="$lt_save_ifs"
4573   done
4574   : ${lt_cv_path_NM=no}
4575 fi
4576 fi
4577 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4578 echo "${ECHO_T}$lt_cv_path_NM" >&6
4579 if test "$lt_cv_path_NM" != "no"; then
4580   NM="$lt_cv_path_NM"
4581 else
4582   # Didn't find any BSD compatible name lister, look for dumpbin.
4583   if test -n "$ac_tool_prefix"; then
4584   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4585   do
4586     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4591   echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593   if test -n "$DUMPBIN"; then
4594   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4598 do
4599   IFS=$as_save_IFS
4600   test -z "$as_dir" && as_dir=.
4601   for ac_exec_ext in '' $ac_executable_extensions; do
4602   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4604     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605     break 2
4606   fi
4607 done
4608 done
4609
4610 fi
4611 fi
4612 DUMPBIN=$ac_cv_prog_DUMPBIN
4613 if test -n "$DUMPBIN"; then
4614   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4615 echo "${ECHO_T}$DUMPBIN" >&6
4616 else
4617   echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621     test -n "$DUMPBIN" && break
4622   done
4623 fi
4624 if test -z "$DUMPBIN"; then
4625   ac_ct_DUMPBIN=$DUMPBIN
4626   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4627 do
4628   # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set dummy $ac_prog; ac_word=$2
4630 echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4632 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4633   echo $ECHO_N "(cached) $ECHO_C" >&6
4634 else
4635   if test -n "$ac_ct_DUMPBIN"; then
4636   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4640 do
4641   IFS=$as_save_IFS
4642   test -z "$as_dir" && as_dir=.
4643   for ac_exec_ext in '' $ac_executable_extensions; do
4644   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4646     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4647     break 2
4648   fi
4649 done
4650 done
4651
4652 fi
4653 fi
4654 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4655 if test -n "$ac_ct_DUMPBIN"; then
4656   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4657 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4658 else
4659   echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4661 fi
4662
4663   test -n "$ac_ct_DUMPBIN" && break
4664 done
4665 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4666
4667   DUMPBIN=$ac_ct_DUMPBIN
4668 fi
4669
4670
4671   if test "$DUMPBIN" != ":"; then
4672     NM="$DUMPBIN"
4673   fi
4674 fi
4675 test -z "$NM" && NM=nm
4676
4677
4678
4679
4680
4681
4682 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4683 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4684 if test "${lt_cv_nm_interface+set}" = set; then
4685   echo $ECHO_N "(cached) $ECHO_C" >&6
4686 else
4687   lt_cv_nm_interface="BSD nm"
4688   echo "int some_variable = 0;" > conftest.$ac_ext
4689   (eval echo "\"\$as_me:4689: $ac_compile\"" >&5)
4690   (eval "$ac_compile" 2>conftest.err)
4691   cat conftest.err >&5
4692   (eval echo "\"\$as_me:4692: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4693   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4694   cat conftest.err >&5
4695   (eval echo "\"\$as_me:4695: output\"" >&5)
4696   cat conftest.out >&5
4697   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4698     lt_cv_nm_interface="MS dumpbin"
4699   fi
4700   rm -f conftest*
4701 fi
4702 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4703 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4704
4705 # find the maximum length of command line arguments
4706 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4707 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4708 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4709   echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4711     i=0
4712   teststring="ABCD"
4713
4714   case $build_os in
4715   msdosdjgpp*)
4716     # On DJGPP, this test can blow up pretty badly due to problems in libc
4717     # (any single argument exceeding 2000 bytes causes a buffer overrun
4718     # during glob expansion).  Even if it were fixed, the result of this
4719     # check would be larger than it should be.
4720     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4721     ;;
4722
4723   gnu*)
4724     # Under GNU Hurd, this test is not required because there is
4725     # no limit to the length of command line arguments.
4726     # Libtool will interpret -1 as no limit whatsoever
4727     lt_cv_sys_max_cmd_len=-1;
4728     ;;
4729
4730   cygwin* | mingw*)
4731     # On Win9x/ME, this test blows up -- it succeeds, but takes
4732     # about 5 minutes as the teststring grows exponentially.
4733     # Worse, since 9x/ME are not pre-emptively multitasking,
4734     # you end up with a "frozen" computer, even though with patience
4735     # the test eventually succeeds (with a max line length of 256k).
4736     # Instead, let's just punt: use the minimum linelength reported by
4737     # all of the supported platforms: 8192 (on NT/2K/XP).
4738     lt_cv_sys_max_cmd_len=8192;
4739     ;;
4740
4741   amigaos*)
4742     # On AmigaOS with pdksh, this test takes hours, literally.
4743     # So we just punt and use a minimum line length of 8192.
4744     lt_cv_sys_max_cmd_len=8192;
4745     ;;
4746
4747   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748     # This has been around since 386BSD, at least.  Likely further.
4749     if test -x /sbin/sysctl; then
4750       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751     elif test -x /usr/sbin/sysctl; then
4752       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4753     else
4754       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4755     fi
4756     # And add a safety zone
4757     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4759     ;;
4760
4761   interix*)
4762     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763     lt_cv_sys_max_cmd_len=196608
4764     ;;
4765
4766   osf*)
4767     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4768     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4769     # nice to cause kernel panics so lets avoid the loop below.
4770     # First set a reasonable default.
4771     lt_cv_sys_max_cmd_len=16384
4772     #
4773     if test -x /sbin/sysconfig; then
4774       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4775         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4776       esac
4777     fi
4778     ;;
4779   sco3.2v5*)
4780     lt_cv_sys_max_cmd_len=102400
4781     ;;
4782   sysv5* | sco5v6* | sysv4.2uw2*)
4783     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4784     if test -n "$kargmax"; then
4785       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4786     else
4787       lt_cv_sys_max_cmd_len=32768
4788     fi
4789     ;;
4790   *)
4791     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4792     if test -n $lt_cv_sys_max_cmd_len; then
4793       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4794       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4795     else
4796       # Make teststring a little bigger before we do anything with it.
4797       # a 1K string should be a reasonable start.
4798       for i in 1 2 3 4 5 6 7 8 ; do
4799         teststring=$teststring$teststring
4800       done
4801       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4802       # If test is not a shell built-in, we'll probably end up computing a
4803       # maximum length that is only half of the actual maximum length, but
4804       # we can't tell.
4805       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4806                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4807               test $i != 17 # 1/2 MB should be enough
4808       do
4809         i=`expr $i + 1`
4810         teststring=$teststring$teststring
4811       done
4812       # Only check the string length outside the loop.
4813       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4814       teststring=
4815       # Add a significant safety factor because C++ compilers can tack on
4816       # massive amounts of additional arguments before passing them to the
4817       # linker.  It appears as though 1/2 is a usable value.
4818       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4819     fi
4820     ;;
4821   esac
4822
4823 fi
4824
4825 if test -n $lt_cv_sys_max_cmd_len ; then
4826   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4827 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4828 else
4829   echo "$as_me:$LINENO: result: none" >&5
4830 echo "${ECHO_T}none" >&6
4831 fi
4832 max_cmd_len=$lt_cv_sys_max_cmd_len
4833
4834
4835
4836
4837
4838
4839
4840 : ${CP="cp -f"}
4841 : ${MV="mv -f"}
4842 : ${RM="rm -f"}
4843
4844 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4845 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4846 # Try some XSI features
4847 xsi_shell=no
4848 ( _lt_dummy="a/b/c"
4849   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4850       = c,a/b,, ) >/dev/null 2>&1 \
4851   && xsi_shell=yes
4852 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4853 echo "${ECHO_T}$xsi_shell" >&6
4854
4855
4856 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4857 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4858 lt_shell_append=no
4859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4860     >/dev/null 2>&1 \
4861   && lt_shell_append=yes
4862 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4863 echo "${ECHO_T}$lt_shell_append" >&6
4864
4865
4866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4867   lt_unset=unset
4868 else
4869   lt_unset=false
4870 fi
4871
4872
4873
4874
4875
4876 # test EBCDIC or ASCII
4877 case `echo X|tr X '\101'` in
4878  A) # ASCII based system
4879     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4880   lt_SP2NL='tr \040 \012'
4881   lt_NL2SP='tr \015\012 \040\040'
4882   ;;
4883  *) # EBCDIC based system
4884   lt_SP2NL='tr \100 \n'
4885   lt_NL2SP='tr \r\n \100\100'
4886   ;;
4887 esac
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4898 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4899 if test "${lt_cv_ld_reload_flag+set}" = set; then
4900   echo $ECHO_N "(cached) $ECHO_C" >&6
4901 else
4902   lt_cv_ld_reload_flag='-r'
4903 fi
4904 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4905 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4906 reload_flag=$lt_cv_ld_reload_flag
4907 case $reload_flag in
4908 "" | " "*) ;;
4909 *) reload_flag=" $reload_flag" ;;
4910 esac
4911 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 case $host_os in
4913   darwin*)
4914     if test "$GCC" = yes; then
4915       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4916     else
4917       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4918     fi
4919     ;;
4920 esac
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4932 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4933 if test "${lt_cv_deplibs_check_method+set}" = set; then
4934   echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936   lt_cv_file_magic_cmd='$MAGIC_CMD'
4937 lt_cv_file_magic_test_file=
4938 lt_cv_deplibs_check_method='unknown'
4939 # Need to set the preceding variable on all platforms that support
4940 # interlibrary dependencies.
4941 # 'none' -- dependencies not supported.
4942 # `unknown' -- same as none, but documents that we really don't know.
4943 # 'pass_all' -- all dependencies passed with no checks.
4944 # 'test_compile' -- check by making test program.
4945 # 'file_magic [[regex]]' -- check by looking for files in library path
4946 # which responds to the $file_magic_cmd with a given extended regex.
4947 # If you have `file' or equivalent on your system and you're not sure
4948 # whether `pass_all' will *always* work, you probably want this one.
4949
4950 case $host_os in
4951 aix[4-9]*)
4952   lt_cv_deplibs_check_method=pass_all
4953   ;;
4954
4955 beos*)
4956   lt_cv_deplibs_check_method=pass_all
4957   ;;
4958
4959 bsdi[45]*)
4960   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4961   lt_cv_file_magic_cmd='/usr/bin/file -L'
4962   lt_cv_file_magic_test_file=/shlib/libc.so
4963   ;;
4964
4965 cygwin*)
4966   # func_win32_libid is a shell function defined in ltmain.sh
4967   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4968   lt_cv_file_magic_cmd='func_win32_libid'
4969   ;;
4970
4971 mingw* | pw32*)
4972   # Base MSYS/MinGW do not provide the 'file' command needed by
4973   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4974   # unless we find 'file', for example because we are cross-compiling.
4975   if ( file / ) >/dev/null 2>&1; then
4976     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977     lt_cv_file_magic_cmd='func_win32_libid'
4978   else
4979     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4980     lt_cv_file_magic_cmd='$OBJDUMP -f'
4981   fi
4982   ;;
4983
4984 darwin* | rhapsody*)
4985   lt_cv_deplibs_check_method=pass_all
4986   ;;
4987
4988 freebsd* | dragonfly*)
4989   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990     case $host_cpu in
4991     i*86 )
4992       # Not sure whether the presence of OpenBSD here was a mistake.
4993       # Let's accept both of them until this is cleared up.
4994       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4995       lt_cv_file_magic_cmd=/usr/bin/file
4996       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4997       ;;
4998     esac
4999   else
5000     lt_cv_deplibs_check_method=pass_all
5001   fi
5002   ;;
5003
5004 gnu*)
5005   lt_cv_deplibs_check_method=pass_all
5006   ;;
5007
5008 hpux10.20* | hpux11*)
5009   lt_cv_file_magic_cmd=/usr/bin/file
5010   case $host_cpu in
5011   ia64*)
5012     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5013     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5014     ;;
5015   hppa*64*)
5016     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]'
5017     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5018     ;;
5019   *)
5020     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5021     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5022     ;;
5023   esac
5024   ;;
5025
5026 interix[3-9]*)
5027   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5028   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5029   ;;
5030
5031 irix5* | irix6* | nonstopux*)
5032   case $LD in
5033   *-32|*"-32 ") libmagic=32-bit;;
5034   *-n32|*"-n32 ") libmagic=N32;;
5035   *-64|*"-64 ") libmagic=64-bit;;
5036   *) libmagic=never-match;;
5037   esac
5038   lt_cv_deplibs_check_method=pass_all
5039   ;;
5040
5041 # This must be Linux ELF.
5042 linux* | k*bsd*-gnu)
5043   lt_cv_deplibs_check_method=pass_all
5044   ;;
5045
5046 netbsd*)
5047   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5048     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5049   else
5050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5051   fi
5052   ;;
5053
5054 newos6*)
5055   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5056   lt_cv_file_magic_cmd=/usr/bin/file
5057   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5058   ;;
5059
5060 *nto* | *qnx*)
5061   lt_cv_deplibs_check_method=pass_all
5062   ;;
5063
5064 openbsd*)
5065   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5066     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5067   else
5068     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5069   fi
5070   ;;
5071
5072 osf3* | osf4* | osf5*)
5073   lt_cv_deplibs_check_method=pass_all
5074   ;;
5075
5076 rdos*)
5077   lt_cv_deplibs_check_method=pass_all
5078   ;;
5079
5080 solaris*)
5081   lt_cv_deplibs_check_method=pass_all
5082   ;;
5083
5084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5085   lt_cv_deplibs_check_method=pass_all
5086   ;;
5087
5088 sysv4 | sysv4.3*)
5089   case $host_vendor in
5090   motorola)
5091     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]'
5092     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5093     ;;
5094   ncr)
5095     lt_cv_deplibs_check_method=pass_all
5096     ;;
5097   sequent)
5098     lt_cv_file_magic_cmd='/bin/file'
5099     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5100     ;;
5101   sni)
5102     lt_cv_file_magic_cmd='/bin/file'
5103     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5104     lt_cv_file_magic_test_file=/lib/libc.so
5105     ;;
5106   siemens)
5107     lt_cv_deplibs_check_method=pass_all
5108     ;;
5109   pc)
5110     lt_cv_deplibs_check_method=pass_all
5111     ;;
5112   esac
5113   ;;
5114
5115 tpf*)
5116   lt_cv_deplibs_check_method=pass_all
5117   ;;
5118 esac
5119
5120 fi
5121 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5122 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5123 file_magic_cmd=$lt_cv_file_magic_cmd
5124 deplibs_check_method=$lt_cv_deplibs_check_method
5125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138 if test -n "$ac_tool_prefix"; then
5139   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ar; ac_word=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_prog_AR+set}" = set; then
5144   echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146   if test -n "$AR"; then
5147   ac_cv_prog_AR="$AR" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5151 do
5152   IFS=$as_save_IFS
5153   test -z "$as_dir" && as_dir=.
5154   for ac_exec_ext in '' $ac_executable_extensions; do
5155   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156     ac_cv_prog_AR="${ac_tool_prefix}ar"
5157     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158     break 2
5159   fi
5160 done
5161 done
5162
5163 fi
5164 fi
5165 AR=$ac_cv_prog_AR
5166 if test -n "$AR"; then
5167   echo "$as_me:$LINENO: result: $AR" >&5
5168 echo "${ECHO_T}$AR" >&6
5169 else
5170   echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5172 fi
5173
5174 fi
5175 if test -z "$ac_cv_prog_AR"; then
5176   ac_ct_AR=$AR
5177   # Extract the first word of "ar", so it can be a program name with args.
5178 set dummy ar; ac_word=$2
5179 echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5182   echo $ECHO_N "(cached) $ECHO_C" >&6
5183 else
5184   if test -n "$ac_ct_AR"; then
5185   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5189 do
5190   IFS=$as_save_IFS
5191   test -z "$as_dir" && as_dir=.
5192   for ac_exec_ext in '' $ac_executable_extensions; do
5193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194     ac_cv_prog_ac_ct_AR="ar"
5195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5196     break 2
5197   fi
5198 done
5199 done
5200
5201   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5202 fi
5203 fi
5204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5207 echo "${ECHO_T}$ac_ct_AR" >&6
5208 else
5209   echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213   AR=$ac_ct_AR
5214 else
5215   AR="$ac_cv_prog_AR"
5216 fi
5217
5218 test -z "$AR" && AR=ar
5219 test -z "$AR_FLAGS" && AR_FLAGS=cru
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231 if test -n "$ac_tool_prefix"; then
5232   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}strip; ac_word=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_STRIP+set}" = set; then
5237   echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239   if test -n "$STRIP"; then
5240   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5244 do
5245   IFS=$as_save_IFS
5246   test -z "$as_dir" && as_dir=.
5247   for ac_exec_ext in '' $ac_executable_extensions; do
5248   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251     break 2
5252   fi
5253 done
5254 done
5255
5256 fi
5257 fi
5258 STRIP=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260   echo "$as_me:$LINENO: result: $STRIP" >&5
5261 echo "${ECHO_T}$STRIP" >&6
5262 else
5263   echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5265 fi
5266
5267 fi
5268 if test -z "$ac_cv_prog_STRIP"; then
5269   ac_ct_STRIP=$STRIP
5270   # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5275   echo $ECHO_N "(cached) $ECHO_C" >&6
5276 else
5277   if test -n "$ac_ct_STRIP"; then
5278   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5282 do
5283   IFS=$as_save_IFS
5284   test -z "$as_dir" && as_dir=.
5285   for ac_exec_ext in '' $ac_executable_extensions; do
5286   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287     ac_cv_prog_ac_ct_STRIP="strip"
5288     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289     break 2
5290   fi
5291 done
5292 done
5293
5294   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5295 fi
5296 fi
5297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5300 echo "${ECHO_T}$ac_ct_STRIP" >&6
5301 else
5302   echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5304 fi
5305
5306   STRIP=$ac_ct_STRIP
5307 else
5308   STRIP="$ac_cv_prog_STRIP"
5309 fi
5310
5311 test -z "$STRIP" && STRIP=:
5312
5313
5314
5315
5316
5317
5318 if test -n "$ac_tool_prefix"; then
5319   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_RANLIB+set}" = set; then
5324   echo $ECHO_N "(cached) $ECHO_C" >&6
5325 else
5326   if test -n "$RANLIB"; then
5327   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5331 do
5332   IFS=$as_save_IFS
5333   test -z "$as_dir" && as_dir=.
5334   for ac_exec_ext in '' $ac_executable_extensions; do
5335   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5337     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338     break 2
5339   fi
5340 done
5341 done
5342
5343 fi
5344 fi
5345 RANLIB=$ac_cv_prog_RANLIB
5346 if test -n "$RANLIB"; then
5347   echo "$as_me:$LINENO: result: $RANLIB" >&5
5348 echo "${ECHO_T}$RANLIB" >&6
5349 else
5350   echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5352 fi
5353
5354 fi
5355 if test -z "$ac_cv_prog_RANLIB"; then
5356   ac_ct_RANLIB=$RANLIB
5357   # Extract the first word of "ranlib", so it can be a program name with args.
5358 set dummy ranlib; ac_word=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5362   echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364   if test -n "$ac_ct_RANLIB"; then
5365   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5369 do
5370   IFS=$as_save_IFS
5371   test -z "$as_dir" && as_dir=.
5372   for ac_exec_ext in '' $ac_executable_extensions; do
5373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374     ac_cv_prog_ac_ct_RANLIB="ranlib"
5375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376     break 2
5377   fi
5378 done
5379 done
5380
5381   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5382 fi
5383 fi
5384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5385 if test -n "$ac_ct_RANLIB"; then
5386   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5387 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5388 else
5389   echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6
5391 fi
5392
5393   RANLIB=$ac_ct_RANLIB
5394 else
5395   RANLIB="$ac_cv_prog_RANLIB"
5396 fi
5397
5398 test -z "$RANLIB" && RANLIB=:
5399
5400
5401
5402
5403
5404
5405 # Determine commands to create old-style static archives.
5406 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5407 old_postinstall_cmds='chmod 644 $oldlib'
5408 old_postuninstall_cmds=
5409
5410 if test -n "$RANLIB"; then
5411   case $host_os in
5412   openbsd*)
5413     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5414     ;;
5415   *)
5416     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5417     ;;
5418   esac
5419   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5420 fi
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455 # If no C compiler was specified, use CC.
5456 LTCC=${LTCC-"$CC"}
5457
5458 # If no C compiler flags were specified, use CFLAGS.
5459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5460
5461 # Allow CC to be a program name with arguments.
5462 compiler=$CC
5463
5464
5465 # Check for command to grab the raw symbol name followed by C symbol from nm.
5466 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5467 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5469   echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471
5472 # These are sane defaults that work on at least a few old systems.
5473 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5474
5475 # Character class describing NM global symbol codes.
5476 symcode='[BCDEGRST]'
5477
5478 # Regexp to match symbols that can be accessed directly from C.
5479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5480
5481 # Define system-specific variables.
5482 case $host_os in
5483 aix*)
5484   symcode='[BCDT]'
5485   ;;
5486 cygwin* | mingw* | pw32*)
5487   symcode='[ABCDGISTW]'
5488   ;;
5489 hpux*)
5490   if test "$host_cpu" = ia64; then
5491     symcode='[ABCDEGRST]'
5492   fi
5493   ;;
5494 irix* | nonstopux*)
5495   symcode='[BCDEGRST]'
5496   ;;
5497 osf*)
5498   symcode='[BCDEGQRST]'
5499   ;;
5500 solaris*)
5501   symcode='[BDRT]'
5502   ;;
5503 sco3.2v5*)
5504   symcode='[DT]'
5505   ;;
5506 sysv4.2uw2*)
5507   symcode='[DT]'
5508   ;;
5509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5510   symcode='[ABDT]'
5511   ;;
5512 sysv4)
5513   symcode='[DFNSTU]'
5514   ;;
5515 esac
5516
5517 # If we're using GNU nm, then use its standard symbol codes.
5518 case `$NM -V 2>&1` in
5519 *GNU* | *'with BFD'*)
5520   symcode='[ABCDGIRSTW]' ;;
5521 esac
5522
5523 # Transform an extracted symbol line into a proper C declaration.
5524 # Some systems (esp. on ia64) link data and code symbols differently,
5525 # so use this general approach.
5526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5527
5528 # Transform an extracted symbol line into symbol name and symbol address
5529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5530
5531 # Handle CRLF in mingw tool chain
5532 opt_cr=
5533 case $build_os in
5534 mingw*)
5535   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5536   ;;
5537 esac
5538
5539 # Try without a prefix underscore, then with it.
5540 for ac_symprfx in "" "_"; do
5541
5542   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5543   symxfrm="\\1 $ac_symprfx\\2 \\2"
5544
5545   # Write the raw and C identifiers.
5546   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5547     # Fake it for dumpbin and say T for any non-static function
5548     # and D for any global variable.
5549     # Also find C++ and __fastcall symbols from MSVC++,
5550     # which start with @ or ?.
5551     lt_cv_sys_global_symbol_pipe="$AWK '"\
5552 "     {last_section=section; section=\$ 3};"\
5553 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5554 "     \$ 0!~/External *\|/{next};"\
5555 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5556 "     {if(hide[section]) next};"\
5557 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5558 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5559 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5560 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5561 "     ' prfx=^$ac_symprfx"
5562   else
5563     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5564   fi
5565
5566   # Check to see that the pipe works correctly.
5567   pipe_works=no
5568
5569   rm -f conftest*
5570   cat > conftest.$ac_ext <<_LT_EOF
5571 #ifdef __cplusplus
5572 extern "C" {
5573 #endif
5574 char nm_test_var;
5575 void nm_test_func(void);
5576 void nm_test_func(void){}
5577 #ifdef __cplusplus
5578 }
5579 #endif
5580 int main(){nm_test_var='a';nm_test_func();return(0);}
5581 _LT_EOF
5582
5583   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584   (eval $ac_compile) 2>&5
5585   ac_status=$?
5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587   (exit $ac_status); }; then
5588     # Now try to grab the symbols.
5589     nlist=conftest.nm
5590     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5591   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5592   ac_status=$?
5593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594   (exit $ac_status); } && test -s "$nlist"; then
5595       # Try sorting and uniquifying the output.
5596       if sort "$nlist" | uniq > "$nlist"T; then
5597         mv -f "$nlist"T "$nlist"
5598       else
5599         rm -f "$nlist"T
5600       fi
5601
5602       # Make sure that we snagged all the symbols we need.
5603       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5604         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5605           cat <<_LT_EOF > conftest.$ac_ext
5606 #ifdef __cplusplus
5607 extern "C" {
5608 #endif
5609
5610 _LT_EOF
5611           # Now generate the symbol file.
5612           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5613
5614           cat <<_LT_EOF >> conftest.$ac_ext
5615
5616 /* The mapping between symbol names and symbols.  */
5617 const struct {
5618   const char *name;
5619   void       *address;
5620 }
5621 lt__PROGRAM__LTX_preloaded_symbols[] =
5622 {
5623   { "@PROGRAM@", (void *) 0 },
5624 _LT_EOF
5625           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5626           cat <<\_LT_EOF >> conftest.$ac_ext
5627   {0, (void *) 0}
5628 };
5629
5630 /* This works around a problem in FreeBSD linker */
5631 #ifdef FREEBSD_WORKAROUND
5632 static const void *lt_preloaded_setup() {
5633   return lt__PROGRAM__LTX_preloaded_symbols;
5634 }
5635 #endif
5636
5637 #ifdef __cplusplus
5638 }
5639 #endif
5640 _LT_EOF
5641           # Now try linking the two files.
5642           mv conftest.$ac_objext conftstm.$ac_objext
5643           lt_save_LIBS="$LIBS"
5644           lt_save_CFLAGS="$CFLAGS"
5645           LIBS="conftstm.$ac_objext"
5646           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5647           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648   (eval $ac_link) 2>&5
5649   ac_status=$?
5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5652             pipe_works=yes
5653           fi
5654           LIBS="$lt_save_LIBS"
5655           CFLAGS="$lt_save_CFLAGS"
5656         else
5657           echo "cannot find nm_test_func in $nlist" >&5
5658         fi
5659       else
5660         echo "cannot find nm_test_var in $nlist" >&5
5661       fi
5662     else
5663       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5664     fi
5665   else
5666     echo "$progname: failed program was:" >&5
5667     cat conftest.$ac_ext >&5
5668   fi
5669   rm -f conftest* conftst*
5670
5671   # Do not use the global_symbol_pipe unless it works.
5672   if test "$pipe_works" = yes; then
5673     break
5674   else
5675     lt_cv_sys_global_symbol_pipe=
5676   fi
5677 done
5678
5679 fi
5680
5681 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5682   lt_cv_sys_global_symbol_to_cdecl=
5683 fi
5684 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5685   echo "$as_me:$LINENO: result: failed" >&5
5686 echo "${ECHO_T}failed" >&6
5687 else
5688   echo "$as_me:$LINENO: result: ok" >&5
5689 echo "${ECHO_T}ok" >&6
5690 fi
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5709 if test "${enable_libtool_lock+set}" = set; then
5710   enableval="$enable_libtool_lock"
5711
5712 fi;
5713 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5714
5715 # Some flags need to be propagated to the compiler or linker for good
5716 # libtool support.
5717 case $host in
5718 ia64-*-hpux*)
5719   # Find out which ABI we are using.
5720   echo 'int i;' > conftest.$ac_ext
5721   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722   (eval $ac_compile) 2>&5
5723   ac_status=$?
5724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725   (exit $ac_status); }; then
5726     case `/usr/bin/file conftest.$ac_objext` in
5727       *ELF-32*)
5728         HPUX_IA64_MODE="32"
5729         ;;
5730       *ELF-64*)
5731         HPUX_IA64_MODE="64"
5732         ;;
5733     esac
5734   fi
5735   rm -rf conftest*
5736   ;;
5737 *-*-irix6*)
5738   # Find out which ABI we are using.
5739   echo '#line 5739 "configure"' > conftest.$ac_ext
5740   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741   (eval $ac_compile) 2>&5
5742   ac_status=$?
5743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744   (exit $ac_status); }; then
5745     if test "$lt_cv_prog_gnu_ld" = yes; then
5746       case `/usr/bin/file conftest.$ac_objext` in
5747         *32-bit*)
5748           LD="${LD-ld} -melf32bsmip"
5749           ;;
5750         *N32*)
5751           LD="${LD-ld} -melf32bmipn32"
5752           ;;
5753         *64-bit*)
5754           LD="${LD-ld} -melf64bmip"
5755         ;;
5756       esac
5757     else
5758       case `/usr/bin/file conftest.$ac_objext` in
5759         *32-bit*)
5760           LD="${LD-ld} -32"
5761           ;;
5762         *N32*)
5763           LD="${LD-ld} -n32"
5764           ;;
5765         *64-bit*)
5766           LD="${LD-ld} -64"
5767           ;;
5768       esac
5769     fi
5770   fi
5771   rm -rf conftest*
5772   ;;
5773
5774 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5775 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5776   # Find out which ABI we are using.
5777   echo 'int i;' > conftest.$ac_ext
5778   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779   (eval $ac_compile) 2>&5
5780   ac_status=$?
5781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782   (exit $ac_status); }; then
5783     case `/usr/bin/file conftest.o` in
5784       *32-bit*)
5785         case $host in
5786           x86_64-*kfreebsd*-gnu)
5787             LD="${LD-ld} -m elf_i386_fbsd"
5788             ;;
5789           x86_64-*linux*)
5790             LD="${LD-ld} -m elf_i386"
5791             ;;
5792           ppc64-*linux*|powerpc64-*linux*)
5793             LD="${LD-ld} -m elf32ppclinux"
5794             ;;
5795           s390x-*linux*)
5796             LD="${LD-ld} -m elf_s390"
5797             ;;
5798           sparc64-*linux*)
5799             LD="${LD-ld} -m elf32_sparc"
5800             ;;
5801         esac
5802         ;;
5803       *64-bit*)
5804         case $host in
5805           x86_64-*kfreebsd*-gnu)
5806             LD="${LD-ld} -m elf_x86_64_fbsd"
5807             ;;
5808           x86_64-*linux*)
5809             LD="${LD-ld} -m elf_x86_64"
5810             ;;
5811           ppc*-*linux*|powerpc*-*linux*)
5812             LD="${LD-ld} -m elf64ppc"
5813             ;;
5814           s390*-*linux*|s390*-*tpf*)
5815             LD="${LD-ld} -m elf64_s390"
5816             ;;
5817           sparc*-*linux*)
5818             LD="${LD-ld} -m elf64_sparc"
5819             ;;
5820         esac
5821         ;;
5822     esac
5823   fi
5824   rm -rf conftest*
5825   ;;
5826
5827 *-*-sco3.2v5*)
5828   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5829   SAVE_CFLAGS="$CFLAGS"
5830   CFLAGS="$CFLAGS -belf"
5831   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5833 if test "${lt_cv_cc_needs_belf+set}" = set; then
5834   echo $ECHO_N "(cached) $ECHO_C" >&6
5835 else
5836   ac_ext=c
5837 ac_cpp='$CPP $CPPFLAGS'
5838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5841
5842      if test x$gcc_no_link = xyes; then
5843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5845    { (exit 1); exit 1; }; }
5846 fi
5847 cat >conftest.$ac_ext <<_ACEOF
5848 /* confdefs.h.  */
5849 _ACEOF
5850 cat confdefs.h >>conftest.$ac_ext
5851 cat >>conftest.$ac_ext <<_ACEOF
5852 /* end confdefs.h.  */
5853
5854 int
5855 main ()
5856 {
5857
5858   ;
5859   return 0;
5860 }
5861 _ACEOF
5862 rm -f conftest.$ac_objext conftest$ac_exeext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5864   (eval $ac_link) 2>conftest.er1
5865   ac_status=$?
5866   grep -v '^ *+' conftest.er1 >conftest.err
5867   rm -f conftest.er1
5868   cat conftest.err >&5
5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870   (exit $ac_status); } &&
5871          { ac_try='test -z "$ac_c_werror_flag"
5872                          || test ! -s conftest.err'
5873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874   (eval $ac_try) 2>&5
5875   ac_status=$?
5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877   (exit $ac_status); }; } &&
5878          { ac_try='test -s conftest$ac_exeext'
5879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880   (eval $ac_try) 2>&5
5881   ac_status=$?
5882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883   (exit $ac_status); }; }; then
5884   lt_cv_cc_needs_belf=yes
5885 else
5886   echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5888
5889 lt_cv_cc_needs_belf=no
5890 fi
5891 rm -f conftest.err conftest.$ac_objext \
5892       conftest$ac_exeext conftest.$ac_ext
5893      ac_ext=c
5894 ac_cpp='$CPP $CPPFLAGS'
5895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5898
5899 fi
5900 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5902   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5903     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5904     CFLAGS="$SAVE_CFLAGS"
5905   fi
5906   ;;
5907 sparc*-*solaris*)
5908   # Find out which ABI we are using.
5909   echo 'int i;' > conftest.$ac_ext
5910   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5911   (eval $ac_compile) 2>&5
5912   ac_status=$?
5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914   (exit $ac_status); }; then
5915     case `/usr/bin/file conftest.o` in
5916     *64-bit*)
5917       case $lt_cv_prog_gnu_ld in
5918       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5919       *)    LD="${LD-ld} -64" ;;
5920       esac
5921       ;;
5922     esac
5923   fi
5924   rm -rf conftest*
5925   ;;
5926 esac
5927
5928 need_locks="$enable_libtool_lock"
5929
5930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5932 if test "${ac_cv_header_stdc+set}" = set; then
5933   echo $ECHO_N "(cached) $ECHO_C" >&6
5934 else
5935   cat >conftest.$ac_ext <<_ACEOF
5936 /* confdefs.h.  */
5937 _ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h.  */
5941 #include <stdlib.h>
5942 #include <stdarg.h>
5943 #include <string.h>
5944 #include <float.h>
5945
5946 int
5947 main ()
5948 {
5949
5950   ;
5951   return 0;
5952 }
5953 _ACEOF
5954 rm -f conftest.$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956   (eval $ac_compile) 2>conftest.er1
5957   ac_status=$?
5958   grep -v '^ *+' conftest.er1 >conftest.err
5959   rm -f conftest.er1
5960   cat conftest.err >&5
5961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962   (exit $ac_status); } &&
5963          { ac_try='test -z "$ac_c_werror_flag"
5964                          || test ! -s conftest.err'
5965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966   (eval $ac_try) 2>&5
5967   ac_status=$?
5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969   (exit $ac_status); }; } &&
5970          { ac_try='test -s conftest.$ac_objext'
5971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972   (eval $ac_try) 2>&5
5973   ac_status=$?
5974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975   (exit $ac_status); }; }; then
5976   ac_cv_header_stdc=yes
5977 else
5978   echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5980
5981 ac_cv_header_stdc=no
5982 fi
5983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5984
5985 if test $ac_cv_header_stdc = yes; then
5986   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5987   cat >conftest.$ac_ext <<_ACEOF
5988 /* confdefs.h.  */
5989 _ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h.  */
5993 #include <string.h>
5994
5995 _ACEOF
5996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5997   $EGREP "memchr" >/dev/null 2>&1; then
5998   :
5999 else
6000   ac_cv_header_stdc=no
6001 fi
6002 rm -f conftest*
6003
6004 fi
6005
6006 if test $ac_cv_header_stdc = yes; then
6007   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6008   cat >conftest.$ac_ext <<_ACEOF
6009 /* confdefs.h.  */
6010 _ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h.  */
6014 #include <stdlib.h>
6015
6016 _ACEOF
6017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6018   $EGREP "free" >/dev/null 2>&1; then
6019   :
6020 else
6021   ac_cv_header_stdc=no
6022 fi
6023 rm -f conftest*
6024
6025 fi
6026
6027 if test $ac_cv_header_stdc = yes; then
6028   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6029   if test "$cross_compiling" = yes; then
6030   :
6031 else
6032   cat >conftest.$ac_ext <<_ACEOF
6033 /* confdefs.h.  */
6034 _ACEOF
6035 cat confdefs.h >>conftest.$ac_ext
6036 cat >>conftest.$ac_ext <<_ACEOF
6037 /* end confdefs.h.  */
6038 #include <ctype.h>
6039 #if ((' ' & 0x0FF) == 0x020)
6040 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6042 #else
6043 # define ISLOWER(c) \
6044                    (('a' <= (c) && (c) <= 'i') \
6045                      || ('j' <= (c) && (c) <= 'r') \
6046                      || ('s' <= (c) && (c) <= 'z'))
6047 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6048 #endif
6049
6050 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6051 int
6052 main ()
6053 {
6054   int i;
6055   for (i = 0; i < 256; i++)
6056     if (XOR (islower (i), ISLOWER (i))
6057         || toupper (i) != TOUPPER (i))
6058       exit(2);
6059   exit (0);
6060 }
6061 _ACEOF
6062 rm -f conftest$ac_exeext
6063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064   (eval $ac_link) 2>&5
6065   ac_status=$?
6066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069   (eval $ac_try) 2>&5
6070   ac_status=$?
6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072   (exit $ac_status); }; }; then
6073   :
6074 else
6075   echo "$as_me: program exited with status $ac_status" >&5
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.$ac_ext >&5
6078
6079 ( exit $ac_status )
6080 ac_cv_header_stdc=no
6081 fi
6082 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6083 fi
6084 fi
6085 fi
6086 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6088 if test $ac_cv_header_stdc = yes; then
6089
6090 cat >>confdefs.h <<\_ACEOF
6091 #define STDC_HEADERS 1
6092 _ACEOF
6093
6094 fi
6095
6096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6107                   inttypes.h stdint.h unistd.h
6108 do
6109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 echo "$as_me:$LINENO: checking for $ac_header" >&5
6111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6113   echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115   cat >conftest.$ac_ext <<_ACEOF
6116 /* confdefs.h.  */
6117 _ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h.  */
6121 $ac_includes_default
6122
6123 #include <$ac_header>
6124 _ACEOF
6125 rm -f conftest.$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127   (eval $ac_compile) 2>conftest.er1
6128   ac_status=$?
6129   grep -v '^ *+' conftest.er1 >conftest.err
6130   rm -f conftest.er1
6131   cat conftest.err >&5
6132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133   (exit $ac_status); } &&
6134          { ac_try='test -z "$ac_c_werror_flag"
6135                          || test ! -s conftest.err'
6136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137   (eval $ac_try) 2>&5
6138   ac_status=$?
6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140   (exit $ac_status); }; } &&
6141          { ac_try='test -s conftest.$ac_objext'
6142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143   (eval $ac_try) 2>&5
6144   ac_status=$?
6145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146   (exit $ac_status); }; }; then
6147   eval "$as_ac_Header=yes"
6148 else
6149   echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6151
6152 eval "$as_ac_Header=no"
6153 fi
6154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6155 fi
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159   cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 _ACEOF
6162
6163 fi
6164
6165 done
6166
6167
6168
6169 for ac_header in dlfcn.h
6170 do
6171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6172 echo "$as_me:$LINENO: checking for $ac_header" >&5
6173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175   echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177   cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h.  */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h.  */
6183 $ac_includes_default
6184
6185 #include <$ac_header>
6186 _ACEOF
6187 rm -f conftest.$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189   (eval $ac_compile) 2>conftest.er1
6190   ac_status=$?
6191   grep -v '^ *+' conftest.er1 >conftest.err
6192   rm -f conftest.er1
6193   cat conftest.err >&5
6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195   (exit $ac_status); } &&
6196          { ac_try='test -z "$ac_c_werror_flag"
6197                          || test ! -s conftest.err'
6198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199   (eval $ac_try) 2>&5
6200   ac_status=$?
6201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202   (exit $ac_status); }; } &&
6203          { ac_try='test -s conftest.$ac_objext'
6204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205   (eval $ac_try) 2>&5
6206   ac_status=$?
6207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208   (exit $ac_status); }; }; then
6209   eval "$as_ac_Header=yes"
6210 else
6211   echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.$ac_ext >&5
6213
6214 eval "$as_ac_Header=no"
6215 fi
6216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6217 fi
6218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6221   cat >>confdefs.h <<_ACEOF
6222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6223 _ACEOF
6224
6225 fi
6226
6227 done
6228
6229
6230
6231 ac_ext=cc
6232 ac_cpp='$CXXCPP $CPPFLAGS'
6233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236 if test -n "$ac_tool_prefix"; then
6237   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238   do
6239     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6241 echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6243 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6244   echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246   if test -n "$CXX"; then
6247   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6251 do
6252   IFS=$as_save_IFS
6253   test -z "$as_dir" && as_dir=.
6254   for ac_exec_ext in '' $ac_executable_extensions; do
6255   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6257     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258     break 2
6259   fi
6260 done
6261 done
6262
6263 fi
6264 fi
6265 CXX=$glibcxx_cv_prog_CXX
6266 if test -n "$CXX"; then
6267   echo "$as_me:$LINENO: result: $CXX" >&5
6268 echo "${ECHO_T}$CXX" >&6
6269 else
6270   echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6
6272 fi
6273
6274     test -n "$CXX" && break
6275   done
6276 fi
6277 if test -z "$CXX"; then
6278   ac_ct_CXX=$CXX
6279   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6280 do
6281   # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6286   echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288   if test -n "$ac_ct_CXX"; then
6289   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6293 do
6294   IFS=$as_save_IFS
6295   test -z "$as_dir" && as_dir=.
6296   for ac_exec_ext in '' $ac_executable_extensions; do
6297   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298     ac_cv_prog_ac_ct_CXX="$ac_prog"
6299     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300     break 2
6301   fi
6302 done
6303 done
6304
6305 fi
6306 fi
6307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6308 if test -n "$ac_ct_CXX"; then
6309   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6310 echo "${ECHO_T}$ac_ct_CXX" >&6
6311 else
6312   echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316   test -n "$ac_ct_CXX" && break
6317 done
6318 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6319
6320   CXX=$ac_ct_CXX
6321 fi
6322
6323
6324 # Provide some information about the compiler.
6325 echo "$as_me:$LINENO:" \
6326      "checking for C++ compiler version" >&5
6327 ac_compiler=`set X $ac_compile; echo $2`
6328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6329   (eval $ac_compiler --version </dev/null >&5) 2>&5
6330   ac_status=$?
6331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332   (exit $ac_status); }
6333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6334   (eval $ac_compiler -v </dev/null >&5) 2>&5
6335   ac_status=$?
6336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337   (exit $ac_status); }
6338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6339   (eval $ac_compiler -V </dev/null >&5) 2>&5
6340   ac_status=$?
6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342   (exit $ac_status); }
6343
6344 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6345 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6346 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6347   echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else
6349   cat >conftest.$ac_ext <<_ACEOF
6350 /* confdefs.h.  */
6351 _ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
6354 /* end confdefs.h.  */
6355
6356 int
6357 main ()
6358 {
6359 #ifndef __GNUC__
6360        choke me
6361 #endif
6362
6363   ;
6364   return 0;
6365 }
6366 _ACEOF
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369   (eval $ac_compile) 2>conftest.er1
6370   ac_status=$?
6371   grep -v '^ *+' conftest.er1 >conftest.err
6372   rm -f conftest.er1
6373   cat conftest.err >&5
6374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375   (exit $ac_status); } &&
6376          { ac_try='test -z "$ac_cxx_werror_flag"
6377                          || test ! -s conftest.err'
6378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379   (eval $ac_try) 2>&5
6380   ac_status=$?
6381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382   (exit $ac_status); }; } &&
6383          { ac_try='test -s conftest.$ac_objext'
6384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385   (eval $ac_try) 2>&5
6386   ac_status=$?
6387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388   (exit $ac_status); }; }; then
6389   ac_compiler_gnu=yes
6390 else
6391   echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6393
6394 ac_compiler_gnu=no
6395 fi
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6398
6399 fi
6400 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6401 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6402 GXX=`test $ac_compiler_gnu = yes && echo yes`
6403 ac_test_CXXFLAGS=${CXXFLAGS+set}
6404 ac_save_CXXFLAGS=$CXXFLAGS
6405 CXXFLAGS="-g"
6406 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6407 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6408 if test "${ac_cv_prog_cxx_g+set}" = set; then
6409   echo $ECHO_N "(cached) $ECHO_C" >&6
6410 else
6411   cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h.  */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h.  */
6417
6418 int
6419 main ()
6420 {
6421
6422   ;
6423   return 0;
6424 }
6425 _ACEOF
6426 rm -f conftest.$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428   (eval $ac_compile) 2>conftest.er1
6429   ac_status=$?
6430   grep -v '^ *+' conftest.er1 >conftest.err
6431   rm -f conftest.er1
6432   cat conftest.err >&5
6433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434   (exit $ac_status); } &&
6435          { ac_try='test -z "$ac_cxx_werror_flag"
6436                          || test ! -s conftest.err'
6437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438   (eval $ac_try) 2>&5
6439   ac_status=$?
6440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441   (exit $ac_status); }; } &&
6442          { ac_try='test -s conftest.$ac_objext'
6443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444   (eval $ac_try) 2>&5
6445   ac_status=$?
6446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447   (exit $ac_status); }; }; then
6448   ac_cv_prog_cxx_g=yes
6449 else
6450   echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6452
6453 ac_cv_prog_cxx_g=no
6454 fi
6455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6456 fi
6457 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6458 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6459 if test "$ac_test_CXXFLAGS" = set; then
6460   CXXFLAGS=$ac_save_CXXFLAGS
6461 elif test $ac_cv_prog_cxx_g = yes; then
6462   if test "$GXX" = yes; then
6463     CXXFLAGS="-g -O2"
6464   else
6465     CXXFLAGS="-g"
6466   fi
6467 else
6468   if test "$GXX" = yes; then
6469     CXXFLAGS="-O2"
6470   else
6471     CXXFLAGS=
6472   fi
6473 fi
6474 for ac_declaration in \
6475    '' \
6476    'extern "C" void std::exit (int) throw (); using std::exit;' \
6477    'extern "C" void std::exit (int); using std::exit;' \
6478    'extern "C" void exit (int) throw ();' \
6479    'extern "C" void exit (int);' \
6480    'void exit (int);'
6481 do
6482   cat >conftest.$ac_ext <<_ACEOF
6483 /* confdefs.h.  */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h.  */
6488 $ac_declaration
6489 #include <stdlib.h>
6490 int
6491 main ()
6492 {
6493 exit (42);
6494   ;
6495   return 0;
6496 }
6497 _ACEOF
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500   (eval $ac_compile) 2>conftest.er1
6501   ac_status=$?
6502   grep -v '^ *+' conftest.er1 >conftest.err
6503   rm -f conftest.er1
6504   cat conftest.err >&5
6505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506   (exit $ac_status); } &&
6507          { ac_try='test -z "$ac_cxx_werror_flag"
6508                          || test ! -s conftest.err'
6509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510   (eval $ac_try) 2>&5
6511   ac_status=$?
6512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513   (exit $ac_status); }; } &&
6514          { ac_try='test -s conftest.$ac_objext'
6515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516   (eval $ac_try) 2>&5
6517   ac_status=$?
6518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519   (exit $ac_status); }; }; then
6520   :
6521 else
6522   echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6524
6525 continue
6526 fi
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6528   cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h.  */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h.  */
6534 $ac_declaration
6535 int
6536 main ()
6537 {
6538 exit (42);
6539   ;
6540   return 0;
6541 }
6542 _ACEOF
6543 rm -f conftest.$ac_objext
6544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6545   (eval $ac_compile) 2>conftest.er1
6546   ac_status=$?
6547   grep -v '^ *+' conftest.er1 >conftest.err
6548   rm -f conftest.er1
6549   cat conftest.err >&5
6550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551   (exit $ac_status); } &&
6552          { ac_try='test -z "$ac_cxx_werror_flag"
6553                          || test ! -s conftest.err'
6554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555   (eval $ac_try) 2>&5
6556   ac_status=$?
6557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558   (exit $ac_status); }; } &&
6559          { ac_try='test -s conftest.$ac_objext'
6560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561   (eval $ac_try) 2>&5
6562   ac_status=$?
6563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564   (exit $ac_status); }; }; then
6565   break
6566 else
6567   echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6569
6570 fi
6571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6572 done
6573 rm -f conftest*
6574 if test -n "$ac_declaration"; then
6575   echo '#ifdef __cplusplus' >>confdefs.h
6576   echo $ac_declaration      >>confdefs.h
6577   echo '#endif'             >>confdefs.h
6578 fi
6579
6580 ac_ext=c
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6585
6586 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6587     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6588     (test "X$CXX" != "Xg++"))) ; then
6589   ac_ext=cc
6590 ac_cpp='$CXXCPP $CPPFLAGS'
6591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6594 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6595 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6596 if test -z "$CXXCPP"; then
6597   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6598   echo $ECHO_N "(cached) $ECHO_C" >&6
6599 else
6600       # Double quotes because CXXCPP needs to be expanded
6601     for CXXCPP in "$CXX -E" "/lib/cpp"
6602     do
6603       ac_preproc_ok=false
6604 for ac_cxx_preproc_warn_flag in '' yes
6605 do
6606   # Use a header file that comes with gcc, so configuring glibc
6607   # with a fresh cross-compiler works.
6608   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609   # <limits.h> exists even on freestanding compilers.
6610   # On the NeXT, cc -E runs the code through the compiler's parser,
6611   # not just through cpp. "Syntax error" is here to catch this case.
6612   cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h.  */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h.  */
6618 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623                      Syntax error
6624 _ACEOF
6625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6626   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6627   ac_status=$?
6628   grep -v '^ *+' conftest.er1 >conftest.err
6629   rm -f conftest.er1
6630   cat conftest.err >&5
6631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632   (exit $ac_status); } >/dev/null; then
6633   if test -s conftest.err; then
6634     ac_cpp_err=$ac_cxx_preproc_warn_flag
6635     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6636   else
6637     ac_cpp_err=
6638   fi
6639 else
6640   ac_cpp_err=yes
6641 fi
6642 if test -z "$ac_cpp_err"; then
6643   :
6644 else
6645   echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6647
6648   # Broken: fails on valid input.
6649 continue
6650 fi
6651 rm -f conftest.err conftest.$ac_ext
6652
6653   # OK, works on sane cases.  Now check whether non-existent headers
6654   # can be detected and how.
6655   cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h.  */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h.  */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6665   ac_status=$?
6666   grep -v '^ *+' conftest.er1 >conftest.err
6667   rm -f conftest.er1
6668   cat conftest.err >&5
6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670   (exit $ac_status); } >/dev/null; then
6671   if test -s conftest.err; then
6672     ac_cpp_err=$ac_cxx_preproc_warn_flag
6673     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6674   else
6675     ac_cpp_err=
6676   fi
6677 else
6678   ac_cpp_err=yes
6679 fi
6680 if test -z "$ac_cpp_err"; then
6681   # Broken: success on invalid input.
6682 continue
6683 else
6684   echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6686
6687   # Passes both tests.
6688 ac_preproc_ok=:
6689 break
6690 fi
6691 rm -f conftest.err conftest.$ac_ext
6692
6693 done
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.err conftest.$ac_ext
6696 if $ac_preproc_ok; then
6697   break
6698 fi
6699
6700     done
6701     ac_cv_prog_CXXCPP=$CXXCPP
6702
6703 fi
6704   CXXCPP=$ac_cv_prog_CXXCPP
6705 else
6706   ac_cv_prog_CXXCPP=$CXXCPP
6707 fi
6708 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6709 echo "${ECHO_T}$CXXCPP" >&6
6710 ac_preproc_ok=false
6711 for ac_cxx_preproc_warn_flag in '' yes
6712 do
6713   # Use a header file that comes with gcc, so configuring glibc
6714   # with a fresh cross-compiler works.
6715   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6716   # <limits.h> exists even on freestanding compilers.
6717   # On the NeXT, cc -E runs the code through the compiler's parser,
6718   # not just through cpp. "Syntax error" is here to catch this case.
6719   cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h.  */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h.  */
6725 #ifdef __STDC__
6726 # include <limits.h>
6727 #else
6728 # include <assert.h>
6729 #endif
6730                      Syntax error
6731 _ACEOF
6732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6733   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734   ac_status=$?
6735   grep -v '^ *+' conftest.er1 >conftest.err
6736   rm -f conftest.er1
6737   cat conftest.err >&5
6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739   (exit $ac_status); } >/dev/null; then
6740   if test -s conftest.err; then
6741     ac_cpp_err=$ac_cxx_preproc_warn_flag
6742     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6743   else
6744     ac_cpp_err=
6745   fi
6746 else
6747   ac_cpp_err=yes
6748 fi
6749 if test -z "$ac_cpp_err"; then
6750   :
6751 else
6752   echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6754
6755   # Broken: fails on valid input.
6756 continue
6757 fi
6758 rm -f conftest.err conftest.$ac_ext
6759
6760   # OK, works on sane cases.  Now check whether non-existent headers
6761   # can be detected and how.
6762   cat >conftest.$ac_ext <<_ACEOF
6763 /* confdefs.h.  */
6764 _ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h.  */
6768 #include <ac_nonexistent.h>
6769 _ACEOF
6770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6771   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6772   ac_status=$?
6773   grep -v '^ *+' conftest.er1 >conftest.err
6774   rm -f conftest.er1
6775   cat conftest.err >&5
6776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777   (exit $ac_status); } >/dev/null; then
6778   if test -s conftest.err; then
6779     ac_cpp_err=$ac_cxx_preproc_warn_flag
6780     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6781   else
6782     ac_cpp_err=
6783   fi
6784 else
6785   ac_cpp_err=yes
6786 fi
6787 if test -z "$ac_cpp_err"; then
6788   # Broken: success on invalid input.
6789 continue
6790 else
6791   echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6793
6794   # Passes both tests.
6795 ac_preproc_ok=:
6796 break
6797 fi
6798 rm -f conftest.err conftest.$ac_ext
6799
6800 done
6801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6802 rm -f conftest.err conftest.$ac_ext
6803 if $ac_preproc_ok; then
6804   :
6805 else
6806   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6807 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6808 _lt_caught_CXX_error=yes; }
6809 fi
6810
6811 ac_ext=c
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6816
6817 else
6818   _lt_caught_CXX_error=yes
6819 fi
6820
6821
6822
6823
6824
6825 # This can be used to rebuild libtool when needed
6826 LIBTOOL_DEPS="$ltmain"
6827
6828 # Always use our own libtool.
6829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855 test -z "$LN_S" && LN_S="ln -s"
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870 if test -n "${ZSH_VERSION+set}" ; then
6871    setopt NO_GLOB_SUBST
6872 fi
6873
6874 echo "$as_me:$LINENO: checking for objdir" >&5
6875 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6876 if test "${lt_cv_objdir+set}" = set; then
6877   echo $ECHO_N "(cached) $ECHO_C" >&6
6878 else
6879   rm -f .libs 2>/dev/null
6880 mkdir .libs 2>/dev/null
6881 if test -d .libs; then
6882   lt_cv_objdir=.libs
6883 else
6884   # MS-DOS does not allow filenames that begin with a dot.
6885   lt_cv_objdir=_libs
6886 fi
6887 rmdir .libs 2>/dev/null
6888 fi
6889 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6890 echo "${ECHO_T}$lt_cv_objdir" >&6
6891 objdir=$lt_cv_objdir
6892
6893
6894
6895
6896
6897 cat >>confdefs.h <<_ACEOF
6898 #define LT_OBJDIR "$lt_cv_objdir/"
6899 _ACEOF
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917 case $host_os in
6918 aix3*)
6919   # AIX sometimes has problems with the GCC collect2 program.  For some
6920   # reason, if we set the COLLECT_NAMES environment variable, the problems
6921   # vanish in a puff of smoke.
6922   if test "X${COLLECT_NAMES+set}" != Xset; then
6923     COLLECT_NAMES=
6924     export COLLECT_NAMES
6925   fi
6926   ;;
6927 esac
6928
6929 # Sed substitution that helps us do robust quoting.  It backslashifies
6930 # metacharacters that are still active within double-quoted strings.
6931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6932
6933 # Same as above, but do not quote variable references.
6934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6935
6936 # Sed substitution to delay expansion of an escaped shell variable in a
6937 # double_quote_subst'ed string.
6938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6939
6940 # Sed substitution to delay expansion of an escaped single quote.
6941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6942
6943 # Sed substitution to avoid accidental globbing in evaled expressions
6944 no_glob_subst='s/\*/\\\*/g'
6945
6946 # Global variables:
6947 ofile=libtool
6948 can_build_shared=yes
6949
6950 # All known linkers require a `.a' archive for static linking (except MSVC,
6951 # which needs '.lib').
6952 libext=a
6953
6954 with_gnu_ld="$lt_cv_prog_gnu_ld"
6955
6956 old_CC="$CC"
6957 old_CFLAGS="$CFLAGS"
6958
6959 # Set sane defaults for various variables
6960 test -z "$CC" && CC=cc
6961 test -z "$LTCC" && LTCC=$CC
6962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6963 test -z "$LD" && LD=ld
6964 test -z "$ac_objext" && ac_objext=o
6965
6966 for cc_temp in $compiler""; do
6967   case $cc_temp in
6968     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6969     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6970     \-*) ;;
6971     *) break;;
6972   esac
6973 done
6974 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6975
6976
6977 # Only perform the check for file, if the check method requires it
6978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6979 case $deplibs_check_method in
6980 file_magic*)
6981   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6982     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6983 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6985   echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else
6987   case $MAGIC_CMD in
6988 [\\/*] |  ?:[\\/]*)
6989   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6990   ;;
6991 *)
6992   lt_save_MAGIC_CMD="$MAGIC_CMD"
6993   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6994   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6995   for ac_dir in $ac_dummy; do
6996     IFS="$lt_save_ifs"
6997     test -z "$ac_dir" && ac_dir=.
6998     if test -f $ac_dir/${ac_tool_prefix}file; then
6999       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7000       if test -n "$file_magic_test_file"; then
7001         case $deplibs_check_method in
7002         "file_magic "*)
7003           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7004           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7005           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7006             $EGREP "$file_magic_regex" > /dev/null; then
7007             :
7008           else
7009             cat <<_LT_EOF 1>&2
7010
7011 *** Warning: the command libtool uses to detect shared libraries,
7012 *** $file_magic_cmd, produces output that libtool cannot recognize.
7013 *** The result is that libtool may fail to recognize shared libraries
7014 *** as such.  This will affect the creation of libtool libraries that
7015 *** depend on shared libraries, but programs linked with such libtool
7016 *** libraries will work regardless of this problem.  Nevertheless, you
7017 *** may want to report the problem to your system manager and/or to
7018 *** bug-libtool@gnu.org
7019
7020 _LT_EOF
7021           fi ;;
7022         esac
7023       fi
7024       break
7025     fi
7026   done
7027   IFS="$lt_save_ifs"
7028   MAGIC_CMD="$lt_save_MAGIC_CMD"
7029   ;;
7030 esac
7031 fi
7032
7033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7034 if test -n "$MAGIC_CMD"; then
7035   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7036 echo "${ECHO_T}$MAGIC_CMD" >&6
7037 else
7038   echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043
7044
7045
7046 if test -z "$lt_cv_path_MAGIC_CMD"; then
7047   if test -n "$ac_tool_prefix"; then
7048     echo "$as_me:$LINENO: checking for file" >&5
7049 echo $ECHO_N "checking for file... $ECHO_C" >&6
7050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7051   echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053   case $MAGIC_CMD in
7054 [\\/*] |  ?:[\\/]*)
7055   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7056   ;;
7057 *)
7058   lt_save_MAGIC_CMD="$MAGIC_CMD"
7059   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7060   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7061   for ac_dir in $ac_dummy; do
7062     IFS="$lt_save_ifs"
7063     test -z "$ac_dir" && ac_dir=.
7064     if test -f $ac_dir/file; then
7065       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7066       if test -n "$file_magic_test_file"; then
7067         case $deplibs_check_method in
7068         "file_magic "*)
7069           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7070           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7071           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7072             $EGREP "$file_magic_regex" > /dev/null; then
7073             :
7074           else
7075             cat <<_LT_EOF 1>&2
7076
7077 *** Warning: the command libtool uses to detect shared libraries,
7078 *** $file_magic_cmd, produces output that libtool cannot recognize.
7079 *** The result is that libtool may fail to recognize shared libraries
7080 *** as such.  This will affect the creation of libtool libraries that
7081 *** depend on shared libraries, but programs linked with such libtool
7082 *** libraries will work regardless of this problem.  Nevertheless, you
7083 *** may want to report the problem to your system manager and/or to
7084 *** bug-libtool@gnu.org
7085
7086 _LT_EOF
7087           fi ;;
7088         esac
7089       fi
7090       break
7091     fi
7092   done
7093   IFS="$lt_save_ifs"
7094   MAGIC_CMD="$lt_save_MAGIC_CMD"
7095   ;;
7096 esac
7097 fi
7098
7099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7100 if test -n "$MAGIC_CMD"; then
7101   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7102 echo "${ECHO_T}$MAGIC_CMD" >&6
7103 else
7104   echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7106 fi
7107
7108
7109   else
7110     MAGIC_CMD=:
7111   fi
7112 fi
7113
7114   fi
7115   ;;
7116 esac
7117
7118 # Use C for the default configuration in the libtool script
7119
7120 lt_save_CC="$CC"
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126
7127
7128 # Source file extension for C test sources.
7129 ac_ext=c
7130
7131 # Object file extension for compiled C test sources.
7132 objext=o
7133 objext=$objext
7134
7135 # Code to be used in simple compile tests
7136 lt_simple_compile_test_code="int some_variable = 0;"
7137
7138 # Code to be used in simple link tests
7139 lt_simple_link_test_code='int main(){return(0);}'
7140
7141
7142
7143
7144
7145
7146
7147 # If no C compiler was specified, use CC.
7148 LTCC=${LTCC-"$CC"}
7149
7150 # If no C compiler flags were specified, use CFLAGS.
7151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152
7153 # Allow CC to be a program name with arguments.
7154 compiler=$CC
7155
7156 # Save the default compiler, since it gets overwritten when the other
7157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7158 compiler_DEFAULT=$CC
7159
7160 # save warnings/boilerplate of simple test code
7161 ac_outfile=conftest.$ac_objext
7162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7164 _lt_compiler_boilerplate=`cat conftest.err`
7165 $RM conftest*
7166
7167 ac_outfile=conftest.$ac_objext
7168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7170 _lt_linker_boilerplate=`cat conftest.err`
7171 $RM conftest*
7172
7173
7174 ## CAVEAT EMPTOR:
7175 ## There is no encapsulation within the following macros, do not change
7176 ## the running order or otherwise move them around unless you know exactly
7177 ## what you are doing...
7178 if test -n "$compiler"; then
7179
7180 lt_prog_compiler_no_builtin_flag=
7181
7182 if test "$GCC" = yes; then
7183   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7184
7185   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7186 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7187 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7188   echo $ECHO_N "(cached) $ECHO_C" >&6
7189 else
7190   lt_cv_prog_compiler_rtti_exceptions=no
7191    ac_outfile=conftest.$ac_objext
7192    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7193    lt_compiler_flag="-fno-rtti -fno-exceptions"
7194    # Insert the option either (1) after the last *FLAGS variable, or
7195    # (2) before a word containing "conftest.", or (3) at the end.
7196    # Note that $ac_compile itself does not contain backslashes and begins
7197    # with a dollar sign (not a hyphen), so the echo should work correctly.
7198    # The option is referenced via a variable to avoid confusing sed.
7199    lt_compile=`echo "$ac_compile" | $SED \
7200    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7201    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7202    -e 's:$: $lt_compiler_flag:'`
7203    (eval echo "\"\$as_me:7203: $lt_compile\"" >&5)
7204    (eval "$lt_compile" 2>conftest.err)
7205    ac_status=$?
7206    cat conftest.err >&5
7207    echo "$as_me:7207: \$? = $ac_status" >&5
7208    if (exit $ac_status) && test -s "$ac_outfile"; then
7209      # The compiler can only warn and ignore the option if not recognized
7210      # So say no if there are warnings other than the usual output.
7211      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7212      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7213      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7214        lt_cv_prog_compiler_rtti_exceptions=yes
7215      fi
7216    fi
7217    $RM conftest*
7218
7219 fi
7220 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7221 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7222
7223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7224     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7225 else
7226     :
7227 fi
7228
7229 fi
7230
7231
7232
7233
7234
7235
7236   lt_prog_compiler_wl=
7237 lt_prog_compiler_pic=
7238 lt_prog_compiler_static=
7239
7240 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7241 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7242
7243   if test "$GCC" = yes; then
7244     lt_prog_compiler_wl='-Wl,'
7245     lt_prog_compiler_static='-static'
7246
7247     case $host_os in
7248       aix*)
7249       # All AIX code is PIC.
7250       if test "$host_cpu" = ia64; then
7251         # AIX 5 now supports IA64 processor
7252         lt_prog_compiler_static='-Bstatic'
7253       fi
7254       ;;
7255
7256     amigaos*)
7257       if test "$host_cpu" = m68k; then
7258         # FIXME: we need at least 68020 code to build shared libraries, but
7259         # adding the `-m68020' flag to GCC prevents building anything better,
7260         # like `-m68040'.
7261         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7262       fi
7263       ;;
7264
7265     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7266       # PIC is the default for these OSes.
7267       ;;
7268
7269     mingw* | cygwin* | pw32* | os2*)
7270       # This hack is so that the source file can tell whether it is being
7271       # built for inclusion in a dll (and should export symbols for example).
7272       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7273       # (--disable-auto-import) libraries
7274       lt_prog_compiler_pic='-DDLL_EXPORT'
7275       ;;
7276
7277     darwin* | rhapsody*)
7278       # PIC is the default on this platform
7279       # Common symbols not allowed in MH_DYLIB files
7280       lt_prog_compiler_pic='-fno-common'
7281       ;;
7282
7283     hpux*)
7284       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7285       # not for PA HP-UX.
7286       case $host_cpu in
7287       hppa*64*|ia64*)
7288         # +Z the default
7289         ;;
7290       *)
7291         lt_prog_compiler_pic='-fPIC'
7292         ;;
7293       esac
7294       ;;
7295
7296     interix[3-9]*)
7297       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7298       # Instead, we relocate shared libraries at runtime.
7299       ;;
7300
7301     msdosdjgpp*)
7302       # Just because we use GCC doesn't mean we suddenly get shared libraries
7303       # on systems that don't support them.
7304       lt_prog_compiler_can_build_shared=no
7305       enable_shared=no
7306       ;;
7307
7308     *nto* | *qnx*)
7309       # QNX uses GNU C++, but need to define -shared option too, otherwise
7310       # it will coredump.
7311       lt_prog_compiler_pic='-fPIC -shared'
7312       ;;
7313
7314     sysv4*MP*)
7315       if test -d /usr/nec; then
7316         lt_prog_compiler_pic=-Kconform_pic
7317       fi
7318       ;;
7319
7320     *)
7321       lt_prog_compiler_pic='-fPIC'
7322       ;;
7323     esac
7324   else
7325     # PORTME Check for flag to pass linker flags through the system compiler.
7326     case $host_os in
7327     aix*)
7328       lt_prog_compiler_wl='-Wl,'
7329       if test "$host_cpu" = ia64; then
7330         # AIX 5 now supports IA64 processor
7331         lt_prog_compiler_static='-Bstatic'
7332       else
7333         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7334       fi
7335       ;;
7336     darwin*)
7337       # PIC is the default on this platform
7338       # Common symbols not allowed in MH_DYLIB files
7339       case $cc_basename in
7340       xlc*)
7341         lt_prog_compiler_pic='-qnocommon'
7342         lt_prog_compiler_wl='-Wl,'
7343         ;;
7344       esac
7345       ;;
7346
7347     mingw* | cygwin* | pw32* | os2*)
7348       # This hack is so that the source file can tell whether it is being
7349       # built for inclusion in a dll (and should export symbols for example).
7350       lt_prog_compiler_pic='-DDLL_EXPORT'
7351       ;;
7352
7353     hpux9* | hpux10* | hpux11*)
7354       lt_prog_compiler_wl='-Wl,'
7355       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7356       # not for PA HP-UX.
7357       case $host_cpu in
7358       hppa*64*|ia64*)
7359         # +Z the default
7360         ;;
7361       *)
7362         lt_prog_compiler_pic='+Z'
7363         ;;
7364       esac
7365       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7366       lt_prog_compiler_static='${wl}-a ${wl}archive'
7367       ;;
7368
7369     irix5* | irix6* | nonstopux*)
7370       lt_prog_compiler_wl='-Wl,'
7371       # PIC (with -KPIC) is the default.
7372       lt_prog_compiler_static='-non_shared'
7373       ;;
7374
7375     linux* | k*bsd*-gnu)
7376       case $cc_basename in
7377       icc* | ecc*)
7378         lt_prog_compiler_wl='-Wl,'
7379         lt_prog_compiler_pic='-KPIC'
7380         lt_prog_compiler_static='-static'
7381         ;;
7382       pgcc* | pgf77* | pgf90* | pgf95*)
7383         # Portland Group compilers (*not* the Pentium gcc compiler,
7384         # which looks to be a dead project)
7385         lt_prog_compiler_wl='-Wl,'
7386         lt_prog_compiler_pic='-fpic'
7387         lt_prog_compiler_static='-Bstatic'
7388         ;;
7389       ccc*)
7390         lt_prog_compiler_wl='-Wl,'
7391         # All Alpha code is PIC.
7392         lt_prog_compiler_static='-non_shared'
7393         ;;
7394       *)
7395         case `$CC -V 2>&1 | sed 5q` in
7396         *Sun\ C*)
7397           # Sun C 5.9
7398           lt_prog_compiler_pic='-KPIC'
7399           lt_prog_compiler_static='-Bstatic'
7400           lt_prog_compiler_wl='-Wl,'
7401           ;;
7402         *Sun\ F*)
7403           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7404           lt_prog_compiler_pic='-KPIC'
7405           lt_prog_compiler_static='-Bstatic'
7406           lt_prog_compiler_wl=''
7407           ;;
7408         esac
7409         ;;
7410       esac
7411       ;;
7412
7413     newsos6)
7414       lt_prog_compiler_pic='-KPIC'
7415       lt_prog_compiler_static='-Bstatic'
7416       ;;
7417
7418     *nto* | *qnx*)
7419       # QNX uses GNU C++, but need to define -shared option too, otherwise
7420       # it will coredump.
7421       lt_prog_compiler_pic='-fPIC -shared'
7422       ;;
7423
7424     osf3* | osf4* | osf5*)
7425       lt_prog_compiler_wl='-Wl,'
7426       # All OSF/1 code is PIC.
7427       lt_prog_compiler_static='-non_shared'
7428       ;;
7429
7430     rdos*)
7431       lt_prog_compiler_static='-non_shared'
7432       ;;
7433
7434     solaris*)
7435       lt_prog_compiler_pic='-KPIC'
7436       lt_prog_compiler_static='-Bstatic'
7437       case $cc_basename in
7438       f77* | f90* | f95*)
7439         lt_prog_compiler_wl='-Qoption ld ';;
7440       *)
7441         lt_prog_compiler_wl='-Wl,';;
7442       esac
7443       ;;
7444
7445     sunos4*)
7446       lt_prog_compiler_wl='-Qoption ld '
7447       lt_prog_compiler_pic='-PIC'
7448       lt_prog_compiler_static='-Bstatic'
7449       ;;
7450
7451     sysv4 | sysv4.2uw2* | sysv4.3*)
7452       lt_prog_compiler_wl='-Wl,'
7453       lt_prog_compiler_pic='-KPIC'
7454       lt_prog_compiler_static='-Bstatic'
7455       ;;
7456
7457     sysv4*MP*)
7458       if test -d /usr/nec ;then
7459         lt_prog_compiler_pic='-Kconform_pic'
7460         lt_prog_compiler_static='-Bstatic'
7461       fi
7462       ;;
7463
7464     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7465       lt_prog_compiler_wl='-Wl,'
7466       lt_prog_compiler_pic='-KPIC'
7467       lt_prog_compiler_static='-Bstatic'
7468       ;;
7469
7470     unicos*)
7471       lt_prog_compiler_wl='-Wl,'
7472       lt_prog_compiler_can_build_shared=no
7473       ;;
7474
7475     uts4*)
7476       lt_prog_compiler_pic='-pic'
7477       lt_prog_compiler_static='-Bstatic'
7478       ;;
7479
7480     *)
7481       lt_prog_compiler_can_build_shared=no
7482       ;;
7483     esac
7484   fi
7485
7486 case $host_os in
7487   # For platforms which do not support PIC, -DPIC is meaningless:
7488   *djgpp*)
7489     lt_prog_compiler_pic=
7490     ;;
7491   *)
7492     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7493     ;;
7494 esac
7495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7496 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7497
7498
7499
7500
7501
7502
7503 #
7504 # Check to make sure the PIC flag actually works.
7505 #
7506 if test -n "$lt_prog_compiler_pic"; then
7507   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7508 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7509 if test "${lt_prog_compiler_pic_works+set}" = set; then
7510   echo $ECHO_N "(cached) $ECHO_C" >&6
7511 else
7512   lt_prog_compiler_pic_works=no
7513    ac_outfile=conftest.$ac_objext
7514    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7515    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7516    # Insert the option either (1) after the last *FLAGS variable, or
7517    # (2) before a word containing "conftest.", or (3) at the end.
7518    # Note that $ac_compile itself does not contain backslashes and begins
7519    # with a dollar sign (not a hyphen), so the echo should work correctly.
7520    # The option is referenced via a variable to avoid confusing sed.
7521    lt_compile=`echo "$ac_compile" | $SED \
7522    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7523    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7524    -e 's:$: $lt_compiler_flag:'`
7525    (eval echo "\"\$as_me:7525: $lt_compile\"" >&5)
7526    (eval "$lt_compile" 2>conftest.err)
7527    ac_status=$?
7528    cat conftest.err >&5
7529    echo "$as_me:7529: \$? = $ac_status" >&5
7530    if (exit $ac_status) && test -s "$ac_outfile"; then
7531      # The compiler can only warn and ignore the option if not recognized
7532      # So say no if there are warnings other than the usual output.
7533      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7534      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7535      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7536        lt_prog_compiler_pic_works=yes
7537      fi
7538    fi
7539    $RM conftest*
7540
7541 fi
7542 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7543 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7544
7545 if test x"$lt_prog_compiler_pic_works" = xyes; then
7546     case $lt_prog_compiler_pic in
7547      "" | " "*) ;;
7548      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7549      esac
7550 else
7551     lt_prog_compiler_pic=
7552      lt_prog_compiler_can_build_shared=no
7553 fi
7554
7555 fi
7556
7557
7558
7559
7560
7561
7562 #
7563 # Check to make sure the static flag actually works.
7564 #
7565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7566 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7567 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7568 if test "${lt_prog_compiler_static_works+set}" = set; then
7569   echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571   lt_prog_compiler_static_works=no
7572    save_LDFLAGS="$LDFLAGS"
7573    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7574    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7575    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7576      # The linker can only warn and ignore the option if not recognized
7577      # So say no if there are warnings
7578      if test -s conftest.err; then
7579        # Append any errors to the config.log.
7580        cat conftest.err 1>&5
7581        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7582        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583        if diff conftest.exp conftest.er2 >/dev/null; then
7584          lt_prog_compiler_static_works=yes
7585        fi
7586      else
7587        lt_prog_compiler_static_works=yes
7588      fi
7589    fi
7590    $RM conftest*
7591    LDFLAGS="$save_LDFLAGS"
7592
7593 fi
7594 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7595 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7596
7597 if test x"$lt_prog_compiler_static_works" = xyes; then
7598     :
7599 else
7600     lt_prog_compiler_static=
7601 fi
7602
7603
7604
7605
7606
7607
7608
7609   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7611 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7612   echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614   lt_cv_prog_compiler_c_o=no
7615    $RM -r conftest 2>/dev/null
7616    mkdir conftest
7617    cd conftest
7618    mkdir out
7619    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7620
7621    lt_compiler_flag="-o out/conftest2.$ac_objext"
7622    # Insert the option either (1) after the last *FLAGS variable, or
7623    # (2) before a word containing "conftest.", or (3) at the end.
7624    # Note that $ac_compile itself does not contain backslashes and begins
7625    # with a dollar sign (not a hyphen), so the echo should work correctly.
7626    lt_compile=`echo "$ac_compile" | $SED \
7627    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7628    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7629    -e 's:$: $lt_compiler_flag:'`
7630    (eval echo "\"\$as_me:7630: $lt_compile\"" >&5)
7631    (eval "$lt_compile" 2>out/conftest.err)
7632    ac_status=$?
7633    cat out/conftest.err >&5
7634    echo "$as_me:7634: \$? = $ac_status" >&5
7635    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7636    then
7637      # The compiler can only warn and ignore the option if not recognized
7638      # So say no if there are warnings
7639      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7640      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7641      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7642        lt_cv_prog_compiler_c_o=yes
7643      fi
7644    fi
7645    chmod u+w . 2>&5
7646    $RM conftest*
7647    # SGI C++ compiler will create directory out/ii_files/ for
7648    # template instantiation
7649    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7650    $RM out/* && rmdir out
7651    cd ..
7652    $RM -r conftest
7653    $RM conftest*
7654
7655 fi
7656 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7658
7659
7660
7661
7662
7663
7664   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7667   echo $ECHO_N "(cached) $ECHO_C" >&6
7668 else
7669   lt_cv_prog_compiler_c_o=no
7670    $RM -r conftest 2>/dev/null
7671    mkdir conftest
7672    cd conftest
7673    mkdir out
7674    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7675
7676    lt_compiler_flag="-o out/conftest2.$ac_objext"
7677    # Insert the option either (1) after the last *FLAGS variable, or
7678    # (2) before a word containing "conftest.", or (3) at the end.
7679    # Note that $ac_compile itself does not contain backslashes and begins
7680    # with a dollar sign (not a hyphen), so the echo should work correctly.
7681    lt_compile=`echo "$ac_compile" | $SED \
7682    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684    -e 's:$: $lt_compiler_flag:'`
7685    (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686    (eval "$lt_compile" 2>out/conftest.err)
7687    ac_status=$?
7688    cat out/conftest.err >&5
7689    echo "$as_me:7689: \$? = $ac_status" >&5
7690    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7691    then
7692      # The compiler can only warn and ignore the option if not recognized
7693      # So say no if there are warnings
7694      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7695      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7696      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7697        lt_cv_prog_compiler_c_o=yes
7698      fi
7699    fi
7700    chmod u+w . 2>&5
7701    $RM conftest*
7702    # SGI C++ compiler will create directory out/ii_files/ for
7703    # template instantiation
7704    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7705    $RM out/* && rmdir out
7706    cd ..
7707    $RM -r conftest
7708    $RM conftest*
7709
7710 fi
7711 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7713
7714
7715
7716
7717 hard_links="nottested"
7718 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7719   # do not overwrite the value of need_locks provided by the user
7720   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7722   hard_links=yes
7723   $RM conftest*
7724   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7725   touch conftest.a
7726   ln conftest.a conftest.b 2>&5 || hard_links=no
7727   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7728   echo "$as_me:$LINENO: result: $hard_links" >&5
7729 echo "${ECHO_T}$hard_links" >&6
7730   if test "$hard_links" = no; then
7731     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7733     need_locks=warn
7734   fi
7735 else
7736   need_locks=no
7737 fi
7738
7739
7740
7741
7742
7743
7744   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7745 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7746
7747   runpath_var=
7748   allow_undefined_flag=
7749   always_export_symbols=no
7750   archive_cmds=
7751   archive_expsym_cmds=
7752   compiler_needs_object=no
7753   enable_shared_with_static_runtimes=no
7754   export_dynamic_flag_spec=
7755   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7756   hardcode_automatic=no
7757   hardcode_direct=no
7758   hardcode_direct_absolute=no
7759   hardcode_libdir_flag_spec=
7760   hardcode_libdir_flag_spec_ld=
7761   hardcode_libdir_separator=
7762   hardcode_minus_L=no
7763   hardcode_shlibpath_var=unsupported
7764   inherit_rpath=no
7765   link_all_deplibs=unknown
7766   module_cmds=
7767   module_expsym_cmds=
7768   old_archive_from_new_cmds=
7769   old_archive_from_expsyms_cmds=
7770   thread_safe_flag_spec=
7771   whole_archive_flag_spec=
7772   # include_expsyms should be a list of space-separated symbols to be *always*
7773   # included in the symbol list
7774   include_expsyms=
7775   # exclude_expsyms can be an extended regexp of symbols to exclude
7776   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7777   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7778   # as well as any symbol that contains `d'.
7779   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7780   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7781   # platforms (ab)use it in PIC code, but their linkers get confused if
7782   # the symbol is explicitly referenced.  Since portable code cannot
7783   # rely on this symbol name, it's probably fine to never include it in
7784   # preloaded symbol tables.
7785   extract_expsyms_cmds=
7786
7787   case $host_os in
7788   cygwin* | mingw* | pw32*)
7789     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7790     # When not using gcc, we currently assume that we are using
7791     # Microsoft Visual C++.
7792     if test "$GCC" != yes; then
7793       with_gnu_ld=no
7794     fi
7795     ;;
7796   interix*)
7797     # we just hope/assume this is gcc and not c89 (= MSVC++)
7798     with_gnu_ld=yes
7799     ;;
7800   openbsd*)
7801     with_gnu_ld=no
7802     ;;
7803   esac
7804
7805   ld_shlibs=yes
7806   if test "$with_gnu_ld" = yes; then
7807     # If archive_cmds runs LD, not CC, wlarc should be empty
7808     wlarc='${wl}'
7809
7810     # Set some defaults for GNU ld with shared library support. These
7811     # are reset later if shared libraries are not supported. Putting them
7812     # here allows them to be overridden if necessary.
7813     runpath_var=LD_RUN_PATH
7814     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7815     export_dynamic_flag_spec='${wl}--export-dynamic'
7816     # ancient GNU ld didn't support --whole-archive et. al.
7817     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7818       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7819     else
7820       whole_archive_flag_spec=
7821     fi
7822     supports_anon_versioning=no
7823     case `$LD -v 2>&1` in
7824       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7825       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7826       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7827       *\ 2.11.*) ;; # other 2.11 versions
7828       *) supports_anon_versioning=yes ;;
7829     esac
7830
7831     # See if GNU ld supports shared libraries.
7832     case $host_os in
7833     aix[3-9]*)
7834       # On AIX/PPC, the GNU linker is very broken
7835       if test "$host_cpu" != ia64; then
7836         ld_shlibs=no
7837         cat <<_LT_EOF 1>&2
7838
7839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7840 *** to be unable to reliably create shared libraries on AIX.
7841 *** Therefore, libtool is disabling shared libraries support.  If you
7842 *** really care for shared libraries, you may want to modify your PATH
7843 *** so that a non-GNU linker is found, and then restart.
7844
7845 _LT_EOF
7846       fi
7847       ;;
7848
7849     amigaos*)
7850       if test "$host_cpu" = m68k; then
7851         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)'
7852         hardcode_libdir_flag_spec='-L$libdir'
7853         hardcode_minus_L=yes
7854       fi
7855
7856       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7857       # that the semantics of dynamic libraries on AmigaOS, at least up
7858       # to version 4, is to share data among multiple programs linked
7859       # with the same dynamic library.  Since this doesn't match the
7860       # behavior of shared libraries on other platforms, we can't use
7861       # them.
7862       ld_shlibs=no
7863       ;;
7864
7865     beos*)
7866       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7867         allow_undefined_flag=unsupported
7868         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7869         # support --undefined.  This deserves some investigation.  FIXME
7870         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7871       else
7872         ld_shlibs=no
7873       fi
7874       ;;
7875
7876     cygwin* | mingw* | pw32*)
7877       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7878       # as there is no search path for DLLs.
7879       hardcode_libdir_flag_spec='-L$libdir'
7880       allow_undefined_flag=unsupported
7881       always_export_symbols=no
7882       enable_shared_with_static_runtimes=yes
7883       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7884
7885       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7886         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7887         # If the export-symbols file already is a .def file (1st line
7888         # is EXPORTS), use it as is; otherwise, prepend...
7889         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7890           cp $export_symbols $output_objdir/$soname.def;
7891         else
7892           echo EXPORTS > $output_objdir/$soname.def;
7893           cat $export_symbols >> $output_objdir/$soname.def;
7894         fi~
7895         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7896       else
7897         ld_shlibs=no
7898       fi
7899       ;;
7900
7901     interix[3-9]*)
7902       hardcode_direct=no
7903       hardcode_shlibpath_var=no
7904       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7905       export_dynamic_flag_spec='${wl}-E'
7906       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7907       # Instead, shared libraries are loaded at an image base (0x10000000 by
7908       # default) and relocated if they conflict, which is a slow very memory
7909       # consuming and fragmenting process.  To avoid this, we pick a random,
7910       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7911       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7912       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7913       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'
7914       ;;
7915
7916     gnu* | linux* | tpf* | k*bsd*-gnu)
7917       tmp_diet=no
7918       if test "$host_os" = linux-dietlibc; then
7919         case $cc_basename in
7920           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7921         esac
7922       fi
7923       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7924          && test "$tmp_diet" = no
7925       then
7926         tmp_addflag=
7927         case $cc_basename,$host_cpu in
7928         pgcc*)                          # Portland Group C compiler
7929           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'
7930           tmp_addflag=' $pic_flag'
7931           ;;
7932         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7933           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'
7934           tmp_addflag=' $pic_flag -Mnomain' ;;
7935         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7936           tmp_addflag=' -i_dynamic' ;;
7937         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7938           tmp_addflag=' -i_dynamic -nofor_main' ;;
7939         ifc* | ifort*)                  # Intel Fortran compiler
7940           tmp_addflag=' -nofor_main' ;;
7941         esac
7942         case `$CC -V 2>&1 | sed 5q` in
7943         *Sun\ C*)                       # Sun C 5.9
7944           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'
7945           compiler_needs_object=yes
7946           tmp_sharedflag='-G' ;;
7947         *Sun\ F*)                       # Sun Fortran 8.3
7948           tmp_sharedflag='-G' ;;
7949         *)
7950           tmp_sharedflag='-shared' ;;
7951         esac
7952         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7953
7954         if test "x$supports_anon_versioning" = xyes; then
7955           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7956             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7957             echo "local: *; };" >> $output_objdir/$libname.ver~
7958             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7959         fi
7960       else
7961         ld_shlibs=no
7962       fi
7963       ;;
7964
7965     netbsd*)
7966       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7968         wlarc=
7969       else
7970         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7971         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7972       fi
7973       ;;
7974
7975     solaris*)
7976       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7977         ld_shlibs=no
7978         cat <<_LT_EOF 1>&2
7979
7980 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7981 *** create shared libraries on Solaris systems.  Therefore, libtool
7982 *** is disabling shared libraries support.  We urge you to upgrade GNU
7983 *** binutils to release 2.9.1 or newer.  Another option is to modify
7984 *** your PATH or compiler configuration so that the native linker is
7985 *** used, and then restart.
7986
7987 _LT_EOF
7988       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7989         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7990         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7991       else
7992         ld_shlibs=no
7993       fi
7994       ;;
7995
7996     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7997       case `$LD -v 2>&1` in
7998         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7999         ld_shlibs=no
8000         cat <<_LT_EOF 1>&2
8001
8002 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8003 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8004 *** is disabling shared libraries support.  We urge you to upgrade GNU
8005 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8006 *** your PATH or compiler configuration so that the native linker is
8007 *** used, and then restart.
8008
8009 _LT_EOF
8010         ;;
8011         *)
8012           # For security reasons, it is highly recommended that you always
8013           # use absolute paths for naming shared libraries, and exclude the
8014           # DT_RUNPATH tag from executables and libraries.  But doing so
8015           # requires that you compile everything twice, which is a pain.
8016           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8017             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8018             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8019             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8020           else
8021             ld_shlibs=no
8022           fi
8023         ;;
8024       esac
8025       ;;
8026
8027     sunos4*)
8028       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8029       wlarc=
8030       hardcode_direct=yes
8031       hardcode_shlibpath_var=no
8032       ;;
8033
8034     *)
8035       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8036         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8038       else
8039         ld_shlibs=no
8040       fi
8041       ;;
8042     esac
8043
8044     if test "$ld_shlibs" = no; then
8045       runpath_var=
8046       hardcode_libdir_flag_spec=
8047       export_dynamic_flag_spec=
8048       whole_archive_flag_spec=
8049     fi
8050   else
8051     # PORTME fill in a description of your system's linker (not GNU ld)
8052     case $host_os in
8053     aix3*)
8054       allow_undefined_flag=unsupported
8055       always_export_symbols=yes
8056       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'
8057       # Note: this linker hardcodes the directories in LIBPATH if there
8058       # are no directories specified by -L.
8059       hardcode_minus_L=yes
8060       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8061         # Neither direct hardcoding nor static linking is supported with a
8062         # broken collect2.
8063         hardcode_direct=unsupported
8064       fi
8065       ;;
8066
8067     aix[4-9]*)
8068       if test "$host_cpu" = ia64; then
8069         # On IA64, the linker does run time linking by default, so we don't
8070         # have to do anything special.
8071         aix_use_runtimelinking=no
8072         exp_sym_flag='-Bexport'
8073         no_entry_flag=""
8074       else
8075         # If we're using GNU nm, then we don't want the "-C" option.
8076         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8077         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8078           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'
8079         else
8080           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'
8081         fi
8082         aix_use_runtimelinking=no
8083
8084         # Test if we are trying to use run time linking or normal
8085         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8086         # need to do runtime linking.
8087         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8088           for ld_flag in $LDFLAGS; do
8089           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8090             aix_use_runtimelinking=yes
8091             break
8092           fi
8093           done
8094           ;;
8095         esac
8096
8097         exp_sym_flag='-bexport'
8098         no_entry_flag='-bnoentry'
8099       fi
8100
8101       # When large executables or shared objects are built, AIX ld can
8102       # have problems creating the table of contents.  If linking a library
8103       # or program results in "error TOC overflow" add -mminimal-toc to
8104       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8105       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8106
8107       archive_cmds=''
8108       hardcode_direct=yes
8109       hardcode_direct_absolute=yes
8110       hardcode_libdir_separator=':'
8111       link_all_deplibs=yes
8112       file_list_spec='${wl}-f,'
8113
8114       if test "$GCC" = yes; then
8115         case $host_os in aix4.[012]|aix4.[012].*)
8116         # We only want to do this on AIX 4.2 and lower, the check
8117         # below for broken collect2 doesn't work under 4.3+
8118           collect2name=`${CC} -print-prog-name=collect2`
8119           if test -f "$collect2name" &&
8120            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8121           then
8122           # We have reworked collect2
8123           :
8124           else
8125           # We have old collect2
8126           hardcode_direct=unsupported
8127           # It fails to find uninstalled libraries when the uninstalled
8128           # path is not listed in the libpath.  Setting hardcode_minus_L
8129           # to unsupported forces relinking
8130           hardcode_minus_L=yes
8131           hardcode_libdir_flag_spec='-L$libdir'
8132           hardcode_libdir_separator=
8133           fi
8134           ;;
8135         esac
8136         shared_flag='-shared'
8137         if test "$aix_use_runtimelinking" = yes; then
8138           shared_flag="$shared_flag "'${wl}-G'
8139         fi
8140       else
8141         # not using gcc
8142         if test "$host_cpu" = ia64; then
8143         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8144         # chokes on -Wl,-G. The following line is correct:
8145           shared_flag='-G'
8146         else
8147           if test "$aix_use_runtimelinking" = yes; then
8148             shared_flag='${wl}-G'
8149           else
8150             shared_flag='${wl}-bM:SRE'
8151           fi
8152         fi
8153       fi
8154
8155       # It seems that -bexpall does not export symbols beginning with
8156       # underscore (_), so it is better to generate a list of symbols to export.
8157       always_export_symbols=yes
8158       if test "$aix_use_runtimelinking" = yes; then
8159         # Warning - without using the other runtime loading flags (-brtl),
8160         # -berok will link without error, but may produce a broken library.
8161         allow_undefined_flag='-berok'
8162         # Determine the default libpath from the value encoded in an
8163         # empty executable.
8164         if test x$gcc_no_link = xyes; then
8165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8167    { (exit 1); exit 1; }; }
8168 fi
8169 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h.  */
8171 _ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h.  */
8175
8176 int
8177 main ()
8178 {
8179
8180   ;
8181   return 0;
8182 }
8183 _ACEOF
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186   (eval $ac_link) 2>conftest.er1
8187   ac_status=$?
8188   grep -v '^ *+' conftest.er1 >conftest.err
8189   rm -f conftest.er1
8190   cat conftest.err >&5
8191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192   (exit $ac_status); } &&
8193          { ac_try='test -z "$ac_c_werror_flag"
8194                          || test ! -s conftest.err'
8195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196   (eval $ac_try) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); }; } &&
8200          { ac_try='test -s conftest$ac_exeext'
8201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202   (eval $ac_try) 2>&5
8203   ac_status=$?
8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205   (exit $ac_status); }; }; then
8206
8207 lt_aix_libpath_sed='
8208     /Import File Strings/,/^$/ {
8209         /^0/ {
8210             s/^0  *\(.*\)$/\1/
8211             p
8212         }
8213     }'
8214 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8215 # Check for a 64-bit object if we didn't find anything.
8216 if test -z "$aix_libpath"; then
8217   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8218 fi
8219 else
8220   echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8222
8223 fi
8224 rm -f conftest.err conftest.$ac_objext \
8225       conftest$ac_exeext conftest.$ac_ext
8226 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8227
8228         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8229         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"
8230       else
8231         if test "$host_cpu" = ia64; then
8232           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8233           allow_undefined_flag="-z nodefs"
8234           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"
8235         else
8236          # Determine the default libpath from the value encoded in an
8237          # empty executable.
8238          if test x$gcc_no_link = xyes; then
8239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8241    { (exit 1); exit 1; }; }
8242 fi
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h.  */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h.  */
8249
8250 int
8251 main ()
8252 {
8253
8254   ;
8255   return 0;
8256 }
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260   (eval $ac_link) 2>conftest.er1
8261   ac_status=$?
8262   grep -v '^ *+' conftest.er1 >conftest.err
8263   rm -f conftest.er1
8264   cat conftest.err >&5
8265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266   (exit $ac_status); } &&
8267          { ac_try='test -z "$ac_c_werror_flag"
8268                          || test ! -s conftest.err'
8269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270   (eval $ac_try) 2>&5
8271   ac_status=$?
8272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273   (exit $ac_status); }; } &&
8274          { ac_try='test -s conftest$ac_exeext'
8275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276   (eval $ac_try) 2>&5
8277   ac_status=$?
8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279   (exit $ac_status); }; }; then
8280
8281 lt_aix_libpath_sed='
8282     /Import File Strings/,/^$/ {
8283         /^0/ {
8284             s/^0  *\(.*\)$/\1/
8285             p
8286         }
8287     }'
8288 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8289 # Check for a 64-bit object if we didn't find anything.
8290 if test -z "$aix_libpath"; then
8291   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8292 fi
8293 else
8294   echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8296
8297 fi
8298 rm -f conftest.err conftest.$ac_objext \
8299       conftest$ac_exeext conftest.$ac_ext
8300 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8301
8302          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8303           # Warning - without using the other run time loading flags,
8304           # -berok will link without error, but may produce a broken library.
8305           no_undefined_flag=' ${wl}-bernotok'
8306           allow_undefined_flag=' ${wl}-berok'
8307           # Exported symbols can be pulled into shared objects from archives
8308           whole_archive_flag_spec='$convenience'
8309           archive_cmds_need_lc=yes
8310           # This is similar to how AIX traditionally builds its shared libraries.
8311           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'
8312         fi
8313       fi
8314       ;;
8315
8316     amigaos*)
8317       if test "$host_cpu" = m68k; then
8318         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)'
8319         hardcode_libdir_flag_spec='-L$libdir'
8320         hardcode_minus_L=yes
8321       fi
8322       # see comment about different semantics on the GNU ld section
8323       ld_shlibs=no
8324       ;;
8325
8326     bsdi[45]*)
8327       export_dynamic_flag_spec=-rdynamic
8328       ;;
8329
8330     cygwin* | mingw* | pw32*)
8331       # When not using gcc, we currently assume that we are using
8332       # Microsoft Visual C++.
8333       # hardcode_libdir_flag_spec is actually meaningless, as there is
8334       # no search path for DLLs.
8335       hardcode_libdir_flag_spec=' '
8336       allow_undefined_flag=unsupported
8337       # Tell ltmain to make .lib files, not .a files.
8338       libext=lib
8339       # Tell ltmain to make .dll files, not .so files.
8340       shrext_cmds=".dll"
8341       # FIXME: Setting linknames here is a bad hack.
8342       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8343       # The linker will automatically build a .lib file if we build a DLL.
8344       old_archive_from_new_cmds='true'
8345       # FIXME: Should let the user specify the lib program.
8346       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8347       fix_srcfile_path='`cygpath -w "$srcfile"`'
8348       enable_shared_with_static_runtimes=yes
8349       ;;
8350
8351     darwin* | rhapsody*)
8352       case $host_os in
8353       rhapsody* | darwin1.[012])
8354         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8355         ;;
8356       *) # Darwin 1.3 on
8357         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8358         10.[012])
8359           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8360           ;;
8361         10.*)
8362           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8363           ;;
8364         esac
8365         ;;
8366       esac
8367       archive_cmds_need_lc=no
8368       hardcode_direct=no
8369       hardcode_automatic=yes
8370       hardcode_shlibpath_var=unsupported
8371       whole_archive_flag_spec=''
8372       link_all_deplibs=yes
8373       if test "$GCC" = yes ; then
8374         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8375   echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377   lt_cv_apple_cc_single_mod=no
8378         if test -z "${LT_MULTI_MODULE}"; then
8379           # By default we will add the -single_module flag. You can override
8380           # by either setting the environment variable LT_MULTI_MODULE
8381           # non-empty at configure time, or by adding -multi-module to the
8382           # link flags.
8383           echo "int foo(void){return 1;}" > conftest.c
8384           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8385               -dynamiclib ${wl}-single_module conftest.c
8386           if test -f libconftest.dylib; then
8387               lt_cv_apple_cc_single_mod=yes
8388               rm libconftest.dylib
8389           fi
8390           rm conftest.$ac_ext
8391         fi
8392 fi
8393
8394         output_verbose_link_cmd=echo
8395         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8396           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8397           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}'
8398         else
8399           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8400           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}'
8401         fi
8402         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8403         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}'
8404       else
8405         case $cc_basename in
8406         xlc*)
8407           output_verbose_link_cmd=echo
8408           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8409           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8410           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8411           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}'
8412           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}'
8413           ;;
8414         *)
8415           ld_shlibs=no
8416           ;;
8417         esac
8418       fi
8419       ;;
8420
8421     dgux*)
8422       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423       hardcode_libdir_flag_spec='-L$libdir'
8424       hardcode_shlibpath_var=no
8425       ;;
8426
8427     freebsd1*)
8428       ld_shlibs=no
8429       ;;
8430
8431     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8432     # support.  Future versions do this automatically, but an explicit c++rt0.o
8433     # does not break anything, and helps significantly (at the cost of a little
8434     # extra space).
8435     freebsd2.2*)
8436       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8437       hardcode_libdir_flag_spec='-R$libdir'
8438       hardcode_direct=yes
8439       hardcode_shlibpath_var=no
8440       ;;
8441
8442     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8443     freebsd2*)
8444       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8445       hardcode_direct=yes
8446       hardcode_minus_L=yes
8447       hardcode_shlibpath_var=no
8448       ;;
8449
8450     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8451     freebsd* | dragonfly*)
8452       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8453       hardcode_libdir_flag_spec='-R$libdir'
8454       hardcode_direct=yes
8455       hardcode_shlibpath_var=no
8456       ;;
8457
8458     hpux9*)
8459       if test "$GCC" = yes; then
8460         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'
8461       else
8462         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'
8463       fi
8464       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8465       hardcode_libdir_separator=:
8466       hardcode_direct=yes
8467
8468       # hardcode_minus_L: Not really in the search PATH,
8469       # but as the default location of the library.
8470       hardcode_minus_L=yes
8471       export_dynamic_flag_spec='${wl}-E'
8472       ;;
8473
8474     hpux10*)
8475       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8476         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8477       else
8478         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8479       fi
8480       if test "$with_gnu_ld" = no; then
8481         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8482         hardcode_libdir_flag_spec_ld='+b $libdir'
8483         hardcode_libdir_separator=:
8484         hardcode_direct=yes
8485         hardcode_direct_absolute=yes
8486         export_dynamic_flag_spec='${wl}-E'
8487         # hardcode_minus_L: Not really in the search PATH,
8488         # but as the default location of the library.
8489         hardcode_minus_L=yes
8490       fi
8491       ;;
8492
8493     hpux11*)
8494       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8495         case $host_cpu in
8496         hppa*64*)
8497           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8498           ;;
8499         ia64*)
8500           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8501           ;;
8502         *)
8503           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8504           ;;
8505         esac
8506       else
8507         case $host_cpu in
8508         hppa*64*)
8509           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8510           ;;
8511         ia64*)
8512           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8513           ;;
8514         *)
8515           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8516           ;;
8517         esac
8518       fi
8519       if test "$with_gnu_ld" = no; then
8520         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8521         hardcode_libdir_separator=:
8522
8523         case $host_cpu in
8524         hppa*64*|ia64*)
8525           hardcode_direct=no
8526           hardcode_shlibpath_var=no
8527           ;;
8528         *)
8529           hardcode_direct=yes
8530           hardcode_direct_absolute=yes
8531           export_dynamic_flag_spec='${wl}-E'
8532
8533           # hardcode_minus_L: Not really in the search PATH,
8534           # but as the default location of the library.
8535           hardcode_minus_L=yes
8536           ;;
8537         esac
8538       fi
8539       ;;
8540
8541     irix5* | irix6* | nonstopux*)
8542       if test "$GCC" = yes; then
8543         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'
8544         # Try to use the -exported_symbol ld option, if it does not
8545         # work, assume that -exports_file does not work either and
8546         # implicitly export all symbols.
8547         save_LDFLAGS="$LDFLAGS"
8548         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8549         if test x$gcc_no_link = xyes; then
8550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8552    { (exit 1); exit 1; }; }
8553 fi
8554 cat >conftest.$ac_ext <<_ACEOF
8555 int foo(void) {}
8556 _ACEOF
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8559   (eval $ac_link) 2>conftest.er1
8560   ac_status=$?
8561   grep -v '^ *+' conftest.er1 >conftest.err
8562   rm -f conftest.er1
8563   cat conftest.err >&5
8564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565   (exit $ac_status); } &&
8566          { ac_try='test -z "$ac_c_werror_flag"
8567                          || test ! -s conftest.err'
8568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569   (eval $ac_try) 2>&5
8570   ac_status=$?
8571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572   (exit $ac_status); }; } &&
8573          { ac_try='test -s conftest$ac_exeext'
8574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575   (eval $ac_try) 2>&5
8576   ac_status=$?
8577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578   (exit $ac_status); }; }; then
8579   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'
8580
8581 else
8582   echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8584
8585 fi
8586 rm -f conftest.err conftest.$ac_objext \
8587       conftest$ac_exeext conftest.$ac_ext
8588         LDFLAGS="$save_LDFLAGS"
8589       else
8590         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'
8591         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'
8592       fi
8593       archive_cmds_need_lc='no'
8594       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595       hardcode_libdir_separator=:
8596       inherit_rpath=yes
8597       link_all_deplibs=yes
8598       ;;
8599
8600     netbsd*)
8601       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8602         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8603       else
8604         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8605       fi
8606       hardcode_libdir_flag_spec='-R$libdir'
8607       hardcode_direct=yes
8608       hardcode_shlibpath_var=no
8609       ;;
8610
8611     newsos6)
8612       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8613       hardcode_direct=yes
8614       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8615       hardcode_libdir_separator=:
8616       hardcode_shlibpath_var=no
8617       ;;
8618
8619     *nto* | *qnx*)
8620       ;;
8621
8622     openbsd*)
8623       hardcode_direct=yes
8624       hardcode_shlibpath_var=no
8625       hardcode_direct_absolute=yes
8626       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8627         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8628         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8629         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8630         export_dynamic_flag_spec='${wl}-E'
8631       else
8632         case $host_os in
8633         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8634           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8635           hardcode_libdir_flag_spec='-R$libdir'
8636           ;;
8637         *)
8638           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8639           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8640           ;;
8641         esac
8642       fi
8643       ;;
8644
8645     os2*)
8646       hardcode_libdir_flag_spec='-L$libdir'
8647       hardcode_minus_L=yes
8648       allow_undefined_flag=unsupported
8649       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'
8650       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8651       ;;
8652
8653     osf3*)
8654       if test "$GCC" = yes; then
8655         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656         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'
8657       else
8658         allow_undefined_flag=' -expect_unresolved \*'
8659         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'
8660       fi
8661       archive_cmds_need_lc='no'
8662       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663       hardcode_libdir_separator=:
8664       ;;
8665
8666     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8667       if test "$GCC" = yes; then
8668         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669         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'
8670         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671       else
8672         allow_undefined_flag=' -expect_unresolved \*'
8673         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'
8674         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~
8675         $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'
8676
8677         # Both c and cxx compiler support -rpath directly
8678         hardcode_libdir_flag_spec='-rpath $libdir'
8679       fi
8680       archive_cmds_need_lc='no'
8681       hardcode_libdir_separator=:
8682       ;;
8683
8684     solaris*)
8685       no_undefined_flag=' -z defs'
8686       if test "$GCC" = yes; then
8687         wlarc='${wl}'
8688         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8691       else
8692         case `$CC -V 2>&1` in
8693         *"Compilers 5.0"*)
8694           wlarc=''
8695           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8698           ;;
8699         *)
8700           wlarc='${wl}'
8701           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8704           ;;
8705         esac
8706       fi
8707       hardcode_libdir_flag_spec='-R$libdir'
8708       hardcode_shlibpath_var=no
8709       case $host_os in
8710       solaris2.[0-5] | solaris2.[0-5].*) ;;
8711       *)
8712         # The compiler driver will combine and reorder linker options,
8713         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8714         # but is careful enough not to reorder.
8715         # Supported since Solaris 2.6 (maybe 2.5.1?)
8716         if test "$GCC" = yes; then
8717           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718         else
8719           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8720         fi
8721         ;;
8722       esac
8723       link_all_deplibs=yes
8724       ;;
8725
8726     sunos4*)
8727       if test "x$host_vendor" = xsequent; then
8728         # Use $CC to link under sequent, because it throws in some extra .o
8729         # files that make .init and .fini sections work.
8730         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731       else
8732         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8733       fi
8734       hardcode_libdir_flag_spec='-L$libdir'
8735       hardcode_direct=yes
8736       hardcode_minus_L=yes
8737       hardcode_shlibpath_var=no
8738       ;;
8739
8740     sysv4)
8741       case $host_vendor in
8742         sni)
8743           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744           hardcode_direct=yes # is this really true???
8745         ;;
8746         siemens)
8747           ## LD is ld it makes a PLAMLIB
8748           ## CC just makes a GrossModule.
8749           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750           reload_cmds='$CC -r -o $output$reload_objs'
8751           hardcode_direct=no
8752         ;;
8753         motorola)
8754           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8756         ;;
8757       esac
8758       runpath_var='LD_RUN_PATH'
8759       hardcode_shlibpath_var=no
8760       ;;
8761
8762     sysv4.3*)
8763       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764       hardcode_shlibpath_var=no
8765       export_dynamic_flag_spec='-Bexport'
8766       ;;
8767
8768     sysv4*MP*)
8769       if test -d /usr/nec; then
8770         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771         hardcode_shlibpath_var=no
8772         runpath_var=LD_RUN_PATH
8773         hardcode_runpath_var=yes
8774         ld_shlibs=yes
8775       fi
8776       ;;
8777
8778     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779       no_undefined_flag='${wl}-z,text'
8780       archive_cmds_need_lc=no
8781       hardcode_shlibpath_var=no
8782       runpath_var='LD_RUN_PATH'
8783
8784       if test "$GCC" = yes; then
8785         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787       else
8788         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8790       fi
8791       ;;
8792
8793     sysv5* | sco3.2v5* | sco5v6*)
8794       # Note: We can NOT use -z defs as we might desire, because we do not
8795       # link with -lc, and that would cause any symbols used from libc to
8796       # always be unresolved, which means just about no library would
8797       # ever link correctly.  If we're not using GNU ld we use -z text
8798       # though, which does catch some bad symbols but isn't as heavy-handed
8799       # as -z defs.
8800       no_undefined_flag='${wl}-z,text'
8801       allow_undefined_flag='${wl}-z,nodefs'
8802       archive_cmds_need_lc=no
8803       hardcode_shlibpath_var=no
8804       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805       hardcode_libdir_separator=':'
8806       link_all_deplibs=yes
8807       export_dynamic_flag_spec='${wl}-Bexport'
8808       runpath_var='LD_RUN_PATH'
8809
8810       if test "$GCC" = yes; then
8811         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8813       else
8814         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8816       fi
8817       ;;
8818
8819     uts4*)
8820       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821       hardcode_libdir_flag_spec='-L$libdir'
8822       hardcode_shlibpath_var=no
8823       ;;
8824
8825     *)
8826       ld_shlibs=no
8827       ;;
8828     esac
8829
8830     if test x$host_vendor = xsni; then
8831       case $host in
8832       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833         export_dynamic_flag_spec='${wl}-Blargedynsym'
8834         ;;
8835       esac
8836     fi
8837   fi
8838
8839 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8840 echo "${ECHO_T}$ld_shlibs" >&6
8841 test "$ld_shlibs" = no && can_build_shared=no
8842
8843 with_gnu_ld=$with_gnu_ld
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859 #
8860 # Do we need to explicitly link libc?
8861 #
8862 case "x$archive_cmds_need_lc" in
8863 x|xyes)
8864   # Assume -lc should be added
8865   archive_cmds_need_lc=yes
8866
8867   if test "$enable_shared" = yes && test "$GCC" = yes; then
8868     case $archive_cmds in
8869     *'~'*)
8870       # FIXME: we may have to deal with multi-command sequences.
8871       ;;
8872     '$CC '*)
8873       # Test whether the compiler implicitly links with -lc since on some
8874       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8875       # to ld, don't add -lc before -lgcc.
8876       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8877 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8878       $RM conftest*
8879       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8880
8881       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8882   (eval $ac_compile) 2>&5
8883   ac_status=$?
8884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885   (exit $ac_status); } 2>conftest.err; then
8886         soname=conftest
8887         lib=conftest
8888         libobjs=conftest.$ac_objext
8889         deplibs=
8890         wl=$lt_prog_compiler_wl
8891         pic_flag=$lt_prog_compiler_pic
8892         compiler_flags=-v
8893         linker_flags=-v
8894         verstring=
8895         output_objdir=.
8896         libname=conftest
8897         lt_save_allow_undefined_flag=$allow_undefined_flag
8898         allow_undefined_flag=
8899         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8900   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8901   ac_status=$?
8902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903   (exit $ac_status); }
8904         then
8905           archive_cmds_need_lc=no
8906         else
8907           archive_cmds_need_lc=yes
8908         fi
8909         allow_undefined_flag=$lt_save_allow_undefined_flag
8910       else
8911         cat conftest.err 1>&5
8912       fi
8913       $RM conftest*
8914       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8915 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8916       ;;
8917     esac
8918   fi
8919   ;;
8920 esac
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
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9079 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9080 withGCC=$GCC
9081 if test "$withGCC" = yes; then
9082   case $host_os in
9083     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084     *) lt_awk_arg="/^libraries:/" ;;
9085   esac
9086   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088     # if the path contains ";" then we assume it to be the separator
9089     # otherwise default to the standard path separator (i.e. ":") - it is
9090     # assumed that no part of a normal pathname contains ";" but that should
9091     # okay in the real world where ";" in dirpaths is itself problematic.
9092     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9093   else
9094     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9095   fi
9096   # Ok, now we have the path, separated by spaces, we can step through it
9097   # and add multilib dir if necessary.
9098   lt_tmp_lt_search_path_spec=
9099   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100   for lt_sys_path in $lt_search_path_spec; do
9101     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9103     else
9104       test -d "$lt_sys_path" && \
9105         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9106     fi
9107   done
9108   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109 BEGIN {RS=" "; FS="/|\n";} {
9110   lt_foo="";
9111   lt_count=0;
9112   for (lt_i = NF; lt_i > 0; lt_i--) {
9113     if ($lt_i != "" && $lt_i != ".") {
9114       if ($lt_i == "..") {
9115         lt_count++;
9116       } else {
9117         if (lt_count == 0) {
9118           lt_foo="/" $lt_i lt_foo;
9119         } else {
9120           lt_count--;
9121         }
9122       }
9123     }
9124   }
9125   if (lt_foo != "") { lt_freq[lt_foo]++; }
9126   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9127 }'`
9128   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9129 else
9130   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9131 fi
9132 library_names_spec=
9133 libname_spec='lib$name'
9134 soname_spec=
9135 shrext_cmds=".so"
9136 postinstall_cmds=
9137 postuninstall_cmds=
9138 finish_cmds=
9139 finish_eval=
9140 shlibpath_var=
9141 shlibpath_overrides_runpath=unknown
9142 version_type=none
9143 dynamic_linker="$host_os ld.so"
9144 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145 need_lib_prefix=unknown
9146 hardcode_into_libs=no
9147
9148 # when you set need_version to no, make sure it does not cause -set_version
9149 # flags to be left without arguments
9150 need_version=unknown
9151
9152 case $host_os in
9153 aix3*)
9154   version_type=linux
9155   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156   shlibpath_var=LIBPATH
9157
9158   # AIX 3 has no versioning support, so we append a major version to the name.
9159   soname_spec='${libname}${release}${shared_ext}$major'
9160   ;;
9161
9162 aix[4-9]*)
9163   version_type=linux
9164   need_lib_prefix=no
9165   need_version=no
9166   hardcode_into_libs=yes
9167   if test "$host_cpu" = ia64; then
9168     # AIX 5 supports IA64
9169     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170     shlibpath_var=LD_LIBRARY_PATH
9171   else
9172     # With GCC up to 2.95.x, collect2 would create an import file
9173     # for dependence libraries.  The import file would start with
9174     # the line `#! .'.  This would cause the generated library to
9175     # depend on `.', always an invalid library.  This was fixed in
9176     # development snapshots of GCC prior to 3.0.
9177     case $host_os in
9178       aix4 | aix4.[01] | aix4.[01].*)
9179       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9180            echo ' yes '
9181            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9182         :
9183       else
9184         can_build_shared=no
9185       fi
9186       ;;
9187     esac
9188     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189     # soname into executable. Probably we can add versioning support to
9190     # collect2, so additional links can be useful in future.
9191     if test "$aix_use_runtimelinking" = yes; then
9192       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193       # instead of lib<name>.a to let people know that these are not
9194       # typical AIX shared libraries.
9195       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196     else
9197       # We preserve .a as extension for shared libraries through AIX4.2
9198       # and later when we are not doing run time linking.
9199       library_names_spec='${libname}${release}.a $libname.a'
9200       soname_spec='${libname}${release}${shared_ext}$major'
9201     fi
9202     shlibpath_var=LIBPATH
9203   fi
9204   ;;
9205
9206 amigaos*)
9207   if test "$host_cpu" = m68k; then
9208     library_names_spec='$libname.ixlibrary $libname.a'
9209     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9210     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'
9211   else
9212     dynamic_linker=no
9213   fi
9214   ;;
9215
9216 beos*)
9217   library_names_spec='${libname}${shared_ext}'
9218   dynamic_linker="$host_os ld.so"
9219   shlibpath_var=LIBRARY_PATH
9220   ;;
9221
9222 bsdi[45]*)
9223   version_type=linux
9224   need_version=no
9225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226   soname_spec='${libname}${release}${shared_ext}$major'
9227   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9228   shlibpath_var=LD_LIBRARY_PATH
9229   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9230   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9231   # the default ld.so.conf also contains /usr/contrib/lib and
9232   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9233   # libtool to hard-code these into programs
9234   ;;
9235
9236 cygwin* | mingw* | pw32*)
9237   version_type=windows
9238   shrext_cmds=".dll"
9239   need_version=no
9240   need_lib_prefix=no
9241
9242   case $withGCC,$host_os in
9243   yes,cygwin* | yes,mingw* | yes,pw32*)
9244     library_names_spec='$libname.dll.a'
9245     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9246     postinstall_cmds='base_file=`basename \${file}`~
9247       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9248       dldir=$destdir/`dirname \$dlpath`~
9249       test -d \$dldir || mkdir -p \$dldir~
9250       $install_prog $dir/$dlname \$dldir/$dlname~
9251       chmod a+x \$dldir/$dlname~
9252       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9253         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9254       fi'
9255     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9256       dlpath=$dir/\$dldll~
9257        $RM \$dlpath'
9258     shlibpath_overrides_runpath=yes
9259
9260     case $host_os in
9261     cygwin*)
9262       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9263       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9264       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9265       ;;
9266     mingw*)
9267       # MinGW DLLs use traditional 'lib' prefix
9268       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9270       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9271         # It is most probably a Windows format PATH printed by
9272         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9273         # path with ; separators, and with drive letters. We can handle the
9274         # drive letters (cygwin fileutils understands them), so leave them,
9275         # especially as we might pass files found there to a mingw objdump,
9276         # which wouldn't understand a cygwinified path. Ahh.
9277         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9278       else
9279         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9280       fi
9281       ;;
9282     pw32*)
9283       # pw32 DLLs use 'pw' prefix rather than 'lib'
9284       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9285       ;;
9286     esac
9287     ;;
9288
9289   *)
9290     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9291     ;;
9292   esac
9293   dynamic_linker='Win32 ld.exe'
9294   # FIXME: first we should search . and the directory the executable is in
9295   shlibpath_var=PATH
9296   ;;
9297
9298 darwin* | rhapsody*)
9299   dynamic_linker="$host_os dyld"
9300   version_type=darwin
9301   need_lib_prefix=no
9302   need_version=no
9303   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9304   soname_spec='${libname}${release}${major}$shared_ext'
9305   shlibpath_overrides_runpath=yes
9306   shlibpath_var=DYLD_LIBRARY_PATH
9307   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9308
9309   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9310   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9311   ;;
9312
9313 dgux*)
9314   version_type=linux
9315   need_lib_prefix=no
9316   need_version=no
9317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9318   soname_spec='${libname}${release}${shared_ext}$major'
9319   shlibpath_var=LD_LIBRARY_PATH
9320   ;;
9321
9322 freebsd1*)
9323   dynamic_linker=no
9324   ;;
9325
9326 freebsd* | dragonfly*)
9327   # DragonFly does not have aout.  When/if they implement a new
9328   # versioning mechanism, adjust this.
9329   if test -x /usr/bin/objformat; then
9330     objformat=`/usr/bin/objformat`
9331   else
9332     case $host_os in
9333     freebsd[123]*) objformat=aout ;;
9334     *) objformat=elf ;;
9335     esac
9336   fi
9337   version_type=freebsd-$objformat
9338   case $version_type in
9339     freebsd-elf*)
9340       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9341       need_version=no
9342       need_lib_prefix=no
9343       ;;
9344     freebsd-*)
9345       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9346       need_version=yes
9347       ;;
9348   esac
9349   shlibpath_var=LD_LIBRARY_PATH
9350   case $host_os in
9351   freebsd2*)
9352     shlibpath_overrides_runpath=yes
9353     ;;
9354   freebsd3.[01]* | freebsdelf3.[01]*)
9355     shlibpath_overrides_runpath=yes
9356     hardcode_into_libs=yes
9357     ;;
9358   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9359   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9360     shlibpath_overrides_runpath=no
9361     hardcode_into_libs=yes
9362     ;;
9363   *) # from 4.6 on, and DragonFly
9364     shlibpath_overrides_runpath=yes
9365     hardcode_into_libs=yes
9366     ;;
9367   esac
9368   ;;
9369
9370 gnu*)
9371   version_type=linux
9372   need_lib_prefix=no
9373   need_version=no
9374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9375   soname_spec='${libname}${release}${shared_ext}$major'
9376   shlibpath_var=LD_LIBRARY_PATH
9377   hardcode_into_libs=yes
9378   ;;
9379
9380 hpux9* | hpux10* | hpux11*)
9381   # Give a soname corresponding to the major version so that dld.sl refuses to
9382   # link against other versions.
9383   version_type=sunos
9384   need_lib_prefix=no
9385   need_version=no
9386   case $host_cpu in
9387   ia64*)
9388     shrext_cmds='.so'
9389     hardcode_into_libs=yes
9390     dynamic_linker="$host_os dld.so"
9391     shlibpath_var=LD_LIBRARY_PATH
9392     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394     soname_spec='${libname}${release}${shared_ext}$major'
9395     if test "X$HPUX_IA64_MODE" = X32; then
9396       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9397     else
9398       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9399     fi
9400     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9401     ;;
9402   hppa*64*)
9403     shrext_cmds='.sl'
9404     hardcode_into_libs=yes
9405     dynamic_linker="$host_os dld.sl"
9406     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9407     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9408     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9409     soname_spec='${libname}${release}${shared_ext}$major'
9410     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9411     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9412     ;;
9413   *)
9414     shrext_cmds='.sl'
9415     dynamic_linker="$host_os dld.sl"
9416     shlibpath_var=SHLIB_PATH
9417     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9419     soname_spec='${libname}${release}${shared_ext}$major'
9420     ;;
9421   esac
9422   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9423   postinstall_cmds='chmod 555 $lib'
9424   ;;
9425
9426 interix[3-9]*)
9427   version_type=linux
9428   need_lib_prefix=no
9429   need_version=no
9430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9431   soname_spec='${libname}${release}${shared_ext}$major'
9432   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9433   shlibpath_var=LD_LIBRARY_PATH
9434   shlibpath_overrides_runpath=no
9435   hardcode_into_libs=yes
9436   ;;
9437
9438 irix5* | irix6* | nonstopux*)
9439   case $host_os in
9440     nonstopux*) version_type=nonstopux ;;
9441     *)
9442         if test "$lt_cv_prog_gnu_ld" = yes; then
9443                 version_type=linux
9444         else
9445                 version_type=irix
9446         fi ;;
9447   esac
9448   need_lib_prefix=no
9449   need_version=no
9450   soname_spec='${libname}${release}${shared_ext}$major'
9451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9452   case $host_os in
9453   irix5* | nonstopux*)
9454     libsuff= shlibsuff=
9455     ;;
9456   *)
9457     case $LD in # libtool.m4 will add one of these switches to LD
9458     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9459       libsuff= shlibsuff= libmagic=32-bit;;
9460     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9461       libsuff=32 shlibsuff=N32 libmagic=N32;;
9462     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9463       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9464     *) libsuff= shlibsuff= libmagic=never-match;;
9465     esac
9466     ;;
9467   esac
9468   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9469   shlibpath_overrides_runpath=no
9470   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9471   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9472   hardcode_into_libs=yes
9473   ;;
9474
9475 # No shared lib support for Linux oldld, aout, or coff.
9476 linux*oldld* | linux*aout* | linux*coff*)
9477   dynamic_linker=no
9478   ;;
9479
9480 # This must be Linux ELF.
9481 linux* | k*bsd*-gnu)
9482   version_type=linux
9483   need_lib_prefix=no
9484   need_version=no
9485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9486   soname_spec='${libname}${release}${shared_ext}$major'
9487   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9488   shlibpath_var=LD_LIBRARY_PATH
9489   shlibpath_overrides_runpath=no
9490   # Some binutils ld are patched to set DT_RUNPATH
9491   save_LDFLAGS=$LDFLAGS
9492   save_libdir=$libdir
9493   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9494        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9495   if test x$gcc_no_link = xyes; then
9496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498    { (exit 1); exit 1; }; }
9499 fi
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h.  */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h.  */
9506
9507 int
9508 main ()
9509 {
9510
9511   ;
9512   return 0;
9513 }
9514 _ACEOF
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517   (eval $ac_link) 2>conftest.er1
9518   ac_status=$?
9519   grep -v '^ *+' conftest.er1 >conftest.err
9520   rm -f conftest.er1
9521   cat conftest.err >&5
9522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523   (exit $ac_status); } &&
9524          { ac_try='test -z "$ac_c_werror_flag"
9525                          || test ! -s conftest.err'
9526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527   (eval $ac_try) 2>&5
9528   ac_status=$?
9529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530   (exit $ac_status); }; } &&
9531          { ac_try='test -s conftest$ac_exeext'
9532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533   (eval $ac_try) 2>&5
9534   ac_status=$?
9535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536   (exit $ac_status); }; }; then
9537   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9538   shlibpath_overrides_runpath=yes
9539 fi
9540
9541 else
9542   echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9544
9545 fi
9546 rm -f conftest.err conftest.$ac_objext \
9547       conftest$ac_exeext conftest.$ac_ext
9548   LDFLAGS=$save_LDFLAGS
9549   libdir=$save_libdir
9550
9551   # This implies no fast_install, which is unacceptable.
9552   # Some rework will be needed to allow for fast_install
9553   # before this can be enabled.
9554   hardcode_into_libs=yes
9555
9556   # Append ld.so.conf contents to the search path
9557   if test -f /etc/ld.so.conf; then
9558     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' ' '`
9559     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9560   fi
9561
9562   # We used to test for /lib/ld.so.1 and disable shared libraries on
9563   # powerpc, because MkLinux only supported shared libraries with the
9564   # GNU dynamic linker.  Since this was broken with cross compilers,
9565   # most powerpc-linux boxes support dynamic linking these days and
9566   # people can always --disable-shared, the test was removed, and we
9567   # assume the GNU/Linux dynamic linker is in use.
9568   dynamic_linker='GNU/Linux ld.so'
9569   ;;
9570
9571 netbsd*)
9572   version_type=sunos
9573   need_lib_prefix=no
9574   need_version=no
9575   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9577     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9578     dynamic_linker='NetBSD (a.out) ld.so'
9579   else
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     dynamic_linker='NetBSD ld.elf_so'
9583   fi
9584   shlibpath_var=LD_LIBRARY_PATH
9585   shlibpath_overrides_runpath=yes
9586   hardcode_into_libs=yes
9587   ;;
9588
9589 newsos6)
9590   version_type=linux
9591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592   shlibpath_var=LD_LIBRARY_PATH
9593   shlibpath_overrides_runpath=yes
9594   ;;
9595
9596 *nto* | *qnx*)
9597   version_type=qnx
9598   need_lib_prefix=no
9599   need_version=no
9600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601   soname_spec='${libname}${release}${shared_ext}$major'
9602   shlibpath_var=LD_LIBRARY_PATH
9603   shlibpath_overrides_runpath=no
9604   hardcode_into_libs=yes
9605   dynamic_linker='ldqnx.so'
9606   ;;
9607
9608 openbsd*)
9609   version_type=sunos
9610   sys_lib_dlsearch_path_spec="/usr/lib"
9611   need_lib_prefix=no
9612   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9613   case $host_os in
9614     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9615     *)                          need_version=no  ;;
9616   esac
9617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9618   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9619   shlibpath_var=LD_LIBRARY_PATH
9620   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9621     case $host_os in
9622       openbsd2.[89] | openbsd2.[89].*)
9623         shlibpath_overrides_runpath=no
9624         ;;
9625       *)
9626         shlibpath_overrides_runpath=yes
9627         ;;
9628       esac
9629   else
9630     shlibpath_overrides_runpath=yes
9631   fi
9632   ;;
9633
9634 os2*)
9635   libname_spec='$name'
9636   shrext_cmds=".dll"
9637   need_lib_prefix=no
9638   library_names_spec='$libname${shared_ext} $libname.a'
9639   dynamic_linker='OS/2 ld.exe'
9640   shlibpath_var=LIBPATH
9641   ;;
9642
9643 osf3* | osf4* | osf5*)
9644   version_type=osf
9645   need_lib_prefix=no
9646   need_version=no
9647   soname_spec='${libname}${release}${shared_ext}$major'
9648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649   shlibpath_var=LD_LIBRARY_PATH
9650   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9651   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9652   ;;
9653
9654 rdos*)
9655   dynamic_linker=no
9656   ;;
9657
9658 solaris*)
9659   version_type=linux
9660   need_lib_prefix=no
9661   need_version=no
9662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663   soname_spec='${libname}${release}${shared_ext}$major'
9664   shlibpath_var=LD_LIBRARY_PATH
9665   shlibpath_overrides_runpath=yes
9666   hardcode_into_libs=yes
9667   # ldd complains unless libraries are executable
9668   postinstall_cmds='chmod +x $lib'
9669   ;;
9670
9671 sunos4*)
9672   version_type=sunos
9673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9674   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9675   shlibpath_var=LD_LIBRARY_PATH
9676   shlibpath_overrides_runpath=yes
9677   if test "$with_gnu_ld" = yes; then
9678     need_lib_prefix=no
9679   fi
9680   need_version=yes
9681   ;;
9682
9683 sysv4 | sysv4.3*)
9684   version_type=linux
9685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9686   soname_spec='${libname}${release}${shared_ext}$major'
9687   shlibpath_var=LD_LIBRARY_PATH
9688   case $host_vendor in
9689     sni)
9690       shlibpath_overrides_runpath=no
9691       need_lib_prefix=no
9692       runpath_var=LD_RUN_PATH
9693       ;;
9694     siemens)
9695       need_lib_prefix=no
9696       ;;
9697     motorola)
9698       need_lib_prefix=no
9699       need_version=no
9700       shlibpath_overrides_runpath=no
9701       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9702       ;;
9703   esac
9704   ;;
9705
9706 sysv4*MP*)
9707   if test -d /usr/nec ;then
9708     version_type=linux
9709     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9710     soname_spec='$libname${shared_ext}.$major'
9711     shlibpath_var=LD_LIBRARY_PATH
9712   fi
9713   ;;
9714
9715 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9716   version_type=freebsd-elf
9717   need_lib_prefix=no
9718   need_version=no
9719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9720   soname_spec='${libname}${release}${shared_ext}$major'
9721   shlibpath_var=LD_LIBRARY_PATH
9722   shlibpath_overrides_runpath=yes
9723   hardcode_into_libs=yes
9724   if test "$with_gnu_ld" = yes; then
9725     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9726   else
9727     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9728     case $host_os in
9729       sco3.2v5*)
9730         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9731         ;;
9732     esac
9733   fi
9734   sys_lib_dlsearch_path_spec='/usr/lib'
9735   ;;
9736
9737 tpf*)
9738   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9739   version_type=linux
9740   need_lib_prefix=no
9741   need_version=no
9742   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743   shlibpath_var=LD_LIBRARY_PATH
9744   shlibpath_overrides_runpath=no
9745   hardcode_into_libs=yes
9746   ;;
9747
9748 uts4*)
9749   version_type=linux
9750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751   soname_spec='${libname}${release}${shared_ext}$major'
9752   shlibpath_var=LD_LIBRARY_PATH
9753   ;;
9754
9755 *)
9756   dynamic_linker=no
9757   ;;
9758 esac
9759 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9760 echo "${ECHO_T}$dynamic_linker" >&6
9761 test "$dynamic_linker" = no && can_build_shared=no
9762
9763 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9764 if test "$GCC" = yes; then
9765   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9766 fi
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
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9855 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9856 hardcode_action=
9857 if test -n "$hardcode_libdir_flag_spec" ||
9858    test -n "$runpath_var" ||
9859    test "X$hardcode_automatic" = "Xyes" ; then
9860
9861   # We can hardcode non-existent directories.
9862   if test "$hardcode_direct" != no &&
9863      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9864      # have to relink, otherwise we might link with an installed library
9865      # when we should be linking with a yet-to-be-installed one
9866      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9867      test "$hardcode_minus_L" != no; then
9868     # Linking always hardcodes the temporary library directory.
9869     hardcode_action=relink
9870   else
9871     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9872     hardcode_action=immediate
9873   fi
9874 else
9875   # We cannot hardcode anything, or else we can only hardcode existing
9876   # directories.
9877   hardcode_action=unsupported
9878 fi
9879 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9880 echo "${ECHO_T}$hardcode_action" >&6
9881
9882 if test "$hardcode_action" = relink ||
9883    test "$inherit_rpath" = yes; then
9884   # Fast installation is not supported
9885   enable_fast_install=no
9886 elif test "$shlibpath_overrides_runpath" = yes ||
9887      test "$enable_shared" = no; then
9888   # Fast installation is not necessary
9889   enable_fast_install=needless
9890 fi
9891
9892
9893
9894
9895
9896
9897   if test "x$enable_dlopen" != xyes; then
9898   enable_dlopen=unknown
9899   enable_dlopen_self=unknown
9900   enable_dlopen_self_static=unknown
9901 else
9902   lt_cv_dlopen=no
9903   lt_cv_dlopen_libs=
9904
9905   case $host_os in
9906   beos*)
9907     lt_cv_dlopen="load_add_on"
9908     lt_cv_dlopen_libs=
9909     lt_cv_dlopen_self=yes
9910     ;;
9911
9912   mingw* | pw32*)
9913     lt_cv_dlopen="LoadLibrary"
9914     lt_cv_dlopen_libs=
9915     ;;
9916
9917   cygwin*)
9918     lt_cv_dlopen="dlopen"
9919     lt_cv_dlopen_libs=
9920     ;;
9921
9922   darwin*)
9923   # if libdl is installed we need to link against it
9924     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9925 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9926 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9927   echo $ECHO_N "(cached) $ECHO_C" >&6
9928 else
9929   ac_check_lib_save_LIBS=$LIBS
9930 LIBS="-ldl  $LIBS"
9931 if test x$gcc_no_link = xyes; then
9932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9934    { (exit 1); exit 1; }; }
9935 fi
9936 cat >conftest.$ac_ext <<_ACEOF
9937 /* confdefs.h.  */
9938 _ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h.  */
9942
9943 /* Override any gcc2 internal prototype to avoid an error.  */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 /* We use char because int might match the return type of a gcc2
9948    builtin and then its argument prototype would still apply.  */
9949 char dlopen ();
9950 int
9951 main ()
9952 {
9953 dlopen ();
9954   ;
9955   return 0;
9956 }
9957 _ACEOF
9958 rm -f conftest.$ac_objext conftest$ac_exeext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9960   (eval $ac_link) 2>conftest.er1
9961   ac_status=$?
9962   grep -v '^ *+' conftest.er1 >conftest.err
9963   rm -f conftest.er1
9964   cat conftest.err >&5
9965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966   (exit $ac_status); } &&
9967          { ac_try='test -z "$ac_c_werror_flag"
9968                          || test ! -s conftest.err'
9969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970   (eval $ac_try) 2>&5
9971   ac_status=$?
9972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973   (exit $ac_status); }; } &&
9974          { ac_try='test -s conftest$ac_exeext'
9975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976   (eval $ac_try) 2>&5
9977   ac_status=$?
9978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979   (exit $ac_status); }; }; then
9980   ac_cv_lib_dl_dlopen=yes
9981 else
9982   echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9984
9985 ac_cv_lib_dl_dlopen=no
9986 fi
9987 rm -f conftest.err conftest.$ac_objext \
9988       conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_lib_save_LIBS
9990 fi
9991 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9992 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9993 if test $ac_cv_lib_dl_dlopen = yes; then
9994   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9995 else
9996
9997     lt_cv_dlopen="dyld"
9998     lt_cv_dlopen_libs=
9999     lt_cv_dlopen_self=yes
10000
10001 fi
10002
10003     ;;
10004
10005   *)
10006     echo "$as_me:$LINENO: checking for shl_load" >&5
10007 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10008 if test "${ac_cv_func_shl_load+set}" = set; then
10009   echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011   if test x$gcc_no_link = xyes; then
10012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014    { (exit 1); exit 1; }; }
10015 fi
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h.  */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h.  */
10022 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10024 #define shl_load innocuous_shl_load
10025
10026 /* System header to define __stub macros and hopefully few prototypes,
10027     which can conflict with char shl_load (); below.
10028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029     <limits.h> exists even on freestanding compilers.  */
10030
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10036
10037 #undef shl_load
10038
10039 /* Override any gcc2 internal prototype to avoid an error.  */
10040 #ifdef __cplusplus
10041 extern "C"
10042 {
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045    builtin and then its argument prototype would still apply.  */
10046 char shl_load ();
10047 /* The GNU C library defines this for functions which it implements
10048     to always fail with ENOSYS.  Some functions are actually named
10049     something starting with __ and the normal name is an alias.  */
10050 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10051 choke me
10052 #else
10053 char (*f) () = shl_load;
10054 #endif
10055 #ifdef __cplusplus
10056 }
10057 #endif
10058
10059 int
10060 main ()
10061 {
10062 return f != shl_load;
10063   ;
10064   return 0;
10065 }
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069   (eval $ac_link) 2>conftest.er1
10070   ac_status=$?
10071   grep -v '^ *+' conftest.er1 >conftest.err
10072   rm -f conftest.er1
10073   cat conftest.err >&5
10074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075   (exit $ac_status); } &&
10076          { ac_try='test -z "$ac_c_werror_flag"
10077                          || test ! -s conftest.err'
10078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079   (eval $ac_try) 2>&5
10080   ac_status=$?
10081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082   (exit $ac_status); }; } &&
10083          { ac_try='test -s conftest$ac_exeext'
10084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085   (eval $ac_try) 2>&5
10086   ac_status=$?
10087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088   (exit $ac_status); }; }; then
10089   ac_cv_func_shl_load=yes
10090 else
10091   echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10093
10094 ac_cv_func_shl_load=no
10095 fi
10096 rm -f conftest.err conftest.$ac_objext \
10097       conftest$ac_exeext conftest.$ac_ext
10098 fi
10099 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10100 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10101 if test $ac_cv_func_shl_load = yes; then
10102   lt_cv_dlopen="shl_load"
10103 else
10104   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10105 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10106 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10107   echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109   ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-ldld  $LIBS"
10111 if test x$gcc_no_link = xyes; then
10112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10114    { (exit 1); exit 1; }; }
10115 fi
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h.  */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h.  */
10122
10123 /* Override any gcc2 internal prototype to avoid an error.  */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 /* We use char because int might match the return type of a gcc2
10128    builtin and then its argument prototype would still apply.  */
10129 char shl_load ();
10130 int
10131 main ()
10132 {
10133 shl_load ();
10134   ;
10135   return 0;
10136 }
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140   (eval $ac_link) 2>conftest.er1
10141   ac_status=$?
10142   grep -v '^ *+' conftest.er1 >conftest.err
10143   rm -f conftest.er1
10144   cat conftest.err >&5
10145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146   (exit $ac_status); } &&
10147          { ac_try='test -z "$ac_c_werror_flag"
10148                          || test ! -s conftest.err'
10149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150   (eval $ac_try) 2>&5
10151   ac_status=$?
10152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153   (exit $ac_status); }; } &&
10154          { ac_try='test -s conftest$ac_exeext'
10155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156   (eval $ac_try) 2>&5
10157   ac_status=$?
10158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159   (exit $ac_status); }; }; then
10160   ac_cv_lib_dld_shl_load=yes
10161 else
10162   echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10164
10165 ac_cv_lib_dld_shl_load=no
10166 fi
10167 rm -f conftest.err conftest.$ac_objext \
10168       conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10170 fi
10171 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10172 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10173 if test $ac_cv_lib_dld_shl_load = yes; then
10174   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10175 else
10176   echo "$as_me:$LINENO: checking for dlopen" >&5
10177 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10178 if test "${ac_cv_func_dlopen+set}" = set; then
10179   echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181   if test x$gcc_no_link = xyes; then
10182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184    { (exit 1); exit 1; }; }
10185 fi
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h.  */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h.  */
10192 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10194 #define dlopen innocuous_dlopen
10195
10196 /* System header to define __stub macros and hopefully few prototypes,
10197     which can conflict with char dlopen (); below.
10198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199     <limits.h> exists even on freestanding compilers.  */
10200
10201 #ifdef __STDC__
10202 # include <limits.h>
10203 #else
10204 # include <assert.h>
10205 #endif
10206
10207 #undef dlopen
10208
10209 /* Override any gcc2 internal prototype to avoid an error.  */
10210 #ifdef __cplusplus
10211 extern "C"
10212 {
10213 #endif
10214 /* We use char because int might match the return type of a gcc2
10215    builtin and then its argument prototype would still apply.  */
10216 char dlopen ();
10217 /* The GNU C library defines this for functions which it implements
10218     to always fail with ENOSYS.  Some functions are actually named
10219     something starting with __ and the normal name is an alias.  */
10220 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10221 choke me
10222 #else
10223 char (*f) () = dlopen;
10224 #endif
10225 #ifdef __cplusplus
10226 }
10227 #endif
10228
10229 int
10230 main ()
10231 {
10232 return f != dlopen;
10233   ;
10234   return 0;
10235 }
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10239   (eval $ac_link) 2>conftest.er1
10240   ac_status=$?
10241   grep -v '^ *+' conftest.er1 >conftest.err
10242   rm -f conftest.er1
10243   cat conftest.err >&5
10244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245   (exit $ac_status); } &&
10246          { ac_try='test -z "$ac_c_werror_flag"
10247                          || test ! -s conftest.err'
10248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249   (eval $ac_try) 2>&5
10250   ac_status=$?
10251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252   (exit $ac_status); }; } &&
10253          { ac_try='test -s conftest$ac_exeext'
10254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255   (eval $ac_try) 2>&5
10256   ac_status=$?
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   (exit $ac_status); }; }; then
10259   ac_cv_func_dlopen=yes
10260 else
10261   echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10263
10264 ac_cv_func_dlopen=no
10265 fi
10266 rm -f conftest.err conftest.$ac_objext \
10267       conftest$ac_exeext conftest.$ac_ext
10268 fi
10269 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10270 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10271 if test $ac_cv_func_dlopen = yes; then
10272   lt_cv_dlopen="dlopen"
10273 else
10274   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10277   echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279   ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-ldl  $LIBS"
10281 if test x$gcc_no_link = xyes; then
10282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284    { (exit 1); exit 1; }; }
10285 fi
10286 cat >conftest.$ac_ext <<_ACEOF
10287 /* confdefs.h.  */
10288 _ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h.  */
10292
10293 /* Override any gcc2 internal prototype to avoid an error.  */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 /* We use char because int might match the return type of a gcc2
10298    builtin and then its argument prototype would still apply.  */
10299 char dlopen ();
10300 int
10301 main ()
10302 {
10303 dlopen ();
10304   ;
10305   return 0;
10306 }
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310   (eval $ac_link) 2>conftest.er1
10311   ac_status=$?
10312   grep -v '^ *+' conftest.er1 >conftest.err
10313   rm -f conftest.er1
10314   cat conftest.err >&5
10315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316   (exit $ac_status); } &&
10317          { ac_try='test -z "$ac_c_werror_flag"
10318                          || test ! -s conftest.err'
10319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320   (eval $ac_try) 2>&5
10321   ac_status=$?
10322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323   (exit $ac_status); }; } &&
10324          { ac_try='test -s conftest$ac_exeext'
10325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326   (eval $ac_try) 2>&5
10327   ac_status=$?
10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329   (exit $ac_status); }; }; then
10330   ac_cv_lib_dl_dlopen=yes
10331 else
10332   echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10334
10335 ac_cv_lib_dl_dlopen=no
10336 fi
10337 rm -f conftest.err conftest.$ac_objext \
10338       conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10340 fi
10341 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10342 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10343 if test $ac_cv_lib_dl_dlopen = yes; then
10344   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10345 else
10346   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10347 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10349   echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351   ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lsvld  $LIBS"
10353 if test x$gcc_no_link = xyes; then
10354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10356    { (exit 1); exit 1; }; }
10357 fi
10358 cat >conftest.$ac_ext <<_ACEOF
10359 /* confdefs.h.  */
10360 _ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h.  */
10364
10365 /* Override any gcc2 internal prototype to avoid an error.  */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370    builtin and then its argument prototype would still apply.  */
10371 char dlopen ();
10372 int
10373 main ()
10374 {
10375 dlopen ();
10376   ;
10377   return 0;
10378 }
10379 _ACEOF
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382   (eval $ac_link) 2>conftest.er1
10383   ac_status=$?
10384   grep -v '^ *+' conftest.er1 >conftest.err
10385   rm -f conftest.er1
10386   cat conftest.err >&5
10387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388   (exit $ac_status); } &&
10389          { ac_try='test -z "$ac_c_werror_flag"
10390                          || test ! -s conftest.err'
10391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392   (eval $ac_try) 2>&5
10393   ac_status=$?
10394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395   (exit $ac_status); }; } &&
10396          { ac_try='test -s conftest$ac_exeext'
10397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398   (eval $ac_try) 2>&5
10399   ac_status=$?
10400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401   (exit $ac_status); }; }; then
10402   ac_cv_lib_svld_dlopen=yes
10403 else
10404   echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.$ac_ext >&5
10406
10407 ac_cv_lib_svld_dlopen=no
10408 fi
10409 rm -f conftest.err conftest.$ac_objext \
10410       conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_lib_save_LIBS
10412 fi
10413 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10414 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10415 if test $ac_cv_lib_svld_dlopen = yes; then
10416   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10417 else
10418   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10419 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10421   echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10423   ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-ldld  $LIBS"
10425 if test x$gcc_no_link = xyes; then
10426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10428    { (exit 1); exit 1; }; }
10429 fi
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h.  */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h.  */
10436
10437 /* Override any gcc2 internal prototype to avoid an error.  */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 /* We use char because int might match the return type of a gcc2
10442    builtin and then its argument prototype would still apply.  */
10443 char dld_link ();
10444 int
10445 main ()
10446 {
10447 dld_link ();
10448   ;
10449   return 0;
10450 }
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10454   (eval $ac_link) 2>conftest.er1
10455   ac_status=$?
10456   grep -v '^ *+' conftest.er1 >conftest.err
10457   rm -f conftest.er1
10458   cat conftest.err >&5
10459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460   (exit $ac_status); } &&
10461          { ac_try='test -z "$ac_c_werror_flag"
10462                          || test ! -s conftest.err'
10463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464   (eval $ac_try) 2>&5
10465   ac_status=$?
10466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467   (exit $ac_status); }; } &&
10468          { ac_try='test -s conftest$ac_exeext'
10469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470   (eval $ac_try) 2>&5
10471   ac_status=$?
10472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473   (exit $ac_status); }; }; then
10474   ac_cv_lib_dld_dld_link=yes
10475 else
10476   echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.$ac_ext >&5
10478
10479 ac_cv_lib_dld_dld_link=no
10480 fi
10481 rm -f conftest.err conftest.$ac_objext \
10482       conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10484 fi
10485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10486 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10487 if test $ac_cv_lib_dld_dld_link = yes; then
10488   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10489 fi
10490
10491
10492 fi
10493
10494
10495 fi
10496
10497
10498 fi
10499
10500
10501 fi
10502
10503
10504 fi
10505
10506     ;;
10507   esac
10508
10509   if test "x$lt_cv_dlopen" != xno; then
10510     enable_dlopen=yes
10511   else
10512     enable_dlopen=no
10513   fi
10514
10515   case $lt_cv_dlopen in
10516   dlopen)
10517     save_CPPFLAGS="$CPPFLAGS"
10518     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10519
10520     save_LDFLAGS="$LDFLAGS"
10521     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10522
10523     save_LIBS="$LIBS"
10524     LIBS="$lt_cv_dlopen_libs $LIBS"
10525
10526     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10527 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10528 if test "${lt_cv_dlopen_self+set}" = set; then
10529   echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531           if test "$cross_compiling" = yes; then :
10532   lt_cv_dlopen_self=cross
10533 else
10534   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10535   lt_status=$lt_dlunknown
10536   cat > conftest.$ac_ext <<_LT_EOF
10537 #line 10537 "configure"
10538 #include "confdefs.h"
10539
10540 #if HAVE_DLFCN_H
10541 #include <dlfcn.h>
10542 #endif
10543
10544 #include <stdio.h>
10545
10546 #ifdef RTLD_GLOBAL
10547 #  define LT_DLGLOBAL           RTLD_GLOBAL
10548 #else
10549 #  ifdef DL_GLOBAL
10550 #    define LT_DLGLOBAL         DL_GLOBAL
10551 #  else
10552 #    define LT_DLGLOBAL         0
10553 #  endif
10554 #endif
10555
10556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10557    find out it does not work in some platform. */
10558 #ifndef LT_DLLAZY_OR_NOW
10559 #  ifdef RTLD_LAZY
10560 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10561 #  else
10562 #    ifdef DL_LAZY
10563 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10564 #    else
10565 #      ifdef RTLD_NOW
10566 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10567 #      else
10568 #        ifdef DL_NOW
10569 #          define LT_DLLAZY_OR_NOW      DL_NOW
10570 #        else
10571 #          define LT_DLLAZY_OR_NOW      0
10572 #        endif
10573 #      endif
10574 #    endif
10575 #  endif
10576 #endif
10577
10578 #ifdef __cplusplus
10579 extern "C" void exit (int);
10580 #endif
10581
10582 void fnord() { int i=42;}
10583 int main ()
10584 {
10585   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10586   int status = $lt_dlunknown;
10587
10588   if (self)
10589     {
10590       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10591       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592       /* dlclose (self); */
10593     }
10594   else
10595     puts (dlerror ());
10596
10597     exit (status);
10598 }
10599 _LT_EOF
10600   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601   (eval $ac_link) 2>&5
10602   ac_status=$?
10603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10605     (./conftest; exit; ) >&5 2>/dev/null
10606     lt_status=$?
10607     case x$lt_status in
10608       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10609       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10610       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10611     esac
10612   else :
10613     # compilation failed
10614     lt_cv_dlopen_self=no
10615   fi
10616 fi
10617 rm -fr conftest*
10618
10619
10620 fi
10621 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10622 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10623
10624     if test "x$lt_cv_dlopen_self" = xyes; then
10625       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10626       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10627 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10628 if test "${lt_cv_dlopen_self_static+set}" = set; then
10629   echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631           if test "$cross_compiling" = yes; then :
10632   lt_cv_dlopen_self_static=cross
10633 else
10634   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10635   lt_status=$lt_dlunknown
10636   cat > conftest.$ac_ext <<_LT_EOF
10637 #line 10637 "configure"
10638 #include "confdefs.h"
10639
10640 #if HAVE_DLFCN_H
10641 #include <dlfcn.h>
10642 #endif
10643
10644 #include <stdio.h>
10645
10646 #ifdef RTLD_GLOBAL
10647 #  define LT_DLGLOBAL           RTLD_GLOBAL
10648 #else
10649 #  ifdef DL_GLOBAL
10650 #    define LT_DLGLOBAL         DL_GLOBAL
10651 #  else
10652 #    define LT_DLGLOBAL         0
10653 #  endif
10654 #endif
10655
10656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10657    find out it does not work in some platform. */
10658 #ifndef LT_DLLAZY_OR_NOW
10659 #  ifdef RTLD_LAZY
10660 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10661 #  else
10662 #    ifdef DL_LAZY
10663 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10664 #    else
10665 #      ifdef RTLD_NOW
10666 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10667 #      else
10668 #        ifdef DL_NOW
10669 #          define LT_DLLAZY_OR_NOW      DL_NOW
10670 #        else
10671 #          define LT_DLLAZY_OR_NOW      0
10672 #        endif
10673 #      endif
10674 #    endif
10675 #  endif
10676 #endif
10677
10678 #ifdef __cplusplus
10679 extern "C" void exit (int);
10680 #endif
10681
10682 void fnord() { int i=42;}
10683 int main ()
10684 {
10685   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10686   int status = $lt_dlunknown;
10687
10688   if (self)
10689     {
10690       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10691       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10692       /* dlclose (self); */
10693     }
10694   else
10695     puts (dlerror ());
10696
10697     exit (status);
10698 }
10699 _LT_EOF
10700   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10701   (eval $ac_link) 2>&5
10702   ac_status=$?
10703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10705     (./conftest; exit; ) >&5 2>/dev/null
10706     lt_status=$?
10707     case x$lt_status in
10708       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10709       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10710       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10711     esac
10712   else :
10713     # compilation failed
10714     lt_cv_dlopen_self_static=no
10715   fi
10716 fi
10717 rm -fr conftest*
10718
10719
10720 fi
10721 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10722 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10723     fi
10724
10725     CPPFLAGS="$save_CPPFLAGS"
10726     LDFLAGS="$save_LDFLAGS"
10727     LIBS="$save_LIBS"
10728     ;;
10729   esac
10730
10731   case $lt_cv_dlopen_self in
10732   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10733   *) enable_dlopen_self=unknown ;;
10734   esac
10735
10736   case $lt_cv_dlopen_self_static in
10737   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10738   *) enable_dlopen_self_static=unknown ;;
10739   esac
10740 fi
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758 striplib=
10759 old_striplib=
10760 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10761 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10762 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10763   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10764   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10765   echo "$as_me:$LINENO: result: yes" >&5
10766 echo "${ECHO_T}yes" >&6
10767 else
10768 # FIXME - insert some real tests, host_os isn't really good enough
10769   case $host_os in
10770   darwin*)
10771     if test -n "$STRIP" ; then
10772       striplib="$STRIP -x"
10773       old_striplib="$STRIP -S"
10774       echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10776     else
10777       echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10779     fi
10780     ;;
10781   *)
10782     echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10784     ;;
10785   esac
10786 fi
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799   # Report which library types will actually be built
10800   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10801 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10802   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10803 echo "${ECHO_T}$can_build_shared" >&6
10804
10805   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10806 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10807   test "$can_build_shared" = "no" && enable_shared=no
10808
10809   # On AIX, shared libraries and static libraries use the same namespace, and
10810   # are all built from PIC.
10811   case $host_os in
10812   aix3*)
10813     test "$enable_shared" = yes && enable_static=no
10814     if test -n "$RANLIB"; then
10815       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10816       postinstall_cmds='$RANLIB $lib'
10817     fi
10818     ;;
10819
10820   aix[4-9]*)
10821     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10822       test "$enable_shared" = yes && enable_static=no
10823     fi
10824     ;;
10825   esac
10826   echo "$as_me:$LINENO: result: $enable_shared" >&5
10827 echo "${ECHO_T}$enable_shared" >&6
10828
10829   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10830 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10831   # Make sure either enable_shared or enable_static is yes.
10832   test "$enable_shared" = yes || enable_static=yes
10833   echo "$as_me:$LINENO: result: $enable_static" >&5
10834 echo "${ECHO_T}$enable_static" >&6
10835
10836
10837
10838
10839 fi
10840 ac_ext=c
10841 ac_cpp='$CPP $CPPFLAGS'
10842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10845
10846 CC="$lt_save_CC"
10847
10848
10849 ac_ext=cc
10850 ac_cpp='$CXXCPP $CPPFLAGS'
10851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10854
10855 archive_cmds_need_lc_CXX=no
10856 allow_undefined_flag_CXX=
10857 always_export_symbols_CXX=no
10858 archive_expsym_cmds_CXX=
10859 compiler_needs_object_CXX=no
10860 export_dynamic_flag_spec_CXX=
10861 hardcode_direct_CXX=no
10862 hardcode_direct_absolute_CXX=no
10863 hardcode_libdir_flag_spec_CXX=
10864 hardcode_libdir_flag_spec_ld_CXX=
10865 hardcode_libdir_separator_CXX=
10866 hardcode_minus_L_CXX=no
10867 hardcode_shlibpath_var_CXX=unsupported
10868 hardcode_automatic_CXX=no
10869 inherit_rpath_CXX=no
10870 module_cmds_CXX=
10871 module_expsym_cmds_CXX=
10872 link_all_deplibs_CXX=unknown
10873 old_archive_cmds_CXX=$old_archive_cmds
10874 no_undefined_flag_CXX=
10875 whole_archive_flag_spec_CXX=
10876 enable_shared_with_static_runtimes_CXX=no
10877
10878 # Source file extension for C++ test sources.
10879 ac_ext=cpp
10880
10881 # Object file extension for compiled C++ test sources.
10882 objext=o
10883 objext_CXX=$objext
10884
10885 # No sense in running all these tests if we already determined that
10886 # the CXX compiler isn't working.  Some variables (like enable_shared)
10887 # are currently assumed to apply to all compilers on this platform,
10888 # and will be corrupted by setting them based on a non-working compiler.
10889 if test "$_lt_caught_CXX_error" != yes; then
10890   # Code to be used in simple compile tests
10891   lt_simple_compile_test_code="int some_variable = 0;"
10892
10893   # Code to be used in simple link tests
10894   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10895
10896   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10897
10898
10899
10900
10901
10902
10903 # If no C compiler was specified, use CC.
10904 LTCC=${LTCC-"$CC"}
10905
10906 # If no C compiler flags were specified, use CFLAGS.
10907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10908
10909 # Allow CC to be a program name with arguments.
10910 compiler=$CC
10911
10912
10913   # save warnings/boilerplate of simple test code
10914   ac_outfile=conftest.$ac_objext
10915 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10916 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10917 _lt_compiler_boilerplate=`cat conftest.err`
10918 $RM conftest*
10919
10920   ac_outfile=conftest.$ac_objext
10921 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10922 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10923 _lt_linker_boilerplate=`cat conftest.err`
10924 $RM conftest*
10925
10926
10927   # Allow CC to be a program name with arguments.
10928   lt_save_CC=$CC
10929   lt_save_LD=$LD
10930   lt_save_GCC=$GCC
10931   GCC=$GXX
10932   lt_save_with_gnu_ld=$with_gnu_ld
10933   lt_save_path_LD=$lt_cv_path_LD
10934   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10935     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10936   else
10937     $as_unset lt_cv_prog_gnu_ld
10938   fi
10939   if test -n "${lt_cv_path_LDCXX+set}"; then
10940     lt_cv_path_LD=$lt_cv_path_LDCXX
10941   else
10942     $as_unset lt_cv_path_LD
10943   fi
10944   test -z "${LDCXX+set}" || LD=$LDCXX
10945   CC=${CXX-"c++"}
10946   compiler=$CC
10947   compiler_CXX=$CC
10948   for cc_temp in $compiler""; do
10949   case $cc_temp in
10950     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10951     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10952     \-*) ;;
10953     *) break;;
10954   esac
10955 done
10956 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10957
10958
10959   if test -n "$compiler"; then
10960     # We don't want -fno-exception when compiling C++ code, so set the
10961     # no_builtin_flag separately
10962     if test "$GXX" = yes; then
10963       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10964     else
10965       lt_prog_compiler_no_builtin_flag_CXX=
10966     fi
10967
10968     if test "$GXX" = yes; then
10969       # Set up default GNU C++ configuration
10970
10971
10972
10973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10974 if test "${with_gnu_ld+set}" = set; then
10975   withval="$with_gnu_ld"
10976   test "$withval" = no || with_gnu_ld=yes
10977 else
10978   with_gnu_ld=no
10979 fi;
10980 ac_prog=ld
10981 if test "$GCC" = yes; then
10982   # Check if gcc -print-prog-name=ld gives a path.
10983   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10985   case $host in
10986   *-*-mingw*)
10987     # gcc leaves a trailing carriage return which upsets mingw
10988     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10989   *)
10990     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10991   esac
10992   case $ac_prog in
10993     # Accept absolute paths.
10994     [\\/]* | ?:[\\/]*)
10995       re_direlt='/[^/][^/]*/\.\./'
10996       # Canonicalize the pathname of ld
10997       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10998       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10999         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11000       done
11001       test -z "$LD" && LD="$ac_prog"
11002       ;;
11003   "")
11004     # If it fails, then pretend we aren't using GCC.
11005     ac_prog=ld
11006     ;;
11007   *)
11008     # If it is relative, then search for the first ld in PATH.
11009     with_gnu_ld=unknown
11010     ;;
11011   esac
11012 elif test "$with_gnu_ld" = yes; then
11013   echo "$as_me:$LINENO: checking for GNU ld" >&5
11014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11015 else
11016   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11018 fi
11019 if test "${lt_cv_path_LD+set}" = set; then
11020   echo $ECHO_N "(cached) $ECHO_C" >&6
11021 else
11022   if test -z "$LD"; then
11023   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11024   for ac_dir in $PATH; do
11025     IFS="$lt_save_ifs"
11026     test -z "$ac_dir" && ac_dir=.
11027     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11028       lt_cv_path_LD="$ac_dir/$ac_prog"
11029       # Check to see if the program is GNU ld.  I'd rather use --version,
11030       # but apparently some variants of GNU ld only accept -v.
11031       # Break only if it was the GNU/non-GNU ld that we prefer.
11032       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11033       *GNU* | *'with BFD'*)
11034         test "$with_gnu_ld" != no && break
11035         ;;
11036       *)
11037         test "$with_gnu_ld" != yes && break
11038         ;;
11039       esac
11040     fi
11041   done
11042   IFS="$lt_save_ifs"
11043 else
11044   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11045 fi
11046 fi
11047
11048 LD="$lt_cv_path_LD"
11049 if test -n "$LD"; then
11050   echo "$as_me:$LINENO: result: $LD" >&5
11051 echo "${ECHO_T}$LD" >&6
11052 else
11053   echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11055 fi
11056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11058    { (exit 1); exit 1; }; }
11059 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11062   echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11065 case `$LD -v 2>&1 </dev/null` in
11066 *GNU* | *'with BFD'*)
11067   lt_cv_prog_gnu_ld=yes
11068   ;;
11069 *)
11070   lt_cv_prog_gnu_ld=no
11071   ;;
11072 esac
11073 fi
11074 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11076 with_gnu_ld=$lt_cv_prog_gnu_ld
11077
11078
11079
11080
11081
11082
11083
11084       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11085       # archiving commands below assume that GNU ld is being used.
11086       if test "$with_gnu_ld" = yes; then
11087         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088         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'
11089
11090         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11091         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11092
11093         # If archive_cmds runs LD, not CC, wlarc should be empty
11094         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11095         #     investigate it a little bit more. (MM)
11096         wlarc='${wl}'
11097
11098         # ancient GNU ld didn't support --whole-archive et. al.
11099         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11100           $GREP 'no-whole-archive' > /dev/null; then
11101           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11102         else
11103           whole_archive_flag_spec_CXX=
11104         fi
11105       else
11106         with_gnu_ld=no
11107         wlarc=
11108
11109         # A generic and very simple default shared library creation
11110         # command for GNU C++ for the case where it uses the native
11111         # linker, instead of GNU ld.  If possible, this setting should
11112         # overridden to take advantage of the native linker features on
11113         # the platform it is being used on.
11114         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11115       fi
11116
11117       # Commands to make compiler produce verbose output that lists
11118       # what "hidden" libraries, object files and flags are used when
11119       # linking a shared library.
11120       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11121
11122     else
11123       GXX=no
11124       with_gnu_ld=no
11125       wlarc=
11126     fi
11127
11128     # PORTME: fill in a description of your system's C++ link characteristics
11129     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11130 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11131     ld_shlibs_CXX=yes
11132     case $host_os in
11133       aix3*)
11134         # FIXME: insert proper C++ library support
11135         ld_shlibs_CXX=no
11136         ;;
11137       aix[4-9]*)
11138         if test "$host_cpu" = ia64; then
11139           # On IA64, the linker does run time linking by default, so we don't
11140           # have to do anything special.
11141           aix_use_runtimelinking=no
11142           exp_sym_flag='-Bexport'
11143           no_entry_flag=""
11144         else
11145           aix_use_runtimelinking=no
11146
11147           # Test if we are trying to use run time linking or normal
11148           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11149           # need to do runtime linking.
11150           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11151             for ld_flag in $LDFLAGS; do
11152               case $ld_flag in
11153               *-brtl*)
11154                 aix_use_runtimelinking=yes
11155                 break
11156                 ;;
11157               esac
11158             done
11159             ;;
11160           esac
11161
11162           exp_sym_flag='-bexport'
11163           no_entry_flag='-bnoentry'
11164         fi
11165
11166         # When large executables or shared objects are built, AIX ld can
11167         # have problems creating the table of contents.  If linking a library
11168         # or program results in "error TOC overflow" add -mminimal-toc to
11169         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11170         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11171
11172         archive_cmds_CXX=''
11173         hardcode_direct_CXX=yes
11174         hardcode_direct_absolute_CXX=yes
11175         hardcode_libdir_separator_CXX=':'
11176         link_all_deplibs_CXX=yes
11177         file_list_spec_CXX='${wl}-f,'
11178
11179         if test "$GXX" = yes; then
11180           case $host_os in aix4.[012]|aix4.[012].*)
11181           # We only want to do this on AIX 4.2 and lower, the check
11182           # below for broken collect2 doesn't work under 4.3+
11183           collect2name=`${CC} -print-prog-name=collect2`
11184           if test -f "$collect2name" &&
11185              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11186           then
11187             # We have reworked collect2
11188             :
11189           else
11190             # We have old collect2
11191             hardcode_direct_CXX=unsupported
11192             # It fails to find uninstalled libraries when the uninstalled
11193             # path is not listed in the libpath.  Setting hardcode_minus_L
11194             # to unsupported forces relinking
11195             hardcode_minus_L_CXX=yes
11196             hardcode_libdir_flag_spec_CXX='-L$libdir'
11197             hardcode_libdir_separator_CXX=
11198           fi
11199           esac
11200           shared_flag='-shared'
11201           if test "$aix_use_runtimelinking" = yes; then
11202             shared_flag="$shared_flag "'${wl}-G'
11203           fi
11204         else
11205           # not using gcc
11206           if test "$host_cpu" = ia64; then
11207           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11208           # chokes on -Wl,-G. The following line is correct:
11209           shared_flag='-G'
11210           else
11211             if test "$aix_use_runtimelinking" = yes; then
11212               shared_flag='${wl}-G'
11213             else
11214               shared_flag='${wl}-bM:SRE'
11215             fi
11216           fi
11217         fi
11218
11219         # It seems that -bexpall does not export symbols beginning with
11220         # underscore (_), so it is better to generate a list of symbols to
11221         # export.
11222         always_export_symbols_CXX=yes
11223         if test "$aix_use_runtimelinking" = yes; then
11224           # Warning - without using the other runtime loading flags (-brtl),
11225           # -berok will link without error, but may produce a broken library.
11226           allow_undefined_flag_CXX='-berok'
11227           # Determine the default libpath from the value encoded in an empty
11228           # executable.
11229           if test x$gcc_no_link = xyes; then
11230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232    { (exit 1); exit 1; }; }
11233 fi
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h.  */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h.  */
11240
11241 int
11242 main ()
11243 {
11244
11245   ;
11246   return 0;
11247 }
11248 _ACEOF
11249 rm -f conftest.$ac_objext conftest$ac_exeext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11251   (eval $ac_link) 2>conftest.er1
11252   ac_status=$?
11253   grep -v '^ *+' conftest.er1 >conftest.err
11254   rm -f conftest.er1
11255   cat conftest.err >&5
11256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257   (exit $ac_status); } &&
11258          { ac_try='test -z "$ac_cxx_werror_flag"
11259                          || test ! -s conftest.err'
11260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261   (eval $ac_try) 2>&5
11262   ac_status=$?
11263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264   (exit $ac_status); }; } &&
11265          { ac_try='test -s conftest$ac_exeext'
11266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267   (eval $ac_try) 2>&5
11268   ac_status=$?
11269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270   (exit $ac_status); }; }; then
11271
11272 lt_aix_libpath_sed='
11273     /Import File Strings/,/^$/ {
11274         /^0/ {
11275             s/^0  *\(.*\)$/\1/
11276             p
11277         }
11278     }'
11279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11280 # Check for a 64-bit object if we didn't find anything.
11281 if test -z "$aix_libpath"; then
11282   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11283 fi
11284 else
11285   echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11287
11288 fi
11289 rm -f conftest.err conftest.$ac_objext \
11290       conftest$ac_exeext conftest.$ac_ext
11291 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11292
11293           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11294
11295           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"
11296         else
11297           if test "$host_cpu" = ia64; then
11298             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11299             allow_undefined_flag_CXX="-z nodefs"
11300             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"
11301           else
11302             # Determine the default libpath from the value encoded in an
11303             # empty executable.
11304             if test x$gcc_no_link = xyes; then
11305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307    { (exit 1); exit 1; }; }
11308 fi
11309 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h.  */
11311 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h.  */
11315
11316 int
11317 main ()
11318 {
11319
11320   ;
11321   return 0;
11322 }
11323 _ACEOF
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326   (eval $ac_link) 2>conftest.er1
11327   ac_status=$?
11328   grep -v '^ *+' conftest.er1 >conftest.err
11329   rm -f conftest.er1
11330   cat conftest.err >&5
11331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332   (exit $ac_status); } &&
11333          { ac_try='test -z "$ac_cxx_werror_flag"
11334                          || test ! -s conftest.err'
11335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336   (eval $ac_try) 2>&5
11337   ac_status=$?
11338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339   (exit $ac_status); }; } &&
11340          { ac_try='test -s conftest$ac_exeext'
11341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342   (eval $ac_try) 2>&5
11343   ac_status=$?
11344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345   (exit $ac_status); }; }; then
11346
11347 lt_aix_libpath_sed='
11348     /Import File Strings/,/^$/ {
11349         /^0/ {
11350             s/^0  *\(.*\)$/\1/
11351             p
11352         }
11353     }'
11354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11355 # Check for a 64-bit object if we didn't find anything.
11356 if test -z "$aix_libpath"; then
11357   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11358 fi
11359 else
11360   echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11362
11363 fi
11364 rm -f conftest.err conftest.$ac_objext \
11365       conftest$ac_exeext conftest.$ac_ext
11366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11367
11368             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11369             # Warning - without using the other run time loading flags,
11370             # -berok will link without error, but may produce a broken library.
11371             no_undefined_flag_CXX=' ${wl}-bernotok'
11372             allow_undefined_flag_CXX=' ${wl}-berok'
11373             # Exported symbols can be pulled into shared objects from archives
11374             whole_archive_flag_spec_CXX='$convenience'
11375             archive_cmds_need_lc_CXX=yes
11376             # This is similar to how AIX traditionally builds its shared
11377             # libraries.
11378             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'
11379           fi
11380         fi
11381         ;;
11382
11383       beos*)
11384         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11385           allow_undefined_flag_CXX=unsupported
11386           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11387           # support --undefined.  This deserves some investigation.  FIXME
11388           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389         else
11390           ld_shlibs_CXX=no
11391         fi
11392         ;;
11393
11394       chorus*)
11395         case $cc_basename in
11396           *)
11397           # FIXME: insert proper C++ library support
11398           ld_shlibs_CXX=no
11399           ;;
11400         esac
11401         ;;
11402
11403       cygwin* | mingw* | pw32*)
11404         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11405         # as there is no search path for DLLs.
11406         hardcode_libdir_flag_spec_CXX='-L$libdir'
11407         allow_undefined_flag_CXX=unsupported
11408         always_export_symbols_CXX=no
11409         enable_shared_with_static_runtimes_CXX=yes
11410
11411         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11412           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'
11413           # If the export-symbols file already is a .def file (1st line
11414           # is EXPORTS), use it as is; otherwise, prepend...
11415           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11416             cp $export_symbols $output_objdir/$soname.def;
11417           else
11418             echo EXPORTS > $output_objdir/$soname.def;
11419             cat $export_symbols >> $output_objdir/$soname.def;
11420           fi~
11421           $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'
11422         else
11423           ld_shlibs_CXX=no
11424         fi
11425         ;;
11426       darwin* | rhapsody*)
11427         case $host_os in
11428           rhapsody* | darwin1.[012])
11429             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11430             ;;
11431           *) # Darwin 1.3 on
11432             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11433               10.[012])
11434                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11435                 ;;
11436               10.*)
11437                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11438                 ;;
11439             esac
11440             ;;
11441         esac
11442         archive_cmds_need_lc_CXX=no
11443         hardcode_direct_CXX=no
11444         hardcode_automatic_CXX=yes
11445         hardcode_shlibpath_var_CXX=unsupported
11446         whole_archive_flag_spec_CXX=''
11447         link_all_deplibs_CXX=yes
11448
11449         if test "$GXX" = yes ; then
11450           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11451   echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453   lt_cv_apple_cc_single_mod=no
11454           if test -z "${LT_MULTI_MODULE}"; then
11455             # By default we will add the -single_module flag. You can override
11456             # by either setting the environment variable LT_MULTI_MODULE
11457             # non-empty at configure time, or by adding -multi-module to the
11458             # link flags.
11459             echo "int foo(void){return 1;}" > conftest.c
11460             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11461                 -dynamiclib ${wl}-single_module conftest.c
11462             if test -f libconftest.dylib; then
11463                 lt_cv_apple_cc_single_mod=yes
11464                 rm libconftest.dylib
11465             fi
11466             rm conftest.$ac_ext
11467           fi
11468 fi
11469
11470           output_verbose_link_cmd=echo
11471           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11472            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11473             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}'
11474           else
11475             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'
11476             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}'
11477           fi
11478           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11479           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}'
11480         else
11481           case $cc_basename in
11482             xlc*)
11483               output_verbose_link_cmd=echo
11484               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'
11485               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11486               # Don't fix this by using the ld -exported_symbols_list flag,
11487               # it doesn't exist in older darwin lds
11488               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}'
11489               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}'
11490               ;;
11491             *)
11492               ld_shlibs_CXX=no
11493               ;;
11494           esac
11495         fi
11496         ;;
11497
11498       dgux*)
11499         case $cc_basename in
11500           ec++*)
11501             # FIXME: insert proper C++ library support
11502             ld_shlibs_CXX=no
11503             ;;
11504           ghcx*)
11505             # Green Hills C++ Compiler
11506             # FIXME: insert proper C++ library support
11507             ld_shlibs_CXX=no
11508             ;;
11509           *)
11510             # FIXME: insert proper C++ library support
11511             ld_shlibs_CXX=no
11512             ;;
11513         esac
11514         ;;
11515
11516       freebsd[12]*)
11517         # C++ shared libraries reported to be fairly broken before
11518         # switch to ELF
11519         ld_shlibs_CXX=no
11520         ;;
11521
11522       freebsd-elf*)
11523         archive_cmds_need_lc_CXX=no
11524         ;;
11525
11526       freebsd* | dragonfly*)
11527         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11528         # conventions
11529         ld_shlibs_CXX=yes
11530         ;;
11531
11532       gnu*)
11533         ;;
11534
11535       hpux9*)
11536         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11537         hardcode_libdir_separator_CXX=:
11538         export_dynamic_flag_spec_CXX='${wl}-E'
11539         hardcode_direct_CXX=yes
11540         hardcode_minus_L_CXX=yes # Not in the search PATH,
11541                                              # but as the default
11542                                              # location of the library.
11543
11544         case $cc_basename in
11545           CC*)
11546             # FIXME: insert proper C++ library support
11547             ld_shlibs_CXX=no
11548             ;;
11549           aCC*)
11550             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'
11551             # Commands to make compiler produce verbose output that lists
11552             # what "hidden" libraries, object files and flags are used when
11553             # linking a shared library.
11554             #
11555             # There doesn't appear to be a way to prevent this compiler from
11556             # explicitly linking system object files so we need to strip them
11557             # from the output so that they don't get included in the library
11558             # dependencies.
11559             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'
11560             ;;
11561           *)
11562             if test "$GXX" = yes; then
11563               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'
11564             else
11565               # FIXME: insert proper C++ library support
11566               ld_shlibs_CXX=no
11567             fi
11568             ;;
11569         esac
11570         ;;
11571
11572       hpux10*|hpux11*)
11573         if test $with_gnu_ld = no; then
11574           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11575           hardcode_libdir_separator_CXX=:
11576
11577           case $host_cpu in
11578             hppa*64*|ia64*)
11579               ;;
11580             *)
11581               export_dynamic_flag_spec_CXX='${wl}-E'
11582               ;;
11583           esac
11584         fi
11585         case $host_cpu in
11586           hppa*64*|ia64*)
11587             hardcode_direct_CXX=no
11588             hardcode_shlibpath_var_CXX=no
11589             ;;
11590           *)
11591             hardcode_direct_CXX=yes
11592             hardcode_direct_absolute_CXX=yes
11593             hardcode_minus_L_CXX=yes # Not in the search PATH,
11594                                                  # but as the default
11595                                                  # location of the library.
11596             ;;
11597         esac
11598
11599         case $cc_basename in
11600           CC*)
11601             # FIXME: insert proper C++ library support
11602             ld_shlibs_CXX=no
11603             ;;
11604           aCC*)
11605             case $host_cpu in
11606               hppa*64*)
11607                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11608                 ;;
11609               ia64*)
11610                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11611                 ;;
11612               *)
11613                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11614                 ;;
11615             esac
11616             # Commands to make compiler produce verbose output that lists
11617             # what "hidden" libraries, object files and flags are used when
11618             # linking a shared library.
11619             #
11620             # There doesn't appear to be a way to prevent this compiler from
11621             # explicitly linking system object files so we need to strip them
11622             # from the output so that they don't get included in the library
11623             # dependencies.
11624             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'
11625             ;;
11626           *)
11627             if test "$GXX" = yes; then
11628               if test $with_gnu_ld = no; then
11629                 case $host_cpu in
11630                   hppa*64*)
11631                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11632                     ;;
11633                   ia64*)
11634                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11635                     ;;
11636                   *)
11637                     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'
11638                     ;;
11639                 esac
11640               fi
11641             else
11642               # FIXME: insert proper C++ library support
11643               ld_shlibs_CXX=no
11644             fi
11645             ;;
11646         esac
11647         ;;
11648
11649       interix[3-9]*)
11650         hardcode_direct_CXX=no
11651         hardcode_shlibpath_var_CXX=no
11652         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11653         export_dynamic_flag_spec_CXX='${wl}-E'
11654         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11655         # Instead, shared libraries are loaded at an image base (0x10000000 by
11656         # default) and relocated if they conflict, which is a slow very memory
11657         # consuming and fragmenting process.  To avoid this, we pick a random,
11658         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11659         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11660         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'
11661         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'
11662         ;;
11663       irix5* | irix6*)
11664         case $cc_basename in
11665           CC*)
11666             # SGI C++
11667             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'
11668
11669             # Archives containing C++ object files must be created using
11670             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11671             # necessary to make sure instantiated templates are included
11672             # in the archive.
11673             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11674             ;;
11675           *)
11676             if test "$GXX" = yes; then
11677               if test "$with_gnu_ld" = no; then
11678                 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'
11679               else
11680                 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'
11681               fi
11682             fi
11683             link_all_deplibs_CXX=yes
11684             ;;
11685         esac
11686         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11687         hardcode_libdir_separator_CXX=:
11688         inherit_rpath_CXX=yes
11689         ;;
11690
11691       linux* | k*bsd*-gnu)
11692         case $cc_basename in
11693           KCC*)
11694             # Kuck and Associates, Inc. (KAI) C++ Compiler
11695
11696             # KCC will only create a shared library if the output file
11697             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11698             # to its proper name (with version) after linking.
11699             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'
11700             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'
11701             # Commands to make compiler produce verbose output that lists
11702             # what "hidden" libraries, object files and flags are used when
11703             # linking a shared library.
11704             #
11705             # There doesn't appear to be a way to prevent this compiler from
11706             # explicitly linking system object files so we need to strip them
11707             # from the output so that they don't get included in the library
11708             # dependencies.
11709             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'
11710
11711             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11712             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11713
11714             # Archives containing C++ object files must be created using
11715             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11716             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11717             ;;
11718           icpc* | ecpc* )
11719             # Intel C++
11720             with_gnu_ld=yes
11721             # version 8.0 and above of icpc choke on multiply defined symbols
11722             # if we add $predep_objects and $postdep_objects, however 7.1 and
11723             # earlier do not add the objects themselves.
11724             case `$CC -V 2>&1` in
11725               *"Version 7."*)
11726                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727                 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'
11728                 ;;
11729               *)  # Version 8.0 or newer
11730                 tmp_idyn=
11731                 case $host_cpu in
11732                   ia64*) tmp_idyn=' -i_dynamic';;
11733                 esac
11734                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735                 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'
11736                 ;;
11737             esac
11738             archive_cmds_need_lc_CXX=no
11739             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11740             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11741             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11742             ;;
11743           pgCC*)
11744             # Portland Group C++ compiler
11745             case `$CC -V` in
11746             *pgCC\ [1-5]*)
11747               prelink_cmds_CXX='tpldir=Template.dir~
11748                 rm -rf $tpldir~
11749                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11750                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11751               old_archive_cmds_CXX='tpldir=Template.dir~
11752                 rm -rf $tpldir~
11753                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11754                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11755                 $RANLIB $oldlib'
11756               archive_cmds_CXX='tpldir=Template.dir~
11757                 rm -rf $tpldir~
11758                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11759                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11760               archive_expsym_cmds_CXX='tpldir=Template.dir~
11761                 rm -rf $tpldir~
11762                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11763                 $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'
11764               ;;
11765             *) # Version 6 will use weak symbols
11766               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11767               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'
11768               ;;
11769             esac
11770
11771             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11772             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11773             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'
11774             ;;
11775           cxx*)
11776             # Compaq C++
11777             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11778             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'
11779
11780             runpath_var=LD_RUN_PATH
11781             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11782             hardcode_libdir_separator_CXX=:
11783
11784             # Commands to make compiler produce verbose output that lists
11785             # what "hidden" libraries, object files and flags are used when
11786             # linking a shared library.
11787             #
11788             # There doesn't appear to be a way to prevent this compiler from
11789             # explicitly linking system object files so we need to strip them
11790             # from the output so that they don't get included in the library
11791             # dependencies.
11792             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'
11793             ;;
11794           *)
11795             case `$CC -V 2>&1 | sed 5q` in
11796             *Sun\ C*)
11797               # Sun C++ 5.9
11798               no_undefined_flag_CXX=' -zdefs'
11799               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11800               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'
11801               hardcode_libdir_flag_spec_CXX='-R$libdir'
11802               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'
11803               compiler_needs_object_CXX=yes
11804
11805               # Not sure whether something based on
11806               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11807               # would be better.
11808               output_verbose_link_cmd='echo'
11809
11810               # Archives containing C++ object files must be created using
11811               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11812               # necessary to make sure instantiated templates are included
11813               # in the archive.
11814               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11815               ;;
11816             esac
11817             ;;
11818         esac
11819         ;;
11820
11821       lynxos*)
11822         # FIXME: insert proper C++ library support
11823         ld_shlibs_CXX=no
11824         ;;
11825
11826       m88k*)
11827         # FIXME: insert proper C++ library support
11828         ld_shlibs_CXX=no
11829         ;;
11830
11831       mvs*)
11832         case $cc_basename in
11833           cxx*)
11834             # FIXME: insert proper C++ library support
11835             ld_shlibs_CXX=no
11836             ;;
11837           *)
11838             # FIXME: insert proper C++ library support
11839             ld_shlibs_CXX=no
11840             ;;
11841         esac
11842         ;;
11843
11844       netbsd*)
11845         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11846           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11847           wlarc=
11848           hardcode_libdir_flag_spec_CXX='-R$libdir'
11849           hardcode_direct_CXX=yes
11850           hardcode_shlibpath_var_CXX=no
11851         fi
11852         # Workaround some broken pre-1.5 toolchains
11853         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11854         ;;
11855
11856       *nto* | *qnx*)
11857         ld_shlibs_CXX=yes
11858         ;;
11859
11860       openbsd2*)
11861         # C++ shared libraries are fairly broken
11862         ld_shlibs_CXX=no
11863         ;;
11864
11865       openbsd*)
11866         hardcode_direct_CXX=yes
11867         hardcode_shlibpath_var_CXX=no
11868         hardcode_direct_absolute_CXX=yes
11869         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11870         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11871         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11872           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11873           export_dynamic_flag_spec_CXX='${wl}-E'
11874           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11875         fi
11876         output_verbose_link_cmd=echo
11877         ;;
11878
11879       osf3* | osf4* | osf5*)
11880         case $cc_basename in
11881           KCC*)
11882             # Kuck and Associates, Inc. (KAI) C++ Compiler
11883
11884             # KCC will only create a shared library if the output file
11885             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11886             # to its proper name (with version) after linking.
11887             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'
11888
11889             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11890             hardcode_libdir_separator_CXX=:
11891
11892             # Archives containing C++ object files must be created using
11893             # the KAI C++ compiler.
11894             case $host in
11895               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11896               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11897             esac
11898             ;;
11899           RCC*)
11900             # Rational C++ 2.4.1
11901             # FIXME: insert proper C++ library support
11902             ld_shlibs_CXX=no
11903             ;;
11904           cxx*)
11905             case $host in
11906               osf3*)
11907                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11908                 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'
11909                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11910                 ;;
11911               *)
11912                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11913                 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'
11914                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11915                   echo "-hidden">> $lib.exp~
11916                   $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~
11917                   $RM $lib.exp'
11918                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11919                 ;;
11920             esac
11921
11922             hardcode_libdir_separator_CXX=:
11923
11924             # Commands to make compiler produce verbose output that lists
11925             # what "hidden" libraries, object files and flags are used when
11926             # linking a shared library.
11927             #
11928             # There doesn't appear to be a way to prevent this compiler from
11929             # explicitly linking system object files so we need to strip them
11930             # from the output so that they don't get included in the library
11931             # dependencies.
11932             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'
11933             ;;
11934           *)
11935             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11936               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11937               case $host in
11938                 osf3*)
11939                   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'
11940                   ;;
11941                 *)
11942                   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'
11943                   ;;
11944               esac
11945
11946               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11947               hardcode_libdir_separator_CXX=:
11948
11949               # Commands to make compiler produce verbose output that lists
11950               # what "hidden" libraries, object files and flags are used when
11951               # linking a shared library.
11952               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11953
11954             else
11955               # FIXME: insert proper C++ library support
11956               ld_shlibs_CXX=no
11957             fi
11958             ;;
11959         esac
11960         ;;
11961
11962       psos*)
11963         # FIXME: insert proper C++ library support
11964         ld_shlibs_CXX=no
11965         ;;
11966
11967       sunos4*)
11968         case $cc_basename in
11969           CC*)
11970             # Sun C++ 4.x
11971             # FIXME: insert proper C++ library support
11972             ld_shlibs_CXX=no
11973             ;;
11974           lcc*)
11975             # Lucid
11976             # FIXME: insert proper C++ library support
11977             ld_shlibs_CXX=no
11978             ;;
11979           *)
11980             # FIXME: insert proper C++ library support
11981             ld_shlibs_CXX=no
11982             ;;
11983         esac
11984         ;;
11985
11986       solaris*)
11987         case $cc_basename in
11988           CC*)
11989             # Sun C++ 4.2, 5.x and Centerline C++
11990             archive_cmds_need_lc_CXX=yes
11991             no_undefined_flag_CXX=' -zdefs'
11992             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11993             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11994               $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'
11995
11996             hardcode_libdir_flag_spec_CXX='-R$libdir'
11997             hardcode_shlibpath_var_CXX=no
11998             case $host_os in
11999               solaris2.[0-5] | solaris2.[0-5].*) ;;
12000               *)
12001                 # The compiler driver will combine and reorder linker options,
12002                 # but understands `-z linker_flag'.
12003                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12004                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12005                 ;;
12006             esac
12007             link_all_deplibs_CXX=yes
12008
12009             output_verbose_link_cmd='echo'
12010
12011             # Archives containing C++ object files must be created using
12012             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12013             # necessary to make sure instantiated templates are included
12014             # in the archive.
12015             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12016             ;;
12017           gcx*)
12018             # Green Hills C++ Compiler
12019             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12020
12021             # The C++ compiler must be used to create the archive.
12022             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12023             ;;
12024           *)
12025             # GNU C++ compiler with Solaris linker
12026             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12027               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12028               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12029                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12030                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12031                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12032
12033                 # Commands to make compiler produce verbose output that lists
12034                 # what "hidden" libraries, object files and flags are used when
12035                 # linking a shared library.
12036                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12037               else
12038                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12039                 # platform.
12040                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12041                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12042                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12043
12044                 # Commands to make compiler produce verbose output that lists
12045                 # what "hidden" libraries, object files and flags are used when
12046                 # linking a shared library.
12047                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12048               fi
12049
12050               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12051               case $host_os in
12052                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12053                 *)
12054                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12055                   ;;
12056               esac
12057             fi
12058             ;;
12059         esac
12060         ;;
12061
12062     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12063       no_undefined_flag_CXX='${wl}-z,text'
12064       archive_cmds_need_lc_CXX=no
12065       hardcode_shlibpath_var_CXX=no
12066       runpath_var='LD_RUN_PATH'
12067
12068       case $cc_basename in
12069         CC*)
12070           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12072           ;;
12073         *)
12074           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12076           ;;
12077       esac
12078       ;;
12079
12080       sysv5* | sco3.2v5* | sco5v6*)
12081         # Note: We can NOT use -z defs as we might desire, because we do not
12082         # link with -lc, and that would cause any symbols used from libc to
12083         # always be unresolved, which means just about no library would
12084         # ever link correctly.  If we're not using GNU ld we use -z text
12085         # though, which does catch some bad symbols but isn't as heavy-handed
12086         # as -z defs.
12087         no_undefined_flag_CXX='${wl}-z,text'
12088         allow_undefined_flag_CXX='${wl}-z,nodefs'
12089         archive_cmds_need_lc_CXX=no
12090         hardcode_shlibpath_var_CXX=no
12091         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12092         hardcode_libdir_separator_CXX=':'
12093         link_all_deplibs_CXX=yes
12094         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12095         runpath_var='LD_RUN_PATH'
12096
12097         case $cc_basename in
12098           CC*)
12099             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12101             ;;
12102           *)
12103             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12105             ;;
12106         esac
12107       ;;
12108
12109       tandem*)
12110         case $cc_basename in
12111           NCC*)
12112             # NonStop-UX NCC 3.20
12113             # FIXME: insert proper C++ library support
12114             ld_shlibs_CXX=no
12115             ;;
12116           *)
12117             # FIXME: insert proper C++ library support
12118             ld_shlibs_CXX=no
12119             ;;
12120         esac
12121         ;;
12122
12123       vxworks*)
12124         # FIXME: insert proper C++ library support
12125         ld_shlibs_CXX=no
12126         ;;
12127
12128       *)
12129         # FIXME: insert proper C++ library support
12130         ld_shlibs_CXX=no
12131         ;;
12132     esac
12133
12134     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12135 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12136     test "$ld_shlibs_CXX" = no && can_build_shared=no
12137
12138     GCC_CXX="$GXX"
12139     LD_CXX="$LD"
12140
12141     ## CAVEAT EMPTOR:
12142     ## There is no encapsulation within the following macros, do not change
12143     ## the running order or otherwise move them around unless you know exactly
12144     ## what you are doing...
12145     # Dependencies to place before and after the object being linked:
12146 predep_objects_CXX=
12147 postdep_objects_CXX=
12148 predeps_CXX=
12149 postdeps_CXX=
12150 compiler_lib_search_path_CXX=
12151
12152 cat > conftest.$ac_ext <<_LT_EOF
12153 class Foo
12154 {
12155 public:
12156   Foo (void) { a = 0; }
12157 private:
12158   int a;
12159 };
12160 _LT_EOF
12161
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163   (eval $ac_compile) 2>&5
12164   ac_status=$?
12165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); }; then
12167   # Parse the compiler output and extract the necessary
12168   # objects, libraries and library flags.
12169
12170   # Sentinel used to keep track of whether or not we are before
12171   # the conftest object file.
12172   pre_test_object_deps_done=no
12173
12174   # The `*' in the case matches for architectures that use `case' in
12175   # $output_verbose_cmd can trigger glob expansion during the loop
12176   # eval without this substitution.
12177   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12178
12179   for p in `eval $output_verbose_link_cmd`; do
12180     case $p in
12181
12182     -L* | -R* | -l*)
12183        # Some compilers place space between "-{L,R}" and the path.
12184        # Remove the space.
12185        if test $p = "-L" ||
12186           test $p = "-R"; then
12187          prev=$p
12188          continue
12189        else
12190          prev=
12191        fi
12192
12193        if test "$pre_test_object_deps_done" = no; then
12194          case $p in
12195          -L* | -R*)
12196            # Internal compiler library paths should come after those
12197            # provided the user.  The postdeps already come after the
12198            # user supplied libs so there is no need to process them.
12199            if test -z "$compiler_lib_search_path_CXX"; then
12200              compiler_lib_search_path_CXX="${prev}${p}"
12201            else
12202              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12203            fi
12204            ;;
12205          # The "-l" case would never come before the object being
12206          # linked, so don't bother handling this case.
12207          esac
12208        else
12209          if test -z "$postdeps_CXX"; then
12210            postdeps_CXX="${prev}${p}"
12211          else
12212            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12213          fi
12214        fi
12215        ;;
12216
12217     *.$objext)
12218        # This assumes that the test object file only shows up
12219        # once in the compiler output.
12220        if test "$p" = "conftest.$objext"; then
12221          pre_test_object_deps_done=yes
12222          continue
12223        fi
12224
12225        if test "$pre_test_object_deps_done" = no; then
12226          if test -z "$predep_objects_CXX"; then
12227            predep_objects_CXX="$p"
12228          else
12229            predep_objects_CXX="$predep_objects_CXX $p"
12230          fi
12231        else
12232          if test -z "$postdep_objects_CXX"; then
12233            postdep_objects_CXX="$p"
12234          else
12235            postdep_objects_CXX="$postdep_objects_CXX $p"
12236          fi
12237        fi
12238        ;;
12239
12240     *) ;; # Ignore the rest.
12241
12242     esac
12243   done
12244
12245   # Clean up.
12246   rm -f a.out a.exe
12247 else
12248   echo "libtool.m4: error: problem compiling CXX test program"
12249 fi
12250
12251 $RM -f confest.$objext
12252
12253 # PORTME: override above test on systems where it is broken
12254 case $host_os in
12255 interix[3-9]*)
12256   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12257   # hack all around it, let's just trust "g++" to DTRT.
12258   predep_objects_CXX=
12259   postdep_objects_CXX=
12260   postdeps_CXX=
12261   ;;
12262
12263 linux*)
12264   case `$CC -V 2>&1 | sed 5q` in
12265   *Sun\ C*)
12266     # Sun C++ 5.9
12267
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     if test "$solaris_use_stlport4" != yes; then
12279       postdeps_CXX='-library=Cstd -library=Crun'
12280     fi
12281     ;;
12282   esac
12283   ;;
12284
12285 solaris*)
12286   case $cc_basename in
12287   CC*)
12288     # The more standards-conforming stlport4 library is
12289     # incompatible with the Cstd library. Avoid specifying
12290     # it if it's in CXXFLAGS. Ignore libCrun as
12291     # -library=stlport4 depends on it.
12292     case " $CXX $CXXFLAGS " in
12293     *" -library=stlport4 "*)
12294       solaris_use_stlport4=yes
12295       ;;
12296     esac
12297
12298     # Adding this requires a known-good setup of shared libraries for
12299     # Sun compiler versions before 5.6, else PIC objects from an old
12300     # archive will be linked into the output, leading to subtle bugs.
12301     if test "$solaris_use_stlport4" != yes; then
12302       postdeps_CXX='-library=Cstd -library=Crun'
12303     fi
12304     ;;
12305   esac
12306   ;;
12307 esac
12308
12309
12310 case " $postdeps_CXX " in
12311 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12312 esac
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339     lt_prog_compiler_wl_CXX=
12340 lt_prog_compiler_pic_CXX=
12341 lt_prog_compiler_static_CXX=
12342
12343 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12344 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12345
12346   # C++ specific cases for pic, static, wl, etc.
12347   if test "$GXX" = yes; then
12348     lt_prog_compiler_wl_CXX='-Wl,'
12349     lt_prog_compiler_static_CXX='-static'
12350
12351     case $host_os in
12352     aix*)
12353       # All AIX code is PIC.
12354       if test "$host_cpu" = ia64; then
12355         # AIX 5 now supports IA64 processor
12356         lt_prog_compiler_static_CXX='-Bstatic'
12357       fi
12358       ;;
12359     amigaos*)
12360       if test "$host_cpu" = m68k; then
12361         # FIXME: we need at least 68020 code to build shared libraries, but
12362         # adding the `-m68020' flag to GCC prevents building anything better,
12363         # like `-m68040'.
12364         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12365       fi
12366       ;;
12367     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12368       # PIC is the default for these OSes.
12369       ;;
12370     mingw* | cygwin* | os2* | pw32*)
12371       # This hack is so that the source file can tell whether it is being
12372       # built for inclusion in a dll (and should export symbols for example).
12373       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12374       # (--disable-auto-import) libraries
12375       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12376       ;;
12377     darwin* | rhapsody*)
12378       # PIC is the default on this platform
12379       # Common symbols not allowed in MH_DYLIB files
12380       lt_prog_compiler_pic_CXX='-fno-common'
12381       ;;
12382     *djgpp*)
12383       # DJGPP does not support shared libraries at all
12384       lt_prog_compiler_pic_CXX=
12385       ;;
12386     interix[3-9]*)
12387       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12388       # Instead, we relocate shared libraries at runtime.
12389       ;;
12390     sysv4*MP*)
12391       if test -d /usr/nec; then
12392         lt_prog_compiler_pic_CXX=-Kconform_pic
12393       fi
12394       ;;
12395     hpux*)
12396       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12397       # not for PA HP-UX.
12398       case $host_cpu in
12399       hppa*64*|ia64*)
12400         ;;
12401       *)
12402         lt_prog_compiler_pic_CXX='-fPIC'
12403         ;;
12404       esac
12405       ;;
12406     *qnx* | *nto*)
12407       # QNX uses GNU C++, but need to define -shared option too, otherwise
12408       # it will coredump.
12409       lt_prog_compiler_pic_CXX='-fPIC -shared'
12410       ;;
12411     *)
12412       lt_prog_compiler_pic_CXX='-fPIC'
12413       ;;
12414     esac
12415   else
12416     case $host_os in
12417       aix[4-9]*)
12418         # All AIX code is PIC.
12419         if test "$host_cpu" = ia64; then
12420           # AIX 5 now supports IA64 processor
12421           lt_prog_compiler_static_CXX='-Bstatic'
12422         else
12423           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12424         fi
12425         ;;
12426       chorus*)
12427         case $cc_basename in
12428         cxch68*)
12429           # Green Hills C++ Compiler
12430           # _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"
12431           ;;
12432         esac
12433         ;;
12434       darwin*)
12435         # PIC is the default on this platform
12436         # Common symbols not allowed in MH_DYLIB files
12437         case $cc_basename in
12438           xlc*)
12439           lt_prog_compiler_pic_CXX='-qnocommon'
12440           lt_prog_compiler_wl_CXX='-Wl,'
12441           ;;
12442         esac
12443         ;;
12444       dgux*)
12445         case $cc_basename in
12446           ec++*)
12447             lt_prog_compiler_pic_CXX='-KPIC'
12448             ;;
12449           ghcx*)
12450             # Green Hills C++ Compiler
12451             lt_prog_compiler_pic_CXX='-pic'
12452             ;;
12453           *)
12454             ;;
12455         esac
12456         ;;
12457       freebsd* | dragonfly*)
12458         # FreeBSD uses GNU C++
12459         ;;
12460       hpux9* | hpux10* | hpux11*)
12461         case $cc_basename in
12462           CC*)
12463             lt_prog_compiler_wl_CXX='-Wl,'
12464             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12465             if test "$host_cpu" != ia64; then
12466               lt_prog_compiler_pic_CXX='+Z'
12467             fi
12468             ;;
12469           aCC*)
12470             lt_prog_compiler_wl_CXX='-Wl,'
12471             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12472             case $host_cpu in
12473             hppa*64*|ia64*)
12474               # +Z the default
12475               ;;
12476             *)
12477               lt_prog_compiler_pic_CXX='+Z'
12478               ;;
12479             esac
12480             ;;
12481           *)
12482             ;;
12483         esac
12484         ;;
12485       interix*)
12486         # This is c89, which is MS Visual C++ (no shared libs)
12487         # Anyone wants to do a port?
12488         ;;
12489       irix5* | irix6* | nonstopux*)
12490         case $cc_basename in
12491           CC*)
12492             lt_prog_compiler_wl_CXX='-Wl,'
12493             lt_prog_compiler_static_CXX='-non_shared'
12494             # CC pic flag -KPIC is the default.
12495             ;;
12496           *)
12497             ;;
12498         esac
12499         ;;
12500       linux* | k*bsd*-gnu)
12501         case $cc_basename in
12502           KCC*)
12503             # KAI C++ Compiler
12504             lt_prog_compiler_wl_CXX='--backend -Wl,'
12505             lt_prog_compiler_pic_CXX='-fPIC'
12506             ;;
12507           icpc* | ecpc* )
12508             # Intel C++
12509             lt_prog_compiler_wl_CXX='-Wl,'
12510             lt_prog_compiler_pic_CXX='-KPIC'
12511             lt_prog_compiler_static_CXX='-static'
12512             ;;
12513           pgCC*)
12514             # Portland Group C++ compiler
12515             lt_prog_compiler_wl_CXX='-Wl,'
12516             lt_prog_compiler_pic_CXX='-fpic'
12517             lt_prog_compiler_static_CXX='-Bstatic'
12518             ;;
12519           cxx*)
12520             # Compaq C++
12521             # Make sure the PIC flag is empty.  It appears that all Alpha
12522             # Linux and Compaq Tru64 Unix objects are PIC.
12523             lt_prog_compiler_pic_CXX=
12524             lt_prog_compiler_static_CXX='-non_shared'
12525             ;;
12526           *)
12527             case `$CC -V 2>&1 | sed 5q` in
12528             *Sun\ C*)
12529               # Sun C++ 5.9
12530               lt_prog_compiler_pic_CXX='-KPIC'
12531               lt_prog_compiler_static_CXX='-Bstatic'
12532               lt_prog_compiler_wl_CXX='-Qoption ld '
12533               ;;
12534             esac
12535             ;;
12536         esac
12537         ;;
12538       lynxos*)
12539         ;;
12540       m88k*)
12541         ;;
12542       mvs*)
12543         case $cc_basename in
12544           cxx*)
12545             lt_prog_compiler_pic_CXX='-W c,exportall'
12546             ;;
12547           *)
12548             ;;
12549         esac
12550         ;;
12551       netbsd*)
12552         ;;
12553       *qnx* | *nto*)
12554         # QNX uses GNU C++, but need to define -shared option too, otherwise
12555         # it will coredump.
12556         lt_prog_compiler_pic_CXX='-fPIC -shared'
12557         ;;
12558       osf3* | osf4* | osf5*)
12559         case $cc_basename in
12560           KCC*)
12561             lt_prog_compiler_wl_CXX='--backend -Wl,'
12562             ;;
12563           RCC*)
12564             # Rational C++ 2.4.1
12565             lt_prog_compiler_pic_CXX='-pic'
12566             ;;
12567           cxx*)
12568             # Digital/Compaq C++
12569             lt_prog_compiler_wl_CXX='-Wl,'
12570             # Make sure the PIC flag is empty.  It appears that all Alpha
12571             # Linux and Compaq Tru64 Unix objects are PIC.
12572             lt_prog_compiler_pic_CXX=
12573             lt_prog_compiler_static_CXX='-non_shared'
12574             ;;
12575           *)
12576             ;;
12577         esac
12578         ;;
12579       psos*)
12580         ;;
12581       solaris*)
12582         case $cc_basename in
12583           CC*)
12584             # Sun C++ 4.2, 5.x and Centerline C++
12585             lt_prog_compiler_pic_CXX='-KPIC'
12586             lt_prog_compiler_static_CXX='-Bstatic'
12587             lt_prog_compiler_wl_CXX='-Qoption ld '
12588             ;;
12589           gcx*)
12590             # Green Hills C++ Compiler
12591             lt_prog_compiler_pic_CXX='-PIC'
12592             ;;
12593           *)
12594             ;;
12595         esac
12596         ;;
12597       sunos4*)
12598         case $cc_basename in
12599           CC*)
12600             # Sun C++ 4.x
12601             lt_prog_compiler_pic_CXX='-pic'
12602             lt_prog_compiler_static_CXX='-Bstatic'
12603             ;;
12604           lcc*)
12605             # Lucid
12606             lt_prog_compiler_pic_CXX='-pic'
12607             ;;
12608           *)
12609             ;;
12610         esac
12611         ;;
12612       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12613         case $cc_basename in
12614           CC*)
12615             lt_prog_compiler_wl_CXX='-Wl,'
12616             lt_prog_compiler_pic_CXX='-KPIC'
12617             lt_prog_compiler_static_CXX='-Bstatic'
12618             ;;
12619         esac
12620         ;;
12621       tandem*)
12622         case $cc_basename in
12623           NCC*)
12624             # NonStop-UX NCC 3.20
12625             lt_prog_compiler_pic_CXX='-KPIC'
12626             ;;
12627           *)
12628             ;;
12629         esac
12630         ;;
12631       vxworks*)
12632         ;;
12633       *)
12634         lt_prog_compiler_can_build_shared_CXX=no
12635         ;;
12636     esac
12637   fi
12638
12639 case $host_os in
12640   # For platforms which do not support PIC, -DPIC is meaningless:
12641   *djgpp*)
12642     lt_prog_compiler_pic_CXX=
12643     ;;
12644   *)
12645     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12646     ;;
12647 esac
12648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12649 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12650
12651
12652
12653 #
12654 # Check to make sure the PIC flag actually works.
12655 #
12656 if test -n "$lt_prog_compiler_pic_CXX"; then
12657   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12658 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12659 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12660   echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12662   lt_prog_compiler_pic_works_CXX=no
12663    ac_outfile=conftest.$ac_objext
12664    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12665    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12666    # Insert the option either (1) after the last *FLAGS variable, or
12667    # (2) before a word containing "conftest.", or (3) at the end.
12668    # Note that $ac_compile itself does not contain backslashes and begins
12669    # with a dollar sign (not a hyphen), so the echo should work correctly.
12670    # The option is referenced via a variable to avoid confusing sed.
12671    lt_compile=`echo "$ac_compile" | $SED \
12672    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12673    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12674    -e 's:$: $lt_compiler_flag:'`
12675    (eval echo "\"\$as_me:12675: $lt_compile\"" >&5)
12676    (eval "$lt_compile" 2>conftest.err)
12677    ac_status=$?
12678    cat conftest.err >&5
12679    echo "$as_me:12679: \$? = $ac_status" >&5
12680    if (exit $ac_status) && test -s "$ac_outfile"; then
12681      # The compiler can only warn and ignore the option if not recognized
12682      # So say no if there are warnings other than the usual output.
12683      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12684      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12686        lt_prog_compiler_pic_works_CXX=yes
12687      fi
12688    fi
12689    $RM conftest*
12690
12691 fi
12692 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12693 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12694
12695 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12696     case $lt_prog_compiler_pic_CXX in
12697      "" | " "*) ;;
12698      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12699      esac
12700 else
12701     lt_prog_compiler_pic_CXX=
12702      lt_prog_compiler_can_build_shared_CXX=no
12703 fi
12704
12705 fi
12706
12707
12708
12709 #
12710 # Check to make sure the static flag actually works.
12711 #
12712 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12713 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12714 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12715 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12716   echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718   lt_prog_compiler_static_works_CXX=no
12719    save_LDFLAGS="$LDFLAGS"
12720    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12721    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12722    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12723      # The linker can only warn and ignore the option if not recognized
12724      # So say no if there are warnings
12725      if test -s conftest.err; then
12726        # Append any errors to the config.log.
12727        cat conftest.err 1>&5
12728        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12729        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12730        if diff conftest.exp conftest.er2 >/dev/null; then
12731          lt_prog_compiler_static_works_CXX=yes
12732        fi
12733      else
12734        lt_prog_compiler_static_works_CXX=yes
12735      fi
12736    fi
12737    $RM conftest*
12738    LDFLAGS="$save_LDFLAGS"
12739
12740 fi
12741 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12742 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12743
12744 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12745     :
12746 else
12747     lt_prog_compiler_static_CXX=
12748 fi
12749
12750
12751
12752
12753     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12755 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12756   echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758   lt_cv_prog_compiler_c_o_CXX=no
12759    $RM -r conftest 2>/dev/null
12760    mkdir conftest
12761    cd conftest
12762    mkdir out
12763    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12764
12765    lt_compiler_flag="-o out/conftest2.$ac_objext"
12766    # Insert the option either (1) after the last *FLAGS variable, or
12767    # (2) before a word containing "conftest.", or (3) at the end.
12768    # Note that $ac_compile itself does not contain backslashes and begins
12769    # with a dollar sign (not a hyphen), so the echo should work correctly.
12770    lt_compile=`echo "$ac_compile" | $SED \
12771    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12772    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12773    -e 's:$: $lt_compiler_flag:'`
12774    (eval echo "\"\$as_me:12774: $lt_compile\"" >&5)
12775    (eval "$lt_compile" 2>out/conftest.err)
12776    ac_status=$?
12777    cat out/conftest.err >&5
12778    echo "$as_me:12778: \$? = $ac_status" >&5
12779    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12780    then
12781      # The compiler can only warn and ignore the option if not recognized
12782      # So say no if there are warnings
12783      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12784      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12785      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12786        lt_cv_prog_compiler_c_o_CXX=yes
12787      fi
12788    fi
12789    chmod u+w . 2>&5
12790    $RM conftest*
12791    # SGI C++ compiler will create directory out/ii_files/ for
12792    # template instantiation
12793    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12794    $RM out/* && rmdir out
12795    cd ..
12796    $RM -r conftest
12797    $RM conftest*
12798
12799 fi
12800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12802
12803
12804
12805     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12807 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12808   echo $ECHO_N "(cached) $ECHO_C" >&6
12809 else
12810   lt_cv_prog_compiler_c_o_CXX=no
12811    $RM -r conftest 2>/dev/null
12812    mkdir conftest
12813    cd conftest
12814    mkdir out
12815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12816
12817    lt_compiler_flag="-o out/conftest2.$ac_objext"
12818    # Insert the option either (1) after the last *FLAGS variable, or
12819    # (2) before a word containing "conftest.", or (3) at the end.
12820    # Note that $ac_compile itself does not contain backslashes and begins
12821    # with a dollar sign (not a hyphen), so the echo should work correctly.
12822    lt_compile=`echo "$ac_compile" | $SED \
12823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12825    -e 's:$: $lt_compiler_flag:'`
12826    (eval echo "\"\$as_me:12826: $lt_compile\"" >&5)
12827    (eval "$lt_compile" 2>out/conftest.err)
12828    ac_status=$?
12829    cat out/conftest.err >&5
12830    echo "$as_me:12830: \$? = $ac_status" >&5
12831    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12832    then
12833      # The compiler can only warn and ignore the option if not recognized
12834      # So say no if there are warnings
12835      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12836      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12837      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12838        lt_cv_prog_compiler_c_o_CXX=yes
12839      fi
12840    fi
12841    chmod u+w . 2>&5
12842    $RM conftest*
12843    # SGI C++ compiler will create directory out/ii_files/ for
12844    # template instantiation
12845    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12846    $RM out/* && rmdir out
12847    cd ..
12848    $RM -r conftest
12849    $RM conftest*
12850
12851 fi
12852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12854
12855
12856
12857
12858 hard_links="nottested"
12859 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12860   # do not overwrite the value of need_locks provided by the user
12861   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12863   hard_links=yes
12864   $RM conftest*
12865   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12866   touch conftest.a
12867   ln conftest.a conftest.b 2>&5 || hard_links=no
12868   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12869   echo "$as_me:$LINENO: result: $hard_links" >&5
12870 echo "${ECHO_T}$hard_links" >&6
12871   if test "$hard_links" = no; then
12872     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12874     need_locks=warn
12875   fi
12876 else
12877   need_locks=no
12878 fi
12879
12880
12881
12882     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12884
12885   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12886   case $host_os in
12887   aix[4-9]*)
12888     # If we're using GNU nm, then we don't want the "-C" option.
12889     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12890     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12891       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'
12892     else
12893       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'
12894     fi
12895     ;;
12896   pw32*)
12897     export_symbols_cmds_CXX="$ltdll_cmds"
12898   ;;
12899   cygwin* | mingw*)
12900     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'
12901   ;;
12902   *)
12903     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12904   ;;
12905   esac
12906
12907 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12908 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12909 test "$ld_shlibs_CXX" = no && can_build_shared=no
12910
12911 with_gnu_ld_CXX=$with_gnu_ld
12912
12913
12914
12915
12916
12917
12918 #
12919 # Do we need to explicitly link libc?
12920 #
12921 case "x$archive_cmds_need_lc_CXX" in
12922 x|xyes)
12923   # Assume -lc should be added
12924   archive_cmds_need_lc_CXX=yes
12925
12926   if test "$enable_shared" = yes && test "$GCC" = yes; then
12927     case $archive_cmds_CXX in
12928     *'~'*)
12929       # FIXME: we may have to deal with multi-command sequences.
12930       ;;
12931     '$CC '*)
12932       # Test whether the compiler implicitly links with -lc since on some
12933       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12934       # to ld, don't add -lc before -lgcc.
12935       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12936 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12937       $RM conftest*
12938       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12939
12940       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941   (eval $ac_compile) 2>&5
12942   ac_status=$?
12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944   (exit $ac_status); } 2>conftest.err; then
12945         soname=conftest
12946         lib=conftest
12947         libobjs=conftest.$ac_objext
12948         deplibs=
12949         wl=$lt_prog_compiler_wl_CXX
12950         pic_flag=$lt_prog_compiler_pic_CXX
12951         compiler_flags=-v
12952         linker_flags=-v
12953         verstring=
12954         output_objdir=.
12955         libname=conftest
12956         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12957         allow_undefined_flag_CXX=
12958         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12959   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12960   ac_status=$?
12961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962   (exit $ac_status); }
12963         then
12964           archive_cmds_need_lc_CXX=no
12965         else
12966           archive_cmds_need_lc_CXX=yes
12967         fi
12968         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12969       else
12970         cat conftest.err 1>&5
12971       fi
12972       $RM conftest*
12973       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12974 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12975       ;;
12976     esac
12977   fi
12978   ;;
12979 esac
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
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13046 withGCC=$GXX
13047 library_names_spec=
13048 libname_spec='lib$name'
13049 soname_spec=
13050 shrext_cmds=".so"
13051 postinstall_cmds=
13052 postuninstall_cmds=
13053 finish_cmds=
13054 finish_eval=
13055 shlibpath_var=
13056 shlibpath_overrides_runpath=unknown
13057 version_type=none
13058 dynamic_linker="$host_os ld.so"
13059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13060 need_lib_prefix=unknown
13061 hardcode_into_libs=no
13062
13063 # when you set need_version to no, make sure it does not cause -set_version
13064 # flags to be left without arguments
13065 need_version=unknown
13066
13067 case $host_os in
13068 aix3*)
13069   version_type=linux
13070   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13071   shlibpath_var=LIBPATH
13072
13073   # AIX 3 has no versioning support, so we append a major version to the name.
13074   soname_spec='${libname}${release}${shared_ext}$major'
13075   ;;
13076
13077 aix[4-9]*)
13078   version_type=linux
13079   need_lib_prefix=no
13080   need_version=no
13081   hardcode_into_libs=yes
13082   if test "$host_cpu" = ia64; then
13083     # AIX 5 supports IA64
13084     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13085     shlibpath_var=LD_LIBRARY_PATH
13086   else
13087     # With GCC up to 2.95.x, collect2 would create an import file
13088     # for dependence libraries.  The import file would start with
13089     # the line `#! .'.  This would cause the generated library to
13090     # depend on `.', always an invalid library.  This was fixed in
13091     # development snapshots of GCC prior to 3.0.
13092     case $host_os in
13093       aix4 | aix4.[01] | aix4.[01].*)
13094       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13095            echo ' yes '
13096            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13097         :
13098       else
13099         can_build_shared=no
13100       fi
13101       ;;
13102     esac
13103     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13104     # soname into executable. Probably we can add versioning support to
13105     # collect2, so additional links can be useful in future.
13106     if test "$aix_use_runtimelinking" = yes; then
13107       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13108       # instead of lib<name>.a to let people know that these are not
13109       # typical AIX shared libraries.
13110       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111     else
13112       # We preserve .a as extension for shared libraries through AIX4.2
13113       # and later when we are not doing run time linking.
13114       library_names_spec='${libname}${release}.a $libname.a'
13115       soname_spec='${libname}${release}${shared_ext}$major'
13116     fi
13117     shlibpath_var=LIBPATH
13118   fi
13119   ;;
13120
13121 amigaos*)
13122   if test "$host_cpu" = m68k; then
13123     library_names_spec='$libname.ixlibrary $libname.a'
13124     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13125     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'
13126   else
13127     dynamic_linker=no
13128   fi
13129   ;;
13130
13131 beos*)
13132   library_names_spec='${libname}${shared_ext}'
13133   dynamic_linker="$host_os ld.so"
13134   shlibpath_var=LIBRARY_PATH
13135   ;;
13136
13137 bsdi[45]*)
13138   version_type=linux
13139   need_version=no
13140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13141   soname_spec='${libname}${release}${shared_ext}$major'
13142   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13143   shlibpath_var=LD_LIBRARY_PATH
13144   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13145   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13146   # the default ld.so.conf also contains /usr/contrib/lib and
13147   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13148   # libtool to hard-code these into programs
13149   ;;
13150
13151 cygwin* | mingw* | pw32*)
13152   version_type=windows
13153   shrext_cmds=".dll"
13154   need_version=no
13155   need_lib_prefix=no
13156
13157   case $withGCC,$host_os in
13158   yes,cygwin* | yes,mingw* | yes,pw32*)
13159     library_names_spec='$libname.dll.a'
13160     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13161     postinstall_cmds='base_file=`basename \${file}`~
13162       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13163       dldir=$destdir/`dirname \$dlpath`~
13164       test -d \$dldir || mkdir -p \$dldir~
13165       $install_prog $dir/$dlname \$dldir/$dlname~
13166       chmod a+x \$dldir/$dlname~
13167       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13168         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13169       fi'
13170     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13171       dlpath=$dir/\$dldll~
13172        $RM \$dlpath'
13173     shlibpath_overrides_runpath=yes
13174
13175     case $host_os in
13176     cygwin*)
13177       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13178       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13179       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13180       ;;
13181     mingw*)
13182       # MinGW DLLs use traditional 'lib' prefix
13183       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13184       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13185       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13186         # It is most probably a Windows format PATH printed by
13187         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13188         # path with ; separators, and with drive letters. We can handle the
13189         # drive letters (cygwin fileutils understands them), so leave them,
13190         # especially as we might pass files found there to a mingw objdump,
13191         # which wouldn't understand a cygwinified path. Ahh.
13192         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13193       else
13194         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13195       fi
13196       ;;
13197     pw32*)
13198       # pw32 DLLs use 'pw' prefix rather than 'lib'
13199       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13200       ;;
13201     esac
13202     ;;
13203
13204   *)
13205     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13206     ;;
13207   esac
13208   dynamic_linker='Win32 ld.exe'
13209   # FIXME: first we should search . and the directory the executable is in
13210   shlibpath_var=PATH
13211   ;;
13212
13213 darwin* | rhapsody*)
13214   dynamic_linker="$host_os dyld"
13215   version_type=darwin
13216   need_lib_prefix=no
13217   need_version=no
13218   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13219   soname_spec='${libname}${release}${major}$shared_ext'
13220   shlibpath_overrides_runpath=yes
13221   shlibpath_var=DYLD_LIBRARY_PATH
13222   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13223
13224   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13225   ;;
13226
13227 dgux*)
13228   version_type=linux
13229   need_lib_prefix=no
13230   need_version=no
13231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13232   soname_spec='${libname}${release}${shared_ext}$major'
13233   shlibpath_var=LD_LIBRARY_PATH
13234   ;;
13235
13236 freebsd1*)
13237   dynamic_linker=no
13238   ;;
13239
13240 freebsd* | dragonfly*)
13241   # DragonFly does not have aout.  When/if they implement a new
13242   # versioning mechanism, adjust this.
13243   if test -x /usr/bin/objformat; then
13244     objformat=`/usr/bin/objformat`
13245   else
13246     case $host_os in
13247     freebsd[123]*) objformat=aout ;;
13248     *) objformat=elf ;;
13249     esac
13250   fi
13251   version_type=freebsd-$objformat
13252   case $version_type in
13253     freebsd-elf*)
13254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13255       need_version=no
13256       need_lib_prefix=no
13257       ;;
13258     freebsd-*)
13259       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13260       need_version=yes
13261       ;;
13262   esac
13263   shlibpath_var=LD_LIBRARY_PATH
13264   case $host_os in
13265   freebsd2*)
13266     shlibpath_overrides_runpath=yes
13267     ;;
13268   freebsd3.[01]* | freebsdelf3.[01]*)
13269     shlibpath_overrides_runpath=yes
13270     hardcode_into_libs=yes
13271     ;;
13272   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13273   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13274     shlibpath_overrides_runpath=no
13275     hardcode_into_libs=yes
13276     ;;
13277   *) # from 4.6 on, and DragonFly
13278     shlibpath_overrides_runpath=yes
13279     hardcode_into_libs=yes
13280     ;;
13281   esac
13282   ;;
13283
13284 gnu*)
13285   version_type=linux
13286   need_lib_prefix=no
13287   need_version=no
13288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13289   soname_spec='${libname}${release}${shared_ext}$major'
13290   shlibpath_var=LD_LIBRARY_PATH
13291   hardcode_into_libs=yes
13292   ;;
13293
13294 hpux9* | hpux10* | hpux11*)
13295   # Give a soname corresponding to the major version so that dld.sl refuses to
13296   # link against other versions.
13297   version_type=sunos
13298   need_lib_prefix=no
13299   need_version=no
13300   case $host_cpu in
13301   ia64*)
13302     shrext_cmds='.so'
13303     hardcode_into_libs=yes
13304     dynamic_linker="$host_os dld.so"
13305     shlibpath_var=LD_LIBRARY_PATH
13306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13308     soname_spec='${libname}${release}${shared_ext}$major'
13309     if test "X$HPUX_IA64_MODE" = X32; then
13310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13311     else
13312       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13313     fi
13314     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13315     ;;
13316   hppa*64*)
13317     shrext_cmds='.sl'
13318     hardcode_into_libs=yes
13319     dynamic_linker="$host_os dld.sl"
13320     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13321     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13323     soname_spec='${libname}${release}${shared_ext}$major'
13324     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13325     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13326     ;;
13327   *)
13328     shrext_cmds='.sl'
13329     dynamic_linker="$host_os dld.sl"
13330     shlibpath_var=SHLIB_PATH
13331     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333     soname_spec='${libname}${release}${shared_ext}$major'
13334     ;;
13335   esac
13336   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13337   postinstall_cmds='chmod 555 $lib'
13338   ;;
13339
13340 interix[3-9]*)
13341   version_type=linux
13342   need_lib_prefix=no
13343   need_version=no
13344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13345   soname_spec='${libname}${release}${shared_ext}$major'
13346   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13347   shlibpath_var=LD_LIBRARY_PATH
13348   shlibpath_overrides_runpath=no
13349   hardcode_into_libs=yes
13350   ;;
13351
13352 irix5* | irix6* | nonstopux*)
13353   case $host_os in
13354     nonstopux*) version_type=nonstopux ;;
13355     *)
13356         if test "$lt_cv_prog_gnu_ld" = yes; then
13357                 version_type=linux
13358         else
13359                 version_type=irix
13360         fi ;;
13361   esac
13362   need_lib_prefix=no
13363   need_version=no
13364   soname_spec='${libname}${release}${shared_ext}$major'
13365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13366   case $host_os in
13367   irix5* | nonstopux*)
13368     libsuff= shlibsuff=
13369     ;;
13370   *)
13371     case $LD in # libtool.m4 will add one of these switches to LD
13372     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13373       libsuff= shlibsuff= libmagic=32-bit;;
13374     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13375       libsuff=32 shlibsuff=N32 libmagic=N32;;
13376     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13377       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13378     *) libsuff= shlibsuff= libmagic=never-match;;
13379     esac
13380     ;;
13381   esac
13382   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13383   shlibpath_overrides_runpath=no
13384   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13385   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13386   hardcode_into_libs=yes
13387   ;;
13388
13389 # No shared lib support for Linux oldld, aout, or coff.
13390 linux*oldld* | linux*aout* | linux*coff*)
13391   dynamic_linker=no
13392   ;;
13393
13394 # This must be Linux ELF.
13395 linux* | k*bsd*-gnu)
13396   version_type=linux
13397   need_lib_prefix=no
13398   need_version=no
13399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13400   soname_spec='${libname}${release}${shared_ext}$major'
13401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13402   shlibpath_var=LD_LIBRARY_PATH
13403   shlibpath_overrides_runpath=no
13404   # Some binutils ld are patched to set DT_RUNPATH
13405   save_LDFLAGS=$LDFLAGS
13406   save_libdir=$libdir
13407   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13408        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13409   if test x$gcc_no_link = xyes; then
13410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412    { (exit 1); exit 1; }; }
13413 fi
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h.  */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h.  */
13420
13421 int
13422 main ()
13423 {
13424
13425   ;
13426   return 0;
13427 }
13428 _ACEOF
13429 rm -f conftest.$ac_objext conftest$ac_exeext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13431   (eval $ac_link) 2>conftest.er1
13432   ac_status=$?
13433   grep -v '^ *+' conftest.er1 >conftest.err
13434   rm -f conftest.er1
13435   cat conftest.err >&5
13436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437   (exit $ac_status); } &&
13438          { ac_try='test -z "$ac_cxx_werror_flag"
13439                          || test ! -s conftest.err'
13440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441   (eval $ac_try) 2>&5
13442   ac_status=$?
13443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444   (exit $ac_status); }; } &&
13445          { ac_try='test -s conftest$ac_exeext'
13446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447   (eval $ac_try) 2>&5
13448   ac_status=$?
13449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450   (exit $ac_status); }; }; then
13451   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13452   shlibpath_overrides_runpath=yes
13453 fi
13454
13455 else
13456   echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 fi
13460 rm -f conftest.err conftest.$ac_objext \
13461       conftest$ac_exeext conftest.$ac_ext
13462   LDFLAGS=$save_LDFLAGS
13463   libdir=$save_libdir
13464
13465   # This implies no fast_install, which is unacceptable.
13466   # Some rework will be needed to allow for fast_install
13467   # before this can be enabled.
13468   hardcode_into_libs=yes
13469
13470   # Append ld.so.conf contents to the search path
13471   if test -f /etc/ld.so.conf; then
13472     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' ' '`
13473     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13474   fi
13475
13476   # We used to test for /lib/ld.so.1 and disable shared libraries on
13477   # powerpc, because MkLinux only supported shared libraries with the
13478   # GNU dynamic linker.  Since this was broken with cross compilers,
13479   # most powerpc-linux boxes support dynamic linking these days and
13480   # people can always --disable-shared, the test was removed, and we
13481   # assume the GNU/Linux dynamic linker is in use.
13482   dynamic_linker='GNU/Linux ld.so'
13483   ;;
13484
13485 netbsd*)
13486   version_type=sunos
13487   need_lib_prefix=no
13488   need_version=no
13489   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492     dynamic_linker='NetBSD (a.out) ld.so'
13493   else
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     dynamic_linker='NetBSD ld.elf_so'
13497   fi
13498   shlibpath_var=LD_LIBRARY_PATH
13499   shlibpath_overrides_runpath=yes
13500   hardcode_into_libs=yes
13501   ;;
13502
13503 newsos6)
13504   version_type=linux
13505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13506   shlibpath_var=LD_LIBRARY_PATH
13507   shlibpath_overrides_runpath=yes
13508   ;;
13509
13510 *nto* | *qnx*)
13511   version_type=qnx
13512   need_lib_prefix=no
13513   need_version=no
13514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515   soname_spec='${libname}${release}${shared_ext}$major'
13516   shlibpath_var=LD_LIBRARY_PATH
13517   shlibpath_overrides_runpath=no
13518   hardcode_into_libs=yes
13519   dynamic_linker='ldqnx.so'
13520   ;;
13521
13522 openbsd*)
13523   version_type=sunos
13524   sys_lib_dlsearch_path_spec="/usr/lib"
13525   need_lib_prefix=no
13526   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13527   case $host_os in
13528     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13529     *)                          need_version=no  ;;
13530   esac
13531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13532   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13533   shlibpath_var=LD_LIBRARY_PATH
13534   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13535     case $host_os in
13536       openbsd2.[89] | openbsd2.[89].*)
13537         shlibpath_overrides_runpath=no
13538         ;;
13539       *)
13540         shlibpath_overrides_runpath=yes
13541         ;;
13542       esac
13543   else
13544     shlibpath_overrides_runpath=yes
13545   fi
13546   ;;
13547
13548 os2*)
13549   libname_spec='$name'
13550   shrext_cmds=".dll"
13551   need_lib_prefix=no
13552   library_names_spec='$libname${shared_ext} $libname.a'
13553   dynamic_linker='OS/2 ld.exe'
13554   shlibpath_var=LIBPATH
13555   ;;
13556
13557 osf3* | osf4* | osf5*)
13558   version_type=osf
13559   need_lib_prefix=no
13560   need_version=no
13561   soname_spec='${libname}${release}${shared_ext}$major'
13562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563   shlibpath_var=LD_LIBRARY_PATH
13564   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13565   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13566   ;;
13567
13568 rdos*)
13569   dynamic_linker=no
13570   ;;
13571
13572 solaris*)
13573   version_type=linux
13574   need_lib_prefix=no
13575   need_version=no
13576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577   soname_spec='${libname}${release}${shared_ext}$major'
13578   shlibpath_var=LD_LIBRARY_PATH
13579   shlibpath_overrides_runpath=yes
13580   hardcode_into_libs=yes
13581   # ldd complains unless libraries are executable
13582   postinstall_cmds='chmod +x $lib'
13583   ;;
13584
13585 sunos4*)
13586   version_type=sunos
13587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13588   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13589   shlibpath_var=LD_LIBRARY_PATH
13590   shlibpath_overrides_runpath=yes
13591   if test "$with_gnu_ld" = yes; then
13592     need_lib_prefix=no
13593   fi
13594   need_version=yes
13595   ;;
13596
13597 sysv4 | sysv4.3*)
13598   version_type=linux
13599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13600   soname_spec='${libname}${release}${shared_ext}$major'
13601   shlibpath_var=LD_LIBRARY_PATH
13602   case $host_vendor in
13603     sni)
13604       shlibpath_overrides_runpath=no
13605       need_lib_prefix=no
13606       runpath_var=LD_RUN_PATH
13607       ;;
13608     siemens)
13609       need_lib_prefix=no
13610       ;;
13611     motorola)
13612       need_lib_prefix=no
13613       need_version=no
13614       shlibpath_overrides_runpath=no
13615       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13616       ;;
13617   esac
13618   ;;
13619
13620 sysv4*MP*)
13621   if test -d /usr/nec ;then
13622     version_type=linux
13623     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13624     soname_spec='$libname${shared_ext}.$major'
13625     shlibpath_var=LD_LIBRARY_PATH
13626   fi
13627   ;;
13628
13629 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13630   version_type=freebsd-elf
13631   need_lib_prefix=no
13632   need_version=no
13633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13634   soname_spec='${libname}${release}${shared_ext}$major'
13635   shlibpath_var=LD_LIBRARY_PATH
13636   shlibpath_overrides_runpath=yes
13637   hardcode_into_libs=yes
13638   if test "$with_gnu_ld" = yes; then
13639     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13640   else
13641     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13642     case $host_os in
13643       sco3.2v5*)
13644         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13645         ;;
13646     esac
13647   fi
13648   sys_lib_dlsearch_path_spec='/usr/lib'
13649   ;;
13650
13651 tpf*)
13652   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13653   version_type=linux
13654   need_lib_prefix=no
13655   need_version=no
13656   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13657   shlibpath_var=LD_LIBRARY_PATH
13658   shlibpath_overrides_runpath=no
13659   hardcode_into_libs=yes
13660   ;;
13661
13662 uts4*)
13663   version_type=linux
13664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13665   soname_spec='${libname}${release}${shared_ext}$major'
13666   shlibpath_var=LD_LIBRARY_PATH
13667   ;;
13668
13669 *)
13670   dynamic_linker=no
13671   ;;
13672 esac
13673 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13674 echo "${ECHO_T}$dynamic_linker" >&6
13675 test "$dynamic_linker" = no && can_build_shared=no
13676
13677 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13678 if test "$GCC" = yes; then
13679   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13680 fi
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13718 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13719 hardcode_action_CXX=
13720 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13721    test -n "$runpath_var_CXX" ||
13722    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13723
13724   # We can hardcode non-existent directories.
13725   if test "$hardcode_direct_CXX" != no &&
13726      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13727      # have to relink, otherwise we might link with an installed library
13728      # when we should be linking with a yet-to-be-installed one
13729      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13730      test "$hardcode_minus_L_CXX" != no; then
13731     # Linking always hardcodes the temporary library directory.
13732     hardcode_action_CXX=relink
13733   else
13734     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13735     hardcode_action_CXX=immediate
13736   fi
13737 else
13738   # We cannot hardcode anything, or else we can only hardcode existing
13739   # directories.
13740   hardcode_action_CXX=unsupported
13741 fi
13742 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13743 echo "${ECHO_T}$hardcode_action_CXX" >&6
13744
13745 if test "$hardcode_action_CXX" = relink ||
13746    test "$inherit_rpath_CXX" = yes; then
13747   # Fast installation is not supported
13748   enable_fast_install=no
13749 elif test "$shlibpath_overrides_runpath" = yes ||
13750      test "$enable_shared" = no; then
13751   # Fast installation is not necessary
13752   enable_fast_install=needless
13753 fi
13754
13755
13756
13757
13758
13759
13760
13761   fi # test -n "$compiler"
13762
13763   CC=$lt_save_CC
13764   LDCXX=$LD
13765   LD=$lt_save_LD
13766   GCC=$lt_save_GCC
13767   with_gnu_ld=$lt_save_with_gnu_ld
13768   lt_cv_path_LDCXX=$lt_cv_path_LD
13769   lt_cv_path_LD=$lt_save_path_LD
13770   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13771   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13772 fi # test "$_lt_caught_CXX_error" != yes
13773
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792                   ac_config_commands="$ac_config_commands libtool"
13793
13794
13795
13796
13797 # Only expand once:
13798
13799
13800
13801
13802
13803 # Possibly disable most of the library.
13804 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13805 ## than just ignoring the results.  Faster /and/ more correct, win win.
13806
13807   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13808 if test "${enable_hosted_libstdcxx+set}" = set; then
13809   enableval="$enable_hosted_libstdcxx"
13810
13811 else
13812   case "$host" in
13813         arm*-*-symbianelf*)
13814             enable_hosted_libstdcxx=no
13815             ;;
13816         *)
13817             enable_hosted_libstdcxx=yes
13818             ;;
13819      esac
13820 fi;
13821   if test "$enable_hosted_libstdcxx" = no; then
13822     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13823 echo "$as_me: Only freestanding libraries will be built" >&6;}
13824     is_hosted=no
13825     hosted_define=0
13826     enable_abi_check=no
13827     enable_libstdcxx_pch=no
13828   else
13829     is_hosted=yes
13830     hosted_define=1
13831   fi
13832
13833
13834 cat >>confdefs.h <<_ACEOF
13835 #define _GLIBCXX_HOSTED $hosted_define
13836 _ACEOF
13837
13838
13839
13840 # Enable compiler support that doesn't require linking.
13841
13842   echo "$as_me:$LINENO: checking for exception model to use" >&5
13843 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13844
13845
13846   ac_ext=cc
13847 ac_cpp='$CXXCPP $CPPFLAGS'
13848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13851
13852    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13853 if test "${enable_sjlj_exceptions+set}" = set; then
13854   enableval="$enable_sjlj_exceptions"
13855
13856       case "$enableval" in
13857        yes|no|auto) ;;
13858        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13859 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13860    { (exit 1); exit 1; }; } ;;
13861                           esac
13862
13863 else
13864   enable_sjlj_exceptions=auto
13865 fi;
13866
13867
13868   if test $enable_sjlj_exceptions = auto; then
13869     # Botheration.  Now we've got to detect the exception model.  Link tests
13870     # against libgcc.a are problematic since we've not been given proper -L
13871     # bits for single-tree newlib and libgloss.
13872     #
13873     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13874     cat > conftest.$ac_ext << EOF
13875 #line 13875 "configure"
13876 struct S { ~S(); };
13877 void bar();
13878 void foo()
13879 {
13880   S s;
13881   bar();
13882 }
13883 EOF
13884     old_CXXFLAGS="$CXXFLAGS"
13885     CXXFLAGS=-S
13886     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887   (eval $ac_compile) 2>&5
13888   ac_status=$?
13889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890   (exit $ac_status); }; then
13891       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13892         enable_sjlj_exceptions=yes
13893       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13894         enable_sjlj_exceptions=no
13895       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13896         enable_sjlj_exceptions=no
13897       fi
13898     fi
13899     CXXFLAGS="$old_CXXFLAGS"
13900     rm -f conftest*
13901   fi
13902
13903   # This is a tad weird, for hysterical raisins.  We have to map
13904   # enable/disable to two different models.
13905   case $enable_sjlj_exceptions in
13906     yes)
13907
13908 cat >>confdefs.h <<\_ACEOF
13909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13910 _ACEOF
13911
13912       ac_exception_model_name=sjlj
13913       ;;
13914     no)
13915       ac_exception_model_name="call frame"
13916       ;;
13917     *)
13918       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13919 echo "$as_me: error: unable to detect exception model" >&2;}
13920    { (exit 1); exit 1; }; }
13921       ;;
13922   esac
13923  ac_ext=c
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13928
13929  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13930 echo "${ECHO_T}$ac_exception_model_name" >&6
13931
13932
13933    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13934 if test "${enable_libstdcxx_pch+set}" = set; then
13935   enableval="$enable_libstdcxx_pch"
13936
13937       case "$enableval" in
13938        yes|no) ;;
13939        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13940 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13941    { (exit 1); exit 1; }; } ;;
13942       esac
13943
13944 else
13945   enable_libstdcxx_pch=$is_hosted
13946 fi;
13947
13948   if test $enable_libstdcxx_pch = yes; then
13949     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13950 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13951 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13952   echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954   ac_save_CXXFLAGS="$CXXFLAGS"
13955        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13956
13957
13958        ac_ext=cc
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13963
13964        echo '#include <math.h>' > conftest.h
13965        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13966                           -o conftest.h.gch 1>&5 2>&1 &&
13967                 echo '#error "pch failed"' > conftest.h &&
13968           echo '#include "conftest.h"' > conftest.cc &&
13969                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13970        then
13971          glibcxx_cv_prog_CXX_pch=yes
13972        else
13973          glibcxx_cv_prog_CXX_pch=no
13974        fi
13975        rm -f conftest*
13976        CXXFLAGS=$ac_save_CXXFLAGS
13977        ac_ext=c
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13982
13983
13984 fi
13985 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13986 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13987     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13988   fi
13989
13990   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13991 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13992   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13993 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13994
13995
13996   if test $enable_libstdcxx_pch = yes; then
13997     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13998   else
13999     glibcxx_PCHFLAGS=""
14000   fi
14001
14002
14003
14004
14005
14006   ac_ext=cc
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14011
14012   old_CXXFLAGS="$CXXFLAGS"
14013
14014   # Compile unoptimized.
14015   CXXFLAGS='-O0 -S'
14016
14017   # Fake what AC_TRY_COMPILE does, without linking as this is
14018   # unnecessary for a builtins test.
14019
14020     cat > conftest.$ac_ext << EOF
14021 #line 14021 "configure"
14022 int main()
14023 {
14024   // NB: _Atomic_word not necessarily int.
14025   typedef int atomic_type;
14026   atomic_type c1;
14027   atomic_type c2;
14028   const atomic_type c3(0);
14029   __sync_fetch_and_add(&c1, c2);
14030   __sync_val_compare_and_swap(&c1, c3, c2);
14031   __sync_lock_test_and_set(&c1, c3);
14032   __sync_lock_release(&c1);
14033   __sync_synchronize();
14034   return 0;
14035 }
14036 EOF
14037
14038     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14039 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14040     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041   (eval $ac_compile) 2>&5
14042   ac_status=$?
14043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044   (exit $ac_status); }; then
14045       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14046         enable_atomic_builtinsi=no
14047       else
14048
14049 cat >>confdefs.h <<\_ACEOF
14050 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14051 _ACEOF
14052
14053         enable_atomic_builtinsi=yes
14054       fi
14055     fi
14056     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14057 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14058     rm -f conftest*
14059
14060     cat > conftest.$ac_ext << EOF
14061 #line 14061 "configure"
14062 int main()
14063 {
14064   typedef bool atomic_type;
14065   atomic_type c1;
14066   atomic_type c2;
14067   const atomic_type c3(0);
14068   __sync_fetch_and_add(&c1, c2);
14069   __sync_val_compare_and_swap(&c1, c3, c2);
14070   __sync_lock_test_and_set(&c1, c3);
14071   __sync_lock_release(&c1);
14072   __sync_synchronize();
14073   return 0;
14074 }
14075 EOF
14076
14077     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14078 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14079     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080   (eval $ac_compile) 2>&5
14081   ac_status=$?
14082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083   (exit $ac_status); }; then
14084       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14085         enable_atomic_builtinsb=no
14086       else
14087
14088 cat >>confdefs.h <<\_ACEOF
14089 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14090 _ACEOF
14091
14092         enable_atomic_builtinsb=yes
14093       fi
14094     fi
14095     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14096 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14097     rm -f conftest*
14098
14099   CXXFLAGS="$old_CXXFLAGS"
14100   ac_ext=c
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14105
14106
14107   # Set atomicity_dir to builtins if either of above tests pass.
14108   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14109     atomicity_dir=cpu/generic/atomicity_builtins
14110   fi
14111
14112   # If still generic, set to mutex.
14113   if test $atomicity_dir = "cpu/generic" ; then
14114     atomicity_dir=cpu/generic/atomicity_mutex
14115     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14116 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14117       if test $target_thread_file = single; then
14118         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14119 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14120         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14121 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14122       else
14123         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14124 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14125         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14126 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14127       fi
14128   fi
14129
14130
14131
14132   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14133 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14134   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14135   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14136 echo "${ECHO_T}$target_thread_file" >&6
14137
14138   if test $target_thread_file != single; then
14139
14140 cat >>confdefs.h <<\_ACEOF
14141 #define HAVE_GTHR_DEFAULT 1
14142 _ACEOF
14143
14144   fi
14145
14146   glibcxx_thread_h=gthr-$target_thread_file.h
14147
14148     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14149   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14150     enable_thread=yes
14151   else
14152    enable_thread=no
14153   fi
14154
14155
14156
14157
14158 # Checks for compiler support that don't require linking.
14159
14160   # All these tests are for C++; save the language and the compiler flags.
14161   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14162   # found in GLIBCXX_CONFIGURE.
14163
14164
14165   ac_ext=cc
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14170
14171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14172   ac_save_CXXFLAGS="$CXXFLAGS"
14173
14174   # Check for maintainer-mode bits.
14175   if test x"$USE_MAINTAINER_MODE" = xno; then
14176     WERROR=''
14177   else
14178     WERROR='-Werror'
14179   fi
14180
14181   # Check for -ffunction-sections -fdata-sections
14182   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14183 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14184   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14185   cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h.  */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h.  */
14191 int foo; void bar() { };
14192 int
14193 main ()
14194 {
14195
14196   ;
14197   return 0;
14198 }
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202   (eval $ac_compile) 2>conftest.er1
14203   ac_status=$?
14204   grep -v '^ *+' conftest.er1 >conftest.err
14205   rm -f conftest.er1
14206   cat conftest.err >&5
14207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208   (exit $ac_status); } &&
14209          { ac_try='test -z "$ac_cxx_werror_flag"
14210                          || test ! -s conftest.err'
14211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212   (eval $ac_try) 2>&5
14213   ac_status=$?
14214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215   (exit $ac_status); }; } &&
14216          { ac_try='test -s conftest.$ac_objext'
14217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218   (eval $ac_try) 2>&5
14219   ac_status=$?
14220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221   (exit $ac_status); }; }; then
14222   ac_fdsections=yes
14223 else
14224   echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14226
14227 ac_fdsections=no
14228 fi
14229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14230   if test "$ac_test_CXXFLAGS" = set; then
14231     CXXFLAGS="$ac_save_CXXFLAGS"
14232   else
14233     # this is the suspicious part
14234     CXXFLAGS=''
14235   fi
14236   if test x"$ac_fdsections" = x"yes"; then
14237     SECTION_FLAGS='-ffunction-sections -fdata-sections'
14238   fi
14239   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14240 echo "${ECHO_T}$ac_fdsections" >&6
14241
14242   ac_ext=c
14243 ac_cpp='$CPP $CPPFLAGS'
14244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14247
14248
14249
14250
14251
14252
14253   echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14254 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14255   if test "${ac_standard_layout+set}" = set; then
14256   echo $ECHO_N "(cached) $ECHO_C" >&6
14257 else
14258
14259
14260
14261   ac_ext=cc
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14266
14267   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14268   ac_save_CXXFLAGS="$CXXFLAGS"
14269   CXXFLAGS='-std=gnu++0x'
14270
14271   cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h.  */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h.  */
14277 struct b
14278                   {
14279                     bool t;
14280
14281                     // Need standard layout relaxation from POD
14282                     private:
14283                     b& operator=(const b&);
14284                     b(const b&);
14285                     };
14286
14287                     int main()
14288                     {
14289                       b tst1 = { false };
14290                        return 0;
14291                     }
14292 int
14293 main ()
14294 {
14295
14296   ;
14297   return 0;
14298 }
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302   (eval $ac_compile) 2>conftest.er1
14303   ac_status=$?
14304   grep -v '^ *+' conftest.er1 >conftest.err
14305   rm -f conftest.er1
14306   cat conftest.err >&5
14307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308   (exit $ac_status); } &&
14309          { ac_try='test -z "$ac_cxx_werror_flag"
14310                          || test ! -s conftest.err'
14311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312   (eval $ac_try) 2>&5
14313   ac_status=$?
14314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315   (exit $ac_status); }; } &&
14316          { ac_try='test -s conftest.$ac_objext'
14317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318   (eval $ac_try) 2>&5
14319   ac_status=$?
14320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321   (exit $ac_status); }; }; then
14322   ac_standard_layout=yes
14323 else
14324   echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14326
14327 ac_standard_layout=no
14328 fi
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14330
14331   CXXFLAGS="$ac_save_CXXFLAGS"
14332   ac_ext=c
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14337
14338
14339 fi
14340
14341   echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14342 echo "${ECHO_T}$ac_standard_layout" >&6
14343   if test x"$ac_standard_layout" = x"yes"; then
14344
14345 cat >>confdefs.h <<\_ACEOF
14346 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14347 _ACEOF
14348
14349   fi
14350
14351
14352 # Enable all the variable C++ runtime options that doesn't require linking.
14353
14354   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14355 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14356    # Check whether --enable-cstdio or --disable-cstdio was given.
14357 if test "${enable_cstdio+set}" = set; then
14358   enableval="$enable_cstdio"
14359
14360       case "$enableval" in
14361        stdio) ;;
14362        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14363 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14364    { (exit 1); exit 1; }; } ;;
14365                           esac
14366
14367 else
14368   enable_cstdio=stdio
14369 fi;
14370
14371
14372   # Now that libio has been removed, you can have any color you want as long
14373   # as it's black.  This is one big no-op until other packages are added, but
14374   # showing the framework never hurts.
14375   case ${enable_cstdio} in
14376     stdio)
14377       CSTDIO_H=config/io/c_io_stdio.h
14378       BASIC_FILE_H=config/io/basic_file_stdio.h
14379       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14380       echo "$as_me:$LINENO: result: stdio" >&5
14381 echo "${ECHO_T}stdio" >&6
14382       ;;
14383   esac
14384
14385
14386
14387
14388
14389
14390    # Check whether --enable-clocale or --disable-clocale was given.
14391 if test "${enable_clocale+set}" = set; then
14392   enableval="$enable_clocale"
14393
14394       case "$enableval" in
14395        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14396        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14397 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14398    { (exit 1); exit 1; }; } ;;
14399                           esac
14400
14401 else
14402   enable_clocale=auto
14403 fi;
14404
14405
14406   # Deal with gettext issues.  Default to not using it (=no) until we detect
14407   # support for it later.  Let the user turn it off via --e/d, but let that
14408   # default to on for easier handling.
14409   USE_NLS=no
14410   # Check whether --enable-nls or --disable-nls was given.
14411 if test "${enable_nls+set}" = set; then
14412   enableval="$enable_nls"
14413
14414 else
14415   enable_nls=yes
14416 fi;
14417
14418   # Either a known packaage, or "auto"
14419   if test $enable_clocale = no || test $enable_clocale = yes; then
14420      enable_clocale=auto
14421   fi
14422   enable_clocale_flag=$enable_clocale
14423
14424   # Probe for locale model to use if none specified.
14425   # Default to "generic".
14426   if test $enable_clocale_flag = auto; then
14427     case ${target_os} in
14428       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14429         enable_clocale_flag=gnu
14430         ;;
14431       darwin* | freebsd*)
14432         enable_clocale_flag=darwin
14433         ;;
14434       *)
14435         enable_clocale_flag=generic
14436         ;;
14437     esac
14438   fi
14439
14440   # Sanity check model, and test for special functionality.
14441   if test $enable_clocale_flag = gnu; then
14442     cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h.  */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h.  */
14448
14449     #include <features.h>
14450     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14451       _GLIBCXX_ok
14452     #endif
14453
14454 _ACEOF
14455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14456   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14457   enable_clocale_flag=gnu
14458 else
14459   enable_clocale_flag=generic
14460 fi
14461 rm -f conftest*
14462
14463
14464     if test $enable_clocale = auto; then
14465       # Test for bugs early in glibc-2.2.x series
14466       if test "$cross_compiling" = yes; then
14467   enable_clocale_flag=generic
14468 else
14469   cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h.  */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h.  */
14475
14476       #define _GNU_SOURCE 1
14477       #include <locale.h>
14478       #include <string.h>
14479       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14480       extern __typeof(newlocale) __newlocale;
14481       extern __typeof(duplocale) __duplocale;
14482       extern __typeof(strcoll_l) __strcoll_l;
14483       #endif
14484       int main()
14485       {
14486         const char __one[] = "Äuglein Augmen";
14487         const char __two[] = "Äuglein";
14488         int i;
14489         int j;
14490         __locale_t        loc;
14491         __locale_t        loc_dup;
14492         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14493         loc_dup = __duplocale(loc);
14494         i = __strcoll_l(__one, __two, loc);
14495         j = __strcoll_l(__one, __two, loc_dup);
14496         return 0;
14497       }
14498
14499 _ACEOF
14500 rm -f conftest$ac_exeext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502   (eval $ac_link) 2>&5
14503   ac_status=$?
14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507   (eval $ac_try) 2>&5
14508   ac_status=$?
14509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510   (exit $ac_status); }; }; then
14511   enable_clocale_flag=gnu
14512 else
14513   echo "$as_me: program exited with status $ac_status" >&5
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ( exit $ac_status )
14518 enable_clocale_flag=generic
14519 fi
14520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14521 fi
14522     fi
14523
14524     # Set it to scream when it hurts.
14525     ac_save_CFLAGS="$CFLAGS"
14526     CFLAGS="-Wimplicit-function-declaration -Werror"
14527
14528     # Use strxfrm_l if available.
14529     cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h.  */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h.  */
14535 #define _GNU_SOURCE 1
14536                     #include <string.h>
14537                     #include <locale.h>
14538 int
14539 main ()
14540 {
14541 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14542   ;
14543   return 0;
14544 }
14545 _ACEOF
14546 rm -f conftest.$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548   (eval $ac_compile) 2>conftest.er1
14549   ac_status=$?
14550   grep -v '^ *+' conftest.er1 >conftest.err
14551   rm -f conftest.er1
14552   cat conftest.err >&5
14553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554   (exit $ac_status); } &&
14555          { ac_try='test -z "$ac_c_werror_flag"
14556                          || test ! -s conftest.err'
14557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558   (eval $ac_try) 2>&5
14559   ac_status=$?
14560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561   (exit $ac_status); }; } &&
14562          { ac_try='test -s conftest.$ac_objext'
14563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564   (eval $ac_try) 2>&5
14565   ac_status=$?
14566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567   (exit $ac_status); }; }; then
14568
14569 cat >>confdefs.h <<\_ACEOF
14570 #define HAVE_STRXFRM_L 1
14571 _ACEOF
14572
14573 else
14574   echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14576
14577 fi
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579
14580     # Use strerror_l if available.
14581     cat >conftest.$ac_ext <<_ACEOF
14582 /* confdefs.h.  */
14583 _ACEOF
14584 cat confdefs.h >>conftest.$ac_ext
14585 cat >>conftest.$ac_ext <<_ACEOF
14586 /* end confdefs.h.  */
14587 #define _GNU_SOURCE 1
14588                     #include <string.h>
14589                     #include <locale.h>
14590 int
14591 main ()
14592 {
14593 __locale_t loc; strerror_l(5, loc);
14594   ;
14595   return 0;
14596 }
14597 _ACEOF
14598 rm -f conftest.$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600   (eval $ac_compile) 2>conftest.er1
14601   ac_status=$?
14602   grep -v '^ *+' conftest.er1 >conftest.err
14603   rm -f conftest.er1
14604   cat conftest.err >&5
14605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606   (exit $ac_status); } &&
14607          { ac_try='test -z "$ac_c_werror_flag"
14608                          || test ! -s conftest.err'
14609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610   (eval $ac_try) 2>&5
14611   ac_status=$?
14612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613   (exit $ac_status); }; } &&
14614          { ac_try='test -s conftest.$ac_objext'
14615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616   (eval $ac_try) 2>&5
14617   ac_status=$?
14618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619   (exit $ac_status); }; }; then
14620
14621 cat >>confdefs.h <<\_ACEOF
14622 #define HAVE_STRERROR_L 1
14623 _ACEOF
14624
14625 else
14626   echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.$ac_ext >&5
14628
14629 fi
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631
14632     CFLAGS="$ac_save_CFLAGS"
14633   fi
14634
14635   # Perhaps use strerror_r if available, and strerror_l isn't.
14636   ac_save_CFLAGS="$CFLAGS"
14637   CFLAGS="-Wimplicit-function-declaration -Werror"
14638   cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h.  */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h.  */
14644 #define _GNU_SOURCE 1
14645                   #include <string.h>
14646                   #include <locale.h>
14647 int
14648 main ()
14649 {
14650 char s[128]; strerror_r(5, s, 128);
14651   ;
14652   return 0;
14653 }
14654 _ACEOF
14655 rm -f conftest.$ac_objext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14657   (eval $ac_compile) 2>conftest.er1
14658   ac_status=$?
14659   grep -v '^ *+' conftest.er1 >conftest.err
14660   rm -f conftest.er1
14661   cat conftest.err >&5
14662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663   (exit $ac_status); } &&
14664          { ac_try='test -z "$ac_c_werror_flag"
14665                          || test ! -s conftest.err'
14666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667   (eval $ac_try) 2>&5
14668   ac_status=$?
14669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670   (exit $ac_status); }; } &&
14671          { ac_try='test -s conftest.$ac_objext'
14672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673   (eval $ac_try) 2>&5
14674   ac_status=$?
14675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676   (exit $ac_status); }; }; then
14677
14678 cat >>confdefs.h <<\_ACEOF
14679 #define HAVE_STRERROR_R 1
14680 _ACEOF
14681
14682 else
14683   echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14685
14686 fi
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688   CFLAGS="$ac_save_CFLAGS"
14689
14690   # Set configure bits for specified locale package
14691   echo "$as_me:$LINENO: checking for C locale to use" >&5
14692 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14693   case ${enable_clocale_flag} in
14694     generic)
14695       echo "$as_me:$LINENO: result: generic" >&5
14696 echo "${ECHO_T}generic" >&6
14697
14698       CLOCALE_H=config/locale/generic/c_locale.h
14699       CLOCALE_CC=config/locale/generic/c_locale.cc
14700       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14701       CCOLLATE_CC=config/locale/generic/collate_members.cc
14702       CCTYPE_CC=config/locale/generic/ctype_members.cc
14703       CMESSAGES_H=config/locale/generic/messages_members.h
14704       CMESSAGES_CC=config/locale/generic/messages_members.cc
14705       CMONEY_CC=config/locale/generic/monetary_members.cc
14706       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14707       CTIME_H=config/locale/generic/time_members.h
14708       CTIME_CC=config/locale/generic/time_members.cc
14709       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14710       ;;
14711     darwin)
14712       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14713 echo "${ECHO_T}darwin or freebsd" >&6
14714
14715       CLOCALE_H=config/locale/generic/c_locale.h
14716       CLOCALE_CC=config/locale/generic/c_locale.cc
14717       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14718       CCOLLATE_CC=config/locale/generic/collate_members.cc
14719       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14720       CMESSAGES_H=config/locale/generic/messages_members.h
14721       CMESSAGES_CC=config/locale/generic/messages_members.cc
14722       CMONEY_CC=config/locale/generic/monetary_members.cc
14723       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14724       CTIME_H=config/locale/generic/time_members.h
14725       CTIME_CC=config/locale/generic/time_members.cc
14726       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14727       ;;
14728
14729     gnu)
14730       echo "$as_me:$LINENO: result: gnu" >&5
14731 echo "${ECHO_T}gnu" >&6
14732
14733       # Declare intention to use gettext, and add support for specific
14734       # languages.
14735       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14736       ALL_LINGUAS="de fr"
14737
14738       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14739       # Extract the first word of "msgfmt", so it can be a program name with args.
14740 set dummy msgfmt; ac_word=$2
14741 echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14743 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14744   echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746   if test -n "$check_msgfmt"; then
14747   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14748 else
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14751 do
14752   IFS=$as_save_IFS
14753   test -z "$as_dir" && as_dir=.
14754   for ac_exec_ext in '' $ac_executable_extensions; do
14755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756     ac_cv_prog_check_msgfmt="yes"
14757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758     break 2
14759   fi
14760 done
14761 done
14762
14763   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14764 fi
14765 fi
14766 check_msgfmt=$ac_cv_prog_check_msgfmt
14767 if test -n "$check_msgfmt"; then
14768   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14769 echo "${ECHO_T}$check_msgfmt" >&6
14770 else
14771   echo "$as_me:$LINENO: result: no" >&5
14772 echo "${ECHO_T}no" >&6
14773 fi
14774
14775       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14776         USE_NLS=yes
14777       fi
14778       # Export the build objects.
14779       for ling in $ALL_LINGUAS; do \
14780         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14781         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14782       done
14783
14784
14785
14786       CLOCALE_H=config/locale/gnu/c_locale.h
14787       CLOCALE_CC=config/locale/gnu/c_locale.cc
14788       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14789       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14790       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14791       CMESSAGES_H=config/locale/gnu/messages_members.h
14792       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14793       CMONEY_CC=config/locale/gnu/monetary_members.cc
14794       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14795       CTIME_H=config/locale/gnu/time_members.h
14796       CTIME_CC=config/locale/gnu/time_members.cc
14797       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14798       ;;
14799     ieee_1003.1-2001)
14800       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14801 echo "${ECHO_T}IEEE 1003.1" >&6
14802
14803       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14804       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14805       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14806       CCOLLATE_CC=config/locale/generic/collate_members.cc
14807       CCTYPE_CC=config/locale/generic/ctype_members.cc
14808       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14809       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14810       CMONEY_CC=config/locale/generic/monetary_members.cc
14811       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14812       CTIME_H=config/locale/generic/time_members.h
14813       CTIME_CC=config/locale/generic/time_members.cc
14814       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14815       ;;
14816   esac
14817
14818   # This is where the testsuite looks for locale catalogs, using the
14819   # -DLOCALEDIR define during testsuite compilation.
14820   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14821
14822
14823   # A standalone libintl (e.g., GNU libintl) may be in use.
14824   if test $USE_NLS = yes; then
14825
14826 for ac_header in libintl.h
14827 do
14828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14830   echo "$as_me:$LINENO: checking for $ac_header" >&5
14831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14833   echo $ECHO_N "(cached) $ECHO_C" >&6
14834 fi
14835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14837 else
14838   # Is the header compilable?
14839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h.  */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h.  */
14847 $ac_includes_default
14848 #include <$ac_header>
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852   (eval $ac_compile) 2>conftest.er1
14853   ac_status=$?
14854   grep -v '^ *+' conftest.er1 >conftest.err
14855   rm -f conftest.er1
14856   cat conftest.err >&5
14857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858   (exit $ac_status); } &&
14859          { ac_try='test -z "$ac_c_werror_flag"
14860                          || test ! -s conftest.err'
14861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862   (eval $ac_try) 2>&5
14863   ac_status=$?
14864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865   (exit $ac_status); }; } &&
14866          { ac_try='test -s conftest.$ac_objext'
14867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868   (eval $ac_try) 2>&5
14869   ac_status=$?
14870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871   (exit $ac_status); }; }; then
14872   ac_header_compiler=yes
14873 else
14874   echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_header_compiler=no
14878 fi
14879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14881 echo "${ECHO_T}$ac_header_compiler" >&6
14882
14883 # Is the header present?
14884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14886 cat >conftest.$ac_ext <<_ACEOF
14887 /* confdefs.h.  */
14888 _ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h.  */
14892 #include <$ac_header>
14893 _ACEOF
14894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14895   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14896   ac_status=$?
14897   grep -v '^ *+' conftest.er1 >conftest.err
14898   rm -f conftest.er1
14899   cat conftest.err >&5
14900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901   (exit $ac_status); } >/dev/null; then
14902   if test -s conftest.err; then
14903     ac_cpp_err=$ac_c_preproc_warn_flag
14904     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14905   else
14906     ac_cpp_err=
14907   fi
14908 else
14909   ac_cpp_err=yes
14910 fi
14911 if test -z "$ac_cpp_err"; then
14912   ac_header_preproc=yes
14913 else
14914   echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14916
14917   ac_header_preproc=no
14918 fi
14919 rm -f conftest.err conftest.$ac_ext
14920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14921 echo "${ECHO_T}$ac_header_preproc" >&6
14922
14923 # So?  What about this header?
14924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14925   yes:no: )
14926     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14930     ac_header_preproc=yes
14931     ;;
14932   no:yes:* )
14933     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14935     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14936 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14937     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14939     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14940 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14943     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14945     (
14946       cat <<\_ASBOX
14947 ## ----------------------------------------- ##
14948 ## Report this to the package-unused lists.  ##
14949 ## ----------------------------------------- ##
14950 _ASBOX
14951     ) |
14952       sed "s/^/$as_me: WARNING:     /" >&2
14953     ;;
14954 esac
14955 echo "$as_me:$LINENO: checking for $ac_header" >&5
14956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14958   echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960   eval "$as_ac_Header=\$ac_header_preproc"
14961 fi
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14964
14965 fi
14966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14967   cat >>confdefs.h <<_ACEOF
14968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14969 _ACEOF
14970
14971 else
14972   USE_NLS=no
14973 fi
14974
14975 done
14976
14977     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14978 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14979 if test "${ac_cv_search_gettext+set}" = set; then
14980   echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982   ac_func_search_save_LIBS=$LIBS
14983 ac_cv_search_gettext=no
14984 if test x$gcc_no_link = xyes; then
14985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14987    { (exit 1); exit 1; }; }
14988 fi
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h.  */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h.  */
14995
14996 /* Override any gcc2 internal prototype to avoid an error.  */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 /* We use char because int might match the return type of a gcc2
15001    builtin and then its argument prototype would still apply.  */
15002 char gettext ();
15003 int
15004 main ()
15005 {
15006 gettext ();
15007   ;
15008   return 0;
15009 }
15010 _ACEOF
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15013   (eval $ac_link) 2>conftest.er1
15014   ac_status=$?
15015   grep -v '^ *+' conftest.er1 >conftest.err
15016   rm -f conftest.er1
15017   cat conftest.err >&5
15018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019   (exit $ac_status); } &&
15020          { ac_try='test -z "$ac_c_werror_flag"
15021                          || test ! -s conftest.err'
15022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023   (eval $ac_try) 2>&5
15024   ac_status=$?
15025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026   (exit $ac_status); }; } &&
15027          { ac_try='test -s conftest$ac_exeext'
15028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029   (eval $ac_try) 2>&5
15030   ac_status=$?
15031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032   (exit $ac_status); }; }; then
15033   ac_cv_search_gettext="none required"
15034 else
15035   echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15037
15038 fi
15039 rm -f conftest.err conftest.$ac_objext \
15040       conftest$ac_exeext conftest.$ac_ext
15041 if test "$ac_cv_search_gettext" = no; then
15042   for ac_lib in intl; do
15043     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15044     if test x$gcc_no_link = xyes; then
15045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15047    { (exit 1); exit 1; }; }
15048 fi
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h.  */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h.  */
15055
15056 /* Override any gcc2 internal prototype to avoid an error.  */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 /* We use char because int might match the return type of a gcc2
15061    builtin and then its argument prototype would still apply.  */
15062 char gettext ();
15063 int
15064 main ()
15065 {
15066 gettext ();
15067   ;
15068   return 0;
15069 }
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073   (eval $ac_link) 2>conftest.er1
15074   ac_status=$?
15075   grep -v '^ *+' conftest.er1 >conftest.err
15076   rm -f conftest.er1
15077   cat conftest.err >&5
15078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079   (exit $ac_status); } &&
15080          { ac_try='test -z "$ac_c_werror_flag"
15081                          || test ! -s conftest.err'
15082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083   (eval $ac_try) 2>&5
15084   ac_status=$?
15085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086   (exit $ac_status); }; } &&
15087          { ac_try='test -s conftest$ac_exeext'
15088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089   (eval $ac_try) 2>&5
15090   ac_status=$?
15091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092   (exit $ac_status); }; }; then
15093   ac_cv_search_gettext="-l$ac_lib"
15094 break
15095 else
15096   echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 fi
15100 rm -f conftest.err conftest.$ac_objext \
15101       conftest$ac_exeext conftest.$ac_ext
15102   done
15103 fi
15104 LIBS=$ac_func_search_save_LIBS
15105 fi
15106 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15107 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15108 if test "$ac_cv_search_gettext" != no; then
15109   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15110
15111 else
15112   USE_NLS=no
15113 fi
15114
15115   fi
15116   if test $USE_NLS = yes; then
15117
15118 cat >>confdefs.h <<\_ACEOF
15119 #define _GLIBCXX_USE_NLS 1
15120 _ACEOF
15121
15122   fi
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15140 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15141    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15142 if test "${enable_libstdcxx_allocator+set}" = set; then
15143   enableval="$enable_libstdcxx_allocator"
15144
15145       case "$enableval" in
15146        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15147        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15148 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15149    { (exit 1); exit 1; }; } ;;
15150                           esac
15151
15152 else
15153   enable_libstdcxx_allocator=auto
15154 fi;
15155
15156
15157   # If they didn't use this option switch, or if they specified --enable
15158   # with no specific model, we'll have to look for one.  If they
15159   # specified --disable (???), do likewise.
15160   if test $enable_libstdcxx_allocator = no ||
15161      test $enable_libstdcxx_allocator = yes;
15162   then
15163      enable_libstdcxx_allocator=auto
15164   fi
15165
15166   # Either a known package, or "auto". Auto implies the default choice
15167   # for a particular platform.
15168   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15169
15170   # Probe for host-specific support if no specific model is specified.
15171   # Default to "new".
15172   if test $enable_libstdcxx_allocator_flag = auto; then
15173     case ${target_os} in
15174       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15175         enable_libstdcxx_allocator_flag=new
15176         ;;
15177       *)
15178         enable_libstdcxx_allocator_flag=new
15179         ;;
15180     esac
15181   fi
15182   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15183 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15184
15185
15186   # Set configure bits for specified locale package
15187   case ${enable_libstdcxx_allocator_flag} in
15188     bitmap)
15189       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15190       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15191       ;;
15192     malloc)
15193       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15194       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15195       ;;
15196     mt)
15197       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15198       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15199       ;;
15200     new)
15201       ALLOCATOR_H=config/allocator/new_allocator_base.h
15202       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15203       ;;
15204     pool)
15205       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15206       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15207       ;;
15208   esac
15209
15210
15211
15212
15213
15214    # Check whether --enable-cheaders or --disable-cheaders was given.
15215 if test "${enable_cheaders+set}" = set; then
15216   enableval="$enable_cheaders"
15217
15218       case "$enableval" in
15219        c|c_std|c_global) ;;
15220        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15221 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15222    { (exit 1); exit 1; }; } ;;
15223                           esac
15224
15225 else
15226   enable_cheaders=$c_model
15227 fi;
15228
15229   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15230 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15231
15232   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15233
15234   # Allow overrides to configure.host here.
15235   if test $enable_cheaders = c_global; then
15236      c_compatibility=yes
15237   fi
15238
15239   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15240      c_extra=yes
15241   fi
15242
15243
15244
15245
15246
15247
15248
15249
15250    # Check whether --enable-long-long or --disable-long-long was given.
15251 if test "${enable_long_long+set}" = set; then
15252   enableval="$enable_long_long"
15253
15254       case "$enableval" in
15255        yes|no) ;;
15256        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15257 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15258    { (exit 1); exit 1; }; } ;;
15259       esac
15260
15261 else
15262   enable_long_long=yes
15263 fi;
15264
15265   if test $enable_long_long = yes; then
15266
15267 cat >>confdefs.h <<\_ACEOF
15268 #define _GLIBCXX_USE_LONG_LONG 1
15269 _ACEOF
15270
15271   fi
15272   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15273 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15274   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15275 echo "${ECHO_T}$enable_long_long" >&6
15276
15277
15278    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15279 if test "${enable_wchar_t+set}" = set; then
15280   enableval="$enable_wchar_t"
15281
15282       case "$enableval" in
15283        yes|no) ;;
15284        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15285 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15286    { (exit 1); exit 1; }; } ;;
15287       esac
15288
15289 else
15290   enable_wchar_t=yes
15291 fi;
15292
15293
15294   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15295
15296 for ac_header in wchar.h
15297 do
15298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15300   echo "$as_me:$LINENO: checking for $ac_header" >&5
15301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15303   echo $ECHO_N "(cached) $ECHO_C" >&6
15304 fi
15305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15307 else
15308   # Is the header compilable?
15309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h.  */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h.  */
15317 $ac_includes_default
15318 #include <$ac_header>
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322   (eval $ac_compile) 2>conftest.er1
15323   ac_status=$?
15324   grep -v '^ *+' conftest.er1 >conftest.err
15325   rm -f conftest.er1
15326   cat conftest.err >&5
15327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328   (exit $ac_status); } &&
15329          { ac_try='test -z "$ac_c_werror_flag"
15330                          || test ! -s conftest.err'
15331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332   (eval $ac_try) 2>&5
15333   ac_status=$?
15334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335   (exit $ac_status); }; } &&
15336          { ac_try='test -s conftest.$ac_objext'
15337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338   (eval $ac_try) 2>&5
15339   ac_status=$?
15340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341   (exit $ac_status); }; }; then
15342   ac_header_compiler=yes
15343 else
15344   echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15346
15347 ac_header_compiler=no
15348 fi
15349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15351 echo "${ECHO_T}$ac_header_compiler" >&6
15352
15353 # Is the header present?
15354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15356 cat >conftest.$ac_ext <<_ACEOF
15357 /* confdefs.h.  */
15358 _ACEOF
15359 cat confdefs.h >>conftest.$ac_ext
15360 cat >>conftest.$ac_ext <<_ACEOF
15361 /* end confdefs.h.  */
15362 #include <$ac_header>
15363 _ACEOF
15364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15365   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15366   ac_status=$?
15367   grep -v '^ *+' conftest.er1 >conftest.err
15368   rm -f conftest.er1
15369   cat conftest.err >&5
15370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371   (exit $ac_status); } >/dev/null; then
15372   if test -s conftest.err; then
15373     ac_cpp_err=$ac_c_preproc_warn_flag
15374     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15375   else
15376     ac_cpp_err=
15377   fi
15378 else
15379   ac_cpp_err=yes
15380 fi
15381 if test -z "$ac_cpp_err"; then
15382   ac_header_preproc=yes
15383 else
15384   echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15386
15387   ac_header_preproc=no
15388 fi
15389 rm -f conftest.err conftest.$ac_ext
15390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15391 echo "${ECHO_T}$ac_header_preproc" >&6
15392
15393 # So?  What about this header?
15394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15395   yes:no: )
15396     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15398     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15400     ac_header_preproc=yes
15401     ;;
15402   no:yes:* )
15403     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15405     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15406 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15407     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15409     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15410 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15411     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15413     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15415     (
15416       cat <<\_ASBOX
15417 ## ----------------------------------------- ##
15418 ## Report this to the package-unused lists.  ##
15419 ## ----------------------------------------- ##
15420 _ASBOX
15421     ) |
15422       sed "s/^/$as_me: WARNING:     /" >&2
15423     ;;
15424 esac
15425 echo "$as_me:$LINENO: checking for $ac_header" >&5
15426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15428   echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430   eval "$as_ac_Header=\$ac_header_preproc"
15431 fi
15432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15434
15435 fi
15436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15437   cat >>confdefs.h <<_ACEOF
15438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15439 _ACEOF
15440  ac_has_wchar_h=yes
15441 else
15442   ac_has_wchar_h=no
15443 fi
15444
15445 done
15446
15447   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15448 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15449   cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h.  */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h.  */
15455 #include <wchar.h>
15456 int
15457 main ()
15458 {
15459 mbstate_t teststate;
15460   ;
15461   return 0;
15462 }
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466   (eval $ac_compile) 2>conftest.er1
15467   ac_status=$?
15468   grep -v '^ *+' conftest.er1 >conftest.err
15469   rm -f conftest.er1
15470   cat conftest.err >&5
15471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472   (exit $ac_status); } &&
15473          { ac_try='test -z "$ac_c_werror_flag"
15474                          || test ! -s conftest.err'
15475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476   (eval $ac_try) 2>&5
15477   ac_status=$?
15478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479   (exit $ac_status); }; } &&
15480          { ac_try='test -s conftest.$ac_objext'
15481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482   (eval $ac_try) 2>&5
15483   ac_status=$?
15484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485   (exit $ac_status); }; }; then
15486   have_mbstate_t=yes
15487 else
15488   echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.$ac_ext >&5
15490
15491 have_mbstate_t=no
15492 fi
15493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15494   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15495 echo "${ECHO_T}$have_mbstate_t" >&6
15496   if test x"$have_mbstate_t" = xyes; then
15497
15498 cat >>confdefs.h <<\_ACEOF
15499 #define HAVE_MBSTATE_T 1
15500 _ACEOF
15501
15502   fi
15503
15504   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15505   # ac_has_wchar_h.
15506
15507 for ac_header in wctype.h
15508 do
15509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15511   echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514   echo $ECHO_N "(cached) $ECHO_C" >&6
15515 fi
15516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15518 else
15519   # Is the header compilable?
15520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h.  */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h.  */
15528 $ac_includes_default
15529 #include <$ac_header>
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533   (eval $ac_compile) 2>conftest.er1
15534   ac_status=$?
15535   grep -v '^ *+' conftest.er1 >conftest.err
15536   rm -f conftest.er1
15537   cat conftest.err >&5
15538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539   (exit $ac_status); } &&
15540          { ac_try='test -z "$ac_c_werror_flag"
15541                          || test ! -s conftest.err'
15542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543   (eval $ac_try) 2>&5
15544   ac_status=$?
15545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546   (exit $ac_status); }; } &&
15547          { ac_try='test -s conftest.$ac_objext'
15548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549   (eval $ac_try) 2>&5
15550   ac_status=$?
15551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552   (exit $ac_status); }; }; then
15553   ac_header_compiler=yes
15554 else
15555   echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15557
15558 ac_header_compiler=no
15559 fi
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15562 echo "${ECHO_T}$ac_header_compiler" >&6
15563
15564 # Is the header present?
15565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h.  */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h.  */
15573 #include <$ac_header>
15574 _ACEOF
15575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15576   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15577   ac_status=$?
15578   grep -v '^ *+' conftest.er1 >conftest.err
15579   rm -f conftest.er1
15580   cat conftest.err >&5
15581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582   (exit $ac_status); } >/dev/null; then
15583   if test -s conftest.err; then
15584     ac_cpp_err=$ac_c_preproc_warn_flag
15585     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15586   else
15587     ac_cpp_err=
15588   fi
15589 else
15590   ac_cpp_err=yes
15591 fi
15592 if test -z "$ac_cpp_err"; then
15593   ac_header_preproc=yes
15594 else
15595   echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598   ac_header_preproc=no
15599 fi
15600 rm -f conftest.err conftest.$ac_ext
15601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15602 echo "${ECHO_T}$ac_header_preproc" >&6
15603
15604 # So?  What about this header?
15605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606   yes:no: )
15607     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15609     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15611     ac_header_preproc=yes
15612     ;;
15613   no:yes:* )
15614     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15616     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15617 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15618     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15620     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15621 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15622     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15624     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15626     (
15627       cat <<\_ASBOX
15628 ## ----------------------------------------- ##
15629 ## Report this to the package-unused lists.  ##
15630 ## ----------------------------------------- ##
15631 _ASBOX
15632     ) |
15633       sed "s/^/$as_me: WARNING:     /" >&2
15634     ;;
15635 esac
15636 echo "$as_me:$LINENO: checking for $ac_header" >&5
15637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15639   echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641   eval "$as_ac_Header=\$ac_header_preproc"
15642 fi
15643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15645
15646 fi
15647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15648   cat >>confdefs.h <<_ACEOF
15649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15651  ac_has_wctype_h=yes
15652 else
15653   ac_has_wctype_h=no
15654 fi
15655
15656 done
15657
15658
15659   if test x"$enable_wchar_t" = x"yes"; then
15660
15661
15662
15663     ac_ext=cc
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15668
15669
15670     if test x"$ac_has_wchar_h" = xyes &&
15671        test x"$ac_has_wctype_h" = xyes; then
15672       cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h.  */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h.  */
15678 #include <wchar.h>
15679                       #include <stddef.h>
15680                       wint_t i;
15681                       long l = WEOF;
15682                       long j = WCHAR_MIN;
15683                       long k = WCHAR_MAX;
15684                       namespace test
15685                       {
15686                         using ::btowc;
15687                         using ::fgetwc;
15688                         using ::fgetws;
15689                         using ::fputwc;
15690                         using ::fputws;
15691                         using ::fwide;
15692                         using ::fwprintf;
15693                         using ::fwscanf;
15694                         using ::getwc;
15695                         using ::getwchar;
15696                         using ::mbrlen;
15697                         using ::mbrtowc;
15698                         using ::mbsinit;
15699                         using ::mbsrtowcs;
15700                         using ::putwc;
15701                         using ::putwchar;
15702                         using ::swprintf;
15703                         using ::swscanf;
15704                         using ::ungetwc;
15705                         using ::vfwprintf;
15706                         using ::vswprintf;
15707                         using ::vwprintf;
15708                         using ::wcrtomb;
15709                         using ::wcscat;
15710                         using ::wcschr;
15711                         using ::wcscmp;
15712                         using ::wcscoll;
15713                         using ::wcscpy;
15714                         using ::wcscspn;
15715                         using ::wcsftime;
15716                         using ::wcslen;
15717                         using ::wcsncat;
15718                         using ::wcsncmp;
15719                         using ::wcsncpy;
15720                         using ::wcspbrk;
15721                         using ::wcsrchr;
15722                         using ::wcsrtombs;
15723                         using ::wcsspn;
15724                         using ::wcsstr;
15725                         using ::wcstod;
15726                         using ::wcstok;
15727                         using ::wcstol;
15728                         using ::wcstoul;
15729                         using ::wcsxfrm;
15730                         using ::wctob;
15731                         using ::wmemchr;
15732                         using ::wmemcmp;
15733                         using ::wmemcpy;
15734                         using ::wmemmove;
15735                         using ::wmemset;
15736                         using ::wprintf;
15737                         using ::wscanf;
15738                       }
15739
15740 int
15741 main ()
15742 {
15743
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750   (eval $ac_compile) 2>conftest.er1
15751   ac_status=$?
15752   grep -v '^ *+' conftest.er1 >conftest.err
15753   rm -f conftest.er1
15754   cat conftest.err >&5
15755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756   (exit $ac_status); } &&
15757          { ac_try='test -z "$ac_cxx_werror_flag"
15758                          || test ! -s conftest.err'
15759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760   (eval $ac_try) 2>&5
15761   ac_status=$?
15762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763   (exit $ac_status); }; } &&
15764          { ac_try='test -s conftest.$ac_objext'
15765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766   (eval $ac_try) 2>&5
15767   ac_status=$?
15768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769   (exit $ac_status); }; }; then
15770   :
15771 else
15772   echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15774
15775 enable_wchar_t=no
15776 fi
15777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15778     else
15779       enable_wchar_t=no
15780     fi
15781
15782     ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15787
15788   fi
15789
15790   if test x"$enable_wchar_t" = x"yes"; then
15791
15792 cat >>confdefs.h <<\_ACEOF
15793 #define _GLIBCXX_USE_WCHAR_T 1
15794 _ACEOF
15795
15796   fi
15797
15798   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15799 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15800   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15801 echo "${ECHO_T}$enable_wchar_t" >&6
15802
15803
15804
15805    # Check whether --enable-c99 or --disable-c99 was given.
15806 if test "${enable_c99+set}" = set; then
15807   enableval="$enable_c99"
15808
15809       case "$enableval" in
15810        yes|no) ;;
15811        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15812 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15813    { (exit 1); exit 1; }; } ;;
15814       esac
15815
15816 else
15817   enable_c99=yes
15818 fi;
15819
15820
15821   if test x"$enable_c99" = x"yes"; then
15822
15823
15824
15825   ac_ext=cc
15826 ac_cpp='$CXXCPP $CPPFLAGS'
15827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15830
15831
15832   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15833   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15834   # spuriously enabled.
15835   # Long term, -std=c++0x could be even better, could manage to explicitely
15836   # request C99 facilities to the underlying C headers.
15837   ac_save_CXXFLAGS="$CXXFLAGS"
15838   CXXFLAGS="$CXXFLAGS -std=c++98"
15839   ac_save_LIBS="$LIBS"
15840   ac_save_gcc_no_link="$gcc_no_link"
15841
15842   if test x$gcc_no_link != xyes; then
15843     # Use -fno-exceptions to that the C driver can link these tests without
15844     # hitting undefined references to personality routines.
15845     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15847 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15848 if test "${ac_cv_lib_m_sin+set}" = set; then
15849   echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851   ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lm  $LIBS"
15853 if test x$gcc_no_link = xyes; then
15854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15856    { (exit 1); exit 1; }; }
15857 fi
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h.  */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h.  */
15864
15865 /* Override any gcc2 internal prototype to avoid an error.  */
15866 #ifdef __cplusplus
15867 extern "C"
15868 #endif
15869 /* We use char because int might match the return type of a gcc2
15870    builtin and then its argument prototype would still apply.  */
15871 char sin ();
15872 int
15873 main ()
15874 {
15875 sin ();
15876   ;
15877   return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882   (eval $ac_link) 2>conftest.er1
15883   ac_status=$?
15884   grep -v '^ *+' conftest.er1 >conftest.err
15885   rm -f conftest.er1
15886   cat conftest.err >&5
15887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888   (exit $ac_status); } &&
15889          { ac_try='test -z "$ac_cxx_werror_flag"
15890                          || test ! -s conftest.err'
15891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892   (eval $ac_try) 2>&5
15893   ac_status=$?
15894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895   (exit $ac_status); }; } &&
15896          { ac_try='test -s conftest$ac_exeext'
15897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898   (eval $ac_try) 2>&5
15899   ac_status=$?
15900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901   (exit $ac_status); }; }; then
15902   ac_cv_lib_m_sin=yes
15903 else
15904   echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15906
15907 ac_cv_lib_m_sin=no
15908 fi
15909 rm -f conftest.err conftest.$ac_objext \
15910       conftest$ac_exeext conftest.$ac_ext
15911 LIBS=$ac_check_lib_save_LIBS
15912 fi
15913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15914 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15915 if test $ac_cv_lib_m_sin = yes; then
15916
15917       LIBS="$LIBS -lm"
15918
15919 else
15920
15921       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15922       gcc_no_link=yes
15923
15924 fi
15925
15926   fi
15927
15928   # Check for the existence of <math.h> functions used if C99 is enabled.
15929   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15930 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15931   if test "${glibcxx_cv_c99_math+set}" = set; then
15932   echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15934
15935   if test x$gcc_no_link = xyes; then
15936   cat >conftest.$ac_ext <<_ACEOF
15937 /* confdefs.h.  */
15938 _ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h.  */
15942 #include <math.h>
15943       volatile double d1, d2;
15944       volatile int i;
15945 int
15946 main ()
15947 {
15948 i = fpclassify(d1);
15949       i = isfinite(d1);
15950       i = isinf(d1);
15951       i = isnan(d1);
15952       i = isnormal(d1);
15953       i = signbit(d1);
15954       i = isgreater(d1, d2);
15955       i = isgreaterequal(d1, d2);
15956       i = isless(d1, d2);
15957       i = islessequal(d1, d2);
15958       i = islessgreater(d1, d2);
15959       i = islessgreater(d1, d2);
15960       i = isunordered(d1, d2);
15961
15962   ;
15963   return 0;
15964 }
15965 _ACEOF
15966 rm -f conftest.$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968   (eval $ac_compile) 2>conftest.er1
15969   ac_status=$?
15970   grep -v '^ *+' conftest.er1 >conftest.err
15971   rm -f conftest.er1
15972   cat conftest.err >&5
15973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974   (exit $ac_status); } &&
15975          { ac_try='test -z "$ac_cxx_werror_flag"
15976                          || test ! -s conftest.err'
15977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978   (eval $ac_try) 2>&5
15979   ac_status=$?
15980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981   (exit $ac_status); }; } &&
15982          { ac_try='test -s conftest.$ac_objext'
15983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984   (eval $ac_try) 2>&5
15985   ac_status=$?
15986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987   (exit $ac_status); }; }; then
15988   glibcxx_cv_c99_math=yes
15989 else
15990   echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 glibcxx_cv_c99_math=no
15994 fi
15995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15996 else
15997   if test x$gcc_no_link = xyes; then
15998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16000    { (exit 1); exit 1; }; }
16001 fi
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h.  */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h.  */
16008 #include <math.h>
16009       volatile double d1, d2;
16010       volatile int i;
16011 int
16012 main ()
16013 {
16014 i = fpclassify(d1);
16015       i = isfinite(d1);
16016       i = isinf(d1);
16017       i = isnan(d1);
16018       i = isnormal(d1);
16019       i = signbit(d1);
16020       i = isgreater(d1, d2);
16021       i = isgreaterequal(d1, d2);
16022       i = isless(d1, d2);
16023       i = islessequal(d1, d2);
16024       i = islessgreater(d1, d2);
16025       i = islessgreater(d1, d2);
16026       i = isunordered(d1, d2);
16027
16028   ;
16029   return 0;
16030 }
16031 _ACEOF
16032 rm -f conftest.$ac_objext conftest$ac_exeext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16034   (eval $ac_link) 2>conftest.er1
16035   ac_status=$?
16036   grep -v '^ *+' conftest.er1 >conftest.err
16037   rm -f conftest.er1
16038   cat conftest.err >&5
16039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040   (exit $ac_status); } &&
16041          { ac_try='test -z "$ac_cxx_werror_flag"
16042                          || test ! -s conftest.err'
16043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044   (eval $ac_try) 2>&5
16045   ac_status=$?
16046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047   (exit $ac_status); }; } &&
16048          { ac_try='test -s conftest$ac_exeext'
16049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050   (eval $ac_try) 2>&5
16051   ac_status=$?
16052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053   (exit $ac_status); }; }; then
16054   glibcxx_cv_c99_math=yes
16055 else
16056   echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 glibcxx_cv_c99_math=no
16060 fi
16061 rm -f conftest.err conftest.$ac_objext \
16062       conftest$ac_exeext conftest.$ac_ext
16063 fi
16064
16065 fi
16066
16067   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16068 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16069   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16070
16071 cat >>confdefs.h <<\_ACEOF
16072 #define _GLIBCXX_USE_C99_MATH 1
16073 _ACEOF
16074
16075   fi
16076
16077   # Check for the existence of <complex.h> complex math functions.
16078   # This is necessary even though libstdc++ uses the builtin versions
16079   # of these functions, because if the builtin cannot be used, a reference
16080   # to the library function is emitted.
16081
16082 for ac_header in tgmath.h
16083 do
16084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16086   echo "$as_me:$LINENO: checking for $ac_header" >&5
16087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16089   echo $ECHO_N "(cached) $ECHO_C" >&6
16090 fi
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16093 else
16094   # Is the header compilable?
16095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h.  */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h.  */
16103 $ac_includes_default
16104 #include <$ac_header>
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16108   (eval $ac_compile) 2>conftest.er1
16109   ac_status=$?
16110   grep -v '^ *+' conftest.er1 >conftest.err
16111   rm -f conftest.er1
16112   cat conftest.err >&5
16113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114   (exit $ac_status); } &&
16115          { ac_try='test -z "$ac_cxx_werror_flag"
16116                          || test ! -s conftest.err'
16117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118   (eval $ac_try) 2>&5
16119   ac_status=$?
16120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121   (exit $ac_status); }; } &&
16122          { ac_try='test -s conftest.$ac_objext'
16123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124   (eval $ac_try) 2>&5
16125   ac_status=$?
16126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127   (exit $ac_status); }; }; then
16128   ac_header_compiler=yes
16129 else
16130   echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 ac_header_compiler=no
16134 fi
16135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16137 echo "${ECHO_T}$ac_header_compiler" >&6
16138
16139 # Is the header present?
16140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h.  */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h.  */
16148 #include <$ac_header>
16149 _ACEOF
16150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16151   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16152   ac_status=$?
16153   grep -v '^ *+' conftest.er1 >conftest.err
16154   rm -f conftest.er1
16155   cat conftest.err >&5
16156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157   (exit $ac_status); } >/dev/null; then
16158   if test -s conftest.err; then
16159     ac_cpp_err=$ac_cxx_preproc_warn_flag
16160     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16161   else
16162     ac_cpp_err=
16163   fi
16164 else
16165   ac_cpp_err=yes
16166 fi
16167 if test -z "$ac_cpp_err"; then
16168   ac_header_preproc=yes
16169 else
16170   echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173   ac_header_preproc=no
16174 fi
16175 rm -f conftest.err conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16177 echo "${ECHO_T}$ac_header_preproc" >&6
16178
16179 # So?  What about this header?
16180 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16181   yes:no: )
16182     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16186     ac_header_preproc=yes
16187     ;;
16188   no:yes:* )
16189     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16191     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16192 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16193     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16195     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16196 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16197     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16199     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16201     (
16202       cat <<\_ASBOX
16203 ## ----------------------------------------- ##
16204 ## Report this to the package-unused lists.  ##
16205 ## ----------------------------------------- ##
16206 _ASBOX
16207     ) |
16208       sed "s/^/$as_me: WARNING:     /" >&2
16209     ;;
16210 esac
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214   echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216   eval "$as_ac_Header=\$ac_header_preproc"
16217 fi
16218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16220
16221 fi
16222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16223   cat >>confdefs.h <<_ACEOF
16224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16225 _ACEOF
16226  ac_has_tgmath_h=yes
16227 else
16228   ac_has_tgmath_h=no
16229 fi
16230
16231 done
16232
16233
16234 for ac_header in complex.h
16235 do
16236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16238   echo "$as_me:$LINENO: checking for $ac_header" >&5
16239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16241   echo $ECHO_N "(cached) $ECHO_C" >&6
16242 fi
16243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16245 else
16246   # Is the header compilable?
16247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h.  */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h.  */
16255 $ac_includes_default
16256 #include <$ac_header>
16257 _ACEOF
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260   (eval $ac_compile) 2>conftest.er1
16261   ac_status=$?
16262   grep -v '^ *+' conftest.er1 >conftest.err
16263   rm -f conftest.er1
16264   cat conftest.err >&5
16265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266   (exit $ac_status); } &&
16267          { ac_try='test -z "$ac_cxx_werror_flag"
16268                          || test ! -s conftest.err'
16269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270   (eval $ac_try) 2>&5
16271   ac_status=$?
16272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273   (exit $ac_status); }; } &&
16274          { ac_try='test -s conftest.$ac_objext'
16275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276   (eval $ac_try) 2>&5
16277   ac_status=$?
16278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279   (exit $ac_status); }; }; then
16280   ac_header_compiler=yes
16281 else
16282   echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 ac_header_compiler=no
16286 fi
16287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16289 echo "${ECHO_T}$ac_header_compiler" >&6
16290
16291 # Is the header present?
16292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h.  */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h.  */
16300 #include <$ac_header>
16301 _ACEOF
16302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16303   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16304   ac_status=$?
16305   grep -v '^ *+' conftest.er1 >conftest.err
16306   rm -f conftest.er1
16307   cat conftest.err >&5
16308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309   (exit $ac_status); } >/dev/null; then
16310   if test -s conftest.err; then
16311     ac_cpp_err=$ac_cxx_preproc_warn_flag
16312     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16313   else
16314     ac_cpp_err=
16315   fi
16316 else
16317   ac_cpp_err=yes
16318 fi
16319 if test -z "$ac_cpp_err"; then
16320   ac_header_preproc=yes
16321 else
16322   echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16324
16325   ac_header_preproc=no
16326 fi
16327 rm -f conftest.err conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16329 echo "${ECHO_T}$ac_header_preproc" >&6
16330
16331 # So?  What about this header?
16332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16333   yes:no: )
16334     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16336     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16338     ac_header_preproc=yes
16339     ;;
16340   no:yes:* )
16341     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16343     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16344 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16345     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16347     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16348 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16349     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16351     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16353     (
16354       cat <<\_ASBOX
16355 ## ----------------------------------------- ##
16356 ## Report this to the package-unused lists.  ##
16357 ## ----------------------------------------- ##
16358 _ASBOX
16359     ) |
16360       sed "s/^/$as_me: WARNING:     /" >&2
16361     ;;
16362 esac
16363 echo "$as_me:$LINENO: checking for $ac_header" >&5
16364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16366   echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368   eval "$as_ac_Header=\$ac_header_preproc"
16369 fi
16370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16372
16373 fi
16374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16375   cat >>confdefs.h <<_ACEOF
16376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16377 _ACEOF
16378  ac_has_complex_h=yes
16379 else
16380   ac_has_complex_h=no
16381 fi
16382
16383 done
16384
16385   glibcxx_cv_c99_complex=no;
16386   if test x"$ac_has_complex_h" = x"yes"; then
16387     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16388 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16389     if test x$gcc_no_link = xyes; then
16390   cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h.  */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h.  */
16396 #include <complex.h>
16397         typedef __complex__ float float_type;
16398         typedef __complex__ double double_type;
16399         typedef __complex__ long double ld_type;
16400         volatile float_type tmpf;
16401         volatile double_type tmpd;
16402         volatile ld_type tmpld;
16403         volatile float f;
16404         volatile double d;
16405         volatile long double ld;
16406 int
16407 main ()
16408 {
16409 f = cabsf(tmpf);
16410         f = cargf(tmpf);
16411         tmpf = ccosf(tmpf);
16412         tmpf = ccoshf(tmpf);
16413         tmpf = cexpf(tmpf);
16414         tmpf = clogf(tmpf);
16415         tmpf = csinf(tmpf);
16416         tmpf = csinhf(tmpf);
16417         tmpf = csqrtf(tmpf);
16418         tmpf = ctanf(tmpf);
16419         tmpf = ctanhf(tmpf);
16420         tmpf = cpowf(tmpf, tmpf);
16421         tmpf = cprojf(tmpf);
16422         d = cabs(tmpd);
16423         d = carg(tmpd);
16424         tmpd = ccos(tmpd);
16425         tmpd = ccosh(tmpd);
16426         tmpd = cexp(tmpd);
16427         tmpd = clog(tmpd);
16428         tmpd = csin(tmpd);
16429         tmpd = csinh(tmpd);
16430         tmpd = csqrt(tmpd);
16431         tmpd = ctan(tmpd);
16432         tmpd = ctanh(tmpd);
16433         tmpd = cpow(tmpd, tmpd);
16434         tmpd = cproj(tmpd);
16435         ld = cabsl(tmpld);
16436         ld = cargl(tmpld);
16437         tmpld = ccosl(tmpld);
16438         tmpld = ccoshl(tmpld);
16439         tmpld = cexpl(tmpld);
16440         tmpld = clogl(tmpld);
16441         tmpld = csinl(tmpld);
16442         tmpld = csinhl(tmpld);
16443         tmpld = csqrtl(tmpld);
16444         tmpld = ctanl(tmpld);
16445         tmpld = ctanhl(tmpld);
16446         tmpld = cpowl(tmpld, tmpld);
16447         tmpld = cprojl(tmpld);
16448
16449   ;
16450   return 0;
16451 }
16452 _ACEOF
16453 rm -f conftest.$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455   (eval $ac_compile) 2>conftest.er1
16456   ac_status=$?
16457   grep -v '^ *+' conftest.er1 >conftest.err
16458   rm -f conftest.er1
16459   cat conftest.err >&5
16460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461   (exit $ac_status); } &&
16462          { ac_try='test -z "$ac_cxx_werror_flag"
16463                          || test ! -s conftest.err'
16464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465   (eval $ac_try) 2>&5
16466   ac_status=$?
16467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468   (exit $ac_status); }; } &&
16469          { ac_try='test -s conftest.$ac_objext'
16470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471   (eval $ac_try) 2>&5
16472   ac_status=$?
16473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474   (exit $ac_status); }; }; then
16475   glibcxx_cv_c99_complex=yes
16476 else
16477   echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16479
16480 glibcxx_cv_c99_complex=no
16481 fi
16482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16483 else
16484   if test x$gcc_no_link = xyes; then
16485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16487    { (exit 1); exit 1; }; }
16488 fi
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h.  */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h.  */
16495 #include <complex.h>
16496         typedef __complex__ float float_type;
16497         typedef __complex__ double double_type;
16498         typedef __complex__ long double ld_type;
16499         volatile float_type tmpf;
16500         volatile double_type tmpd;
16501         volatile ld_type tmpld;
16502         volatile float f;
16503         volatile double d;
16504         volatile long double ld;
16505 int
16506 main ()
16507 {
16508 f = cabsf(tmpf);
16509         f = cargf(tmpf);
16510         tmpf = ccosf(tmpf);
16511         tmpf = ccoshf(tmpf);
16512         tmpf = cexpf(tmpf);
16513         tmpf = clogf(tmpf);
16514         tmpf = csinf(tmpf);
16515         tmpf = csinhf(tmpf);
16516         tmpf = csqrtf(tmpf);
16517         tmpf = ctanf(tmpf);
16518         tmpf = ctanhf(tmpf);
16519         tmpf = cpowf(tmpf, tmpf);
16520         tmpf = cprojf(tmpf);
16521         d = cabs(tmpd);
16522         d = carg(tmpd);
16523         tmpd = ccos(tmpd);
16524         tmpd = ccosh(tmpd);
16525         tmpd = cexp(tmpd);
16526         tmpd = clog(tmpd);
16527         tmpd = csin(tmpd);
16528         tmpd = csinh(tmpd);
16529         tmpd = csqrt(tmpd);
16530         tmpd = ctan(tmpd);
16531         tmpd = ctanh(tmpd);
16532         tmpd = cpow(tmpd, tmpd);
16533         tmpd = cproj(tmpd);
16534         ld = cabsl(tmpld);
16535         ld = cargl(tmpld);
16536         tmpld = ccosl(tmpld);
16537         tmpld = ccoshl(tmpld);
16538         tmpld = cexpl(tmpld);
16539         tmpld = clogl(tmpld);
16540         tmpld = csinl(tmpld);
16541         tmpld = csinhl(tmpld);
16542         tmpld = csqrtl(tmpld);
16543         tmpld = ctanl(tmpld);
16544         tmpld = ctanhl(tmpld);
16545         tmpld = cpowl(tmpld, tmpld);
16546         tmpld = cprojl(tmpld);
16547
16548   ;
16549   return 0;
16550 }
16551 _ACEOF
16552 rm -f conftest.$ac_objext conftest$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554   (eval $ac_link) 2>conftest.er1
16555   ac_status=$?
16556   grep -v '^ *+' conftest.er1 >conftest.err
16557   rm -f conftest.er1
16558   cat conftest.err >&5
16559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560   (exit $ac_status); } &&
16561          { ac_try='test -z "$ac_cxx_werror_flag"
16562                          || test ! -s conftest.err'
16563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564   (eval $ac_try) 2>&5
16565   ac_status=$?
16566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567   (exit $ac_status); }; } &&
16568          { ac_try='test -s conftest$ac_exeext'
16569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570   (eval $ac_try) 2>&5
16571   ac_status=$?
16572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573   (exit $ac_status); }; }; then
16574   glibcxx_cv_c99_complex=yes
16575 else
16576   echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 glibcxx_cv_c99_complex=no
16580 fi
16581 rm -f conftest.err conftest.$ac_objext \
16582       conftest$ac_exeext conftest.$ac_ext
16583 fi
16584   fi
16585   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16586 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16587   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16588
16589 cat >>confdefs.h <<\_ACEOF
16590 #define _GLIBCXX_USE_C99_COMPLEX 1
16591 _ACEOF
16592
16593   fi
16594
16595   # Check for the existence in <stdio.h> of vscanf, et. al.
16596   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16597 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16598   if test "${glibcxx_cv_c99_stdio+set}" = set; then
16599   echo $ECHO_N "(cached) $ECHO_C" >&6
16600 else
16601
16602   if test x$gcc_no_link = xyes; then
16603   cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h.  */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h.  */
16609 #include <stdio.h>
16610       #include <stdarg.h>
16611       void foo(char* fmt, ...)
16612       {
16613         va_list args; va_start(args, fmt);
16614         vfscanf(stderr, "%i", args);
16615         vscanf("%i", args);
16616         vsnprintf(fmt, 0, "%i", args);
16617         vsscanf(fmt, "%i", args);
16618       }
16619 int
16620 main ()
16621 {
16622 snprintf("12", 0, "%i");
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629   (eval $ac_compile) 2>conftest.er1
16630   ac_status=$?
16631   grep -v '^ *+' conftest.er1 >conftest.err
16632   rm -f conftest.er1
16633   cat conftest.err >&5
16634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635   (exit $ac_status); } &&
16636          { ac_try='test -z "$ac_cxx_werror_flag"
16637                          || test ! -s conftest.err'
16638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639   (eval $ac_try) 2>&5
16640   ac_status=$?
16641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642   (exit $ac_status); }; } &&
16643          { ac_try='test -s conftest.$ac_objext'
16644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645   (eval $ac_try) 2>&5
16646   ac_status=$?
16647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648   (exit $ac_status); }; }; then
16649   glibcxx_cv_c99_stdio=yes
16650 else
16651   echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16653
16654 glibcxx_cv_c99_stdio=no
16655 fi
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658   if test x$gcc_no_link = xyes; then
16659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16661    { (exit 1); exit 1; }; }
16662 fi
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h.  */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h.  */
16669 #include <stdio.h>
16670       #include <stdarg.h>
16671       void foo(char* fmt, ...)
16672       {
16673         va_list args; va_start(args, fmt);
16674         vfscanf(stderr, "%i", args);
16675         vscanf("%i", args);
16676         vsnprintf(fmt, 0, "%i", args);
16677         vsscanf(fmt, "%i", args);
16678       }
16679 int
16680 main ()
16681 {
16682 snprintf("12", 0, "%i");
16683   ;
16684   return 0;
16685 }
16686 _ACEOF
16687 rm -f conftest.$ac_objext conftest$ac_exeext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16689   (eval $ac_link) 2>conftest.er1
16690   ac_status=$?
16691   grep -v '^ *+' conftest.er1 >conftest.err
16692   rm -f conftest.er1
16693   cat conftest.err >&5
16694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695   (exit $ac_status); } &&
16696          { ac_try='test -z "$ac_cxx_werror_flag"
16697                          || test ! -s conftest.err'
16698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699   (eval $ac_try) 2>&5
16700   ac_status=$?
16701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702   (exit $ac_status); }; } &&
16703          { ac_try='test -s conftest$ac_exeext'
16704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705   (eval $ac_try) 2>&5
16706   ac_status=$?
16707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708   (exit $ac_status); }; }; then
16709   glibcxx_cv_c99_stdio=yes
16710 else
16711   echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16713
16714 glibcxx_cv_c99_stdio=no
16715 fi
16716 rm -f conftest.err conftest.$ac_objext \
16717       conftest$ac_exeext conftest.$ac_ext
16718 fi
16719
16720 fi
16721
16722   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16723 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16724
16725   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16726   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16727 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16728   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16729   echo $ECHO_N "(cached) $ECHO_C" >&6
16730 else
16731
16732   if test x$gcc_no_link = xyes; then
16733   cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h.  */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h.  */
16739 #include <stdlib.h>
16740       volatile float f;
16741       volatile long double ld;
16742       volatile unsigned long long ll;
16743       lldiv_t mydivt;
16744 int
16745 main ()
16746 {
16747 char* tmp;
16748       f = strtof("gnu", &tmp);
16749       ld = strtold("gnu", &tmp);
16750       ll = strtoll("gnu", &tmp, 10);
16751       ll = strtoull("gnu", &tmp, 10);
16752       ll = llabs(10);
16753       mydivt = lldiv(10,1);
16754       ll = mydivt.quot;
16755       ll = mydivt.rem;
16756       ll = atoll("10");
16757       _Exit(0);
16758
16759   ;
16760   return 0;
16761 }
16762 _ACEOF
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765   (eval $ac_compile) 2>conftest.er1
16766   ac_status=$?
16767   grep -v '^ *+' conftest.er1 >conftest.err
16768   rm -f conftest.er1
16769   cat conftest.err >&5
16770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771   (exit $ac_status); } &&
16772          { ac_try='test -z "$ac_cxx_werror_flag"
16773                          || test ! -s conftest.err'
16774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775   (eval $ac_try) 2>&5
16776   ac_status=$?
16777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778   (exit $ac_status); }; } &&
16779          { ac_try='test -s conftest.$ac_objext'
16780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781   (eval $ac_try) 2>&5
16782   ac_status=$?
16783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784   (exit $ac_status); }; }; then
16785   glibcxx_cv_c99_stdlib=yes
16786 else
16787   echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 glibcxx_cv_c99_stdlib=no
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 else
16794   if test x$gcc_no_link = xyes; then
16795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797    { (exit 1); exit 1; }; }
16798 fi
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h.  */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h.  */
16805 #include <stdlib.h>
16806       volatile float f;
16807       volatile long double ld;
16808       volatile unsigned long long ll;
16809       lldiv_t mydivt;
16810 int
16811 main ()
16812 {
16813 char* tmp;
16814       f = strtof("gnu", &tmp);
16815       ld = strtold("gnu", &tmp);
16816       ll = strtoll("gnu", &tmp, 10);
16817       ll = strtoull("gnu", &tmp, 10);
16818       ll = llabs(10);
16819       mydivt = lldiv(10,1);
16820       ll = mydivt.quot;
16821       ll = mydivt.rem;
16822       ll = atoll("10");
16823       _Exit(0);
16824
16825   ;
16826   return 0;
16827 }
16828 _ACEOF
16829 rm -f conftest.$ac_objext conftest$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831   (eval $ac_link) 2>conftest.er1
16832   ac_status=$?
16833   grep -v '^ *+' conftest.er1 >conftest.err
16834   rm -f conftest.er1
16835   cat conftest.err >&5
16836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837   (exit $ac_status); } &&
16838          { ac_try='test -z "$ac_cxx_werror_flag"
16839                          || test ! -s conftest.err'
16840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841   (eval $ac_try) 2>&5
16842   ac_status=$?
16843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844   (exit $ac_status); }; } &&
16845          { ac_try='test -s conftest$ac_exeext'
16846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847   (eval $ac_try) 2>&5
16848   ac_status=$?
16849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850   (exit $ac_status); }; }; then
16851   glibcxx_cv_c99_stdlib=yes
16852 else
16853   echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 glibcxx_cv_c99_stdlib=no
16857 fi
16858 rm -f conftest.err conftest.$ac_objext \
16859       conftest$ac_exeext conftest.$ac_ext
16860 fi
16861
16862 fi
16863
16864   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16865 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16866
16867   # Check for the existence in <wchar.h> of wcstold, etc.
16868   glibcxx_cv_c99_wchar=no;
16869   if test x"$ac_has_wchar_h" = xyes &&
16870      test x"$ac_has_wctype_h" = xyes; then
16871     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16872 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16873     cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h.  */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h.  */
16879 #include <wchar.h>
16880                     namespace test
16881                     {
16882                       using ::wcstold;
16883                       using ::wcstoll;
16884                       using ::wcstoull;
16885                     }
16886
16887 int
16888 main ()
16889 {
16890
16891   ;
16892   return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897   (eval $ac_compile) 2>conftest.er1
16898   ac_status=$?
16899   grep -v '^ *+' conftest.er1 >conftest.err
16900   rm -f conftest.er1
16901   cat conftest.err >&5
16902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903   (exit $ac_status); } &&
16904          { ac_try='test -z "$ac_cxx_werror_flag"
16905                          || test ! -s conftest.err'
16906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907   (eval $ac_try) 2>&5
16908   ac_status=$?
16909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910   (exit $ac_status); }; } &&
16911          { ac_try='test -s conftest.$ac_objext'
16912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913   (eval $ac_try) 2>&5
16914   ac_status=$?
16915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916   (exit $ac_status); }; }; then
16917   glibcxx_cv_c99_wchar=yes
16918 else
16919   echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 glibcxx_cv_c99_wchar=no
16923 fi
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925
16926     # Checks for wide character functions that may not be present.
16927     # Injection of these is wrapped with guard macros.
16928     # NB: only put functions here, instead of immediately above, if
16929     # absolutely necessary.
16930     cat >conftest.$ac_ext <<_ACEOF
16931 /* confdefs.h.  */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h.  */
16936 #include <wchar.h>
16937                     namespace test { using ::vfwscanf; }
16938 int
16939 main ()
16940 {
16941
16942   ;
16943   return 0;
16944 }
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948   (eval $ac_compile) 2>conftest.er1
16949   ac_status=$?
16950   grep -v '^ *+' conftest.er1 >conftest.err
16951   rm -f conftest.er1
16952   cat conftest.err >&5
16953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954   (exit $ac_status); } &&
16955          { ac_try='test -z "$ac_cxx_werror_flag"
16956                          || test ! -s conftest.err'
16957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958   (eval $ac_try) 2>&5
16959   ac_status=$?
16960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961   (exit $ac_status); }; } &&
16962          { ac_try='test -s conftest.$ac_objext'
16963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964   (eval $ac_try) 2>&5
16965   ac_status=$?
16966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967   (exit $ac_status); }; }; then
16968
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_VFWSCANF 1
16971 _ACEOF
16972
16973 else
16974   echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 fi
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16979
16980     cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h.  */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h.  */
16986 #include <wchar.h>
16987                     namespace test { using ::vswscanf; }
16988 int
16989 main ()
16990 {
16991
16992   ;
16993   return 0;
16994 }
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998   (eval $ac_compile) 2>conftest.er1
16999   ac_status=$?
17000   grep -v '^ *+' conftest.er1 >conftest.err
17001   rm -f conftest.er1
17002   cat conftest.err >&5
17003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004   (exit $ac_status); } &&
17005          { ac_try='test -z "$ac_cxx_werror_flag"
17006                          || test ! -s conftest.err'
17007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008   (eval $ac_try) 2>&5
17009   ac_status=$?
17010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011   (exit $ac_status); }; } &&
17012          { ac_try='test -s conftest.$ac_objext'
17013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014   (eval $ac_try) 2>&5
17015   ac_status=$?
17016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017   (exit $ac_status); }; }; then
17018
17019 cat >>confdefs.h <<\_ACEOF
17020 #define HAVE_VSWSCANF 1
17021 _ACEOF
17022
17023 else
17024   echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17026
17027 fi
17028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17029
17030     cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h.  */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h.  */
17036 #include <wchar.h>
17037                     namespace test { using ::vwscanf; }
17038 int
17039 main ()
17040 {
17041
17042   ;
17043   return 0;
17044 }
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048   (eval $ac_compile) 2>conftest.er1
17049   ac_status=$?
17050   grep -v '^ *+' conftest.er1 >conftest.err
17051   rm -f conftest.er1
17052   cat conftest.err >&5
17053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054   (exit $ac_status); } &&
17055          { ac_try='test -z "$ac_cxx_werror_flag"
17056                          || test ! -s conftest.err'
17057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058   (eval $ac_try) 2>&5
17059   ac_status=$?
17060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061   (exit $ac_status); }; } &&
17062          { ac_try='test -s conftest.$ac_objext'
17063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064   (eval $ac_try) 2>&5
17065   ac_status=$?
17066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067   (exit $ac_status); }; }; then
17068
17069 cat >>confdefs.h <<\_ACEOF
17070 #define HAVE_VWSCANF 1
17071 _ACEOF
17072
17073 else
17074   echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17076
17077 fi
17078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17079
17080     cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h.  */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h.  */
17086 #include <wchar.h>
17087                     namespace test { using ::wcstof; }
17088 int
17089 main ()
17090 {
17091
17092   ;
17093   return 0;
17094 }
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098   (eval $ac_compile) 2>conftest.er1
17099   ac_status=$?
17100   grep -v '^ *+' conftest.er1 >conftest.err
17101   rm -f conftest.er1
17102   cat conftest.err >&5
17103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104   (exit $ac_status); } &&
17105          { ac_try='test -z "$ac_cxx_werror_flag"
17106                          || test ! -s conftest.err'
17107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108   (eval $ac_try) 2>&5
17109   ac_status=$?
17110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111   (exit $ac_status); }; } &&
17112          { ac_try='test -s conftest.$ac_objext'
17113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114   (eval $ac_try) 2>&5
17115   ac_status=$?
17116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117   (exit $ac_status); }; }; then
17118
17119 cat >>confdefs.h <<\_ACEOF
17120 #define HAVE_WCSTOF 1
17121 _ACEOF
17122
17123 else
17124   echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 fi
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130     cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h.  */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h.  */
17136 #include <wctype.h>
17137 int
17138 main ()
17139 {
17140  wint_t t; int i = iswblank(t);
17141   ;
17142   return 0;
17143 }
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147   (eval $ac_compile) 2>conftest.er1
17148   ac_status=$?
17149   grep -v '^ *+' conftest.er1 >conftest.err
17150   rm -f conftest.er1
17151   cat conftest.err >&5
17152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153   (exit $ac_status); } &&
17154          { ac_try='test -z "$ac_cxx_werror_flag"
17155                          || test ! -s conftest.err'
17156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157   (eval $ac_try) 2>&5
17158   ac_status=$?
17159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160   (exit $ac_status); }; } &&
17161          { ac_try='test -s conftest.$ac_objext'
17162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163   (eval $ac_try) 2>&5
17164   ac_status=$?
17165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166   (exit $ac_status); }; }; then
17167
17168 cat >>confdefs.h <<\_ACEOF
17169 #define HAVE_ISWBLANK 1
17170 _ACEOF
17171
17172 else
17173   echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 fi
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178
17179     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17180 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17181   fi
17182
17183   # Option parsed, now set things appropriately.
17184   if test x"$glibcxx_cv_c99_math" = x"no" ||
17185      test x"$glibcxx_cv_c99_complex" = x"no" ||
17186      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17187      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17188      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17189     enable_c99=no;
17190   else
17191
17192 cat >>confdefs.h <<\_ACEOF
17193 #define _GLIBCXX_USE_C99 1
17194 _ACEOF
17195
17196   fi
17197
17198   gcc_no_link="$ac_save_gcc_no_link"
17199   LIBS="$ac_save_LIBS"
17200   CXXFLAGS="$ac_save_CXXFLAGS"
17201   ac_ext=c
17202 ac_cpp='$CPP $CPPFLAGS'
17203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17206
17207   fi
17208
17209   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17210 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17211   echo "$as_me:$LINENO: result: $enable_c99" >&5
17212 echo "${ECHO_T}$enable_c99" >&6
17213
17214
17215    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17216 if test "${enable_concept_checks+set}" = set; then
17217   enableval="$enable_concept_checks"
17218
17219       case "$enableval" in
17220        yes|no) ;;
17221        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17222 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17223    { (exit 1); exit 1; }; } ;;
17224       esac
17225
17226 else
17227   enable_concept_checks=no
17228 fi;
17229
17230   if test $enable_concept_checks = yes; then
17231
17232 cat >>confdefs.h <<\_ACEOF
17233 #define _GLIBCXX_CONCEPT_CHECKS 1
17234 _ACEOF
17235
17236   fi
17237
17238
17239    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17240 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17241   enableval="$enable_libstdcxx_debug_flags"
17242   case "x$enable_libstdcxx_debug_flags" in
17243       xno | x)    enable_libstdcxx_debug_flags= ;;
17244       x-*)        ;;
17245       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17246 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17247    { (exit 1); exit 1; }; } ;;
17248      esac
17249 else
17250   enable_libstdcxx_debug_flags="-g3 -O0"
17251 fi;
17252
17253
17254   # Option parsed, now set things appropriately
17255   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17256
17257
17258   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17259 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17260
17261
17262   echo "$as_me:$LINENO: checking for additional debug build" >&5
17263 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17264    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17265 if test "${enable_libstdcxx_debug+set}" = set; then
17266   enableval="$enable_libstdcxx_debug"
17267
17268       case "$enableval" in
17269        yes|no) ;;
17270        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17271 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17272    { (exit 1); exit 1; }; } ;;
17273       esac
17274
17275 else
17276   enable_libstdcxx_debug=no
17277 fi;
17278
17279   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17280 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17281
17282
17283
17284
17285   enable_parallel=no;
17286
17287   # See if configured libgomp/omp.h exists. (libgomp may be in
17288   # noconfigdirs but not explicitly disabled.)
17289   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17290     enable_parallel=yes;
17291   else
17292     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17293 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17294   fi
17295
17296   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17297 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17298   echo "$as_me:$LINENO: result: $enable_parallel" >&5
17299 echo "${ECHO_T}$enable_parallel" >&6
17300
17301
17302   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17303 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17304    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17305 if test "${enable_cxx_flags+set}" = set; then
17306   enableval="$enable_cxx_flags"
17307   case "x$enable_cxx_flags" in
17308       xno | x)   enable_cxx_flags= ;;
17309       x-*)       ;;
17310       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17311 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17312    { (exit 1); exit 1; }; } ;;
17313      esac
17314 else
17315   enable_cxx_flags=
17316 fi;
17317
17318
17319   # Run through flags (either default or command-line) and set anything
17320   # extra (e.g., #defines) that must accompany particular g++ options.
17321   if test -n "$enable_cxx_flags"; then
17322     for f in $enable_cxx_flags; do
17323       case "$f" in
17324         -fhonor-std)  ;;
17325         -*)  ;;
17326         *)   # and we're trying to pass /what/ exactly?
17327              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17328 echo "$as_me: error: compiler flags start with a -" >&2;}
17329    { (exit 1); exit 1; }; } ;;
17330       esac
17331     done
17332   fi
17333
17334   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17335   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17336 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17337
17338
17339
17340    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17341 if test "${enable_fully_dynamic_string+set}" = set; then
17342   enableval="$enable_fully_dynamic_string"
17343
17344       case "$enableval" in
17345        yes|no) ;;
17346        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17347 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17348    { (exit 1); exit 1; }; } ;;
17349       esac
17350
17351 else
17352   enable_fully_dynamic_string=no
17353 fi;
17354
17355   if test $enable_fully_dynamic_string = yes; then
17356
17357 cat >>confdefs.h <<\_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17359 _ACEOF
17360
17361   fi
17362
17363
17364 # Checks for operating systems support that don't require linking.
17365
17366
17367 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17368 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17369 if test "${glibcxx_cv_system_error1+set}" = set; then
17370   echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h.  */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h.  */
17379 #include <errno.h>
17380 int
17381 main ()
17382 {
17383 int i = EOWNERDEAD;
17384   ;
17385   return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390   (eval $ac_compile) 2>conftest.er1
17391   ac_status=$?
17392   grep -v '^ *+' conftest.er1 >conftest.err
17393   rm -f conftest.er1
17394   cat conftest.err >&5
17395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396   (exit $ac_status); } &&
17397          { ac_try='test -z "$ac_c_werror_flag"
17398                          || test ! -s conftest.err'
17399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400   (eval $ac_try) 2>&5
17401   ac_status=$?
17402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403   (exit $ac_status); }; } &&
17404          { ac_try='test -s conftest.$ac_objext'
17405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406   (eval $ac_try) 2>&5
17407   ac_status=$?
17408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409   (exit $ac_status); }; }; then
17410   glibcxx_cv_system_error1=yes
17411 else
17412   echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 glibcxx_cv_system_error1=no
17416 fi
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17418
17419 fi
17420
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17422 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17423 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17424
17425 cat >>confdefs.h <<\_ACEOF
17426 #define HAVE_EOWNERDEAD 1
17427 _ACEOF
17428
17429 fi
17430 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17431 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17432 if test "${glibcxx_cv_system_error2+set}" = set; then
17433   echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h.  */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h.  */
17442 #include <errno.h>
17443 int
17444 main ()
17445 {
17446 int i = ENOTRECOVERABLE;
17447   ;
17448   return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453   (eval $ac_compile) 2>conftest.er1
17454   ac_status=$?
17455   grep -v '^ *+' conftest.er1 >conftest.err
17456   rm -f conftest.er1
17457   cat conftest.err >&5
17458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459   (exit $ac_status); } &&
17460          { ac_try='test -z "$ac_c_werror_flag"
17461                          || test ! -s conftest.err'
17462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463   (eval $ac_try) 2>&5
17464   ac_status=$?
17465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466   (exit $ac_status); }; } &&
17467          { ac_try='test -s conftest.$ac_objext'
17468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469   (eval $ac_try) 2>&5
17470   ac_status=$?
17471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472   (exit $ac_status); }; }; then
17473   glibcxx_cv_system_error2=yes
17474 else
17475   echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17477
17478 glibcxx_cv_system_error2=no
17479 fi
17480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17481
17482 fi
17483
17484 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17485 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17486 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17487
17488 cat >>confdefs.h <<\_ACEOF
17489 #define HAVE_ENOTRECOVERABLE 1
17490 _ACEOF
17491
17492 fi
17493 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17494 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17495 if test "${glibcxx_cv_system_error3+set}" = set; then
17496   echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h.  */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h.  */
17505 #include <errno.h>
17506 int
17507 main ()
17508 {
17509 int i = ENOLINK;
17510   ;
17511   return 0;
17512 }
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516   (eval $ac_compile) 2>conftest.er1
17517   ac_status=$?
17518   grep -v '^ *+' conftest.er1 >conftest.err
17519   rm -f conftest.er1
17520   cat conftest.err >&5
17521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522   (exit $ac_status); } &&
17523          { ac_try='test -z "$ac_c_werror_flag"
17524                          || test ! -s conftest.err'
17525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526   (eval $ac_try) 2>&5
17527   ac_status=$?
17528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529   (exit $ac_status); }; } &&
17530          { ac_try='test -s conftest.$ac_objext'
17531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532   (eval $ac_try) 2>&5
17533   ac_status=$?
17534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535   (exit $ac_status); }; }; then
17536   glibcxx_cv_system_error3=yes
17537 else
17538   echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 glibcxx_cv_system_error3=no
17542 fi
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545 fi
17546
17547 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17548 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17549 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17550
17551 cat >>confdefs.h <<\_ACEOF
17552 #define HAVE_ENOLINK 1
17553 _ACEOF
17554
17555 fi
17556 echo "$as_me:$LINENO: checking for EPROTO" >&5
17557 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17558 if test "${glibcxx_cv_system_error4+set}" = set; then
17559   echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h.  */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h.  */
17568 #include <errno.h>
17569 int
17570 main ()
17571 {
17572 int i = EPROTO;
17573   ;
17574   return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579   (eval $ac_compile) 2>conftest.er1
17580   ac_status=$?
17581   grep -v '^ *+' conftest.er1 >conftest.err
17582   rm -f conftest.er1
17583   cat conftest.err >&5
17584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585   (exit $ac_status); } &&
17586          { ac_try='test -z "$ac_c_werror_flag"
17587                          || test ! -s conftest.err'
17588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589   (eval $ac_try) 2>&5
17590   ac_status=$?
17591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592   (exit $ac_status); }; } &&
17593          { ac_try='test -s conftest.$ac_objext'
17594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595   (eval $ac_try) 2>&5
17596   ac_status=$?
17597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598   (exit $ac_status); }; }; then
17599   glibcxx_cv_system_error4=yes
17600 else
17601   echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 glibcxx_cv_system_error4=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608 fi
17609
17610 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17611 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17612 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17613
17614 cat >>confdefs.h <<\_ACEOF
17615 #define HAVE_EPROTO 1
17616 _ACEOF
17617
17618 fi
17619 echo "$as_me:$LINENO: checking for ENODATA" >&5
17620 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17621 if test "${glibcxx_cv_system_error5+set}" = set; then
17622   echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h.  */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h.  */
17631 #include <errno.h>
17632 int
17633 main ()
17634 {
17635 int i = ENODATA;
17636   ;
17637   return 0;
17638 }
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642   (eval $ac_compile) 2>conftest.er1
17643   ac_status=$?
17644   grep -v '^ *+' conftest.er1 >conftest.err
17645   rm -f conftest.er1
17646   cat conftest.err >&5
17647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648   (exit $ac_status); } &&
17649          { ac_try='test -z "$ac_c_werror_flag"
17650                          || test ! -s conftest.err'
17651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652   (eval $ac_try) 2>&5
17653   ac_status=$?
17654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655   (exit $ac_status); }; } &&
17656          { ac_try='test -s conftest.$ac_objext'
17657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658   (eval $ac_try) 2>&5
17659   ac_status=$?
17660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661   (exit $ac_status); }; }; then
17662   glibcxx_cv_system_error5=yes
17663 else
17664   echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667 glibcxx_cv_system_error5=no
17668 fi
17669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672
17673 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17674 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17676
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_ENODATA 1
17679 _ACEOF
17680
17681 fi
17682 echo "$as_me:$LINENO: checking for ENOSR" >&5
17683 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17684 if test "${glibcxx_cv_system_error6+set}" = set; then
17685   echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17687
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h.  */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h.  */
17694 #include <errno.h>
17695 int
17696 main ()
17697 {
17698 int i = ENOSR;
17699   ;
17700   return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705   (eval $ac_compile) 2>conftest.er1
17706   ac_status=$?
17707   grep -v '^ *+' conftest.er1 >conftest.err
17708   rm -f conftest.er1
17709   cat conftest.err >&5
17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711   (exit $ac_status); } &&
17712          { ac_try='test -z "$ac_c_werror_flag"
17713                          || test ! -s conftest.err'
17714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715   (eval $ac_try) 2>&5
17716   ac_status=$?
17717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718   (exit $ac_status); }; } &&
17719          { ac_try='test -s conftest.$ac_objext'
17720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721   (eval $ac_try) 2>&5
17722   ac_status=$?
17723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724   (exit $ac_status); }; }; then
17725   glibcxx_cv_system_error6=yes
17726 else
17727   echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 glibcxx_cv_system_error6=no
17731 fi
17732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17733
17734 fi
17735
17736 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17737 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17738 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17739
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_ENOSR 1
17742 _ACEOF
17743
17744 fi
17745 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17746 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17747 if test "${glibcxx_cv_system_error7+set}" = set; then
17748   echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h.  */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h.  */
17757 #include <errno.h>
17758 int
17759 main ()
17760 {
17761 int i = ENOSTR;
17762   ;
17763   return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768   (eval $ac_compile) 2>conftest.er1
17769   ac_status=$?
17770   grep -v '^ *+' conftest.er1 >conftest.err
17771   rm -f conftest.er1
17772   cat conftest.err >&5
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); } &&
17775          { ac_try='test -z "$ac_c_werror_flag"
17776                          || test ! -s conftest.err'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; } &&
17782          { ac_try='test -s conftest.$ac_objext'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; }; then
17788   glibcxx_cv_system_error7=yes
17789 else
17790   echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 glibcxx_cv_system_error7=no
17794 fi
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17796
17797 fi
17798
17799 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17800 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17801 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17802
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOSTR 1
17805 _ACEOF
17806
17807 fi
17808 echo "$as_me:$LINENO: checking for ETIME" >&5
17809 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17810 if test "${glibcxx_cv_system_error8+set}" = set; then
17811   echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17813
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h.  */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h.  */
17820 #include <errno.h>
17821 int
17822 main ()
17823 {
17824 int i = ETIME;
17825   ;
17826   return 0;
17827 }
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831   (eval $ac_compile) 2>conftest.er1
17832   ac_status=$?
17833   grep -v '^ *+' conftest.er1 >conftest.err
17834   rm -f conftest.er1
17835   cat conftest.err >&5
17836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837   (exit $ac_status); } &&
17838          { ac_try='test -z "$ac_c_werror_flag"
17839                          || test ! -s conftest.err'
17840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841   (eval $ac_try) 2>&5
17842   ac_status=$?
17843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844   (exit $ac_status); }; } &&
17845          { ac_try='test -s conftest.$ac_objext'
17846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847   (eval $ac_try) 2>&5
17848   ac_status=$?
17849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850   (exit $ac_status); }; }; then
17851   glibcxx_cv_system_error8=yes
17852 else
17853   echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17855
17856 glibcxx_cv_system_error8=no
17857 fi
17858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17859
17860 fi
17861
17862 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17863 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17864 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17865
17866 cat >>confdefs.h <<\_ACEOF
17867 #define HAVE_ETIME 1
17868 _ACEOF
17869
17870 fi
17871 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17872 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17873 if test "${glibcxx_cv_system_error9+set}" = set; then
17874   echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17876
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h.  */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h.  */
17883 #include <errno.h>
17884 int
17885 main ()
17886 {
17887 int i = EBADMSG;
17888   ;
17889   return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894   (eval $ac_compile) 2>conftest.er1
17895   ac_status=$?
17896   grep -v '^ *+' conftest.er1 >conftest.err
17897   rm -f conftest.er1
17898   cat conftest.err >&5
17899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900   (exit $ac_status); } &&
17901          { ac_try='test -z "$ac_c_werror_flag"
17902                          || test ! -s conftest.err'
17903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904   (eval $ac_try) 2>&5
17905   ac_status=$?
17906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907   (exit $ac_status); }; } &&
17908          { ac_try='test -s conftest.$ac_objext'
17909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910   (eval $ac_try) 2>&5
17911   ac_status=$?
17912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913   (exit $ac_status); }; }; then
17914   glibcxx_cv_system_error9=yes
17915 else
17916   echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 glibcxx_cv_system_error9=no
17920 fi
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17922
17923 fi
17924
17925 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17926 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17927 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17928
17929 cat >>confdefs.h <<\_ACEOF
17930 #define HAVE_EBADMSG 1
17931 _ACEOF
17932
17933 fi
17934 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17935 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17936 if test "${glibcxx_cv_system_error10+set}" = set; then
17937   echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h.  */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h.  */
17946 #include <errno.h>
17947 int
17948 main ()
17949 {
17950 int i = ECANCELED;
17951   ;
17952   return 0;
17953 }
17954 _ACEOF
17955 rm -f conftest.$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957   (eval $ac_compile) 2>conftest.er1
17958   ac_status=$?
17959   grep -v '^ *+' conftest.er1 >conftest.err
17960   rm -f conftest.er1
17961   cat conftest.err >&5
17962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963   (exit $ac_status); } &&
17964          { ac_try='test -z "$ac_c_werror_flag"
17965                          || test ! -s conftest.err'
17966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967   (eval $ac_try) 2>&5
17968   ac_status=$?
17969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970   (exit $ac_status); }; } &&
17971          { ac_try='test -s conftest.$ac_objext'
17972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973   (eval $ac_try) 2>&5
17974   ac_status=$?
17975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976   (exit $ac_status); }; }; then
17977   glibcxx_cv_system_error10=yes
17978 else
17979   echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 glibcxx_cv_system_error10=no
17983 fi
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17985
17986 fi
17987
17988 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17989 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17990 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17991
17992 cat >>confdefs.h <<\_ACEOF
17993 #define HAVE_ECANCELED 1
17994 _ACEOF
17995
17996 fi
17997 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17998 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17999 if test "${glibcxx_cv_system_error11+set}" = set; then
18000   echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18002
18003 cat >conftest.$ac_ext <<_ACEOF
18004 /* confdefs.h.  */
18005 _ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h.  */
18009 #include <errno.h>
18010 int
18011 main ()
18012 {
18013 int i = EOVERFLOW;
18014   ;
18015   return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020   (eval $ac_compile) 2>conftest.er1
18021   ac_status=$?
18022   grep -v '^ *+' conftest.er1 >conftest.err
18023   rm -f conftest.er1
18024   cat conftest.err >&5
18025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026   (exit $ac_status); } &&
18027          { ac_try='test -z "$ac_c_werror_flag"
18028                          || test ! -s conftest.err'
18029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030   (eval $ac_try) 2>&5
18031   ac_status=$?
18032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033   (exit $ac_status); }; } &&
18034          { ac_try='test -s conftest.$ac_objext'
18035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036   (eval $ac_try) 2>&5
18037   ac_status=$?
18038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039   (exit $ac_status); }; }; then
18040   glibcxx_cv_system_error11=yes
18041 else
18042   echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18044
18045 glibcxx_cv_system_error11=no
18046 fi
18047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18048
18049 fi
18050
18051 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18052 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18053 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18054
18055 cat >>confdefs.h <<\_ACEOF
18056 #define HAVE_EOVERFLOW 1
18057 _ACEOF
18058
18059 fi
18060 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18061 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18062 if test "${glibcxx_cv_system_error12+set}" = set; then
18063   echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h.  */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h.  */
18072 #include <errno.h>
18073 int
18074 main ()
18075 {
18076 int i = ENOTSUP;
18077   ;
18078   return 0;
18079 }
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083   (eval $ac_compile) 2>conftest.er1
18084   ac_status=$?
18085   grep -v '^ *+' conftest.er1 >conftest.err
18086   rm -f conftest.er1
18087   cat conftest.err >&5
18088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089   (exit $ac_status); } &&
18090          { ac_try='test -z "$ac_c_werror_flag"
18091                          || test ! -s conftest.err'
18092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093   (eval $ac_try) 2>&5
18094   ac_status=$?
18095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096   (exit $ac_status); }; } &&
18097          { ac_try='test -s conftest.$ac_objext'
18098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099   (eval $ac_try) 2>&5
18100   ac_status=$?
18101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102   (exit $ac_status); }; }; then
18103   glibcxx_cv_system_error12=yes
18104 else
18105   echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 glibcxx_cv_system_error12=no
18109 fi
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18111
18112 fi
18113
18114 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18115 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18116 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18117
18118 cat >>confdefs.h <<\_ACEOF
18119 #define HAVE_ENOTSUP 1
18120 _ACEOF
18121
18122 fi
18123 echo "$as_me:$LINENO: checking for EIDRM" >&5
18124 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18125 if test "${glibcxx_cv_system_error13+set}" = set; then
18126   echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h.  */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h.  */
18135 #include <errno.h>
18136 int
18137 main ()
18138 {
18139 int i = EIDRM;
18140   ;
18141   return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146   (eval $ac_compile) 2>conftest.er1
18147   ac_status=$?
18148   grep -v '^ *+' conftest.er1 >conftest.err
18149   rm -f conftest.er1
18150   cat conftest.err >&5
18151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152   (exit $ac_status); } &&
18153          { ac_try='test -z "$ac_c_werror_flag"
18154                          || test ! -s conftest.err'
18155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156   (eval $ac_try) 2>&5
18157   ac_status=$?
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); }; } &&
18160          { ac_try='test -s conftest.$ac_objext'
18161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162   (eval $ac_try) 2>&5
18163   ac_status=$?
18164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165   (exit $ac_status); }; }; then
18166   glibcxx_cv_system_error13=yes
18167 else
18168   echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 glibcxx_cv_system_error13=no
18172 fi
18173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18178 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18179 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18180
18181 cat >>confdefs.h <<\_ACEOF
18182 #define HAVE_EIDRM 1
18183 _ACEOF
18184
18185 fi
18186 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18187 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18188 if test "${glibcxx_cv_system_error14+set}" = set; then
18189   echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h.  */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h.  */
18198 #include <errno.h>
18199 int
18200 main ()
18201 {
18202 int i = ETXTBSY;
18203   ;
18204   return 0;
18205 }
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209   (eval $ac_compile) 2>conftest.er1
18210   ac_status=$?
18211   grep -v '^ *+' conftest.er1 >conftest.err
18212   rm -f conftest.er1
18213   cat conftest.err >&5
18214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215   (exit $ac_status); } &&
18216          { ac_try='test -z "$ac_c_werror_flag"
18217                          || test ! -s conftest.err'
18218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219   (eval $ac_try) 2>&5
18220   ac_status=$?
18221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222   (exit $ac_status); }; } &&
18223          { ac_try='test -s conftest.$ac_objext'
18224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225   (eval $ac_try) 2>&5
18226   ac_status=$?
18227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228   (exit $ac_status); }; }; then
18229   glibcxx_cv_system_error14=yes
18230 else
18231   echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18233
18234 glibcxx_cv_system_error14=no
18235 fi
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18237
18238 fi
18239
18240 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18241 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18242 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18243
18244 cat >>confdefs.h <<\_ACEOF
18245 #define HAVE_ETXTBSY 1
18246 _ACEOF
18247
18248 fi
18249
18250
18251
18252
18253 # Only do link tests if native. Else, hardcode.
18254 if $GLIBCXX_IS_NATIVE; then
18255
18256   # We can do more elaborate tests that assume a working linker.
18257   CANADIAN=no
18258
18259   # Check for available headers.
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18275   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18276   sys/types.h sys/ipc.h sys/sem.h
18277 do
18278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18280   echo "$as_me:$LINENO: checking for $ac_header" >&5
18281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18283   echo $ECHO_N "(cached) $ECHO_C" >&6
18284 fi
18285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18287 else
18288   # Is the header compilable?
18289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h.  */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h.  */
18297 $ac_includes_default
18298 #include <$ac_header>
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302   (eval $ac_compile) 2>conftest.er1
18303   ac_status=$?
18304   grep -v '^ *+' conftest.er1 >conftest.err
18305   rm -f conftest.er1
18306   cat conftest.err >&5
18307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308   (exit $ac_status); } &&
18309          { ac_try='test -z "$ac_c_werror_flag"
18310                          || test ! -s conftest.err'
18311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312   (eval $ac_try) 2>&5
18313   ac_status=$?
18314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315   (exit $ac_status); }; } &&
18316          { ac_try='test -s conftest.$ac_objext'
18317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318   (eval $ac_try) 2>&5
18319   ac_status=$?
18320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321   (exit $ac_status); }; }; then
18322   ac_header_compiler=yes
18323 else
18324   echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 ac_header_compiler=no
18328 fi
18329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18331 echo "${ECHO_T}$ac_header_compiler" >&6
18332
18333 # Is the header present?
18334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h.  */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h.  */
18342 #include <$ac_header>
18343 _ACEOF
18344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18345   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18346   ac_status=$?
18347   grep -v '^ *+' conftest.er1 >conftest.err
18348   rm -f conftest.er1
18349   cat conftest.err >&5
18350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351   (exit $ac_status); } >/dev/null; then
18352   if test -s conftest.err; then
18353     ac_cpp_err=$ac_c_preproc_warn_flag
18354     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18355   else
18356     ac_cpp_err=
18357   fi
18358 else
18359   ac_cpp_err=yes
18360 fi
18361 if test -z "$ac_cpp_err"; then
18362   ac_header_preproc=yes
18363 else
18364   echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18366
18367   ac_header_preproc=no
18368 fi
18369 rm -f conftest.err conftest.$ac_ext
18370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18371 echo "${ECHO_T}$ac_header_preproc" >&6
18372
18373 # So?  What about this header?
18374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18375   yes:no: )
18376     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18378     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18380     ac_header_preproc=yes
18381     ;;
18382   no:yes:* )
18383     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18385     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18386 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18387     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18389     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18390 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18391     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18393     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18395     (
18396       cat <<\_ASBOX
18397 ## ----------------------------------------- ##
18398 ## Report this to the package-unused lists.  ##
18399 ## ----------------------------------------- ##
18400 _ASBOX
18401     ) |
18402       sed "s/^/$as_me: WARNING:     /" >&2
18403     ;;
18404 esac
18405 echo "$as_me:$LINENO: checking for $ac_header" >&5
18406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18408   echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410   eval "$as_ac_Header=\$ac_header_preproc"
18411 fi
18412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18414
18415 fi
18416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18417   cat >>confdefs.h <<_ACEOF
18418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18419 _ACEOF
18420
18421 fi
18422
18423 done
18424
18425
18426
18427
18428 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18429 if test "${with_gnu_ld+set}" = set; then
18430   withval="$with_gnu_ld"
18431   test "$withval" = no || with_gnu_ld=yes
18432 else
18433   with_gnu_ld=no
18434 fi;
18435 ac_prog=ld
18436 if test "$GCC" = yes; then
18437   # Check if gcc -print-prog-name=ld gives a path.
18438   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18439 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18440   case $host in
18441   *-*-mingw*)
18442     # gcc leaves a trailing carriage return which upsets mingw
18443     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18444   *)
18445     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18446   esac
18447   case $ac_prog in
18448     # Accept absolute paths.
18449     [\\/]* | ?:[\\/]*)
18450       re_direlt='/[^/][^/]*/\.\./'
18451       # Canonicalize the pathname of ld
18452       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18453       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18454         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18455       done
18456       test -z "$LD" && LD="$ac_prog"
18457       ;;
18458   "")
18459     # If it fails, then pretend we aren't using GCC.
18460     ac_prog=ld
18461     ;;
18462   *)
18463     # If it is relative, then search for the first ld in PATH.
18464     with_gnu_ld=unknown
18465     ;;
18466   esac
18467 elif test "$with_gnu_ld" = yes; then
18468   echo "$as_me:$LINENO: checking for GNU ld" >&5
18469 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18470 else
18471   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18472 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18473 fi
18474 if test "${lt_cv_path_LD+set}" = set; then
18475   echo $ECHO_N "(cached) $ECHO_C" >&6
18476 else
18477   if test -z "$LD"; then
18478   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18479   for ac_dir in $PATH; do
18480     IFS="$lt_save_ifs"
18481     test -z "$ac_dir" && ac_dir=.
18482     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18483       lt_cv_path_LD="$ac_dir/$ac_prog"
18484       # Check to see if the program is GNU ld.  I'd rather use --version,
18485       # but apparently some variants of GNU ld only accept -v.
18486       # Break only if it was the GNU/non-GNU ld that we prefer.
18487       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18488       *GNU* | *'with BFD'*)
18489         test "$with_gnu_ld" != no && break
18490         ;;
18491       *)
18492         test "$with_gnu_ld" != yes && break
18493         ;;
18494       esac
18495     fi
18496   done
18497   IFS="$lt_save_ifs"
18498 else
18499   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18500 fi
18501 fi
18502
18503 LD="$lt_cv_path_LD"
18504 if test -n "$LD"; then
18505   echo "$as_me:$LINENO: result: $LD" >&5
18506 echo "${ECHO_T}$LD" >&6
18507 else
18508   echo "$as_me:$LINENO: result: no" >&5
18509 echo "${ECHO_T}no" >&6
18510 fi
18511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18513    { (exit 1); exit 1; }; }
18514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18516 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18517   echo $ECHO_N "(cached) $ECHO_C" >&6
18518 else
18519   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18520 case `$LD -v 2>&1 </dev/null` in
18521 *GNU* | *'with BFD'*)
18522   lt_cv_prog_gnu_ld=yes
18523   ;;
18524 *)
18525   lt_cv_prog_gnu_ld=no
18526   ;;
18527 esac
18528 fi
18529 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18530 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18531 with_gnu_ld=$lt_cv_prog_gnu_ld
18532
18533
18534
18535
18536
18537
18538
18539   # If we're not using GNU ld, then there's no point in even trying these
18540   # tests.  Check for that first.  We should have already tested for gld
18541   # by now (in libtool), but require it now just to be safe...
18542   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18543   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18544
18545
18546
18547   # The name set by libtool depends on the version of libtool.  Shame on us
18548   # for depending on an impl detail, but c'est la vie.  Older versions used
18549   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18550   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18551   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18552   # set (hence we're using an older libtool), then set it.
18553   if test x${with_gnu_ld+set} != xset; then
18554     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18555       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18556       with_gnu_ld=no
18557     else
18558       with_gnu_ld=$ac_cv_prog_gnu_ld
18559     fi
18560   fi
18561
18562   # Start by getting the version number.  I think the libtool test already
18563   # does some of this, but throws away the result.
18564   glibcxx_ld_is_gold=no
18565   if test x"$with_gnu_ld" = x"yes"; then
18566     echo "$as_me:$LINENO: checking for ld version" >&5
18567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18568
18569     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18570       glibcxx_ld_is_gold=yes
18571     fi
18572     ldver=`$LD --version 2>/dev/null | head -1 | \
18573            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18574
18575     glibcxx_gnu_ld_version=`echo $ldver | \
18576            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18577     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18578 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18579   fi
18580
18581   # Set --gc-sections.
18582   glibcxx_have_gc_sections=no
18583   if test "$glibcxx_ld_is_gold" = "yes"; then
18584     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18585       glibcxx_have_gc_sections=yes
18586     fi
18587   else
18588     glibcxx_gcsections_min_ld=21602
18589     if test x"$with_gnu_ld" = x"yes" &&
18590         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18591       glibcxx_have_gc_sections=yes
18592     fi
18593   fi
18594   if test "$glibcxx_have_gc_sections" = "yes"; then
18595     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18596     # NB: This flag only works reliably after 2.16.1. Configure tests
18597     # for this are difficult, so hard wire a value that should work.
18598
18599     ac_test_CFLAGS="${CFLAGS+set}"
18600     ac_save_CFLAGS="$CFLAGS"
18601     CFLAGS='-Wl,--gc-sections'
18602
18603     # Check for -Wl,--gc-sections
18604     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18605 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18606     if test x$gcc_no_link = xyes; then
18607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18609    { (exit 1); exit 1; }; }
18610 fi
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h.  */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h.  */
18617  int one(void) { return 1; }
18618      int two(void) { return 2; }
18619
18620 int
18621 main ()
18622 {
18623  two();
18624   ;
18625   return 0;
18626 }
18627 _ACEOF
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630   (eval $ac_link) 2>conftest.er1
18631   ac_status=$?
18632   grep -v '^ *+' conftest.er1 >conftest.err
18633   rm -f conftest.er1
18634   cat conftest.err >&5
18635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636   (exit $ac_status); } &&
18637          { ac_try='test -z "$ac_c_werror_flag"
18638                          || test ! -s conftest.err'
18639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640   (eval $ac_try) 2>&5
18641   ac_status=$?
18642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643   (exit $ac_status); }; } &&
18644          { ac_try='test -s conftest$ac_exeext'
18645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646   (eval $ac_try) 2>&5
18647   ac_status=$?
18648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649   (exit $ac_status); }; }; then
18650   ac_gcsections=yes
18651 else
18652   echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18654
18655 ac_gcsections=no
18656 fi
18657 rm -f conftest.err conftest.$ac_objext \
18658       conftest$ac_exeext conftest.$ac_ext
18659     if test "$ac_gcsections" = "yes"; then
18660       rm -f conftest.c
18661       touch conftest.c
18662       if $CC -c conftest.c; then
18663         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18664            grep "Warning: gc-sections option ignored" > /dev/null; then
18665           ac_gcsections=no
18666         fi
18667       fi
18668       rm -f conftest.c conftest.o conftest
18669     fi
18670     if test "$ac_gcsections" = "yes"; then
18671       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18672     fi
18673     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18674 echo "${ECHO_T}$ac_gcsections" >&6
18675
18676     if test "$ac_test_CFLAGS" = set; then
18677       CFLAGS="$ac_save_CFLAGS"
18678     else
18679       # this is the suspicious part
18680       CFLAGS=''
18681     fi
18682   fi
18683
18684   # Set -z,relro.
18685   # Note this is only for shared objects.
18686   ac_ld_relro=no
18687   if test x"$with_gnu_ld" = x"yes"; then
18688     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18689 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18690     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18691     if test -n "$cxx_z_relo"; then
18692       OPT_LDFLAGS="-Wl,-z,relro"
18693       ac_ld_relro=yes
18694     fi
18695     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18696 echo "${ECHO_T}$ac_ld_relro" >&6
18697   fi
18698
18699   # Set linker optimization flags.
18700   if test x"$with_gnu_ld" = x"yes"; then
18701     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18702   fi
18703
18704
18705
18706
18707
18708   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18709   ac_save_CXXFLAGS="$CXXFLAGS"
18710   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18711
18712     echo "$as_me:$LINENO: checking for sin in -lm" >&5
18713 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18714 if test "${ac_cv_lib_m_sin+set}" = set; then
18715   echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717   ac_check_lib_save_LIBS=$LIBS
18718 LIBS="-lm  $LIBS"
18719 if test x$gcc_no_link = xyes; then
18720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18722    { (exit 1); exit 1; }; }
18723 fi
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h.  */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h.  */
18730
18731 /* Override any gcc2 internal prototype to avoid an error.  */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 /* We use char because int might match the return type of a gcc2
18736    builtin and then its argument prototype would still apply.  */
18737 char sin ();
18738 int
18739 main ()
18740 {
18741 sin ();
18742   ;
18743   return 0;
18744 }
18745 _ACEOF
18746 rm -f conftest.$ac_objext conftest$ac_exeext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18748   (eval $ac_link) 2>conftest.er1
18749   ac_status=$?
18750   grep -v '^ *+' conftest.er1 >conftest.err
18751   rm -f conftest.er1
18752   cat conftest.err >&5
18753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754   (exit $ac_status); } &&
18755          { ac_try='test -z "$ac_c_werror_flag"
18756                          || test ! -s conftest.err'
18757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758   (eval $ac_try) 2>&5
18759   ac_status=$?
18760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761   (exit $ac_status); }; } &&
18762          { ac_try='test -s conftest$ac_exeext'
18763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764   (eval $ac_try) 2>&5
18765   ac_status=$?
18766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767   (exit $ac_status); }; }; then
18768   ac_cv_lib_m_sin=yes
18769 else
18770   echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18772
18773 ac_cv_lib_m_sin=no
18774 fi
18775 rm -f conftest.err conftest.$ac_objext \
18776       conftest$ac_exeext conftest.$ac_ext
18777 LIBS=$ac_check_lib_save_LIBS
18778 fi
18779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18780 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18781 if test $ac_cv_lib_m_sin = yes; then
18782   libm="-lm"
18783 fi
18784
18785   ac_save_LIBS="$LIBS"
18786   LIBS="$LIBS $libm"
18787
18788
18789
18790   echo "$as_me:$LINENO: checking for isinf declaration" >&5
18791 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18792   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18793     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18794   echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796
18797
18798
18799       ac_ext=cc
18800 ac_cpp='$CXXCPP $CPPFLAGS'
18801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18804
18805       cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h.  */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h.  */
18811 #include <math.h>
18812                       #ifdef HAVE_IEEEFP_H
18813                       #include <ieeefp.h>
18814                       #endif
18815
18816 int
18817 main ()
18818 {
18819  isinf(0);
18820   ;
18821   return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18826   (eval $ac_compile) 2>conftest.er1
18827   ac_status=$?
18828   grep -v '^ *+' conftest.er1 >conftest.err
18829   rm -f conftest.er1
18830   cat conftest.err >&5
18831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832   (exit $ac_status); } &&
18833          { ac_try='test -z "$ac_cxx_werror_flag"
18834                          || test ! -s conftest.err'
18835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836   (eval $ac_try) 2>&5
18837   ac_status=$?
18838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839   (exit $ac_status); }; } &&
18840          { ac_try='test -s conftest.$ac_objext'
18841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842   (eval $ac_try) 2>&5
18843   ac_status=$?
18844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845   (exit $ac_status); }; }; then
18846   glibcxx_cv_func_isinf_use=yes
18847 else
18848   echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 glibcxx_cv_func_isinf_use=no
18852 fi
18853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18854       ac_ext=c
18855 ac_cpp='$CPP $CPPFLAGS'
18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18859
18860
18861 fi
18862
18863   fi
18864   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18865 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18866
18867   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18868
18869 for ac_func in isinf
18870 do
18871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18872 echo "$as_me:$LINENO: checking for $ac_func" >&5
18873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18874 if eval "test \"\${$as_ac_var+set}\" = set"; then
18875   echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877   if test x$gcc_no_link = xyes; then
18878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18880    { (exit 1); exit 1; }; }
18881 fi
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h.  */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h.  */
18888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18890 #define $ac_func innocuous_$ac_func
18891
18892 /* System header to define __stub macros and hopefully few prototypes,
18893     which can conflict with char $ac_func (); below.
18894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18895     <limits.h> exists even on freestanding compilers.  */
18896
18897 #ifdef __STDC__
18898 # include <limits.h>
18899 #else
18900 # include <assert.h>
18901 #endif
18902
18903 #undef $ac_func
18904
18905 /* Override any gcc2 internal prototype to avoid an error.  */
18906 #ifdef __cplusplus
18907 extern "C"
18908 {
18909 #endif
18910 /* We use char because int might match the return type of a gcc2
18911    builtin and then its argument prototype would still apply.  */
18912 char $ac_func ();
18913 /* The GNU C library defines this for functions which it implements
18914     to always fail with ENOSYS.  Some functions are actually named
18915     something starting with __ and the normal name is an alias.  */
18916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18917 choke me
18918 #else
18919 char (*f) () = $ac_func;
18920 #endif
18921 #ifdef __cplusplus
18922 }
18923 #endif
18924
18925 int
18926 main ()
18927 {
18928 return f != $ac_func;
18929   ;
18930   return 0;
18931 }
18932 _ACEOF
18933 rm -f conftest.$ac_objext conftest$ac_exeext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935   (eval $ac_link) 2>conftest.er1
18936   ac_status=$?
18937   grep -v '^ *+' conftest.er1 >conftest.err
18938   rm -f conftest.er1
18939   cat conftest.err >&5
18940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941   (exit $ac_status); } &&
18942          { ac_try='test -z "$ac_c_werror_flag"
18943                          || test ! -s conftest.err'
18944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945   (eval $ac_try) 2>&5
18946   ac_status=$?
18947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948   (exit $ac_status); }; } &&
18949          { ac_try='test -s conftest$ac_exeext'
18950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951   (eval $ac_try) 2>&5
18952   ac_status=$?
18953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954   (exit $ac_status); }; }; then
18955   eval "$as_ac_var=yes"
18956 else
18957   echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18959
18960 eval "$as_ac_var=no"
18961 fi
18962 rm -f conftest.err conftest.$ac_objext \
18963       conftest$ac_exeext conftest.$ac_ext
18964 fi
18965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18967 if test `eval echo '${'$as_ac_var'}'` = yes; then
18968   cat >>confdefs.h <<_ACEOF
18969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18970 _ACEOF
18971
18972 fi
18973 done
18974
18975   else
18976
18977   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18978 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18979   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18980     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18981   echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18983
18984
18985
18986       ac_ext=cc
18987 ac_cpp='$CXXCPP $CPPFLAGS'
18988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18991
18992       cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h.  */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h.  */
18998 #include <math.h>
18999                       #ifdef HAVE_IEEEFP_H
19000                       #include <ieeefp.h>
19001                       #endif
19002
19003 int
19004 main ()
19005 {
19006  _isinf(0);
19007   ;
19008   return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013   (eval $ac_compile) 2>conftest.er1
19014   ac_status=$?
19015   grep -v '^ *+' conftest.er1 >conftest.err
19016   rm -f conftest.er1
19017   cat conftest.err >&5
19018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019   (exit $ac_status); } &&
19020          { ac_try='test -z "$ac_cxx_werror_flag"
19021                          || test ! -s conftest.err'
19022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023   (eval $ac_try) 2>&5
19024   ac_status=$?
19025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026   (exit $ac_status); }; } &&
19027          { ac_try='test -s conftest.$ac_objext'
19028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029   (eval $ac_try) 2>&5
19030   ac_status=$?
19031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032   (exit $ac_status); }; }; then
19033   glibcxx_cv_func__isinf_use=yes
19034 else
19035   echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.$ac_ext >&5
19037
19038 glibcxx_cv_func__isinf_use=no
19039 fi
19040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19041       ac_ext=c
19042 ac_cpp='$CPP $CPPFLAGS'
19043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19046
19047
19048 fi
19049
19050   fi
19051   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19052 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19053
19054     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19055
19056 for ac_func in _isinf
19057 do
19058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19059 echo "$as_me:$LINENO: checking for $ac_func" >&5
19060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19061 if eval "test \"\${$as_ac_var+set}\" = set"; then
19062   echo $ECHO_N "(cached) $ECHO_C" >&6
19063 else
19064   if test x$gcc_no_link = xyes; then
19065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19067    { (exit 1); exit 1; }; }
19068 fi
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h.  */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h.  */
19075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19077 #define $ac_func innocuous_$ac_func
19078
19079 /* System header to define __stub macros and hopefully few prototypes,
19080     which can conflict with char $ac_func (); below.
19081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19082     <limits.h> exists even on freestanding compilers.  */
19083
19084 #ifdef __STDC__
19085 # include <limits.h>
19086 #else
19087 # include <assert.h>
19088 #endif
19089
19090 #undef $ac_func
19091
19092 /* Override any gcc2 internal prototype to avoid an error.  */
19093 #ifdef __cplusplus
19094 extern "C"
19095 {
19096 #endif
19097 /* We use char because int might match the return type of a gcc2
19098    builtin and then its argument prototype would still apply.  */
19099 char $ac_func ();
19100 /* The GNU C library defines this for functions which it implements
19101     to always fail with ENOSYS.  Some functions are actually named
19102     something starting with __ and the normal name is an alias.  */
19103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19104 choke me
19105 #else
19106 char (*f) () = $ac_func;
19107 #endif
19108 #ifdef __cplusplus
19109 }
19110 #endif
19111
19112 int
19113 main ()
19114 {
19115 return f != $ac_func;
19116   ;
19117   return 0;
19118 }
19119 _ACEOF
19120 rm -f conftest.$ac_objext conftest$ac_exeext
19121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122   (eval $ac_link) 2>conftest.er1
19123   ac_status=$?
19124   grep -v '^ *+' conftest.er1 >conftest.err
19125   rm -f conftest.er1
19126   cat conftest.err >&5
19127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128   (exit $ac_status); } &&
19129          { ac_try='test -z "$ac_c_werror_flag"
19130                          || test ! -s conftest.err'
19131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132   (eval $ac_try) 2>&5
19133   ac_status=$?
19134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135   (exit $ac_status); }; } &&
19136          { ac_try='test -s conftest$ac_exeext'
19137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138   (eval $ac_try) 2>&5
19139   ac_status=$?
19140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141   (exit $ac_status); }; }; then
19142   eval "$as_ac_var=yes"
19143 else
19144   echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 eval "$as_ac_var=no"
19148 fi
19149 rm -f conftest.err conftest.$ac_objext \
19150       conftest$ac_exeext conftest.$ac_ext
19151 fi
19152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19154 if test `eval echo '${'$as_ac_var'}'` = yes; then
19155   cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19157 _ACEOF
19158
19159 fi
19160 done
19161
19162     fi
19163   fi
19164
19165
19166
19167
19168
19169
19170   echo "$as_me:$LINENO: checking for isnan declaration" >&5
19171 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19172   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19173     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19174   echo $ECHO_N "(cached) $ECHO_C" >&6
19175 else
19176
19177
19178
19179       ac_ext=cc
19180 ac_cpp='$CXXCPP $CPPFLAGS'
19181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19184
19185       cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h.  */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h.  */
19191 #include <math.h>
19192                       #ifdef HAVE_IEEEFP_H
19193                       #include <ieeefp.h>
19194                       #endif
19195
19196 int
19197 main ()
19198 {
19199  isnan(0);
19200   ;
19201   return 0;
19202 }
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206   (eval $ac_compile) 2>conftest.er1
19207   ac_status=$?
19208   grep -v '^ *+' conftest.er1 >conftest.err
19209   rm -f conftest.er1
19210   cat conftest.err >&5
19211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212   (exit $ac_status); } &&
19213          { ac_try='test -z "$ac_cxx_werror_flag"
19214                          || test ! -s conftest.err'
19215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216   (eval $ac_try) 2>&5
19217   ac_status=$?
19218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219   (exit $ac_status); }; } &&
19220          { ac_try='test -s conftest.$ac_objext'
19221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222   (eval $ac_try) 2>&5
19223   ac_status=$?
19224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225   (exit $ac_status); }; }; then
19226   glibcxx_cv_func_isnan_use=yes
19227 else
19228   echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19230
19231 glibcxx_cv_func_isnan_use=no
19232 fi
19233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19234       ac_ext=c
19235 ac_cpp='$CPP $CPPFLAGS'
19236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19239
19240
19241 fi
19242
19243   fi
19244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19245 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19246
19247   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19248
19249 for ac_func in isnan
19250 do
19251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19252 echo "$as_me:$LINENO: checking for $ac_func" >&5
19253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19254 if eval "test \"\${$as_ac_var+set}\" = set"; then
19255   echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257   if test x$gcc_no_link = xyes; then
19258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19260    { (exit 1); exit 1; }; }
19261 fi
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h.  */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h.  */
19268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19270 #define $ac_func innocuous_$ac_func
19271
19272 /* System header to define __stub macros and hopefully few prototypes,
19273     which can conflict with char $ac_func (); below.
19274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19275     <limits.h> exists even on freestanding compilers.  */
19276
19277 #ifdef __STDC__
19278 # include <limits.h>
19279 #else
19280 # include <assert.h>
19281 #endif
19282
19283 #undef $ac_func
19284
19285 /* Override any gcc2 internal prototype to avoid an error.  */
19286 #ifdef __cplusplus
19287 extern "C"
19288 {
19289 #endif
19290 /* We use char because int might match the return type of a gcc2
19291    builtin and then its argument prototype would still apply.  */
19292 char $ac_func ();
19293 /* The GNU C library defines this for functions which it implements
19294     to always fail with ENOSYS.  Some functions are actually named
19295     something starting with __ and the normal name is an alias.  */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19297 choke me
19298 #else
19299 char (*f) () = $ac_func;
19300 #endif
19301 #ifdef __cplusplus
19302 }
19303 #endif
19304
19305 int
19306 main ()
19307 {
19308 return f != $ac_func;
19309   ;
19310   return 0;
19311 }
19312 _ACEOF
19313 rm -f conftest.$ac_objext conftest$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315   (eval $ac_link) 2>conftest.er1
19316   ac_status=$?
19317   grep -v '^ *+' conftest.er1 >conftest.err
19318   rm -f conftest.er1
19319   cat conftest.err >&5
19320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321   (exit $ac_status); } &&
19322          { ac_try='test -z "$ac_c_werror_flag"
19323                          || test ! -s conftest.err'
19324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325   (eval $ac_try) 2>&5
19326   ac_status=$?
19327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328   (exit $ac_status); }; } &&
19329          { ac_try='test -s conftest$ac_exeext'
19330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331   (eval $ac_try) 2>&5
19332   ac_status=$?
19333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334   (exit $ac_status); }; }; then
19335   eval "$as_ac_var=yes"
19336 else
19337   echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19339
19340 eval "$as_ac_var=no"
19341 fi
19342 rm -f conftest.err conftest.$ac_objext \
19343       conftest$ac_exeext conftest.$ac_ext
19344 fi
19345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19347 if test `eval echo '${'$as_ac_var'}'` = yes; then
19348   cat >>confdefs.h <<_ACEOF
19349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19350 _ACEOF
19351
19352 fi
19353 done
19354
19355   else
19356
19357   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19358 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19359   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19360     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19361   echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363
19364
19365
19366       ac_ext=cc
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372       cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h.  */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h.  */
19378 #include <math.h>
19379                       #ifdef HAVE_IEEEFP_H
19380                       #include <ieeefp.h>
19381                       #endif
19382
19383 int
19384 main ()
19385 {
19386  _isnan(0);
19387   ;
19388   return 0;
19389 }
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393   (eval $ac_compile) 2>conftest.er1
19394   ac_status=$?
19395   grep -v '^ *+' conftest.er1 >conftest.err
19396   rm -f conftest.er1
19397   cat conftest.err >&5
19398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399   (exit $ac_status); } &&
19400          { ac_try='test -z "$ac_cxx_werror_flag"
19401                          || test ! -s conftest.err'
19402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403   (eval $ac_try) 2>&5
19404   ac_status=$?
19405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406   (exit $ac_status); }; } &&
19407          { ac_try='test -s conftest.$ac_objext'
19408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409   (eval $ac_try) 2>&5
19410   ac_status=$?
19411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412   (exit $ac_status); }; }; then
19413   glibcxx_cv_func__isnan_use=yes
19414 else
19415   echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19417
19418 glibcxx_cv_func__isnan_use=no
19419 fi
19420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19421       ac_ext=c
19422 ac_cpp='$CPP $CPPFLAGS'
19423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19426
19427
19428 fi
19429
19430   fi
19431   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19432 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19433
19434     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19435
19436 for ac_func in _isnan
19437 do
19438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19439 echo "$as_me:$LINENO: checking for $ac_func" >&5
19440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19441 if eval "test \"\${$as_ac_var+set}\" = set"; then
19442   echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444   if test x$gcc_no_link = xyes; then
19445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19447    { (exit 1); exit 1; }; }
19448 fi
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h.  */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h.  */
19455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19457 #define $ac_func innocuous_$ac_func
19458
19459 /* System header to define __stub macros and hopefully few prototypes,
19460     which can conflict with char $ac_func (); below.
19461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19462     <limits.h> exists even on freestanding compilers.  */
19463
19464 #ifdef __STDC__
19465 # include <limits.h>
19466 #else
19467 # include <assert.h>
19468 #endif
19469
19470 #undef $ac_func
19471
19472 /* Override any gcc2 internal prototype to avoid an error.  */
19473 #ifdef __cplusplus
19474 extern "C"
19475 {
19476 #endif
19477 /* We use char because int might match the return type of a gcc2
19478    builtin and then its argument prototype would still apply.  */
19479 char $ac_func ();
19480 /* The GNU C library defines this for functions which it implements
19481     to always fail with ENOSYS.  Some functions are actually named
19482     something starting with __ and the normal name is an alias.  */
19483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19484 choke me
19485 #else
19486 char (*f) () = $ac_func;
19487 #endif
19488 #ifdef __cplusplus
19489 }
19490 #endif
19491
19492 int
19493 main ()
19494 {
19495 return f != $ac_func;
19496   ;
19497   return 0;
19498 }
19499 _ACEOF
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502   (eval $ac_link) 2>conftest.er1
19503   ac_status=$?
19504   grep -v '^ *+' conftest.er1 >conftest.err
19505   rm -f conftest.er1
19506   cat conftest.err >&5
19507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508   (exit $ac_status); } &&
19509          { ac_try='test -z "$ac_c_werror_flag"
19510                          || test ! -s conftest.err'
19511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512   (eval $ac_try) 2>&5
19513   ac_status=$?
19514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515   (exit $ac_status); }; } &&
19516          { ac_try='test -s conftest$ac_exeext'
19517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518   (eval $ac_try) 2>&5
19519   ac_status=$?
19520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521   (exit $ac_status); }; }; then
19522   eval "$as_ac_var=yes"
19523 else
19524   echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19526
19527 eval "$as_ac_var=no"
19528 fi
19529 rm -f conftest.err conftest.$ac_objext \
19530       conftest$ac_exeext conftest.$ac_ext
19531 fi
19532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19534 if test `eval echo '${'$as_ac_var'}'` = yes; then
19535   cat >>confdefs.h <<_ACEOF
19536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19537 _ACEOF
19538
19539 fi
19540 done
19541
19542     fi
19543   fi
19544
19545
19546
19547
19548
19549
19550   echo "$as_me:$LINENO: checking for finite declaration" >&5
19551 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19552   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19553     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19554   echo $ECHO_N "(cached) $ECHO_C" >&6
19555 else
19556
19557
19558
19559       ac_ext=cc
19560 ac_cpp='$CXXCPP $CPPFLAGS'
19561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19564
19565       cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h.  */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h.  */
19571 #include <math.h>
19572                       #ifdef HAVE_IEEEFP_H
19573                       #include <ieeefp.h>
19574                       #endif
19575
19576 int
19577 main ()
19578 {
19579  finite(0);
19580   ;
19581   return 0;
19582 }
19583 _ACEOF
19584 rm -f conftest.$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586   (eval $ac_compile) 2>conftest.er1
19587   ac_status=$?
19588   grep -v '^ *+' conftest.er1 >conftest.err
19589   rm -f conftest.er1
19590   cat conftest.err >&5
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); } &&
19593          { ac_try='test -z "$ac_cxx_werror_flag"
19594                          || test ! -s conftest.err'
19595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596   (eval $ac_try) 2>&5
19597   ac_status=$?
19598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599   (exit $ac_status); }; } &&
19600          { ac_try='test -s conftest.$ac_objext'
19601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602   (eval $ac_try) 2>&5
19603   ac_status=$?
19604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605   (exit $ac_status); }; }; then
19606   glibcxx_cv_func_finite_use=yes
19607 else
19608   echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19610
19611 glibcxx_cv_func_finite_use=no
19612 fi
19613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19614       ac_ext=c
19615 ac_cpp='$CPP $CPPFLAGS'
19616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19619
19620
19621 fi
19622
19623   fi
19624   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19625 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19626
19627   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19628
19629 for ac_func in finite
19630 do
19631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19632 echo "$as_me:$LINENO: checking for $ac_func" >&5
19633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19634 if eval "test \"\${$as_ac_var+set}\" = set"; then
19635   echo $ECHO_N "(cached) $ECHO_C" >&6
19636 else
19637   if test x$gcc_no_link = xyes; then
19638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19640    { (exit 1); exit 1; }; }
19641 fi
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h.  */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h.  */
19648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19650 #define $ac_func innocuous_$ac_func
19651
19652 /* System header to define __stub macros and hopefully few prototypes,
19653     which can conflict with char $ac_func (); below.
19654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19655     <limits.h> exists even on freestanding compilers.  */
19656
19657 #ifdef __STDC__
19658 # include <limits.h>
19659 #else
19660 # include <assert.h>
19661 #endif
19662
19663 #undef $ac_func
19664
19665 /* Override any gcc2 internal prototype to avoid an error.  */
19666 #ifdef __cplusplus
19667 extern "C"
19668 {
19669 #endif
19670 /* We use char because int might match the return type of a gcc2
19671    builtin and then its argument prototype would still apply.  */
19672 char $ac_func ();
19673 /* The GNU C library defines this for functions which it implements
19674     to always fail with ENOSYS.  Some functions are actually named
19675     something starting with __ and the normal name is an alias.  */
19676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19677 choke me
19678 #else
19679 char (*f) () = $ac_func;
19680 #endif
19681 #ifdef __cplusplus
19682 }
19683 #endif
19684
19685 int
19686 main ()
19687 {
19688 return f != $ac_func;
19689   ;
19690   return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest.$ac_objext conftest$ac_exeext
19694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19695   (eval $ac_link) 2>conftest.er1
19696   ac_status=$?
19697   grep -v '^ *+' conftest.er1 >conftest.err
19698   rm -f conftest.er1
19699   cat conftest.err >&5
19700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701   (exit $ac_status); } &&
19702          { ac_try='test -z "$ac_c_werror_flag"
19703                          || test ! -s conftest.err'
19704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705   (eval $ac_try) 2>&5
19706   ac_status=$?
19707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708   (exit $ac_status); }; } &&
19709          { ac_try='test -s conftest$ac_exeext'
19710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711   (eval $ac_try) 2>&5
19712   ac_status=$?
19713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714   (exit $ac_status); }; }; then
19715   eval "$as_ac_var=yes"
19716 else
19717   echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 eval "$as_ac_var=no"
19721 fi
19722 rm -f conftest.err conftest.$ac_objext \
19723       conftest$ac_exeext conftest.$ac_ext
19724 fi
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19727 if test `eval echo '${'$as_ac_var'}'` = yes; then
19728   cat >>confdefs.h <<_ACEOF
19729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19730 _ACEOF
19731
19732 fi
19733 done
19734
19735   else
19736
19737   echo "$as_me:$LINENO: checking for _finite declaration" >&5
19738 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19739   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19740     if test "${glibcxx_cv_func__finite_use+set}" = set; then
19741   echo $ECHO_N "(cached) $ECHO_C" >&6
19742 else
19743
19744
19745
19746       ac_ext=cc
19747 ac_cpp='$CXXCPP $CPPFLAGS'
19748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19751
19752       cat >conftest.$ac_ext <<_ACEOF
19753 /* confdefs.h.  */
19754 _ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h.  */
19758 #include <math.h>
19759                       #ifdef HAVE_IEEEFP_H
19760                       #include <ieeefp.h>
19761                       #endif
19762
19763 int
19764 main ()
19765 {
19766  _finite(0);
19767   ;
19768   return 0;
19769 }
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773   (eval $ac_compile) 2>conftest.er1
19774   ac_status=$?
19775   grep -v '^ *+' conftest.er1 >conftest.err
19776   rm -f conftest.er1
19777   cat conftest.err >&5
19778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779   (exit $ac_status); } &&
19780          { ac_try='test -z "$ac_cxx_werror_flag"
19781                          || test ! -s conftest.err'
19782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783   (eval $ac_try) 2>&5
19784   ac_status=$?
19785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786   (exit $ac_status); }; } &&
19787          { ac_try='test -s conftest.$ac_objext'
19788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789   (eval $ac_try) 2>&5
19790   ac_status=$?
19791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792   (exit $ac_status); }; }; then
19793   glibcxx_cv_func__finite_use=yes
19794 else
19795   echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19797
19798 glibcxx_cv_func__finite_use=no
19799 fi
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19801       ac_ext=c
19802 ac_cpp='$CPP $CPPFLAGS'
19803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19806
19807
19808 fi
19809
19810   fi
19811   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19812 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19813
19814     if test x$glibcxx_cv_func__finite_use = x"yes"; then
19815
19816 for ac_func in _finite
19817 do
19818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19819 echo "$as_me:$LINENO: checking for $ac_func" >&5
19820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19821 if eval "test \"\${$as_ac_var+set}\" = set"; then
19822   echo $ECHO_N "(cached) $ECHO_C" >&6
19823 else
19824   if test x$gcc_no_link = xyes; then
19825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19827    { (exit 1); exit 1; }; }
19828 fi
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h.  */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h.  */
19835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19837 #define $ac_func innocuous_$ac_func
19838
19839 /* System header to define __stub macros and hopefully few prototypes,
19840     which can conflict with char $ac_func (); below.
19841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19842     <limits.h> exists even on freestanding compilers.  */
19843
19844 #ifdef __STDC__
19845 # include <limits.h>
19846 #else
19847 # include <assert.h>
19848 #endif
19849
19850 #undef $ac_func
19851
19852 /* Override any gcc2 internal prototype to avoid an error.  */
19853 #ifdef __cplusplus
19854 extern "C"
19855 {
19856 #endif
19857 /* We use char because int might match the return type of a gcc2
19858    builtin and then its argument prototype would still apply.  */
19859 char $ac_func ();
19860 /* The GNU C library defines this for functions which it implements
19861     to always fail with ENOSYS.  Some functions are actually named
19862     something starting with __ and the normal name is an alias.  */
19863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19864 choke me
19865 #else
19866 char (*f) () = $ac_func;
19867 #endif
19868 #ifdef __cplusplus
19869 }
19870 #endif
19871
19872 int
19873 main ()
19874 {
19875 return f != $ac_func;
19876   ;
19877   return 0;
19878 }
19879 _ACEOF
19880 rm -f conftest.$ac_objext conftest$ac_exeext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882   (eval $ac_link) 2>conftest.er1
19883   ac_status=$?
19884   grep -v '^ *+' conftest.er1 >conftest.err
19885   rm -f conftest.er1
19886   cat conftest.err >&5
19887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888   (exit $ac_status); } &&
19889          { ac_try='test -z "$ac_c_werror_flag"
19890                          || test ! -s conftest.err'
19891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892   (eval $ac_try) 2>&5
19893   ac_status=$?
19894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895   (exit $ac_status); }; } &&
19896          { ac_try='test -s conftest$ac_exeext'
19897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898   (eval $ac_try) 2>&5
19899   ac_status=$?
19900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901   (exit $ac_status); }; }; then
19902   eval "$as_ac_var=yes"
19903 else
19904   echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19906
19907 eval "$as_ac_var=no"
19908 fi
19909 rm -f conftest.err conftest.$ac_objext \
19910       conftest$ac_exeext conftest.$ac_ext
19911 fi
19912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19914 if test `eval echo '${'$as_ac_var'}'` = yes; then
19915   cat >>confdefs.h <<_ACEOF
19916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19917 _ACEOF
19918
19919 fi
19920 done
19921
19922     fi
19923   fi
19924
19925
19926
19927
19928
19929
19930   echo "$as_me:$LINENO: checking for copysign declaration" >&5
19931 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19932   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19933     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19934   echo $ECHO_N "(cached) $ECHO_C" >&6
19935 else
19936
19937
19938
19939       ac_ext=cc
19940 ac_cpp='$CXXCPP $CPPFLAGS'
19941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19944
19945       cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h.  */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h.  */
19951 #include <math.h>
19952 int
19953 main ()
19954 {
19955  copysign(0, 0);
19956   ;
19957   return 0;
19958 }
19959 _ACEOF
19960 rm -f conftest.$ac_objext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19962   (eval $ac_compile) 2>conftest.er1
19963   ac_status=$?
19964   grep -v '^ *+' conftest.er1 >conftest.err
19965   rm -f conftest.er1
19966   cat conftest.err >&5
19967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968   (exit $ac_status); } &&
19969          { ac_try='test -z "$ac_cxx_werror_flag"
19970                          || test ! -s conftest.err'
19971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972   (eval $ac_try) 2>&5
19973   ac_status=$?
19974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975   (exit $ac_status); }; } &&
19976          { ac_try='test -s conftest.$ac_objext'
19977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978   (eval $ac_try) 2>&5
19979   ac_status=$?
19980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981   (exit $ac_status); }; }; then
19982   glibcxx_cv_func_copysign_use=yes
19983 else
19984   echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19986
19987 glibcxx_cv_func_copysign_use=no
19988 fi
19989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19990       ac_ext=c
19991 ac_cpp='$CPP $CPPFLAGS'
19992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19995
19996
19997 fi
19998
19999   fi
20000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20001 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20002
20003   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20004
20005 for ac_func in copysign
20006 do
20007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20008 echo "$as_me:$LINENO: checking for $ac_func" >&5
20009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20010 if eval "test \"\${$as_ac_var+set}\" = set"; then
20011   echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013   if test x$gcc_no_link = xyes; then
20014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016    { (exit 1); exit 1; }; }
20017 fi
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h.  */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h.  */
20024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20026 #define $ac_func innocuous_$ac_func
20027
20028 /* System header to define __stub macros and hopefully few prototypes,
20029     which can conflict with char $ac_func (); below.
20030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20031     <limits.h> exists even on freestanding compilers.  */
20032
20033 #ifdef __STDC__
20034 # include <limits.h>
20035 #else
20036 # include <assert.h>
20037 #endif
20038
20039 #undef $ac_func
20040
20041 /* Override any gcc2 internal prototype to avoid an error.  */
20042 #ifdef __cplusplus
20043 extern "C"
20044 {
20045 #endif
20046 /* We use char because int might match the return type of a gcc2
20047    builtin and then its argument prototype would still apply.  */
20048 char $ac_func ();
20049 /* The GNU C library defines this for functions which it implements
20050     to always fail with ENOSYS.  Some functions are actually named
20051     something starting with __ and the normal name is an alias.  */
20052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20053 choke me
20054 #else
20055 char (*f) () = $ac_func;
20056 #endif
20057 #ifdef __cplusplus
20058 }
20059 #endif
20060
20061 int
20062 main ()
20063 {
20064 return f != $ac_func;
20065   ;
20066   return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext conftest$ac_exeext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20071   (eval $ac_link) 2>conftest.er1
20072   ac_status=$?
20073   grep -v '^ *+' conftest.er1 >conftest.err
20074   rm -f conftest.er1
20075   cat conftest.err >&5
20076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077   (exit $ac_status); } &&
20078          { ac_try='test -z "$ac_c_werror_flag"
20079                          || test ! -s conftest.err'
20080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081   (eval $ac_try) 2>&5
20082   ac_status=$?
20083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084   (exit $ac_status); }; } &&
20085          { ac_try='test -s conftest$ac_exeext'
20086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087   (eval $ac_try) 2>&5
20088   ac_status=$?
20089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090   (exit $ac_status); }; }; then
20091   eval "$as_ac_var=yes"
20092 else
20093   echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20095
20096 eval "$as_ac_var=no"
20097 fi
20098 rm -f conftest.err conftest.$ac_objext \
20099       conftest$ac_exeext conftest.$ac_ext
20100 fi
20101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20103 if test `eval echo '${'$as_ac_var'}'` = yes; then
20104   cat >>confdefs.h <<_ACEOF
20105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20106 _ACEOF
20107
20108 fi
20109 done
20110
20111   else
20112
20113   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20114 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20115   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20116     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20117   echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20119
20120
20121
20122       ac_ext=cc
20123 ac_cpp='$CXXCPP $CPPFLAGS'
20124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20127
20128       cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h.  */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h.  */
20134 #include <math.h>
20135 int
20136 main ()
20137 {
20138  _copysign(0, 0);
20139   ;
20140   return 0;
20141 }
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145   (eval $ac_compile) 2>conftest.er1
20146   ac_status=$?
20147   grep -v '^ *+' conftest.er1 >conftest.err
20148   rm -f conftest.er1
20149   cat conftest.err >&5
20150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151   (exit $ac_status); } &&
20152          { ac_try='test -z "$ac_cxx_werror_flag"
20153                          || test ! -s conftest.err'
20154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155   (eval $ac_try) 2>&5
20156   ac_status=$?
20157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158   (exit $ac_status); }; } &&
20159          { ac_try='test -s conftest.$ac_objext'
20160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161   (eval $ac_try) 2>&5
20162   ac_status=$?
20163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164   (exit $ac_status); }; }; then
20165   glibcxx_cv_func__copysign_use=yes
20166 else
20167   echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 glibcxx_cv_func__copysign_use=no
20171 fi
20172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173       ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178
20179
20180 fi
20181
20182   fi
20183   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20184 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20185
20186     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20187
20188 for ac_func in _copysign
20189 do
20190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20191 echo "$as_me:$LINENO: checking for $ac_func" >&5
20192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20193 if eval "test \"\${$as_ac_var+set}\" = set"; then
20194   echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196   if test x$gcc_no_link = xyes; then
20197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20199    { (exit 1); exit 1; }; }
20200 fi
20201 cat >conftest.$ac_ext <<_ACEOF
20202 /* confdefs.h.  */
20203 _ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h.  */
20207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20209 #define $ac_func innocuous_$ac_func
20210
20211 /* System header to define __stub macros and hopefully few prototypes,
20212     which can conflict with char $ac_func (); below.
20213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20214     <limits.h> exists even on freestanding compilers.  */
20215
20216 #ifdef __STDC__
20217 # include <limits.h>
20218 #else
20219 # include <assert.h>
20220 #endif
20221
20222 #undef $ac_func
20223
20224 /* Override any gcc2 internal prototype to avoid an error.  */
20225 #ifdef __cplusplus
20226 extern "C"
20227 {
20228 #endif
20229 /* We use char because int might match the return type of a gcc2
20230    builtin and then its argument prototype would still apply.  */
20231 char $ac_func ();
20232 /* The GNU C library defines this for functions which it implements
20233     to always fail with ENOSYS.  Some functions are actually named
20234     something starting with __ and the normal name is an alias.  */
20235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20236 choke me
20237 #else
20238 char (*f) () = $ac_func;
20239 #endif
20240 #ifdef __cplusplus
20241 }
20242 #endif
20243
20244 int
20245 main ()
20246 {
20247 return f != $ac_func;
20248   ;
20249   return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254   (eval $ac_link) 2>conftest.er1
20255   ac_status=$?
20256   grep -v '^ *+' conftest.er1 >conftest.err
20257   rm -f conftest.er1
20258   cat conftest.err >&5
20259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260   (exit $ac_status); } &&
20261          { ac_try='test -z "$ac_c_werror_flag"
20262                          || test ! -s conftest.err'
20263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264   (eval $ac_try) 2>&5
20265   ac_status=$?
20266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267   (exit $ac_status); }; } &&
20268          { ac_try='test -s conftest$ac_exeext'
20269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270   (eval $ac_try) 2>&5
20271   ac_status=$?
20272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273   (exit $ac_status); }; }; then
20274   eval "$as_ac_var=yes"
20275 else
20276   echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279 eval "$as_ac_var=no"
20280 fi
20281 rm -f conftest.err conftest.$ac_objext \
20282       conftest$ac_exeext conftest.$ac_ext
20283 fi
20284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20286 if test `eval echo '${'$as_ac_var'}'` = yes; then
20287   cat >>confdefs.h <<_ACEOF
20288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20289 _ACEOF
20290
20291 fi
20292 done
20293
20294     fi
20295   fi
20296
20297
20298
20299
20300
20301
20302   echo "$as_me:$LINENO: checking for sincos declaration" >&5
20303 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20304   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20305     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20306   echo $ECHO_N "(cached) $ECHO_C" >&6
20307 else
20308
20309
20310
20311       ac_ext=cc
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20316
20317       cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h.  */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h.  */
20323 #include <math.h>
20324 int
20325 main ()
20326 {
20327  sincos(0, 0, 0);
20328   ;
20329   return 0;
20330 }
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20334   (eval $ac_compile) 2>conftest.er1
20335   ac_status=$?
20336   grep -v '^ *+' conftest.er1 >conftest.err
20337   rm -f conftest.er1
20338   cat conftest.err >&5
20339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340   (exit $ac_status); } &&
20341          { ac_try='test -z "$ac_cxx_werror_flag"
20342                          || test ! -s conftest.err'
20343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344   (eval $ac_try) 2>&5
20345   ac_status=$?
20346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347   (exit $ac_status); }; } &&
20348          { ac_try='test -s conftest.$ac_objext'
20349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20350   (eval $ac_try) 2>&5
20351   ac_status=$?
20352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353   (exit $ac_status); }; }; then
20354   glibcxx_cv_func_sincos_use=yes
20355 else
20356   echo "$as_me: failed program was:" >&5
20357 sed 's/^/| /' conftest.$ac_ext >&5
20358
20359 glibcxx_cv_func_sincos_use=no
20360 fi
20361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20362       ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20367
20368
20369 fi
20370
20371   fi
20372   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20373 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20374
20375   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20376
20377 for ac_func in sincos
20378 do
20379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20380 echo "$as_me:$LINENO: checking for $ac_func" >&5
20381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20382 if eval "test \"\${$as_ac_var+set}\" = set"; then
20383   echo $ECHO_N "(cached) $ECHO_C" >&6
20384 else
20385   if test x$gcc_no_link = xyes; then
20386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20388    { (exit 1); exit 1; }; }
20389 fi
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h.  */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h.  */
20396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20398 #define $ac_func innocuous_$ac_func
20399
20400 /* System header to define __stub macros and hopefully few prototypes,
20401     which can conflict with char $ac_func (); below.
20402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20403     <limits.h> exists even on freestanding compilers.  */
20404
20405 #ifdef __STDC__
20406 # include <limits.h>
20407 #else
20408 # include <assert.h>
20409 #endif
20410
20411 #undef $ac_func
20412
20413 /* Override any gcc2 internal prototype to avoid an error.  */
20414 #ifdef __cplusplus
20415 extern "C"
20416 {
20417 #endif
20418 /* We use char because int might match the return type of a gcc2
20419    builtin and then its argument prototype would still apply.  */
20420 char $ac_func ();
20421 /* The GNU C library defines this for functions which it implements
20422     to always fail with ENOSYS.  Some functions are actually named
20423     something starting with __ and the normal name is an alias.  */
20424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20425 choke me
20426 #else
20427 char (*f) () = $ac_func;
20428 #endif
20429 #ifdef __cplusplus
20430 }
20431 #endif
20432
20433 int
20434 main ()
20435 {
20436 return f != $ac_func;
20437   ;
20438   return 0;
20439 }
20440 _ACEOF
20441 rm -f conftest.$ac_objext conftest$ac_exeext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443   (eval $ac_link) 2>conftest.er1
20444   ac_status=$?
20445   grep -v '^ *+' conftest.er1 >conftest.err
20446   rm -f conftest.er1
20447   cat conftest.err >&5
20448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449   (exit $ac_status); } &&
20450          { ac_try='test -z "$ac_c_werror_flag"
20451                          || test ! -s conftest.err'
20452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453   (eval $ac_try) 2>&5
20454   ac_status=$?
20455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456   (exit $ac_status); }; } &&
20457          { ac_try='test -s conftest$ac_exeext'
20458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459   (eval $ac_try) 2>&5
20460   ac_status=$?
20461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462   (exit $ac_status); }; }; then
20463   eval "$as_ac_var=yes"
20464 else
20465   echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20467
20468 eval "$as_ac_var=no"
20469 fi
20470 rm -f conftest.err conftest.$ac_objext \
20471       conftest$ac_exeext conftest.$ac_ext
20472 fi
20473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20475 if test `eval echo '${'$as_ac_var'}'` = yes; then
20476   cat >>confdefs.h <<_ACEOF
20477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20478 _ACEOF
20479
20480 fi
20481 done
20482
20483   else
20484
20485   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20486 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20487   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20488     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20489   echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491
20492
20493
20494       ac_ext=cc
20495 ac_cpp='$CXXCPP $CPPFLAGS'
20496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20499
20500       cat >conftest.$ac_ext <<_ACEOF
20501 /* confdefs.h.  */
20502 _ACEOF
20503 cat confdefs.h >>conftest.$ac_ext
20504 cat >>conftest.$ac_ext <<_ACEOF
20505 /* end confdefs.h.  */
20506 #include <math.h>
20507 int
20508 main ()
20509 {
20510  _sincos(0, 0, 0);
20511   ;
20512   return 0;
20513 }
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517   (eval $ac_compile) 2>conftest.er1
20518   ac_status=$?
20519   grep -v '^ *+' conftest.er1 >conftest.err
20520   rm -f conftest.er1
20521   cat conftest.err >&5
20522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523   (exit $ac_status); } &&
20524          { ac_try='test -z "$ac_cxx_werror_flag"
20525                          || test ! -s conftest.err'
20526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527   (eval $ac_try) 2>&5
20528   ac_status=$?
20529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530   (exit $ac_status); }; } &&
20531          { ac_try='test -s conftest.$ac_objext'
20532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533   (eval $ac_try) 2>&5
20534   ac_status=$?
20535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536   (exit $ac_status); }; }; then
20537   glibcxx_cv_func__sincos_use=yes
20538 else
20539   echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 glibcxx_cv_func__sincos_use=no
20543 fi
20544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20545       ac_ext=c
20546 ac_cpp='$CPP $CPPFLAGS'
20547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20550
20551
20552 fi
20553
20554   fi
20555   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20556 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20557
20558     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20559
20560 for ac_func in _sincos
20561 do
20562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20563 echo "$as_me:$LINENO: checking for $ac_func" >&5
20564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20565 if eval "test \"\${$as_ac_var+set}\" = set"; then
20566   echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568   if test x$gcc_no_link = xyes; then
20569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20571    { (exit 1); exit 1; }; }
20572 fi
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h.  */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h.  */
20579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20581 #define $ac_func innocuous_$ac_func
20582
20583 /* System header to define __stub macros and hopefully few prototypes,
20584     which can conflict with char $ac_func (); below.
20585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20586     <limits.h> exists even on freestanding compilers.  */
20587
20588 #ifdef __STDC__
20589 # include <limits.h>
20590 #else
20591 # include <assert.h>
20592 #endif
20593
20594 #undef $ac_func
20595
20596 /* Override any gcc2 internal prototype to avoid an error.  */
20597 #ifdef __cplusplus
20598 extern "C"
20599 {
20600 #endif
20601 /* We use char because int might match the return type of a gcc2
20602    builtin and then its argument prototype would still apply.  */
20603 char $ac_func ();
20604 /* The GNU C library defines this for functions which it implements
20605     to always fail with ENOSYS.  Some functions are actually named
20606     something starting with __ and the normal name is an alias.  */
20607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20608 choke me
20609 #else
20610 char (*f) () = $ac_func;
20611 #endif
20612 #ifdef __cplusplus
20613 }
20614 #endif
20615
20616 int
20617 main ()
20618 {
20619 return f != $ac_func;
20620   ;
20621   return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20626   (eval $ac_link) 2>conftest.er1
20627   ac_status=$?
20628   grep -v '^ *+' conftest.er1 >conftest.err
20629   rm -f conftest.er1
20630   cat conftest.err >&5
20631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632   (exit $ac_status); } &&
20633          { ac_try='test -z "$ac_c_werror_flag"
20634                          || test ! -s conftest.err'
20635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636   (eval $ac_try) 2>&5
20637   ac_status=$?
20638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639   (exit $ac_status); }; } &&
20640          { ac_try='test -s conftest$ac_exeext'
20641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642   (eval $ac_try) 2>&5
20643   ac_status=$?
20644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645   (exit $ac_status); }; }; then
20646   eval "$as_ac_var=yes"
20647 else
20648   echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 eval "$as_ac_var=no"
20652 fi
20653 rm -f conftest.err conftest.$ac_objext \
20654       conftest$ac_exeext conftest.$ac_ext
20655 fi
20656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20658 if test `eval echo '${'$as_ac_var'}'` = yes; then
20659   cat >>confdefs.h <<_ACEOF
20660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20661 _ACEOF
20662
20663 fi
20664 done
20665
20666     fi
20667   fi
20668
20669
20670
20671
20672
20673
20674   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20675 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20676   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20677     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20678   echo $ECHO_N "(cached) $ECHO_C" >&6
20679 else
20680
20681
20682
20683       ac_ext=cc
20684 ac_cpp='$CXXCPP $CPPFLAGS'
20685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20688
20689       cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h.  */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h.  */
20695 #include <math.h>
20696                       #ifdef HAVE_IEEEFP_H
20697                       #include <ieeefp.h>
20698                       #endif
20699
20700 int
20701 main ()
20702 {
20703  fpclass(0);
20704   ;
20705   return 0;
20706 }
20707 _ACEOF
20708 rm -f conftest.$ac_objext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20710   (eval $ac_compile) 2>conftest.er1
20711   ac_status=$?
20712   grep -v '^ *+' conftest.er1 >conftest.err
20713   rm -f conftest.er1
20714   cat conftest.err >&5
20715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716   (exit $ac_status); } &&
20717          { ac_try='test -z "$ac_cxx_werror_flag"
20718                          || test ! -s conftest.err'
20719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720   (eval $ac_try) 2>&5
20721   ac_status=$?
20722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723   (exit $ac_status); }; } &&
20724          { ac_try='test -s conftest.$ac_objext'
20725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726   (eval $ac_try) 2>&5
20727   ac_status=$?
20728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729   (exit $ac_status); }; }; then
20730   glibcxx_cv_func_fpclass_use=yes
20731 else
20732   echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20734
20735 glibcxx_cv_func_fpclass_use=no
20736 fi
20737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20738       ac_ext=c
20739 ac_cpp='$CPP $CPPFLAGS'
20740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20743
20744
20745 fi
20746
20747   fi
20748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20749 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20750
20751   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20752
20753 for ac_func in fpclass
20754 do
20755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20756 echo "$as_me:$LINENO: checking for $ac_func" >&5
20757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20758 if eval "test \"\${$as_ac_var+set}\" = set"; then
20759   echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761   if test x$gcc_no_link = xyes; then
20762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20764    { (exit 1); exit 1; }; }
20765 fi
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h.  */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h.  */
20772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20774 #define $ac_func innocuous_$ac_func
20775
20776 /* System header to define __stub macros and hopefully few prototypes,
20777     which can conflict with char $ac_func (); below.
20778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20779     <limits.h> exists even on freestanding compilers.  */
20780
20781 #ifdef __STDC__
20782 # include <limits.h>
20783 #else
20784 # include <assert.h>
20785 #endif
20786
20787 #undef $ac_func
20788
20789 /* Override any gcc2 internal prototype to avoid an error.  */
20790 #ifdef __cplusplus
20791 extern "C"
20792 {
20793 #endif
20794 /* We use char because int might match the return type of a gcc2
20795    builtin and then its argument prototype would still apply.  */
20796 char $ac_func ();
20797 /* The GNU C library defines this for functions which it implements
20798     to always fail with ENOSYS.  Some functions are actually named
20799     something starting with __ and the normal name is an alias.  */
20800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20801 choke me
20802 #else
20803 char (*f) () = $ac_func;
20804 #endif
20805 #ifdef __cplusplus
20806 }
20807 #endif
20808
20809 int
20810 main ()
20811 {
20812 return f != $ac_func;
20813   ;
20814   return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819   (eval $ac_link) 2>conftest.er1
20820   ac_status=$?
20821   grep -v '^ *+' conftest.er1 >conftest.err
20822   rm -f conftest.er1
20823   cat conftest.err >&5
20824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825   (exit $ac_status); } &&
20826          { ac_try='test -z "$ac_c_werror_flag"
20827                          || test ! -s conftest.err'
20828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829   (eval $ac_try) 2>&5
20830   ac_status=$?
20831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832   (exit $ac_status); }; } &&
20833          { ac_try='test -s conftest$ac_exeext'
20834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835   (eval $ac_try) 2>&5
20836   ac_status=$?
20837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838   (exit $ac_status); }; }; then
20839   eval "$as_ac_var=yes"
20840 else
20841   echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 eval "$as_ac_var=no"
20845 fi
20846 rm -f conftest.err conftest.$ac_objext \
20847       conftest$ac_exeext conftest.$ac_ext
20848 fi
20849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20851 if test `eval echo '${'$as_ac_var'}'` = yes; then
20852   cat >>confdefs.h <<_ACEOF
20853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20854 _ACEOF
20855
20856 fi
20857 done
20858
20859   else
20860
20861   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20862 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20863   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20864     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20865   echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867
20868
20869
20870       ac_ext=cc
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20875
20876       cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h.  */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h.  */
20882 #include <math.h>
20883                       #ifdef HAVE_IEEEFP_H
20884                       #include <ieeefp.h>
20885                       #endif
20886
20887 int
20888 main ()
20889 {
20890  _fpclass(0);
20891   ;
20892   return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20897   (eval $ac_compile) 2>conftest.er1
20898   ac_status=$?
20899   grep -v '^ *+' conftest.er1 >conftest.err
20900   rm -f conftest.er1
20901   cat conftest.err >&5
20902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903   (exit $ac_status); } &&
20904          { ac_try='test -z "$ac_cxx_werror_flag"
20905                          || test ! -s conftest.err'
20906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907   (eval $ac_try) 2>&5
20908   ac_status=$?
20909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910   (exit $ac_status); }; } &&
20911          { ac_try='test -s conftest.$ac_objext'
20912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913   (eval $ac_try) 2>&5
20914   ac_status=$?
20915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916   (exit $ac_status); }; }; then
20917   glibcxx_cv_func__fpclass_use=yes
20918 else
20919   echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20921
20922 glibcxx_cv_func__fpclass_use=no
20923 fi
20924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20925       ac_ext=c
20926 ac_cpp='$CPP $CPPFLAGS'
20927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20930
20931
20932 fi
20933
20934   fi
20935   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20936 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20937
20938     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20939
20940 for ac_func in _fpclass
20941 do
20942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20943 echo "$as_me:$LINENO: checking for $ac_func" >&5
20944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20945 if eval "test \"\${$as_ac_var+set}\" = set"; then
20946   echo $ECHO_N "(cached) $ECHO_C" >&6
20947 else
20948   if test x$gcc_no_link = xyes; then
20949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20951    { (exit 1); exit 1; }; }
20952 fi
20953 cat >conftest.$ac_ext <<_ACEOF
20954 /* confdefs.h.  */
20955 _ACEOF
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h.  */
20959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20961 #define $ac_func innocuous_$ac_func
20962
20963 /* System header to define __stub macros and hopefully few prototypes,
20964     which can conflict with char $ac_func (); below.
20965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20966     <limits.h> exists even on freestanding compilers.  */
20967
20968 #ifdef __STDC__
20969 # include <limits.h>
20970 #else
20971 # include <assert.h>
20972 #endif
20973
20974 #undef $ac_func
20975
20976 /* Override any gcc2 internal prototype to avoid an error.  */
20977 #ifdef __cplusplus
20978 extern "C"
20979 {
20980 #endif
20981 /* We use char because int might match the return type of a gcc2
20982    builtin and then its argument prototype would still apply.  */
20983 char $ac_func ();
20984 /* The GNU C library defines this for functions which it implements
20985     to always fail with ENOSYS.  Some functions are actually named
20986     something starting with __ and the normal name is an alias.  */
20987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20988 choke me
20989 #else
20990 char (*f) () = $ac_func;
20991 #endif
20992 #ifdef __cplusplus
20993 }
20994 #endif
20995
20996 int
20997 main ()
20998 {
20999 return f != $ac_func;
21000   ;
21001   return 0;
21002 }
21003 _ACEOF
21004 rm -f conftest.$ac_objext conftest$ac_exeext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21006   (eval $ac_link) 2>conftest.er1
21007   ac_status=$?
21008   grep -v '^ *+' conftest.er1 >conftest.err
21009   rm -f conftest.er1
21010   cat conftest.err >&5
21011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012   (exit $ac_status); } &&
21013          { ac_try='test -z "$ac_c_werror_flag"
21014                          || test ! -s conftest.err'
21015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016   (eval $ac_try) 2>&5
21017   ac_status=$?
21018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019   (exit $ac_status); }; } &&
21020          { ac_try='test -s conftest$ac_exeext'
21021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022   (eval $ac_try) 2>&5
21023   ac_status=$?
21024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025   (exit $ac_status); }; }; then
21026   eval "$as_ac_var=yes"
21027 else
21028   echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21030
21031 eval "$as_ac_var=no"
21032 fi
21033 rm -f conftest.err conftest.$ac_objext \
21034       conftest$ac_exeext conftest.$ac_ext
21035 fi
21036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21038 if test `eval echo '${'$as_ac_var'}'` = yes; then
21039   cat >>confdefs.h <<_ACEOF
21040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21041 _ACEOF
21042
21043 fi
21044 done
21045
21046     fi
21047   fi
21048
21049
21050
21051
21052
21053
21054   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21055 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21056   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21057     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21058   echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21060
21061
21062
21063       ac_ext=cc
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068
21069       cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h.  */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h.  */
21075 #include <math.h>
21076                       #ifdef HAVE_IEEEFP_H
21077                       #include <ieeefp.h>
21078                       #endif
21079
21080 int
21081 main ()
21082 {
21083  qfpclass(0);
21084   ;
21085   return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest.$ac_objext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21090   (eval $ac_compile) 2>conftest.er1
21091   ac_status=$?
21092   grep -v '^ *+' conftest.er1 >conftest.err
21093   rm -f conftest.er1
21094   cat conftest.err >&5
21095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096   (exit $ac_status); } &&
21097          { ac_try='test -z "$ac_cxx_werror_flag"
21098                          || test ! -s conftest.err'
21099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100   (eval $ac_try) 2>&5
21101   ac_status=$?
21102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103   (exit $ac_status); }; } &&
21104          { ac_try='test -s conftest.$ac_objext'
21105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106   (eval $ac_try) 2>&5
21107   ac_status=$?
21108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109   (exit $ac_status); }; }; then
21110   glibcxx_cv_func_qfpclass_use=yes
21111 else
21112   echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21114
21115 glibcxx_cv_func_qfpclass_use=no
21116 fi
21117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21118       ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123
21124
21125 fi
21126
21127   fi
21128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21129 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21130
21131   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21132
21133 for ac_func in qfpclass
21134 do
21135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21136 echo "$as_me:$LINENO: checking for $ac_func" >&5
21137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21138 if eval "test \"\${$as_ac_var+set}\" = set"; then
21139   echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141   if test x$gcc_no_link = xyes; then
21142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21144    { (exit 1); exit 1; }; }
21145 fi
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h.  */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h.  */
21152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21154 #define $ac_func innocuous_$ac_func
21155
21156 /* System header to define __stub macros and hopefully few prototypes,
21157     which can conflict with char $ac_func (); below.
21158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21159     <limits.h> exists even on freestanding compilers.  */
21160
21161 #ifdef __STDC__
21162 # include <limits.h>
21163 #else
21164 # include <assert.h>
21165 #endif
21166
21167 #undef $ac_func
21168
21169 /* Override any gcc2 internal prototype to avoid an error.  */
21170 #ifdef __cplusplus
21171 extern "C"
21172 {
21173 #endif
21174 /* We use char because int might match the return type of a gcc2
21175    builtin and then its argument prototype would still apply.  */
21176 char $ac_func ();
21177 /* The GNU C library defines this for functions which it implements
21178     to always fail with ENOSYS.  Some functions are actually named
21179     something starting with __ and the normal name is an alias.  */
21180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21181 choke me
21182 #else
21183 char (*f) () = $ac_func;
21184 #endif
21185 #ifdef __cplusplus
21186 }
21187 #endif
21188
21189 int
21190 main ()
21191 {
21192 return f != $ac_func;
21193   ;
21194   return 0;
21195 }
21196 _ACEOF
21197 rm -f conftest.$ac_objext conftest$ac_exeext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21199   (eval $ac_link) 2>conftest.er1
21200   ac_status=$?
21201   grep -v '^ *+' conftest.er1 >conftest.err
21202   rm -f conftest.er1
21203   cat conftest.err >&5
21204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205   (exit $ac_status); } &&
21206          { ac_try='test -z "$ac_c_werror_flag"
21207                          || test ! -s conftest.err'
21208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209   (eval $ac_try) 2>&5
21210   ac_status=$?
21211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212   (exit $ac_status); }; } &&
21213          { ac_try='test -s conftest$ac_exeext'
21214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215   (eval $ac_try) 2>&5
21216   ac_status=$?
21217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218   (exit $ac_status); }; }; then
21219   eval "$as_ac_var=yes"
21220 else
21221   echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21223
21224 eval "$as_ac_var=no"
21225 fi
21226 rm -f conftest.err conftest.$ac_objext \
21227       conftest$ac_exeext conftest.$ac_ext
21228 fi
21229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21231 if test `eval echo '${'$as_ac_var'}'` = yes; then
21232   cat >>confdefs.h <<_ACEOF
21233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21234 _ACEOF
21235
21236 fi
21237 done
21238
21239   else
21240
21241   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21242 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21243   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21244     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21245   echo $ECHO_N "(cached) $ECHO_C" >&6
21246 else
21247
21248
21249
21250       ac_ext=cc
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21255
21256       cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h.  */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h.  */
21262 #include <math.h>
21263                       #ifdef HAVE_IEEEFP_H
21264                       #include <ieeefp.h>
21265                       #endif
21266
21267 int
21268 main ()
21269 {
21270  _qfpclass(0);
21271   ;
21272   return 0;
21273 }
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277   (eval $ac_compile) 2>conftest.er1
21278   ac_status=$?
21279   grep -v '^ *+' conftest.er1 >conftest.err
21280   rm -f conftest.er1
21281   cat conftest.err >&5
21282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283   (exit $ac_status); } &&
21284          { ac_try='test -z "$ac_cxx_werror_flag"
21285                          || test ! -s conftest.err'
21286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287   (eval $ac_try) 2>&5
21288   ac_status=$?
21289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290   (exit $ac_status); }; } &&
21291          { ac_try='test -s conftest.$ac_objext'
21292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293   (eval $ac_try) 2>&5
21294   ac_status=$?
21295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296   (exit $ac_status); }; }; then
21297   glibcxx_cv_func__qfpclass_use=yes
21298 else
21299   echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 glibcxx_cv_func__qfpclass_use=no
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305       ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310
21311
21312 fi
21313
21314   fi
21315   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21316 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21317
21318     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21319
21320 for ac_func in _qfpclass
21321 do
21322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21323 echo "$as_me:$LINENO: checking for $ac_func" >&5
21324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_var+set}\" = set"; then
21326   echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328   if test x$gcc_no_link = xyes; then
21329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331    { (exit 1); exit 1; }; }
21332 fi
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h.  */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h.  */
21339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21341 #define $ac_func innocuous_$ac_func
21342
21343 /* System header to define __stub macros and hopefully few prototypes,
21344     which can conflict with char $ac_func (); below.
21345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21346     <limits.h> exists even on freestanding compilers.  */
21347
21348 #ifdef __STDC__
21349 # include <limits.h>
21350 #else
21351 # include <assert.h>
21352 #endif
21353
21354 #undef $ac_func
21355
21356 /* Override any gcc2 internal prototype to avoid an error.  */
21357 #ifdef __cplusplus
21358 extern "C"
21359 {
21360 #endif
21361 /* We use char because int might match the return type of a gcc2
21362    builtin and then its argument prototype would still apply.  */
21363 char $ac_func ();
21364 /* The GNU C library defines this for functions which it implements
21365     to always fail with ENOSYS.  Some functions are actually named
21366     something starting with __ and the normal name is an alias.  */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21368 choke me
21369 #else
21370 char (*f) () = $ac_func;
21371 #endif
21372 #ifdef __cplusplus
21373 }
21374 #endif
21375
21376 int
21377 main ()
21378 {
21379 return f != $ac_func;
21380   ;
21381   return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386   (eval $ac_link) 2>conftest.er1
21387   ac_status=$?
21388   grep -v '^ *+' conftest.er1 >conftest.err
21389   rm -f conftest.er1
21390   cat conftest.err >&5
21391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392   (exit $ac_status); } &&
21393          { ac_try='test -z "$ac_c_werror_flag"
21394                          || test ! -s conftest.err'
21395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396   (eval $ac_try) 2>&5
21397   ac_status=$?
21398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399   (exit $ac_status); }; } &&
21400          { ac_try='test -s conftest$ac_exeext'
21401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402   (eval $ac_try) 2>&5
21403   ac_status=$?
21404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405   (exit $ac_status); }; }; then
21406   eval "$as_ac_var=yes"
21407 else
21408   echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21410
21411 eval "$as_ac_var=no"
21412 fi
21413 rm -f conftest.err conftest.$ac_objext \
21414       conftest$ac_exeext conftest.$ac_ext
21415 fi
21416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21418 if test `eval echo '${'$as_ac_var'}'` = yes; then
21419   cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21421 _ACEOF
21422
21423 fi
21424 done
21425
21426     fi
21427   fi
21428
21429
21430
21431
21432
21433
21434   echo "$as_me:$LINENO: checking for hypot declaration" >&5
21435 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21436   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21437     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21438   echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21440
21441
21442
21443       ac_ext=cc
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21448
21449       cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h.  */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h.  */
21455 #include <math.h>
21456 int
21457 main ()
21458 {
21459  hypot(0, 0);
21460   ;
21461   return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466   (eval $ac_compile) 2>conftest.er1
21467   ac_status=$?
21468   grep -v '^ *+' conftest.er1 >conftest.err
21469   rm -f conftest.er1
21470   cat conftest.err >&5
21471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472   (exit $ac_status); } &&
21473          { ac_try='test -z "$ac_cxx_werror_flag"
21474                          || test ! -s conftest.err'
21475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476   (eval $ac_try) 2>&5
21477   ac_status=$?
21478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479   (exit $ac_status); }; } &&
21480          { ac_try='test -s conftest.$ac_objext'
21481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482   (eval $ac_try) 2>&5
21483   ac_status=$?
21484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485   (exit $ac_status); }; }; then
21486   glibcxx_cv_func_hypot_use=yes
21487 else
21488   echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491 glibcxx_cv_func_hypot_use=no
21492 fi
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494       ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21499
21500
21501 fi
21502
21503   fi
21504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21505 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21506
21507   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21508
21509 for ac_func in hypot
21510 do
21511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21512 echo "$as_me:$LINENO: checking for $ac_func" >&5
21513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21514 if eval "test \"\${$as_ac_var+set}\" = set"; then
21515   echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517   if test x$gcc_no_link = xyes; then
21518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21520    { (exit 1); exit 1; }; }
21521 fi
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h.  */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h.  */
21528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21530 #define $ac_func innocuous_$ac_func
21531
21532 /* System header to define __stub macros and hopefully few prototypes,
21533     which can conflict with char $ac_func (); below.
21534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21535     <limits.h> exists even on freestanding compilers.  */
21536
21537 #ifdef __STDC__
21538 # include <limits.h>
21539 #else
21540 # include <assert.h>
21541 #endif
21542
21543 #undef $ac_func
21544
21545 /* Override any gcc2 internal prototype to avoid an error.  */
21546 #ifdef __cplusplus
21547 extern "C"
21548 {
21549 #endif
21550 /* We use char because int might match the return type of a gcc2
21551    builtin and then its argument prototype would still apply.  */
21552 char $ac_func ();
21553 /* The GNU C library defines this for functions which it implements
21554     to always fail with ENOSYS.  Some functions are actually named
21555     something starting with __ and the normal name is an alias.  */
21556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21557 choke me
21558 #else
21559 char (*f) () = $ac_func;
21560 #endif
21561 #ifdef __cplusplus
21562 }
21563 #endif
21564
21565 int
21566 main ()
21567 {
21568 return f != $ac_func;
21569   ;
21570   return 0;
21571 }
21572 _ACEOF
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575   (eval $ac_link) 2>conftest.er1
21576   ac_status=$?
21577   grep -v '^ *+' conftest.er1 >conftest.err
21578   rm -f conftest.er1
21579   cat conftest.err >&5
21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581   (exit $ac_status); } &&
21582          { ac_try='test -z "$ac_c_werror_flag"
21583                          || test ! -s conftest.err'
21584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585   (eval $ac_try) 2>&5
21586   ac_status=$?
21587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588   (exit $ac_status); }; } &&
21589          { ac_try='test -s conftest$ac_exeext'
21590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591   (eval $ac_try) 2>&5
21592   ac_status=$?
21593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594   (exit $ac_status); }; }; then
21595   eval "$as_ac_var=yes"
21596 else
21597   echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21599
21600 eval "$as_ac_var=no"
21601 fi
21602 rm -f conftest.err conftest.$ac_objext \
21603       conftest$ac_exeext conftest.$ac_ext
21604 fi
21605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21607 if test `eval echo '${'$as_ac_var'}'` = yes; then
21608   cat >>confdefs.h <<_ACEOF
21609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21610 _ACEOF
21611
21612 fi
21613 done
21614
21615   else
21616
21617   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21618 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21619   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21620     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21621   echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623
21624
21625
21626       ac_ext=cc
21627 ac_cpp='$CXXCPP $CPPFLAGS'
21628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21631
21632       cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h.  */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h.  */
21638 #include <math.h>
21639 int
21640 main ()
21641 {
21642  _hypot(0, 0);
21643   ;
21644   return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649   (eval $ac_compile) 2>conftest.er1
21650   ac_status=$?
21651   grep -v '^ *+' conftest.er1 >conftest.err
21652   rm -f conftest.er1
21653   cat conftest.err >&5
21654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655   (exit $ac_status); } &&
21656          { ac_try='test -z "$ac_cxx_werror_flag"
21657                          || test ! -s conftest.err'
21658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659   (eval $ac_try) 2>&5
21660   ac_status=$?
21661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662   (exit $ac_status); }; } &&
21663          { ac_try='test -s conftest.$ac_objext'
21664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665   (eval $ac_try) 2>&5
21666   ac_status=$?
21667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668   (exit $ac_status); }; }; then
21669   glibcxx_cv_func__hypot_use=yes
21670 else
21671   echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21673
21674 glibcxx_cv_func__hypot_use=no
21675 fi
21676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21677       ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21682
21683
21684 fi
21685
21686   fi
21687   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21688 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21689
21690     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21691
21692 for ac_func in _hypot
21693 do
21694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21695 echo "$as_me:$LINENO: checking for $ac_func" >&5
21696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21697 if eval "test \"\${$as_ac_var+set}\" = set"; then
21698   echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700   if test x$gcc_no_link = xyes; then
21701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703    { (exit 1); exit 1; }; }
21704 fi
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h.  */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h.  */
21711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21713 #define $ac_func innocuous_$ac_func
21714
21715 /* System header to define __stub macros and hopefully few prototypes,
21716     which can conflict with char $ac_func (); below.
21717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21718     <limits.h> exists even on freestanding compilers.  */
21719
21720 #ifdef __STDC__
21721 # include <limits.h>
21722 #else
21723 # include <assert.h>
21724 #endif
21725
21726 #undef $ac_func
21727
21728 /* Override any gcc2 internal prototype to avoid an error.  */
21729 #ifdef __cplusplus
21730 extern "C"
21731 {
21732 #endif
21733 /* We use char because int might match the return type of a gcc2
21734    builtin and then its argument prototype would still apply.  */
21735 char $ac_func ();
21736 /* The GNU C library defines this for functions which it implements
21737     to always fail with ENOSYS.  Some functions are actually named
21738     something starting with __ and the normal name is an alias.  */
21739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21740 choke me
21741 #else
21742 char (*f) () = $ac_func;
21743 #endif
21744 #ifdef __cplusplus
21745 }
21746 #endif
21747
21748 int
21749 main ()
21750 {
21751 return f != $ac_func;
21752   ;
21753   return 0;
21754 }
21755 _ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758   (eval $ac_link) 2>conftest.er1
21759   ac_status=$?
21760   grep -v '^ *+' conftest.er1 >conftest.err
21761   rm -f conftest.er1
21762   cat conftest.err >&5
21763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764   (exit $ac_status); } &&
21765          { ac_try='test -z "$ac_c_werror_flag"
21766                          || test ! -s conftest.err'
21767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768   (eval $ac_try) 2>&5
21769   ac_status=$?
21770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771   (exit $ac_status); }; } &&
21772          { ac_try='test -s conftest$ac_exeext'
21773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774   (eval $ac_try) 2>&5
21775   ac_status=$?
21776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777   (exit $ac_status); }; }; then
21778   eval "$as_ac_var=yes"
21779 else
21780   echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21782
21783 eval "$as_ac_var=no"
21784 fi
21785 rm -f conftest.err conftest.$ac_objext \
21786       conftest$ac_exeext conftest.$ac_ext
21787 fi
21788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21790 if test `eval echo '${'$as_ac_var'}'` = yes; then
21791   cat >>confdefs.h <<_ACEOF
21792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21793 _ACEOF
21794
21795 fi
21796 done
21797
21798     fi
21799   fi
21800
21801
21802
21803
21804
21805
21806     echo "$as_me:$LINENO: checking for float trig functions" >&5
21807 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21808   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21809   echo $ECHO_N "(cached) $ECHO_C" >&6
21810 else
21811
21812
21813
21814     ac_ext=cc
21815 ac_cpp='$CXXCPP $CPPFLAGS'
21816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21819
21820     cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h.  */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h.  */
21826 #include <math.h>
21827 int
21828 main ()
21829 {
21830 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21831   ;
21832   return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837   (eval $ac_compile) 2>conftest.er1
21838   ac_status=$?
21839   grep -v '^ *+' conftest.er1 >conftest.err
21840   rm -f conftest.er1
21841   cat conftest.err >&5
21842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843   (exit $ac_status); } &&
21844          { ac_try='test -z "$ac_cxx_werror_flag"
21845                          || test ! -s conftest.err'
21846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847   (eval $ac_try) 2>&5
21848   ac_status=$?
21849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850   (exit $ac_status); }; } &&
21851          { ac_try='test -s conftest.$ac_objext'
21852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853   (eval $ac_try) 2>&5
21854   ac_status=$?
21855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856   (exit $ac_status); }; }; then
21857   glibcxx_cv_func_float_trig_use=yes
21858 else
21859   echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21861
21862 glibcxx_cv_func_float_trig_use=no
21863 fi
21864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21865     ac_ext=c
21866 ac_cpp='$CPP $CPPFLAGS'
21867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21870
21871 fi
21872
21873   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21874 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21875   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21886 do
21887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21888 echo "$as_me:$LINENO: checking for $ac_func" >&5
21889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21890 if eval "test \"\${$as_ac_var+set}\" = set"; then
21891   echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893   if test x$gcc_no_link = xyes; then
21894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21896    { (exit 1); exit 1; }; }
21897 fi
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h.  */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h.  */
21904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21906 #define $ac_func innocuous_$ac_func
21907
21908 /* System header to define __stub macros and hopefully few prototypes,
21909     which can conflict with char $ac_func (); below.
21910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21911     <limits.h> exists even on freestanding compilers.  */
21912
21913 #ifdef __STDC__
21914 # include <limits.h>
21915 #else
21916 # include <assert.h>
21917 #endif
21918
21919 #undef $ac_func
21920
21921 /* Override any gcc2 internal prototype to avoid an error.  */
21922 #ifdef __cplusplus
21923 extern "C"
21924 {
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927    builtin and then its argument prototype would still apply.  */
21928 char $ac_func ();
21929 /* The GNU C library defines this for functions which it implements
21930     to always fail with ENOSYS.  Some functions are actually named
21931     something starting with __ and the normal name is an alias.  */
21932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21933 choke me
21934 #else
21935 char (*f) () = $ac_func;
21936 #endif
21937 #ifdef __cplusplus
21938 }
21939 #endif
21940
21941 int
21942 main ()
21943 {
21944 return f != $ac_func;
21945   ;
21946   return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext conftest$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951   (eval $ac_link) 2>conftest.er1
21952   ac_status=$?
21953   grep -v '^ *+' conftest.er1 >conftest.err
21954   rm -f conftest.er1
21955   cat conftest.err >&5
21956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957   (exit $ac_status); } &&
21958          { ac_try='test -z "$ac_c_werror_flag"
21959                          || test ! -s conftest.err'
21960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961   (eval $ac_try) 2>&5
21962   ac_status=$?
21963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964   (exit $ac_status); }; } &&
21965          { ac_try='test -s conftest$ac_exeext'
21966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967   (eval $ac_try) 2>&5
21968   ac_status=$?
21969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970   (exit $ac_status); }; }; then
21971   eval "$as_ac_var=yes"
21972 else
21973   echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21975
21976 eval "$as_ac_var=no"
21977 fi
21978 rm -f conftest.err conftest.$ac_objext \
21979       conftest$ac_exeext conftest.$ac_ext
21980 fi
21981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21983 if test `eval echo '${'$as_ac_var'}'` = yes; then
21984   cat >>confdefs.h <<_ACEOF
21985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21986 _ACEOF
21987
21988 fi
21989 done
21990
21991   else
21992     echo "$as_me:$LINENO: checking for _float trig functions" >&5
21993 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21994     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21995   echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
21997
21998
21999
22000       ac_ext=cc
22001 ac_cpp='$CXXCPP $CPPFLAGS'
22002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22005
22006       cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h.  */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h.  */
22012 #include <math.h>
22013 int
22014 main ()
22015 {
22016 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22017   ;
22018   return 0;
22019 }
22020 _ACEOF
22021 rm -f conftest.$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023   (eval $ac_compile) 2>conftest.er1
22024   ac_status=$?
22025   grep -v '^ *+' conftest.er1 >conftest.err
22026   rm -f conftest.er1
22027   cat conftest.err >&5
22028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029   (exit $ac_status); } &&
22030          { ac_try='test -z "$ac_cxx_werror_flag"
22031                          || test ! -s conftest.err'
22032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033   (eval $ac_try) 2>&5
22034   ac_status=$?
22035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036   (exit $ac_status); }; } &&
22037          { ac_try='test -s conftest.$ac_objext'
22038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039   (eval $ac_try) 2>&5
22040   ac_status=$?
22041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042   (exit $ac_status); }; }; then
22043   glibcxx_cv_func__float_trig_use=yes
22044 else
22045   echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 glibcxx_cv_func__float_trig_use=no
22049 fi
22050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22051       ac_ext=c
22052 ac_cpp='$CPP $CPPFLAGS'
22053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22056
22057 fi
22058
22059     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22060 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22061     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22072 do
22073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22074 echo "$as_me:$LINENO: checking for $ac_func" >&5
22075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22076 if eval "test \"\${$as_ac_var+set}\" = set"; then
22077   echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079   if test x$gcc_no_link = xyes; then
22080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22082    { (exit 1); exit 1; }; }
22083 fi
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h.  */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h.  */
22090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22092 #define $ac_func innocuous_$ac_func
22093
22094 /* System header to define __stub macros and hopefully few prototypes,
22095     which can conflict with char $ac_func (); below.
22096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22097     <limits.h> exists even on freestanding compilers.  */
22098
22099 #ifdef __STDC__
22100 # include <limits.h>
22101 #else
22102 # include <assert.h>
22103 #endif
22104
22105 #undef $ac_func
22106
22107 /* Override any gcc2 internal prototype to avoid an error.  */
22108 #ifdef __cplusplus
22109 extern "C"
22110 {
22111 #endif
22112 /* We use char because int might match the return type of a gcc2
22113    builtin and then its argument prototype would still apply.  */
22114 char $ac_func ();
22115 /* The GNU C library defines this for functions which it implements
22116     to always fail with ENOSYS.  Some functions are actually named
22117     something starting with __ and the normal name is an alias.  */
22118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22119 choke me
22120 #else
22121 char (*f) () = $ac_func;
22122 #endif
22123 #ifdef __cplusplus
22124 }
22125 #endif
22126
22127 int
22128 main ()
22129 {
22130 return f != $ac_func;
22131   ;
22132   return 0;
22133 }
22134 _ACEOF
22135 rm -f conftest.$ac_objext conftest$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137   (eval $ac_link) 2>conftest.er1
22138   ac_status=$?
22139   grep -v '^ *+' conftest.er1 >conftest.err
22140   rm -f conftest.er1
22141   cat conftest.err >&5
22142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143   (exit $ac_status); } &&
22144          { ac_try='test -z "$ac_c_werror_flag"
22145                          || test ! -s conftest.err'
22146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147   (eval $ac_try) 2>&5
22148   ac_status=$?
22149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150   (exit $ac_status); }; } &&
22151          { ac_try='test -s conftest$ac_exeext'
22152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153   (eval $ac_try) 2>&5
22154   ac_status=$?
22155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156   (exit $ac_status); }; }; then
22157   eval "$as_ac_var=yes"
22158 else
22159   echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22161
22162 eval "$as_ac_var=no"
22163 fi
22164 rm -f conftest.err conftest.$ac_objext \
22165       conftest$ac_exeext conftest.$ac_ext
22166 fi
22167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22169 if test `eval echo '${'$as_ac_var'}'` = yes; then
22170   cat >>confdefs.h <<_ACEOF
22171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22172 _ACEOF
22173
22174 fi
22175 done
22176
22177     fi
22178   fi
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193     echo "$as_me:$LINENO: checking for float round functions" >&5
22194 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22195   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22196   echo $ECHO_N "(cached) $ECHO_C" >&6
22197 else
22198
22199
22200
22201     ac_ext=cc
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22206
22207     cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h.  */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h.  */
22213 #include <math.h>
22214 int
22215 main ()
22216 {
22217 ceilf (0); floorf (0);
22218   ;
22219   return 0;
22220 }
22221 _ACEOF
22222 rm -f conftest.$ac_objext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22224   (eval $ac_compile) 2>conftest.er1
22225   ac_status=$?
22226   grep -v '^ *+' conftest.er1 >conftest.err
22227   rm -f conftest.er1
22228   cat conftest.err >&5
22229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230   (exit $ac_status); } &&
22231          { ac_try='test -z "$ac_cxx_werror_flag"
22232                          || test ! -s conftest.err'
22233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234   (eval $ac_try) 2>&5
22235   ac_status=$?
22236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237   (exit $ac_status); }; } &&
22238          { ac_try='test -s conftest.$ac_objext'
22239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240   (eval $ac_try) 2>&5
22241   ac_status=$?
22242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243   (exit $ac_status); }; }; then
22244   glibcxx_cv_func_float_round_use=yes
22245 else
22246   echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 glibcxx_cv_func_float_round_use=no
22250 fi
22251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22252     ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22257
22258 fi
22259
22260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22261 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22262   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22263
22264
22265 for ac_func in ceilf floorf
22266 do
22267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22268 echo "$as_me:$LINENO: checking for $ac_func" >&5
22269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22270 if eval "test \"\${$as_ac_var+set}\" = set"; then
22271   echo $ECHO_N "(cached) $ECHO_C" >&6
22272 else
22273   if test x$gcc_no_link = xyes; then
22274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22276    { (exit 1); exit 1; }; }
22277 fi
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h.  */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h.  */
22284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22286 #define $ac_func innocuous_$ac_func
22287
22288 /* System header to define __stub macros and hopefully few prototypes,
22289     which can conflict with char $ac_func (); below.
22290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22291     <limits.h> exists even on freestanding compilers.  */
22292
22293 #ifdef __STDC__
22294 # include <limits.h>
22295 #else
22296 # include <assert.h>
22297 #endif
22298
22299 #undef $ac_func
22300
22301 /* Override any gcc2 internal prototype to avoid an error.  */
22302 #ifdef __cplusplus
22303 extern "C"
22304 {
22305 #endif
22306 /* We use char because int might match the return type of a gcc2
22307    builtin and then its argument prototype would still apply.  */
22308 char $ac_func ();
22309 /* The GNU C library defines this for functions which it implements
22310     to always fail with ENOSYS.  Some functions are actually named
22311     something starting with __ and the normal name is an alias.  */
22312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22313 choke me
22314 #else
22315 char (*f) () = $ac_func;
22316 #endif
22317 #ifdef __cplusplus
22318 }
22319 #endif
22320
22321 int
22322 main ()
22323 {
22324 return f != $ac_func;
22325   ;
22326   return 0;
22327 }
22328 _ACEOF
22329 rm -f conftest.$ac_objext conftest$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331   (eval $ac_link) 2>conftest.er1
22332   ac_status=$?
22333   grep -v '^ *+' conftest.er1 >conftest.err
22334   rm -f conftest.er1
22335   cat conftest.err >&5
22336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337   (exit $ac_status); } &&
22338          { ac_try='test -z "$ac_c_werror_flag"
22339                          || test ! -s conftest.err'
22340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341   (eval $ac_try) 2>&5
22342   ac_status=$?
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); }; } &&
22345          { ac_try='test -s conftest$ac_exeext'
22346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22347   (eval $ac_try) 2>&5
22348   ac_status=$?
22349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350   (exit $ac_status); }; }; then
22351   eval "$as_ac_var=yes"
22352 else
22353   echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22355
22356 eval "$as_ac_var=no"
22357 fi
22358 rm -f conftest.err conftest.$ac_objext \
22359       conftest$ac_exeext conftest.$ac_ext
22360 fi
22361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22363 if test `eval echo '${'$as_ac_var'}'` = yes; then
22364   cat >>confdefs.h <<_ACEOF
22365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22366 _ACEOF
22367
22368 fi
22369 done
22370
22371   else
22372     echo "$as_me:$LINENO: checking for _float round functions" >&5
22373 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22374     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22375   echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22377
22378
22379
22380       ac_ext=cc
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385
22386       cat >conftest.$ac_ext <<_ACEOF
22387 /* confdefs.h.  */
22388 _ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h.  */
22392 #include <math.h>
22393 int
22394 main ()
22395 {
22396 _ceilf (0); _floorf (0);
22397   ;
22398   return 0;
22399 }
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403   (eval $ac_compile) 2>conftest.er1
22404   ac_status=$?
22405   grep -v '^ *+' conftest.er1 >conftest.err
22406   rm -f conftest.er1
22407   cat conftest.err >&5
22408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409   (exit $ac_status); } &&
22410          { ac_try='test -z "$ac_cxx_werror_flag"
22411                          || test ! -s conftest.err'
22412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413   (eval $ac_try) 2>&5
22414   ac_status=$?
22415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416   (exit $ac_status); }; } &&
22417          { ac_try='test -s conftest.$ac_objext'
22418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419   (eval $ac_try) 2>&5
22420   ac_status=$?
22421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422   (exit $ac_status); }; }; then
22423   glibcxx_cv_func__float_round_use=yes
22424 else
22425   echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22427
22428 glibcxx_cv_func__float_round_use=no
22429 fi
22430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22431       ac_ext=c
22432 ac_cpp='$CPP $CPPFLAGS'
22433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22436
22437 fi
22438
22439     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22440 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22441     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22442
22443
22444 for ac_func in _ceilf _floorf
22445 do
22446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22447 echo "$as_me:$LINENO: checking for $ac_func" >&5
22448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22449 if eval "test \"\${$as_ac_var+set}\" = set"; then
22450   echo $ECHO_N "(cached) $ECHO_C" >&6
22451 else
22452   if test x$gcc_no_link = xyes; then
22453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22455    { (exit 1); exit 1; }; }
22456 fi
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h.  */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h.  */
22463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22465 #define $ac_func innocuous_$ac_func
22466
22467 /* System header to define __stub macros and hopefully few prototypes,
22468     which can conflict with char $ac_func (); below.
22469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22470     <limits.h> exists even on freestanding compilers.  */
22471
22472 #ifdef __STDC__
22473 # include <limits.h>
22474 #else
22475 # include <assert.h>
22476 #endif
22477
22478 #undef $ac_func
22479
22480 /* Override any gcc2 internal prototype to avoid an error.  */
22481 #ifdef __cplusplus
22482 extern "C"
22483 {
22484 #endif
22485 /* We use char because int might match the return type of a gcc2
22486    builtin and then its argument prototype would still apply.  */
22487 char $ac_func ();
22488 /* The GNU C library defines this for functions which it implements
22489     to always fail with ENOSYS.  Some functions are actually named
22490     something starting with __ and the normal name is an alias.  */
22491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22492 choke me
22493 #else
22494 char (*f) () = $ac_func;
22495 #endif
22496 #ifdef __cplusplus
22497 }
22498 #endif
22499
22500 int
22501 main ()
22502 {
22503 return f != $ac_func;
22504   ;
22505   return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext conftest$ac_exeext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22510   (eval $ac_link) 2>conftest.er1
22511   ac_status=$?
22512   grep -v '^ *+' conftest.er1 >conftest.err
22513   rm -f conftest.er1
22514   cat conftest.err >&5
22515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516   (exit $ac_status); } &&
22517          { ac_try='test -z "$ac_c_werror_flag"
22518                          || test ! -s conftest.err'
22519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22520   (eval $ac_try) 2>&5
22521   ac_status=$?
22522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523   (exit $ac_status); }; } &&
22524          { ac_try='test -s conftest$ac_exeext'
22525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526   (eval $ac_try) 2>&5
22527   ac_status=$?
22528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529   (exit $ac_status); }; }; then
22530   eval "$as_ac_var=yes"
22531 else
22532   echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22534
22535 eval "$as_ac_var=no"
22536 fi
22537 rm -f conftest.err conftest.$ac_objext \
22538       conftest$ac_exeext conftest.$ac_ext
22539 fi
22540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22542 if test `eval echo '${'$as_ac_var'}'` = yes; then
22543   cat >>confdefs.h <<_ACEOF
22544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22545 _ACEOF
22546
22547 fi
22548 done
22549
22550     fi
22551   fi
22552
22553
22554
22555
22556
22557
22558
22559
22560   echo "$as_me:$LINENO: checking for expf declaration" >&5
22561 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22562   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22563     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22564   echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22566
22567
22568
22569       ac_ext=cc
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22574
22575       cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h.  */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h.  */
22581 #include <math.h>
22582                       #ifdef HAVE_IEEEFP_H
22583                       #include <ieeefp.h>
22584                       #endif
22585
22586 int
22587 main ()
22588 {
22589  expf(0);
22590   ;
22591   return 0;
22592 }
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22596   (eval $ac_compile) 2>conftest.er1
22597   ac_status=$?
22598   grep -v '^ *+' conftest.er1 >conftest.err
22599   rm -f conftest.er1
22600   cat conftest.err >&5
22601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602   (exit $ac_status); } &&
22603          { ac_try='test -z "$ac_cxx_werror_flag"
22604                          || test ! -s conftest.err'
22605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606   (eval $ac_try) 2>&5
22607   ac_status=$?
22608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609   (exit $ac_status); }; } &&
22610          { ac_try='test -s conftest.$ac_objext'
22611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612   (eval $ac_try) 2>&5
22613   ac_status=$?
22614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615   (exit $ac_status); }; }; then
22616   glibcxx_cv_func_expf_use=yes
22617 else
22618   echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22620
22621 glibcxx_cv_func_expf_use=no
22622 fi
22623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22624       ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629
22630
22631 fi
22632
22633   fi
22634   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22635 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22636
22637   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22638
22639 for ac_func in expf
22640 do
22641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22642 echo "$as_me:$LINENO: checking for $ac_func" >&5
22643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22644 if eval "test \"\${$as_ac_var+set}\" = set"; then
22645   echo $ECHO_N "(cached) $ECHO_C" >&6
22646 else
22647   if test x$gcc_no_link = xyes; then
22648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22650    { (exit 1); exit 1; }; }
22651 fi
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h.  */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h.  */
22658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22660 #define $ac_func innocuous_$ac_func
22661
22662 /* System header to define __stub macros and hopefully few prototypes,
22663     which can conflict with char $ac_func (); below.
22664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22665     <limits.h> exists even on freestanding compilers.  */
22666
22667 #ifdef __STDC__
22668 # include <limits.h>
22669 #else
22670 # include <assert.h>
22671 #endif
22672
22673 #undef $ac_func
22674
22675 /* Override any gcc2 internal prototype to avoid an error.  */
22676 #ifdef __cplusplus
22677 extern "C"
22678 {
22679 #endif
22680 /* We use char because int might match the return type of a gcc2
22681    builtin and then its argument prototype would still apply.  */
22682 char $ac_func ();
22683 /* The GNU C library defines this for functions which it implements
22684     to always fail with ENOSYS.  Some functions are actually named
22685     something starting with __ and the normal name is an alias.  */
22686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22687 choke me
22688 #else
22689 char (*f) () = $ac_func;
22690 #endif
22691 #ifdef __cplusplus
22692 }
22693 #endif
22694
22695 int
22696 main ()
22697 {
22698 return f != $ac_func;
22699   ;
22700   return 0;
22701 }
22702 _ACEOF
22703 rm -f conftest.$ac_objext conftest$ac_exeext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22705   (eval $ac_link) 2>conftest.er1
22706   ac_status=$?
22707   grep -v '^ *+' conftest.er1 >conftest.err
22708   rm -f conftest.er1
22709   cat conftest.err >&5
22710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711   (exit $ac_status); } &&
22712          { ac_try='test -z "$ac_c_werror_flag"
22713                          || test ! -s conftest.err'
22714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715   (eval $ac_try) 2>&5
22716   ac_status=$?
22717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718   (exit $ac_status); }; } &&
22719          { ac_try='test -s conftest$ac_exeext'
22720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721   (eval $ac_try) 2>&5
22722   ac_status=$?
22723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724   (exit $ac_status); }; }; then
22725   eval "$as_ac_var=yes"
22726 else
22727   echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22729
22730 eval "$as_ac_var=no"
22731 fi
22732 rm -f conftest.err conftest.$ac_objext \
22733       conftest$ac_exeext conftest.$ac_ext
22734 fi
22735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22737 if test `eval echo '${'$as_ac_var'}'` = yes; then
22738   cat >>confdefs.h <<_ACEOF
22739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22740 _ACEOF
22741
22742 fi
22743 done
22744
22745   else
22746
22747   echo "$as_me:$LINENO: checking for _expf declaration" >&5
22748 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22749   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22750     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22751   echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22753
22754
22755
22756       ac_ext=cc
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22761
22762       cat >conftest.$ac_ext <<_ACEOF
22763 /* confdefs.h.  */
22764 _ACEOF
22765 cat confdefs.h >>conftest.$ac_ext
22766 cat >>conftest.$ac_ext <<_ACEOF
22767 /* end confdefs.h.  */
22768 #include <math.h>
22769                       #ifdef HAVE_IEEEFP_H
22770                       #include <ieeefp.h>
22771                       #endif
22772
22773 int
22774 main ()
22775 {
22776  _expf(0);
22777   ;
22778   return 0;
22779 }
22780 _ACEOF
22781 rm -f conftest.$ac_objext
22782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22783   (eval $ac_compile) 2>conftest.er1
22784   ac_status=$?
22785   grep -v '^ *+' conftest.er1 >conftest.err
22786   rm -f conftest.er1
22787   cat conftest.err >&5
22788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789   (exit $ac_status); } &&
22790          { ac_try='test -z "$ac_cxx_werror_flag"
22791                          || test ! -s conftest.err'
22792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793   (eval $ac_try) 2>&5
22794   ac_status=$?
22795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796   (exit $ac_status); }; } &&
22797          { ac_try='test -s conftest.$ac_objext'
22798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799   (eval $ac_try) 2>&5
22800   ac_status=$?
22801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802   (exit $ac_status); }; }; then
22803   glibcxx_cv_func__expf_use=yes
22804 else
22805   echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22807
22808 glibcxx_cv_func__expf_use=no
22809 fi
22810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22811       ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816
22817
22818 fi
22819
22820   fi
22821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22822 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22823
22824     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22825
22826 for ac_func in _expf
22827 do
22828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22829 echo "$as_me:$LINENO: checking for $ac_func" >&5
22830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22831 if eval "test \"\${$as_ac_var+set}\" = set"; then
22832   echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834   if test x$gcc_no_link = xyes; then
22835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22837    { (exit 1); exit 1; }; }
22838 fi
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h.  */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h.  */
22845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22847 #define $ac_func innocuous_$ac_func
22848
22849 /* System header to define __stub macros and hopefully few prototypes,
22850     which can conflict with char $ac_func (); below.
22851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22852     <limits.h> exists even on freestanding compilers.  */
22853
22854 #ifdef __STDC__
22855 # include <limits.h>
22856 #else
22857 # include <assert.h>
22858 #endif
22859
22860 #undef $ac_func
22861
22862 /* Override any gcc2 internal prototype to avoid an error.  */
22863 #ifdef __cplusplus
22864 extern "C"
22865 {
22866 #endif
22867 /* We use char because int might match the return type of a gcc2
22868    builtin and then its argument prototype would still apply.  */
22869 char $ac_func ();
22870 /* The GNU C library defines this for functions which it implements
22871     to always fail with ENOSYS.  Some functions are actually named
22872     something starting with __ and the normal name is an alias.  */
22873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22874 choke me
22875 #else
22876 char (*f) () = $ac_func;
22877 #endif
22878 #ifdef __cplusplus
22879 }
22880 #endif
22881
22882 int
22883 main ()
22884 {
22885 return f != $ac_func;
22886   ;
22887   return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest.$ac_objext conftest$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892   (eval $ac_link) 2>conftest.er1
22893   ac_status=$?
22894   grep -v '^ *+' conftest.er1 >conftest.err
22895   rm -f conftest.er1
22896   cat conftest.err >&5
22897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898   (exit $ac_status); } &&
22899          { ac_try='test -z "$ac_c_werror_flag"
22900                          || test ! -s conftest.err'
22901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902   (eval $ac_try) 2>&5
22903   ac_status=$?
22904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905   (exit $ac_status); }; } &&
22906          { ac_try='test -s conftest$ac_exeext'
22907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908   (eval $ac_try) 2>&5
22909   ac_status=$?
22910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911   (exit $ac_status); }; }; then
22912   eval "$as_ac_var=yes"
22913 else
22914   echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22916
22917 eval "$as_ac_var=no"
22918 fi
22919 rm -f conftest.err conftest.$ac_objext \
22920       conftest$ac_exeext conftest.$ac_ext
22921 fi
22922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22924 if test `eval echo '${'$as_ac_var'}'` = yes; then
22925   cat >>confdefs.h <<_ACEOF
22926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22927 _ACEOF
22928
22929 fi
22930 done
22931
22932     fi
22933   fi
22934
22935
22936
22937
22938
22939
22940   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22941 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22942   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22943     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22944   echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22946
22947
22948
22949       ac_ext=cc
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955       cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h.  */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h.  */
22961 #include <math.h>
22962                       #ifdef HAVE_IEEEFP_H
22963                       #include <ieeefp.h>
22964                       #endif
22965
22966 int
22967 main ()
22968 {
22969  isnanf(0);
22970   ;
22971   return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22976   (eval $ac_compile) 2>conftest.er1
22977   ac_status=$?
22978   grep -v '^ *+' conftest.er1 >conftest.err
22979   rm -f conftest.er1
22980   cat conftest.err >&5
22981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982   (exit $ac_status); } &&
22983          { ac_try='test -z "$ac_cxx_werror_flag"
22984                          || test ! -s conftest.err'
22985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986   (eval $ac_try) 2>&5
22987   ac_status=$?
22988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989   (exit $ac_status); }; } &&
22990          { ac_try='test -s conftest.$ac_objext'
22991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992   (eval $ac_try) 2>&5
22993   ac_status=$?
22994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995   (exit $ac_status); }; }; then
22996   glibcxx_cv_func_isnanf_use=yes
22997 else
22998   echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 glibcxx_cv_func_isnanf_use=no
23002 fi
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004       ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009
23010
23011 fi
23012
23013   fi
23014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23015 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23016
23017   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23018
23019 for ac_func in isnanf
23020 do
23021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23022 echo "$as_me:$LINENO: checking for $ac_func" >&5
23023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23024 if eval "test \"\${$as_ac_var+set}\" = set"; then
23025   echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027   if test x$gcc_no_link = xyes; then
23028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23030    { (exit 1); exit 1; }; }
23031 fi
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h.  */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h.  */
23038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23040 #define $ac_func innocuous_$ac_func
23041
23042 /* System header to define __stub macros and hopefully few prototypes,
23043     which can conflict with char $ac_func (); below.
23044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045     <limits.h> exists even on freestanding compilers.  */
23046
23047 #ifdef __STDC__
23048 # include <limits.h>
23049 #else
23050 # include <assert.h>
23051 #endif
23052
23053 #undef $ac_func
23054
23055 /* Override any gcc2 internal prototype to avoid an error.  */
23056 #ifdef __cplusplus
23057 extern "C"
23058 {
23059 #endif
23060 /* We use char because int might match the return type of a gcc2
23061    builtin and then its argument prototype would still apply.  */
23062 char $ac_func ();
23063 /* The GNU C library defines this for functions which it implements
23064     to always fail with ENOSYS.  Some functions are actually named
23065     something starting with __ and the normal name is an alias.  */
23066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23067 choke me
23068 #else
23069 char (*f) () = $ac_func;
23070 #endif
23071 #ifdef __cplusplus
23072 }
23073 #endif
23074
23075 int
23076 main ()
23077 {
23078 return f != $ac_func;
23079   ;
23080   return 0;
23081 }
23082 _ACEOF
23083 rm -f conftest.$ac_objext conftest$ac_exeext
23084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23085   (eval $ac_link) 2>conftest.er1
23086   ac_status=$?
23087   grep -v '^ *+' conftest.er1 >conftest.err
23088   rm -f conftest.er1
23089   cat conftest.err >&5
23090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091   (exit $ac_status); } &&
23092          { ac_try='test -z "$ac_c_werror_flag"
23093                          || test ! -s conftest.err'
23094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095   (eval $ac_try) 2>&5
23096   ac_status=$?
23097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098   (exit $ac_status); }; } &&
23099          { ac_try='test -s conftest$ac_exeext'
23100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101   (eval $ac_try) 2>&5
23102   ac_status=$?
23103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104   (exit $ac_status); }; }; then
23105   eval "$as_ac_var=yes"
23106 else
23107   echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23109
23110 eval "$as_ac_var=no"
23111 fi
23112 rm -f conftest.err conftest.$ac_objext \
23113       conftest$ac_exeext conftest.$ac_ext
23114 fi
23115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23117 if test `eval echo '${'$as_ac_var'}'` = yes; then
23118   cat >>confdefs.h <<_ACEOF
23119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23120 _ACEOF
23121
23122 fi
23123 done
23124
23125   else
23126
23127   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23128 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23129   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23130     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23131   echo $ECHO_N "(cached) $ECHO_C" >&6
23132 else
23133
23134
23135
23136       ac_ext=cc
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142       cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h.  */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h.  */
23148 #include <math.h>
23149                       #ifdef HAVE_IEEEFP_H
23150                       #include <ieeefp.h>
23151                       #endif
23152
23153 int
23154 main ()
23155 {
23156  _isnanf(0);
23157   ;
23158   return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23163   (eval $ac_compile) 2>conftest.er1
23164   ac_status=$?
23165   grep -v '^ *+' conftest.er1 >conftest.err
23166   rm -f conftest.er1
23167   cat conftest.err >&5
23168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169   (exit $ac_status); } &&
23170          { ac_try='test -z "$ac_cxx_werror_flag"
23171                          || test ! -s conftest.err'
23172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173   (eval $ac_try) 2>&5
23174   ac_status=$?
23175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176   (exit $ac_status); }; } &&
23177          { ac_try='test -s conftest.$ac_objext'
23178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179   (eval $ac_try) 2>&5
23180   ac_status=$?
23181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182   (exit $ac_status); }; }; then
23183   glibcxx_cv_func__isnanf_use=yes
23184 else
23185   echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23187
23188 glibcxx_cv_func__isnanf_use=no
23189 fi
23190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23191       ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196
23197
23198 fi
23199
23200   fi
23201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23202 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23203
23204     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23205
23206 for ac_func in _isnanf
23207 do
23208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23209 echo "$as_me:$LINENO: checking for $ac_func" >&5
23210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23211 if eval "test \"\${$as_ac_var+set}\" = set"; then
23212   echo $ECHO_N "(cached) $ECHO_C" >&6
23213 else
23214   if test x$gcc_no_link = xyes; then
23215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23217    { (exit 1); exit 1; }; }
23218 fi
23219 cat >conftest.$ac_ext <<_ACEOF
23220 /* confdefs.h.  */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h.  */
23225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23227 #define $ac_func innocuous_$ac_func
23228
23229 /* System header to define __stub macros and hopefully few prototypes,
23230     which can conflict with char $ac_func (); below.
23231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23232     <limits.h> exists even on freestanding compilers.  */
23233
23234 #ifdef __STDC__
23235 # include <limits.h>
23236 #else
23237 # include <assert.h>
23238 #endif
23239
23240 #undef $ac_func
23241
23242 /* Override any gcc2 internal prototype to avoid an error.  */
23243 #ifdef __cplusplus
23244 extern "C"
23245 {
23246 #endif
23247 /* We use char because int might match the return type of a gcc2
23248    builtin and then its argument prototype would still apply.  */
23249 char $ac_func ();
23250 /* The GNU C library defines this for functions which it implements
23251     to always fail with ENOSYS.  Some functions are actually named
23252     something starting with __ and the normal name is an alias.  */
23253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23254 choke me
23255 #else
23256 char (*f) () = $ac_func;
23257 #endif
23258 #ifdef __cplusplus
23259 }
23260 #endif
23261
23262 int
23263 main ()
23264 {
23265 return f != $ac_func;
23266   ;
23267   return 0;
23268 }
23269 _ACEOF
23270 rm -f conftest.$ac_objext conftest$ac_exeext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272   (eval $ac_link) 2>conftest.er1
23273   ac_status=$?
23274   grep -v '^ *+' conftest.er1 >conftest.err
23275   rm -f conftest.er1
23276   cat conftest.err >&5
23277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278   (exit $ac_status); } &&
23279          { ac_try='test -z "$ac_c_werror_flag"
23280                          || test ! -s conftest.err'
23281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282   (eval $ac_try) 2>&5
23283   ac_status=$?
23284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285   (exit $ac_status); }; } &&
23286          { ac_try='test -s conftest$ac_exeext'
23287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288   (eval $ac_try) 2>&5
23289   ac_status=$?
23290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291   (exit $ac_status); }; }; then
23292   eval "$as_ac_var=yes"
23293 else
23294   echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23296
23297 eval "$as_ac_var=no"
23298 fi
23299 rm -f conftest.err conftest.$ac_objext \
23300       conftest$ac_exeext conftest.$ac_ext
23301 fi
23302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23304 if test `eval echo '${'$as_ac_var'}'` = yes; then
23305   cat >>confdefs.h <<_ACEOF
23306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23307 _ACEOF
23308
23309 fi
23310 done
23311
23312     fi
23313   fi
23314
23315
23316
23317
23318
23319
23320   echo "$as_me:$LINENO: checking for isinff declaration" >&5
23321 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23322   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23323     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23324   echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326
23327
23328
23329       ac_ext=cc
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334
23335       cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h.  */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h.  */
23341 #include <math.h>
23342                       #ifdef HAVE_IEEEFP_H
23343                       #include <ieeefp.h>
23344                       #endif
23345
23346 int
23347 main ()
23348 {
23349  isinff(0);
23350   ;
23351   return 0;
23352 }
23353 _ACEOF
23354 rm -f conftest.$ac_objext
23355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23356   (eval $ac_compile) 2>conftest.er1
23357   ac_status=$?
23358   grep -v '^ *+' conftest.er1 >conftest.err
23359   rm -f conftest.er1
23360   cat conftest.err >&5
23361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362   (exit $ac_status); } &&
23363          { ac_try='test -z "$ac_cxx_werror_flag"
23364                          || test ! -s conftest.err'
23365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366   (eval $ac_try) 2>&5
23367   ac_status=$?
23368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369   (exit $ac_status); }; } &&
23370          { ac_try='test -s conftest.$ac_objext'
23371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372   (eval $ac_try) 2>&5
23373   ac_status=$?
23374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375   (exit $ac_status); }; }; then
23376   glibcxx_cv_func_isinff_use=yes
23377 else
23378   echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23380
23381 glibcxx_cv_func_isinff_use=no
23382 fi
23383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23384       ac_ext=c
23385 ac_cpp='$CPP $CPPFLAGS'
23386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23389
23390
23391 fi
23392
23393   fi
23394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23395 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23396
23397   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23398
23399 for ac_func in isinff
23400 do
23401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23402 echo "$as_me:$LINENO: checking for $ac_func" >&5
23403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23404 if eval "test \"\${$as_ac_var+set}\" = set"; then
23405   echo $ECHO_N "(cached) $ECHO_C" >&6
23406 else
23407   if test x$gcc_no_link = xyes; then
23408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23410    { (exit 1); exit 1; }; }
23411 fi
23412 cat >conftest.$ac_ext <<_ACEOF
23413 /* confdefs.h.  */
23414 _ACEOF
23415 cat confdefs.h >>conftest.$ac_ext
23416 cat >>conftest.$ac_ext <<_ACEOF
23417 /* end confdefs.h.  */
23418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23420 #define $ac_func innocuous_$ac_func
23421
23422 /* System header to define __stub macros and hopefully few prototypes,
23423     which can conflict with char $ac_func (); below.
23424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23425     <limits.h> exists even on freestanding compilers.  */
23426
23427 #ifdef __STDC__
23428 # include <limits.h>
23429 #else
23430 # include <assert.h>
23431 #endif
23432
23433 #undef $ac_func
23434
23435 /* Override any gcc2 internal prototype to avoid an error.  */
23436 #ifdef __cplusplus
23437 extern "C"
23438 {
23439 #endif
23440 /* We use char because int might match the return type of a gcc2
23441    builtin and then its argument prototype would still apply.  */
23442 char $ac_func ();
23443 /* The GNU C library defines this for functions which it implements
23444     to always fail with ENOSYS.  Some functions are actually named
23445     something starting with __ and the normal name is an alias.  */
23446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23447 choke me
23448 #else
23449 char (*f) () = $ac_func;
23450 #endif
23451 #ifdef __cplusplus
23452 }
23453 #endif
23454
23455 int
23456 main ()
23457 {
23458 return f != $ac_func;
23459   ;
23460   return 0;
23461 }
23462 _ACEOF
23463 rm -f conftest.$ac_objext conftest$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465   (eval $ac_link) 2>conftest.er1
23466   ac_status=$?
23467   grep -v '^ *+' conftest.er1 >conftest.err
23468   rm -f conftest.er1
23469   cat conftest.err >&5
23470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471   (exit $ac_status); } &&
23472          { ac_try='test -z "$ac_c_werror_flag"
23473                          || test ! -s conftest.err'
23474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475   (eval $ac_try) 2>&5
23476   ac_status=$?
23477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478   (exit $ac_status); }; } &&
23479          { ac_try='test -s conftest$ac_exeext'
23480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481   (eval $ac_try) 2>&5
23482   ac_status=$?
23483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484   (exit $ac_status); }; }; then
23485   eval "$as_ac_var=yes"
23486 else
23487   echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 eval "$as_ac_var=no"
23491 fi
23492 rm -f conftest.err conftest.$ac_objext \
23493       conftest$ac_exeext conftest.$ac_ext
23494 fi
23495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23497 if test `eval echo '${'$as_ac_var'}'` = yes; then
23498   cat >>confdefs.h <<_ACEOF
23499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23500 _ACEOF
23501
23502 fi
23503 done
23504
23505   else
23506
23507   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23508 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23509   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23510     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23511   echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513
23514
23515
23516       ac_ext=cc
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522       cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h.  */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h.  */
23528 #include <math.h>
23529                       #ifdef HAVE_IEEEFP_H
23530                       #include <ieeefp.h>
23531                       #endif
23532
23533 int
23534 main ()
23535 {
23536  _isinff(0);
23537   ;
23538   return 0;
23539 }
23540 _ACEOF
23541 rm -f conftest.$ac_objext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23543   (eval $ac_compile) 2>conftest.er1
23544   ac_status=$?
23545   grep -v '^ *+' conftest.er1 >conftest.err
23546   rm -f conftest.er1
23547   cat conftest.err >&5
23548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549   (exit $ac_status); } &&
23550          { ac_try='test -z "$ac_cxx_werror_flag"
23551                          || test ! -s conftest.err'
23552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553   (eval $ac_try) 2>&5
23554   ac_status=$?
23555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556   (exit $ac_status); }; } &&
23557          { ac_try='test -s conftest.$ac_objext'
23558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559   (eval $ac_try) 2>&5
23560   ac_status=$?
23561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562   (exit $ac_status); }; }; then
23563   glibcxx_cv_func__isinff_use=yes
23564 else
23565   echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 glibcxx_cv_func__isinff_use=no
23569 fi
23570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23571       ac_ext=c
23572 ac_cpp='$CPP $CPPFLAGS'
23573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23576
23577
23578 fi
23579
23580   fi
23581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23582 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23583
23584     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23585
23586 for ac_func in _isinff
23587 do
23588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23589 echo "$as_me:$LINENO: checking for $ac_func" >&5
23590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23591 if eval "test \"\${$as_ac_var+set}\" = set"; then
23592   echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594   if test x$gcc_no_link = xyes; then
23595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23597    { (exit 1); exit 1; }; }
23598 fi
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h.  */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h.  */
23605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23607 #define $ac_func innocuous_$ac_func
23608
23609 /* System header to define __stub macros and hopefully few prototypes,
23610     which can conflict with char $ac_func (); below.
23611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23612     <limits.h> exists even on freestanding compilers.  */
23613
23614 #ifdef __STDC__
23615 # include <limits.h>
23616 #else
23617 # include <assert.h>
23618 #endif
23619
23620 #undef $ac_func
23621
23622 /* Override any gcc2 internal prototype to avoid an error.  */
23623 #ifdef __cplusplus
23624 extern "C"
23625 {
23626 #endif
23627 /* We use char because int might match the return type of a gcc2
23628    builtin and then its argument prototype would still apply.  */
23629 char $ac_func ();
23630 /* The GNU C library defines this for functions which it implements
23631     to always fail with ENOSYS.  Some functions are actually named
23632     something starting with __ and the normal name is an alias.  */
23633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23634 choke me
23635 #else
23636 char (*f) () = $ac_func;
23637 #endif
23638 #ifdef __cplusplus
23639 }
23640 #endif
23641
23642 int
23643 main ()
23644 {
23645 return f != $ac_func;
23646   ;
23647   return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652   (eval $ac_link) 2>conftest.er1
23653   ac_status=$?
23654   grep -v '^ *+' conftest.er1 >conftest.err
23655   rm -f conftest.er1
23656   cat conftest.err >&5
23657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658   (exit $ac_status); } &&
23659          { ac_try='test -z "$ac_c_werror_flag"
23660                          || test ! -s conftest.err'
23661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662   (eval $ac_try) 2>&5
23663   ac_status=$?
23664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665   (exit $ac_status); }; } &&
23666          { ac_try='test -s conftest$ac_exeext'
23667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668   (eval $ac_try) 2>&5
23669   ac_status=$?
23670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671   (exit $ac_status); }; }; then
23672   eval "$as_ac_var=yes"
23673 else
23674   echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677 eval "$as_ac_var=no"
23678 fi
23679 rm -f conftest.err conftest.$ac_objext \
23680       conftest$ac_exeext conftest.$ac_ext
23681 fi
23682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23684 if test `eval echo '${'$as_ac_var'}'` = yes; then
23685   cat >>confdefs.h <<_ACEOF
23686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23687 _ACEOF
23688
23689 fi
23690 done
23691
23692     fi
23693   fi
23694
23695
23696
23697
23698
23699
23700   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23701 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23702   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23703     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23704   echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23706
23707
23708
23709       ac_ext=cc
23710 ac_cpp='$CXXCPP $CPPFLAGS'
23711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23714
23715       cat >conftest.$ac_ext <<_ACEOF
23716 /* confdefs.h.  */
23717 _ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h.  */
23721 #include <math.h>
23722 int
23723 main ()
23724 {
23725  atan2f(0, 0);
23726   ;
23727   return 0;
23728 }
23729 _ACEOF
23730 rm -f conftest.$ac_objext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23732   (eval $ac_compile) 2>conftest.er1
23733   ac_status=$?
23734   grep -v '^ *+' conftest.er1 >conftest.err
23735   rm -f conftest.er1
23736   cat conftest.err >&5
23737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738   (exit $ac_status); } &&
23739          { ac_try='test -z "$ac_cxx_werror_flag"
23740                          || test ! -s conftest.err'
23741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742   (eval $ac_try) 2>&5
23743   ac_status=$?
23744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745   (exit $ac_status); }; } &&
23746          { ac_try='test -s conftest.$ac_objext'
23747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748   (eval $ac_try) 2>&5
23749   ac_status=$?
23750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751   (exit $ac_status); }; }; then
23752   glibcxx_cv_func_atan2f_use=yes
23753 else
23754   echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23756
23757 glibcxx_cv_func_atan2f_use=no
23758 fi
23759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23760       ac_ext=c
23761 ac_cpp='$CPP $CPPFLAGS'
23762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23765
23766
23767 fi
23768
23769   fi
23770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23771 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23772
23773   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23774
23775 for ac_func in atan2f
23776 do
23777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23778 echo "$as_me:$LINENO: checking for $ac_func" >&5
23779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23780 if eval "test \"\${$as_ac_var+set}\" = set"; then
23781   echo $ECHO_N "(cached) $ECHO_C" >&6
23782 else
23783   if test x$gcc_no_link = xyes; then
23784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23786    { (exit 1); exit 1; }; }
23787 fi
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h.  */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h.  */
23794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23796 #define $ac_func innocuous_$ac_func
23797
23798 /* System header to define __stub macros and hopefully few prototypes,
23799     which can conflict with char $ac_func (); below.
23800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23801     <limits.h> exists even on freestanding compilers.  */
23802
23803 #ifdef __STDC__
23804 # include <limits.h>
23805 #else
23806 # include <assert.h>
23807 #endif
23808
23809 #undef $ac_func
23810
23811 /* Override any gcc2 internal prototype to avoid an error.  */
23812 #ifdef __cplusplus
23813 extern "C"
23814 {
23815 #endif
23816 /* We use char because int might match the return type of a gcc2
23817    builtin and then its argument prototype would still apply.  */
23818 char $ac_func ();
23819 /* The GNU C library defines this for functions which it implements
23820     to always fail with ENOSYS.  Some functions are actually named
23821     something starting with __ and the normal name is an alias.  */
23822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23823 choke me
23824 #else
23825 char (*f) () = $ac_func;
23826 #endif
23827 #ifdef __cplusplus
23828 }
23829 #endif
23830
23831 int
23832 main ()
23833 {
23834 return f != $ac_func;
23835   ;
23836   return 0;
23837 }
23838 _ACEOF
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841   (eval $ac_link) 2>conftest.er1
23842   ac_status=$?
23843   grep -v '^ *+' conftest.er1 >conftest.err
23844   rm -f conftest.er1
23845   cat conftest.err >&5
23846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847   (exit $ac_status); } &&
23848          { ac_try='test -z "$ac_c_werror_flag"
23849                          || test ! -s conftest.err'
23850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851   (eval $ac_try) 2>&5
23852   ac_status=$?
23853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854   (exit $ac_status); }; } &&
23855          { ac_try='test -s conftest$ac_exeext'
23856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857   (eval $ac_try) 2>&5
23858   ac_status=$?
23859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860   (exit $ac_status); }; }; then
23861   eval "$as_ac_var=yes"
23862 else
23863   echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23865
23866 eval "$as_ac_var=no"
23867 fi
23868 rm -f conftest.err conftest.$ac_objext \
23869       conftest$ac_exeext conftest.$ac_ext
23870 fi
23871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23873 if test `eval echo '${'$as_ac_var'}'` = yes; then
23874   cat >>confdefs.h <<_ACEOF
23875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23876 _ACEOF
23877
23878 fi
23879 done
23880
23881   else
23882
23883   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23884 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23885   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23886     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23887   echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23889
23890
23891
23892       ac_ext=cc
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23897
23898       cat >conftest.$ac_ext <<_ACEOF
23899 /* confdefs.h.  */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h.  */
23904 #include <math.h>
23905 int
23906 main ()
23907 {
23908  _atan2f(0, 0);
23909   ;
23910   return 0;
23911 }
23912 _ACEOF
23913 rm -f conftest.$ac_objext
23914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23915   (eval $ac_compile) 2>conftest.er1
23916   ac_status=$?
23917   grep -v '^ *+' conftest.er1 >conftest.err
23918   rm -f conftest.er1
23919   cat conftest.err >&5
23920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921   (exit $ac_status); } &&
23922          { ac_try='test -z "$ac_cxx_werror_flag"
23923                          || test ! -s conftest.err'
23924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925   (eval $ac_try) 2>&5
23926   ac_status=$?
23927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928   (exit $ac_status); }; } &&
23929          { ac_try='test -s conftest.$ac_objext'
23930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931   (eval $ac_try) 2>&5
23932   ac_status=$?
23933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934   (exit $ac_status); }; }; then
23935   glibcxx_cv_func__atan2f_use=yes
23936 else
23937   echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23939
23940 glibcxx_cv_func__atan2f_use=no
23941 fi
23942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23943       ac_ext=c
23944 ac_cpp='$CPP $CPPFLAGS'
23945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23948
23949
23950 fi
23951
23952   fi
23953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23954 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23955
23956     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23957
23958 for ac_func in _atan2f
23959 do
23960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23961 echo "$as_me:$LINENO: checking for $ac_func" >&5
23962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23963 if eval "test \"\${$as_ac_var+set}\" = set"; then
23964   echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966   if test x$gcc_no_link = xyes; then
23967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969    { (exit 1); exit 1; }; }
23970 fi
23971 cat >conftest.$ac_ext <<_ACEOF
23972 /* confdefs.h.  */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h.  */
23977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23979 #define $ac_func innocuous_$ac_func
23980
23981 /* System header to define __stub macros and hopefully few prototypes,
23982     which can conflict with char $ac_func (); below.
23983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23984     <limits.h> exists even on freestanding compilers.  */
23985
23986 #ifdef __STDC__
23987 # include <limits.h>
23988 #else
23989 # include <assert.h>
23990 #endif
23991
23992 #undef $ac_func
23993
23994 /* Override any gcc2 internal prototype to avoid an error.  */
23995 #ifdef __cplusplus
23996 extern "C"
23997 {
23998 #endif
23999 /* We use char because int might match the return type of a gcc2
24000    builtin and then its argument prototype would still apply.  */
24001 char $ac_func ();
24002 /* The GNU C library defines this for functions which it implements
24003     to always fail with ENOSYS.  Some functions are actually named
24004     something starting with __ and the normal name is an alias.  */
24005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24006 choke me
24007 #else
24008 char (*f) () = $ac_func;
24009 #endif
24010 #ifdef __cplusplus
24011 }
24012 #endif
24013
24014 int
24015 main ()
24016 {
24017 return f != $ac_func;
24018   ;
24019   return 0;
24020 }
24021 _ACEOF
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024   (eval $ac_link) 2>conftest.er1
24025   ac_status=$?
24026   grep -v '^ *+' conftest.er1 >conftest.err
24027   rm -f conftest.er1
24028   cat conftest.err >&5
24029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030   (exit $ac_status); } &&
24031          { ac_try='test -z "$ac_c_werror_flag"
24032                          || test ! -s conftest.err'
24033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034   (eval $ac_try) 2>&5
24035   ac_status=$?
24036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037   (exit $ac_status); }; } &&
24038          { ac_try='test -s conftest$ac_exeext'
24039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040   (eval $ac_try) 2>&5
24041   ac_status=$?
24042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043   (exit $ac_status); }; }; then
24044   eval "$as_ac_var=yes"
24045 else
24046   echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.$ac_ext >&5
24048
24049 eval "$as_ac_var=no"
24050 fi
24051 rm -f conftest.err conftest.$ac_objext \
24052       conftest$ac_exeext conftest.$ac_ext
24053 fi
24054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24056 if test `eval echo '${'$as_ac_var'}'` = yes; then
24057   cat >>confdefs.h <<_ACEOF
24058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24059 _ACEOF
24060
24061 fi
24062 done
24063
24064     fi
24065   fi
24066
24067
24068
24069
24070
24071
24072   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24074   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24075     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24076   echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24078
24079
24080
24081       ac_ext=cc
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24086
24087       cat >conftest.$ac_ext <<_ACEOF
24088 /* confdefs.h.  */
24089 _ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h.  */
24093 #include <math.h>
24094                       #ifdef HAVE_IEEEFP_H
24095                       #include <ieeefp.h>
24096                       #endif
24097
24098 int
24099 main ()
24100 {
24101  fabsf(0);
24102   ;
24103   return 0;
24104 }
24105 _ACEOF
24106 rm -f conftest.$ac_objext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24108   (eval $ac_compile) 2>conftest.er1
24109   ac_status=$?
24110   grep -v '^ *+' conftest.er1 >conftest.err
24111   rm -f conftest.er1
24112   cat conftest.err >&5
24113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114   (exit $ac_status); } &&
24115          { ac_try='test -z "$ac_cxx_werror_flag"
24116                          || test ! -s conftest.err'
24117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118   (eval $ac_try) 2>&5
24119   ac_status=$?
24120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121   (exit $ac_status); }; } &&
24122          { ac_try='test -s conftest.$ac_objext'
24123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124   (eval $ac_try) 2>&5
24125   ac_status=$?
24126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127   (exit $ac_status); }; }; then
24128   glibcxx_cv_func_fabsf_use=yes
24129 else
24130   echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24132
24133 glibcxx_cv_func_fabsf_use=no
24134 fi
24135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24136       ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24141
24142
24143 fi
24144
24145   fi
24146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24147 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24148
24149   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24150
24151 for ac_func in fabsf
24152 do
24153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24154 echo "$as_me:$LINENO: checking for $ac_func" >&5
24155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24156 if eval "test \"\${$as_ac_var+set}\" = set"; then
24157   echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159   if test x$gcc_no_link = xyes; then
24160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24162    { (exit 1); exit 1; }; }
24163 fi
24164 cat >conftest.$ac_ext <<_ACEOF
24165 /* confdefs.h.  */
24166 _ACEOF
24167 cat confdefs.h >>conftest.$ac_ext
24168 cat >>conftest.$ac_ext <<_ACEOF
24169 /* end confdefs.h.  */
24170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24172 #define $ac_func innocuous_$ac_func
24173
24174 /* System header to define __stub macros and hopefully few prototypes,
24175     which can conflict with char $ac_func (); below.
24176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24177     <limits.h> exists even on freestanding compilers.  */
24178
24179 #ifdef __STDC__
24180 # include <limits.h>
24181 #else
24182 # include <assert.h>
24183 #endif
24184
24185 #undef $ac_func
24186
24187 /* Override any gcc2 internal prototype to avoid an error.  */
24188 #ifdef __cplusplus
24189 extern "C"
24190 {
24191 #endif
24192 /* We use char because int might match the return type of a gcc2
24193    builtin and then its argument prototype would still apply.  */
24194 char $ac_func ();
24195 /* The GNU C library defines this for functions which it implements
24196     to always fail with ENOSYS.  Some functions are actually named
24197     something starting with __ and the normal name is an alias.  */
24198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24199 choke me
24200 #else
24201 char (*f) () = $ac_func;
24202 #endif
24203 #ifdef __cplusplus
24204 }
24205 #endif
24206
24207 int
24208 main ()
24209 {
24210 return f != $ac_func;
24211   ;
24212   return 0;
24213 }
24214 _ACEOF
24215 rm -f conftest.$ac_objext conftest$ac_exeext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24217   (eval $ac_link) 2>conftest.er1
24218   ac_status=$?
24219   grep -v '^ *+' conftest.er1 >conftest.err
24220   rm -f conftest.er1
24221   cat conftest.err >&5
24222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223   (exit $ac_status); } &&
24224          { ac_try='test -z "$ac_c_werror_flag"
24225                          || test ! -s conftest.err'
24226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24227   (eval $ac_try) 2>&5
24228   ac_status=$?
24229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230   (exit $ac_status); }; } &&
24231          { ac_try='test -s conftest$ac_exeext'
24232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24233   (eval $ac_try) 2>&5
24234   ac_status=$?
24235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236   (exit $ac_status); }; }; then
24237   eval "$as_ac_var=yes"
24238 else
24239   echo "$as_me: failed program was:" >&5
24240 sed 's/^/| /' conftest.$ac_ext >&5
24241
24242 eval "$as_ac_var=no"
24243 fi
24244 rm -f conftest.err conftest.$ac_objext \
24245       conftest$ac_exeext conftest.$ac_ext
24246 fi
24247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24249 if test `eval echo '${'$as_ac_var'}'` = yes; then
24250   cat >>confdefs.h <<_ACEOF
24251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24252 _ACEOF
24253
24254 fi
24255 done
24256
24257   else
24258
24259   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24260 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24261   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24262     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24263   echo $ECHO_N "(cached) $ECHO_C" >&6
24264 else
24265
24266
24267
24268       ac_ext=cc
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273
24274       cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h.  */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h.  */
24280 #include <math.h>
24281                       #ifdef HAVE_IEEEFP_H
24282                       #include <ieeefp.h>
24283                       #endif
24284
24285 int
24286 main ()
24287 {
24288  _fabsf(0);
24289   ;
24290   return 0;
24291 }
24292 _ACEOF
24293 rm -f conftest.$ac_objext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24295   (eval $ac_compile) 2>conftest.er1
24296   ac_status=$?
24297   grep -v '^ *+' conftest.er1 >conftest.err
24298   rm -f conftest.er1
24299   cat conftest.err >&5
24300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301   (exit $ac_status); } &&
24302          { ac_try='test -z "$ac_cxx_werror_flag"
24303                          || test ! -s conftest.err'
24304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305   (eval $ac_try) 2>&5
24306   ac_status=$?
24307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308   (exit $ac_status); }; } &&
24309          { ac_try='test -s conftest.$ac_objext'
24310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311   (eval $ac_try) 2>&5
24312   ac_status=$?
24313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314   (exit $ac_status); }; }; then
24315   glibcxx_cv_func__fabsf_use=yes
24316 else
24317   echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24319
24320 glibcxx_cv_func__fabsf_use=no
24321 fi
24322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24323       ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328
24329
24330 fi
24331
24332   fi
24333   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24334 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24335
24336     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24337
24338 for ac_func in _fabsf
24339 do
24340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24341 echo "$as_me:$LINENO: checking for $ac_func" >&5
24342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24343 if eval "test \"\${$as_ac_var+set}\" = set"; then
24344   echo $ECHO_N "(cached) $ECHO_C" >&6
24345 else
24346   if test x$gcc_no_link = xyes; then
24347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24349    { (exit 1); exit 1; }; }
24350 fi
24351 cat >conftest.$ac_ext <<_ACEOF
24352 /* confdefs.h.  */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h.  */
24357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24359 #define $ac_func innocuous_$ac_func
24360
24361 /* System header to define __stub macros and hopefully few prototypes,
24362     which can conflict with char $ac_func (); below.
24363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24364     <limits.h> exists even on freestanding compilers.  */
24365
24366 #ifdef __STDC__
24367 # include <limits.h>
24368 #else
24369 # include <assert.h>
24370 #endif
24371
24372 #undef $ac_func
24373
24374 /* Override any gcc2 internal prototype to avoid an error.  */
24375 #ifdef __cplusplus
24376 extern "C"
24377 {
24378 #endif
24379 /* We use char because int might match the return type of a gcc2
24380    builtin and then its argument prototype would still apply.  */
24381 char $ac_func ();
24382 /* The GNU C library defines this for functions which it implements
24383     to always fail with ENOSYS.  Some functions are actually named
24384     something starting with __ and the normal name is an alias.  */
24385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24386 choke me
24387 #else
24388 char (*f) () = $ac_func;
24389 #endif
24390 #ifdef __cplusplus
24391 }
24392 #endif
24393
24394 int
24395 main ()
24396 {
24397 return f != $ac_func;
24398   ;
24399   return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext conftest$ac_exeext
24403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24404   (eval $ac_link) 2>conftest.er1
24405   ac_status=$?
24406   grep -v '^ *+' conftest.er1 >conftest.err
24407   rm -f conftest.er1
24408   cat conftest.err >&5
24409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410   (exit $ac_status); } &&
24411          { ac_try='test -z "$ac_c_werror_flag"
24412                          || test ! -s conftest.err'
24413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414   (eval $ac_try) 2>&5
24415   ac_status=$?
24416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417   (exit $ac_status); }; } &&
24418          { ac_try='test -s conftest$ac_exeext'
24419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420   (eval $ac_try) 2>&5
24421   ac_status=$?
24422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423   (exit $ac_status); }; }; then
24424   eval "$as_ac_var=yes"
24425 else
24426   echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24428
24429 eval "$as_ac_var=no"
24430 fi
24431 rm -f conftest.err conftest.$ac_objext \
24432       conftest$ac_exeext conftest.$ac_ext
24433 fi
24434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24436 if test `eval echo '${'$as_ac_var'}'` = yes; then
24437   cat >>confdefs.h <<_ACEOF
24438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24439 _ACEOF
24440
24441 fi
24442 done
24443
24444     fi
24445   fi
24446
24447
24448
24449
24450
24451
24452   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24453 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24454   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24455     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24456   echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24458
24459
24460
24461       ac_ext=cc
24462 ac_cpp='$CXXCPP $CPPFLAGS'
24463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24466
24467       cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h.  */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h.  */
24473 #include <math.h>
24474 int
24475 main ()
24476 {
24477  fmodf(0, 0);
24478   ;
24479   return 0;
24480 }
24481 _ACEOF
24482 rm -f conftest.$ac_objext
24483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24484   (eval $ac_compile) 2>conftest.er1
24485   ac_status=$?
24486   grep -v '^ *+' conftest.er1 >conftest.err
24487   rm -f conftest.er1
24488   cat conftest.err >&5
24489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490   (exit $ac_status); } &&
24491          { ac_try='test -z "$ac_cxx_werror_flag"
24492                          || test ! -s conftest.err'
24493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494   (eval $ac_try) 2>&5
24495   ac_status=$?
24496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497   (exit $ac_status); }; } &&
24498          { ac_try='test -s conftest.$ac_objext'
24499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500   (eval $ac_try) 2>&5
24501   ac_status=$?
24502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503   (exit $ac_status); }; }; then
24504   glibcxx_cv_func_fmodf_use=yes
24505 else
24506   echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24508
24509 glibcxx_cv_func_fmodf_use=no
24510 fi
24511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24512       ac_ext=c
24513 ac_cpp='$CPP $CPPFLAGS'
24514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24517
24518
24519 fi
24520
24521   fi
24522   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24523 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24524
24525   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24526
24527 for ac_func in fmodf
24528 do
24529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24530 echo "$as_me:$LINENO: checking for $ac_func" >&5
24531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24532 if eval "test \"\${$as_ac_var+set}\" = set"; then
24533   echo $ECHO_N "(cached) $ECHO_C" >&6
24534 else
24535   if test x$gcc_no_link = xyes; then
24536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24538    { (exit 1); exit 1; }; }
24539 fi
24540 cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h.  */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h.  */
24546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24547    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24548 #define $ac_func innocuous_$ac_func
24549
24550 /* System header to define __stub macros and hopefully few prototypes,
24551     which can conflict with char $ac_func (); below.
24552     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24553     <limits.h> exists even on freestanding compilers.  */
24554
24555 #ifdef __STDC__
24556 # include <limits.h>
24557 #else
24558 # include <assert.h>
24559 #endif
24560
24561 #undef $ac_func
24562
24563 /* Override any gcc2 internal prototype to avoid an error.  */
24564 #ifdef __cplusplus
24565 extern "C"
24566 {
24567 #endif
24568 /* We use char because int might match the return type of a gcc2
24569    builtin and then its argument prototype would still apply.  */
24570 char $ac_func ();
24571 /* The GNU C library defines this for functions which it implements
24572     to always fail with ENOSYS.  Some functions are actually named
24573     something starting with __ and the normal name is an alias.  */
24574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24575 choke me
24576 #else
24577 char (*f) () = $ac_func;
24578 #endif
24579 #ifdef __cplusplus
24580 }
24581 #endif
24582
24583 int
24584 main ()
24585 {
24586 return f != $ac_func;
24587   ;
24588   return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext conftest$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593   (eval $ac_link) 2>conftest.er1
24594   ac_status=$?
24595   grep -v '^ *+' conftest.er1 >conftest.err
24596   rm -f conftest.er1
24597   cat conftest.err >&5
24598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599   (exit $ac_status); } &&
24600          { ac_try='test -z "$ac_c_werror_flag"
24601                          || test ! -s conftest.err'
24602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603   (eval $ac_try) 2>&5
24604   ac_status=$?
24605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606   (exit $ac_status); }; } &&
24607          { ac_try='test -s conftest$ac_exeext'
24608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609   (eval $ac_try) 2>&5
24610   ac_status=$?
24611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612   (exit $ac_status); }; }; then
24613   eval "$as_ac_var=yes"
24614 else
24615   echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 eval "$as_ac_var=no"
24619 fi
24620 rm -f conftest.err conftest.$ac_objext \
24621       conftest$ac_exeext conftest.$ac_ext
24622 fi
24623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24625 if test `eval echo '${'$as_ac_var'}'` = yes; then
24626   cat >>confdefs.h <<_ACEOF
24627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24628 _ACEOF
24629
24630 fi
24631 done
24632
24633   else
24634
24635   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24636 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24637   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24638     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24639   echo $ECHO_N "(cached) $ECHO_C" >&6
24640 else
24641
24642
24643
24644       ac_ext=cc
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649
24650       cat >conftest.$ac_ext <<_ACEOF
24651 /* confdefs.h.  */
24652 _ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h.  */
24656 #include <math.h>
24657 int
24658 main ()
24659 {
24660  _fmodf(0, 0);
24661   ;
24662   return 0;
24663 }
24664 _ACEOF
24665 rm -f conftest.$ac_objext
24666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24667   (eval $ac_compile) 2>conftest.er1
24668   ac_status=$?
24669   grep -v '^ *+' conftest.er1 >conftest.err
24670   rm -f conftest.er1
24671   cat conftest.err >&5
24672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673   (exit $ac_status); } &&
24674          { ac_try='test -z "$ac_cxx_werror_flag"
24675                          || test ! -s conftest.err'
24676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677   (eval $ac_try) 2>&5
24678   ac_status=$?
24679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680   (exit $ac_status); }; } &&
24681          { ac_try='test -s conftest.$ac_objext'
24682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683   (eval $ac_try) 2>&5
24684   ac_status=$?
24685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686   (exit $ac_status); }; }; then
24687   glibcxx_cv_func__fmodf_use=yes
24688 else
24689   echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24691
24692 glibcxx_cv_func__fmodf_use=no
24693 fi
24694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24695       ac_ext=c
24696 ac_cpp='$CPP $CPPFLAGS'
24697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24700
24701
24702 fi
24703
24704   fi
24705   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24706 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24707
24708     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24709
24710 for ac_func in _fmodf
24711 do
24712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24713 echo "$as_me:$LINENO: checking for $ac_func" >&5
24714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24715 if eval "test \"\${$as_ac_var+set}\" = set"; then
24716   echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718   if test x$gcc_no_link = xyes; then
24719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24721    { (exit 1); exit 1; }; }
24722 fi
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h.  */
24725 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h.  */
24729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24731 #define $ac_func innocuous_$ac_func
24732
24733 /* System header to define __stub macros and hopefully few prototypes,
24734     which can conflict with char $ac_func (); below.
24735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24736     <limits.h> exists even on freestanding compilers.  */
24737
24738 #ifdef __STDC__
24739 # include <limits.h>
24740 #else
24741 # include <assert.h>
24742 #endif
24743
24744 #undef $ac_func
24745
24746 /* Override any gcc2 internal prototype to avoid an error.  */
24747 #ifdef __cplusplus
24748 extern "C"
24749 {
24750 #endif
24751 /* We use char because int might match the return type of a gcc2
24752    builtin and then its argument prototype would still apply.  */
24753 char $ac_func ();
24754 /* The GNU C library defines this for functions which it implements
24755     to always fail with ENOSYS.  Some functions are actually named
24756     something starting with __ and the normal name is an alias.  */
24757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24758 choke me
24759 #else
24760 char (*f) () = $ac_func;
24761 #endif
24762 #ifdef __cplusplus
24763 }
24764 #endif
24765
24766 int
24767 main ()
24768 {
24769 return f != $ac_func;
24770   ;
24771   return 0;
24772 }
24773 _ACEOF
24774 rm -f conftest.$ac_objext conftest$ac_exeext
24775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24776   (eval $ac_link) 2>conftest.er1
24777   ac_status=$?
24778   grep -v '^ *+' conftest.er1 >conftest.err
24779   rm -f conftest.er1
24780   cat conftest.err >&5
24781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782   (exit $ac_status); } &&
24783          { ac_try='test -z "$ac_c_werror_flag"
24784                          || test ! -s conftest.err'
24785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786   (eval $ac_try) 2>&5
24787   ac_status=$?
24788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789   (exit $ac_status); }; } &&
24790          { ac_try='test -s conftest$ac_exeext'
24791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792   (eval $ac_try) 2>&5
24793   ac_status=$?
24794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795   (exit $ac_status); }; }; then
24796   eval "$as_ac_var=yes"
24797 else
24798   echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.$ac_ext >&5
24800
24801 eval "$as_ac_var=no"
24802 fi
24803 rm -f conftest.err conftest.$ac_objext \
24804       conftest$ac_exeext conftest.$ac_ext
24805 fi
24806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24808 if test `eval echo '${'$as_ac_var'}'` = yes; then
24809   cat >>confdefs.h <<_ACEOF
24810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24811 _ACEOF
24812
24813 fi
24814 done
24815
24816     fi
24817   fi
24818
24819
24820
24821
24822
24823
24824   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24825 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24826   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24827     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24828   echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830
24831
24832
24833       ac_ext=cc
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838
24839       cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h.  */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h.  */
24845 #include <math.h>
24846 int
24847 main ()
24848 {
24849  frexpf(0, 0);
24850   ;
24851   return 0;
24852 }
24853 _ACEOF
24854 rm -f conftest.$ac_objext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24856   (eval $ac_compile) 2>conftest.er1
24857   ac_status=$?
24858   grep -v '^ *+' conftest.er1 >conftest.err
24859   rm -f conftest.er1
24860   cat conftest.err >&5
24861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862   (exit $ac_status); } &&
24863          { ac_try='test -z "$ac_cxx_werror_flag"
24864                          || test ! -s conftest.err'
24865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866   (eval $ac_try) 2>&5
24867   ac_status=$?
24868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869   (exit $ac_status); }; } &&
24870          { ac_try='test -s conftest.$ac_objext'
24871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872   (eval $ac_try) 2>&5
24873   ac_status=$?
24874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875   (exit $ac_status); }; }; then
24876   glibcxx_cv_func_frexpf_use=yes
24877 else
24878   echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24880
24881 glibcxx_cv_func_frexpf_use=no
24882 fi
24883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24884       ac_ext=c
24885 ac_cpp='$CPP $CPPFLAGS'
24886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24889
24890
24891 fi
24892
24893   fi
24894   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24895 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24896
24897   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24898
24899 for ac_func in frexpf
24900 do
24901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24902 echo "$as_me:$LINENO: checking for $ac_func" >&5
24903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24904 if eval "test \"\${$as_ac_var+set}\" = set"; then
24905   echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907   if test x$gcc_no_link = xyes; then
24908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24910    { (exit 1); exit 1; }; }
24911 fi
24912 cat >conftest.$ac_ext <<_ACEOF
24913 /* confdefs.h.  */
24914 _ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h.  */
24918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24920 #define $ac_func innocuous_$ac_func
24921
24922 /* System header to define __stub macros and hopefully few prototypes,
24923     which can conflict with char $ac_func (); below.
24924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24925     <limits.h> exists even on freestanding compilers.  */
24926
24927 #ifdef __STDC__
24928 # include <limits.h>
24929 #else
24930 # include <assert.h>
24931 #endif
24932
24933 #undef $ac_func
24934
24935 /* Override any gcc2 internal prototype to avoid an error.  */
24936 #ifdef __cplusplus
24937 extern "C"
24938 {
24939 #endif
24940 /* We use char because int might match the return type of a gcc2
24941    builtin and then its argument prototype would still apply.  */
24942 char $ac_func ();
24943 /* The GNU C library defines this for functions which it implements
24944     to always fail with ENOSYS.  Some functions are actually named
24945     something starting with __ and the normal name is an alias.  */
24946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24947 choke me
24948 #else
24949 char (*f) () = $ac_func;
24950 #endif
24951 #ifdef __cplusplus
24952 }
24953 #endif
24954
24955 int
24956 main ()
24957 {
24958 return f != $ac_func;
24959   ;
24960   return 0;
24961 }
24962 _ACEOF
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965   (eval $ac_link) 2>conftest.er1
24966   ac_status=$?
24967   grep -v '^ *+' conftest.er1 >conftest.err
24968   rm -f conftest.er1
24969   cat conftest.err >&5
24970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971   (exit $ac_status); } &&
24972          { ac_try='test -z "$ac_c_werror_flag"
24973                          || test ! -s conftest.err'
24974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975   (eval $ac_try) 2>&5
24976   ac_status=$?
24977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978   (exit $ac_status); }; } &&
24979          { ac_try='test -s conftest$ac_exeext'
24980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24981   (eval $ac_try) 2>&5
24982   ac_status=$?
24983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984   (exit $ac_status); }; }; then
24985   eval "$as_ac_var=yes"
24986 else
24987   echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.$ac_ext >&5
24989
24990 eval "$as_ac_var=no"
24991 fi
24992 rm -f conftest.err conftest.$ac_objext \
24993       conftest$ac_exeext conftest.$ac_ext
24994 fi
24995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24997 if test `eval echo '${'$as_ac_var'}'` = yes; then
24998   cat >>confdefs.h <<_ACEOF
24999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25000 _ACEOF
25001
25002 fi
25003 done
25004
25005   else
25006
25007   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25008 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25009   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25010     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25011   echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25013
25014
25015
25016       ac_ext=cc
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25021
25022       cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h.  */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h.  */
25028 #include <math.h>
25029 int
25030 main ()
25031 {
25032  _frexpf(0, 0);
25033   ;
25034   return 0;
25035 }
25036 _ACEOF
25037 rm -f conftest.$ac_objext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25039   (eval $ac_compile) 2>conftest.er1
25040   ac_status=$?
25041   grep -v '^ *+' conftest.er1 >conftest.err
25042   rm -f conftest.er1
25043   cat conftest.err >&5
25044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045   (exit $ac_status); } &&
25046          { ac_try='test -z "$ac_cxx_werror_flag"
25047                          || test ! -s conftest.err'
25048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049   (eval $ac_try) 2>&5
25050   ac_status=$?
25051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052   (exit $ac_status); }; } &&
25053          { ac_try='test -s conftest.$ac_objext'
25054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055   (eval $ac_try) 2>&5
25056   ac_status=$?
25057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058   (exit $ac_status); }; }; then
25059   glibcxx_cv_func__frexpf_use=yes
25060 else
25061   echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25063
25064 glibcxx_cv_func__frexpf_use=no
25065 fi
25066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25067       ac_ext=c
25068 ac_cpp='$CPP $CPPFLAGS'
25069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25072
25073
25074 fi
25075
25076   fi
25077   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25078 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25079
25080     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25081
25082 for ac_func in _frexpf
25083 do
25084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25085 echo "$as_me:$LINENO: checking for $ac_func" >&5
25086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25087 if eval "test \"\${$as_ac_var+set}\" = set"; then
25088   echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090   if test x$gcc_no_link = xyes; then
25091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25093    { (exit 1); exit 1; }; }
25094 fi
25095 cat >conftest.$ac_ext <<_ACEOF
25096 /* confdefs.h.  */
25097 _ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h.  */
25101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25103 #define $ac_func innocuous_$ac_func
25104
25105 /* System header to define __stub macros and hopefully few prototypes,
25106     which can conflict with char $ac_func (); below.
25107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25108     <limits.h> exists even on freestanding compilers.  */
25109
25110 #ifdef __STDC__
25111 # include <limits.h>
25112 #else
25113 # include <assert.h>
25114 #endif
25115
25116 #undef $ac_func
25117
25118 /* Override any gcc2 internal prototype to avoid an error.  */
25119 #ifdef __cplusplus
25120 extern "C"
25121 {
25122 #endif
25123 /* We use char because int might match the return type of a gcc2
25124    builtin and then its argument prototype would still apply.  */
25125 char $ac_func ();
25126 /* The GNU C library defines this for functions which it implements
25127     to always fail with ENOSYS.  Some functions are actually named
25128     something starting with __ and the normal name is an alias.  */
25129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25130 choke me
25131 #else
25132 char (*f) () = $ac_func;
25133 #endif
25134 #ifdef __cplusplus
25135 }
25136 #endif
25137
25138 int
25139 main ()
25140 {
25141 return f != $ac_func;
25142   ;
25143   return 0;
25144 }
25145 _ACEOF
25146 rm -f conftest.$ac_objext conftest$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148   (eval $ac_link) 2>conftest.er1
25149   ac_status=$?
25150   grep -v '^ *+' conftest.er1 >conftest.err
25151   rm -f conftest.er1
25152   cat conftest.err >&5
25153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154   (exit $ac_status); } &&
25155          { ac_try='test -z "$ac_c_werror_flag"
25156                          || test ! -s conftest.err'
25157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158   (eval $ac_try) 2>&5
25159   ac_status=$?
25160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161   (exit $ac_status); }; } &&
25162          { ac_try='test -s conftest$ac_exeext'
25163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164   (eval $ac_try) 2>&5
25165   ac_status=$?
25166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167   (exit $ac_status); }; }; then
25168   eval "$as_ac_var=yes"
25169 else
25170   echo "$as_me: failed program was:" >&5
25171 sed 's/^/| /' conftest.$ac_ext >&5
25172
25173 eval "$as_ac_var=no"
25174 fi
25175 rm -f conftest.err conftest.$ac_objext \
25176       conftest$ac_exeext conftest.$ac_ext
25177 fi
25178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25180 if test `eval echo '${'$as_ac_var'}'` = yes; then
25181   cat >>confdefs.h <<_ACEOF
25182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25183 _ACEOF
25184
25185 fi
25186 done
25187
25188     fi
25189   fi
25190
25191
25192
25193
25194
25195
25196   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25197 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25198   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25199     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25200   echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25202
25203
25204
25205       ac_ext=cc
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25210
25211       cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h.  */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h.  */
25217 #include <math.h>
25218 int
25219 main ()
25220 {
25221  hypotf(0, 0);
25222   ;
25223   return 0;
25224 }
25225 _ACEOF
25226 rm -f conftest.$ac_objext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25228   (eval $ac_compile) 2>conftest.er1
25229   ac_status=$?
25230   grep -v '^ *+' conftest.er1 >conftest.err
25231   rm -f conftest.er1
25232   cat conftest.err >&5
25233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234   (exit $ac_status); } &&
25235          { ac_try='test -z "$ac_cxx_werror_flag"
25236                          || test ! -s conftest.err'
25237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238   (eval $ac_try) 2>&5
25239   ac_status=$?
25240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241   (exit $ac_status); }; } &&
25242          { ac_try='test -s conftest.$ac_objext'
25243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244   (eval $ac_try) 2>&5
25245   ac_status=$?
25246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247   (exit $ac_status); }; }; then
25248   glibcxx_cv_func_hypotf_use=yes
25249 else
25250   echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 glibcxx_cv_func_hypotf_use=no
25254 fi
25255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25256       ac_ext=c
25257 ac_cpp='$CPP $CPPFLAGS'
25258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25261
25262
25263 fi
25264
25265   fi
25266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25267 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25268
25269   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25270
25271 for ac_func in hypotf
25272 do
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277   echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279   if test x$gcc_no_link = xyes; then
25280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25282    { (exit 1); exit 1; }; }
25283 fi
25284 cat >conftest.$ac_ext <<_ACEOF
25285 /* confdefs.h.  */
25286 _ACEOF
25287 cat confdefs.h >>conftest.$ac_ext
25288 cat >>conftest.$ac_ext <<_ACEOF
25289 /* end confdefs.h.  */
25290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25292 #define $ac_func innocuous_$ac_func
25293
25294 /* System header to define __stub macros and hopefully few prototypes,
25295     which can conflict with char $ac_func (); below.
25296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297     <limits.h> exists even on freestanding compilers.  */
25298
25299 #ifdef __STDC__
25300 # include <limits.h>
25301 #else
25302 # include <assert.h>
25303 #endif
25304
25305 #undef $ac_func
25306
25307 /* Override any gcc2 internal prototype to avoid an error.  */
25308 #ifdef __cplusplus
25309 extern "C"
25310 {
25311 #endif
25312 /* We use char because int might match the return type of a gcc2
25313    builtin and then its argument prototype would still apply.  */
25314 char $ac_func ();
25315 /* The GNU C library defines this for functions which it implements
25316     to always fail with ENOSYS.  Some functions are actually named
25317     something starting with __ and the normal name is an alias.  */
25318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25319 choke me
25320 #else
25321 char (*f) () = $ac_func;
25322 #endif
25323 #ifdef __cplusplus
25324 }
25325 #endif
25326
25327 int
25328 main ()
25329 {
25330 return f != $ac_func;
25331   ;
25332   return 0;
25333 }
25334 _ACEOF
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337   (eval $ac_link) 2>conftest.er1
25338   ac_status=$?
25339   grep -v '^ *+' conftest.er1 >conftest.err
25340   rm -f conftest.er1
25341   cat conftest.err >&5
25342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343   (exit $ac_status); } &&
25344          { ac_try='test -z "$ac_c_werror_flag"
25345                          || test ! -s conftest.err'
25346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347   (eval $ac_try) 2>&5
25348   ac_status=$?
25349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350   (exit $ac_status); }; } &&
25351          { ac_try='test -s conftest$ac_exeext'
25352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353   (eval $ac_try) 2>&5
25354   ac_status=$?
25355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356   (exit $ac_status); }; }; then
25357   eval "$as_ac_var=yes"
25358 else
25359   echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.$ac_ext >&5
25361
25362 eval "$as_ac_var=no"
25363 fi
25364 rm -f conftest.err conftest.$ac_objext \
25365       conftest$ac_exeext conftest.$ac_ext
25366 fi
25367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25369 if test `eval echo '${'$as_ac_var'}'` = yes; then
25370   cat >>confdefs.h <<_ACEOF
25371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25372 _ACEOF
25373
25374 fi
25375 done
25376
25377   else
25378
25379   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25380 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25381   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25382     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25383   echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385
25386
25387
25388       ac_ext=cc
25389 ac_cpp='$CXXCPP $CPPFLAGS'
25390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25393
25394       cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h.  */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h.  */
25400 #include <math.h>
25401 int
25402 main ()
25403 {
25404  _hypotf(0, 0);
25405   ;
25406   return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411   (eval $ac_compile) 2>conftest.er1
25412   ac_status=$?
25413   grep -v '^ *+' conftest.er1 >conftest.err
25414   rm -f conftest.er1
25415   cat conftest.err >&5
25416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417   (exit $ac_status); } &&
25418          { ac_try='test -z "$ac_cxx_werror_flag"
25419                          || test ! -s conftest.err'
25420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421   (eval $ac_try) 2>&5
25422   ac_status=$?
25423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424   (exit $ac_status); }; } &&
25425          { ac_try='test -s conftest.$ac_objext'
25426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427   (eval $ac_try) 2>&5
25428   ac_status=$?
25429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430   (exit $ac_status); }; }; then
25431   glibcxx_cv_func__hypotf_use=yes
25432 else
25433   echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436 glibcxx_cv_func__hypotf_use=no
25437 fi
25438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25439       ac_ext=c
25440 ac_cpp='$CPP $CPPFLAGS'
25441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25444
25445
25446 fi
25447
25448   fi
25449   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25450 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25451
25452     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25453
25454 for ac_func in _hypotf
25455 do
25456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25457 echo "$as_me:$LINENO: checking for $ac_func" >&5
25458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25459 if eval "test \"\${$as_ac_var+set}\" = set"; then
25460   echo $ECHO_N "(cached) $ECHO_C" >&6
25461 else
25462   if test x$gcc_no_link = xyes; then
25463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25465    { (exit 1); exit 1; }; }
25466 fi
25467 cat >conftest.$ac_ext <<_ACEOF
25468 /* confdefs.h.  */
25469 _ACEOF
25470 cat confdefs.h >>conftest.$ac_ext
25471 cat >>conftest.$ac_ext <<_ACEOF
25472 /* end confdefs.h.  */
25473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25475 #define $ac_func innocuous_$ac_func
25476
25477 /* System header to define __stub macros and hopefully few prototypes,
25478     which can conflict with char $ac_func (); below.
25479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480     <limits.h> exists even on freestanding compilers.  */
25481
25482 #ifdef __STDC__
25483 # include <limits.h>
25484 #else
25485 # include <assert.h>
25486 #endif
25487
25488 #undef $ac_func
25489
25490 /* Override any gcc2 internal prototype to avoid an error.  */
25491 #ifdef __cplusplus
25492 extern "C"
25493 {
25494 #endif
25495 /* We use char because int might match the return type of a gcc2
25496    builtin and then its argument prototype would still apply.  */
25497 char $ac_func ();
25498 /* The GNU C library defines this for functions which it implements
25499     to always fail with ENOSYS.  Some functions are actually named
25500     something starting with __ and the normal name is an alias.  */
25501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25502 choke me
25503 #else
25504 char (*f) () = $ac_func;
25505 #endif
25506 #ifdef __cplusplus
25507 }
25508 #endif
25509
25510 int
25511 main ()
25512 {
25513 return f != $ac_func;
25514   ;
25515   return 0;
25516 }
25517 _ACEOF
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520   (eval $ac_link) 2>conftest.er1
25521   ac_status=$?
25522   grep -v '^ *+' conftest.er1 >conftest.err
25523   rm -f conftest.er1
25524   cat conftest.err >&5
25525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526   (exit $ac_status); } &&
25527          { ac_try='test -z "$ac_c_werror_flag"
25528                          || test ! -s conftest.err'
25529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530   (eval $ac_try) 2>&5
25531   ac_status=$?
25532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533   (exit $ac_status); }; } &&
25534          { ac_try='test -s conftest$ac_exeext'
25535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536   (eval $ac_try) 2>&5
25537   ac_status=$?
25538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539   (exit $ac_status); }; }; then
25540   eval "$as_ac_var=yes"
25541 else
25542   echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25544
25545 eval "$as_ac_var=no"
25546 fi
25547 rm -f conftest.err conftest.$ac_objext \
25548       conftest$ac_exeext conftest.$ac_ext
25549 fi
25550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25552 if test `eval echo '${'$as_ac_var'}'` = yes; then
25553   cat >>confdefs.h <<_ACEOF
25554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25555 _ACEOF
25556
25557 fi
25558 done
25559
25560     fi
25561   fi
25562
25563
25564
25565
25566
25567
25568   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25569 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25570   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25571     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25572   echo $ECHO_N "(cached) $ECHO_C" >&6
25573 else
25574
25575
25576
25577       ac_ext=cc
25578 ac_cpp='$CXXCPP $CPPFLAGS'
25579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25582
25583       cat >conftest.$ac_ext <<_ACEOF
25584 /* confdefs.h.  */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h.  */
25589 #include <math.h>
25590 int
25591 main ()
25592 {
25593  ldexpf(0, 0);
25594   ;
25595   return 0;
25596 }
25597 _ACEOF
25598 rm -f conftest.$ac_objext
25599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25600   (eval $ac_compile) 2>conftest.er1
25601   ac_status=$?
25602   grep -v '^ *+' conftest.er1 >conftest.err
25603   rm -f conftest.er1
25604   cat conftest.err >&5
25605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606   (exit $ac_status); } &&
25607          { ac_try='test -z "$ac_cxx_werror_flag"
25608                          || test ! -s conftest.err'
25609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610   (eval $ac_try) 2>&5
25611   ac_status=$?
25612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613   (exit $ac_status); }; } &&
25614          { ac_try='test -s conftest.$ac_objext'
25615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616   (eval $ac_try) 2>&5
25617   ac_status=$?
25618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619   (exit $ac_status); }; }; then
25620   glibcxx_cv_func_ldexpf_use=yes
25621 else
25622   echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.$ac_ext >&5
25624
25625 glibcxx_cv_func_ldexpf_use=no
25626 fi
25627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25628       ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25633
25634
25635 fi
25636
25637   fi
25638   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25639 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25640
25641   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25642
25643 for ac_func in ldexpf
25644 do
25645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25646 echo "$as_me:$LINENO: checking for $ac_func" >&5
25647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25648 if eval "test \"\${$as_ac_var+set}\" = set"; then
25649   echo $ECHO_N "(cached) $ECHO_C" >&6
25650 else
25651   if test x$gcc_no_link = xyes; then
25652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25654    { (exit 1); exit 1; }; }
25655 fi
25656 cat >conftest.$ac_ext <<_ACEOF
25657 /* confdefs.h.  */
25658 _ACEOF
25659 cat confdefs.h >>conftest.$ac_ext
25660 cat >>conftest.$ac_ext <<_ACEOF
25661 /* end confdefs.h.  */
25662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25664 #define $ac_func innocuous_$ac_func
25665
25666 /* System header to define __stub macros and hopefully few prototypes,
25667     which can conflict with char $ac_func (); below.
25668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25669     <limits.h> exists even on freestanding compilers.  */
25670
25671 #ifdef __STDC__
25672 # include <limits.h>
25673 #else
25674 # include <assert.h>
25675 #endif
25676
25677 #undef $ac_func
25678
25679 /* Override any gcc2 internal prototype to avoid an error.  */
25680 #ifdef __cplusplus
25681 extern "C"
25682 {
25683 #endif
25684 /* We use char because int might match the return type of a gcc2
25685    builtin and then its argument prototype would still apply.  */
25686 char $ac_func ();
25687 /* The GNU C library defines this for functions which it implements
25688     to always fail with ENOSYS.  Some functions are actually named
25689     something starting with __ and the normal name is an alias.  */
25690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25691 choke me
25692 #else
25693 char (*f) () = $ac_func;
25694 #endif
25695 #ifdef __cplusplus
25696 }
25697 #endif
25698
25699 int
25700 main ()
25701 {
25702 return f != $ac_func;
25703   ;
25704   return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext conftest$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709   (eval $ac_link) 2>conftest.er1
25710   ac_status=$?
25711   grep -v '^ *+' conftest.er1 >conftest.err
25712   rm -f conftest.er1
25713   cat conftest.err >&5
25714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715   (exit $ac_status); } &&
25716          { ac_try='test -z "$ac_c_werror_flag"
25717                          || test ! -s conftest.err'
25718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719   (eval $ac_try) 2>&5
25720   ac_status=$?
25721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722   (exit $ac_status); }; } &&
25723          { ac_try='test -s conftest$ac_exeext'
25724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725   (eval $ac_try) 2>&5
25726   ac_status=$?
25727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728   (exit $ac_status); }; }; then
25729   eval "$as_ac_var=yes"
25730 else
25731   echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25733
25734 eval "$as_ac_var=no"
25735 fi
25736 rm -f conftest.err conftest.$ac_objext \
25737       conftest$ac_exeext conftest.$ac_ext
25738 fi
25739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25741 if test `eval echo '${'$as_ac_var'}'` = yes; then
25742   cat >>confdefs.h <<_ACEOF
25743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25744 _ACEOF
25745
25746 fi
25747 done
25748
25749   else
25750
25751   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25752 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25753   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25754     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25755   echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25757
25758
25759
25760       ac_ext=cc
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25765
25766       cat >conftest.$ac_ext <<_ACEOF
25767 /* confdefs.h.  */
25768 _ACEOF
25769 cat confdefs.h >>conftest.$ac_ext
25770 cat >>conftest.$ac_ext <<_ACEOF
25771 /* end confdefs.h.  */
25772 #include <math.h>
25773 int
25774 main ()
25775 {
25776  _ldexpf(0, 0);
25777   ;
25778   return 0;
25779 }
25780 _ACEOF
25781 rm -f conftest.$ac_objext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25783   (eval $ac_compile) 2>conftest.er1
25784   ac_status=$?
25785   grep -v '^ *+' conftest.er1 >conftest.err
25786   rm -f conftest.er1
25787   cat conftest.err >&5
25788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789   (exit $ac_status); } &&
25790          { ac_try='test -z "$ac_cxx_werror_flag"
25791                          || test ! -s conftest.err'
25792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793   (eval $ac_try) 2>&5
25794   ac_status=$?
25795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796   (exit $ac_status); }; } &&
25797          { ac_try='test -s conftest.$ac_objext'
25798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799   (eval $ac_try) 2>&5
25800   ac_status=$?
25801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802   (exit $ac_status); }; }; then
25803   glibcxx_cv_func__ldexpf_use=yes
25804 else
25805   echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25807
25808 glibcxx_cv_func__ldexpf_use=no
25809 fi
25810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25811       ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25816
25817
25818 fi
25819
25820   fi
25821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25822 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25823
25824     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25825
25826 for ac_func in _ldexpf
25827 do
25828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25829 echo "$as_me:$LINENO: checking for $ac_func" >&5
25830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25831 if eval "test \"\${$as_ac_var+set}\" = set"; then
25832   echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834   if test x$gcc_no_link = xyes; then
25835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25837    { (exit 1); exit 1; }; }
25838 fi
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h.  */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h.  */
25845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25847 #define $ac_func innocuous_$ac_func
25848
25849 /* System header to define __stub macros and hopefully few prototypes,
25850     which can conflict with char $ac_func (); below.
25851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25852     <limits.h> exists even on freestanding compilers.  */
25853
25854 #ifdef __STDC__
25855 # include <limits.h>
25856 #else
25857 # include <assert.h>
25858 #endif
25859
25860 #undef $ac_func
25861
25862 /* Override any gcc2 internal prototype to avoid an error.  */
25863 #ifdef __cplusplus
25864 extern "C"
25865 {
25866 #endif
25867 /* We use char because int might match the return type of a gcc2
25868    builtin and then its argument prototype would still apply.  */
25869 char $ac_func ();
25870 /* The GNU C library defines this for functions which it implements
25871     to always fail with ENOSYS.  Some functions are actually named
25872     something starting with __ and the normal name is an alias.  */
25873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25874 choke me
25875 #else
25876 char (*f) () = $ac_func;
25877 #endif
25878 #ifdef __cplusplus
25879 }
25880 #endif
25881
25882 int
25883 main ()
25884 {
25885 return f != $ac_func;
25886   ;
25887   return 0;
25888 }
25889 _ACEOF
25890 rm -f conftest.$ac_objext conftest$ac_exeext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25892   (eval $ac_link) 2>conftest.er1
25893   ac_status=$?
25894   grep -v '^ *+' conftest.er1 >conftest.err
25895   rm -f conftest.er1
25896   cat conftest.err >&5
25897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898   (exit $ac_status); } &&
25899          { ac_try='test -z "$ac_c_werror_flag"
25900                          || test ! -s conftest.err'
25901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902   (eval $ac_try) 2>&5
25903   ac_status=$?
25904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905   (exit $ac_status); }; } &&
25906          { ac_try='test -s conftest$ac_exeext'
25907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908   (eval $ac_try) 2>&5
25909   ac_status=$?
25910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911   (exit $ac_status); }; }; then
25912   eval "$as_ac_var=yes"
25913 else
25914   echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25916
25917 eval "$as_ac_var=no"
25918 fi
25919 rm -f conftest.err conftest.$ac_objext \
25920       conftest$ac_exeext conftest.$ac_ext
25921 fi
25922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25924 if test `eval echo '${'$as_ac_var'}'` = yes; then
25925   cat >>confdefs.h <<_ACEOF
25926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25927 _ACEOF
25928
25929 fi
25930 done
25931
25932     fi
25933   fi
25934
25935
25936
25937
25938
25939
25940   echo "$as_me:$LINENO: checking for logf declaration" >&5
25941 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25942   if test x${glibcxx_cv_func_logf_use+set} != xset; then
25943     if test "${glibcxx_cv_func_logf_use+set}" = set; then
25944   echo $ECHO_N "(cached) $ECHO_C" >&6
25945 else
25946
25947
25948
25949       ac_ext=cc
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25954
25955       cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h.  */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h.  */
25961 #include <math.h>
25962                       #ifdef HAVE_IEEEFP_H
25963                       #include <ieeefp.h>
25964                       #endif
25965
25966 int
25967 main ()
25968 {
25969  logf(0);
25970   ;
25971   return 0;
25972 }
25973 _ACEOF
25974 rm -f conftest.$ac_objext
25975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25976   (eval $ac_compile) 2>conftest.er1
25977   ac_status=$?
25978   grep -v '^ *+' conftest.er1 >conftest.err
25979   rm -f conftest.er1
25980   cat conftest.err >&5
25981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982   (exit $ac_status); } &&
25983          { ac_try='test -z "$ac_cxx_werror_flag"
25984                          || test ! -s conftest.err'
25985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986   (eval $ac_try) 2>&5
25987   ac_status=$?
25988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989   (exit $ac_status); }; } &&
25990          { ac_try='test -s conftest.$ac_objext'
25991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992   (eval $ac_try) 2>&5
25993   ac_status=$?
25994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995   (exit $ac_status); }; }; then
25996   glibcxx_cv_func_logf_use=yes
25997 else
25998   echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.$ac_ext >&5
26000
26001 glibcxx_cv_func_logf_use=no
26002 fi
26003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26004       ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009
26010
26011 fi
26012
26013   fi
26014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26015 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26016
26017   if test x$glibcxx_cv_func_logf_use = x"yes"; then
26018
26019 for ac_func in logf
26020 do
26021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26022 echo "$as_me:$LINENO: checking for $ac_func" >&5
26023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26024 if eval "test \"\${$as_ac_var+set}\" = set"; then
26025   echo $ECHO_N "(cached) $ECHO_C" >&6
26026 else
26027   if test x$gcc_no_link = xyes; then
26028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26030    { (exit 1); exit 1; }; }
26031 fi
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h.  */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h.  */
26038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26040 #define $ac_func innocuous_$ac_func
26041
26042 /* System header to define __stub macros and hopefully few prototypes,
26043     which can conflict with char $ac_func (); below.
26044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26045     <limits.h> exists even on freestanding compilers.  */
26046
26047 #ifdef __STDC__
26048 # include <limits.h>
26049 #else
26050 # include <assert.h>
26051 #endif
26052
26053 #undef $ac_func
26054
26055 /* Override any gcc2 internal prototype to avoid an error.  */
26056 #ifdef __cplusplus
26057 extern "C"
26058 {
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061    builtin and then its argument prototype would still apply.  */
26062 char $ac_func ();
26063 /* The GNU C library defines this for functions which it implements
26064     to always fail with ENOSYS.  Some functions are actually named
26065     something starting with __ and the normal name is an alias.  */
26066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26067 choke me
26068 #else
26069 char (*f) () = $ac_func;
26070 #endif
26071 #ifdef __cplusplus
26072 }
26073 #endif
26074
26075 int
26076 main ()
26077 {
26078 return f != $ac_func;
26079   ;
26080   return 0;
26081 }
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085   (eval $ac_link) 2>conftest.er1
26086   ac_status=$?
26087   grep -v '^ *+' conftest.er1 >conftest.err
26088   rm -f conftest.er1
26089   cat conftest.err >&5
26090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091   (exit $ac_status); } &&
26092          { ac_try='test -z "$ac_c_werror_flag"
26093                          || test ! -s conftest.err'
26094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095   (eval $ac_try) 2>&5
26096   ac_status=$?
26097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098   (exit $ac_status); }; } &&
26099          { ac_try='test -s conftest$ac_exeext'
26100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101   (eval $ac_try) 2>&5
26102   ac_status=$?
26103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104   (exit $ac_status); }; }; then
26105   eval "$as_ac_var=yes"
26106 else
26107   echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 eval "$as_ac_var=no"
26111 fi
26112 rm -f conftest.err conftest.$ac_objext \
26113       conftest$ac_exeext conftest.$ac_ext
26114 fi
26115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26117 if test `eval echo '${'$as_ac_var'}'` = yes; then
26118   cat >>confdefs.h <<_ACEOF
26119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26120 _ACEOF
26121
26122 fi
26123 done
26124
26125   else
26126
26127   echo "$as_me:$LINENO: checking for _logf declaration" >&5
26128 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26129   if test x${glibcxx_cv_func__logf_use+set} != xset; then
26130     if test "${glibcxx_cv_func__logf_use+set}" = set; then
26131   echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26133
26134
26135
26136       ac_ext=cc
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26141
26142       cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h.  */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h.  */
26148 #include <math.h>
26149                       #ifdef HAVE_IEEEFP_H
26150                       #include <ieeefp.h>
26151                       #endif
26152
26153 int
26154 main ()
26155 {
26156  _logf(0);
26157   ;
26158   return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26163   (eval $ac_compile) 2>conftest.er1
26164   ac_status=$?
26165   grep -v '^ *+' conftest.er1 >conftest.err
26166   rm -f conftest.er1
26167   cat conftest.err >&5
26168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169   (exit $ac_status); } &&
26170          { ac_try='test -z "$ac_cxx_werror_flag"
26171                          || test ! -s conftest.err'
26172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173   (eval $ac_try) 2>&5
26174   ac_status=$?
26175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176   (exit $ac_status); }; } &&
26177          { ac_try='test -s conftest.$ac_objext'
26178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179   (eval $ac_try) 2>&5
26180   ac_status=$?
26181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182   (exit $ac_status); }; }; then
26183   glibcxx_cv_func__logf_use=yes
26184 else
26185   echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26187
26188 glibcxx_cv_func__logf_use=no
26189 fi
26190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26191       ac_ext=c
26192 ac_cpp='$CPP $CPPFLAGS'
26193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26196
26197
26198 fi
26199
26200   fi
26201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26202 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26203
26204     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26205
26206 for ac_func in _logf
26207 do
26208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26209 echo "$as_me:$LINENO: checking for $ac_func" >&5
26210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26211 if eval "test \"\${$as_ac_var+set}\" = set"; then
26212   echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26214   if test x$gcc_no_link = xyes; then
26215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26217    { (exit 1); exit 1; }; }
26218 fi
26219 cat >conftest.$ac_ext <<_ACEOF
26220 /* confdefs.h.  */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h.  */
26225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26227 #define $ac_func innocuous_$ac_func
26228
26229 /* System header to define __stub macros and hopefully few prototypes,
26230     which can conflict with char $ac_func (); below.
26231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26232     <limits.h> exists even on freestanding compilers.  */
26233
26234 #ifdef __STDC__
26235 # include <limits.h>
26236 #else
26237 # include <assert.h>
26238 #endif
26239
26240 #undef $ac_func
26241
26242 /* Override any gcc2 internal prototype to avoid an error.  */
26243 #ifdef __cplusplus
26244 extern "C"
26245 {
26246 #endif
26247 /* We use char because int might match the return type of a gcc2
26248    builtin and then its argument prototype would still apply.  */
26249 char $ac_func ();
26250 /* The GNU C library defines this for functions which it implements
26251     to always fail with ENOSYS.  Some functions are actually named
26252     something starting with __ and the normal name is an alias.  */
26253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26254 choke me
26255 #else
26256 char (*f) () = $ac_func;
26257 #endif
26258 #ifdef __cplusplus
26259 }
26260 #endif
26261
26262 int
26263 main ()
26264 {
26265 return f != $ac_func;
26266   ;
26267   return 0;
26268 }
26269 _ACEOF
26270 rm -f conftest.$ac_objext conftest$ac_exeext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26272   (eval $ac_link) 2>conftest.er1
26273   ac_status=$?
26274   grep -v '^ *+' conftest.er1 >conftest.err
26275   rm -f conftest.er1
26276   cat conftest.err >&5
26277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278   (exit $ac_status); } &&
26279          { ac_try='test -z "$ac_c_werror_flag"
26280                          || test ! -s conftest.err'
26281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282   (eval $ac_try) 2>&5
26283   ac_status=$?
26284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285   (exit $ac_status); }; } &&
26286          { ac_try='test -s conftest$ac_exeext'
26287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288   (eval $ac_try) 2>&5
26289   ac_status=$?
26290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291   (exit $ac_status); }; }; then
26292   eval "$as_ac_var=yes"
26293 else
26294   echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26296
26297 eval "$as_ac_var=no"
26298 fi
26299 rm -f conftest.err conftest.$ac_objext \
26300       conftest$ac_exeext conftest.$ac_ext
26301 fi
26302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26304 if test `eval echo '${'$as_ac_var'}'` = yes; then
26305   cat >>confdefs.h <<_ACEOF
26306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26307 _ACEOF
26308
26309 fi
26310 done
26311
26312     fi
26313   fi
26314
26315
26316
26317
26318
26319
26320   echo "$as_me:$LINENO: checking for log10f declaration" >&5
26321 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26322   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26323     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26324   echo $ECHO_N "(cached) $ECHO_C" >&6
26325 else
26326
26327
26328
26329       ac_ext=cc
26330 ac_cpp='$CXXCPP $CPPFLAGS'
26331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26334
26335       cat >conftest.$ac_ext <<_ACEOF
26336 /* confdefs.h.  */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h.  */
26341 #include <math.h>
26342                       #ifdef HAVE_IEEEFP_H
26343                       #include <ieeefp.h>
26344                       #endif
26345
26346 int
26347 main ()
26348 {
26349  log10f(0);
26350   ;
26351   return 0;
26352 }
26353 _ACEOF
26354 rm -f conftest.$ac_objext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26356   (eval $ac_compile) 2>conftest.er1
26357   ac_status=$?
26358   grep -v '^ *+' conftest.er1 >conftest.err
26359   rm -f conftest.er1
26360   cat conftest.err >&5
26361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362   (exit $ac_status); } &&
26363          { ac_try='test -z "$ac_cxx_werror_flag"
26364                          || test ! -s conftest.err'
26365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366   (eval $ac_try) 2>&5
26367   ac_status=$?
26368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369   (exit $ac_status); }; } &&
26370          { ac_try='test -s conftest.$ac_objext'
26371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372   (eval $ac_try) 2>&5
26373   ac_status=$?
26374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375   (exit $ac_status); }; }; then
26376   glibcxx_cv_func_log10f_use=yes
26377 else
26378   echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 glibcxx_cv_func_log10f_use=no
26382 fi
26383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26384       ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389
26390
26391 fi
26392
26393   fi
26394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26395 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26396
26397   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26398
26399 for ac_func in log10f
26400 do
26401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26402 echo "$as_me:$LINENO: checking for $ac_func" >&5
26403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26404 if eval "test \"\${$as_ac_var+set}\" = set"; then
26405   echo $ECHO_N "(cached) $ECHO_C" >&6
26406 else
26407   if test x$gcc_no_link = xyes; then
26408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26410    { (exit 1); exit 1; }; }
26411 fi
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h.  */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h.  */
26418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26420 #define $ac_func innocuous_$ac_func
26421
26422 /* System header to define __stub macros and hopefully few prototypes,
26423     which can conflict with char $ac_func (); below.
26424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26425     <limits.h> exists even on freestanding compilers.  */
26426
26427 #ifdef __STDC__
26428 # include <limits.h>
26429 #else
26430 # include <assert.h>
26431 #endif
26432
26433 #undef $ac_func
26434
26435 /* Override any gcc2 internal prototype to avoid an error.  */
26436 #ifdef __cplusplus
26437 extern "C"
26438 {
26439 #endif
26440 /* We use char because int might match the return type of a gcc2
26441    builtin and then its argument prototype would still apply.  */
26442 char $ac_func ();
26443 /* The GNU C library defines this for functions which it implements
26444     to always fail with ENOSYS.  Some functions are actually named
26445     something starting with __ and the normal name is an alias.  */
26446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26447 choke me
26448 #else
26449 char (*f) () = $ac_func;
26450 #endif
26451 #ifdef __cplusplus
26452 }
26453 #endif
26454
26455 int
26456 main ()
26457 {
26458 return f != $ac_func;
26459   ;
26460   return 0;
26461 }
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26465   (eval $ac_link) 2>conftest.er1
26466   ac_status=$?
26467   grep -v '^ *+' conftest.er1 >conftest.err
26468   rm -f conftest.er1
26469   cat conftest.err >&5
26470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471   (exit $ac_status); } &&
26472          { ac_try='test -z "$ac_c_werror_flag"
26473                          || test ! -s conftest.err'
26474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475   (eval $ac_try) 2>&5
26476   ac_status=$?
26477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478   (exit $ac_status); }; } &&
26479          { ac_try='test -s conftest$ac_exeext'
26480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481   (eval $ac_try) 2>&5
26482   ac_status=$?
26483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484   (exit $ac_status); }; }; then
26485   eval "$as_ac_var=yes"
26486 else
26487   echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 eval "$as_ac_var=no"
26491 fi
26492 rm -f conftest.err conftest.$ac_objext \
26493       conftest$ac_exeext conftest.$ac_ext
26494 fi
26495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26497 if test `eval echo '${'$as_ac_var'}'` = yes; then
26498   cat >>confdefs.h <<_ACEOF
26499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26500 _ACEOF
26501
26502 fi
26503 done
26504
26505   else
26506
26507   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26508 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26509   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26510     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26511   echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26513
26514
26515
26516       ac_ext=cc
26517 ac_cpp='$CXXCPP $CPPFLAGS'
26518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26521
26522       cat >conftest.$ac_ext <<_ACEOF
26523 /* confdefs.h.  */
26524 _ACEOF
26525 cat confdefs.h >>conftest.$ac_ext
26526 cat >>conftest.$ac_ext <<_ACEOF
26527 /* end confdefs.h.  */
26528 #include <math.h>
26529                       #ifdef HAVE_IEEEFP_H
26530                       #include <ieeefp.h>
26531                       #endif
26532
26533 int
26534 main ()
26535 {
26536  _log10f(0);
26537   ;
26538   return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543   (eval $ac_compile) 2>conftest.er1
26544   ac_status=$?
26545   grep -v '^ *+' conftest.er1 >conftest.err
26546   rm -f conftest.er1
26547   cat conftest.err >&5
26548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549   (exit $ac_status); } &&
26550          { ac_try='test -z "$ac_cxx_werror_flag"
26551                          || test ! -s conftest.err'
26552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553   (eval $ac_try) 2>&5
26554   ac_status=$?
26555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556   (exit $ac_status); }; } &&
26557          { ac_try='test -s conftest.$ac_objext'
26558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559   (eval $ac_try) 2>&5
26560   ac_status=$?
26561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562   (exit $ac_status); }; }; then
26563   glibcxx_cv_func__log10f_use=yes
26564 else
26565   echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 glibcxx_cv_func__log10f_use=no
26569 fi
26570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26571       ac_ext=c
26572 ac_cpp='$CPP $CPPFLAGS'
26573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26576
26577
26578 fi
26579
26580   fi
26581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26582 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26583
26584     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26585
26586 for ac_func in _log10f
26587 do
26588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26589 echo "$as_me:$LINENO: checking for $ac_func" >&5
26590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26591 if eval "test \"\${$as_ac_var+set}\" = set"; then
26592   echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594   if test x$gcc_no_link = xyes; then
26595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26597    { (exit 1); exit 1; }; }
26598 fi
26599 cat >conftest.$ac_ext <<_ACEOF
26600 /* confdefs.h.  */
26601 _ACEOF
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h.  */
26605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26607 #define $ac_func innocuous_$ac_func
26608
26609 /* System header to define __stub macros and hopefully few prototypes,
26610     which can conflict with char $ac_func (); below.
26611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612     <limits.h> exists even on freestanding compilers.  */
26613
26614 #ifdef __STDC__
26615 # include <limits.h>
26616 #else
26617 # include <assert.h>
26618 #endif
26619
26620 #undef $ac_func
26621
26622 /* Override any gcc2 internal prototype to avoid an error.  */
26623 #ifdef __cplusplus
26624 extern "C"
26625 {
26626 #endif
26627 /* We use char because int might match the return type of a gcc2
26628    builtin and then its argument prototype would still apply.  */
26629 char $ac_func ();
26630 /* The GNU C library defines this for functions which it implements
26631     to always fail with ENOSYS.  Some functions are actually named
26632     something starting with __ and the normal name is an alias.  */
26633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26634 choke me
26635 #else
26636 char (*f) () = $ac_func;
26637 #endif
26638 #ifdef __cplusplus
26639 }
26640 #endif
26641
26642 int
26643 main ()
26644 {
26645 return f != $ac_func;
26646   ;
26647   return 0;
26648 }
26649 _ACEOF
26650 rm -f conftest.$ac_objext conftest$ac_exeext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26652   (eval $ac_link) 2>conftest.er1
26653   ac_status=$?
26654   grep -v '^ *+' conftest.er1 >conftest.err
26655   rm -f conftest.er1
26656   cat conftest.err >&5
26657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658   (exit $ac_status); } &&
26659          { ac_try='test -z "$ac_c_werror_flag"
26660                          || test ! -s conftest.err'
26661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662   (eval $ac_try) 2>&5
26663   ac_status=$?
26664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665   (exit $ac_status); }; } &&
26666          { ac_try='test -s conftest$ac_exeext'
26667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668   (eval $ac_try) 2>&5
26669   ac_status=$?
26670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671   (exit $ac_status); }; }; then
26672   eval "$as_ac_var=yes"
26673 else
26674   echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26676
26677 eval "$as_ac_var=no"
26678 fi
26679 rm -f conftest.err conftest.$ac_objext \
26680       conftest$ac_exeext conftest.$ac_ext
26681 fi
26682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26684 if test `eval echo '${'$as_ac_var'}'` = yes; then
26685   cat >>confdefs.h <<_ACEOF
26686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26687 _ACEOF
26688
26689 fi
26690 done
26691
26692     fi
26693   fi
26694
26695
26696
26697
26698
26699
26700   echo "$as_me:$LINENO: checking for modff declaration" >&5
26701 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26702   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26703     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26704   echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26706
26707
26708
26709       ac_ext=cc
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26714
26715       cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h.  */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h.  */
26721 #include <math.h>
26722 int
26723 main ()
26724 {
26725  modff(0, 0);
26726   ;
26727   return 0;
26728 }
26729 _ACEOF
26730 rm -f conftest.$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732   (eval $ac_compile) 2>conftest.er1
26733   ac_status=$?
26734   grep -v '^ *+' conftest.er1 >conftest.err
26735   rm -f conftest.er1
26736   cat conftest.err >&5
26737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738   (exit $ac_status); } &&
26739          { ac_try='test -z "$ac_cxx_werror_flag"
26740                          || test ! -s conftest.err'
26741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742   (eval $ac_try) 2>&5
26743   ac_status=$?
26744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745   (exit $ac_status); }; } &&
26746          { ac_try='test -s conftest.$ac_objext'
26747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748   (eval $ac_try) 2>&5
26749   ac_status=$?
26750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751   (exit $ac_status); }; }; then
26752   glibcxx_cv_func_modff_use=yes
26753 else
26754   echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26756
26757 glibcxx_cv_func_modff_use=no
26758 fi
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760       ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26765
26766
26767 fi
26768
26769   fi
26770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26772
26773   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26774
26775 for ac_func in modff
26776 do
26777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26778 echo "$as_me:$LINENO: checking for $ac_func" >&5
26779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26780 if eval "test \"\${$as_ac_var+set}\" = set"; then
26781   echo $ECHO_N "(cached) $ECHO_C" >&6
26782 else
26783   if test x$gcc_no_link = xyes; then
26784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26786    { (exit 1); exit 1; }; }
26787 fi
26788 cat >conftest.$ac_ext <<_ACEOF
26789 /* confdefs.h.  */
26790 _ACEOF
26791 cat confdefs.h >>conftest.$ac_ext
26792 cat >>conftest.$ac_ext <<_ACEOF
26793 /* end confdefs.h.  */
26794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26796 #define $ac_func innocuous_$ac_func
26797
26798 /* System header to define __stub macros and hopefully few prototypes,
26799     which can conflict with char $ac_func (); below.
26800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26801     <limits.h> exists even on freestanding compilers.  */
26802
26803 #ifdef __STDC__
26804 # include <limits.h>
26805 #else
26806 # include <assert.h>
26807 #endif
26808
26809 #undef $ac_func
26810
26811 /* Override any gcc2 internal prototype to avoid an error.  */
26812 #ifdef __cplusplus
26813 extern "C"
26814 {
26815 #endif
26816 /* We use char because int might match the return type of a gcc2
26817    builtin and then its argument prototype would still apply.  */
26818 char $ac_func ();
26819 /* The GNU C library defines this for functions which it implements
26820     to always fail with ENOSYS.  Some functions are actually named
26821     something starting with __ and the normal name is an alias.  */
26822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26823 choke me
26824 #else
26825 char (*f) () = $ac_func;
26826 #endif
26827 #ifdef __cplusplus
26828 }
26829 #endif
26830
26831 int
26832 main ()
26833 {
26834 return f != $ac_func;
26835   ;
26836   return 0;
26837 }
26838 _ACEOF
26839 rm -f conftest.$ac_objext conftest$ac_exeext
26840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26841   (eval $ac_link) 2>conftest.er1
26842   ac_status=$?
26843   grep -v '^ *+' conftest.er1 >conftest.err
26844   rm -f conftest.er1
26845   cat conftest.err >&5
26846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847   (exit $ac_status); } &&
26848          { ac_try='test -z "$ac_c_werror_flag"
26849                          || test ! -s conftest.err'
26850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851   (eval $ac_try) 2>&5
26852   ac_status=$?
26853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854   (exit $ac_status); }; } &&
26855          { ac_try='test -s conftest$ac_exeext'
26856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26857   (eval $ac_try) 2>&5
26858   ac_status=$?
26859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860   (exit $ac_status); }; }; then
26861   eval "$as_ac_var=yes"
26862 else
26863   echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26865
26866 eval "$as_ac_var=no"
26867 fi
26868 rm -f conftest.err conftest.$ac_objext \
26869       conftest$ac_exeext conftest.$ac_ext
26870 fi
26871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26873 if test `eval echo '${'$as_ac_var'}'` = yes; then
26874   cat >>confdefs.h <<_ACEOF
26875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26876 _ACEOF
26877
26878 fi
26879 done
26880
26881   else
26882
26883   echo "$as_me:$LINENO: checking for _modff declaration" >&5
26884 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26885   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26886     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26887   echo $ECHO_N "(cached) $ECHO_C" >&6
26888 else
26889
26890
26891
26892       ac_ext=cc
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26897
26898       cat >conftest.$ac_ext <<_ACEOF
26899 /* confdefs.h.  */
26900 _ACEOF
26901 cat confdefs.h >>conftest.$ac_ext
26902 cat >>conftest.$ac_ext <<_ACEOF
26903 /* end confdefs.h.  */
26904 #include <math.h>
26905 int
26906 main ()
26907 {
26908  _modff(0, 0);
26909   ;
26910   return 0;
26911 }
26912 _ACEOF
26913 rm -f conftest.$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915   (eval $ac_compile) 2>conftest.er1
26916   ac_status=$?
26917   grep -v '^ *+' conftest.er1 >conftest.err
26918   rm -f conftest.er1
26919   cat conftest.err >&5
26920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921   (exit $ac_status); } &&
26922          { ac_try='test -z "$ac_cxx_werror_flag"
26923                          || test ! -s conftest.err'
26924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925   (eval $ac_try) 2>&5
26926   ac_status=$?
26927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928   (exit $ac_status); }; } &&
26929          { ac_try='test -s conftest.$ac_objext'
26930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931   (eval $ac_try) 2>&5
26932   ac_status=$?
26933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934   (exit $ac_status); }; }; then
26935   glibcxx_cv_func__modff_use=yes
26936 else
26937   echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26939
26940 glibcxx_cv_func__modff_use=no
26941 fi
26942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26943       ac_ext=c
26944 ac_cpp='$CPP $CPPFLAGS'
26945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26948
26949
26950 fi
26951
26952   fi
26953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26954 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26955
26956     if test x$glibcxx_cv_func__modff_use = x"yes"; then
26957
26958 for ac_func in _modff
26959 do
26960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26961 echo "$as_me:$LINENO: checking for $ac_func" >&5
26962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26963 if eval "test \"\${$as_ac_var+set}\" = set"; then
26964   echo $ECHO_N "(cached) $ECHO_C" >&6
26965 else
26966   if test x$gcc_no_link = xyes; then
26967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26969    { (exit 1); exit 1; }; }
26970 fi
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h.  */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h.  */
26977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26979 #define $ac_func innocuous_$ac_func
26980
26981 /* System header to define __stub macros and hopefully few prototypes,
26982     which can conflict with char $ac_func (); below.
26983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26984     <limits.h> exists even on freestanding compilers.  */
26985
26986 #ifdef __STDC__
26987 # include <limits.h>
26988 #else
26989 # include <assert.h>
26990 #endif
26991
26992 #undef $ac_func
26993
26994 /* Override any gcc2 internal prototype to avoid an error.  */
26995 #ifdef __cplusplus
26996 extern "C"
26997 {
26998 #endif
26999 /* We use char because int might match the return type of a gcc2
27000    builtin and then its argument prototype would still apply.  */
27001 char $ac_func ();
27002 /* The GNU C library defines this for functions which it implements
27003     to always fail with ENOSYS.  Some functions are actually named
27004     something starting with __ and the normal name is an alias.  */
27005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27006 choke me
27007 #else
27008 char (*f) () = $ac_func;
27009 #endif
27010 #ifdef __cplusplus
27011 }
27012 #endif
27013
27014 int
27015 main ()
27016 {
27017 return f != $ac_func;
27018   ;
27019   return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext conftest$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024   (eval $ac_link) 2>conftest.er1
27025   ac_status=$?
27026   grep -v '^ *+' conftest.er1 >conftest.err
27027   rm -f conftest.er1
27028   cat conftest.err >&5
27029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030   (exit $ac_status); } &&
27031          { ac_try='test -z "$ac_c_werror_flag"
27032                          || test ! -s conftest.err'
27033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034   (eval $ac_try) 2>&5
27035   ac_status=$?
27036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037   (exit $ac_status); }; } &&
27038          { ac_try='test -s conftest$ac_exeext'
27039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040   (eval $ac_try) 2>&5
27041   ac_status=$?
27042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043   (exit $ac_status); }; }; then
27044   eval "$as_ac_var=yes"
27045 else
27046   echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27048
27049 eval "$as_ac_var=no"
27050 fi
27051 rm -f conftest.err conftest.$ac_objext \
27052       conftest$ac_exeext conftest.$ac_ext
27053 fi
27054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27056 if test `eval echo '${'$as_ac_var'}'` = yes; then
27057   cat >>confdefs.h <<_ACEOF
27058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27059 _ACEOF
27060
27061 fi
27062 done
27063
27064     fi
27065   fi
27066
27067
27068
27069
27070
27071
27072   echo "$as_me:$LINENO: checking for modf declaration" >&5
27073 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27074   if test x${glibcxx_cv_func_modf_use+set} != xset; then
27075     if test "${glibcxx_cv_func_modf_use+set}" = set; then
27076   echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27078
27079
27080
27081       ac_ext=cc
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27086
27087       cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h.  */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h.  */
27093 #include <math.h>
27094 int
27095 main ()
27096 {
27097  modf(0, 0);
27098   ;
27099   return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27104   (eval $ac_compile) 2>conftest.er1
27105   ac_status=$?
27106   grep -v '^ *+' conftest.er1 >conftest.err
27107   rm -f conftest.er1
27108   cat conftest.err >&5
27109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110   (exit $ac_status); } &&
27111          { ac_try='test -z "$ac_cxx_werror_flag"
27112                          || test ! -s conftest.err'
27113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114   (eval $ac_try) 2>&5
27115   ac_status=$?
27116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117   (exit $ac_status); }; } &&
27118          { ac_try='test -s conftest.$ac_objext'
27119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120   (eval $ac_try) 2>&5
27121   ac_status=$?
27122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123   (exit $ac_status); }; }; then
27124   glibcxx_cv_func_modf_use=yes
27125 else
27126   echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27128
27129 glibcxx_cv_func_modf_use=no
27130 fi
27131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27132       ac_ext=c
27133 ac_cpp='$CPP $CPPFLAGS'
27134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27137
27138
27139 fi
27140
27141   fi
27142   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27143 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27144
27145   if test x$glibcxx_cv_func_modf_use = x"yes"; then
27146
27147 for ac_func in modf
27148 do
27149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27150 echo "$as_me:$LINENO: checking for $ac_func" >&5
27151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27152 if eval "test \"\${$as_ac_var+set}\" = set"; then
27153   echo $ECHO_N "(cached) $ECHO_C" >&6
27154 else
27155   if test x$gcc_no_link = xyes; then
27156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27158    { (exit 1); exit 1; }; }
27159 fi
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h.  */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h.  */
27166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27168 #define $ac_func innocuous_$ac_func
27169
27170 /* System header to define __stub macros and hopefully few prototypes,
27171     which can conflict with char $ac_func (); below.
27172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27173     <limits.h> exists even on freestanding compilers.  */
27174
27175 #ifdef __STDC__
27176 # include <limits.h>
27177 #else
27178 # include <assert.h>
27179 #endif
27180
27181 #undef $ac_func
27182
27183 /* Override any gcc2 internal prototype to avoid an error.  */
27184 #ifdef __cplusplus
27185 extern "C"
27186 {
27187 #endif
27188 /* We use char because int might match the return type of a gcc2
27189    builtin and then its argument prototype would still apply.  */
27190 char $ac_func ();
27191 /* The GNU C library defines this for functions which it implements
27192     to always fail with ENOSYS.  Some functions are actually named
27193     something starting with __ and the normal name is an alias.  */
27194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27195 choke me
27196 #else
27197 char (*f) () = $ac_func;
27198 #endif
27199 #ifdef __cplusplus
27200 }
27201 #endif
27202
27203 int
27204 main ()
27205 {
27206 return f != $ac_func;
27207   ;
27208   return 0;
27209 }
27210 _ACEOF
27211 rm -f conftest.$ac_objext conftest$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213   (eval $ac_link) 2>conftest.er1
27214   ac_status=$?
27215   grep -v '^ *+' conftest.er1 >conftest.err
27216   rm -f conftest.er1
27217   cat conftest.err >&5
27218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219   (exit $ac_status); } &&
27220          { ac_try='test -z "$ac_c_werror_flag"
27221                          || test ! -s conftest.err'
27222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223   (eval $ac_try) 2>&5
27224   ac_status=$?
27225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226   (exit $ac_status); }; } &&
27227          { ac_try='test -s conftest$ac_exeext'
27228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229   (eval $ac_try) 2>&5
27230   ac_status=$?
27231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232   (exit $ac_status); }; }; then
27233   eval "$as_ac_var=yes"
27234 else
27235   echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.$ac_ext >&5
27237
27238 eval "$as_ac_var=no"
27239 fi
27240 rm -f conftest.err conftest.$ac_objext \
27241       conftest$ac_exeext conftest.$ac_ext
27242 fi
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246   cat >>confdefs.h <<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27248 _ACEOF
27249
27250 fi
27251 done
27252
27253   else
27254
27255   echo "$as_me:$LINENO: checking for _modf declaration" >&5
27256 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27257   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27258     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27259   echo $ECHO_N "(cached) $ECHO_C" >&6
27260 else
27261
27262
27263
27264       ac_ext=cc
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27269
27270       cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h.  */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h.  */
27276 #include <math.h>
27277 int
27278 main ()
27279 {
27280  _modf(0, 0);
27281   ;
27282   return 0;
27283 }
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287   (eval $ac_compile) 2>conftest.er1
27288   ac_status=$?
27289   grep -v '^ *+' conftest.er1 >conftest.err
27290   rm -f conftest.er1
27291   cat conftest.err >&5
27292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293   (exit $ac_status); } &&
27294          { ac_try='test -z "$ac_cxx_werror_flag"
27295                          || test ! -s conftest.err'
27296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297   (eval $ac_try) 2>&5
27298   ac_status=$?
27299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300   (exit $ac_status); }; } &&
27301          { ac_try='test -s conftest.$ac_objext'
27302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303   (eval $ac_try) 2>&5
27304   ac_status=$?
27305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306   (exit $ac_status); }; }; then
27307   glibcxx_cv_func__modf_use=yes
27308 else
27309   echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27311
27312 glibcxx_cv_func__modf_use=no
27313 fi
27314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27315       ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27320
27321
27322 fi
27323
27324   fi
27325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27326 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27327
27328     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27329
27330 for ac_func in _modf
27331 do
27332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27333 echo "$as_me:$LINENO: checking for $ac_func" >&5
27334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27335 if eval "test \"\${$as_ac_var+set}\" = set"; then
27336   echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338   if test x$gcc_no_link = xyes; then
27339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27341    { (exit 1); exit 1; }; }
27342 fi
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h.  */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h.  */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27351 #define $ac_func innocuous_$ac_func
27352
27353 /* System header to define __stub macros and hopefully few prototypes,
27354     which can conflict with char $ac_func (); below.
27355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356     <limits.h> exists even on freestanding compilers.  */
27357
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27363
27364 #undef $ac_func
27365
27366 /* Override any gcc2 internal prototype to avoid an error.  */
27367 #ifdef __cplusplus
27368 extern "C"
27369 {
27370 #endif
27371 /* We use char because int might match the return type of a gcc2
27372    builtin and then its argument prototype would still apply.  */
27373 char $ac_func ();
27374 /* The GNU C library defines this for functions which it implements
27375     to always fail with ENOSYS.  Some functions are actually named
27376     something starting with __ and the normal name is an alias.  */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 choke me
27379 #else
27380 char (*f) () = $ac_func;
27381 #endif
27382 #ifdef __cplusplus
27383 }
27384 #endif
27385
27386 int
27387 main ()
27388 {
27389 return f != $ac_func;
27390   ;
27391   return 0;
27392 }
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396   (eval $ac_link) 2>conftest.er1
27397   ac_status=$?
27398   grep -v '^ *+' conftest.er1 >conftest.err
27399   rm -f conftest.er1
27400   cat conftest.err >&5
27401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402   (exit $ac_status); } &&
27403          { ac_try='test -z "$ac_c_werror_flag"
27404                          || test ! -s conftest.err'
27405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406   (eval $ac_try) 2>&5
27407   ac_status=$?
27408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409   (exit $ac_status); }; } &&
27410          { ac_try='test -s conftest$ac_exeext'
27411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412   (eval $ac_try) 2>&5
27413   ac_status=$?
27414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415   (exit $ac_status); }; }; then
27416   eval "$as_ac_var=yes"
27417 else
27418   echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27420
27421 eval "$as_ac_var=no"
27422 fi
27423 rm -f conftest.err conftest.$ac_objext \
27424       conftest$ac_exeext conftest.$ac_ext
27425 fi
27426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27428 if test `eval echo '${'$as_ac_var'}'` = yes; then
27429   cat >>confdefs.h <<_ACEOF
27430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27431 _ACEOF
27432
27433 fi
27434 done
27435
27436     fi
27437   fi
27438
27439
27440
27441
27442
27443
27444   echo "$as_me:$LINENO: checking for powf declaration" >&5
27445 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27446   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27447     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27448   echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27450
27451
27452
27453       ac_ext=cc
27454 ac_cpp='$CXXCPP $CPPFLAGS'
27455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27458
27459       cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h.  */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h.  */
27465 #include <math.h>
27466 int
27467 main ()
27468 {
27469  powf(0, 0);
27470   ;
27471   return 0;
27472 }
27473 _ACEOF
27474 rm -f conftest.$ac_objext
27475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27476   (eval $ac_compile) 2>conftest.er1
27477   ac_status=$?
27478   grep -v '^ *+' conftest.er1 >conftest.err
27479   rm -f conftest.er1
27480   cat conftest.err >&5
27481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482   (exit $ac_status); } &&
27483          { ac_try='test -z "$ac_cxx_werror_flag"
27484                          || test ! -s conftest.err'
27485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486   (eval $ac_try) 2>&5
27487   ac_status=$?
27488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489   (exit $ac_status); }; } &&
27490          { ac_try='test -s conftest.$ac_objext'
27491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492   (eval $ac_try) 2>&5
27493   ac_status=$?
27494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495   (exit $ac_status); }; }; then
27496   glibcxx_cv_func_powf_use=yes
27497 else
27498   echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27500
27501 glibcxx_cv_func_powf_use=no
27502 fi
27503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27504       ac_ext=c
27505 ac_cpp='$CPP $CPPFLAGS'
27506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27509
27510
27511 fi
27512
27513   fi
27514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27515 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27516
27517   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27518
27519 for ac_func in powf
27520 do
27521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27522 echo "$as_me:$LINENO: checking for $ac_func" >&5
27523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27524 if eval "test \"\${$as_ac_var+set}\" = set"; then
27525   echo $ECHO_N "(cached) $ECHO_C" >&6
27526 else
27527   if test x$gcc_no_link = xyes; then
27528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27530    { (exit 1); exit 1; }; }
27531 fi
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h.  */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h.  */
27538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27540 #define $ac_func innocuous_$ac_func
27541
27542 /* System header to define __stub macros and hopefully few prototypes,
27543     which can conflict with char $ac_func (); below.
27544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545     <limits.h> exists even on freestanding compilers.  */
27546
27547 #ifdef __STDC__
27548 # include <limits.h>
27549 #else
27550 # include <assert.h>
27551 #endif
27552
27553 #undef $ac_func
27554
27555 /* Override any gcc2 internal prototype to avoid an error.  */
27556 #ifdef __cplusplus
27557 extern "C"
27558 {
27559 #endif
27560 /* We use char because int might match the return type of a gcc2
27561    builtin and then its argument prototype would still apply.  */
27562 char $ac_func ();
27563 /* The GNU C library defines this for functions which it implements
27564     to always fail with ENOSYS.  Some functions are actually named
27565     something starting with __ and the normal name is an alias.  */
27566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27567 choke me
27568 #else
27569 char (*f) () = $ac_func;
27570 #endif
27571 #ifdef __cplusplus
27572 }
27573 #endif
27574
27575 int
27576 main ()
27577 {
27578 return f != $ac_func;
27579   ;
27580   return 0;
27581 }
27582 _ACEOF
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585   (eval $ac_link) 2>conftest.er1
27586   ac_status=$?
27587   grep -v '^ *+' conftest.er1 >conftest.err
27588   rm -f conftest.er1
27589   cat conftest.err >&5
27590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591   (exit $ac_status); } &&
27592          { ac_try='test -z "$ac_c_werror_flag"
27593                          || test ! -s conftest.err'
27594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595   (eval $ac_try) 2>&5
27596   ac_status=$?
27597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598   (exit $ac_status); }; } &&
27599          { ac_try='test -s conftest$ac_exeext'
27600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601   (eval $ac_try) 2>&5
27602   ac_status=$?
27603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604   (exit $ac_status); }; }; then
27605   eval "$as_ac_var=yes"
27606 else
27607   echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 eval "$as_ac_var=no"
27611 fi
27612 rm -f conftest.err conftest.$ac_objext \
27613       conftest$ac_exeext conftest.$ac_ext
27614 fi
27615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27617 if test `eval echo '${'$as_ac_var'}'` = yes; then
27618   cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27620 _ACEOF
27621
27622 fi
27623 done
27624
27625   else
27626
27627   echo "$as_me:$LINENO: checking for _powf declaration" >&5
27628 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27629   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27630     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27631   echo $ECHO_N "(cached) $ECHO_C" >&6
27632 else
27633
27634
27635
27636       ac_ext=cc
27637 ac_cpp='$CXXCPP $CPPFLAGS'
27638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27641
27642       cat >conftest.$ac_ext <<_ACEOF
27643 /* confdefs.h.  */
27644 _ACEOF
27645 cat confdefs.h >>conftest.$ac_ext
27646 cat >>conftest.$ac_ext <<_ACEOF
27647 /* end confdefs.h.  */
27648 #include <math.h>
27649 int
27650 main ()
27651 {
27652  _powf(0, 0);
27653   ;
27654   return 0;
27655 }
27656 _ACEOF
27657 rm -f conftest.$ac_objext
27658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27659   (eval $ac_compile) 2>conftest.er1
27660   ac_status=$?
27661   grep -v '^ *+' conftest.er1 >conftest.err
27662   rm -f conftest.er1
27663   cat conftest.err >&5
27664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665   (exit $ac_status); } &&
27666          { ac_try='test -z "$ac_cxx_werror_flag"
27667                          || test ! -s conftest.err'
27668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669   (eval $ac_try) 2>&5
27670   ac_status=$?
27671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672   (exit $ac_status); }; } &&
27673          { ac_try='test -s conftest.$ac_objext'
27674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675   (eval $ac_try) 2>&5
27676   ac_status=$?
27677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678   (exit $ac_status); }; }; then
27679   glibcxx_cv_func__powf_use=yes
27680 else
27681   echo "$as_me: failed program was:" >&5
27682 sed 's/^/| /' conftest.$ac_ext >&5
27683
27684 glibcxx_cv_func__powf_use=no
27685 fi
27686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27687       ac_ext=c
27688 ac_cpp='$CPP $CPPFLAGS'
27689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27692
27693
27694 fi
27695
27696   fi
27697   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27698 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27699
27700     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27701
27702 for ac_func in _powf
27703 do
27704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27705 echo "$as_me:$LINENO: checking for $ac_func" >&5
27706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27707 if eval "test \"\${$as_ac_var+set}\" = set"; then
27708   echo $ECHO_N "(cached) $ECHO_C" >&6
27709 else
27710   if test x$gcc_no_link = xyes; then
27711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27713    { (exit 1); exit 1; }; }
27714 fi
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h.  */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h.  */
27721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27723 #define $ac_func innocuous_$ac_func
27724
27725 /* System header to define __stub macros and hopefully few prototypes,
27726     which can conflict with char $ac_func (); below.
27727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27728     <limits.h> exists even on freestanding compilers.  */
27729
27730 #ifdef __STDC__
27731 # include <limits.h>
27732 #else
27733 # include <assert.h>
27734 #endif
27735
27736 #undef $ac_func
27737
27738 /* Override any gcc2 internal prototype to avoid an error.  */
27739 #ifdef __cplusplus
27740 extern "C"
27741 {
27742 #endif
27743 /* We use char because int might match the return type of a gcc2
27744    builtin and then its argument prototype would still apply.  */
27745 char $ac_func ();
27746 /* The GNU C library defines this for functions which it implements
27747     to always fail with ENOSYS.  Some functions are actually named
27748     something starting with __ and the normal name is an alias.  */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27750 choke me
27751 #else
27752 char (*f) () = $ac_func;
27753 #endif
27754 #ifdef __cplusplus
27755 }
27756 #endif
27757
27758 int
27759 main ()
27760 {
27761 return f != $ac_func;
27762   ;
27763   return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768   (eval $ac_link) 2>conftest.er1
27769   ac_status=$?
27770   grep -v '^ *+' conftest.er1 >conftest.err
27771   rm -f conftest.er1
27772   cat conftest.err >&5
27773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774   (exit $ac_status); } &&
27775          { ac_try='test -z "$ac_c_werror_flag"
27776                          || test ! -s conftest.err'
27777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778   (eval $ac_try) 2>&5
27779   ac_status=$?
27780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781   (exit $ac_status); }; } &&
27782          { ac_try='test -s conftest$ac_exeext'
27783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784   (eval $ac_try) 2>&5
27785   ac_status=$?
27786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787   (exit $ac_status); }; }; then
27788   eval "$as_ac_var=yes"
27789 else
27790   echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 eval "$as_ac_var=no"
27794 fi
27795 rm -f conftest.err conftest.$ac_objext \
27796       conftest$ac_exeext conftest.$ac_ext
27797 fi
27798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27800 if test `eval echo '${'$as_ac_var'}'` = yes; then
27801   cat >>confdefs.h <<_ACEOF
27802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27803 _ACEOF
27804
27805 fi
27806 done
27807
27808     fi
27809   fi
27810
27811
27812
27813
27814
27815
27816   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27817 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27818   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27819     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27820   echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822
27823
27824
27825       ac_ext=cc
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27830
27831       cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h.  */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h.  */
27837 #include <math.h>
27838                       #ifdef HAVE_IEEEFP_H
27839                       #include <ieeefp.h>
27840                       #endif
27841
27842 int
27843 main ()
27844 {
27845  sqrtf(0);
27846   ;
27847   return 0;
27848 }
27849 _ACEOF
27850 rm -f conftest.$ac_objext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27852   (eval $ac_compile) 2>conftest.er1
27853   ac_status=$?
27854   grep -v '^ *+' conftest.er1 >conftest.err
27855   rm -f conftest.er1
27856   cat conftest.err >&5
27857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858   (exit $ac_status); } &&
27859          { ac_try='test -z "$ac_cxx_werror_flag"
27860                          || test ! -s conftest.err'
27861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862   (eval $ac_try) 2>&5
27863   ac_status=$?
27864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865   (exit $ac_status); }; } &&
27866          { ac_try='test -s conftest.$ac_objext'
27867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868   (eval $ac_try) 2>&5
27869   ac_status=$?
27870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871   (exit $ac_status); }; }; then
27872   glibcxx_cv_func_sqrtf_use=yes
27873 else
27874   echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27876
27877 glibcxx_cv_func_sqrtf_use=no
27878 fi
27879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27880       ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27885
27886
27887 fi
27888
27889   fi
27890   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27891 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27892
27893   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27894
27895 for ac_func in sqrtf
27896 do
27897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27898 echo "$as_me:$LINENO: checking for $ac_func" >&5
27899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27900 if eval "test \"\${$as_ac_var+set}\" = set"; then
27901   echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903   if test x$gcc_no_link = xyes; then
27904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27906    { (exit 1); exit 1; }; }
27907 fi
27908 cat >conftest.$ac_ext <<_ACEOF
27909 /* confdefs.h.  */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h.  */
27914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27916 #define $ac_func innocuous_$ac_func
27917
27918 /* System header to define __stub macros and hopefully few prototypes,
27919     which can conflict with char $ac_func (); below.
27920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27921     <limits.h> exists even on freestanding compilers.  */
27922
27923 #ifdef __STDC__
27924 # include <limits.h>
27925 #else
27926 # include <assert.h>
27927 #endif
27928
27929 #undef $ac_func
27930
27931 /* Override any gcc2 internal prototype to avoid an error.  */
27932 #ifdef __cplusplus
27933 extern "C"
27934 {
27935 #endif
27936 /* We use char because int might match the return type of a gcc2
27937    builtin and then its argument prototype would still apply.  */
27938 char $ac_func ();
27939 /* The GNU C library defines this for functions which it implements
27940     to always fail with ENOSYS.  Some functions are actually named
27941     something starting with __ and the normal name is an alias.  */
27942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27943 choke me
27944 #else
27945 char (*f) () = $ac_func;
27946 #endif
27947 #ifdef __cplusplus
27948 }
27949 #endif
27950
27951 int
27952 main ()
27953 {
27954 return f != $ac_func;
27955   ;
27956   return 0;
27957 }
27958 _ACEOF
27959 rm -f conftest.$ac_objext conftest$ac_exeext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27961   (eval $ac_link) 2>conftest.er1
27962   ac_status=$?
27963   grep -v '^ *+' conftest.er1 >conftest.err
27964   rm -f conftest.er1
27965   cat conftest.err >&5
27966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967   (exit $ac_status); } &&
27968          { ac_try='test -z "$ac_c_werror_flag"
27969                          || test ! -s conftest.err'
27970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971   (eval $ac_try) 2>&5
27972   ac_status=$?
27973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974   (exit $ac_status); }; } &&
27975          { ac_try='test -s conftest$ac_exeext'
27976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977   (eval $ac_try) 2>&5
27978   ac_status=$?
27979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980   (exit $ac_status); }; }; then
27981   eval "$as_ac_var=yes"
27982 else
27983   echo "$as_me: failed program was:" >&5
27984 sed 's/^/| /' conftest.$ac_ext >&5
27985
27986 eval "$as_ac_var=no"
27987 fi
27988 rm -f conftest.err conftest.$ac_objext \
27989       conftest$ac_exeext conftest.$ac_ext
27990 fi
27991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27993 if test `eval echo '${'$as_ac_var'}'` = yes; then
27994   cat >>confdefs.h <<_ACEOF
27995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27996 _ACEOF
27997
27998 fi
27999 done
28000
28001   else
28002
28003   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28004 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28005   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28006     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28007   echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28009
28010
28011
28012       ac_ext=cc
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017
28018       cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h.  */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h.  */
28024 #include <math.h>
28025                       #ifdef HAVE_IEEEFP_H
28026                       #include <ieeefp.h>
28027                       #endif
28028
28029 int
28030 main ()
28031 {
28032  _sqrtf(0);
28033   ;
28034   return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28039   (eval $ac_compile) 2>conftest.er1
28040   ac_status=$?
28041   grep -v '^ *+' conftest.er1 >conftest.err
28042   rm -f conftest.er1
28043   cat conftest.err >&5
28044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045   (exit $ac_status); } &&
28046          { ac_try='test -z "$ac_cxx_werror_flag"
28047                          || test ! -s conftest.err'
28048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049   (eval $ac_try) 2>&5
28050   ac_status=$?
28051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052   (exit $ac_status); }; } &&
28053          { ac_try='test -s conftest.$ac_objext'
28054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055   (eval $ac_try) 2>&5
28056   ac_status=$?
28057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058   (exit $ac_status); }; }; then
28059   glibcxx_cv_func__sqrtf_use=yes
28060 else
28061   echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.$ac_ext >&5
28063
28064 glibcxx_cv_func__sqrtf_use=no
28065 fi
28066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28067       ac_ext=c
28068 ac_cpp='$CPP $CPPFLAGS'
28069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28072
28073
28074 fi
28075
28076   fi
28077   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28078 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28079
28080     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28081
28082 for ac_func in _sqrtf
28083 do
28084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28085 echo "$as_me:$LINENO: checking for $ac_func" >&5
28086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28087 if eval "test \"\${$as_ac_var+set}\" = set"; then
28088   echo $ECHO_N "(cached) $ECHO_C" >&6
28089 else
28090   if test x$gcc_no_link = xyes; then
28091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28093    { (exit 1); exit 1; }; }
28094 fi
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h.  */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h.  */
28101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28103 #define $ac_func innocuous_$ac_func
28104
28105 /* System header to define __stub macros and hopefully few prototypes,
28106     which can conflict with char $ac_func (); below.
28107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28108     <limits.h> exists even on freestanding compilers.  */
28109
28110 #ifdef __STDC__
28111 # include <limits.h>
28112 #else
28113 # include <assert.h>
28114 #endif
28115
28116 #undef $ac_func
28117
28118 /* Override any gcc2 internal prototype to avoid an error.  */
28119 #ifdef __cplusplus
28120 extern "C"
28121 {
28122 #endif
28123 /* We use char because int might match the return type of a gcc2
28124    builtin and then its argument prototype would still apply.  */
28125 char $ac_func ();
28126 /* The GNU C library defines this for functions which it implements
28127     to always fail with ENOSYS.  Some functions are actually named
28128     something starting with __ and the normal name is an alias.  */
28129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28130 choke me
28131 #else
28132 char (*f) () = $ac_func;
28133 #endif
28134 #ifdef __cplusplus
28135 }
28136 #endif
28137
28138 int
28139 main ()
28140 {
28141 return f != $ac_func;
28142   ;
28143   return 0;
28144 }
28145 _ACEOF
28146 rm -f conftest.$ac_objext conftest$ac_exeext
28147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28148   (eval $ac_link) 2>conftest.er1
28149   ac_status=$?
28150   grep -v '^ *+' conftest.er1 >conftest.err
28151   rm -f conftest.er1
28152   cat conftest.err >&5
28153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154   (exit $ac_status); } &&
28155          { ac_try='test -z "$ac_c_werror_flag"
28156                          || test ! -s conftest.err'
28157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158   (eval $ac_try) 2>&5
28159   ac_status=$?
28160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161   (exit $ac_status); }; } &&
28162          { ac_try='test -s conftest$ac_exeext'
28163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164   (eval $ac_try) 2>&5
28165   ac_status=$?
28166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167   (exit $ac_status); }; }; then
28168   eval "$as_ac_var=yes"
28169 else
28170   echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.$ac_ext >&5
28172
28173 eval "$as_ac_var=no"
28174 fi
28175 rm -f conftest.err conftest.$ac_objext \
28176       conftest$ac_exeext conftest.$ac_ext
28177 fi
28178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28180 if test `eval echo '${'$as_ac_var'}'` = yes; then
28181   cat >>confdefs.h <<_ACEOF
28182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28183 _ACEOF
28184
28185 fi
28186 done
28187
28188     fi
28189   fi
28190
28191
28192
28193
28194
28195
28196   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28197 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28198   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28199     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28200   echo $ECHO_N "(cached) $ECHO_C" >&6
28201 else
28202
28203
28204
28205       ac_ext=cc
28206 ac_cpp='$CXXCPP $CPPFLAGS'
28207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28210
28211       cat >conftest.$ac_ext <<_ACEOF
28212 /* confdefs.h.  */
28213 _ACEOF
28214 cat confdefs.h >>conftest.$ac_ext
28215 cat >>conftest.$ac_ext <<_ACEOF
28216 /* end confdefs.h.  */
28217 #include <math.h>
28218 int
28219 main ()
28220 {
28221  sincosf(0, 0, 0);
28222   ;
28223   return 0;
28224 }
28225 _ACEOF
28226 rm -f conftest.$ac_objext
28227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28228   (eval $ac_compile) 2>conftest.er1
28229   ac_status=$?
28230   grep -v '^ *+' conftest.er1 >conftest.err
28231   rm -f conftest.er1
28232   cat conftest.err >&5
28233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234   (exit $ac_status); } &&
28235          { ac_try='test -z "$ac_cxx_werror_flag"
28236                          || test ! -s conftest.err'
28237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238   (eval $ac_try) 2>&5
28239   ac_status=$?
28240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241   (exit $ac_status); }; } &&
28242          { ac_try='test -s conftest.$ac_objext'
28243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244   (eval $ac_try) 2>&5
28245   ac_status=$?
28246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247   (exit $ac_status); }; }; then
28248   glibcxx_cv_func_sincosf_use=yes
28249 else
28250   echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.$ac_ext >&5
28252
28253 glibcxx_cv_func_sincosf_use=no
28254 fi
28255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28256       ac_ext=c
28257 ac_cpp='$CPP $CPPFLAGS'
28258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28261
28262
28263 fi
28264
28265   fi
28266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28267 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28268
28269   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28270
28271 for ac_func in sincosf
28272 do
28273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277   echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279   if test x$gcc_no_link = xyes; then
28280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28282    { (exit 1); exit 1; }; }
28283 fi
28284 cat >conftest.$ac_ext <<_ACEOF
28285 /* confdefs.h.  */
28286 _ACEOF
28287 cat confdefs.h >>conftest.$ac_ext
28288 cat >>conftest.$ac_ext <<_ACEOF
28289 /* end confdefs.h.  */
28290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28292 #define $ac_func innocuous_$ac_func
28293
28294 /* System header to define __stub macros and hopefully few prototypes,
28295     which can conflict with char $ac_func (); below.
28296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28297     <limits.h> exists even on freestanding compilers.  */
28298
28299 #ifdef __STDC__
28300 # include <limits.h>
28301 #else
28302 # include <assert.h>
28303 #endif
28304
28305 #undef $ac_func
28306
28307 /* Override any gcc2 internal prototype to avoid an error.  */
28308 #ifdef __cplusplus
28309 extern "C"
28310 {
28311 #endif
28312 /* We use char because int might match the return type of a gcc2
28313    builtin and then its argument prototype would still apply.  */
28314 char $ac_func ();
28315 /* The GNU C library defines this for functions which it implements
28316     to always fail with ENOSYS.  Some functions are actually named
28317     something starting with __ and the normal name is an alias.  */
28318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28319 choke me
28320 #else
28321 char (*f) () = $ac_func;
28322 #endif
28323 #ifdef __cplusplus
28324 }
28325 #endif
28326
28327 int
28328 main ()
28329 {
28330 return f != $ac_func;
28331   ;
28332   return 0;
28333 }
28334 _ACEOF
28335 rm -f conftest.$ac_objext conftest$ac_exeext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28337   (eval $ac_link) 2>conftest.er1
28338   ac_status=$?
28339   grep -v '^ *+' conftest.er1 >conftest.err
28340   rm -f conftest.er1
28341   cat conftest.err >&5
28342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343   (exit $ac_status); } &&
28344          { ac_try='test -z "$ac_c_werror_flag"
28345                          || test ! -s conftest.err'
28346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347   (eval $ac_try) 2>&5
28348   ac_status=$?
28349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350   (exit $ac_status); }; } &&
28351          { ac_try='test -s conftest$ac_exeext'
28352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353   (eval $ac_try) 2>&5
28354   ac_status=$?
28355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356   (exit $ac_status); }; }; then
28357   eval "$as_ac_var=yes"
28358 else
28359   echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28361
28362 eval "$as_ac_var=no"
28363 fi
28364 rm -f conftest.err conftest.$ac_objext \
28365       conftest$ac_exeext conftest.$ac_ext
28366 fi
28367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28369 if test `eval echo '${'$as_ac_var'}'` = yes; then
28370   cat >>confdefs.h <<_ACEOF
28371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28372 _ACEOF
28373
28374 fi
28375 done
28376
28377   else
28378
28379   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28380 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28381   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28382     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28383   echo $ECHO_N "(cached) $ECHO_C" >&6
28384 else
28385
28386
28387
28388       ac_ext=cc
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28393
28394       cat >conftest.$ac_ext <<_ACEOF
28395 /* confdefs.h.  */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h.  */
28400 #include <math.h>
28401 int
28402 main ()
28403 {
28404  _sincosf(0, 0, 0);
28405   ;
28406   return 0;
28407 }
28408 _ACEOF
28409 rm -f conftest.$ac_objext
28410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28411   (eval $ac_compile) 2>conftest.er1
28412   ac_status=$?
28413   grep -v '^ *+' conftest.er1 >conftest.err
28414   rm -f conftest.er1
28415   cat conftest.err >&5
28416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417   (exit $ac_status); } &&
28418          { ac_try='test -z "$ac_cxx_werror_flag"
28419                          || test ! -s conftest.err'
28420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421   (eval $ac_try) 2>&5
28422   ac_status=$?
28423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424   (exit $ac_status); }; } &&
28425          { ac_try='test -s conftest.$ac_objext'
28426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427   (eval $ac_try) 2>&5
28428   ac_status=$?
28429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430   (exit $ac_status); }; }; then
28431   glibcxx_cv_func__sincosf_use=yes
28432 else
28433   echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28435
28436 glibcxx_cv_func__sincosf_use=no
28437 fi
28438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28439       ac_ext=c
28440 ac_cpp='$CPP $CPPFLAGS'
28441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28444
28445
28446 fi
28447
28448   fi
28449   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28450 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28451
28452     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28453
28454 for ac_func in _sincosf
28455 do
28456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28457 echo "$as_me:$LINENO: checking for $ac_func" >&5
28458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28459 if eval "test \"\${$as_ac_var+set}\" = set"; then
28460   echo $ECHO_N "(cached) $ECHO_C" >&6
28461 else
28462   if test x$gcc_no_link = xyes; then
28463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28465    { (exit 1); exit 1; }; }
28466 fi
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h.  */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h.  */
28473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28475 #define $ac_func innocuous_$ac_func
28476
28477 /* System header to define __stub macros and hopefully few prototypes,
28478     which can conflict with char $ac_func (); below.
28479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28480     <limits.h> exists even on freestanding compilers.  */
28481
28482 #ifdef __STDC__
28483 # include <limits.h>
28484 #else
28485 # include <assert.h>
28486 #endif
28487
28488 #undef $ac_func
28489
28490 /* Override any gcc2 internal prototype to avoid an error.  */
28491 #ifdef __cplusplus
28492 extern "C"
28493 {
28494 #endif
28495 /* We use char because int might match the return type of a gcc2
28496    builtin and then its argument prototype would still apply.  */
28497 char $ac_func ();
28498 /* The GNU C library defines this for functions which it implements
28499     to always fail with ENOSYS.  Some functions are actually named
28500     something starting with __ and the normal name is an alias.  */
28501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28502 choke me
28503 #else
28504 char (*f) () = $ac_func;
28505 #endif
28506 #ifdef __cplusplus
28507 }
28508 #endif
28509
28510 int
28511 main ()
28512 {
28513 return f != $ac_func;
28514   ;
28515   return 0;
28516 }
28517 _ACEOF
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28520   (eval $ac_link) 2>conftest.er1
28521   ac_status=$?
28522   grep -v '^ *+' conftest.er1 >conftest.err
28523   rm -f conftest.er1
28524   cat conftest.err >&5
28525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526   (exit $ac_status); } &&
28527          { ac_try='test -z "$ac_c_werror_flag"
28528                          || test ! -s conftest.err'
28529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530   (eval $ac_try) 2>&5
28531   ac_status=$?
28532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533   (exit $ac_status); }; } &&
28534          { ac_try='test -s conftest$ac_exeext'
28535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536   (eval $ac_try) 2>&5
28537   ac_status=$?
28538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539   (exit $ac_status); }; }; then
28540   eval "$as_ac_var=yes"
28541 else
28542   echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28544
28545 eval "$as_ac_var=no"
28546 fi
28547 rm -f conftest.err conftest.$ac_objext \
28548       conftest$ac_exeext conftest.$ac_ext
28549 fi
28550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28552 if test `eval echo '${'$as_ac_var'}'` = yes; then
28553   cat >>confdefs.h <<_ACEOF
28554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28555 _ACEOF
28556
28557 fi
28558 done
28559
28560     fi
28561   fi
28562
28563
28564
28565
28566
28567
28568   echo "$as_me:$LINENO: checking for finitef declaration" >&5
28569 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28570   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28571     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28572   echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28574
28575
28576
28577       ac_ext=cc
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28582
28583       cat >conftest.$ac_ext <<_ACEOF
28584 /* confdefs.h.  */
28585 _ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h.  */
28589 #include <math.h>
28590                       #ifdef HAVE_IEEEFP_H
28591                       #include <ieeefp.h>
28592                       #endif
28593
28594 int
28595 main ()
28596 {
28597  finitef(0);
28598   ;
28599   return 0;
28600 }
28601 _ACEOF
28602 rm -f conftest.$ac_objext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28604   (eval $ac_compile) 2>conftest.er1
28605   ac_status=$?
28606   grep -v '^ *+' conftest.er1 >conftest.err
28607   rm -f conftest.er1
28608   cat conftest.err >&5
28609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610   (exit $ac_status); } &&
28611          { ac_try='test -z "$ac_cxx_werror_flag"
28612                          || test ! -s conftest.err'
28613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614   (eval $ac_try) 2>&5
28615   ac_status=$?
28616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617   (exit $ac_status); }; } &&
28618          { ac_try='test -s conftest.$ac_objext'
28619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620   (eval $ac_try) 2>&5
28621   ac_status=$?
28622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623   (exit $ac_status); }; }; then
28624   glibcxx_cv_func_finitef_use=yes
28625 else
28626   echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28628
28629 glibcxx_cv_func_finitef_use=no
28630 fi
28631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28632       ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28637
28638
28639 fi
28640
28641   fi
28642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28643 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28644
28645   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28646
28647 for ac_func in finitef
28648 do
28649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28650 echo "$as_me:$LINENO: checking for $ac_func" >&5
28651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28652 if eval "test \"\${$as_ac_var+set}\" = set"; then
28653   echo $ECHO_N "(cached) $ECHO_C" >&6
28654 else
28655   if test x$gcc_no_link = xyes; then
28656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28658    { (exit 1); exit 1; }; }
28659 fi
28660 cat >conftest.$ac_ext <<_ACEOF
28661 /* confdefs.h.  */
28662 _ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h.  */
28666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28668 #define $ac_func innocuous_$ac_func
28669
28670 /* System header to define __stub macros and hopefully few prototypes,
28671     which can conflict with char $ac_func (); below.
28672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28673     <limits.h> exists even on freestanding compilers.  */
28674
28675 #ifdef __STDC__
28676 # include <limits.h>
28677 #else
28678 # include <assert.h>
28679 #endif
28680
28681 #undef $ac_func
28682
28683 /* Override any gcc2 internal prototype to avoid an error.  */
28684 #ifdef __cplusplus
28685 extern "C"
28686 {
28687 #endif
28688 /* We use char because int might match the return type of a gcc2
28689    builtin and then its argument prototype would still apply.  */
28690 char $ac_func ();
28691 /* The GNU C library defines this for functions which it implements
28692     to always fail with ENOSYS.  Some functions are actually named
28693     something starting with __ and the normal name is an alias.  */
28694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28695 choke me
28696 #else
28697 char (*f) () = $ac_func;
28698 #endif
28699 #ifdef __cplusplus
28700 }
28701 #endif
28702
28703 int
28704 main ()
28705 {
28706 return f != $ac_func;
28707   ;
28708   return 0;
28709 }
28710 _ACEOF
28711 rm -f conftest.$ac_objext conftest$ac_exeext
28712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28713   (eval $ac_link) 2>conftest.er1
28714   ac_status=$?
28715   grep -v '^ *+' conftest.er1 >conftest.err
28716   rm -f conftest.er1
28717   cat conftest.err >&5
28718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719   (exit $ac_status); } &&
28720          { ac_try='test -z "$ac_c_werror_flag"
28721                          || test ! -s conftest.err'
28722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723   (eval $ac_try) 2>&5
28724   ac_status=$?
28725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726   (exit $ac_status); }; } &&
28727          { ac_try='test -s conftest$ac_exeext'
28728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729   (eval $ac_try) 2>&5
28730   ac_status=$?
28731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732   (exit $ac_status); }; }; then
28733   eval "$as_ac_var=yes"
28734 else
28735   echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28737
28738 eval "$as_ac_var=no"
28739 fi
28740 rm -f conftest.err conftest.$ac_objext \
28741       conftest$ac_exeext conftest.$ac_ext
28742 fi
28743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746   cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28748 _ACEOF
28749
28750 fi
28751 done
28752
28753   else
28754
28755   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28756 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28757   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28758     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28759   echo $ECHO_N "(cached) $ECHO_C" >&6
28760 else
28761
28762
28763
28764       ac_ext=cc
28765 ac_cpp='$CXXCPP $CPPFLAGS'
28766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28769
28770       cat >conftest.$ac_ext <<_ACEOF
28771 /* confdefs.h.  */
28772 _ACEOF
28773 cat confdefs.h >>conftest.$ac_ext
28774 cat >>conftest.$ac_ext <<_ACEOF
28775 /* end confdefs.h.  */
28776 #include <math.h>
28777                       #ifdef HAVE_IEEEFP_H
28778                       #include <ieeefp.h>
28779                       #endif
28780
28781 int
28782 main ()
28783 {
28784  _finitef(0);
28785   ;
28786   return 0;
28787 }
28788 _ACEOF
28789 rm -f conftest.$ac_objext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28791   (eval $ac_compile) 2>conftest.er1
28792   ac_status=$?
28793   grep -v '^ *+' conftest.er1 >conftest.err
28794   rm -f conftest.er1
28795   cat conftest.err >&5
28796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797   (exit $ac_status); } &&
28798          { ac_try='test -z "$ac_cxx_werror_flag"
28799                          || test ! -s conftest.err'
28800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801   (eval $ac_try) 2>&5
28802   ac_status=$?
28803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804   (exit $ac_status); }; } &&
28805          { ac_try='test -s conftest.$ac_objext'
28806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807   (eval $ac_try) 2>&5
28808   ac_status=$?
28809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810   (exit $ac_status); }; }; then
28811   glibcxx_cv_func__finitef_use=yes
28812 else
28813   echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28815
28816 glibcxx_cv_func__finitef_use=no
28817 fi
28818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28819       ac_ext=c
28820 ac_cpp='$CPP $CPPFLAGS'
28821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28824
28825
28826 fi
28827
28828   fi
28829   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28830 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28831
28832     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28833
28834 for ac_func in _finitef
28835 do
28836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28837 echo "$as_me:$LINENO: checking for $ac_func" >&5
28838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28839 if eval "test \"\${$as_ac_var+set}\" = set"; then
28840   echo $ECHO_N "(cached) $ECHO_C" >&6
28841 else
28842   if test x$gcc_no_link = xyes; then
28843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28845    { (exit 1); exit 1; }; }
28846 fi
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h.  */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h.  */
28853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28855 #define $ac_func innocuous_$ac_func
28856
28857 /* System header to define __stub macros and hopefully few prototypes,
28858     which can conflict with char $ac_func (); below.
28859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28860     <limits.h> exists even on freestanding compilers.  */
28861
28862 #ifdef __STDC__
28863 # include <limits.h>
28864 #else
28865 # include <assert.h>
28866 #endif
28867
28868 #undef $ac_func
28869
28870 /* Override any gcc2 internal prototype to avoid an error.  */
28871 #ifdef __cplusplus
28872 extern "C"
28873 {
28874 #endif
28875 /* We use char because int might match the return type of a gcc2
28876    builtin and then its argument prototype would still apply.  */
28877 char $ac_func ();
28878 /* The GNU C library defines this for functions which it implements
28879     to always fail with ENOSYS.  Some functions are actually named
28880     something starting with __ and the normal name is an alias.  */
28881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28882 choke me
28883 #else
28884 char (*f) () = $ac_func;
28885 #endif
28886 #ifdef __cplusplus
28887 }
28888 #endif
28889
28890 int
28891 main ()
28892 {
28893 return f != $ac_func;
28894   ;
28895   return 0;
28896 }
28897 _ACEOF
28898 rm -f conftest.$ac_objext conftest$ac_exeext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28900   (eval $ac_link) 2>conftest.er1
28901   ac_status=$?
28902   grep -v '^ *+' conftest.er1 >conftest.err
28903   rm -f conftest.er1
28904   cat conftest.err >&5
28905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906   (exit $ac_status); } &&
28907          { ac_try='test -z "$ac_c_werror_flag"
28908                          || test ! -s conftest.err'
28909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910   (eval $ac_try) 2>&5
28911   ac_status=$?
28912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913   (exit $ac_status); }; } &&
28914          { ac_try='test -s conftest$ac_exeext'
28915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28916   (eval $ac_try) 2>&5
28917   ac_status=$?
28918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919   (exit $ac_status); }; }; then
28920   eval "$as_ac_var=yes"
28921 else
28922   echo "$as_me: failed program was:" >&5
28923 sed 's/^/| /' conftest.$ac_ext >&5
28924
28925 eval "$as_ac_var=no"
28926 fi
28927 rm -f conftest.err conftest.$ac_objext \
28928       conftest$ac_exeext conftest.$ac_ext
28929 fi
28930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28932 if test `eval echo '${'$as_ac_var'}'` = yes; then
28933   cat >>confdefs.h <<_ACEOF
28934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28935 _ACEOF
28936
28937 fi
28938 done
28939
28940     fi
28941   fi
28942
28943
28944
28945
28946
28947
28948     echo "$as_me:$LINENO: checking for long double trig functions" >&5
28949 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28950   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28951   echo $ECHO_N "(cached) $ECHO_C" >&6
28952 else
28953
28954
28955
28956     ac_ext=cc
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961
28962     cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h.  */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h.  */
28968 #include <math.h>
28969 int
28970 main ()
28971 {
28972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28973   ;
28974   return 0;
28975 }
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28979   (eval $ac_compile) 2>conftest.er1
28980   ac_status=$?
28981   grep -v '^ *+' conftest.er1 >conftest.err
28982   rm -f conftest.er1
28983   cat conftest.err >&5
28984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985   (exit $ac_status); } &&
28986          { ac_try='test -z "$ac_cxx_werror_flag"
28987                          || test ! -s conftest.err'
28988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989   (eval $ac_try) 2>&5
28990   ac_status=$?
28991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992   (exit $ac_status); }; } &&
28993          { ac_try='test -s conftest.$ac_objext'
28994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995   (eval $ac_try) 2>&5
28996   ac_status=$?
28997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998   (exit $ac_status); }; }; then
28999   glibcxx_cv_func_long_double_trig_use=yes
29000 else
29001   echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29003
29004 glibcxx_cv_func_long_double_trig_use=no
29005 fi
29006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29007     ac_ext=c
29008 ac_cpp='$CPP $CPPFLAGS'
29009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012
29013 fi
29014
29015   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29016 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29017   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29028 do
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033   echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035   if test x$gcc_no_link = xyes; then
29036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29038    { (exit 1); exit 1; }; }
29039 fi
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h.  */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h.  */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29048 #define $ac_func innocuous_$ac_func
29049
29050 /* System header to define __stub macros and hopefully few prototypes,
29051     which can conflict with char $ac_func (); below.
29052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053     <limits.h> exists even on freestanding compilers.  */
29054
29055 #ifdef __STDC__
29056 # include <limits.h>
29057 #else
29058 # include <assert.h>
29059 #endif
29060
29061 #undef $ac_func
29062
29063 /* Override any gcc2 internal prototype to avoid an error.  */
29064 #ifdef __cplusplus
29065 extern "C"
29066 {
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069    builtin and then its argument prototype would still apply.  */
29070 char $ac_func ();
29071 /* The GNU C library defines this for functions which it implements
29072     to always fail with ENOSYS.  Some functions are actually named
29073     something starting with __ and the normal name is an alias.  */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075 choke me
29076 #else
29077 char (*f) () = $ac_func;
29078 #endif
29079 #ifdef __cplusplus
29080 }
29081 #endif
29082
29083 int
29084 main ()
29085 {
29086 return f != $ac_func;
29087   ;
29088   return 0;
29089 }
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093   (eval $ac_link) 2>conftest.er1
29094   ac_status=$?
29095   grep -v '^ *+' conftest.er1 >conftest.err
29096   rm -f conftest.er1
29097   cat conftest.err >&5
29098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099   (exit $ac_status); } &&
29100          { ac_try='test -z "$ac_c_werror_flag"
29101                          || test ! -s conftest.err'
29102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103   (eval $ac_try) 2>&5
29104   ac_status=$?
29105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106   (exit $ac_status); }; } &&
29107          { ac_try='test -s conftest$ac_exeext'
29108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109   (eval $ac_try) 2>&5
29110   ac_status=$?
29111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112   (exit $ac_status); }; }; then
29113   eval "$as_ac_var=yes"
29114 else
29115   echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 eval "$as_ac_var=no"
29119 fi
29120 rm -f conftest.err conftest.$ac_objext \
29121       conftest$ac_exeext conftest.$ac_ext
29122 fi
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126   cat >>confdefs.h <<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 _ACEOF
29129
29130 fi
29131 done
29132
29133   else
29134     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29135 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29136     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29137   echo $ECHO_N "(cached) $ECHO_C" >&6
29138 else
29139
29140
29141
29142       ac_ext=cc
29143 ac_cpp='$CXXCPP $CPPFLAGS'
29144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29147
29148       cat >conftest.$ac_ext <<_ACEOF
29149 /* confdefs.h.  */
29150 _ACEOF
29151 cat confdefs.h >>conftest.$ac_ext
29152 cat >>conftest.$ac_ext <<_ACEOF
29153 /* end confdefs.h.  */
29154 #include <math.h>
29155 int
29156 main ()
29157 {
29158 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29159   ;
29160   return 0;
29161 }
29162 _ACEOF
29163 rm -f conftest.$ac_objext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29165   (eval $ac_compile) 2>conftest.er1
29166   ac_status=$?
29167   grep -v '^ *+' conftest.er1 >conftest.err
29168   rm -f conftest.er1
29169   cat conftest.err >&5
29170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171   (exit $ac_status); } &&
29172          { ac_try='test -z "$ac_cxx_werror_flag"
29173                          || test ! -s conftest.err'
29174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175   (eval $ac_try) 2>&5
29176   ac_status=$?
29177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178   (exit $ac_status); }; } &&
29179          { ac_try='test -s conftest.$ac_objext'
29180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181   (eval $ac_try) 2>&5
29182   ac_status=$?
29183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184   (exit $ac_status); }; }; then
29185   glibcxx_cv_func__long_double_trig_use=yes
29186 else
29187   echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29189
29190 glibcxx_cv_func__long_double_trig_use=no
29191 fi
29192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29193       ac_ext=c
29194 ac_cpp='$CPP $CPPFLAGS'
29195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29198
29199 fi
29200
29201     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29202 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29203     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29214 do
29215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29216 echo "$as_me:$LINENO: checking for $ac_func" >&5
29217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29218 if eval "test \"\${$as_ac_var+set}\" = set"; then
29219   echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29221   if test x$gcc_no_link = xyes; then
29222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29224    { (exit 1); exit 1; }; }
29225 fi
29226 cat >conftest.$ac_ext <<_ACEOF
29227 /* confdefs.h.  */
29228 _ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h.  */
29232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29234 #define $ac_func innocuous_$ac_func
29235
29236 /* System header to define __stub macros and hopefully few prototypes,
29237     which can conflict with char $ac_func (); below.
29238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29239     <limits.h> exists even on freestanding compilers.  */
29240
29241 #ifdef __STDC__
29242 # include <limits.h>
29243 #else
29244 # include <assert.h>
29245 #endif
29246
29247 #undef $ac_func
29248
29249 /* Override any gcc2 internal prototype to avoid an error.  */
29250 #ifdef __cplusplus
29251 extern "C"
29252 {
29253 #endif
29254 /* We use char because int might match the return type of a gcc2
29255    builtin and then its argument prototype would still apply.  */
29256 char $ac_func ();
29257 /* The GNU C library defines this for functions which it implements
29258     to always fail with ENOSYS.  Some functions are actually named
29259     something starting with __ and the normal name is an alias.  */
29260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29261 choke me
29262 #else
29263 char (*f) () = $ac_func;
29264 #endif
29265 #ifdef __cplusplus
29266 }
29267 #endif
29268
29269 int
29270 main ()
29271 {
29272 return f != $ac_func;
29273   ;
29274   return 0;
29275 }
29276 _ACEOF
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279   (eval $ac_link) 2>conftest.er1
29280   ac_status=$?
29281   grep -v '^ *+' conftest.er1 >conftest.err
29282   rm -f conftest.er1
29283   cat conftest.err >&5
29284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285   (exit $ac_status); } &&
29286          { ac_try='test -z "$ac_c_werror_flag"
29287                          || test ! -s conftest.err'
29288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289   (eval $ac_try) 2>&5
29290   ac_status=$?
29291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292   (exit $ac_status); }; } &&
29293          { ac_try='test -s conftest$ac_exeext'
29294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295   (eval $ac_try) 2>&5
29296   ac_status=$?
29297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298   (exit $ac_status); }; }; then
29299   eval "$as_ac_var=yes"
29300 else
29301   echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29303
29304 eval "$as_ac_var=no"
29305 fi
29306 rm -f conftest.err conftest.$ac_objext \
29307       conftest$ac_exeext conftest.$ac_ext
29308 fi
29309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29311 if test `eval echo '${'$as_ac_var'}'` = yes; then
29312   cat >>confdefs.h <<_ACEOF
29313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29314 _ACEOF
29315
29316 fi
29317 done
29318
29319     fi
29320   fi
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335     echo "$as_me:$LINENO: checking for long double round functions" >&5
29336 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29337   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29338   echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29340
29341
29342
29343     ac_ext=cc
29344 ac_cpp='$CXXCPP $CPPFLAGS'
29345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29348
29349     cat >conftest.$ac_ext <<_ACEOF
29350 /* confdefs.h.  */
29351 _ACEOF
29352 cat confdefs.h >>conftest.$ac_ext
29353 cat >>conftest.$ac_ext <<_ACEOF
29354 /* end confdefs.h.  */
29355 #include <math.h>
29356 int
29357 main ()
29358 {
29359 ceill (0); floorl (0);
29360   ;
29361   return 0;
29362 }
29363 _ACEOF
29364 rm -f conftest.$ac_objext
29365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29366   (eval $ac_compile) 2>conftest.er1
29367   ac_status=$?
29368   grep -v '^ *+' conftest.er1 >conftest.err
29369   rm -f conftest.er1
29370   cat conftest.err >&5
29371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372   (exit $ac_status); } &&
29373          { ac_try='test -z "$ac_cxx_werror_flag"
29374                          || test ! -s conftest.err'
29375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376   (eval $ac_try) 2>&5
29377   ac_status=$?
29378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379   (exit $ac_status); }; } &&
29380          { ac_try='test -s conftest.$ac_objext'
29381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382   (eval $ac_try) 2>&5
29383   ac_status=$?
29384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385   (exit $ac_status); }; }; then
29386   glibcxx_cv_func_long_double_round_use=yes
29387 else
29388   echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29390
29391 glibcxx_cv_func_long_double_round_use=no
29392 fi
29393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29394     ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399
29400 fi
29401
29402   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29403 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29404   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29405
29406
29407 for ac_func in ceill floorl
29408 do
29409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29410 echo "$as_me:$LINENO: checking for $ac_func" >&5
29411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29412 if eval "test \"\${$as_ac_var+set}\" = set"; then
29413   echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415   if test x$gcc_no_link = xyes; then
29416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29418    { (exit 1); exit 1; }; }
29419 fi
29420 cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h.  */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h.  */
29426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29427    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29428 #define $ac_func innocuous_$ac_func
29429
29430 /* System header to define __stub macros and hopefully few prototypes,
29431     which can conflict with char $ac_func (); below.
29432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29433     <limits.h> exists even on freestanding compilers.  */
29434
29435 #ifdef __STDC__
29436 # include <limits.h>
29437 #else
29438 # include <assert.h>
29439 #endif
29440
29441 #undef $ac_func
29442
29443 /* Override any gcc2 internal prototype to avoid an error.  */
29444 #ifdef __cplusplus
29445 extern "C"
29446 {
29447 #endif
29448 /* We use char because int might match the return type of a gcc2
29449    builtin and then its argument prototype would still apply.  */
29450 char $ac_func ();
29451 /* The GNU C library defines this for functions which it implements
29452     to always fail with ENOSYS.  Some functions are actually named
29453     something starting with __ and the normal name is an alias.  */
29454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29455 choke me
29456 #else
29457 char (*f) () = $ac_func;
29458 #endif
29459 #ifdef __cplusplus
29460 }
29461 #endif
29462
29463 int
29464 main ()
29465 {
29466 return f != $ac_func;
29467   ;
29468   return 0;
29469 }
29470 _ACEOF
29471 rm -f conftest.$ac_objext conftest$ac_exeext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29473   (eval $ac_link) 2>conftest.er1
29474   ac_status=$?
29475   grep -v '^ *+' conftest.er1 >conftest.err
29476   rm -f conftest.er1
29477   cat conftest.err >&5
29478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479   (exit $ac_status); } &&
29480          { ac_try='test -z "$ac_c_werror_flag"
29481                          || test ! -s conftest.err'
29482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483   (eval $ac_try) 2>&5
29484   ac_status=$?
29485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486   (exit $ac_status); }; } &&
29487          { ac_try='test -s conftest$ac_exeext'
29488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489   (eval $ac_try) 2>&5
29490   ac_status=$?
29491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492   (exit $ac_status); }; }; then
29493   eval "$as_ac_var=yes"
29494 else
29495   echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29497
29498 eval "$as_ac_var=no"
29499 fi
29500 rm -f conftest.err conftest.$ac_objext \
29501       conftest$ac_exeext conftest.$ac_ext
29502 fi
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29505 if test `eval echo '${'$as_ac_var'}'` = yes; then
29506   cat >>confdefs.h <<_ACEOF
29507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29508 _ACEOF
29509
29510 fi
29511 done
29512
29513   else
29514     echo "$as_me:$LINENO: checking for _long double round functions" >&5
29515 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29516     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29517   echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29519
29520
29521
29522       ac_ext=cc
29523 ac_cpp='$CXXCPP $CPPFLAGS'
29524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29527
29528       cat >conftest.$ac_ext <<_ACEOF
29529 /* confdefs.h.  */
29530 _ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h.  */
29534 #include <math.h>
29535 int
29536 main ()
29537 {
29538 _ceill (0); _floorl (0);
29539   ;
29540   return 0;
29541 }
29542 _ACEOF
29543 rm -f conftest.$ac_objext
29544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29545   (eval $ac_compile) 2>conftest.er1
29546   ac_status=$?
29547   grep -v '^ *+' conftest.er1 >conftest.err
29548   rm -f conftest.er1
29549   cat conftest.err >&5
29550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551   (exit $ac_status); } &&
29552          { ac_try='test -z "$ac_cxx_werror_flag"
29553                          || test ! -s conftest.err'
29554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555   (eval $ac_try) 2>&5
29556   ac_status=$?
29557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558   (exit $ac_status); }; } &&
29559          { ac_try='test -s conftest.$ac_objext'
29560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561   (eval $ac_try) 2>&5
29562   ac_status=$?
29563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564   (exit $ac_status); }; }; then
29565   glibcxx_cv_func__long_double_round_use=yes
29566 else
29567   echo "$as_me: failed program was:" >&5
29568 sed 's/^/| /' conftest.$ac_ext >&5
29569
29570 glibcxx_cv_func__long_double_round_use=no
29571 fi
29572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29573       ac_ext=c
29574 ac_cpp='$CPP $CPPFLAGS'
29575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29578
29579 fi
29580
29581     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29582 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29583     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29584
29585
29586 for ac_func in _ceill _floorl
29587 do
29588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29589 echo "$as_me:$LINENO: checking for $ac_func" >&5
29590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29591 if eval "test \"\${$as_ac_var+set}\" = set"; then
29592   echo $ECHO_N "(cached) $ECHO_C" >&6
29593 else
29594   if test x$gcc_no_link = xyes; then
29595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29597    { (exit 1); exit 1; }; }
29598 fi
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h.  */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h.  */
29605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29607 #define $ac_func innocuous_$ac_func
29608
29609 /* System header to define __stub macros and hopefully few prototypes,
29610     which can conflict with char $ac_func (); below.
29611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612     <limits.h> exists even on freestanding compilers.  */
29613
29614 #ifdef __STDC__
29615 # include <limits.h>
29616 #else
29617 # include <assert.h>
29618 #endif
29619
29620 #undef $ac_func
29621
29622 /* Override any gcc2 internal prototype to avoid an error.  */
29623 #ifdef __cplusplus
29624 extern "C"
29625 {
29626 #endif
29627 /* We use char because int might match the return type of a gcc2
29628    builtin and then its argument prototype would still apply.  */
29629 char $ac_func ();
29630 /* The GNU C library defines this for functions which it implements
29631     to always fail with ENOSYS.  Some functions are actually named
29632     something starting with __ and the normal name is an alias.  */
29633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29634 choke me
29635 #else
29636 char (*f) () = $ac_func;
29637 #endif
29638 #ifdef __cplusplus
29639 }
29640 #endif
29641
29642 int
29643 main ()
29644 {
29645 return f != $ac_func;
29646   ;
29647   return 0;
29648 }
29649 _ACEOF
29650 rm -f conftest.$ac_objext conftest$ac_exeext
29651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29652   (eval $ac_link) 2>conftest.er1
29653   ac_status=$?
29654   grep -v '^ *+' conftest.er1 >conftest.err
29655   rm -f conftest.er1
29656   cat conftest.err >&5
29657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658   (exit $ac_status); } &&
29659          { ac_try='test -z "$ac_c_werror_flag"
29660                          || test ! -s conftest.err'
29661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29662   (eval $ac_try) 2>&5
29663   ac_status=$?
29664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665   (exit $ac_status); }; } &&
29666          { ac_try='test -s conftest$ac_exeext'
29667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29668   (eval $ac_try) 2>&5
29669   ac_status=$?
29670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671   (exit $ac_status); }; }; then
29672   eval "$as_ac_var=yes"
29673 else
29674   echo "$as_me: failed program was:" >&5
29675 sed 's/^/| /' conftest.$ac_ext >&5
29676
29677 eval "$as_ac_var=no"
29678 fi
29679 rm -f conftest.err conftest.$ac_objext \
29680       conftest$ac_exeext conftest.$ac_ext
29681 fi
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29684 if test `eval echo '${'$as_ac_var'}'` = yes; then
29685   cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29687 _ACEOF
29688
29689 fi
29690 done
29691
29692     fi
29693   fi
29694
29695
29696
29697
29698
29699
29700
29701
29702   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29703 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29704   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29705     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29706   echo $ECHO_N "(cached) $ECHO_C" >&6
29707 else
29708
29709
29710
29711       ac_ext=cc
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29716
29717       cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h.  */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h.  */
29723 #include <math.h>
29724                       #ifdef HAVE_IEEEFP_H
29725                       #include <ieeefp.h>
29726                       #endif
29727
29728 int
29729 main ()
29730 {
29731  isnanl(0);
29732   ;
29733   return 0;
29734 }
29735 _ACEOF
29736 rm -f conftest.$ac_objext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29738   (eval $ac_compile) 2>conftest.er1
29739   ac_status=$?
29740   grep -v '^ *+' conftest.er1 >conftest.err
29741   rm -f conftest.er1
29742   cat conftest.err >&5
29743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744   (exit $ac_status); } &&
29745          { ac_try='test -z "$ac_cxx_werror_flag"
29746                          || test ! -s conftest.err'
29747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748   (eval $ac_try) 2>&5
29749   ac_status=$?
29750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751   (exit $ac_status); }; } &&
29752          { ac_try='test -s conftest.$ac_objext'
29753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754   (eval $ac_try) 2>&5
29755   ac_status=$?
29756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757   (exit $ac_status); }; }; then
29758   glibcxx_cv_func_isnanl_use=yes
29759 else
29760   echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29762
29763 glibcxx_cv_func_isnanl_use=no
29764 fi
29765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29766       ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29771
29772
29773 fi
29774
29775   fi
29776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29777 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29778
29779   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29780
29781 for ac_func in isnanl
29782 do
29783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29784 echo "$as_me:$LINENO: checking for $ac_func" >&5
29785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29786 if eval "test \"\${$as_ac_var+set}\" = set"; then
29787   echo $ECHO_N "(cached) $ECHO_C" >&6
29788 else
29789   if test x$gcc_no_link = xyes; then
29790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29792    { (exit 1); exit 1; }; }
29793 fi
29794 cat >conftest.$ac_ext <<_ACEOF
29795 /* confdefs.h.  */
29796 _ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h.  */
29800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29802 #define $ac_func innocuous_$ac_func
29803
29804 /* System header to define __stub macros and hopefully few prototypes,
29805     which can conflict with char $ac_func (); below.
29806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29807     <limits.h> exists even on freestanding compilers.  */
29808
29809 #ifdef __STDC__
29810 # include <limits.h>
29811 #else
29812 # include <assert.h>
29813 #endif
29814
29815 #undef $ac_func
29816
29817 /* Override any gcc2 internal prototype to avoid an error.  */
29818 #ifdef __cplusplus
29819 extern "C"
29820 {
29821 #endif
29822 /* We use char because int might match the return type of a gcc2
29823    builtin and then its argument prototype would still apply.  */
29824 char $ac_func ();
29825 /* The GNU C library defines this for functions which it implements
29826     to always fail with ENOSYS.  Some functions are actually named
29827     something starting with __ and the normal name is an alias.  */
29828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29829 choke me
29830 #else
29831 char (*f) () = $ac_func;
29832 #endif
29833 #ifdef __cplusplus
29834 }
29835 #endif
29836
29837 int
29838 main ()
29839 {
29840 return f != $ac_func;
29841   ;
29842   return 0;
29843 }
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847   (eval $ac_link) 2>conftest.er1
29848   ac_status=$?
29849   grep -v '^ *+' conftest.er1 >conftest.err
29850   rm -f conftest.er1
29851   cat conftest.err >&5
29852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853   (exit $ac_status); } &&
29854          { ac_try='test -z "$ac_c_werror_flag"
29855                          || test ! -s conftest.err'
29856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857   (eval $ac_try) 2>&5
29858   ac_status=$?
29859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860   (exit $ac_status); }; } &&
29861          { ac_try='test -s conftest$ac_exeext'
29862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863   (eval $ac_try) 2>&5
29864   ac_status=$?
29865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866   (exit $ac_status); }; }; then
29867   eval "$as_ac_var=yes"
29868 else
29869   echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29871
29872 eval "$as_ac_var=no"
29873 fi
29874 rm -f conftest.err conftest.$ac_objext \
29875       conftest$ac_exeext conftest.$ac_ext
29876 fi
29877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29879 if test `eval echo '${'$as_ac_var'}'` = yes; then
29880   cat >>confdefs.h <<_ACEOF
29881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29882 _ACEOF
29883
29884 fi
29885 done
29886
29887   else
29888
29889   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29890 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29891   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29892     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29893   echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29895
29896
29897
29898       ac_ext=cc
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29903
29904       cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h.  */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h.  */
29910 #include <math.h>
29911                       #ifdef HAVE_IEEEFP_H
29912                       #include <ieeefp.h>
29913                       #endif
29914
29915 int
29916 main ()
29917 {
29918  _isnanl(0);
29919   ;
29920   return 0;
29921 }
29922 _ACEOF
29923 rm -f conftest.$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925   (eval $ac_compile) 2>conftest.er1
29926   ac_status=$?
29927   grep -v '^ *+' conftest.er1 >conftest.err
29928   rm -f conftest.er1
29929   cat conftest.err >&5
29930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931   (exit $ac_status); } &&
29932          { ac_try='test -z "$ac_cxx_werror_flag"
29933                          || test ! -s conftest.err'
29934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935   (eval $ac_try) 2>&5
29936   ac_status=$?
29937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938   (exit $ac_status); }; } &&
29939          { ac_try='test -s conftest.$ac_objext'
29940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941   (eval $ac_try) 2>&5
29942   ac_status=$?
29943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944   (exit $ac_status); }; }; then
29945   glibcxx_cv_func__isnanl_use=yes
29946 else
29947   echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29949
29950 glibcxx_cv_func__isnanl_use=no
29951 fi
29952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953       ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958
29959
29960 fi
29961
29962   fi
29963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29964 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29965
29966     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29967
29968 for ac_func in _isnanl
29969 do
29970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 echo "$as_me:$LINENO: checking for $ac_func" >&5
29972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29973 if eval "test \"\${$as_ac_var+set}\" = set"; then
29974   echo $ECHO_N "(cached) $ECHO_C" >&6
29975 else
29976   if test x$gcc_no_link = xyes; then
29977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29979    { (exit 1); exit 1; }; }
29980 fi
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h.  */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h.  */
29987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29989 #define $ac_func innocuous_$ac_func
29990
29991 /* System header to define __stub macros and hopefully few prototypes,
29992     which can conflict with char $ac_func (); below.
29993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29994     <limits.h> exists even on freestanding compilers.  */
29995
29996 #ifdef __STDC__
29997 # include <limits.h>
29998 #else
29999 # include <assert.h>
30000 #endif
30001
30002 #undef $ac_func
30003
30004 /* Override any gcc2 internal prototype to avoid an error.  */
30005 #ifdef __cplusplus
30006 extern "C"
30007 {
30008 #endif
30009 /* We use char because int might match the return type of a gcc2
30010    builtin and then its argument prototype would still apply.  */
30011 char $ac_func ();
30012 /* The GNU C library defines this for functions which it implements
30013     to always fail with ENOSYS.  Some functions are actually named
30014     something starting with __ and the normal name is an alias.  */
30015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30016 choke me
30017 #else
30018 char (*f) () = $ac_func;
30019 #endif
30020 #ifdef __cplusplus
30021 }
30022 #endif
30023
30024 int
30025 main ()
30026 {
30027 return f != $ac_func;
30028   ;
30029   return 0;
30030 }
30031 _ACEOF
30032 rm -f conftest.$ac_objext conftest$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034   (eval $ac_link) 2>conftest.er1
30035   ac_status=$?
30036   grep -v '^ *+' conftest.er1 >conftest.err
30037   rm -f conftest.er1
30038   cat conftest.err >&5
30039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040   (exit $ac_status); } &&
30041          { ac_try='test -z "$ac_c_werror_flag"
30042                          || test ! -s conftest.err'
30043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044   (eval $ac_try) 2>&5
30045   ac_status=$?
30046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047   (exit $ac_status); }; } &&
30048          { ac_try='test -s conftest$ac_exeext'
30049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050   (eval $ac_try) 2>&5
30051   ac_status=$?
30052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053   (exit $ac_status); }; }; then
30054   eval "$as_ac_var=yes"
30055 else
30056   echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.$ac_ext >&5
30058
30059 eval "$as_ac_var=no"
30060 fi
30061 rm -f conftest.err conftest.$ac_objext \
30062       conftest$ac_exeext conftest.$ac_ext
30063 fi
30064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30066 if test `eval echo '${'$as_ac_var'}'` = yes; then
30067   cat >>confdefs.h <<_ACEOF
30068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30069 _ACEOF
30070
30071 fi
30072 done
30073
30074     fi
30075   fi
30076
30077
30078
30079
30080
30081
30082   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30083 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30084   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30085     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30086   echo $ECHO_N "(cached) $ECHO_C" >&6
30087 else
30088
30089
30090
30091       ac_ext=cc
30092 ac_cpp='$CXXCPP $CPPFLAGS'
30093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30096
30097       cat >conftest.$ac_ext <<_ACEOF
30098 /* confdefs.h.  */
30099 _ACEOF
30100 cat confdefs.h >>conftest.$ac_ext
30101 cat >>conftest.$ac_ext <<_ACEOF
30102 /* end confdefs.h.  */
30103 #include <math.h>
30104                       #ifdef HAVE_IEEEFP_H
30105                       #include <ieeefp.h>
30106                       #endif
30107
30108 int
30109 main ()
30110 {
30111  isinfl(0);
30112   ;
30113   return 0;
30114 }
30115 _ACEOF
30116 rm -f conftest.$ac_objext
30117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30118   (eval $ac_compile) 2>conftest.er1
30119   ac_status=$?
30120   grep -v '^ *+' conftest.er1 >conftest.err
30121   rm -f conftest.er1
30122   cat conftest.err >&5
30123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124   (exit $ac_status); } &&
30125          { ac_try='test -z "$ac_cxx_werror_flag"
30126                          || test ! -s conftest.err'
30127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30128   (eval $ac_try) 2>&5
30129   ac_status=$?
30130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131   (exit $ac_status); }; } &&
30132          { ac_try='test -s conftest.$ac_objext'
30133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134   (eval $ac_try) 2>&5
30135   ac_status=$?
30136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137   (exit $ac_status); }; }; then
30138   glibcxx_cv_func_isinfl_use=yes
30139 else
30140   echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30142
30143 glibcxx_cv_func_isinfl_use=no
30144 fi
30145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30146       ac_ext=c
30147 ac_cpp='$CPP $CPPFLAGS'
30148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30151
30152
30153 fi
30154
30155   fi
30156   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30157 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30158
30159   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30160
30161 for ac_func in isinfl
30162 do
30163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30164 echo "$as_me:$LINENO: checking for $ac_func" >&5
30165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30166 if eval "test \"\${$as_ac_var+set}\" = set"; then
30167   echo $ECHO_N "(cached) $ECHO_C" >&6
30168 else
30169   if test x$gcc_no_link = xyes; then
30170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30172    { (exit 1); exit 1; }; }
30173 fi
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h.  */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h.  */
30180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30182 #define $ac_func innocuous_$ac_func
30183
30184 /* System header to define __stub macros and hopefully few prototypes,
30185     which can conflict with char $ac_func (); below.
30186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30187     <limits.h> exists even on freestanding compilers.  */
30188
30189 #ifdef __STDC__
30190 # include <limits.h>
30191 #else
30192 # include <assert.h>
30193 #endif
30194
30195 #undef $ac_func
30196
30197 /* Override any gcc2 internal prototype to avoid an error.  */
30198 #ifdef __cplusplus
30199 extern "C"
30200 {
30201 #endif
30202 /* We use char because int might match the return type of a gcc2
30203    builtin and then its argument prototype would still apply.  */
30204 char $ac_func ();
30205 /* The GNU C library defines this for functions which it implements
30206     to always fail with ENOSYS.  Some functions are actually named
30207     something starting with __ and the normal name is an alias.  */
30208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30209 choke me
30210 #else
30211 char (*f) () = $ac_func;
30212 #endif
30213 #ifdef __cplusplus
30214 }
30215 #endif
30216
30217 int
30218 main ()
30219 {
30220 return f != $ac_func;
30221   ;
30222   return 0;
30223 }
30224 _ACEOF
30225 rm -f conftest.$ac_objext conftest$ac_exeext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30227   (eval $ac_link) 2>conftest.er1
30228   ac_status=$?
30229   grep -v '^ *+' conftest.er1 >conftest.err
30230   rm -f conftest.er1
30231   cat conftest.err >&5
30232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233   (exit $ac_status); } &&
30234          { ac_try='test -z "$ac_c_werror_flag"
30235                          || test ! -s conftest.err'
30236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237   (eval $ac_try) 2>&5
30238   ac_status=$?
30239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240   (exit $ac_status); }; } &&
30241          { ac_try='test -s conftest$ac_exeext'
30242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30243   (eval $ac_try) 2>&5
30244   ac_status=$?
30245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246   (exit $ac_status); }; }; then
30247   eval "$as_ac_var=yes"
30248 else
30249   echo "$as_me: failed program was:" >&5
30250 sed 's/^/| /' conftest.$ac_ext >&5
30251
30252 eval "$as_ac_var=no"
30253 fi
30254 rm -f conftest.err conftest.$ac_objext \
30255       conftest$ac_exeext conftest.$ac_ext
30256 fi
30257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30259 if test `eval echo '${'$as_ac_var'}'` = yes; then
30260   cat >>confdefs.h <<_ACEOF
30261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262 _ACEOF
30263
30264 fi
30265 done
30266
30267   else
30268
30269   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30270 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30271   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30272     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30273   echo $ECHO_N "(cached) $ECHO_C" >&6
30274 else
30275
30276
30277
30278       ac_ext=cc
30279 ac_cpp='$CXXCPP $CPPFLAGS'
30280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30283
30284       cat >conftest.$ac_ext <<_ACEOF
30285 /* confdefs.h.  */
30286 _ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h.  */
30290 #include <math.h>
30291                       #ifdef HAVE_IEEEFP_H
30292                       #include <ieeefp.h>
30293                       #endif
30294
30295 int
30296 main ()
30297 {
30298  _isinfl(0);
30299   ;
30300   return 0;
30301 }
30302 _ACEOF
30303 rm -f conftest.$ac_objext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30305   (eval $ac_compile) 2>conftest.er1
30306   ac_status=$?
30307   grep -v '^ *+' conftest.er1 >conftest.err
30308   rm -f conftest.er1
30309   cat conftest.err >&5
30310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311   (exit $ac_status); } &&
30312          { ac_try='test -z "$ac_cxx_werror_flag"
30313                          || test ! -s conftest.err'
30314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315   (eval $ac_try) 2>&5
30316   ac_status=$?
30317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318   (exit $ac_status); }; } &&
30319          { ac_try='test -s conftest.$ac_objext'
30320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321   (eval $ac_try) 2>&5
30322   ac_status=$?
30323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324   (exit $ac_status); }; }; then
30325   glibcxx_cv_func__isinfl_use=yes
30326 else
30327   echo "$as_me: failed program was:" >&5
30328 sed 's/^/| /' conftest.$ac_ext >&5
30329
30330 glibcxx_cv_func__isinfl_use=no
30331 fi
30332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30333       ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30338
30339
30340 fi
30341
30342   fi
30343   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30344 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30345
30346     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30347
30348 for ac_func in _isinfl
30349 do
30350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30351 echo "$as_me:$LINENO: checking for $ac_func" >&5
30352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30353 if eval "test \"\${$as_ac_var+set}\" = set"; then
30354   echo $ECHO_N "(cached) $ECHO_C" >&6
30355 else
30356   if test x$gcc_no_link = xyes; then
30357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30359    { (exit 1); exit 1; }; }
30360 fi
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h.  */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h.  */
30367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30369 #define $ac_func innocuous_$ac_func
30370
30371 /* System header to define __stub macros and hopefully few prototypes,
30372     which can conflict with char $ac_func (); below.
30373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30374     <limits.h> exists even on freestanding compilers.  */
30375
30376 #ifdef __STDC__
30377 # include <limits.h>
30378 #else
30379 # include <assert.h>
30380 #endif
30381
30382 #undef $ac_func
30383
30384 /* Override any gcc2 internal prototype to avoid an error.  */
30385 #ifdef __cplusplus
30386 extern "C"
30387 {
30388 #endif
30389 /* We use char because int might match the return type of a gcc2
30390    builtin and then its argument prototype would still apply.  */
30391 char $ac_func ();
30392 /* The GNU C library defines this for functions which it implements
30393     to always fail with ENOSYS.  Some functions are actually named
30394     something starting with __ and the normal name is an alias.  */
30395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30396 choke me
30397 #else
30398 char (*f) () = $ac_func;
30399 #endif
30400 #ifdef __cplusplus
30401 }
30402 #endif
30403
30404 int
30405 main ()
30406 {
30407 return f != $ac_func;
30408   ;
30409   return 0;
30410 }
30411 _ACEOF
30412 rm -f conftest.$ac_objext conftest$ac_exeext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30414   (eval $ac_link) 2>conftest.er1
30415   ac_status=$?
30416   grep -v '^ *+' conftest.er1 >conftest.err
30417   rm -f conftest.er1
30418   cat conftest.err >&5
30419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420   (exit $ac_status); } &&
30421          { ac_try='test -z "$ac_c_werror_flag"
30422                          || test ! -s conftest.err'
30423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424   (eval $ac_try) 2>&5
30425   ac_status=$?
30426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427   (exit $ac_status); }; } &&
30428          { ac_try='test -s conftest$ac_exeext'
30429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430   (eval $ac_try) 2>&5
30431   ac_status=$?
30432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433   (exit $ac_status); }; }; then
30434   eval "$as_ac_var=yes"
30435 else
30436   echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30438
30439 eval "$as_ac_var=no"
30440 fi
30441 rm -f conftest.err conftest.$ac_objext \
30442       conftest$ac_exeext conftest.$ac_ext
30443 fi
30444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30446 if test `eval echo '${'$as_ac_var'}'` = yes; then
30447   cat >>confdefs.h <<_ACEOF
30448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30449 _ACEOF
30450
30451 fi
30452 done
30453
30454     fi
30455   fi
30456
30457
30458
30459
30460
30461
30462   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30463 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30464   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30465     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30466   echo $ECHO_N "(cached) $ECHO_C" >&6
30467 else
30468
30469
30470
30471       ac_ext=cc
30472 ac_cpp='$CXXCPP $CPPFLAGS'
30473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30476
30477       cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h.  */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h.  */
30483 #include <math.h>
30484 int
30485 main ()
30486 {
30487  copysignl(0, 0);
30488   ;
30489   return 0;
30490 }
30491 _ACEOF
30492 rm -f conftest.$ac_objext
30493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30494   (eval $ac_compile) 2>conftest.er1
30495   ac_status=$?
30496   grep -v '^ *+' conftest.er1 >conftest.err
30497   rm -f conftest.er1
30498   cat conftest.err >&5
30499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500   (exit $ac_status); } &&
30501          { ac_try='test -z "$ac_cxx_werror_flag"
30502                          || test ! -s conftest.err'
30503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504   (eval $ac_try) 2>&5
30505   ac_status=$?
30506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507   (exit $ac_status); }; } &&
30508          { ac_try='test -s conftest.$ac_objext'
30509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510   (eval $ac_try) 2>&5
30511   ac_status=$?
30512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513   (exit $ac_status); }; }; then
30514   glibcxx_cv_func_copysignl_use=yes
30515 else
30516   echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.$ac_ext >&5
30518
30519 glibcxx_cv_func_copysignl_use=no
30520 fi
30521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30522       ac_ext=c
30523 ac_cpp='$CPP $CPPFLAGS'
30524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527
30528
30529 fi
30530
30531   fi
30532   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30533 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30534
30535   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30536
30537 for ac_func in copysignl
30538 do
30539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 echo "$as_me:$LINENO: checking for $ac_func" >&5
30541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30542 if eval "test \"\${$as_ac_var+set}\" = set"; then
30543   echo $ECHO_N "(cached) $ECHO_C" >&6
30544 else
30545   if test x$gcc_no_link = xyes; then
30546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30548    { (exit 1); exit 1; }; }
30549 fi
30550 cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h.  */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h.  */
30556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30558 #define $ac_func innocuous_$ac_func
30559
30560 /* System header to define __stub macros and hopefully few prototypes,
30561     which can conflict with char $ac_func (); below.
30562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30563     <limits.h> exists even on freestanding compilers.  */
30564
30565 #ifdef __STDC__
30566 # include <limits.h>
30567 #else
30568 # include <assert.h>
30569 #endif
30570
30571 #undef $ac_func
30572
30573 /* Override any gcc2 internal prototype to avoid an error.  */
30574 #ifdef __cplusplus
30575 extern "C"
30576 {
30577 #endif
30578 /* We use char because int might match the return type of a gcc2
30579    builtin and then its argument prototype would still apply.  */
30580 char $ac_func ();
30581 /* The GNU C library defines this for functions which it implements
30582     to always fail with ENOSYS.  Some functions are actually named
30583     something starting with __ and the normal name is an alias.  */
30584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30585 choke me
30586 #else
30587 char (*f) () = $ac_func;
30588 #endif
30589 #ifdef __cplusplus
30590 }
30591 #endif
30592
30593 int
30594 main ()
30595 {
30596 return f != $ac_func;
30597   ;
30598   return 0;
30599 }
30600 _ACEOF
30601 rm -f conftest.$ac_objext conftest$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603   (eval $ac_link) 2>conftest.er1
30604   ac_status=$?
30605   grep -v '^ *+' conftest.er1 >conftest.err
30606   rm -f conftest.er1
30607   cat conftest.err >&5
30608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609   (exit $ac_status); } &&
30610          { ac_try='test -z "$ac_c_werror_flag"
30611                          || test ! -s conftest.err'
30612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613   (eval $ac_try) 2>&5
30614   ac_status=$?
30615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616   (exit $ac_status); }; } &&
30617          { ac_try='test -s conftest$ac_exeext'
30618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619   (eval $ac_try) 2>&5
30620   ac_status=$?
30621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622   (exit $ac_status); }; }; then
30623   eval "$as_ac_var=yes"
30624 else
30625   echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30627
30628 eval "$as_ac_var=no"
30629 fi
30630 rm -f conftest.err conftest.$ac_objext \
30631       conftest$ac_exeext conftest.$ac_ext
30632 fi
30633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30635 if test `eval echo '${'$as_ac_var'}'` = yes; then
30636   cat >>confdefs.h <<_ACEOF
30637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30638 _ACEOF
30639
30640 fi
30641 done
30642
30643   else
30644
30645   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30646 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30647   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30648     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30649   echo $ECHO_N "(cached) $ECHO_C" >&6
30650 else
30651
30652
30653
30654       ac_ext=cc
30655 ac_cpp='$CXXCPP $CPPFLAGS'
30656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30659
30660       cat >conftest.$ac_ext <<_ACEOF
30661 /* confdefs.h.  */
30662 _ACEOF
30663 cat confdefs.h >>conftest.$ac_ext
30664 cat >>conftest.$ac_ext <<_ACEOF
30665 /* end confdefs.h.  */
30666 #include <math.h>
30667 int
30668 main ()
30669 {
30670  _copysignl(0, 0);
30671   ;
30672   return 0;
30673 }
30674 _ACEOF
30675 rm -f conftest.$ac_objext
30676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30677   (eval $ac_compile) 2>conftest.er1
30678   ac_status=$?
30679   grep -v '^ *+' conftest.er1 >conftest.err
30680   rm -f conftest.er1
30681   cat conftest.err >&5
30682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683   (exit $ac_status); } &&
30684          { ac_try='test -z "$ac_cxx_werror_flag"
30685                          || test ! -s conftest.err'
30686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687   (eval $ac_try) 2>&5
30688   ac_status=$?
30689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690   (exit $ac_status); }; } &&
30691          { ac_try='test -s conftest.$ac_objext'
30692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693   (eval $ac_try) 2>&5
30694   ac_status=$?
30695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696   (exit $ac_status); }; }; then
30697   glibcxx_cv_func__copysignl_use=yes
30698 else
30699   echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30701
30702 glibcxx_cv_func__copysignl_use=no
30703 fi
30704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705       ac_ext=c
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710
30711
30712 fi
30713
30714   fi
30715   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30716 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30717
30718     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30719
30720 for ac_func in _copysignl
30721 do
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726   echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728   if test x$gcc_no_link = xyes; then
30729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30731    { (exit 1); exit 1; }; }
30732 fi
30733 cat >conftest.$ac_ext <<_ACEOF
30734 /* confdefs.h.  */
30735 _ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h.  */
30739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30741 #define $ac_func innocuous_$ac_func
30742
30743 /* System header to define __stub macros and hopefully few prototypes,
30744     which can conflict with char $ac_func (); below.
30745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30746     <limits.h> exists even on freestanding compilers.  */
30747
30748 #ifdef __STDC__
30749 # include <limits.h>
30750 #else
30751 # include <assert.h>
30752 #endif
30753
30754 #undef $ac_func
30755
30756 /* Override any gcc2 internal prototype to avoid an error.  */
30757 #ifdef __cplusplus
30758 extern "C"
30759 {
30760 #endif
30761 /* We use char because int might match the return type of a gcc2
30762    builtin and then its argument prototype would still apply.  */
30763 char $ac_func ();
30764 /* The GNU C library defines this for functions which it implements
30765     to always fail with ENOSYS.  Some functions are actually named
30766     something starting with __ and the normal name is an alias.  */
30767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30768 choke me
30769 #else
30770 char (*f) () = $ac_func;
30771 #endif
30772 #ifdef __cplusplus
30773 }
30774 #endif
30775
30776 int
30777 main ()
30778 {
30779 return f != $ac_func;
30780   ;
30781   return 0;
30782 }
30783 _ACEOF
30784 rm -f conftest.$ac_objext conftest$ac_exeext
30785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30786   (eval $ac_link) 2>conftest.er1
30787   ac_status=$?
30788   grep -v '^ *+' conftest.er1 >conftest.err
30789   rm -f conftest.er1
30790   cat conftest.err >&5
30791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792   (exit $ac_status); } &&
30793          { ac_try='test -z "$ac_c_werror_flag"
30794                          || test ! -s conftest.err'
30795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30796   (eval $ac_try) 2>&5
30797   ac_status=$?
30798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799   (exit $ac_status); }; } &&
30800          { ac_try='test -s conftest$ac_exeext'
30801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30802   (eval $ac_try) 2>&5
30803   ac_status=$?
30804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805   (exit $ac_status); }; }; then
30806   eval "$as_ac_var=yes"
30807 else
30808   echo "$as_me: failed program was:" >&5
30809 sed 's/^/| /' conftest.$ac_ext >&5
30810
30811 eval "$as_ac_var=no"
30812 fi
30813 rm -f conftest.err conftest.$ac_objext \
30814       conftest$ac_exeext conftest.$ac_ext
30815 fi
30816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30818 if test `eval echo '${'$as_ac_var'}'` = yes; then
30819   cat >>confdefs.h <<_ACEOF
30820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30821 _ACEOF
30822
30823 fi
30824 done
30825
30826     fi
30827   fi
30828
30829
30830
30831
30832
30833
30834   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30835 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30836   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30837     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30838   echo $ECHO_N "(cached) $ECHO_C" >&6
30839 else
30840
30841
30842
30843       ac_ext=cc
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30848
30849       cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h.  */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h.  */
30855 #include <math.h>
30856 int
30857 main ()
30858 {
30859  atan2l(0, 0);
30860   ;
30861   return 0;
30862 }
30863 _ACEOF
30864 rm -f conftest.$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866   (eval $ac_compile) 2>conftest.er1
30867   ac_status=$?
30868   grep -v '^ *+' conftest.er1 >conftest.err
30869   rm -f conftest.er1
30870   cat conftest.err >&5
30871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872   (exit $ac_status); } &&
30873          { ac_try='test -z "$ac_cxx_werror_flag"
30874                          || test ! -s conftest.err'
30875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876   (eval $ac_try) 2>&5
30877   ac_status=$?
30878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879   (exit $ac_status); }; } &&
30880          { ac_try='test -s conftest.$ac_objext'
30881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882   (eval $ac_try) 2>&5
30883   ac_status=$?
30884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885   (exit $ac_status); }; }; then
30886   glibcxx_cv_func_atan2l_use=yes
30887 else
30888   echo "$as_me: failed program was:" >&5
30889 sed 's/^/| /' conftest.$ac_ext >&5
30890
30891 glibcxx_cv_func_atan2l_use=no
30892 fi
30893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30894       ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30899
30900
30901 fi
30902
30903   fi
30904   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30905 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30906
30907   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30908
30909 for ac_func in atan2l
30910 do
30911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30912 echo "$as_me:$LINENO: checking for $ac_func" >&5
30913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30914 if eval "test \"\${$as_ac_var+set}\" = set"; then
30915   echo $ECHO_N "(cached) $ECHO_C" >&6
30916 else
30917   if test x$gcc_no_link = xyes; then
30918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30920    { (exit 1); exit 1; }; }
30921 fi
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h.  */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h.  */
30928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30930 #define $ac_func innocuous_$ac_func
30931
30932 /* System header to define __stub macros and hopefully few prototypes,
30933     which can conflict with char $ac_func (); below.
30934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30935     <limits.h> exists even on freestanding compilers.  */
30936
30937 #ifdef __STDC__
30938 # include <limits.h>
30939 #else
30940 # include <assert.h>
30941 #endif
30942
30943 #undef $ac_func
30944
30945 /* Override any gcc2 internal prototype to avoid an error.  */
30946 #ifdef __cplusplus
30947 extern "C"
30948 {
30949 #endif
30950 /* We use char because int might match the return type of a gcc2
30951    builtin and then its argument prototype would still apply.  */
30952 char $ac_func ();
30953 /* The GNU C library defines this for functions which it implements
30954     to always fail with ENOSYS.  Some functions are actually named
30955     something starting with __ and the normal name is an alias.  */
30956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30957 choke me
30958 #else
30959 char (*f) () = $ac_func;
30960 #endif
30961 #ifdef __cplusplus
30962 }
30963 #endif
30964
30965 int
30966 main ()
30967 {
30968 return f != $ac_func;
30969   ;
30970   return 0;
30971 }
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975   (eval $ac_link) 2>conftest.er1
30976   ac_status=$?
30977   grep -v '^ *+' conftest.er1 >conftest.err
30978   rm -f conftest.er1
30979   cat conftest.err >&5
30980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981   (exit $ac_status); } &&
30982          { ac_try='test -z "$ac_c_werror_flag"
30983                          || test ! -s conftest.err'
30984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30985   (eval $ac_try) 2>&5
30986   ac_status=$?
30987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988   (exit $ac_status); }; } &&
30989          { ac_try='test -s conftest$ac_exeext'
30990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991   (eval $ac_try) 2>&5
30992   ac_status=$?
30993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994   (exit $ac_status); }; }; then
30995   eval "$as_ac_var=yes"
30996 else
30997   echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
30999
31000 eval "$as_ac_var=no"
31001 fi
31002 rm -f conftest.err conftest.$ac_objext \
31003       conftest$ac_exeext conftest.$ac_ext
31004 fi
31005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31007 if test `eval echo '${'$as_ac_var'}'` = yes; then
31008   cat >>confdefs.h <<_ACEOF
31009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31010 _ACEOF
31011
31012 fi
31013 done
31014
31015   else
31016
31017   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31018 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31019   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31020     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31021   echo $ECHO_N "(cached) $ECHO_C" >&6
31022 else
31023
31024
31025
31026       ac_ext=cc
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31031
31032       cat >conftest.$ac_ext <<_ACEOF
31033 /* confdefs.h.  */
31034 _ACEOF
31035 cat confdefs.h >>conftest.$ac_ext
31036 cat >>conftest.$ac_ext <<_ACEOF
31037 /* end confdefs.h.  */
31038 #include <math.h>
31039 int
31040 main ()
31041 {
31042  _atan2l(0, 0);
31043   ;
31044   return 0;
31045 }
31046 _ACEOF
31047 rm -f conftest.$ac_objext
31048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31049   (eval $ac_compile) 2>conftest.er1
31050   ac_status=$?
31051   grep -v '^ *+' conftest.er1 >conftest.err
31052   rm -f conftest.er1
31053   cat conftest.err >&5
31054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055   (exit $ac_status); } &&
31056          { ac_try='test -z "$ac_cxx_werror_flag"
31057                          || test ! -s conftest.err'
31058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059   (eval $ac_try) 2>&5
31060   ac_status=$?
31061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062   (exit $ac_status); }; } &&
31063          { ac_try='test -s conftest.$ac_objext'
31064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065   (eval $ac_try) 2>&5
31066   ac_status=$?
31067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068   (exit $ac_status); }; }; then
31069   glibcxx_cv_func__atan2l_use=yes
31070 else
31071   echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31073
31074 glibcxx_cv_func__atan2l_use=no
31075 fi
31076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31077       ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082
31083
31084 fi
31085
31086   fi
31087   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31088 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31089
31090     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31091
31092 for ac_func in _atan2l
31093 do
31094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31095 echo "$as_me:$LINENO: checking for $ac_func" >&5
31096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31097 if eval "test \"\${$as_ac_var+set}\" = set"; then
31098   echo $ECHO_N "(cached) $ECHO_C" >&6
31099 else
31100   if test x$gcc_no_link = xyes; then
31101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31103    { (exit 1); exit 1; }; }
31104 fi
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h.  */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h.  */
31111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31113 #define $ac_func innocuous_$ac_func
31114
31115 /* System header to define __stub macros and hopefully few prototypes,
31116     which can conflict with char $ac_func (); below.
31117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31118     <limits.h> exists even on freestanding compilers.  */
31119
31120 #ifdef __STDC__
31121 # include <limits.h>
31122 #else
31123 # include <assert.h>
31124 #endif
31125
31126 #undef $ac_func
31127
31128 /* Override any gcc2 internal prototype to avoid an error.  */
31129 #ifdef __cplusplus
31130 extern "C"
31131 {
31132 #endif
31133 /* We use char because int might match the return type of a gcc2
31134    builtin and then its argument prototype would still apply.  */
31135 char $ac_func ();
31136 /* The GNU C library defines this for functions which it implements
31137     to always fail with ENOSYS.  Some functions are actually named
31138     something starting with __ and the normal name is an alias.  */
31139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31140 choke me
31141 #else
31142 char (*f) () = $ac_func;
31143 #endif
31144 #ifdef __cplusplus
31145 }
31146 #endif
31147
31148 int
31149 main ()
31150 {
31151 return f != $ac_func;
31152   ;
31153   return 0;
31154 }
31155 _ACEOF
31156 rm -f conftest.$ac_objext conftest$ac_exeext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31158   (eval $ac_link) 2>conftest.er1
31159   ac_status=$?
31160   grep -v '^ *+' conftest.er1 >conftest.err
31161   rm -f conftest.er1
31162   cat conftest.err >&5
31163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164   (exit $ac_status); } &&
31165          { ac_try='test -z "$ac_c_werror_flag"
31166                          || test ! -s conftest.err'
31167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168   (eval $ac_try) 2>&5
31169   ac_status=$?
31170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171   (exit $ac_status); }; } &&
31172          { ac_try='test -s conftest$ac_exeext'
31173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174   (eval $ac_try) 2>&5
31175   ac_status=$?
31176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177   (exit $ac_status); }; }; then
31178   eval "$as_ac_var=yes"
31179 else
31180   echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31182
31183 eval "$as_ac_var=no"
31184 fi
31185 rm -f conftest.err conftest.$ac_objext \
31186       conftest$ac_exeext conftest.$ac_ext
31187 fi
31188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31190 if test `eval echo '${'$as_ac_var'}'` = yes; then
31191   cat >>confdefs.h <<_ACEOF
31192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31193 _ACEOF
31194
31195 fi
31196 done
31197
31198     fi
31199   fi
31200
31201
31202
31203
31204
31205
31206   echo "$as_me:$LINENO: checking for expl declaration" >&5
31207 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31208   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31209     if test "${glibcxx_cv_func_expl_use+set}" = set; then
31210   echo $ECHO_N "(cached) $ECHO_C" >&6
31211 else
31212
31213
31214
31215       ac_ext=cc
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220
31221       cat >conftest.$ac_ext <<_ACEOF
31222 /* confdefs.h.  */
31223 _ACEOF
31224 cat confdefs.h >>conftest.$ac_ext
31225 cat >>conftest.$ac_ext <<_ACEOF
31226 /* end confdefs.h.  */
31227 #include <math.h>
31228                       #ifdef HAVE_IEEEFP_H
31229                       #include <ieeefp.h>
31230                       #endif
31231
31232 int
31233 main ()
31234 {
31235  expl(0);
31236   ;
31237   return 0;
31238 }
31239 _ACEOF
31240 rm -f conftest.$ac_objext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31242   (eval $ac_compile) 2>conftest.er1
31243   ac_status=$?
31244   grep -v '^ *+' conftest.er1 >conftest.err
31245   rm -f conftest.er1
31246   cat conftest.err >&5
31247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248   (exit $ac_status); } &&
31249          { ac_try='test -z "$ac_cxx_werror_flag"
31250                          || test ! -s conftest.err'
31251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252   (eval $ac_try) 2>&5
31253   ac_status=$?
31254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255   (exit $ac_status); }; } &&
31256          { ac_try='test -s conftest.$ac_objext'
31257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258   (eval $ac_try) 2>&5
31259   ac_status=$?
31260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261   (exit $ac_status); }; }; then
31262   glibcxx_cv_func_expl_use=yes
31263 else
31264   echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31266
31267 glibcxx_cv_func_expl_use=no
31268 fi
31269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31270       ac_ext=c
31271 ac_cpp='$CPP $CPPFLAGS'
31272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31275
31276
31277 fi
31278
31279   fi
31280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31281 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31282
31283   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31284
31285 for ac_func in expl
31286 do
31287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31288 echo "$as_me:$LINENO: checking for $ac_func" >&5
31289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31290 if eval "test \"\${$as_ac_var+set}\" = set"; then
31291   echo $ECHO_N "(cached) $ECHO_C" >&6
31292 else
31293   if test x$gcc_no_link = xyes; then
31294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31296    { (exit 1); exit 1; }; }
31297 fi
31298 cat >conftest.$ac_ext <<_ACEOF
31299 /* confdefs.h.  */
31300 _ACEOF
31301 cat confdefs.h >>conftest.$ac_ext
31302 cat >>conftest.$ac_ext <<_ACEOF
31303 /* end confdefs.h.  */
31304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31306 #define $ac_func innocuous_$ac_func
31307
31308 /* System header to define __stub macros and hopefully few prototypes,
31309     which can conflict with char $ac_func (); below.
31310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31311     <limits.h> exists even on freestanding compilers.  */
31312
31313 #ifdef __STDC__
31314 # include <limits.h>
31315 #else
31316 # include <assert.h>
31317 #endif
31318
31319 #undef $ac_func
31320
31321 /* Override any gcc2 internal prototype to avoid an error.  */
31322 #ifdef __cplusplus
31323 extern "C"
31324 {
31325 #endif
31326 /* We use char because int might match the return type of a gcc2
31327    builtin and then its argument prototype would still apply.  */
31328 char $ac_func ();
31329 /* The GNU C library defines this for functions which it implements
31330     to always fail with ENOSYS.  Some functions are actually named
31331     something starting with __ and the normal name is an alias.  */
31332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31333 choke me
31334 #else
31335 char (*f) () = $ac_func;
31336 #endif
31337 #ifdef __cplusplus
31338 }
31339 #endif
31340
31341 int
31342 main ()
31343 {
31344 return f != $ac_func;
31345   ;
31346   return 0;
31347 }
31348 _ACEOF
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31351   (eval $ac_link) 2>conftest.er1
31352   ac_status=$?
31353   grep -v '^ *+' conftest.er1 >conftest.err
31354   rm -f conftest.er1
31355   cat conftest.err >&5
31356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357   (exit $ac_status); } &&
31358          { ac_try='test -z "$ac_c_werror_flag"
31359                          || test ! -s conftest.err'
31360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361   (eval $ac_try) 2>&5
31362   ac_status=$?
31363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364   (exit $ac_status); }; } &&
31365          { ac_try='test -s conftest$ac_exeext'
31366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367   (eval $ac_try) 2>&5
31368   ac_status=$?
31369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370   (exit $ac_status); }; }; then
31371   eval "$as_ac_var=yes"
31372 else
31373   echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 eval "$as_ac_var=no"
31377 fi
31378 rm -f conftest.err conftest.$ac_objext \
31379       conftest$ac_exeext conftest.$ac_ext
31380 fi
31381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31383 if test `eval echo '${'$as_ac_var'}'` = yes; then
31384   cat >>confdefs.h <<_ACEOF
31385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31386 _ACEOF
31387
31388 fi
31389 done
31390
31391   else
31392
31393   echo "$as_me:$LINENO: checking for _expl declaration" >&5
31394 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31395   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31396     if test "${glibcxx_cv_func__expl_use+set}" = set; then
31397   echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399
31400
31401
31402       ac_ext=cc
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31407
31408       cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h.  */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h.  */
31414 #include <math.h>
31415                       #ifdef HAVE_IEEEFP_H
31416                       #include <ieeefp.h>
31417                       #endif
31418
31419 int
31420 main ()
31421 {
31422  _expl(0);
31423   ;
31424   return 0;
31425 }
31426 _ACEOF
31427 rm -f conftest.$ac_objext
31428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31429   (eval $ac_compile) 2>conftest.er1
31430   ac_status=$?
31431   grep -v '^ *+' conftest.er1 >conftest.err
31432   rm -f conftest.er1
31433   cat conftest.err >&5
31434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435   (exit $ac_status); } &&
31436          { ac_try='test -z "$ac_cxx_werror_flag"
31437                          || test ! -s conftest.err'
31438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31439   (eval $ac_try) 2>&5
31440   ac_status=$?
31441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442   (exit $ac_status); }; } &&
31443          { ac_try='test -s conftest.$ac_objext'
31444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445   (eval $ac_try) 2>&5
31446   ac_status=$?
31447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448   (exit $ac_status); }; }; then
31449   glibcxx_cv_func__expl_use=yes
31450 else
31451   echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.$ac_ext >&5
31453
31454 glibcxx_cv_func__expl_use=no
31455 fi
31456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31457       ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31462
31463
31464 fi
31465
31466   fi
31467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31468 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31469
31470     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31471
31472 for ac_func in _expl
31473 do
31474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31475 echo "$as_me:$LINENO: checking for $ac_func" >&5
31476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31477 if eval "test \"\${$as_ac_var+set}\" = set"; then
31478   echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480   if test x$gcc_no_link = xyes; then
31481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31483    { (exit 1); exit 1; }; }
31484 fi
31485 cat >conftest.$ac_ext <<_ACEOF
31486 /* confdefs.h.  */
31487 _ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h.  */
31491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31493 #define $ac_func innocuous_$ac_func
31494
31495 /* System header to define __stub macros and hopefully few prototypes,
31496     which can conflict with char $ac_func (); below.
31497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31498     <limits.h> exists even on freestanding compilers.  */
31499
31500 #ifdef __STDC__
31501 # include <limits.h>
31502 #else
31503 # include <assert.h>
31504 #endif
31505
31506 #undef $ac_func
31507
31508 /* Override any gcc2 internal prototype to avoid an error.  */
31509 #ifdef __cplusplus
31510 extern "C"
31511 {
31512 #endif
31513 /* We use char because int might match the return type of a gcc2
31514    builtin and then its argument prototype would still apply.  */
31515 char $ac_func ();
31516 /* The GNU C library defines this for functions which it implements
31517     to always fail with ENOSYS.  Some functions are actually named
31518     something starting with __ and the normal name is an alias.  */
31519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31520 choke me
31521 #else
31522 char (*f) () = $ac_func;
31523 #endif
31524 #ifdef __cplusplus
31525 }
31526 #endif
31527
31528 int
31529 main ()
31530 {
31531 return f != $ac_func;
31532   ;
31533   return 0;
31534 }
31535 _ACEOF
31536 rm -f conftest.$ac_objext conftest$ac_exeext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31538   (eval $ac_link) 2>conftest.er1
31539   ac_status=$?
31540   grep -v '^ *+' conftest.er1 >conftest.err
31541   rm -f conftest.er1
31542   cat conftest.err >&5
31543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544   (exit $ac_status); } &&
31545          { ac_try='test -z "$ac_c_werror_flag"
31546                          || test ! -s conftest.err'
31547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548   (eval $ac_try) 2>&5
31549   ac_status=$?
31550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551   (exit $ac_status); }; } &&
31552          { ac_try='test -s conftest$ac_exeext'
31553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554   (eval $ac_try) 2>&5
31555   ac_status=$?
31556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557   (exit $ac_status); }; }; then
31558   eval "$as_ac_var=yes"
31559 else
31560   echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31562
31563 eval "$as_ac_var=no"
31564 fi
31565 rm -f conftest.err conftest.$ac_objext \
31566       conftest$ac_exeext conftest.$ac_ext
31567 fi
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31570 if test `eval echo '${'$as_ac_var'}'` = yes; then
31571   cat >>confdefs.h <<_ACEOF
31572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 _ACEOF
31574
31575 fi
31576 done
31577
31578     fi
31579   fi
31580
31581
31582
31583
31584
31585
31586   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31587 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31588   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31589     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31590   echo $ECHO_N "(cached) $ECHO_C" >&6
31591 else
31592
31593
31594
31595       ac_ext=cc
31596 ac_cpp='$CXXCPP $CPPFLAGS'
31597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31600
31601       cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h.  */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h.  */
31607 #include <math.h>
31608                       #ifdef HAVE_IEEEFP_H
31609                       #include <ieeefp.h>
31610                       #endif
31611
31612 int
31613 main ()
31614 {
31615  fabsl(0);
31616   ;
31617   return 0;
31618 }
31619 _ACEOF
31620 rm -f conftest.$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622   (eval $ac_compile) 2>conftest.er1
31623   ac_status=$?
31624   grep -v '^ *+' conftest.er1 >conftest.err
31625   rm -f conftest.er1
31626   cat conftest.err >&5
31627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628   (exit $ac_status); } &&
31629          { ac_try='test -z "$ac_cxx_werror_flag"
31630                          || test ! -s conftest.err'
31631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632   (eval $ac_try) 2>&5
31633   ac_status=$?
31634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635   (exit $ac_status); }; } &&
31636          { ac_try='test -s conftest.$ac_objext'
31637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638   (eval $ac_try) 2>&5
31639   ac_status=$?
31640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641   (exit $ac_status); }; }; then
31642   glibcxx_cv_func_fabsl_use=yes
31643 else
31644   echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31646
31647 glibcxx_cv_func_fabsl_use=no
31648 fi
31649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31650       ac_ext=c
31651 ac_cpp='$CPP $CPPFLAGS'
31652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31655
31656
31657 fi
31658
31659   fi
31660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31661 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31662
31663   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31664
31665 for ac_func in fabsl
31666 do
31667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31668 echo "$as_me:$LINENO: checking for $ac_func" >&5
31669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31670 if eval "test \"\${$as_ac_var+set}\" = set"; then
31671   echo $ECHO_N "(cached) $ECHO_C" >&6
31672 else
31673   if test x$gcc_no_link = xyes; then
31674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31676    { (exit 1); exit 1; }; }
31677 fi
31678 cat >conftest.$ac_ext <<_ACEOF
31679 /* confdefs.h.  */
31680 _ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h.  */
31684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31686 #define $ac_func innocuous_$ac_func
31687
31688 /* System header to define __stub macros and hopefully few prototypes,
31689     which can conflict with char $ac_func (); below.
31690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31691     <limits.h> exists even on freestanding compilers.  */
31692
31693 #ifdef __STDC__
31694 # include <limits.h>
31695 #else
31696 # include <assert.h>
31697 #endif
31698
31699 #undef $ac_func
31700
31701 /* Override any gcc2 internal prototype to avoid an error.  */
31702 #ifdef __cplusplus
31703 extern "C"
31704 {
31705 #endif
31706 /* We use char because int might match the return type of a gcc2
31707    builtin and then its argument prototype would still apply.  */
31708 char $ac_func ();
31709 /* The GNU C library defines this for functions which it implements
31710     to always fail with ENOSYS.  Some functions are actually named
31711     something starting with __ and the normal name is an alias.  */
31712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31713 choke me
31714 #else
31715 char (*f) () = $ac_func;
31716 #endif
31717 #ifdef __cplusplus
31718 }
31719 #endif
31720
31721 int
31722 main ()
31723 {
31724 return f != $ac_func;
31725   ;
31726   return 0;
31727 }
31728 _ACEOF
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31731   (eval $ac_link) 2>conftest.er1
31732   ac_status=$?
31733   grep -v '^ *+' conftest.er1 >conftest.err
31734   rm -f conftest.er1
31735   cat conftest.err >&5
31736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737   (exit $ac_status); } &&
31738          { ac_try='test -z "$ac_c_werror_flag"
31739                          || test ! -s conftest.err'
31740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31741   (eval $ac_try) 2>&5
31742   ac_status=$?
31743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744   (exit $ac_status); }; } &&
31745          { ac_try='test -s conftest$ac_exeext'
31746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747   (eval $ac_try) 2>&5
31748   ac_status=$?
31749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750   (exit $ac_status); }; }; then
31751   eval "$as_ac_var=yes"
31752 else
31753   echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31755
31756 eval "$as_ac_var=no"
31757 fi
31758 rm -f conftest.err conftest.$ac_objext \
31759       conftest$ac_exeext conftest.$ac_ext
31760 fi
31761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763 if test `eval echo '${'$as_ac_var'}'` = yes; then
31764   cat >>confdefs.h <<_ACEOF
31765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31766 _ACEOF
31767
31768 fi
31769 done
31770
31771   else
31772
31773   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31774 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31775   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31776     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31777   echo $ECHO_N "(cached) $ECHO_C" >&6
31778 else
31779
31780
31781
31782       ac_ext=cc
31783 ac_cpp='$CXXCPP $CPPFLAGS'
31784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31787
31788       cat >conftest.$ac_ext <<_ACEOF
31789 /* confdefs.h.  */
31790 _ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h.  */
31794 #include <math.h>
31795                       #ifdef HAVE_IEEEFP_H
31796                       #include <ieeefp.h>
31797                       #endif
31798
31799 int
31800 main ()
31801 {
31802  _fabsl(0);
31803   ;
31804   return 0;
31805 }
31806 _ACEOF
31807 rm -f conftest.$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809   (eval $ac_compile) 2>conftest.er1
31810   ac_status=$?
31811   grep -v '^ *+' conftest.er1 >conftest.err
31812   rm -f conftest.er1
31813   cat conftest.err >&5
31814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815   (exit $ac_status); } &&
31816          { ac_try='test -z "$ac_cxx_werror_flag"
31817                          || test ! -s conftest.err'
31818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819   (eval $ac_try) 2>&5
31820   ac_status=$?
31821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822   (exit $ac_status); }; } &&
31823          { ac_try='test -s conftest.$ac_objext'
31824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825   (eval $ac_try) 2>&5
31826   ac_status=$?
31827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828   (exit $ac_status); }; }; then
31829   glibcxx_cv_func__fabsl_use=yes
31830 else
31831   echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31833
31834 glibcxx_cv_func__fabsl_use=no
31835 fi
31836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31837       ac_ext=c
31838 ac_cpp='$CPP $CPPFLAGS'
31839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31842
31843
31844 fi
31845
31846   fi
31847   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31848 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31849
31850     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31851
31852 for ac_func in _fabsl
31853 do
31854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31855 echo "$as_me:$LINENO: checking for $ac_func" >&5
31856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31857 if eval "test \"\${$as_ac_var+set}\" = set"; then
31858   echo $ECHO_N "(cached) $ECHO_C" >&6
31859 else
31860   if test x$gcc_no_link = xyes; then
31861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31863    { (exit 1); exit 1; }; }
31864 fi
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h.  */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h.  */
31871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31873 #define $ac_func innocuous_$ac_func
31874
31875 /* System header to define __stub macros and hopefully few prototypes,
31876     which can conflict with char $ac_func (); below.
31877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31878     <limits.h> exists even on freestanding compilers.  */
31879
31880 #ifdef __STDC__
31881 # include <limits.h>
31882 #else
31883 # include <assert.h>
31884 #endif
31885
31886 #undef $ac_func
31887
31888 /* Override any gcc2 internal prototype to avoid an error.  */
31889 #ifdef __cplusplus
31890 extern "C"
31891 {
31892 #endif
31893 /* We use char because int might match the return type of a gcc2
31894    builtin and then its argument prototype would still apply.  */
31895 char $ac_func ();
31896 /* The GNU C library defines this for functions which it implements
31897     to always fail with ENOSYS.  Some functions are actually named
31898     something starting with __ and the normal name is an alias.  */
31899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31900 choke me
31901 #else
31902 char (*f) () = $ac_func;
31903 #endif
31904 #ifdef __cplusplus
31905 }
31906 #endif
31907
31908 int
31909 main ()
31910 {
31911 return f != $ac_func;
31912   ;
31913   return 0;
31914 }
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31918   (eval $ac_link) 2>conftest.er1
31919   ac_status=$?
31920   grep -v '^ *+' conftest.er1 >conftest.err
31921   rm -f conftest.er1
31922   cat conftest.err >&5
31923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924   (exit $ac_status); } &&
31925          { ac_try='test -z "$ac_c_werror_flag"
31926                          || test ! -s conftest.err'
31927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928   (eval $ac_try) 2>&5
31929   ac_status=$?
31930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931   (exit $ac_status); }; } &&
31932          { ac_try='test -s conftest$ac_exeext'
31933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934   (eval $ac_try) 2>&5
31935   ac_status=$?
31936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937   (exit $ac_status); }; }; then
31938   eval "$as_ac_var=yes"
31939 else
31940   echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31942
31943 eval "$as_ac_var=no"
31944 fi
31945 rm -f conftest.err conftest.$ac_objext \
31946       conftest$ac_exeext conftest.$ac_ext
31947 fi
31948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31950 if test `eval echo '${'$as_ac_var'}'` = yes; then
31951   cat >>confdefs.h <<_ACEOF
31952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31953 _ACEOF
31954
31955 fi
31956 done
31957
31958     fi
31959   fi
31960
31961
31962
31963
31964
31965
31966   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31967 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31968   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31969     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31970   echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31972
31973
31974
31975       ac_ext=cc
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980
31981       cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h.  */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h.  */
31987 #include <math.h>
31988 int
31989 main ()
31990 {
31991  fmodl(0, 0);
31992   ;
31993   return 0;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998   (eval $ac_compile) 2>conftest.er1
31999   ac_status=$?
32000   grep -v '^ *+' conftest.er1 >conftest.err
32001   rm -f conftest.er1
32002   cat conftest.err >&5
32003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004   (exit $ac_status); } &&
32005          { ac_try='test -z "$ac_cxx_werror_flag"
32006                          || test ! -s conftest.err'
32007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008   (eval $ac_try) 2>&5
32009   ac_status=$?
32010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011   (exit $ac_status); }; } &&
32012          { ac_try='test -s conftest.$ac_objext'
32013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014   (eval $ac_try) 2>&5
32015   ac_status=$?
32016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017   (exit $ac_status); }; }; then
32018   glibcxx_cv_func_fmodl_use=yes
32019 else
32020   echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32022
32023 glibcxx_cv_func_fmodl_use=no
32024 fi
32025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32026       ac_ext=c
32027 ac_cpp='$CPP $CPPFLAGS'
32028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32031
32032
32033 fi
32034
32035   fi
32036   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32037 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32038
32039   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32040
32041 for ac_func in fmodl
32042 do
32043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32044 echo "$as_me:$LINENO: checking for $ac_func" >&5
32045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32046 if eval "test \"\${$as_ac_var+set}\" = set"; then
32047   echo $ECHO_N "(cached) $ECHO_C" >&6
32048 else
32049   if test x$gcc_no_link = xyes; then
32050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32052    { (exit 1); exit 1; }; }
32053 fi
32054 cat >conftest.$ac_ext <<_ACEOF
32055 /* confdefs.h.  */
32056 _ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h.  */
32060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32062 #define $ac_func innocuous_$ac_func
32063
32064 /* System header to define __stub macros and hopefully few prototypes,
32065     which can conflict with char $ac_func (); below.
32066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32067     <limits.h> exists even on freestanding compilers.  */
32068
32069 #ifdef __STDC__
32070 # include <limits.h>
32071 #else
32072 # include <assert.h>
32073 #endif
32074
32075 #undef $ac_func
32076
32077 /* Override any gcc2 internal prototype to avoid an error.  */
32078 #ifdef __cplusplus
32079 extern "C"
32080 {
32081 #endif
32082 /* We use char because int might match the return type of a gcc2
32083    builtin and then its argument prototype would still apply.  */
32084 char $ac_func ();
32085 /* The GNU C library defines this for functions which it implements
32086     to always fail with ENOSYS.  Some functions are actually named
32087     something starting with __ and the normal name is an alias.  */
32088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32089 choke me
32090 #else
32091 char (*f) () = $ac_func;
32092 #endif
32093 #ifdef __cplusplus
32094 }
32095 #endif
32096
32097 int
32098 main ()
32099 {
32100 return f != $ac_func;
32101   ;
32102   return 0;
32103 }
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32107   (eval $ac_link) 2>conftest.er1
32108   ac_status=$?
32109   grep -v '^ *+' conftest.er1 >conftest.err
32110   rm -f conftest.er1
32111   cat conftest.err >&5
32112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113   (exit $ac_status); } &&
32114          { ac_try='test -z "$ac_c_werror_flag"
32115                          || test ! -s conftest.err'
32116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117   (eval $ac_try) 2>&5
32118   ac_status=$?
32119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120   (exit $ac_status); }; } &&
32121          { ac_try='test -s conftest$ac_exeext'
32122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123   (eval $ac_try) 2>&5
32124   ac_status=$?
32125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126   (exit $ac_status); }; }; then
32127   eval "$as_ac_var=yes"
32128 else
32129   echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32131
32132 eval "$as_ac_var=no"
32133 fi
32134 rm -f conftest.err conftest.$ac_objext \
32135       conftest$ac_exeext conftest.$ac_ext
32136 fi
32137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32139 if test `eval echo '${'$as_ac_var'}'` = yes; then
32140   cat >>confdefs.h <<_ACEOF
32141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32142 _ACEOF
32143
32144 fi
32145 done
32146
32147   else
32148
32149   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32150 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32151   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32152     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32153   echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155
32156
32157
32158       ac_ext=cc
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163
32164       cat >conftest.$ac_ext <<_ACEOF
32165 /* confdefs.h.  */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h.  */
32170 #include <math.h>
32171 int
32172 main ()
32173 {
32174  _fmodl(0, 0);
32175   ;
32176   return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32181   (eval $ac_compile) 2>conftest.er1
32182   ac_status=$?
32183   grep -v '^ *+' conftest.er1 >conftest.err
32184   rm -f conftest.er1
32185   cat conftest.err >&5
32186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187   (exit $ac_status); } &&
32188          { ac_try='test -z "$ac_cxx_werror_flag"
32189                          || test ! -s conftest.err'
32190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32191   (eval $ac_try) 2>&5
32192   ac_status=$?
32193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194   (exit $ac_status); }; } &&
32195          { ac_try='test -s conftest.$ac_objext'
32196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197   (eval $ac_try) 2>&5
32198   ac_status=$?
32199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200   (exit $ac_status); }; }; then
32201   glibcxx_cv_func__fmodl_use=yes
32202 else
32203   echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32205
32206 glibcxx_cv_func__fmodl_use=no
32207 fi
32208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32209       ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32214
32215
32216 fi
32217
32218   fi
32219   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32220 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32221
32222     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32223
32224 for ac_func in _fmodl
32225 do
32226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32227 echo "$as_me:$LINENO: checking for $ac_func" >&5
32228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32229 if eval "test \"\${$as_ac_var+set}\" = set"; then
32230   echo $ECHO_N "(cached) $ECHO_C" >&6
32231 else
32232   if test x$gcc_no_link = xyes; then
32233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32235    { (exit 1); exit 1; }; }
32236 fi
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h.  */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h.  */
32243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32245 #define $ac_func innocuous_$ac_func
32246
32247 /* System header to define __stub macros and hopefully few prototypes,
32248     which can conflict with char $ac_func (); below.
32249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32250     <limits.h> exists even on freestanding compilers.  */
32251
32252 #ifdef __STDC__
32253 # include <limits.h>
32254 #else
32255 # include <assert.h>
32256 #endif
32257
32258 #undef $ac_func
32259
32260 /* Override any gcc2 internal prototype to avoid an error.  */
32261 #ifdef __cplusplus
32262 extern "C"
32263 {
32264 #endif
32265 /* We use char because int might match the return type of a gcc2
32266    builtin and then its argument prototype would still apply.  */
32267 char $ac_func ();
32268 /* The GNU C library defines this for functions which it implements
32269     to always fail with ENOSYS.  Some functions are actually named
32270     something starting with __ and the normal name is an alias.  */
32271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32272 choke me
32273 #else
32274 char (*f) () = $ac_func;
32275 #endif
32276 #ifdef __cplusplus
32277 }
32278 #endif
32279
32280 int
32281 main ()
32282 {
32283 return f != $ac_func;
32284   ;
32285   return 0;
32286 }
32287 _ACEOF
32288 rm -f conftest.$ac_objext conftest$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290   (eval $ac_link) 2>conftest.er1
32291   ac_status=$?
32292   grep -v '^ *+' conftest.er1 >conftest.err
32293   rm -f conftest.er1
32294   cat conftest.err >&5
32295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296   (exit $ac_status); } &&
32297          { ac_try='test -z "$ac_c_werror_flag"
32298                          || test ! -s conftest.err'
32299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300   (eval $ac_try) 2>&5
32301   ac_status=$?
32302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303   (exit $ac_status); }; } &&
32304          { ac_try='test -s conftest$ac_exeext'
32305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32306   (eval $ac_try) 2>&5
32307   ac_status=$?
32308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309   (exit $ac_status); }; }; then
32310   eval "$as_ac_var=yes"
32311 else
32312   echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32314
32315 eval "$as_ac_var=no"
32316 fi
32317 rm -f conftest.err conftest.$ac_objext \
32318       conftest$ac_exeext conftest.$ac_ext
32319 fi
32320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32322 if test `eval echo '${'$as_ac_var'}'` = yes; then
32323   cat >>confdefs.h <<_ACEOF
32324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32325 _ACEOF
32326
32327 fi
32328 done
32329
32330     fi
32331   fi
32332
32333
32334
32335
32336
32337
32338   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32339 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32340   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32341     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32342   echo $ECHO_N "(cached) $ECHO_C" >&6
32343 else
32344
32345
32346
32347       ac_ext=cc
32348 ac_cpp='$CXXCPP $CPPFLAGS'
32349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352
32353       cat >conftest.$ac_ext <<_ACEOF
32354 /* confdefs.h.  */
32355 _ACEOF
32356 cat confdefs.h >>conftest.$ac_ext
32357 cat >>conftest.$ac_ext <<_ACEOF
32358 /* end confdefs.h.  */
32359 #include <math.h>
32360 int
32361 main ()
32362 {
32363  frexpl(0, 0);
32364   ;
32365   return 0;
32366 }
32367 _ACEOF
32368 rm -f conftest.$ac_objext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32370   (eval $ac_compile) 2>conftest.er1
32371   ac_status=$?
32372   grep -v '^ *+' conftest.er1 >conftest.err
32373   rm -f conftest.er1
32374   cat conftest.err >&5
32375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376   (exit $ac_status); } &&
32377          { ac_try='test -z "$ac_cxx_werror_flag"
32378                          || test ! -s conftest.err'
32379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380   (eval $ac_try) 2>&5
32381   ac_status=$?
32382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383   (exit $ac_status); }; } &&
32384          { ac_try='test -s conftest.$ac_objext'
32385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386   (eval $ac_try) 2>&5
32387   ac_status=$?
32388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389   (exit $ac_status); }; }; then
32390   glibcxx_cv_func_frexpl_use=yes
32391 else
32392   echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32394
32395 glibcxx_cv_func_frexpl_use=no
32396 fi
32397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32398       ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32403
32404
32405 fi
32406
32407   fi
32408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32409 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32410
32411   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32412
32413 for ac_func in frexpl
32414 do
32415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 echo "$as_me:$LINENO: checking for $ac_func" >&5
32417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_var+set}\" = set"; then
32419   echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421   if test x$gcc_no_link = xyes; then
32422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32424    { (exit 1); exit 1; }; }
32425 fi
32426 cat >conftest.$ac_ext <<_ACEOF
32427 /* confdefs.h.  */
32428 _ACEOF
32429 cat confdefs.h >>conftest.$ac_ext
32430 cat >>conftest.$ac_ext <<_ACEOF
32431 /* end confdefs.h.  */
32432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32434 #define $ac_func innocuous_$ac_func
32435
32436 /* System header to define __stub macros and hopefully few prototypes,
32437     which can conflict with char $ac_func (); below.
32438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32439     <limits.h> exists even on freestanding compilers.  */
32440
32441 #ifdef __STDC__
32442 # include <limits.h>
32443 #else
32444 # include <assert.h>
32445 #endif
32446
32447 #undef $ac_func
32448
32449 /* Override any gcc2 internal prototype to avoid an error.  */
32450 #ifdef __cplusplus
32451 extern "C"
32452 {
32453 #endif
32454 /* We use char because int might match the return type of a gcc2
32455    builtin and then its argument prototype would still apply.  */
32456 char $ac_func ();
32457 /* The GNU C library defines this for functions which it implements
32458     to always fail with ENOSYS.  Some functions are actually named
32459     something starting with __ and the normal name is an alias.  */
32460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32461 choke me
32462 #else
32463 char (*f) () = $ac_func;
32464 #endif
32465 #ifdef __cplusplus
32466 }
32467 #endif
32468
32469 int
32470 main ()
32471 {
32472 return f != $ac_func;
32473   ;
32474   return 0;
32475 }
32476 _ACEOF
32477 rm -f conftest.$ac_objext conftest$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479   (eval $ac_link) 2>conftest.er1
32480   ac_status=$?
32481   grep -v '^ *+' conftest.er1 >conftest.err
32482   rm -f conftest.er1
32483   cat conftest.err >&5
32484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485   (exit $ac_status); } &&
32486          { ac_try='test -z "$ac_c_werror_flag"
32487                          || test ! -s conftest.err'
32488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489   (eval $ac_try) 2>&5
32490   ac_status=$?
32491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492   (exit $ac_status); }; } &&
32493          { ac_try='test -s conftest$ac_exeext'
32494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495   (eval $ac_try) 2>&5
32496   ac_status=$?
32497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498   (exit $ac_status); }; }; then
32499   eval "$as_ac_var=yes"
32500 else
32501   echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504 eval "$as_ac_var=no"
32505 fi
32506 rm -f conftest.err conftest.$ac_objext \
32507       conftest$ac_exeext conftest.$ac_ext
32508 fi
32509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32511 if test `eval echo '${'$as_ac_var'}'` = yes; then
32512   cat >>confdefs.h <<_ACEOF
32513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32514 _ACEOF
32515
32516 fi
32517 done
32518
32519   else
32520
32521   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32522 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32523   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32524     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32525   echo $ECHO_N "(cached) $ECHO_C" >&6
32526 else
32527
32528
32529
32530       ac_ext=cc
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535
32536       cat >conftest.$ac_ext <<_ACEOF
32537 /* confdefs.h.  */
32538 _ACEOF
32539 cat confdefs.h >>conftest.$ac_ext
32540 cat >>conftest.$ac_ext <<_ACEOF
32541 /* end confdefs.h.  */
32542 #include <math.h>
32543 int
32544 main ()
32545 {
32546  _frexpl(0, 0);
32547   ;
32548   return 0;
32549 }
32550 _ACEOF
32551 rm -f conftest.$ac_objext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32553   (eval $ac_compile) 2>conftest.er1
32554   ac_status=$?
32555   grep -v '^ *+' conftest.er1 >conftest.err
32556   rm -f conftest.er1
32557   cat conftest.err >&5
32558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559   (exit $ac_status); } &&
32560          { ac_try='test -z "$ac_cxx_werror_flag"
32561                          || test ! -s conftest.err'
32562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563   (eval $ac_try) 2>&5
32564   ac_status=$?
32565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566   (exit $ac_status); }; } &&
32567          { ac_try='test -s conftest.$ac_objext'
32568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569   (eval $ac_try) 2>&5
32570   ac_status=$?
32571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572   (exit $ac_status); }; }; then
32573   glibcxx_cv_func__frexpl_use=yes
32574 else
32575   echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.$ac_ext >&5
32577
32578 glibcxx_cv_func__frexpl_use=no
32579 fi
32580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32581       ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32586
32587
32588 fi
32589
32590   fi
32591   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32592 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32593
32594     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32595
32596 for ac_func in _frexpl
32597 do
32598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32599 echo "$as_me:$LINENO: checking for $ac_func" >&5
32600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32601 if eval "test \"\${$as_ac_var+set}\" = set"; then
32602   echo $ECHO_N "(cached) $ECHO_C" >&6
32603 else
32604   if test x$gcc_no_link = xyes; then
32605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32607    { (exit 1); exit 1; }; }
32608 fi
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h.  */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h.  */
32615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32617 #define $ac_func innocuous_$ac_func
32618
32619 /* System header to define __stub macros and hopefully few prototypes,
32620     which can conflict with char $ac_func (); below.
32621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32622     <limits.h> exists even on freestanding compilers.  */
32623
32624 #ifdef __STDC__
32625 # include <limits.h>
32626 #else
32627 # include <assert.h>
32628 #endif
32629
32630 #undef $ac_func
32631
32632 /* Override any gcc2 internal prototype to avoid an error.  */
32633 #ifdef __cplusplus
32634 extern "C"
32635 {
32636 #endif
32637 /* We use char because int might match the return type of a gcc2
32638    builtin and then its argument prototype would still apply.  */
32639 char $ac_func ();
32640 /* The GNU C library defines this for functions which it implements
32641     to always fail with ENOSYS.  Some functions are actually named
32642     something starting with __ and the normal name is an alias.  */
32643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32644 choke me
32645 #else
32646 char (*f) () = $ac_func;
32647 #endif
32648 #ifdef __cplusplus
32649 }
32650 #endif
32651
32652 int
32653 main ()
32654 {
32655 return f != $ac_func;
32656   ;
32657   return 0;
32658 }
32659 _ACEOF
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32662   (eval $ac_link) 2>conftest.er1
32663   ac_status=$?
32664   grep -v '^ *+' conftest.er1 >conftest.err
32665   rm -f conftest.er1
32666   cat conftest.err >&5
32667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668   (exit $ac_status); } &&
32669          { ac_try='test -z "$ac_c_werror_flag"
32670                          || test ! -s conftest.err'
32671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672   (eval $ac_try) 2>&5
32673   ac_status=$?
32674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675   (exit $ac_status); }; } &&
32676          { ac_try='test -s conftest$ac_exeext'
32677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32678   (eval $ac_try) 2>&5
32679   ac_status=$?
32680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681   (exit $ac_status); }; }; then
32682   eval "$as_ac_var=yes"
32683 else
32684   echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32686
32687 eval "$as_ac_var=no"
32688 fi
32689 rm -f conftest.err conftest.$ac_objext \
32690       conftest$ac_exeext conftest.$ac_ext
32691 fi
32692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32694 if test `eval echo '${'$as_ac_var'}'` = yes; then
32695   cat >>confdefs.h <<_ACEOF
32696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32697 _ACEOF
32698
32699 fi
32700 done
32701
32702     fi
32703   fi
32704
32705
32706
32707
32708
32709
32710   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32711 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32712   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32713     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32714   echo $ECHO_N "(cached) $ECHO_C" >&6
32715 else
32716
32717
32718
32719       ac_ext=cc
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32724
32725       cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h.  */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h.  */
32731 #include <math.h>
32732 int
32733 main ()
32734 {
32735  hypotl(0, 0);
32736   ;
32737   return 0;
32738 }
32739 _ACEOF
32740 rm -f conftest.$ac_objext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32742   (eval $ac_compile) 2>conftest.er1
32743   ac_status=$?
32744   grep -v '^ *+' conftest.er1 >conftest.err
32745   rm -f conftest.er1
32746   cat conftest.err >&5
32747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748   (exit $ac_status); } &&
32749          { ac_try='test -z "$ac_cxx_werror_flag"
32750                          || test ! -s conftest.err'
32751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752   (eval $ac_try) 2>&5
32753   ac_status=$?
32754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755   (exit $ac_status); }; } &&
32756          { ac_try='test -s conftest.$ac_objext'
32757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758   (eval $ac_try) 2>&5
32759   ac_status=$?
32760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761   (exit $ac_status); }; }; then
32762   glibcxx_cv_func_hypotl_use=yes
32763 else
32764   echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32766
32767 glibcxx_cv_func_hypotl_use=no
32768 fi
32769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32770       ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32775
32776
32777 fi
32778
32779   fi
32780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32781 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32782
32783   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32784
32785 for ac_func in hypotl
32786 do
32787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32788 echo "$as_me:$LINENO: checking for $ac_func" >&5
32789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32790 if eval "test \"\${$as_ac_var+set}\" = set"; then
32791   echo $ECHO_N "(cached) $ECHO_C" >&6
32792 else
32793   if test x$gcc_no_link = xyes; then
32794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32796    { (exit 1); exit 1; }; }
32797 fi
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h.  */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h.  */
32804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32806 #define $ac_func innocuous_$ac_func
32807
32808 /* System header to define __stub macros and hopefully few prototypes,
32809     which can conflict with char $ac_func (); below.
32810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32811     <limits.h> exists even on freestanding compilers.  */
32812
32813 #ifdef __STDC__
32814 # include <limits.h>
32815 #else
32816 # include <assert.h>
32817 #endif
32818
32819 #undef $ac_func
32820
32821 /* Override any gcc2 internal prototype to avoid an error.  */
32822 #ifdef __cplusplus
32823 extern "C"
32824 {
32825 #endif
32826 /* We use char because int might match the return type of a gcc2
32827    builtin and then its argument prototype would still apply.  */
32828 char $ac_func ();
32829 /* The GNU C library defines this for functions which it implements
32830     to always fail with ENOSYS.  Some functions are actually named
32831     something starting with __ and the normal name is an alias.  */
32832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32833 choke me
32834 #else
32835 char (*f) () = $ac_func;
32836 #endif
32837 #ifdef __cplusplus
32838 }
32839 #endif
32840
32841 int
32842 main ()
32843 {
32844 return f != $ac_func;
32845   ;
32846   return 0;
32847 }
32848 _ACEOF
32849 rm -f conftest.$ac_objext conftest$ac_exeext
32850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32851   (eval $ac_link) 2>conftest.er1
32852   ac_status=$?
32853   grep -v '^ *+' conftest.er1 >conftest.err
32854   rm -f conftest.er1
32855   cat conftest.err >&5
32856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857   (exit $ac_status); } &&
32858          { ac_try='test -z "$ac_c_werror_flag"
32859                          || test ! -s conftest.err'
32860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861   (eval $ac_try) 2>&5
32862   ac_status=$?
32863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864   (exit $ac_status); }; } &&
32865          { ac_try='test -s conftest$ac_exeext'
32866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867   (eval $ac_try) 2>&5
32868   ac_status=$?
32869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870   (exit $ac_status); }; }; then
32871   eval "$as_ac_var=yes"
32872 else
32873   echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 eval "$as_ac_var=no"
32877 fi
32878 rm -f conftest.err conftest.$ac_objext \
32879       conftest$ac_exeext conftest.$ac_ext
32880 fi
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884   cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32886 _ACEOF
32887
32888 fi
32889 done
32890
32891   else
32892
32893   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32894 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32895   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32896     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32897   echo $ECHO_N "(cached) $ECHO_C" >&6
32898 else
32899
32900
32901
32902       ac_ext=cc
32903 ac_cpp='$CXXCPP $CPPFLAGS'
32904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32907
32908       cat >conftest.$ac_ext <<_ACEOF
32909 /* confdefs.h.  */
32910 _ACEOF
32911 cat confdefs.h >>conftest.$ac_ext
32912 cat >>conftest.$ac_ext <<_ACEOF
32913 /* end confdefs.h.  */
32914 #include <math.h>
32915 int
32916 main ()
32917 {
32918  _hypotl(0, 0);
32919   ;
32920   return 0;
32921 }
32922 _ACEOF
32923 rm -f conftest.$ac_objext
32924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32925   (eval $ac_compile) 2>conftest.er1
32926   ac_status=$?
32927   grep -v '^ *+' conftest.er1 >conftest.err
32928   rm -f conftest.er1
32929   cat conftest.err >&5
32930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931   (exit $ac_status); } &&
32932          { ac_try='test -z "$ac_cxx_werror_flag"
32933                          || test ! -s conftest.err'
32934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935   (eval $ac_try) 2>&5
32936   ac_status=$?
32937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938   (exit $ac_status); }; } &&
32939          { ac_try='test -s conftest.$ac_objext'
32940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941   (eval $ac_try) 2>&5
32942   ac_status=$?
32943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944   (exit $ac_status); }; }; then
32945   glibcxx_cv_func__hypotl_use=yes
32946 else
32947   echo "$as_me: failed program was:" >&5
32948 sed 's/^/| /' conftest.$ac_ext >&5
32949
32950 glibcxx_cv_func__hypotl_use=no
32951 fi
32952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32953       ac_ext=c
32954 ac_cpp='$CPP $CPPFLAGS'
32955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32958
32959
32960 fi
32961
32962   fi
32963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32964 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32965
32966     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32967
32968 for ac_func in _hypotl
32969 do
32970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32971 echo "$as_me:$LINENO: checking for $ac_func" >&5
32972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32973 if eval "test \"\${$as_ac_var+set}\" = set"; then
32974   echo $ECHO_N "(cached) $ECHO_C" >&6
32975 else
32976   if test x$gcc_no_link = xyes; then
32977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32979    { (exit 1); exit 1; }; }
32980 fi
32981 cat >conftest.$ac_ext <<_ACEOF
32982 /* confdefs.h.  */
32983 _ACEOF
32984 cat confdefs.h >>conftest.$ac_ext
32985 cat >>conftest.$ac_ext <<_ACEOF
32986 /* end confdefs.h.  */
32987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32989 #define $ac_func innocuous_$ac_func
32990
32991 /* System header to define __stub macros and hopefully few prototypes,
32992     which can conflict with char $ac_func (); below.
32993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32994     <limits.h> exists even on freestanding compilers.  */
32995
32996 #ifdef __STDC__
32997 # include <limits.h>
32998 #else
32999 # include <assert.h>
33000 #endif
33001
33002 #undef $ac_func
33003
33004 /* Override any gcc2 internal prototype to avoid an error.  */
33005 #ifdef __cplusplus
33006 extern "C"
33007 {
33008 #endif
33009 /* We use char because int might match the return type of a gcc2
33010    builtin and then its argument prototype would still apply.  */
33011 char $ac_func ();
33012 /* The GNU C library defines this for functions which it implements
33013     to always fail with ENOSYS.  Some functions are actually named
33014     something starting with __ and the normal name is an alias.  */
33015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33016 choke me
33017 #else
33018 char (*f) () = $ac_func;
33019 #endif
33020 #ifdef __cplusplus
33021 }
33022 #endif
33023
33024 int
33025 main ()
33026 {
33027 return f != $ac_func;
33028   ;
33029   return 0;
33030 }
33031 _ACEOF
33032 rm -f conftest.$ac_objext conftest$ac_exeext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33034   (eval $ac_link) 2>conftest.er1
33035   ac_status=$?
33036   grep -v '^ *+' conftest.er1 >conftest.err
33037   rm -f conftest.er1
33038   cat conftest.err >&5
33039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040   (exit $ac_status); } &&
33041          { ac_try='test -z "$ac_c_werror_flag"
33042                          || test ! -s conftest.err'
33043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044   (eval $ac_try) 2>&5
33045   ac_status=$?
33046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047   (exit $ac_status); }; } &&
33048          { ac_try='test -s conftest$ac_exeext'
33049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050   (eval $ac_try) 2>&5
33051   ac_status=$?
33052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053   (exit $ac_status); }; }; then
33054   eval "$as_ac_var=yes"
33055 else
33056   echo "$as_me: failed program was:" >&5
33057 sed 's/^/| /' conftest.$ac_ext >&5
33058
33059 eval "$as_ac_var=no"
33060 fi
33061 rm -f conftest.err conftest.$ac_objext \
33062       conftest$ac_exeext conftest.$ac_ext
33063 fi
33064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33066 if test `eval echo '${'$as_ac_var'}'` = yes; then
33067   cat >>confdefs.h <<_ACEOF
33068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33069 _ACEOF
33070
33071 fi
33072 done
33073
33074     fi
33075   fi
33076
33077
33078
33079
33080
33081
33082   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33083 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33084   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33085     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33086   echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33088
33089
33090
33091       ac_ext=cc
33092 ac_cpp='$CXXCPP $CPPFLAGS'
33093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33096
33097       cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h.  */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h.  */
33103 #include <math.h>
33104 int
33105 main ()
33106 {
33107  ldexpl(0, 0);
33108   ;
33109   return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33114   (eval $ac_compile) 2>conftest.er1
33115   ac_status=$?
33116   grep -v '^ *+' conftest.er1 >conftest.err
33117   rm -f conftest.er1
33118   cat conftest.err >&5
33119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120   (exit $ac_status); } &&
33121          { ac_try='test -z "$ac_cxx_werror_flag"
33122                          || test ! -s conftest.err'
33123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124   (eval $ac_try) 2>&5
33125   ac_status=$?
33126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127   (exit $ac_status); }; } &&
33128          { ac_try='test -s conftest.$ac_objext'
33129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130   (eval $ac_try) 2>&5
33131   ac_status=$?
33132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133   (exit $ac_status); }; }; then
33134   glibcxx_cv_func_ldexpl_use=yes
33135 else
33136   echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33138
33139 glibcxx_cv_func_ldexpl_use=no
33140 fi
33141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33142       ac_ext=c
33143 ac_cpp='$CPP $CPPFLAGS'
33144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33147
33148
33149 fi
33150
33151   fi
33152   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33153 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33154
33155   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33156
33157 for ac_func in ldexpl
33158 do
33159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33160 echo "$as_me:$LINENO: checking for $ac_func" >&5
33161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33162 if eval "test \"\${$as_ac_var+set}\" = set"; then
33163   echo $ECHO_N "(cached) $ECHO_C" >&6
33164 else
33165   if test x$gcc_no_link = xyes; then
33166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33168    { (exit 1); exit 1; }; }
33169 fi
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h.  */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h.  */
33176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33178 #define $ac_func innocuous_$ac_func
33179
33180 /* System header to define __stub macros and hopefully few prototypes,
33181     which can conflict with char $ac_func (); below.
33182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33183     <limits.h> exists even on freestanding compilers.  */
33184
33185 #ifdef __STDC__
33186 # include <limits.h>
33187 #else
33188 # include <assert.h>
33189 #endif
33190
33191 #undef $ac_func
33192
33193 /* Override any gcc2 internal prototype to avoid an error.  */
33194 #ifdef __cplusplus
33195 extern "C"
33196 {
33197 #endif
33198 /* We use char because int might match the return type of a gcc2
33199    builtin and then its argument prototype would still apply.  */
33200 char $ac_func ();
33201 /* The GNU C library defines this for functions which it implements
33202     to always fail with ENOSYS.  Some functions are actually named
33203     something starting with __ and the normal name is an alias.  */
33204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33205 choke me
33206 #else
33207 char (*f) () = $ac_func;
33208 #endif
33209 #ifdef __cplusplus
33210 }
33211 #endif
33212
33213 int
33214 main ()
33215 {
33216 return f != $ac_func;
33217   ;
33218   return 0;
33219 }
33220 _ACEOF
33221 rm -f conftest.$ac_objext conftest$ac_exeext
33222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33223   (eval $ac_link) 2>conftest.er1
33224   ac_status=$?
33225   grep -v '^ *+' conftest.er1 >conftest.err
33226   rm -f conftest.er1
33227   cat conftest.err >&5
33228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229   (exit $ac_status); } &&
33230          { ac_try='test -z "$ac_c_werror_flag"
33231                          || test ! -s conftest.err'
33232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233   (eval $ac_try) 2>&5
33234   ac_status=$?
33235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236   (exit $ac_status); }; } &&
33237          { ac_try='test -s conftest$ac_exeext'
33238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239   (eval $ac_try) 2>&5
33240   ac_status=$?
33241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242   (exit $ac_status); }; }; then
33243   eval "$as_ac_var=yes"
33244 else
33245   echo "$as_me: failed program was:" >&5
33246 sed 's/^/| /' conftest.$ac_ext >&5
33247
33248 eval "$as_ac_var=no"
33249 fi
33250 rm -f conftest.err conftest.$ac_objext \
33251       conftest$ac_exeext conftest.$ac_ext
33252 fi
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33255 if test `eval echo '${'$as_ac_var'}'` = yes; then
33256   cat >>confdefs.h <<_ACEOF
33257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33258 _ACEOF
33259
33260 fi
33261 done
33262
33263   else
33264
33265   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33266 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33267   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33268     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33269   echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33271
33272
33273
33274       ac_ext=cc
33275 ac_cpp='$CXXCPP $CPPFLAGS'
33276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33279
33280       cat >conftest.$ac_ext <<_ACEOF
33281 /* confdefs.h.  */
33282 _ACEOF
33283 cat confdefs.h >>conftest.$ac_ext
33284 cat >>conftest.$ac_ext <<_ACEOF
33285 /* end confdefs.h.  */
33286 #include <math.h>
33287 int
33288 main ()
33289 {
33290  _ldexpl(0, 0);
33291   ;
33292   return 0;
33293 }
33294 _ACEOF
33295 rm -f conftest.$ac_objext
33296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33297   (eval $ac_compile) 2>conftest.er1
33298   ac_status=$?
33299   grep -v '^ *+' conftest.er1 >conftest.err
33300   rm -f conftest.er1
33301   cat conftest.err >&5
33302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303   (exit $ac_status); } &&
33304          { ac_try='test -z "$ac_cxx_werror_flag"
33305                          || test ! -s conftest.err'
33306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307   (eval $ac_try) 2>&5
33308   ac_status=$?
33309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310   (exit $ac_status); }; } &&
33311          { ac_try='test -s conftest.$ac_objext'
33312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313   (eval $ac_try) 2>&5
33314   ac_status=$?
33315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316   (exit $ac_status); }; }; then
33317   glibcxx_cv_func__ldexpl_use=yes
33318 else
33319   echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33321
33322 glibcxx_cv_func__ldexpl_use=no
33323 fi
33324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33325       ac_ext=c
33326 ac_cpp='$CPP $CPPFLAGS'
33327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33330
33331
33332 fi
33333
33334   fi
33335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33336 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33337
33338     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33339
33340 for ac_func in _ldexpl
33341 do
33342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33343 echo "$as_me:$LINENO: checking for $ac_func" >&5
33344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33345 if eval "test \"\${$as_ac_var+set}\" = set"; then
33346   echo $ECHO_N "(cached) $ECHO_C" >&6
33347 else
33348   if test x$gcc_no_link = xyes; then
33349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33351    { (exit 1); exit 1; }; }
33352 fi
33353 cat >conftest.$ac_ext <<_ACEOF
33354 /* confdefs.h.  */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h.  */
33359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33361 #define $ac_func innocuous_$ac_func
33362
33363 /* System header to define __stub macros and hopefully few prototypes,
33364     which can conflict with char $ac_func (); below.
33365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33366     <limits.h> exists even on freestanding compilers.  */
33367
33368 #ifdef __STDC__
33369 # include <limits.h>
33370 #else
33371 # include <assert.h>
33372 #endif
33373
33374 #undef $ac_func
33375
33376 /* Override any gcc2 internal prototype to avoid an error.  */
33377 #ifdef __cplusplus
33378 extern "C"
33379 {
33380 #endif
33381 /* We use char because int might match the return type of a gcc2
33382    builtin and then its argument prototype would still apply.  */
33383 char $ac_func ();
33384 /* The GNU C library defines this for functions which it implements
33385     to always fail with ENOSYS.  Some functions are actually named
33386     something starting with __ and the normal name is an alias.  */
33387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33388 choke me
33389 #else
33390 char (*f) () = $ac_func;
33391 #endif
33392 #ifdef __cplusplus
33393 }
33394 #endif
33395
33396 int
33397 main ()
33398 {
33399 return f != $ac_func;
33400   ;
33401   return 0;
33402 }
33403 _ACEOF
33404 rm -f conftest.$ac_objext conftest$ac_exeext
33405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33406   (eval $ac_link) 2>conftest.er1
33407   ac_status=$?
33408   grep -v '^ *+' conftest.er1 >conftest.err
33409   rm -f conftest.er1
33410   cat conftest.err >&5
33411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412   (exit $ac_status); } &&
33413          { ac_try='test -z "$ac_c_werror_flag"
33414                          || test ! -s conftest.err'
33415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416   (eval $ac_try) 2>&5
33417   ac_status=$?
33418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419   (exit $ac_status); }; } &&
33420          { ac_try='test -s conftest$ac_exeext'
33421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422   (eval $ac_try) 2>&5
33423   ac_status=$?
33424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425   (exit $ac_status); }; }; then
33426   eval "$as_ac_var=yes"
33427 else
33428   echo "$as_me: failed program was:" >&5
33429 sed 's/^/| /' conftest.$ac_ext >&5
33430
33431 eval "$as_ac_var=no"
33432 fi
33433 rm -f conftest.err conftest.$ac_objext \
33434       conftest$ac_exeext conftest.$ac_ext
33435 fi
33436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33438 if test `eval echo '${'$as_ac_var'}'` = yes; then
33439   cat >>confdefs.h <<_ACEOF
33440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33441 _ACEOF
33442
33443 fi
33444 done
33445
33446     fi
33447   fi
33448
33449
33450
33451
33452
33453
33454   echo "$as_me:$LINENO: checking for logl declaration" >&5
33455 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33456   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33457     if test "${glibcxx_cv_func_logl_use+set}" = set; then
33458   echo $ECHO_N "(cached) $ECHO_C" >&6
33459 else
33460
33461
33462
33463       ac_ext=cc
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468
33469       cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h.  */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h.  */
33475 #include <math.h>
33476                       #ifdef HAVE_IEEEFP_H
33477                       #include <ieeefp.h>
33478                       #endif
33479
33480 int
33481 main ()
33482 {
33483  logl(0);
33484   ;
33485   return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490   (eval $ac_compile) 2>conftest.er1
33491   ac_status=$?
33492   grep -v '^ *+' conftest.er1 >conftest.err
33493   rm -f conftest.er1
33494   cat conftest.err >&5
33495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496   (exit $ac_status); } &&
33497          { ac_try='test -z "$ac_cxx_werror_flag"
33498                          || test ! -s conftest.err'
33499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500   (eval $ac_try) 2>&5
33501   ac_status=$?
33502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503   (exit $ac_status); }; } &&
33504          { ac_try='test -s conftest.$ac_objext'
33505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506   (eval $ac_try) 2>&5
33507   ac_status=$?
33508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509   (exit $ac_status); }; }; then
33510   glibcxx_cv_func_logl_use=yes
33511 else
33512   echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.$ac_ext >&5
33514
33515 glibcxx_cv_func_logl_use=no
33516 fi
33517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33518       ac_ext=c
33519 ac_cpp='$CPP $CPPFLAGS'
33520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33523
33524
33525 fi
33526
33527   fi
33528   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33529 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33530
33531   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33532
33533 for ac_func in logl
33534 do
33535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33536 echo "$as_me:$LINENO: checking for $ac_func" >&5
33537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33538 if eval "test \"\${$as_ac_var+set}\" = set"; then
33539   echo $ECHO_N "(cached) $ECHO_C" >&6
33540 else
33541   if test x$gcc_no_link = xyes; then
33542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33544    { (exit 1); exit 1; }; }
33545 fi
33546 cat >conftest.$ac_ext <<_ACEOF
33547 /* confdefs.h.  */
33548 _ACEOF
33549 cat confdefs.h >>conftest.$ac_ext
33550 cat >>conftest.$ac_ext <<_ACEOF
33551 /* end confdefs.h.  */
33552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33554 #define $ac_func innocuous_$ac_func
33555
33556 /* System header to define __stub macros and hopefully few prototypes,
33557     which can conflict with char $ac_func (); below.
33558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33559     <limits.h> exists even on freestanding compilers.  */
33560
33561 #ifdef __STDC__
33562 # include <limits.h>
33563 #else
33564 # include <assert.h>
33565 #endif
33566
33567 #undef $ac_func
33568
33569 /* Override any gcc2 internal prototype to avoid an error.  */
33570 #ifdef __cplusplus
33571 extern "C"
33572 {
33573 #endif
33574 /* We use char because int might match the return type of a gcc2
33575    builtin and then its argument prototype would still apply.  */
33576 char $ac_func ();
33577 /* The GNU C library defines this for functions which it implements
33578     to always fail with ENOSYS.  Some functions are actually named
33579     something starting with __ and the normal name is an alias.  */
33580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33581 choke me
33582 #else
33583 char (*f) () = $ac_func;
33584 #endif
33585 #ifdef __cplusplus
33586 }
33587 #endif
33588
33589 int
33590 main ()
33591 {
33592 return f != $ac_func;
33593   ;
33594   return 0;
33595 }
33596 _ACEOF
33597 rm -f conftest.$ac_objext conftest$ac_exeext
33598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33599   (eval $ac_link) 2>conftest.er1
33600   ac_status=$?
33601   grep -v '^ *+' conftest.er1 >conftest.err
33602   rm -f conftest.er1
33603   cat conftest.err >&5
33604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605   (exit $ac_status); } &&
33606          { ac_try='test -z "$ac_c_werror_flag"
33607                          || test ! -s conftest.err'
33608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609   (eval $ac_try) 2>&5
33610   ac_status=$?
33611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612   (exit $ac_status); }; } &&
33613          { ac_try='test -s conftest$ac_exeext'
33614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33615   (eval $ac_try) 2>&5
33616   ac_status=$?
33617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618   (exit $ac_status); }; }; then
33619   eval "$as_ac_var=yes"
33620 else
33621   echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.$ac_ext >&5
33623
33624 eval "$as_ac_var=no"
33625 fi
33626 rm -f conftest.err conftest.$ac_objext \
33627       conftest$ac_exeext conftest.$ac_ext
33628 fi
33629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33631 if test `eval echo '${'$as_ac_var'}'` = yes; then
33632   cat >>confdefs.h <<_ACEOF
33633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33634 _ACEOF
33635
33636 fi
33637 done
33638
33639   else
33640
33641   echo "$as_me:$LINENO: checking for _logl declaration" >&5
33642 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33643   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33644     if test "${glibcxx_cv_func__logl_use+set}" = set; then
33645   echo $ECHO_N "(cached) $ECHO_C" >&6
33646 else
33647
33648
33649
33650       ac_ext=cc
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655
33656       cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h.  */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h.  */
33662 #include <math.h>
33663                       #ifdef HAVE_IEEEFP_H
33664                       #include <ieeefp.h>
33665                       #endif
33666
33667 int
33668 main ()
33669 {
33670  _logl(0);
33671   ;
33672   return 0;
33673 }
33674 _ACEOF
33675 rm -f conftest.$ac_objext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33677   (eval $ac_compile) 2>conftest.er1
33678   ac_status=$?
33679   grep -v '^ *+' conftest.er1 >conftest.err
33680   rm -f conftest.er1
33681   cat conftest.err >&5
33682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683   (exit $ac_status); } &&
33684          { ac_try='test -z "$ac_cxx_werror_flag"
33685                          || test ! -s conftest.err'
33686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687   (eval $ac_try) 2>&5
33688   ac_status=$?
33689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690   (exit $ac_status); }; } &&
33691          { ac_try='test -s conftest.$ac_objext'
33692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693   (eval $ac_try) 2>&5
33694   ac_status=$?
33695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696   (exit $ac_status); }; }; then
33697   glibcxx_cv_func__logl_use=yes
33698 else
33699   echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33701
33702 glibcxx_cv_func__logl_use=no
33703 fi
33704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33705       ac_ext=c
33706 ac_cpp='$CPP $CPPFLAGS'
33707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33710
33711
33712 fi
33713
33714   fi
33715   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33716 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33717
33718     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33719
33720 for ac_func in _logl
33721 do
33722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33723 echo "$as_me:$LINENO: checking for $ac_func" >&5
33724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33725 if eval "test \"\${$as_ac_var+set}\" = set"; then
33726   echo $ECHO_N "(cached) $ECHO_C" >&6
33727 else
33728   if test x$gcc_no_link = xyes; then
33729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731    { (exit 1); exit 1; }; }
33732 fi
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h.  */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h.  */
33739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33741 #define $ac_func innocuous_$ac_func
33742
33743 /* System header to define __stub macros and hopefully few prototypes,
33744     which can conflict with char $ac_func (); below.
33745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33746     <limits.h> exists even on freestanding compilers.  */
33747
33748 #ifdef __STDC__
33749 # include <limits.h>
33750 #else
33751 # include <assert.h>
33752 #endif
33753
33754 #undef $ac_func
33755
33756 /* Override any gcc2 internal prototype to avoid an error.  */
33757 #ifdef __cplusplus
33758 extern "C"
33759 {
33760 #endif
33761 /* We use char because int might match the return type of a gcc2
33762    builtin and then its argument prototype would still apply.  */
33763 char $ac_func ();
33764 /* The GNU C library defines this for functions which it implements
33765     to always fail with ENOSYS.  Some functions are actually named
33766     something starting with __ and the normal name is an alias.  */
33767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33768 choke me
33769 #else
33770 char (*f) () = $ac_func;
33771 #endif
33772 #ifdef __cplusplus
33773 }
33774 #endif
33775
33776 int
33777 main ()
33778 {
33779 return f != $ac_func;
33780   ;
33781   return 0;
33782 }
33783 _ACEOF
33784 rm -f conftest.$ac_objext conftest$ac_exeext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33786   (eval $ac_link) 2>conftest.er1
33787   ac_status=$?
33788   grep -v '^ *+' conftest.er1 >conftest.err
33789   rm -f conftest.er1
33790   cat conftest.err >&5
33791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792   (exit $ac_status); } &&
33793          { ac_try='test -z "$ac_c_werror_flag"
33794                          || test ! -s conftest.err'
33795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796   (eval $ac_try) 2>&5
33797   ac_status=$?
33798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799   (exit $ac_status); }; } &&
33800          { ac_try='test -s conftest$ac_exeext'
33801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802   (eval $ac_try) 2>&5
33803   ac_status=$?
33804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805   (exit $ac_status); }; }; then
33806   eval "$as_ac_var=yes"
33807 else
33808   echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811 eval "$as_ac_var=no"
33812 fi
33813 rm -f conftest.err conftest.$ac_objext \
33814       conftest$ac_exeext conftest.$ac_ext
33815 fi
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33818 if test `eval echo '${'$as_ac_var'}'` = yes; then
33819   cat >>confdefs.h <<_ACEOF
33820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 _ACEOF
33822
33823 fi
33824 done
33825
33826     fi
33827   fi
33828
33829
33830
33831
33832
33833
33834   echo "$as_me:$LINENO: checking for log10l declaration" >&5
33835 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33836   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33837     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33838   echo $ECHO_N "(cached) $ECHO_C" >&6
33839 else
33840
33841
33842
33843       ac_ext=cc
33844 ac_cpp='$CXXCPP $CPPFLAGS'
33845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33848
33849       cat >conftest.$ac_ext <<_ACEOF
33850 /* confdefs.h.  */
33851 _ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h.  */
33855 #include <math.h>
33856                       #ifdef HAVE_IEEEFP_H
33857                       #include <ieeefp.h>
33858                       #endif
33859
33860 int
33861 main ()
33862 {
33863  log10l(0);
33864   ;
33865   return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870   (eval $ac_compile) 2>conftest.er1
33871   ac_status=$?
33872   grep -v '^ *+' conftest.er1 >conftest.err
33873   rm -f conftest.er1
33874   cat conftest.err >&5
33875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876   (exit $ac_status); } &&
33877          { ac_try='test -z "$ac_cxx_werror_flag"
33878                          || test ! -s conftest.err'
33879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880   (eval $ac_try) 2>&5
33881   ac_status=$?
33882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883   (exit $ac_status); }; } &&
33884          { ac_try='test -s conftest.$ac_objext'
33885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886   (eval $ac_try) 2>&5
33887   ac_status=$?
33888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889   (exit $ac_status); }; }; then
33890   glibcxx_cv_func_log10l_use=yes
33891 else
33892   echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33894
33895 glibcxx_cv_func_log10l_use=no
33896 fi
33897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33898       ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33903
33904
33905 fi
33906
33907   fi
33908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33909 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33910
33911   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33912
33913 for ac_func in log10l
33914 do
33915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33916 echo "$as_me:$LINENO: checking for $ac_func" >&5
33917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33918 if eval "test \"\${$as_ac_var+set}\" = set"; then
33919   echo $ECHO_N "(cached) $ECHO_C" >&6
33920 else
33921   if test x$gcc_no_link = xyes; then
33922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33924    { (exit 1); exit 1; }; }
33925 fi
33926 cat >conftest.$ac_ext <<_ACEOF
33927 /* confdefs.h.  */
33928 _ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h.  */
33932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33934 #define $ac_func innocuous_$ac_func
33935
33936 /* System header to define __stub macros and hopefully few prototypes,
33937     which can conflict with char $ac_func (); below.
33938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33939     <limits.h> exists even on freestanding compilers.  */
33940
33941 #ifdef __STDC__
33942 # include <limits.h>
33943 #else
33944 # include <assert.h>
33945 #endif
33946
33947 #undef $ac_func
33948
33949 /* Override any gcc2 internal prototype to avoid an error.  */
33950 #ifdef __cplusplus
33951 extern "C"
33952 {
33953 #endif
33954 /* We use char because int might match the return type of a gcc2
33955    builtin and then its argument prototype would still apply.  */
33956 char $ac_func ();
33957 /* The GNU C library defines this for functions which it implements
33958     to always fail with ENOSYS.  Some functions are actually named
33959     something starting with __ and the normal name is an alias.  */
33960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33961 choke me
33962 #else
33963 char (*f) () = $ac_func;
33964 #endif
33965 #ifdef __cplusplus
33966 }
33967 #endif
33968
33969 int
33970 main ()
33971 {
33972 return f != $ac_func;
33973   ;
33974   return 0;
33975 }
33976 _ACEOF
33977 rm -f conftest.$ac_objext conftest$ac_exeext
33978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33979   (eval $ac_link) 2>conftest.er1
33980   ac_status=$?
33981   grep -v '^ *+' conftest.er1 >conftest.err
33982   rm -f conftest.er1
33983   cat conftest.err >&5
33984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985   (exit $ac_status); } &&
33986          { ac_try='test -z "$ac_c_werror_flag"
33987                          || test ! -s conftest.err'
33988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989   (eval $ac_try) 2>&5
33990   ac_status=$?
33991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992   (exit $ac_status); }; } &&
33993          { ac_try='test -s conftest$ac_exeext'
33994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33995   (eval $ac_try) 2>&5
33996   ac_status=$?
33997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998   (exit $ac_status); }; }; then
33999   eval "$as_ac_var=yes"
34000 else
34001   echo "$as_me: failed program was:" >&5
34002 sed 's/^/| /' conftest.$ac_ext >&5
34003
34004 eval "$as_ac_var=no"
34005 fi
34006 rm -f conftest.err conftest.$ac_objext \
34007       conftest$ac_exeext conftest.$ac_ext
34008 fi
34009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34011 if test `eval echo '${'$as_ac_var'}'` = yes; then
34012   cat >>confdefs.h <<_ACEOF
34013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34014 _ACEOF
34015
34016 fi
34017 done
34018
34019   else
34020
34021   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34022 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34023   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34024     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34025   echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34027
34028
34029
34030       ac_ext=cc
34031 ac_cpp='$CXXCPP $CPPFLAGS'
34032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34035
34036       cat >conftest.$ac_ext <<_ACEOF
34037 /* confdefs.h.  */
34038 _ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h.  */
34042 #include <math.h>
34043                       #ifdef HAVE_IEEEFP_H
34044                       #include <ieeefp.h>
34045                       #endif
34046
34047 int
34048 main ()
34049 {
34050  _log10l(0);
34051   ;
34052   return 0;
34053 }
34054 _ACEOF
34055 rm -f conftest.$ac_objext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34057   (eval $ac_compile) 2>conftest.er1
34058   ac_status=$?
34059   grep -v '^ *+' conftest.er1 >conftest.err
34060   rm -f conftest.er1
34061   cat conftest.err >&5
34062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063   (exit $ac_status); } &&
34064          { ac_try='test -z "$ac_cxx_werror_flag"
34065                          || test ! -s conftest.err'
34066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067   (eval $ac_try) 2>&5
34068   ac_status=$?
34069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070   (exit $ac_status); }; } &&
34071          { ac_try='test -s conftest.$ac_objext'
34072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073   (eval $ac_try) 2>&5
34074   ac_status=$?
34075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076   (exit $ac_status); }; }; then
34077   glibcxx_cv_func__log10l_use=yes
34078 else
34079   echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34081
34082 glibcxx_cv_func__log10l_use=no
34083 fi
34084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34085       ac_ext=c
34086 ac_cpp='$CPP $CPPFLAGS'
34087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34090
34091
34092 fi
34093
34094   fi
34095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34096 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34097
34098     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34099
34100 for ac_func in _log10l
34101 do
34102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34103 echo "$as_me:$LINENO: checking for $ac_func" >&5
34104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34105 if eval "test \"\${$as_ac_var+set}\" = set"; then
34106   echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108   if test x$gcc_no_link = xyes; then
34109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34111    { (exit 1); exit 1; }; }
34112 fi
34113 cat >conftest.$ac_ext <<_ACEOF
34114 /* confdefs.h.  */
34115 _ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h.  */
34119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34121 #define $ac_func innocuous_$ac_func
34122
34123 /* System header to define __stub macros and hopefully few prototypes,
34124     which can conflict with char $ac_func (); below.
34125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34126     <limits.h> exists even on freestanding compilers.  */
34127
34128 #ifdef __STDC__
34129 # include <limits.h>
34130 #else
34131 # include <assert.h>
34132 #endif
34133
34134 #undef $ac_func
34135
34136 /* Override any gcc2 internal prototype to avoid an error.  */
34137 #ifdef __cplusplus
34138 extern "C"
34139 {
34140 #endif
34141 /* We use char because int might match the return type of a gcc2
34142    builtin and then its argument prototype would still apply.  */
34143 char $ac_func ();
34144 /* The GNU C library defines this for functions which it implements
34145     to always fail with ENOSYS.  Some functions are actually named
34146     something starting with __ and the normal name is an alias.  */
34147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34148 choke me
34149 #else
34150 char (*f) () = $ac_func;
34151 #endif
34152 #ifdef __cplusplus
34153 }
34154 #endif
34155
34156 int
34157 main ()
34158 {
34159 return f != $ac_func;
34160   ;
34161   return 0;
34162 }
34163 _ACEOF
34164 rm -f conftest.$ac_objext conftest$ac_exeext
34165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34166   (eval $ac_link) 2>conftest.er1
34167   ac_status=$?
34168   grep -v '^ *+' conftest.er1 >conftest.err
34169   rm -f conftest.er1
34170   cat conftest.err >&5
34171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172   (exit $ac_status); } &&
34173          { ac_try='test -z "$ac_c_werror_flag"
34174                          || test ! -s conftest.err'
34175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176   (eval $ac_try) 2>&5
34177   ac_status=$?
34178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179   (exit $ac_status); }; } &&
34180          { ac_try='test -s conftest$ac_exeext'
34181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34182   (eval $ac_try) 2>&5
34183   ac_status=$?
34184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185   (exit $ac_status); }; }; then
34186   eval "$as_ac_var=yes"
34187 else
34188   echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34190
34191 eval "$as_ac_var=no"
34192 fi
34193 rm -f conftest.err conftest.$ac_objext \
34194       conftest$ac_exeext conftest.$ac_ext
34195 fi
34196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34198 if test `eval echo '${'$as_ac_var'}'` = yes; then
34199   cat >>confdefs.h <<_ACEOF
34200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34201 _ACEOF
34202
34203 fi
34204 done
34205
34206     fi
34207   fi
34208
34209
34210
34211
34212
34213
34214   echo "$as_me:$LINENO: checking for modfl declaration" >&5
34215 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34216   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34217     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34218   echo $ECHO_N "(cached) $ECHO_C" >&6
34219 else
34220
34221
34222
34223       ac_ext=cc
34224 ac_cpp='$CXXCPP $CPPFLAGS'
34225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34228
34229       cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h.  */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h.  */
34235 #include <math.h>
34236 int
34237 main ()
34238 {
34239  modfl(0, 0);
34240   ;
34241   return 0;
34242 }
34243 _ACEOF
34244 rm -f conftest.$ac_objext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34246   (eval $ac_compile) 2>conftest.er1
34247   ac_status=$?
34248   grep -v '^ *+' conftest.er1 >conftest.err
34249   rm -f conftest.er1
34250   cat conftest.err >&5
34251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252   (exit $ac_status); } &&
34253          { ac_try='test -z "$ac_cxx_werror_flag"
34254                          || test ! -s conftest.err'
34255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256   (eval $ac_try) 2>&5
34257   ac_status=$?
34258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259   (exit $ac_status); }; } &&
34260          { ac_try='test -s conftest.$ac_objext'
34261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262   (eval $ac_try) 2>&5
34263   ac_status=$?
34264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265   (exit $ac_status); }; }; then
34266   glibcxx_cv_func_modfl_use=yes
34267 else
34268   echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34270
34271 glibcxx_cv_func_modfl_use=no
34272 fi
34273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34274       ac_ext=c
34275 ac_cpp='$CPP $CPPFLAGS'
34276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34279
34280
34281 fi
34282
34283   fi
34284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34285 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34286
34287   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34288
34289 for ac_func in modfl
34290 do
34291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 echo "$as_me:$LINENO: checking for $ac_func" >&5
34293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34294 if eval "test \"\${$as_ac_var+set}\" = set"; then
34295   echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297   if test x$gcc_no_link = xyes; then
34298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34300    { (exit 1); exit 1; }; }
34301 fi
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h.  */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h.  */
34308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34310 #define $ac_func innocuous_$ac_func
34311
34312 /* System header to define __stub macros and hopefully few prototypes,
34313     which can conflict with char $ac_func (); below.
34314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34315     <limits.h> exists even on freestanding compilers.  */
34316
34317 #ifdef __STDC__
34318 # include <limits.h>
34319 #else
34320 # include <assert.h>
34321 #endif
34322
34323 #undef $ac_func
34324
34325 /* Override any gcc2 internal prototype to avoid an error.  */
34326 #ifdef __cplusplus
34327 extern "C"
34328 {
34329 #endif
34330 /* We use char because int might match the return type of a gcc2
34331    builtin and then its argument prototype would still apply.  */
34332 char $ac_func ();
34333 /* The GNU C library defines this for functions which it implements
34334     to always fail with ENOSYS.  Some functions are actually named
34335     something starting with __ and the normal name is an alias.  */
34336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34337 choke me
34338 #else
34339 char (*f) () = $ac_func;
34340 #endif
34341 #ifdef __cplusplus
34342 }
34343 #endif
34344
34345 int
34346 main ()
34347 {
34348 return f != $ac_func;
34349   ;
34350   return 0;
34351 }
34352 _ACEOF
34353 rm -f conftest.$ac_objext conftest$ac_exeext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34355   (eval $ac_link) 2>conftest.er1
34356   ac_status=$?
34357   grep -v '^ *+' conftest.er1 >conftest.err
34358   rm -f conftest.er1
34359   cat conftest.err >&5
34360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361   (exit $ac_status); } &&
34362          { ac_try='test -z "$ac_c_werror_flag"
34363                          || test ! -s conftest.err'
34364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365   (eval $ac_try) 2>&5
34366   ac_status=$?
34367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368   (exit $ac_status); }; } &&
34369          { ac_try='test -s conftest$ac_exeext'
34370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371   (eval $ac_try) 2>&5
34372   ac_status=$?
34373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374   (exit $ac_status); }; }; then
34375   eval "$as_ac_var=yes"
34376 else
34377   echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34379
34380 eval "$as_ac_var=no"
34381 fi
34382 rm -f conftest.err conftest.$ac_objext \
34383       conftest$ac_exeext conftest.$ac_ext
34384 fi
34385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34387 if test `eval echo '${'$as_ac_var'}'` = yes; then
34388   cat >>confdefs.h <<_ACEOF
34389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34390 _ACEOF
34391
34392 fi
34393 done
34394
34395   else
34396
34397   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34398 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34399   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34400     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34401   echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34403
34404
34405
34406       ac_ext=cc
34407 ac_cpp='$CXXCPP $CPPFLAGS'
34408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34411
34412       cat >conftest.$ac_ext <<_ACEOF
34413 /* confdefs.h.  */
34414 _ACEOF
34415 cat confdefs.h >>conftest.$ac_ext
34416 cat >>conftest.$ac_ext <<_ACEOF
34417 /* end confdefs.h.  */
34418 #include <math.h>
34419 int
34420 main ()
34421 {
34422  _modfl(0, 0);
34423   ;
34424   return 0;
34425 }
34426 _ACEOF
34427 rm -f conftest.$ac_objext
34428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34429   (eval $ac_compile) 2>conftest.er1
34430   ac_status=$?
34431   grep -v '^ *+' conftest.er1 >conftest.err
34432   rm -f conftest.er1
34433   cat conftest.err >&5
34434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435   (exit $ac_status); } &&
34436          { ac_try='test -z "$ac_cxx_werror_flag"
34437                          || test ! -s conftest.err'
34438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439   (eval $ac_try) 2>&5
34440   ac_status=$?
34441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442   (exit $ac_status); }; } &&
34443          { ac_try='test -s conftest.$ac_objext'
34444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445   (eval $ac_try) 2>&5
34446   ac_status=$?
34447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448   (exit $ac_status); }; }; then
34449   glibcxx_cv_func__modfl_use=yes
34450 else
34451   echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34453
34454 glibcxx_cv_func__modfl_use=no
34455 fi
34456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34457       ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34462
34463
34464 fi
34465
34466   fi
34467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34468 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34469
34470     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34471
34472 for ac_func in _modfl
34473 do
34474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34475 echo "$as_me:$LINENO: checking for $ac_func" >&5
34476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34477 if eval "test \"\${$as_ac_var+set}\" = set"; then
34478   echo $ECHO_N "(cached) $ECHO_C" >&6
34479 else
34480   if test x$gcc_no_link = xyes; then
34481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34483    { (exit 1); exit 1; }; }
34484 fi
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h.  */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h.  */
34491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34493 #define $ac_func innocuous_$ac_func
34494
34495 /* System header to define __stub macros and hopefully few prototypes,
34496     which can conflict with char $ac_func (); below.
34497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34498     <limits.h> exists even on freestanding compilers.  */
34499
34500 #ifdef __STDC__
34501 # include <limits.h>
34502 #else
34503 # include <assert.h>
34504 #endif
34505
34506 #undef $ac_func
34507
34508 /* Override any gcc2 internal prototype to avoid an error.  */
34509 #ifdef __cplusplus
34510 extern "C"
34511 {
34512 #endif
34513 /* We use char because int might match the return type of a gcc2
34514    builtin and then its argument prototype would still apply.  */
34515 char $ac_func ();
34516 /* The GNU C library defines this for functions which it implements
34517     to always fail with ENOSYS.  Some functions are actually named
34518     something starting with __ and the normal name is an alias.  */
34519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34520 choke me
34521 #else
34522 char (*f) () = $ac_func;
34523 #endif
34524 #ifdef __cplusplus
34525 }
34526 #endif
34527
34528 int
34529 main ()
34530 {
34531 return f != $ac_func;
34532   ;
34533   return 0;
34534 }
34535 _ACEOF
34536 rm -f conftest.$ac_objext conftest$ac_exeext
34537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34538   (eval $ac_link) 2>conftest.er1
34539   ac_status=$?
34540   grep -v '^ *+' conftest.er1 >conftest.err
34541   rm -f conftest.er1
34542   cat conftest.err >&5
34543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544   (exit $ac_status); } &&
34545          { ac_try='test -z "$ac_c_werror_flag"
34546                          || test ! -s conftest.err'
34547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548   (eval $ac_try) 2>&5
34549   ac_status=$?
34550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551   (exit $ac_status); }; } &&
34552          { ac_try='test -s conftest$ac_exeext'
34553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554   (eval $ac_try) 2>&5
34555   ac_status=$?
34556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557   (exit $ac_status); }; }; then
34558   eval "$as_ac_var=yes"
34559 else
34560   echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34562
34563 eval "$as_ac_var=no"
34564 fi
34565 rm -f conftest.err conftest.$ac_objext \
34566       conftest$ac_exeext conftest.$ac_ext
34567 fi
34568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34570 if test `eval echo '${'$as_ac_var'}'` = yes; then
34571   cat >>confdefs.h <<_ACEOF
34572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34573 _ACEOF
34574
34575 fi
34576 done
34577
34578     fi
34579   fi
34580
34581
34582
34583
34584
34585
34586   echo "$as_me:$LINENO: checking for powl declaration" >&5
34587 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34588   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34589     if test "${glibcxx_cv_func_powl_use+set}" = set; then
34590   echo $ECHO_N "(cached) $ECHO_C" >&6
34591 else
34592
34593
34594
34595       ac_ext=cc
34596 ac_cpp='$CXXCPP $CPPFLAGS'
34597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34600
34601       cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h.  */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h.  */
34607 #include <math.h>
34608 int
34609 main ()
34610 {
34611  powl(0, 0);
34612   ;
34613   return 0;
34614 }
34615 _ACEOF
34616 rm -f conftest.$ac_objext
34617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34618   (eval $ac_compile) 2>conftest.er1
34619   ac_status=$?
34620   grep -v '^ *+' conftest.er1 >conftest.err
34621   rm -f conftest.er1
34622   cat conftest.err >&5
34623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624   (exit $ac_status); } &&
34625          { ac_try='test -z "$ac_cxx_werror_flag"
34626                          || test ! -s conftest.err'
34627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628   (eval $ac_try) 2>&5
34629   ac_status=$?
34630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631   (exit $ac_status); }; } &&
34632          { ac_try='test -s conftest.$ac_objext'
34633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634   (eval $ac_try) 2>&5
34635   ac_status=$?
34636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637   (exit $ac_status); }; }; then
34638   glibcxx_cv_func_powl_use=yes
34639 else
34640   echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34642
34643 glibcxx_cv_func_powl_use=no
34644 fi
34645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34646       ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651
34652
34653 fi
34654
34655   fi
34656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34657 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34658
34659   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34660
34661 for ac_func in powl
34662 do
34663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34664 echo "$as_me:$LINENO: checking for $ac_func" >&5
34665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34666 if eval "test \"\${$as_ac_var+set}\" = set"; then
34667   echo $ECHO_N "(cached) $ECHO_C" >&6
34668 else
34669   if test x$gcc_no_link = xyes; then
34670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34672    { (exit 1); exit 1; }; }
34673 fi
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h.  */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h.  */
34680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34682 #define $ac_func innocuous_$ac_func
34683
34684 /* System header to define __stub macros and hopefully few prototypes,
34685     which can conflict with char $ac_func (); below.
34686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34687     <limits.h> exists even on freestanding compilers.  */
34688
34689 #ifdef __STDC__
34690 # include <limits.h>
34691 #else
34692 # include <assert.h>
34693 #endif
34694
34695 #undef $ac_func
34696
34697 /* Override any gcc2 internal prototype to avoid an error.  */
34698 #ifdef __cplusplus
34699 extern "C"
34700 {
34701 #endif
34702 /* We use char because int might match the return type of a gcc2
34703    builtin and then its argument prototype would still apply.  */
34704 char $ac_func ();
34705 /* The GNU C library defines this for functions which it implements
34706     to always fail with ENOSYS.  Some functions are actually named
34707     something starting with __ and the normal name is an alias.  */
34708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34709 choke me
34710 #else
34711 char (*f) () = $ac_func;
34712 #endif
34713 #ifdef __cplusplus
34714 }
34715 #endif
34716
34717 int
34718 main ()
34719 {
34720 return f != $ac_func;
34721   ;
34722   return 0;
34723 }
34724 _ACEOF
34725 rm -f conftest.$ac_objext conftest$ac_exeext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34727   (eval $ac_link) 2>conftest.er1
34728   ac_status=$?
34729   grep -v '^ *+' conftest.er1 >conftest.err
34730   rm -f conftest.er1
34731   cat conftest.err >&5
34732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733   (exit $ac_status); } &&
34734          { ac_try='test -z "$ac_c_werror_flag"
34735                          || test ! -s conftest.err'
34736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737   (eval $ac_try) 2>&5
34738   ac_status=$?
34739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740   (exit $ac_status); }; } &&
34741          { ac_try='test -s conftest$ac_exeext'
34742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743   (eval $ac_try) 2>&5
34744   ac_status=$?
34745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746   (exit $ac_status); }; }; then
34747   eval "$as_ac_var=yes"
34748 else
34749   echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.$ac_ext >&5
34751
34752 eval "$as_ac_var=no"
34753 fi
34754 rm -f conftest.err conftest.$ac_objext \
34755       conftest$ac_exeext conftest.$ac_ext
34756 fi
34757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34759 if test `eval echo '${'$as_ac_var'}'` = yes; then
34760   cat >>confdefs.h <<_ACEOF
34761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34762 _ACEOF
34763
34764 fi
34765 done
34766
34767   else
34768
34769   echo "$as_me:$LINENO: checking for _powl declaration" >&5
34770 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34771   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34772     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34773   echo $ECHO_N "(cached) $ECHO_C" >&6
34774 else
34775
34776
34777
34778       ac_ext=cc
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34783
34784       cat >conftest.$ac_ext <<_ACEOF
34785 /* confdefs.h.  */
34786 _ACEOF
34787 cat confdefs.h >>conftest.$ac_ext
34788 cat >>conftest.$ac_ext <<_ACEOF
34789 /* end confdefs.h.  */
34790 #include <math.h>
34791 int
34792 main ()
34793 {
34794  _powl(0, 0);
34795   ;
34796   return 0;
34797 }
34798 _ACEOF
34799 rm -f conftest.$ac_objext
34800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34801   (eval $ac_compile) 2>conftest.er1
34802   ac_status=$?
34803   grep -v '^ *+' conftest.er1 >conftest.err
34804   rm -f conftest.er1
34805   cat conftest.err >&5
34806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807   (exit $ac_status); } &&
34808          { ac_try='test -z "$ac_cxx_werror_flag"
34809                          || test ! -s conftest.err'
34810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811   (eval $ac_try) 2>&5
34812   ac_status=$?
34813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814   (exit $ac_status); }; } &&
34815          { ac_try='test -s conftest.$ac_objext'
34816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817   (eval $ac_try) 2>&5
34818   ac_status=$?
34819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820   (exit $ac_status); }; }; then
34821   glibcxx_cv_func__powl_use=yes
34822 else
34823   echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.$ac_ext >&5
34825
34826 glibcxx_cv_func__powl_use=no
34827 fi
34828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34829       ac_ext=c
34830 ac_cpp='$CPP $CPPFLAGS'
34831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34834
34835
34836 fi
34837
34838   fi
34839   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34840 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34841
34842     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34843
34844 for ac_func in _powl
34845 do
34846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34847 echo "$as_me:$LINENO: checking for $ac_func" >&5
34848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34849 if eval "test \"\${$as_ac_var+set}\" = set"; then
34850   echo $ECHO_N "(cached) $ECHO_C" >&6
34851 else
34852   if test x$gcc_no_link = xyes; then
34853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34855    { (exit 1); exit 1; }; }
34856 fi
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h.  */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h.  */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34865 #define $ac_func innocuous_$ac_func
34866
34867 /* System header to define __stub macros and hopefully few prototypes,
34868     which can conflict with char $ac_func (); below.
34869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870     <limits.h> exists even on freestanding compilers.  */
34871
34872 #ifdef __STDC__
34873 # include <limits.h>
34874 #else
34875 # include <assert.h>
34876 #endif
34877
34878 #undef $ac_func
34879
34880 /* Override any gcc2 internal prototype to avoid an error.  */
34881 #ifdef __cplusplus
34882 extern "C"
34883 {
34884 #endif
34885 /* We use char because int might match the return type of a gcc2
34886    builtin and then its argument prototype would still apply.  */
34887 char $ac_func ();
34888 /* The GNU C library defines this for functions which it implements
34889     to always fail with ENOSYS.  Some functions are actually named
34890     something starting with __ and the normal name is an alias.  */
34891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34892 choke me
34893 #else
34894 char (*f) () = $ac_func;
34895 #endif
34896 #ifdef __cplusplus
34897 }
34898 #endif
34899
34900 int
34901 main ()
34902 {
34903 return f != $ac_func;
34904   ;
34905   return 0;
34906 }
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34910   (eval $ac_link) 2>conftest.er1
34911   ac_status=$?
34912   grep -v '^ *+' conftest.er1 >conftest.err
34913   rm -f conftest.er1
34914   cat conftest.err >&5
34915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916   (exit $ac_status); } &&
34917          { ac_try='test -z "$ac_c_werror_flag"
34918                          || test ! -s conftest.err'
34919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920   (eval $ac_try) 2>&5
34921   ac_status=$?
34922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923   (exit $ac_status); }; } &&
34924          { ac_try='test -s conftest$ac_exeext'
34925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926   (eval $ac_try) 2>&5
34927   ac_status=$?
34928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929   (exit $ac_status); }; }; then
34930   eval "$as_ac_var=yes"
34931 else
34932   echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34934
34935 eval "$as_ac_var=no"
34936 fi
34937 rm -f conftest.err conftest.$ac_objext \
34938       conftest$ac_exeext conftest.$ac_ext
34939 fi
34940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34942 if test `eval echo '${'$as_ac_var'}'` = yes; then
34943   cat >>confdefs.h <<_ACEOF
34944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34945 _ACEOF
34946
34947 fi
34948 done
34949
34950     fi
34951   fi
34952
34953
34954
34955
34956
34957
34958   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34959 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34960   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34961     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34962   echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34964
34965
34966
34967       ac_ext=cc
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34972
34973       cat >conftest.$ac_ext <<_ACEOF
34974 /* confdefs.h.  */
34975 _ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h.  */
34979 #include <math.h>
34980                       #ifdef HAVE_IEEEFP_H
34981                       #include <ieeefp.h>
34982                       #endif
34983
34984 int
34985 main ()
34986 {
34987  sqrtl(0);
34988   ;
34989   return 0;
34990 }
34991 _ACEOF
34992 rm -f conftest.$ac_objext
34993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34994   (eval $ac_compile) 2>conftest.er1
34995   ac_status=$?
34996   grep -v '^ *+' conftest.er1 >conftest.err
34997   rm -f conftest.er1
34998   cat conftest.err >&5
34999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000   (exit $ac_status); } &&
35001          { ac_try='test -z "$ac_cxx_werror_flag"
35002                          || test ! -s conftest.err'
35003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004   (eval $ac_try) 2>&5
35005   ac_status=$?
35006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007   (exit $ac_status); }; } &&
35008          { ac_try='test -s conftest.$ac_objext'
35009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010   (eval $ac_try) 2>&5
35011   ac_status=$?
35012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013   (exit $ac_status); }; }; then
35014   glibcxx_cv_func_sqrtl_use=yes
35015 else
35016   echo "$as_me: failed program was:" >&5
35017 sed 's/^/| /' conftest.$ac_ext >&5
35018
35019 glibcxx_cv_func_sqrtl_use=no
35020 fi
35021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35022       ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35027
35028
35029 fi
35030
35031   fi
35032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35033 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35034
35035   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35036
35037 for ac_func in sqrtl
35038 do
35039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 echo "$as_me:$LINENO: checking for $ac_func" >&5
35041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35042 if eval "test \"\${$as_ac_var+set}\" = set"; then
35043   echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045   if test x$gcc_no_link = xyes; then
35046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35048    { (exit 1); exit 1; }; }
35049 fi
35050 cat >conftest.$ac_ext <<_ACEOF
35051 /* confdefs.h.  */
35052 _ACEOF
35053 cat confdefs.h >>conftest.$ac_ext
35054 cat >>conftest.$ac_ext <<_ACEOF
35055 /* end confdefs.h.  */
35056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35058 #define $ac_func innocuous_$ac_func
35059
35060 /* System header to define __stub macros and hopefully few prototypes,
35061     which can conflict with char $ac_func (); below.
35062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35063     <limits.h> exists even on freestanding compilers.  */
35064
35065 #ifdef __STDC__
35066 # include <limits.h>
35067 #else
35068 # include <assert.h>
35069 #endif
35070
35071 #undef $ac_func
35072
35073 /* Override any gcc2 internal prototype to avoid an error.  */
35074 #ifdef __cplusplus
35075 extern "C"
35076 {
35077 #endif
35078 /* We use char because int might match the return type of a gcc2
35079    builtin and then its argument prototype would still apply.  */
35080 char $ac_func ();
35081 /* The GNU C library defines this for functions which it implements
35082     to always fail with ENOSYS.  Some functions are actually named
35083     something starting with __ and the normal name is an alias.  */
35084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35085 choke me
35086 #else
35087 char (*f) () = $ac_func;
35088 #endif
35089 #ifdef __cplusplus
35090 }
35091 #endif
35092
35093 int
35094 main ()
35095 {
35096 return f != $ac_func;
35097   ;
35098   return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103   (eval $ac_link) 2>conftest.er1
35104   ac_status=$?
35105   grep -v '^ *+' conftest.er1 >conftest.err
35106   rm -f conftest.er1
35107   cat conftest.err >&5
35108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109   (exit $ac_status); } &&
35110          { ac_try='test -z "$ac_c_werror_flag"
35111                          || test ! -s conftest.err'
35112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113   (eval $ac_try) 2>&5
35114   ac_status=$?
35115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116   (exit $ac_status); }; } &&
35117          { ac_try='test -s conftest$ac_exeext'
35118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119   (eval $ac_try) 2>&5
35120   ac_status=$?
35121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122   (exit $ac_status); }; }; then
35123   eval "$as_ac_var=yes"
35124 else
35125   echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130 rm -f conftest.err conftest.$ac_objext \
35131       conftest$ac_exeext conftest.$ac_ext
35132 fi
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136   cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35139
35140 fi
35141 done
35142
35143   else
35144
35145   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35146 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35147   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35148     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35149   echo $ECHO_N "(cached) $ECHO_C" >&6
35150 else
35151
35152
35153
35154       ac_ext=cc
35155 ac_cpp='$CXXCPP $CPPFLAGS'
35156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35159
35160       cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h.  */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h.  */
35166 #include <math.h>
35167                       #ifdef HAVE_IEEEFP_H
35168                       #include <ieeefp.h>
35169                       #endif
35170
35171 int
35172 main ()
35173 {
35174  _sqrtl(0);
35175   ;
35176   return 0;
35177 }
35178 _ACEOF
35179 rm -f conftest.$ac_objext
35180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35181   (eval $ac_compile) 2>conftest.er1
35182   ac_status=$?
35183   grep -v '^ *+' conftest.er1 >conftest.err
35184   rm -f conftest.er1
35185   cat conftest.err >&5
35186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187   (exit $ac_status); } &&
35188          { ac_try='test -z "$ac_cxx_werror_flag"
35189                          || test ! -s conftest.err'
35190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191   (eval $ac_try) 2>&5
35192   ac_status=$?
35193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194   (exit $ac_status); }; } &&
35195          { ac_try='test -s conftest.$ac_objext'
35196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197   (eval $ac_try) 2>&5
35198   ac_status=$?
35199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200   (exit $ac_status); }; }; then
35201   glibcxx_cv_func__sqrtl_use=yes
35202 else
35203   echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35205
35206 glibcxx_cv_func__sqrtl_use=no
35207 fi
35208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35209       ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214
35215
35216 fi
35217
35218   fi
35219   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35220 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35221
35222     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35223
35224 for ac_func in _sqrtl
35225 do
35226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35227 echo "$as_me:$LINENO: checking for $ac_func" >&5
35228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35229 if eval "test \"\${$as_ac_var+set}\" = set"; then
35230   echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232   if test x$gcc_no_link = xyes; then
35233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35235    { (exit 1); exit 1; }; }
35236 fi
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h.  */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h.  */
35243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35245 #define $ac_func innocuous_$ac_func
35246
35247 /* System header to define __stub macros and hopefully few prototypes,
35248     which can conflict with char $ac_func (); below.
35249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35250     <limits.h> exists even on freestanding compilers.  */
35251
35252 #ifdef __STDC__
35253 # include <limits.h>
35254 #else
35255 # include <assert.h>
35256 #endif
35257
35258 #undef $ac_func
35259
35260 /* Override any gcc2 internal prototype to avoid an error.  */
35261 #ifdef __cplusplus
35262 extern "C"
35263 {
35264 #endif
35265 /* We use char because int might match the return type of a gcc2
35266    builtin and then its argument prototype would still apply.  */
35267 char $ac_func ();
35268 /* The GNU C library defines this for functions which it implements
35269     to always fail with ENOSYS.  Some functions are actually named
35270     something starting with __ and the normal name is an alias.  */
35271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35272 choke me
35273 #else
35274 char (*f) () = $ac_func;
35275 #endif
35276 #ifdef __cplusplus
35277 }
35278 #endif
35279
35280 int
35281 main ()
35282 {
35283 return f != $ac_func;
35284   ;
35285   return 0;
35286 }
35287 _ACEOF
35288 rm -f conftest.$ac_objext conftest$ac_exeext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35290   (eval $ac_link) 2>conftest.er1
35291   ac_status=$?
35292   grep -v '^ *+' conftest.er1 >conftest.err
35293   rm -f conftest.er1
35294   cat conftest.err >&5
35295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296   (exit $ac_status); } &&
35297          { ac_try='test -z "$ac_c_werror_flag"
35298                          || test ! -s conftest.err'
35299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300   (eval $ac_try) 2>&5
35301   ac_status=$?
35302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303   (exit $ac_status); }; } &&
35304          { ac_try='test -s conftest$ac_exeext'
35305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306   (eval $ac_try) 2>&5
35307   ac_status=$?
35308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309   (exit $ac_status); }; }; then
35310   eval "$as_ac_var=yes"
35311 else
35312   echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35314
35315 eval "$as_ac_var=no"
35316 fi
35317 rm -f conftest.err conftest.$ac_objext \
35318       conftest$ac_exeext conftest.$ac_ext
35319 fi
35320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35322 if test `eval echo '${'$as_ac_var'}'` = yes; then
35323   cat >>confdefs.h <<_ACEOF
35324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35325 _ACEOF
35326
35327 fi
35328 done
35329
35330     fi
35331   fi
35332
35333
35334
35335
35336
35337
35338   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35339 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35340   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35341     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35342   echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35344
35345
35346
35347       ac_ext=cc
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352
35353       cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h.  */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h.  */
35359 #include <math.h>
35360 int
35361 main ()
35362 {
35363  sincosl(0, 0, 0);
35364   ;
35365   return 0;
35366 }
35367 _ACEOF
35368 rm -f conftest.$ac_objext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35370   (eval $ac_compile) 2>conftest.er1
35371   ac_status=$?
35372   grep -v '^ *+' conftest.er1 >conftest.err
35373   rm -f conftest.er1
35374   cat conftest.err >&5
35375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376   (exit $ac_status); } &&
35377          { ac_try='test -z "$ac_cxx_werror_flag"
35378                          || test ! -s conftest.err'
35379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380   (eval $ac_try) 2>&5
35381   ac_status=$?
35382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383   (exit $ac_status); }; } &&
35384          { ac_try='test -s conftest.$ac_objext'
35385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386   (eval $ac_try) 2>&5
35387   ac_status=$?
35388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389   (exit $ac_status); }; }; then
35390   glibcxx_cv_func_sincosl_use=yes
35391 else
35392   echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35394
35395 glibcxx_cv_func_sincosl_use=no
35396 fi
35397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35398       ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403
35404
35405 fi
35406
35407   fi
35408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35409 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35410
35411   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35412
35413 for ac_func in sincosl
35414 do
35415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35416 echo "$as_me:$LINENO: checking for $ac_func" >&5
35417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35418 if eval "test \"\${$as_ac_var+set}\" = set"; then
35419   echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421   if test x$gcc_no_link = xyes; then
35422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35424    { (exit 1); exit 1; }; }
35425 fi
35426 cat >conftest.$ac_ext <<_ACEOF
35427 /* confdefs.h.  */
35428 _ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h.  */
35432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35434 #define $ac_func innocuous_$ac_func
35435
35436 /* System header to define __stub macros and hopefully few prototypes,
35437     which can conflict with char $ac_func (); below.
35438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35439     <limits.h> exists even on freestanding compilers.  */
35440
35441 #ifdef __STDC__
35442 # include <limits.h>
35443 #else
35444 # include <assert.h>
35445 #endif
35446
35447 #undef $ac_func
35448
35449 /* Override any gcc2 internal prototype to avoid an error.  */
35450 #ifdef __cplusplus
35451 extern "C"
35452 {
35453 #endif
35454 /* We use char because int might match the return type of a gcc2
35455    builtin and then its argument prototype would still apply.  */
35456 char $ac_func ();
35457 /* The GNU C library defines this for functions which it implements
35458     to always fail with ENOSYS.  Some functions are actually named
35459     something starting with __ and the normal name is an alias.  */
35460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35461 choke me
35462 #else
35463 char (*f) () = $ac_func;
35464 #endif
35465 #ifdef __cplusplus
35466 }
35467 #endif
35468
35469 int
35470 main ()
35471 {
35472 return f != $ac_func;
35473   ;
35474   return 0;
35475 }
35476 _ACEOF
35477 rm -f conftest.$ac_objext conftest$ac_exeext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35479   (eval $ac_link) 2>conftest.er1
35480   ac_status=$?
35481   grep -v '^ *+' conftest.er1 >conftest.err
35482   rm -f conftest.er1
35483   cat conftest.err >&5
35484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485   (exit $ac_status); } &&
35486          { ac_try='test -z "$ac_c_werror_flag"
35487                          || test ! -s conftest.err'
35488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489   (eval $ac_try) 2>&5
35490   ac_status=$?
35491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492   (exit $ac_status); }; } &&
35493          { ac_try='test -s conftest$ac_exeext'
35494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495   (eval $ac_try) 2>&5
35496   ac_status=$?
35497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498   (exit $ac_status); }; }; then
35499   eval "$as_ac_var=yes"
35500 else
35501   echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35503
35504 eval "$as_ac_var=no"
35505 fi
35506 rm -f conftest.err conftest.$ac_objext \
35507       conftest$ac_exeext conftest.$ac_ext
35508 fi
35509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35511 if test `eval echo '${'$as_ac_var'}'` = yes; then
35512   cat >>confdefs.h <<_ACEOF
35513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35514 _ACEOF
35515
35516 fi
35517 done
35518
35519   else
35520
35521   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35522 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35523   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35524     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35525   echo $ECHO_N "(cached) $ECHO_C" >&6
35526 else
35527
35528
35529
35530       ac_ext=cc
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35535
35536       cat >conftest.$ac_ext <<_ACEOF
35537 /* confdefs.h.  */
35538 _ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h.  */
35542 #include <math.h>
35543 int
35544 main ()
35545 {
35546  _sincosl(0, 0, 0);
35547   ;
35548   return 0;
35549 }
35550 _ACEOF
35551 rm -f conftest.$ac_objext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35553   (eval $ac_compile) 2>conftest.er1
35554   ac_status=$?
35555   grep -v '^ *+' conftest.er1 >conftest.err
35556   rm -f conftest.er1
35557   cat conftest.err >&5
35558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559   (exit $ac_status); } &&
35560          { ac_try='test -z "$ac_cxx_werror_flag"
35561                          || test ! -s conftest.err'
35562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563   (eval $ac_try) 2>&5
35564   ac_status=$?
35565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566   (exit $ac_status); }; } &&
35567          { ac_try='test -s conftest.$ac_objext'
35568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569   (eval $ac_try) 2>&5
35570   ac_status=$?
35571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572   (exit $ac_status); }; }; then
35573   glibcxx_cv_func__sincosl_use=yes
35574 else
35575   echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35577
35578 glibcxx_cv_func__sincosl_use=no
35579 fi
35580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35581       ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586
35587
35588 fi
35589
35590   fi
35591   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35592 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35593
35594     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35595
35596 for ac_func in _sincosl
35597 do
35598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35599 echo "$as_me:$LINENO: checking for $ac_func" >&5
35600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35601 if eval "test \"\${$as_ac_var+set}\" = set"; then
35602   echo $ECHO_N "(cached) $ECHO_C" >&6
35603 else
35604   if test x$gcc_no_link = xyes; then
35605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35607    { (exit 1); exit 1; }; }
35608 fi
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h.  */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h.  */
35615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35617 #define $ac_func innocuous_$ac_func
35618
35619 /* System header to define __stub macros and hopefully few prototypes,
35620     which can conflict with char $ac_func (); below.
35621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35622     <limits.h> exists even on freestanding compilers.  */
35623
35624 #ifdef __STDC__
35625 # include <limits.h>
35626 #else
35627 # include <assert.h>
35628 #endif
35629
35630 #undef $ac_func
35631
35632 /* Override any gcc2 internal prototype to avoid an error.  */
35633 #ifdef __cplusplus
35634 extern "C"
35635 {
35636 #endif
35637 /* We use char because int might match the return type of a gcc2
35638    builtin and then its argument prototype would still apply.  */
35639 char $ac_func ();
35640 /* The GNU C library defines this for functions which it implements
35641     to always fail with ENOSYS.  Some functions are actually named
35642     something starting with __ and the normal name is an alias.  */
35643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35644 choke me
35645 #else
35646 char (*f) () = $ac_func;
35647 #endif
35648 #ifdef __cplusplus
35649 }
35650 #endif
35651
35652 int
35653 main ()
35654 {
35655 return f != $ac_func;
35656   ;
35657   return 0;
35658 }
35659 _ACEOF
35660 rm -f conftest.$ac_objext conftest$ac_exeext
35661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35662   (eval $ac_link) 2>conftest.er1
35663   ac_status=$?
35664   grep -v '^ *+' conftest.er1 >conftest.err
35665   rm -f conftest.er1
35666   cat conftest.err >&5
35667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668   (exit $ac_status); } &&
35669          { ac_try='test -z "$ac_c_werror_flag"
35670                          || test ! -s conftest.err'
35671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672   (eval $ac_try) 2>&5
35673   ac_status=$?
35674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675   (exit $ac_status); }; } &&
35676          { ac_try='test -s conftest$ac_exeext'
35677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678   (eval $ac_try) 2>&5
35679   ac_status=$?
35680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681   (exit $ac_status); }; }; then
35682   eval "$as_ac_var=yes"
35683 else
35684   echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35686
35687 eval "$as_ac_var=no"
35688 fi
35689 rm -f conftest.err conftest.$ac_objext \
35690       conftest$ac_exeext conftest.$ac_ext
35691 fi
35692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35694 if test `eval echo '${'$as_ac_var'}'` = yes; then
35695   cat >>confdefs.h <<_ACEOF
35696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35697 _ACEOF
35698
35699 fi
35700 done
35701
35702     fi
35703   fi
35704
35705
35706
35707
35708
35709
35710   echo "$as_me:$LINENO: checking for finitel declaration" >&5
35711 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35712   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35713     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35714   echo $ECHO_N "(cached) $ECHO_C" >&6
35715 else
35716
35717
35718
35719       ac_ext=cc
35720 ac_cpp='$CXXCPP $CPPFLAGS'
35721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35724
35725       cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h.  */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h.  */
35731 #include <math.h>
35732                       #ifdef HAVE_IEEEFP_H
35733                       #include <ieeefp.h>
35734                       #endif
35735
35736 int
35737 main ()
35738 {
35739  finitel(0);
35740   ;
35741   return 0;
35742 }
35743 _ACEOF
35744 rm -f conftest.$ac_objext
35745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35746   (eval $ac_compile) 2>conftest.er1
35747   ac_status=$?
35748   grep -v '^ *+' conftest.er1 >conftest.err
35749   rm -f conftest.er1
35750   cat conftest.err >&5
35751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752   (exit $ac_status); } &&
35753          { ac_try='test -z "$ac_cxx_werror_flag"
35754                          || test ! -s conftest.err'
35755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756   (eval $ac_try) 2>&5
35757   ac_status=$?
35758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759   (exit $ac_status); }; } &&
35760          { ac_try='test -s conftest.$ac_objext'
35761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762   (eval $ac_try) 2>&5
35763   ac_status=$?
35764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765   (exit $ac_status); }; }; then
35766   glibcxx_cv_func_finitel_use=yes
35767 else
35768   echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35770
35771 glibcxx_cv_func_finitel_use=no
35772 fi
35773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35774       ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779
35780
35781 fi
35782
35783   fi
35784   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35785 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35786
35787   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35788
35789 for ac_func in finitel
35790 do
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35794 if eval "test \"\${$as_ac_var+set}\" = set"; then
35795   echo $ECHO_N "(cached) $ECHO_C" >&6
35796 else
35797   if test x$gcc_no_link = xyes; then
35798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35800    { (exit 1); exit 1; }; }
35801 fi
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h.  */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h.  */
35808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35810 #define $ac_func innocuous_$ac_func
35811
35812 /* System header to define __stub macros and hopefully few prototypes,
35813     which can conflict with char $ac_func (); below.
35814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35815     <limits.h> exists even on freestanding compilers.  */
35816
35817 #ifdef __STDC__
35818 # include <limits.h>
35819 #else
35820 # include <assert.h>
35821 #endif
35822
35823 #undef $ac_func
35824
35825 /* Override any gcc2 internal prototype to avoid an error.  */
35826 #ifdef __cplusplus
35827 extern "C"
35828 {
35829 #endif
35830 /* We use char because int might match the return type of a gcc2
35831    builtin and then its argument prototype would still apply.  */
35832 char $ac_func ();
35833 /* The GNU C library defines this for functions which it implements
35834     to always fail with ENOSYS.  Some functions are actually named
35835     something starting with __ and the normal name is an alias.  */
35836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35837 choke me
35838 #else
35839 char (*f) () = $ac_func;
35840 #endif
35841 #ifdef __cplusplus
35842 }
35843 #endif
35844
35845 int
35846 main ()
35847 {
35848 return f != $ac_func;
35849   ;
35850   return 0;
35851 }
35852 _ACEOF
35853 rm -f conftest.$ac_objext conftest$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855   (eval $ac_link) 2>conftest.er1
35856   ac_status=$?
35857   grep -v '^ *+' conftest.er1 >conftest.err
35858   rm -f conftest.er1
35859   cat conftest.err >&5
35860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861   (exit $ac_status); } &&
35862          { ac_try='test -z "$ac_c_werror_flag"
35863                          || test ! -s conftest.err'
35864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865   (eval $ac_try) 2>&5
35866   ac_status=$?
35867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868   (exit $ac_status); }; } &&
35869          { ac_try='test -s conftest$ac_exeext'
35870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871   (eval $ac_try) 2>&5
35872   ac_status=$?
35873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874   (exit $ac_status); }; }; then
35875   eval "$as_ac_var=yes"
35876 else
35877   echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 eval "$as_ac_var=no"
35881 fi
35882 rm -f conftest.err conftest.$ac_objext \
35883       conftest$ac_exeext conftest.$ac_ext
35884 fi
35885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888   cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35891
35892 fi
35893 done
35894
35895   else
35896
35897   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35898 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35899   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35900     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35901   echo $ECHO_N "(cached) $ECHO_C" >&6
35902 else
35903
35904
35905
35906       ac_ext=cc
35907 ac_cpp='$CXXCPP $CPPFLAGS'
35908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911
35912       cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h.  */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h.  */
35918 #include <math.h>
35919                       #ifdef HAVE_IEEEFP_H
35920                       #include <ieeefp.h>
35921                       #endif
35922
35923 int
35924 main ()
35925 {
35926  _finitel(0);
35927   ;
35928   return 0;
35929 }
35930 _ACEOF
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933   (eval $ac_compile) 2>conftest.er1
35934   ac_status=$?
35935   grep -v '^ *+' conftest.er1 >conftest.err
35936   rm -f conftest.er1
35937   cat conftest.err >&5
35938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939   (exit $ac_status); } &&
35940          { ac_try='test -z "$ac_cxx_werror_flag"
35941                          || test ! -s conftest.err'
35942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35943   (eval $ac_try) 2>&5
35944   ac_status=$?
35945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946   (exit $ac_status); }; } &&
35947          { ac_try='test -s conftest.$ac_objext'
35948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949   (eval $ac_try) 2>&5
35950   ac_status=$?
35951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952   (exit $ac_status); }; }; then
35953   glibcxx_cv_func__finitel_use=yes
35954 else
35955   echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35957
35958 glibcxx_cv_func__finitel_use=no
35959 fi
35960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35961       ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966
35967
35968 fi
35969
35970   fi
35971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35972 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35973
35974     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35975
35976 for ac_func in _finitel
35977 do
35978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35979 echo "$as_me:$LINENO: checking for $ac_func" >&5
35980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35981 if eval "test \"\${$as_ac_var+set}\" = set"; then
35982   echo $ECHO_N "(cached) $ECHO_C" >&6
35983 else
35984   if test x$gcc_no_link = xyes; then
35985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35987    { (exit 1); exit 1; }; }
35988 fi
35989 cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h.  */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h.  */
35995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35997 #define $ac_func innocuous_$ac_func
35998
35999 /* System header to define __stub macros and hopefully few prototypes,
36000     which can conflict with char $ac_func (); below.
36001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36002     <limits.h> exists even on freestanding compilers.  */
36003
36004 #ifdef __STDC__
36005 # include <limits.h>
36006 #else
36007 # include <assert.h>
36008 #endif
36009
36010 #undef $ac_func
36011
36012 /* Override any gcc2 internal prototype to avoid an error.  */
36013 #ifdef __cplusplus
36014 extern "C"
36015 {
36016 #endif
36017 /* We use char because int might match the return type of a gcc2
36018    builtin and then its argument prototype would still apply.  */
36019 char $ac_func ();
36020 /* The GNU C library defines this for functions which it implements
36021     to always fail with ENOSYS.  Some functions are actually named
36022     something starting with __ and the normal name is an alias.  */
36023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36024 choke me
36025 #else
36026 char (*f) () = $ac_func;
36027 #endif
36028 #ifdef __cplusplus
36029 }
36030 #endif
36031
36032 int
36033 main ()
36034 {
36035 return f != $ac_func;
36036   ;
36037   return 0;
36038 }
36039 _ACEOF
36040 rm -f conftest.$ac_objext conftest$ac_exeext
36041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36042   (eval $ac_link) 2>conftest.er1
36043   ac_status=$?
36044   grep -v '^ *+' conftest.er1 >conftest.err
36045   rm -f conftest.er1
36046   cat conftest.err >&5
36047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048   (exit $ac_status); } &&
36049          { ac_try='test -z "$ac_c_werror_flag"
36050                          || test ! -s conftest.err'
36051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052   (eval $ac_try) 2>&5
36053   ac_status=$?
36054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055   (exit $ac_status); }; } &&
36056          { ac_try='test -s conftest$ac_exeext'
36057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058   (eval $ac_try) 2>&5
36059   ac_status=$?
36060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061   (exit $ac_status); }; }; then
36062   eval "$as_ac_var=yes"
36063 else
36064   echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36066
36067 eval "$as_ac_var=no"
36068 fi
36069 rm -f conftest.err conftest.$ac_objext \
36070       conftest$ac_exeext conftest.$ac_ext
36071 fi
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36074 if test `eval echo '${'$as_ac_var'}'` = yes; then
36075   cat >>confdefs.h <<_ACEOF
36076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36077 _ACEOF
36078
36079 fi
36080 done
36081
36082     fi
36083   fi
36084
36085
36086
36087
36088
36089   LIBS="$ac_save_LIBS"
36090   CXXFLAGS="$ac_save_CXXFLAGS"
36091
36092
36093
36094   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36095 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36096   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36097     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36098   echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36100
36101
36102
36103       ac_ext=cc
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36108
36109       cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h.  */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h.  */
36115 #include <math.h>
36116 int
36117 main ()
36118 {
36119  __builtin_abs(0);
36120   ;
36121   return 0;
36122 }
36123 _ACEOF
36124 rm -f conftest.$ac_objext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36126   (eval $ac_compile) 2>conftest.er1
36127   ac_status=$?
36128   grep -v '^ *+' conftest.er1 >conftest.err
36129   rm -f conftest.er1
36130   cat conftest.err >&5
36131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132   (exit $ac_status); } &&
36133          { ac_try='test -z "$ac_cxx_werror_flag"
36134                          || test ! -s conftest.err'
36135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136   (eval $ac_try) 2>&5
36137   ac_status=$?
36138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139   (exit $ac_status); }; } &&
36140          { ac_try='test -s conftest.$ac_objext'
36141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142   (eval $ac_try) 2>&5
36143   ac_status=$?
36144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145   (exit $ac_status); }; }; then
36146   glibcxx_cv_func___builtin_abs_use=yes
36147 else
36148   echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36150
36151 glibcxx_cv_func___builtin_abs_use=no
36152 fi
36153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36154       ac_ext=c
36155 ac_cpp='$CPP $CPPFLAGS'
36156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36159
36160
36161 fi
36162
36163   fi
36164   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36165 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36166   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36167     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36168 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36169     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36170       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36171   echo $ECHO_N "(cached) $ECHO_C" >&6
36172 else
36173
36174         if test x$gcc_no_link = xyes; then
36175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36177    { (exit 1); exit 1; }; }
36178 fi
36179 cat >conftest.$ac_ext <<_ACEOF
36180 /* confdefs.h.  */
36181 _ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h.  */
36185 #include <math.h>
36186 int
36187 main ()
36188 {
36189  __builtin_abs(0);
36190   ;
36191   return 0;
36192 }
36193 _ACEOF
36194 rm -f conftest.$ac_objext conftest$ac_exeext
36195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36196   (eval $ac_link) 2>conftest.er1
36197   ac_status=$?
36198   grep -v '^ *+' conftest.er1 >conftest.err
36199   rm -f conftest.er1
36200   cat conftest.err >&5
36201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202   (exit $ac_status); } &&
36203          { ac_try='test -z "$ac_c_werror_flag"
36204                          || test ! -s conftest.err'
36205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206   (eval $ac_try) 2>&5
36207   ac_status=$?
36208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209   (exit $ac_status); }; } &&
36210          { ac_try='test -s conftest$ac_exeext'
36211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212   (eval $ac_try) 2>&5
36213   ac_status=$?
36214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215   (exit $ac_status); }; }; then
36216   glibcxx_cv_func___builtin_abs_link=yes
36217 else
36218   echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36220
36221 glibcxx_cv_func___builtin_abs_link=no
36222 fi
36223 rm -f conftest.err conftest.$ac_objext \
36224       conftest$ac_exeext conftest.$ac_ext
36225
36226 fi
36227
36228     fi
36229     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36230 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36231
36232     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36233
36234 cat >>confdefs.h <<\_ACEOF
36235 #define HAVE___BUILTIN_ABS 1
36236 _ACEOF
36237
36238     fi
36239
36240   fi
36241
36242
36243   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36244 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36245   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36246     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36247   echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36249
36250
36251
36252       ac_ext=cc
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36257
36258       cat >conftest.$ac_ext <<_ACEOF
36259 /* confdefs.h.  */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h.  */
36264 #include <math.h>
36265 int
36266 main ()
36267 {
36268  __builtin_fabsf(0);
36269   ;
36270   return 0;
36271 }
36272 _ACEOF
36273 rm -f conftest.$ac_objext
36274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36275   (eval $ac_compile) 2>conftest.er1
36276   ac_status=$?
36277   grep -v '^ *+' conftest.er1 >conftest.err
36278   rm -f conftest.er1
36279   cat conftest.err >&5
36280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281   (exit $ac_status); } &&
36282          { ac_try='test -z "$ac_cxx_werror_flag"
36283                          || test ! -s conftest.err'
36284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285   (eval $ac_try) 2>&5
36286   ac_status=$?
36287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288   (exit $ac_status); }; } &&
36289          { ac_try='test -s conftest.$ac_objext'
36290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291   (eval $ac_try) 2>&5
36292   ac_status=$?
36293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294   (exit $ac_status); }; }; then
36295   glibcxx_cv_func___builtin_fabsf_use=yes
36296 else
36297   echo "$as_me: failed program was:" >&5
36298 sed 's/^/| /' conftest.$ac_ext >&5
36299
36300 glibcxx_cv_func___builtin_fabsf_use=no
36301 fi
36302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36303       ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36308
36309
36310 fi
36311
36312   fi
36313   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36314 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36315   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36316     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36317 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36318     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36319       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36320   echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322
36323         if test x$gcc_no_link = xyes; then
36324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326    { (exit 1); exit 1; }; }
36327 fi
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h.  */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h.  */
36334 #include <math.h>
36335 int
36336 main ()
36337 {
36338  __builtin_fabsf(0);
36339   ;
36340   return 0;
36341 }
36342 _ACEOF
36343 rm -f conftest.$ac_objext conftest$ac_exeext
36344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36345   (eval $ac_link) 2>conftest.er1
36346   ac_status=$?
36347   grep -v '^ *+' conftest.er1 >conftest.err
36348   rm -f conftest.er1
36349   cat conftest.err >&5
36350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351   (exit $ac_status); } &&
36352          { ac_try='test -z "$ac_c_werror_flag"
36353                          || test ! -s conftest.err'
36354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355   (eval $ac_try) 2>&5
36356   ac_status=$?
36357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358   (exit $ac_status); }; } &&
36359          { ac_try='test -s conftest$ac_exeext'
36360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361   (eval $ac_try) 2>&5
36362   ac_status=$?
36363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364   (exit $ac_status); }; }; then
36365   glibcxx_cv_func___builtin_fabsf_link=yes
36366 else
36367   echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36369
36370 glibcxx_cv_func___builtin_fabsf_link=no
36371 fi
36372 rm -f conftest.err conftest.$ac_objext \
36373       conftest$ac_exeext conftest.$ac_ext
36374
36375 fi
36376
36377     fi
36378     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36379 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36380
36381     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36382
36383 cat >>confdefs.h <<\_ACEOF
36384 #define HAVE___BUILTIN_FABSF 1
36385 _ACEOF
36386
36387     fi
36388
36389   fi
36390
36391
36392   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36393 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36394   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36395     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36396   echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398
36399
36400
36401       ac_ext=cc
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406
36407       cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h.  */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h.  */
36413 #include <math.h>
36414 int
36415 main ()
36416 {
36417  __builtin_fabs(0);
36418   ;
36419   return 0;
36420 }
36421 _ACEOF
36422 rm -f conftest.$ac_objext
36423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36424   (eval $ac_compile) 2>conftest.er1
36425   ac_status=$?
36426   grep -v '^ *+' conftest.er1 >conftest.err
36427   rm -f conftest.er1
36428   cat conftest.err >&5
36429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430   (exit $ac_status); } &&
36431          { ac_try='test -z "$ac_cxx_werror_flag"
36432                          || test ! -s conftest.err'
36433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434   (eval $ac_try) 2>&5
36435   ac_status=$?
36436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437   (exit $ac_status); }; } &&
36438          { ac_try='test -s conftest.$ac_objext'
36439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440   (eval $ac_try) 2>&5
36441   ac_status=$?
36442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443   (exit $ac_status); }; }; then
36444   glibcxx_cv_func___builtin_fabs_use=yes
36445 else
36446   echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36448
36449 glibcxx_cv_func___builtin_fabs_use=no
36450 fi
36451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36452       ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36457
36458
36459 fi
36460
36461   fi
36462   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36463 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36464   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36465     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36466 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36467     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36468       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36469   echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36471
36472         if test x$gcc_no_link = xyes; then
36473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36475    { (exit 1); exit 1; }; }
36476 fi
36477 cat >conftest.$ac_ext <<_ACEOF
36478 /* confdefs.h.  */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h.  */
36483 #include <math.h>
36484 int
36485 main ()
36486 {
36487  __builtin_fabs(0);
36488   ;
36489   return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext conftest$ac_exeext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36494   (eval $ac_link) 2>conftest.er1
36495   ac_status=$?
36496   grep -v '^ *+' conftest.er1 >conftest.err
36497   rm -f conftest.er1
36498   cat conftest.err >&5
36499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500   (exit $ac_status); } &&
36501          { ac_try='test -z "$ac_c_werror_flag"
36502                          || test ! -s conftest.err'
36503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504   (eval $ac_try) 2>&5
36505   ac_status=$?
36506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507   (exit $ac_status); }; } &&
36508          { ac_try='test -s conftest$ac_exeext'
36509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510   (eval $ac_try) 2>&5
36511   ac_status=$?
36512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513   (exit $ac_status); }; }; then
36514   glibcxx_cv_func___builtin_fabs_link=yes
36515 else
36516   echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36518
36519 glibcxx_cv_func___builtin_fabs_link=no
36520 fi
36521 rm -f conftest.err conftest.$ac_objext \
36522       conftest$ac_exeext conftest.$ac_ext
36523
36524 fi
36525
36526     fi
36527     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36529
36530     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36531
36532 cat >>confdefs.h <<\_ACEOF
36533 #define HAVE___BUILTIN_FABS 1
36534 _ACEOF
36535
36536     fi
36537
36538   fi
36539
36540
36541   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36542 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36543   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36544     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36545   echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36547
36548
36549
36550       ac_ext=cc
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36555
36556       cat >conftest.$ac_ext <<_ACEOF
36557 /* confdefs.h.  */
36558 _ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h.  */
36562 #include <math.h>
36563 int
36564 main ()
36565 {
36566  __builtin_fabsl(0);
36567   ;
36568   return 0;
36569 }
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36573   (eval $ac_compile) 2>conftest.er1
36574   ac_status=$?
36575   grep -v '^ *+' conftest.er1 >conftest.err
36576   rm -f conftest.er1
36577   cat conftest.err >&5
36578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579   (exit $ac_status); } &&
36580          { ac_try='test -z "$ac_cxx_werror_flag"
36581                          || test ! -s conftest.err'
36582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583   (eval $ac_try) 2>&5
36584   ac_status=$?
36585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586   (exit $ac_status); }; } &&
36587          { ac_try='test -s conftest.$ac_objext'
36588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589   (eval $ac_try) 2>&5
36590   ac_status=$?
36591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592   (exit $ac_status); }; }; then
36593   glibcxx_cv_func___builtin_fabsl_use=yes
36594 else
36595   echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36597
36598 glibcxx_cv_func___builtin_fabsl_use=no
36599 fi
36600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36601       ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606
36607
36608 fi
36609
36610   fi
36611   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36612 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36613   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36614     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36615 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36616     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36617       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36618   echo $ECHO_N "(cached) $ECHO_C" >&6
36619 else
36620
36621         if test x$gcc_no_link = xyes; then
36622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36624    { (exit 1); exit 1; }; }
36625 fi
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h.  */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h.  */
36632 #include <math.h>
36633 int
36634 main ()
36635 {
36636  __builtin_fabsl(0);
36637   ;
36638   return 0;
36639 }
36640 _ACEOF
36641 rm -f conftest.$ac_objext conftest$ac_exeext
36642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36643   (eval $ac_link) 2>conftest.er1
36644   ac_status=$?
36645   grep -v '^ *+' conftest.er1 >conftest.err
36646   rm -f conftest.er1
36647   cat conftest.err >&5
36648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649   (exit $ac_status); } &&
36650          { ac_try='test -z "$ac_c_werror_flag"
36651                          || test ! -s conftest.err'
36652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36653   (eval $ac_try) 2>&5
36654   ac_status=$?
36655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656   (exit $ac_status); }; } &&
36657          { ac_try='test -s conftest$ac_exeext'
36658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659   (eval $ac_try) 2>&5
36660   ac_status=$?
36661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662   (exit $ac_status); }; }; then
36663   glibcxx_cv_func___builtin_fabsl_link=yes
36664 else
36665   echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.$ac_ext >&5
36667
36668 glibcxx_cv_func___builtin_fabsl_link=no
36669 fi
36670 rm -f conftest.err conftest.$ac_objext \
36671       conftest$ac_exeext conftest.$ac_ext
36672
36673 fi
36674
36675     fi
36676     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36678
36679     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36680
36681 cat >>confdefs.h <<\_ACEOF
36682 #define HAVE___BUILTIN_FABSL 1
36683 _ACEOF
36684
36685     fi
36686
36687   fi
36688
36689
36690   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36691 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36692   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36693     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36694   echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36696
36697
36698
36699       ac_ext=cc
36700 ac_cpp='$CXXCPP $CPPFLAGS'
36701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36704
36705       cat >conftest.$ac_ext <<_ACEOF
36706 /* confdefs.h.  */
36707 _ACEOF
36708 cat confdefs.h >>conftest.$ac_ext
36709 cat >>conftest.$ac_ext <<_ACEOF
36710 /* end confdefs.h.  */
36711 #include <math.h>
36712 int
36713 main ()
36714 {
36715  __builtin_labs(0);
36716   ;
36717   return 0;
36718 }
36719 _ACEOF
36720 rm -f conftest.$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722   (eval $ac_compile) 2>conftest.er1
36723   ac_status=$?
36724   grep -v '^ *+' conftest.er1 >conftest.err
36725   rm -f conftest.er1
36726   cat conftest.err >&5
36727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728   (exit $ac_status); } &&
36729          { ac_try='test -z "$ac_cxx_werror_flag"
36730                          || test ! -s conftest.err'
36731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732   (eval $ac_try) 2>&5
36733   ac_status=$?
36734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735   (exit $ac_status); }; } &&
36736          { ac_try='test -s conftest.$ac_objext'
36737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738   (eval $ac_try) 2>&5
36739   ac_status=$?
36740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741   (exit $ac_status); }; }; then
36742   glibcxx_cv_func___builtin_labs_use=yes
36743 else
36744   echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36746
36747 glibcxx_cv_func___builtin_labs_use=no
36748 fi
36749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36750       ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36755
36756
36757 fi
36758
36759   fi
36760   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36761 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36762   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36763     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36764 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36765     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36766       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36767   echo $ECHO_N "(cached) $ECHO_C" >&6
36768 else
36769
36770         if test x$gcc_no_link = xyes; then
36771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36773    { (exit 1); exit 1; }; }
36774 fi
36775 cat >conftest.$ac_ext <<_ACEOF
36776 /* confdefs.h.  */
36777 _ACEOF
36778 cat confdefs.h >>conftest.$ac_ext
36779 cat >>conftest.$ac_ext <<_ACEOF
36780 /* end confdefs.h.  */
36781 #include <math.h>
36782 int
36783 main ()
36784 {
36785  __builtin_labs(0);
36786   ;
36787   return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext conftest$ac_exeext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36792   (eval $ac_link) 2>conftest.er1
36793   ac_status=$?
36794   grep -v '^ *+' conftest.er1 >conftest.err
36795   rm -f conftest.er1
36796   cat conftest.err >&5
36797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798   (exit $ac_status); } &&
36799          { ac_try='test -z "$ac_c_werror_flag"
36800                          || test ! -s conftest.err'
36801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802   (eval $ac_try) 2>&5
36803   ac_status=$?
36804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805   (exit $ac_status); }; } &&
36806          { ac_try='test -s conftest$ac_exeext'
36807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808   (eval $ac_try) 2>&5
36809   ac_status=$?
36810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811   (exit $ac_status); }; }; then
36812   glibcxx_cv_func___builtin_labs_link=yes
36813 else
36814   echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 glibcxx_cv_func___builtin_labs_link=no
36818 fi
36819 rm -f conftest.err conftest.$ac_objext \
36820       conftest$ac_exeext conftest.$ac_ext
36821
36822 fi
36823
36824     fi
36825     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36826 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36827
36828     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36829
36830 cat >>confdefs.h <<\_ACEOF
36831 #define HAVE___BUILTIN_LABS 1
36832 _ACEOF
36833
36834     fi
36835
36836   fi
36837
36838
36839
36840   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36841 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36842   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36843     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36844   echo $ECHO_N "(cached) $ECHO_C" >&6
36845 else
36846
36847
36848
36849       ac_ext=cc
36850 ac_cpp='$CXXCPP $CPPFLAGS'
36851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36854
36855       cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h.  */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h.  */
36861 #include <math.h>
36862 int
36863 main ()
36864 {
36865  __builtin_sqrtf(0);
36866   ;
36867   return 0;
36868 }
36869 _ACEOF
36870 rm -f conftest.$ac_objext
36871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36872   (eval $ac_compile) 2>conftest.er1
36873   ac_status=$?
36874   grep -v '^ *+' conftest.er1 >conftest.err
36875   rm -f conftest.er1
36876   cat conftest.err >&5
36877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878   (exit $ac_status); } &&
36879          { ac_try='test -z "$ac_cxx_werror_flag"
36880                          || test ! -s conftest.err'
36881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882   (eval $ac_try) 2>&5
36883   ac_status=$?
36884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885   (exit $ac_status); }; } &&
36886          { ac_try='test -s conftest.$ac_objext'
36887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888   (eval $ac_try) 2>&5
36889   ac_status=$?
36890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891   (exit $ac_status); }; }; then
36892   glibcxx_cv_func___builtin_sqrtf_use=yes
36893 else
36894   echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.$ac_ext >&5
36896
36897 glibcxx_cv_func___builtin_sqrtf_use=no
36898 fi
36899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36900       ac_ext=c
36901 ac_cpp='$CPP $CPPFLAGS'
36902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36905
36906
36907 fi
36908
36909   fi
36910   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36912   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36913     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36914 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36915     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36916       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36917   echo $ECHO_N "(cached) $ECHO_C" >&6
36918 else
36919
36920         if test x$gcc_no_link = xyes; then
36921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36923    { (exit 1); exit 1; }; }
36924 fi
36925 cat >conftest.$ac_ext <<_ACEOF
36926 /* confdefs.h.  */
36927 _ACEOF
36928 cat confdefs.h >>conftest.$ac_ext
36929 cat >>conftest.$ac_ext <<_ACEOF
36930 /* end confdefs.h.  */
36931 #include <math.h>
36932 int
36933 main ()
36934 {
36935  __builtin_sqrtf(0);
36936   ;
36937   return 0;
36938 }
36939 _ACEOF
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36942   (eval $ac_link) 2>conftest.er1
36943   ac_status=$?
36944   grep -v '^ *+' conftest.er1 >conftest.err
36945   rm -f conftest.er1
36946   cat conftest.err >&5
36947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948   (exit $ac_status); } &&
36949          { ac_try='test -z "$ac_c_werror_flag"
36950                          || test ! -s conftest.err'
36951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952   (eval $ac_try) 2>&5
36953   ac_status=$?
36954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955   (exit $ac_status); }; } &&
36956          { ac_try='test -s conftest$ac_exeext'
36957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958   (eval $ac_try) 2>&5
36959   ac_status=$?
36960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961   (exit $ac_status); }; }; then
36962   glibcxx_cv_func___builtin_sqrtf_link=yes
36963 else
36964   echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36966
36967 glibcxx_cv_func___builtin_sqrtf_link=no
36968 fi
36969 rm -f conftest.err conftest.$ac_objext \
36970       conftest$ac_exeext conftest.$ac_ext
36971
36972 fi
36973
36974     fi
36975     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36976 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36977
36978     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36979
36980 cat >>confdefs.h <<\_ACEOF
36981 #define HAVE___BUILTIN_SQRTF 1
36982 _ACEOF
36983
36984     fi
36985
36986   fi
36987
36988
36989   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36990 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36991   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36992     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36993   echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36995
36996
36997
36998       ac_ext=cc
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37003
37004       cat >conftest.$ac_ext <<_ACEOF
37005 /* confdefs.h.  */
37006 _ACEOF
37007 cat confdefs.h >>conftest.$ac_ext
37008 cat >>conftest.$ac_ext <<_ACEOF
37009 /* end confdefs.h.  */
37010 #include <math.h>
37011 int
37012 main ()
37013 {
37014  __builtin_sqrt(0);
37015   ;
37016   return 0;
37017 }
37018 _ACEOF
37019 rm -f conftest.$ac_objext
37020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37021   (eval $ac_compile) 2>conftest.er1
37022   ac_status=$?
37023   grep -v '^ *+' conftest.er1 >conftest.err
37024   rm -f conftest.er1
37025   cat conftest.err >&5
37026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027   (exit $ac_status); } &&
37028          { ac_try='test -z "$ac_cxx_werror_flag"
37029                          || test ! -s conftest.err'
37030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031   (eval $ac_try) 2>&5
37032   ac_status=$?
37033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034   (exit $ac_status); }; } &&
37035          { ac_try='test -s conftest.$ac_objext'
37036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037   (eval $ac_try) 2>&5
37038   ac_status=$?
37039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040   (exit $ac_status); }; }; then
37041   glibcxx_cv_func___builtin_sqrt_use=yes
37042 else
37043   echo "$as_me: failed program was:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37045
37046 glibcxx_cv_func___builtin_sqrt_use=no
37047 fi
37048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37049       ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37054
37055
37056 fi
37057
37058   fi
37059   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37061   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37062     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37063 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37064     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37065       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37066   echo $ECHO_N "(cached) $ECHO_C" >&6
37067 else
37068
37069         if test x$gcc_no_link = xyes; then
37070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37072    { (exit 1); exit 1; }; }
37073 fi
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h.  */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h.  */
37080 #include <math.h>
37081 int
37082 main ()
37083 {
37084  __builtin_sqrt(0);
37085   ;
37086   return 0;
37087 }
37088 _ACEOF
37089 rm -f conftest.$ac_objext conftest$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091   (eval $ac_link) 2>conftest.er1
37092   ac_status=$?
37093   grep -v '^ *+' conftest.er1 >conftest.err
37094   rm -f conftest.er1
37095   cat conftest.err >&5
37096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097   (exit $ac_status); } &&
37098          { ac_try='test -z "$ac_c_werror_flag"
37099                          || test ! -s conftest.err'
37100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101   (eval $ac_try) 2>&5
37102   ac_status=$?
37103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104   (exit $ac_status); }; } &&
37105          { ac_try='test -s conftest$ac_exeext'
37106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107   (eval $ac_try) 2>&5
37108   ac_status=$?
37109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110   (exit $ac_status); }; }; then
37111   glibcxx_cv_func___builtin_sqrt_link=yes
37112 else
37113   echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37115
37116 glibcxx_cv_func___builtin_sqrt_link=no
37117 fi
37118 rm -f conftest.err conftest.$ac_objext \
37119       conftest$ac_exeext conftest.$ac_ext
37120
37121 fi
37122
37123     fi
37124     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37126
37127     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37128
37129 cat >>confdefs.h <<\_ACEOF
37130 #define HAVE___BUILTIN_SQRT 1
37131 _ACEOF
37132
37133     fi
37134
37135   fi
37136
37137
37138   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37139 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37140   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37141     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37142   echo $ECHO_N "(cached) $ECHO_C" >&6
37143 else
37144
37145
37146
37147       ac_ext=cc
37148 ac_cpp='$CXXCPP $CPPFLAGS'
37149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37152
37153       cat >conftest.$ac_ext <<_ACEOF
37154 /* confdefs.h.  */
37155 _ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h.  */
37159 #include <math.h>
37160 int
37161 main ()
37162 {
37163  __builtin_sqrtl(0);
37164   ;
37165   return 0;
37166 }
37167 _ACEOF
37168 rm -f conftest.$ac_objext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37170   (eval $ac_compile) 2>conftest.er1
37171   ac_status=$?
37172   grep -v '^ *+' conftest.er1 >conftest.err
37173   rm -f conftest.er1
37174   cat conftest.err >&5
37175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176   (exit $ac_status); } &&
37177          { ac_try='test -z "$ac_cxx_werror_flag"
37178                          || test ! -s conftest.err'
37179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180   (eval $ac_try) 2>&5
37181   ac_status=$?
37182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183   (exit $ac_status); }; } &&
37184          { ac_try='test -s conftest.$ac_objext'
37185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186   (eval $ac_try) 2>&5
37187   ac_status=$?
37188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189   (exit $ac_status); }; }; then
37190   glibcxx_cv_func___builtin_sqrtl_use=yes
37191 else
37192   echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.$ac_ext >&5
37194
37195 glibcxx_cv_func___builtin_sqrtl_use=no
37196 fi
37197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37198       ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203
37204
37205 fi
37206
37207   fi
37208   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37210   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37211     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37212 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37213     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37214       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37215   echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37217
37218         if test x$gcc_no_link = xyes; then
37219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37221    { (exit 1); exit 1; }; }
37222 fi
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h.  */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h.  */
37229 #include <math.h>
37230 int
37231 main ()
37232 {
37233  __builtin_sqrtl(0);
37234   ;
37235   return 0;
37236 }
37237 _ACEOF
37238 rm -f conftest.$ac_objext conftest$ac_exeext
37239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37240   (eval $ac_link) 2>conftest.er1
37241   ac_status=$?
37242   grep -v '^ *+' conftest.er1 >conftest.err
37243   rm -f conftest.er1
37244   cat conftest.err >&5
37245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246   (exit $ac_status); } &&
37247          { ac_try='test -z "$ac_c_werror_flag"
37248                          || test ! -s conftest.err'
37249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250   (eval $ac_try) 2>&5
37251   ac_status=$?
37252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253   (exit $ac_status); }; } &&
37254          { ac_try='test -s conftest$ac_exeext'
37255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256   (eval $ac_try) 2>&5
37257   ac_status=$?
37258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259   (exit $ac_status); }; }; then
37260   glibcxx_cv_func___builtin_sqrtl_link=yes
37261 else
37262   echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.$ac_ext >&5
37264
37265 glibcxx_cv_func___builtin_sqrtl_link=no
37266 fi
37267 rm -f conftest.err conftest.$ac_objext \
37268       conftest$ac_exeext conftest.$ac_ext
37269
37270 fi
37271
37272     fi
37273     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37275
37276     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37277
37278 cat >>confdefs.h <<\_ACEOF
37279 #define HAVE___BUILTIN_SQRTL 1
37280 _ACEOF
37281
37282     fi
37283
37284   fi
37285
37286
37287
37288   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37289 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37290   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37291     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37292   echo $ECHO_N "(cached) $ECHO_C" >&6
37293 else
37294
37295
37296
37297       ac_ext=cc
37298 ac_cpp='$CXXCPP $CPPFLAGS'
37299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37302
37303       cat >conftest.$ac_ext <<_ACEOF
37304 /* confdefs.h.  */
37305 _ACEOF
37306 cat confdefs.h >>conftest.$ac_ext
37307 cat >>conftest.$ac_ext <<_ACEOF
37308 /* end confdefs.h.  */
37309 #include <math.h>
37310 int
37311 main ()
37312 {
37313  __builtin_sinf(0);
37314   ;
37315   return 0;
37316 }
37317 _ACEOF
37318 rm -f conftest.$ac_objext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37320   (eval $ac_compile) 2>conftest.er1
37321   ac_status=$?
37322   grep -v '^ *+' conftest.er1 >conftest.err
37323   rm -f conftest.er1
37324   cat conftest.err >&5
37325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326   (exit $ac_status); } &&
37327          { ac_try='test -z "$ac_cxx_werror_flag"
37328                          || test ! -s conftest.err'
37329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330   (eval $ac_try) 2>&5
37331   ac_status=$?
37332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333   (exit $ac_status); }; } &&
37334          { ac_try='test -s conftest.$ac_objext'
37335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336   (eval $ac_try) 2>&5
37337   ac_status=$?
37338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339   (exit $ac_status); }; }; then
37340   glibcxx_cv_func___builtin_sinf_use=yes
37341 else
37342   echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37344
37345 glibcxx_cv_func___builtin_sinf_use=no
37346 fi
37347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37348       ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353
37354
37355 fi
37356
37357   fi
37358   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37360   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37361     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37362 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37363     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37364       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37365   echo $ECHO_N "(cached) $ECHO_C" >&6
37366 else
37367
37368         if test x$gcc_no_link = xyes; then
37369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37371    { (exit 1); exit 1; }; }
37372 fi
37373 cat >conftest.$ac_ext <<_ACEOF
37374 /* confdefs.h.  */
37375 _ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h.  */
37379 #include <math.h>
37380 int
37381 main ()
37382 {
37383  __builtin_sinf(0);
37384   ;
37385   return 0;
37386 }
37387 _ACEOF
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37390   (eval $ac_link) 2>conftest.er1
37391   ac_status=$?
37392   grep -v '^ *+' conftest.er1 >conftest.err
37393   rm -f conftest.er1
37394   cat conftest.err >&5
37395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396   (exit $ac_status); } &&
37397          { ac_try='test -z "$ac_c_werror_flag"
37398                          || test ! -s conftest.err'
37399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400   (eval $ac_try) 2>&5
37401   ac_status=$?
37402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403   (exit $ac_status); }; } &&
37404          { ac_try='test -s conftest$ac_exeext'
37405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406   (eval $ac_try) 2>&5
37407   ac_status=$?
37408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409   (exit $ac_status); }; }; then
37410   glibcxx_cv_func___builtin_sinf_link=yes
37411 else
37412   echo "$as_me: failed program was:" >&5
37413 sed 's/^/| /' conftest.$ac_ext >&5
37414
37415 glibcxx_cv_func___builtin_sinf_link=no
37416 fi
37417 rm -f conftest.err conftest.$ac_objext \
37418       conftest$ac_exeext conftest.$ac_ext
37419
37420 fi
37421
37422     fi
37423     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37425
37426     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37427
37428 cat >>confdefs.h <<\_ACEOF
37429 #define HAVE___BUILTIN_SINF 1
37430 _ACEOF
37431
37432     fi
37433
37434   fi
37435
37436
37437   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37438 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37439   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37440     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37441   echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443
37444
37445
37446       ac_ext=cc
37447 ac_cpp='$CXXCPP $CPPFLAGS'
37448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37451
37452       cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h.  */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h.  */
37458 #include <math.h>
37459 int
37460 main ()
37461 {
37462  __builtin_sin(0);
37463   ;
37464   return 0;
37465 }
37466 _ACEOF
37467 rm -f conftest.$ac_objext
37468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37469   (eval $ac_compile) 2>conftest.er1
37470   ac_status=$?
37471   grep -v '^ *+' conftest.er1 >conftest.err
37472   rm -f conftest.er1
37473   cat conftest.err >&5
37474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475   (exit $ac_status); } &&
37476          { ac_try='test -z "$ac_cxx_werror_flag"
37477                          || test ! -s conftest.err'
37478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479   (eval $ac_try) 2>&5
37480   ac_status=$?
37481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482   (exit $ac_status); }; } &&
37483          { ac_try='test -s conftest.$ac_objext'
37484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485   (eval $ac_try) 2>&5
37486   ac_status=$?
37487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488   (exit $ac_status); }; }; then
37489   glibcxx_cv_func___builtin_sin_use=yes
37490 else
37491   echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37493
37494 glibcxx_cv_func___builtin_sin_use=no
37495 fi
37496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37497       ac_ext=c
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37502
37503
37504 fi
37505
37506   fi
37507   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37509   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37510     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37511 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37512     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37513       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37514   echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37516
37517         if test x$gcc_no_link = xyes; then
37518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37520    { (exit 1); exit 1; }; }
37521 fi
37522 cat >conftest.$ac_ext <<_ACEOF
37523 /* confdefs.h.  */
37524 _ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h.  */
37528 #include <math.h>
37529 int
37530 main ()
37531 {
37532  __builtin_sin(0);
37533   ;
37534   return 0;
37535 }
37536 _ACEOF
37537 rm -f conftest.$ac_objext conftest$ac_exeext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37539   (eval $ac_link) 2>conftest.er1
37540   ac_status=$?
37541   grep -v '^ *+' conftest.er1 >conftest.err
37542   rm -f conftest.er1
37543   cat conftest.err >&5
37544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545   (exit $ac_status); } &&
37546          { ac_try='test -z "$ac_c_werror_flag"
37547                          || test ! -s conftest.err'
37548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549   (eval $ac_try) 2>&5
37550   ac_status=$?
37551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552   (exit $ac_status); }; } &&
37553          { ac_try='test -s conftest$ac_exeext'
37554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555   (eval $ac_try) 2>&5
37556   ac_status=$?
37557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558   (exit $ac_status); }; }; then
37559   glibcxx_cv_func___builtin_sin_link=yes
37560 else
37561   echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37563
37564 glibcxx_cv_func___builtin_sin_link=no
37565 fi
37566 rm -f conftest.err conftest.$ac_objext \
37567       conftest$ac_exeext conftest.$ac_ext
37568
37569 fi
37570
37571     fi
37572     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37574
37575     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37576
37577 cat >>confdefs.h <<\_ACEOF
37578 #define HAVE___BUILTIN_SIN 1
37579 _ACEOF
37580
37581     fi
37582
37583   fi
37584
37585
37586   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37587 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37588   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37589     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37590   echo $ECHO_N "(cached) $ECHO_C" >&6
37591 else
37592
37593
37594
37595       ac_ext=cc
37596 ac_cpp='$CXXCPP $CPPFLAGS'
37597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37600
37601       cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h.  */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h.  */
37607 #include <math.h>
37608 int
37609 main ()
37610 {
37611  __builtin_sinl(0);
37612   ;
37613   return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618   (eval $ac_compile) 2>conftest.er1
37619   ac_status=$?
37620   grep -v '^ *+' conftest.er1 >conftest.err
37621   rm -f conftest.er1
37622   cat conftest.err >&5
37623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624   (exit $ac_status); } &&
37625          { ac_try='test -z "$ac_cxx_werror_flag"
37626                          || test ! -s conftest.err'
37627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628   (eval $ac_try) 2>&5
37629   ac_status=$?
37630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631   (exit $ac_status); }; } &&
37632          { ac_try='test -s conftest.$ac_objext'
37633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634   (eval $ac_try) 2>&5
37635   ac_status=$?
37636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637   (exit $ac_status); }; }; then
37638   glibcxx_cv_func___builtin_sinl_use=yes
37639 else
37640   echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37642
37643 glibcxx_cv_func___builtin_sinl_use=no
37644 fi
37645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37646       ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651
37652
37653 fi
37654
37655   fi
37656   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37658   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37659     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37660 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37661     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37662       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37663   echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37665
37666         if test x$gcc_no_link = xyes; then
37667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37669    { (exit 1); exit 1; }; }
37670 fi
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h.  */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h.  */
37677 #include <math.h>
37678 int
37679 main ()
37680 {
37681  __builtin_sinl(0);
37682   ;
37683   return 0;
37684 }
37685 _ACEOF
37686 rm -f conftest.$ac_objext conftest$ac_exeext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37688   (eval $ac_link) 2>conftest.er1
37689   ac_status=$?
37690   grep -v '^ *+' conftest.er1 >conftest.err
37691   rm -f conftest.er1
37692   cat conftest.err >&5
37693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694   (exit $ac_status); } &&
37695          { ac_try='test -z "$ac_c_werror_flag"
37696                          || test ! -s conftest.err'
37697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698   (eval $ac_try) 2>&5
37699   ac_status=$?
37700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701   (exit $ac_status); }; } &&
37702          { ac_try='test -s conftest$ac_exeext'
37703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704   (eval $ac_try) 2>&5
37705   ac_status=$?
37706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707   (exit $ac_status); }; }; then
37708   glibcxx_cv_func___builtin_sinl_link=yes
37709 else
37710   echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37712
37713 glibcxx_cv_func___builtin_sinl_link=no
37714 fi
37715 rm -f conftest.err conftest.$ac_objext \
37716       conftest$ac_exeext conftest.$ac_ext
37717
37718 fi
37719
37720     fi
37721     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37723
37724     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37725
37726 cat >>confdefs.h <<\_ACEOF
37727 #define HAVE___BUILTIN_SINL 1
37728 _ACEOF
37729
37730     fi
37731
37732   fi
37733
37734
37735
37736   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37737 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37738   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37739     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37740   echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742
37743
37744
37745       ac_ext=cc
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37750
37751       cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h.  */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h.  */
37757 #include <math.h>
37758 int
37759 main ()
37760 {
37761  __builtin_cosf(0);
37762   ;
37763   return 0;
37764 }
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37768   (eval $ac_compile) 2>conftest.er1
37769   ac_status=$?
37770   grep -v '^ *+' conftest.er1 >conftest.err
37771   rm -f conftest.er1
37772   cat conftest.err >&5
37773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774   (exit $ac_status); } &&
37775          { ac_try='test -z "$ac_cxx_werror_flag"
37776                          || test ! -s conftest.err'
37777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778   (eval $ac_try) 2>&5
37779   ac_status=$?
37780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781   (exit $ac_status); }; } &&
37782          { ac_try='test -s conftest.$ac_objext'
37783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784   (eval $ac_try) 2>&5
37785   ac_status=$?
37786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787   (exit $ac_status); }; }; then
37788   glibcxx_cv_func___builtin_cosf_use=yes
37789 else
37790   echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37792
37793 glibcxx_cv_func___builtin_cosf_use=no
37794 fi
37795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37796       ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37801
37802
37803 fi
37804
37805   fi
37806   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37808   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37809     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37810 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37811     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37812       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37813   echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815
37816         if test x$gcc_no_link = xyes; then
37817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37819    { (exit 1); exit 1; }; }
37820 fi
37821 cat >conftest.$ac_ext <<_ACEOF
37822 /* confdefs.h.  */
37823 _ACEOF
37824 cat confdefs.h >>conftest.$ac_ext
37825 cat >>conftest.$ac_ext <<_ACEOF
37826 /* end confdefs.h.  */
37827 #include <math.h>
37828 int
37829 main ()
37830 {
37831  __builtin_cosf(0);
37832   ;
37833   return 0;
37834 }
37835 _ACEOF
37836 rm -f conftest.$ac_objext conftest$ac_exeext
37837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37838   (eval $ac_link) 2>conftest.er1
37839   ac_status=$?
37840   grep -v '^ *+' conftest.er1 >conftest.err
37841   rm -f conftest.er1
37842   cat conftest.err >&5
37843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844   (exit $ac_status); } &&
37845          { ac_try='test -z "$ac_c_werror_flag"
37846                          || test ! -s conftest.err'
37847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848   (eval $ac_try) 2>&5
37849   ac_status=$?
37850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851   (exit $ac_status); }; } &&
37852          { ac_try='test -s conftest$ac_exeext'
37853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854   (eval $ac_try) 2>&5
37855   ac_status=$?
37856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857   (exit $ac_status); }; }; then
37858   glibcxx_cv_func___builtin_cosf_link=yes
37859 else
37860   echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37862
37863 glibcxx_cv_func___builtin_cosf_link=no
37864 fi
37865 rm -f conftest.err conftest.$ac_objext \
37866       conftest$ac_exeext conftest.$ac_ext
37867
37868 fi
37869
37870     fi
37871     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37872 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37873
37874     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37875
37876 cat >>confdefs.h <<\_ACEOF
37877 #define HAVE___BUILTIN_COSF 1
37878 _ACEOF
37879
37880     fi
37881
37882   fi
37883
37884
37885   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37886 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37887   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37888     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37889   echo $ECHO_N "(cached) $ECHO_C" >&6
37890 else
37891
37892
37893
37894       ac_ext=cc
37895 ac_cpp='$CXXCPP $CPPFLAGS'
37896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37899
37900       cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h.  */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h.  */
37906 #include <math.h>
37907 int
37908 main ()
37909 {
37910  __builtin_cos(0);
37911   ;
37912   return 0;
37913 }
37914 _ACEOF
37915 rm -f conftest.$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917   (eval $ac_compile) 2>conftest.er1
37918   ac_status=$?
37919   grep -v '^ *+' conftest.er1 >conftest.err
37920   rm -f conftest.er1
37921   cat conftest.err >&5
37922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923   (exit $ac_status); } &&
37924          { ac_try='test -z "$ac_cxx_werror_flag"
37925                          || test ! -s conftest.err'
37926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927   (eval $ac_try) 2>&5
37928   ac_status=$?
37929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930   (exit $ac_status); }; } &&
37931          { ac_try='test -s conftest.$ac_objext'
37932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933   (eval $ac_try) 2>&5
37934   ac_status=$?
37935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936   (exit $ac_status); }; }; then
37937   glibcxx_cv_func___builtin_cos_use=yes
37938 else
37939   echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37941
37942 glibcxx_cv_func___builtin_cos_use=no
37943 fi
37944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37945       ac_ext=c
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37950
37951
37952 fi
37953
37954   fi
37955   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37956 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37957   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37958     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37959 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37960     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37961       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37962   echo $ECHO_N "(cached) $ECHO_C" >&6
37963 else
37964
37965         if test x$gcc_no_link = xyes; then
37966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37968    { (exit 1); exit 1; }; }
37969 fi
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h.  */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h.  */
37976 #include <math.h>
37977 int
37978 main ()
37979 {
37980  __builtin_cos(0);
37981   ;
37982   return 0;
37983 }
37984 _ACEOF
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37987   (eval $ac_link) 2>conftest.er1
37988   ac_status=$?
37989   grep -v '^ *+' conftest.er1 >conftest.err
37990   rm -f conftest.er1
37991   cat conftest.err >&5
37992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993   (exit $ac_status); } &&
37994          { ac_try='test -z "$ac_c_werror_flag"
37995                          || test ! -s conftest.err'
37996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997   (eval $ac_try) 2>&5
37998   ac_status=$?
37999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000   (exit $ac_status); }; } &&
38001          { ac_try='test -s conftest$ac_exeext'
38002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003   (eval $ac_try) 2>&5
38004   ac_status=$?
38005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006   (exit $ac_status); }; }; then
38007   glibcxx_cv_func___builtin_cos_link=yes
38008 else
38009   echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38011
38012 glibcxx_cv_func___builtin_cos_link=no
38013 fi
38014 rm -f conftest.err conftest.$ac_objext \
38015       conftest$ac_exeext conftest.$ac_ext
38016
38017 fi
38018
38019     fi
38020     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38021 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38022
38023     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38024
38025 cat >>confdefs.h <<\_ACEOF
38026 #define HAVE___BUILTIN_COS 1
38027 _ACEOF
38028
38029     fi
38030
38031   fi
38032
38033
38034   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38035 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38036   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38037     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38038   echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040
38041
38042
38043       ac_ext=cc
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048
38049       cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h.  */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h.  */
38055 #include <math.h>
38056 int
38057 main ()
38058 {
38059  __builtin_cosl(0);
38060   ;
38061   return 0;
38062 }
38063 _ACEOF
38064 rm -f conftest.$ac_objext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38066   (eval $ac_compile) 2>conftest.er1
38067   ac_status=$?
38068   grep -v '^ *+' conftest.er1 >conftest.err
38069   rm -f conftest.er1
38070   cat conftest.err >&5
38071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072   (exit $ac_status); } &&
38073          { ac_try='test -z "$ac_cxx_werror_flag"
38074                          || test ! -s conftest.err'
38075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076   (eval $ac_try) 2>&5
38077   ac_status=$?
38078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079   (exit $ac_status); }; } &&
38080          { ac_try='test -s conftest.$ac_objext'
38081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38082   (eval $ac_try) 2>&5
38083   ac_status=$?
38084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085   (exit $ac_status); }; }; then
38086   glibcxx_cv_func___builtin_cosl_use=yes
38087 else
38088   echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38090
38091 glibcxx_cv_func___builtin_cosl_use=no
38092 fi
38093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38094       ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38099
38100
38101 fi
38102
38103   fi
38104   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38106   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38107     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38108 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38109     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38110       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38111   echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38113
38114         if test x$gcc_no_link = xyes; then
38115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38117    { (exit 1); exit 1; }; }
38118 fi
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h.  */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h.  */
38125 #include <math.h>
38126 int
38127 main ()
38128 {
38129  __builtin_cosl(0);
38130   ;
38131   return 0;
38132 }
38133 _ACEOF
38134 rm -f conftest.$ac_objext conftest$ac_exeext
38135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38136   (eval $ac_link) 2>conftest.er1
38137   ac_status=$?
38138   grep -v '^ *+' conftest.er1 >conftest.err
38139   rm -f conftest.er1
38140   cat conftest.err >&5
38141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142   (exit $ac_status); } &&
38143          { ac_try='test -z "$ac_c_werror_flag"
38144                          || test ! -s conftest.err'
38145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146   (eval $ac_try) 2>&5
38147   ac_status=$?
38148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149   (exit $ac_status); }; } &&
38150          { ac_try='test -s conftest$ac_exeext'
38151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152   (eval $ac_try) 2>&5
38153   ac_status=$?
38154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155   (exit $ac_status); }; }; then
38156   glibcxx_cv_func___builtin_cosl_link=yes
38157 else
38158   echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 glibcxx_cv_func___builtin_cosl_link=no
38162 fi
38163 rm -f conftest.err conftest.$ac_objext \
38164       conftest$ac_exeext conftest.$ac_ext
38165
38166 fi
38167
38168     fi
38169     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38171
38172     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38173
38174 cat >>confdefs.h <<\_ACEOF
38175 #define HAVE___BUILTIN_COSL 1
38176 _ACEOF
38177
38178     fi
38179
38180   fi
38181
38182
38183
38184
38185 echo "$as_me:$LINENO: checking for main in -lm" >&5
38186 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38187 if test "${ac_cv_lib_m_main+set}" = set; then
38188   echo $ECHO_N "(cached) $ECHO_C" >&6
38189 else
38190   ac_check_lib_save_LIBS=$LIBS
38191 LIBS="-lm  $LIBS"
38192 if test x$gcc_no_link = xyes; then
38193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38195    { (exit 1); exit 1; }; }
38196 fi
38197 cat >conftest.$ac_ext <<_ACEOF
38198 /* confdefs.h.  */
38199 _ACEOF
38200 cat confdefs.h >>conftest.$ac_ext
38201 cat >>conftest.$ac_ext <<_ACEOF
38202 /* end confdefs.h.  */
38203
38204
38205 int
38206 main ()
38207 {
38208 main ();
38209   ;
38210   return 0;
38211 }
38212 _ACEOF
38213 rm -f conftest.$ac_objext conftest$ac_exeext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38215   (eval $ac_link) 2>conftest.er1
38216   ac_status=$?
38217   grep -v '^ *+' conftest.er1 >conftest.err
38218   rm -f conftest.er1
38219   cat conftest.err >&5
38220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221   (exit $ac_status); } &&
38222          { ac_try='test -z "$ac_c_werror_flag"
38223                          || test ! -s conftest.err'
38224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225   (eval $ac_try) 2>&5
38226   ac_status=$?
38227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228   (exit $ac_status); }; } &&
38229          { ac_try='test -s conftest$ac_exeext'
38230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231   (eval $ac_try) 2>&5
38232   ac_status=$?
38233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234   (exit $ac_status); }; }; then
38235   ac_cv_lib_m_main=yes
38236 else
38237   echo "$as_me: failed program was:" >&5
38238 sed 's/^/| /' conftest.$ac_ext >&5
38239
38240 ac_cv_lib_m_main=no
38241 fi
38242 rm -f conftest.err conftest.$ac_objext \
38243       conftest$ac_exeext conftest.$ac_ext
38244 LIBS=$ac_check_lib_save_LIBS
38245 fi
38246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38247 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38248 if test $ac_cv_lib_m_main = yes; then
38249   cat >>confdefs.h <<_ACEOF
38250 #define HAVE_LIBM 1
38251 _ACEOF
38252
38253   LIBS="-lm $LIBS"
38254
38255 fi
38256
38257
38258 for ac_func in copysignf
38259 do
38260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38261 echo "$as_me:$LINENO: checking for $ac_func" >&5
38262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_var+set}\" = set"; then
38264   echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266   if test x$gcc_no_link = xyes; then
38267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38269    { (exit 1); exit 1; }; }
38270 fi
38271 cat >conftest.$ac_ext <<_ACEOF
38272 /* confdefs.h.  */
38273 _ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h.  */
38277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38279 #define $ac_func innocuous_$ac_func
38280
38281 /* System header to define __stub macros and hopefully few prototypes,
38282     which can conflict with char $ac_func (); below.
38283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38284     <limits.h> exists even on freestanding compilers.  */
38285
38286 #ifdef __STDC__
38287 # include <limits.h>
38288 #else
38289 # include <assert.h>
38290 #endif
38291
38292 #undef $ac_func
38293
38294 /* Override any gcc2 internal prototype to avoid an error.  */
38295 #ifdef __cplusplus
38296 extern "C"
38297 {
38298 #endif
38299 /* We use char because int might match the return type of a gcc2
38300    builtin and then its argument prototype would still apply.  */
38301 char $ac_func ();
38302 /* The GNU C library defines this for functions which it implements
38303     to always fail with ENOSYS.  Some functions are actually named
38304     something starting with __ and the normal name is an alias.  */
38305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38306 choke me
38307 #else
38308 char (*f) () = $ac_func;
38309 #endif
38310 #ifdef __cplusplus
38311 }
38312 #endif
38313
38314 int
38315 main ()
38316 {
38317 return f != $ac_func;
38318   ;
38319   return 0;
38320 }
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38324   (eval $ac_link) 2>conftest.er1
38325   ac_status=$?
38326   grep -v '^ *+' conftest.er1 >conftest.err
38327   rm -f conftest.er1
38328   cat conftest.err >&5
38329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330   (exit $ac_status); } &&
38331          { ac_try='test -z "$ac_c_werror_flag"
38332                          || test ! -s conftest.err'
38333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334   (eval $ac_try) 2>&5
38335   ac_status=$?
38336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337   (exit $ac_status); }; } &&
38338          { ac_try='test -s conftest$ac_exeext'
38339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340   (eval $ac_try) 2>&5
38341   ac_status=$?
38342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343   (exit $ac_status); }; }; then
38344   eval "$as_ac_var=yes"
38345 else
38346   echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 eval "$as_ac_var=no"
38350 fi
38351 rm -f conftest.err conftest.$ac_objext \
38352       conftest$ac_exeext conftest.$ac_ext
38353 fi
38354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38356 if test `eval echo '${'$as_ac_var'}'` = yes; then
38357   cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38359 _ACEOF
38360
38361 else
38362   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38363 fi
38364 done
38365
38366
38367
38368 for ac_func in __signbit
38369 do
38370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38373 if eval "test \"\${$as_ac_var+set}\" = set"; then
38374   echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376   if test x$gcc_no_link = xyes; then
38377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38379    { (exit 1); exit 1; }; }
38380 fi
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h.  */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h.  */
38387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38389 #define $ac_func innocuous_$ac_func
38390
38391 /* System header to define __stub macros and hopefully few prototypes,
38392     which can conflict with char $ac_func (); below.
38393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38394     <limits.h> exists even on freestanding compilers.  */
38395
38396 #ifdef __STDC__
38397 # include <limits.h>
38398 #else
38399 # include <assert.h>
38400 #endif
38401
38402 #undef $ac_func
38403
38404 /* Override any gcc2 internal prototype to avoid an error.  */
38405 #ifdef __cplusplus
38406 extern "C"
38407 {
38408 #endif
38409 /* We use char because int might match the return type of a gcc2
38410    builtin and then its argument prototype would still apply.  */
38411 char $ac_func ();
38412 /* The GNU C library defines this for functions which it implements
38413     to always fail with ENOSYS.  Some functions are actually named
38414     something starting with __ and the normal name is an alias.  */
38415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38416 choke me
38417 #else
38418 char (*f) () = $ac_func;
38419 #endif
38420 #ifdef __cplusplus
38421 }
38422 #endif
38423
38424 int
38425 main ()
38426 {
38427 return f != $ac_func;
38428   ;
38429   return 0;
38430 }
38431 _ACEOF
38432 rm -f conftest.$ac_objext conftest$ac_exeext
38433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38434   (eval $ac_link) 2>conftest.er1
38435   ac_status=$?
38436   grep -v '^ *+' conftest.er1 >conftest.err
38437   rm -f conftest.er1
38438   cat conftest.err >&5
38439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440   (exit $ac_status); } &&
38441          { ac_try='test -z "$ac_c_werror_flag"
38442                          || test ! -s conftest.err'
38443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444   (eval $ac_try) 2>&5
38445   ac_status=$?
38446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447   (exit $ac_status); }; } &&
38448          { ac_try='test -s conftest$ac_exeext'
38449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450   (eval $ac_try) 2>&5
38451   ac_status=$?
38452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453   (exit $ac_status); }; }; then
38454   eval "$as_ac_var=yes"
38455 else
38456   echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval "$as_ac_var=no"
38460 fi
38461 rm -f conftest.err conftest.$ac_objext \
38462       conftest$ac_exeext conftest.$ac_ext
38463 fi
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467   cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38469 _ACEOF
38470
38471 else
38472   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38473 fi
38474 done
38475
38476
38477
38478 for ac_func in __signbitf
38479 do
38480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38481 echo "$as_me:$LINENO: checking for $ac_func" >&5
38482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38483 if eval "test \"\${$as_ac_var+set}\" = set"; then
38484   echo $ECHO_N "(cached) $ECHO_C" >&6
38485 else
38486   if test x$gcc_no_link = xyes; then
38487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38489    { (exit 1); exit 1; }; }
38490 fi
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h.  */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h.  */
38497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38499 #define $ac_func innocuous_$ac_func
38500
38501 /* System header to define __stub macros and hopefully few prototypes,
38502     which can conflict with char $ac_func (); below.
38503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38504     <limits.h> exists even on freestanding compilers.  */
38505
38506 #ifdef __STDC__
38507 # include <limits.h>
38508 #else
38509 # include <assert.h>
38510 #endif
38511
38512 #undef $ac_func
38513
38514 /* Override any gcc2 internal prototype to avoid an error.  */
38515 #ifdef __cplusplus
38516 extern "C"
38517 {
38518 #endif
38519 /* We use char because int might match the return type of a gcc2
38520    builtin and then its argument prototype would still apply.  */
38521 char $ac_func ();
38522 /* The GNU C library defines this for functions which it implements
38523     to always fail with ENOSYS.  Some functions are actually named
38524     something starting with __ and the normal name is an alias.  */
38525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38526 choke me
38527 #else
38528 char (*f) () = $ac_func;
38529 #endif
38530 #ifdef __cplusplus
38531 }
38532 #endif
38533
38534 int
38535 main ()
38536 {
38537 return f != $ac_func;
38538   ;
38539   return 0;
38540 }
38541 _ACEOF
38542 rm -f conftest.$ac_objext conftest$ac_exeext
38543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38544   (eval $ac_link) 2>conftest.er1
38545   ac_status=$?
38546   grep -v '^ *+' conftest.er1 >conftest.err
38547   rm -f conftest.er1
38548   cat conftest.err >&5
38549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550   (exit $ac_status); } &&
38551          { ac_try='test -z "$ac_c_werror_flag"
38552                          || test ! -s conftest.err'
38553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38554   (eval $ac_try) 2>&5
38555   ac_status=$?
38556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557   (exit $ac_status); }; } &&
38558          { ac_try='test -s conftest$ac_exeext'
38559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38560   (eval $ac_try) 2>&5
38561   ac_status=$?
38562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563   (exit $ac_status); }; }; then
38564   eval "$as_ac_var=yes"
38565 else
38566   echo "$as_me: failed program was:" >&5
38567 sed 's/^/| /' conftest.$ac_ext >&5
38568
38569 eval "$as_ac_var=no"
38570 fi
38571 rm -f conftest.err conftest.$ac_objext \
38572       conftest$ac_exeext conftest.$ac_ext
38573 fi
38574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38576 if test `eval echo '${'$as_ac_var'}'` = yes; then
38577   cat >>confdefs.h <<_ACEOF
38578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38579 _ACEOF
38580
38581 else
38582   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38583 fi
38584 done
38585
38586
38587           if test x$ac_cv_func_copysignl = x"yes"; then
38588
38589 for ac_func in __signbitl
38590 do
38591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38592 echo "$as_me:$LINENO: checking for $ac_func" >&5
38593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38594 if eval "test \"\${$as_ac_var+set}\" = set"; then
38595   echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597   if test x$gcc_no_link = xyes; then
38598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38600    { (exit 1); exit 1; }; }
38601 fi
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h.  */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h.  */
38608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38610 #define $ac_func innocuous_$ac_func
38611
38612 /* System header to define __stub macros and hopefully few prototypes,
38613     which can conflict with char $ac_func (); below.
38614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38615     <limits.h> exists even on freestanding compilers.  */
38616
38617 #ifdef __STDC__
38618 # include <limits.h>
38619 #else
38620 # include <assert.h>
38621 #endif
38622
38623 #undef $ac_func
38624
38625 /* Override any gcc2 internal prototype to avoid an error.  */
38626 #ifdef __cplusplus
38627 extern "C"
38628 {
38629 #endif
38630 /* We use char because int might match the return type of a gcc2
38631    builtin and then its argument prototype would still apply.  */
38632 char $ac_func ();
38633 /* The GNU C library defines this for functions which it implements
38634     to always fail with ENOSYS.  Some functions are actually named
38635     something starting with __ and the normal name is an alias.  */
38636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38637 choke me
38638 #else
38639 char (*f) () = $ac_func;
38640 #endif
38641 #ifdef __cplusplus
38642 }
38643 #endif
38644
38645 int
38646 main ()
38647 {
38648 return f != $ac_func;
38649   ;
38650   return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38655   (eval $ac_link) 2>conftest.er1
38656   ac_status=$?
38657   grep -v '^ *+' conftest.er1 >conftest.err
38658   rm -f conftest.er1
38659   cat conftest.err >&5
38660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661   (exit $ac_status); } &&
38662          { ac_try='test -z "$ac_c_werror_flag"
38663                          || test ! -s conftest.err'
38664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665   (eval $ac_try) 2>&5
38666   ac_status=$?
38667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668   (exit $ac_status); }; } &&
38669          { ac_try='test -s conftest$ac_exeext'
38670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671   (eval $ac_try) 2>&5
38672   ac_status=$?
38673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674   (exit $ac_status); }; }; then
38675   eval "$as_ac_var=yes"
38676 else
38677   echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38679
38680 eval "$as_ac_var=no"
38681 fi
38682 rm -f conftest.err conftest.$ac_objext \
38683       conftest$ac_exeext conftest.$ac_ext
38684 fi
38685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38687 if test `eval echo '${'$as_ac_var'}'` = yes; then
38688   cat >>confdefs.h <<_ACEOF
38689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38690 _ACEOF
38691
38692 else
38693   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38694 fi
38695 done
38696
38697   fi
38698
38699   # Used in libmath/Makefile.am.
38700   if test -n "$LIBMATHOBJS"; then
38701     need_libmath=yes
38702   fi
38703
38704
38705
38706   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38707   ac_save_CXXFLAGS="$CXXFLAGS"
38708   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38709
38710
38711   echo "$as_me:$LINENO: checking for strtold declaration" >&5
38712 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38713   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38714     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38715   echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38717
38718
38719
38720       ac_ext=cc
38721 ac_cpp='$CXXCPP $CPPFLAGS'
38722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38725
38726       cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h.  */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h.  */
38732 #include <stdlib.h>
38733 int
38734 main ()
38735 {
38736  strtold(0, 0);
38737   ;
38738   return 0;
38739 }
38740 _ACEOF
38741 rm -f conftest.$ac_objext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38743   (eval $ac_compile) 2>conftest.er1
38744   ac_status=$?
38745   grep -v '^ *+' conftest.er1 >conftest.err
38746   rm -f conftest.er1
38747   cat conftest.err >&5
38748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749   (exit $ac_status); } &&
38750          { ac_try='test -z "$ac_cxx_werror_flag"
38751                          || test ! -s conftest.err'
38752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753   (eval $ac_try) 2>&5
38754   ac_status=$?
38755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756   (exit $ac_status); }; } &&
38757          { ac_try='test -s conftest.$ac_objext'
38758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759   (eval $ac_try) 2>&5
38760   ac_status=$?
38761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762   (exit $ac_status); }; }; then
38763   glibcxx_cv_func_strtold_use=yes
38764 else
38765   echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38767
38768 glibcxx_cv_func_strtold_use=no
38769 fi
38770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38771       ac_ext=c
38772 ac_cpp='$CPP $CPPFLAGS'
38773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38776
38777
38778 fi
38779
38780   fi
38781   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38782 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38783   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38784
38785 for ac_func in strtold
38786 do
38787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38788 echo "$as_me:$LINENO: checking for $ac_func" >&5
38789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38790 if eval "test \"\${$as_ac_var+set}\" = set"; then
38791   echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793   if test x$gcc_no_link = xyes; then
38794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38796    { (exit 1); exit 1; }; }
38797 fi
38798 cat >conftest.$ac_ext <<_ACEOF
38799 /* confdefs.h.  */
38800 _ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h.  */
38804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38806 #define $ac_func innocuous_$ac_func
38807
38808 /* System header to define __stub macros and hopefully few prototypes,
38809     which can conflict with char $ac_func (); below.
38810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811     <limits.h> exists even on freestanding compilers.  */
38812
38813 #ifdef __STDC__
38814 # include <limits.h>
38815 #else
38816 # include <assert.h>
38817 #endif
38818
38819 #undef $ac_func
38820
38821 /* Override any gcc2 internal prototype to avoid an error.  */
38822 #ifdef __cplusplus
38823 extern "C"
38824 {
38825 #endif
38826 /* We use char because int might match the return type of a gcc2
38827    builtin and then its argument prototype would still apply.  */
38828 char $ac_func ();
38829 /* The GNU C library defines this for functions which it implements
38830     to always fail with ENOSYS.  Some functions are actually named
38831     something starting with __ and the normal name is an alias.  */
38832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38833 choke me
38834 #else
38835 char (*f) () = $ac_func;
38836 #endif
38837 #ifdef __cplusplus
38838 }
38839 #endif
38840
38841 int
38842 main ()
38843 {
38844 return f != $ac_func;
38845   ;
38846   return 0;
38847 }
38848 _ACEOF
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38851   (eval $ac_link) 2>conftest.er1
38852   ac_status=$?
38853   grep -v '^ *+' conftest.er1 >conftest.err
38854   rm -f conftest.er1
38855   cat conftest.err >&5
38856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857   (exit $ac_status); } &&
38858          { ac_try='test -z "$ac_c_werror_flag"
38859                          || test ! -s conftest.err'
38860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861   (eval $ac_try) 2>&5
38862   ac_status=$?
38863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864   (exit $ac_status); }; } &&
38865          { ac_try='test -s conftest$ac_exeext'
38866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867   (eval $ac_try) 2>&5
38868   ac_status=$?
38869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870   (exit $ac_status); }; }; then
38871   eval "$as_ac_var=yes"
38872 else
38873   echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 eval "$as_ac_var=no"
38877 fi
38878 rm -f conftest.err conftest.$ac_objext \
38879       conftest$ac_exeext conftest.$ac_ext
38880 fi
38881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38883 if test `eval echo '${'$as_ac_var'}'` = yes; then
38884   cat >>confdefs.h <<_ACEOF
38885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38886 _ACEOF
38887
38888 fi
38889 done
38890
38891   fi
38892
38893
38894
38895
38896
38897   echo "$as_me:$LINENO: checking for strtof declaration" >&5
38898 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38899   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38900     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38901   echo $ECHO_N "(cached) $ECHO_C" >&6
38902 else
38903
38904
38905
38906       ac_ext=cc
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911
38912       cat >conftest.$ac_ext <<_ACEOF
38913 /* confdefs.h.  */
38914 _ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h.  */
38918 #include <stdlib.h>
38919 int
38920 main ()
38921 {
38922  strtof(0, 0);
38923   ;
38924   return 0;
38925 }
38926 _ACEOF
38927 rm -f conftest.$ac_objext
38928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38929   (eval $ac_compile) 2>conftest.er1
38930   ac_status=$?
38931   grep -v '^ *+' conftest.er1 >conftest.err
38932   rm -f conftest.er1
38933   cat conftest.err >&5
38934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935   (exit $ac_status); } &&
38936          { ac_try='test -z "$ac_cxx_werror_flag"
38937                          || test ! -s conftest.err'
38938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38939   (eval $ac_try) 2>&5
38940   ac_status=$?
38941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942   (exit $ac_status); }; } &&
38943          { ac_try='test -s conftest.$ac_objext'
38944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38945   (eval $ac_try) 2>&5
38946   ac_status=$?
38947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948   (exit $ac_status); }; }; then
38949   glibcxx_cv_func_strtof_use=yes
38950 else
38951   echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38953
38954 glibcxx_cv_func_strtof_use=no
38955 fi
38956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38957       ac_ext=c
38958 ac_cpp='$CPP $CPPFLAGS'
38959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38962
38963
38964 fi
38965
38966   fi
38967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38968 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38969   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38970
38971 for ac_func in strtof
38972 do
38973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38974 echo "$as_me:$LINENO: checking for $ac_func" >&5
38975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38976 if eval "test \"\${$as_ac_var+set}\" = set"; then
38977   echo $ECHO_N "(cached) $ECHO_C" >&6
38978 else
38979   if test x$gcc_no_link = xyes; then
38980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38982    { (exit 1); exit 1; }; }
38983 fi
38984 cat >conftest.$ac_ext <<_ACEOF
38985 /* confdefs.h.  */
38986 _ACEOF
38987 cat confdefs.h >>conftest.$ac_ext
38988 cat >>conftest.$ac_ext <<_ACEOF
38989 /* end confdefs.h.  */
38990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38992 #define $ac_func innocuous_$ac_func
38993
38994 /* System header to define __stub macros and hopefully few prototypes,
38995     which can conflict with char $ac_func (); below.
38996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38997     <limits.h> exists even on freestanding compilers.  */
38998
38999 #ifdef __STDC__
39000 # include <limits.h>
39001 #else
39002 # include <assert.h>
39003 #endif
39004
39005 #undef $ac_func
39006
39007 /* Override any gcc2 internal prototype to avoid an error.  */
39008 #ifdef __cplusplus
39009 extern "C"
39010 {
39011 #endif
39012 /* We use char because int might match the return type of a gcc2
39013    builtin and then its argument prototype would still apply.  */
39014 char $ac_func ();
39015 /* The GNU C library defines this for functions which it implements
39016     to always fail with ENOSYS.  Some functions are actually named
39017     something starting with __ and the normal name is an alias.  */
39018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39019 choke me
39020 #else
39021 char (*f) () = $ac_func;
39022 #endif
39023 #ifdef __cplusplus
39024 }
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 return f != $ac_func;
39031   ;
39032   return 0;
39033 }
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39037   (eval $ac_link) 2>conftest.er1
39038   ac_status=$?
39039   grep -v '^ *+' conftest.er1 >conftest.err
39040   rm -f conftest.er1
39041   cat conftest.err >&5
39042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043   (exit $ac_status); } &&
39044          { ac_try='test -z "$ac_c_werror_flag"
39045                          || test ! -s conftest.err'
39046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047   (eval $ac_try) 2>&5
39048   ac_status=$?
39049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050   (exit $ac_status); }; } &&
39051          { ac_try='test -s conftest$ac_exeext'
39052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053   (eval $ac_try) 2>&5
39054   ac_status=$?
39055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056   (exit $ac_status); }; }; then
39057   eval "$as_ac_var=yes"
39058 else
39059   echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39061
39062 eval "$as_ac_var=no"
39063 fi
39064 rm -f conftest.err conftest.$ac_objext \
39065       conftest$ac_exeext conftest.$ac_ext
39066 fi
39067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070   cat >>confdefs.h <<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39072 _ACEOF
39073
39074 fi
39075 done
39076
39077   fi
39078
39079
39080
39081
39082
39083   CXXFLAGS="$ac_save_CXXFLAGS"
39084
39085
39086   # For showmanyc_helper().
39087
39088
39089 for ac_header in sys/ioctl.h sys/filio.h
39090 do
39091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093   echo "$as_me:$LINENO: checking for $ac_header" >&5
39094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39096   echo $ECHO_N "(cached) $ECHO_C" >&6
39097 fi
39098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39100 else
39101   # Is the header compilable?
39102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39104 cat >conftest.$ac_ext <<_ACEOF
39105 /* confdefs.h.  */
39106 _ACEOF
39107 cat confdefs.h >>conftest.$ac_ext
39108 cat >>conftest.$ac_ext <<_ACEOF
39109 /* end confdefs.h.  */
39110 $ac_includes_default
39111 #include <$ac_header>
39112 _ACEOF
39113 rm -f conftest.$ac_objext
39114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39115   (eval $ac_compile) 2>conftest.er1
39116   ac_status=$?
39117   grep -v '^ *+' conftest.er1 >conftest.err
39118   rm -f conftest.er1
39119   cat conftest.err >&5
39120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121   (exit $ac_status); } &&
39122          { ac_try='test -z "$ac_c_werror_flag"
39123                          || test ! -s conftest.err'
39124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39125   (eval $ac_try) 2>&5
39126   ac_status=$?
39127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128   (exit $ac_status); }; } &&
39129          { ac_try='test -s conftest.$ac_objext'
39130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39131   (eval $ac_try) 2>&5
39132   ac_status=$?
39133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134   (exit $ac_status); }; }; then
39135   ac_header_compiler=yes
39136 else
39137   echo "$as_me: failed program was:" >&5
39138 sed 's/^/| /' conftest.$ac_ext >&5
39139
39140 ac_header_compiler=no
39141 fi
39142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39144 echo "${ECHO_T}$ac_header_compiler" >&6
39145
39146 # Is the header present?
39147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h.  */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h.  */
39155 #include <$ac_header>
39156 _ACEOF
39157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39158   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39159   ac_status=$?
39160   grep -v '^ *+' conftest.er1 >conftest.err
39161   rm -f conftest.er1
39162   cat conftest.err >&5
39163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164   (exit $ac_status); } >/dev/null; then
39165   if test -s conftest.err; then
39166     ac_cpp_err=$ac_c_preproc_warn_flag
39167     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39168   else
39169     ac_cpp_err=
39170   fi
39171 else
39172   ac_cpp_err=yes
39173 fi
39174 if test -z "$ac_cpp_err"; then
39175   ac_header_preproc=yes
39176 else
39177   echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39179
39180   ac_header_preproc=no
39181 fi
39182 rm -f conftest.err conftest.$ac_ext
39183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39184 echo "${ECHO_T}$ac_header_preproc" >&6
39185
39186 # So?  What about this header?
39187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39188   yes:no: )
39189     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39191     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39193     ac_header_preproc=yes
39194     ;;
39195   no:yes:* )
39196     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39198     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39199 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39200     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39202     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39203 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39204     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39206     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39208     (
39209       cat <<\_ASBOX
39210 ## ----------------------------------------- ##
39211 ## Report this to the package-unused lists.  ##
39212 ## ----------------------------------------- ##
39213 _ASBOX
39214     ) |
39215       sed "s/^/$as_me: WARNING:     /" >&2
39216     ;;
39217 esac
39218 echo "$as_me:$LINENO: checking for $ac_header" >&5
39219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39221   echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223   eval "$as_ac_Header=\$ac_header_preproc"
39224 fi
39225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39227
39228 fi
39229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39230   cat >>confdefs.h <<_ACEOF
39231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39232 _ACEOF
39233
39234 fi
39235
39236 done
39237
39238
39239   echo "$as_me:$LINENO: checking for poll" >&5
39240 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39241   if test "${glibcxx_cv_POLL+set}" = set; then
39242   echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39244
39245     if test x$gcc_no_link = xyes; then
39246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39248    { (exit 1); exit 1; }; }
39249 fi
39250 cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h.  */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h.  */
39256 #include <poll.h>
39257 int
39258 main ()
39259 {
39260 struct pollfd pfd[1];
39261        pfd[0].events = POLLIN;
39262        poll(pfd, 1, 0);
39263   ;
39264   return 0;
39265 }
39266 _ACEOF
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39269   (eval $ac_link) 2>conftest.er1
39270   ac_status=$?
39271   grep -v '^ *+' conftest.er1 >conftest.err
39272   rm -f conftest.er1
39273   cat conftest.err >&5
39274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275   (exit $ac_status); } &&
39276          { ac_try='test -z "$ac_c_werror_flag"
39277                          || test ! -s conftest.err'
39278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279   (eval $ac_try) 2>&5
39280   ac_status=$?
39281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282   (exit $ac_status); }; } &&
39283          { ac_try='test -s conftest$ac_exeext'
39284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285   (eval $ac_try) 2>&5
39286   ac_status=$?
39287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288   (exit $ac_status); }; }; then
39289   glibcxx_cv_POLL=yes
39290 else
39291   echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294 glibcxx_cv_POLL=no
39295 fi
39296 rm -f conftest.err conftest.$ac_objext \
39297       conftest$ac_exeext conftest.$ac_ext
39298
39299 fi
39300
39301   if test $glibcxx_cv_POLL = yes; then
39302
39303 cat >>confdefs.h <<\_ACEOF
39304 #define HAVE_POLL 1
39305 _ACEOF
39306
39307   fi
39308   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39309 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39310
39311
39312   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39313 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39314   if test "${glibcxx_cv_S_ISREG+set}" = set; then
39315   echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317
39318     if test x$gcc_no_link = xyes; then
39319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39321    { (exit 1); exit 1; }; }
39322 fi
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h.  */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h.  */
39329 #include <sys/stat.h>
39330 int
39331 main ()
39332 {
39333 struct stat buffer;
39334        fstat(0, &buffer);
39335        S_ISREG(buffer.st_mode);
39336   ;
39337   return 0;
39338 }
39339 _ACEOF
39340 rm -f conftest.$ac_objext conftest$ac_exeext
39341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39342   (eval $ac_link) 2>conftest.er1
39343   ac_status=$?
39344   grep -v '^ *+' conftest.er1 >conftest.err
39345   rm -f conftest.er1
39346   cat conftest.err >&5
39347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348   (exit $ac_status); } &&
39349          { ac_try='test -z "$ac_c_werror_flag"
39350                          || test ! -s conftest.err'
39351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352   (eval $ac_try) 2>&5
39353   ac_status=$?
39354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355   (exit $ac_status); }; } &&
39356          { ac_try='test -s conftest$ac_exeext'
39357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39358   (eval $ac_try) 2>&5
39359   ac_status=$?
39360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361   (exit $ac_status); }; }; then
39362   glibcxx_cv_S_ISREG=yes
39363 else
39364   echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367 glibcxx_cv_S_ISREG=no
39368 fi
39369 rm -f conftest.err conftest.$ac_objext \
39370       conftest$ac_exeext conftest.$ac_ext
39371
39372 fi
39373
39374   if test "${glibcxx_cv_S_IFREG+set}" = set; then
39375   echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377
39378     if test x$gcc_no_link = xyes; then
39379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39381    { (exit 1); exit 1; }; }
39382 fi
39383 cat >conftest.$ac_ext <<_ACEOF
39384 /* confdefs.h.  */
39385 _ACEOF
39386 cat confdefs.h >>conftest.$ac_ext
39387 cat >>conftest.$ac_ext <<_ACEOF
39388 /* end confdefs.h.  */
39389 #include <sys/stat.h>
39390 int
39391 main ()
39392 {
39393 struct stat buffer;
39394        fstat(0, &buffer);
39395        S_IFREG & buffer.st_mode;
39396   ;
39397   return 0;
39398 }
39399 _ACEOF
39400 rm -f conftest.$ac_objext conftest$ac_exeext
39401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39402   (eval $ac_link) 2>conftest.er1
39403   ac_status=$?
39404   grep -v '^ *+' conftest.er1 >conftest.err
39405   rm -f conftest.er1
39406   cat conftest.err >&5
39407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408   (exit $ac_status); } &&
39409          { ac_try='test -z "$ac_c_werror_flag"
39410                          || test ! -s conftest.err'
39411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412   (eval $ac_try) 2>&5
39413   ac_status=$?
39414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415   (exit $ac_status); }; } &&
39416          { ac_try='test -s conftest$ac_exeext'
39417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418   (eval $ac_try) 2>&5
39419   ac_status=$?
39420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421   (exit $ac_status); }; }; then
39422   glibcxx_cv_S_IFREG=yes
39423 else
39424   echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39426
39427 glibcxx_cv_S_IFREG=no
39428 fi
39429 rm -f conftest.err conftest.$ac_objext \
39430       conftest$ac_exeext conftest.$ac_ext
39431
39432 fi
39433
39434   res=no
39435   if test $glibcxx_cv_S_ISREG = yes; then
39436
39437 cat >>confdefs.h <<\_ACEOF
39438 #define HAVE_S_ISREG 1
39439 _ACEOF
39440
39441     res=S_ISREG
39442   elif test $glibcxx_cv_S_IFREG = yes; then
39443
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE_S_IFREG 1
39446 _ACEOF
39447
39448     res=S_IFREG
39449   fi
39450   echo "$as_me:$LINENO: result: $res" >&5
39451 echo "${ECHO_T}$res" >&6
39452
39453
39454   # For xsputn_2().
39455
39456 for ac_header in sys/uio.h
39457 do
39458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460   echo "$as_me:$LINENO: checking for $ac_header" >&5
39461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39463   echo $ECHO_N "(cached) $ECHO_C" >&6
39464 fi
39465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39467 else
39468   # Is the header compilable?
39469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39471 cat >conftest.$ac_ext <<_ACEOF
39472 /* confdefs.h.  */
39473 _ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h.  */
39477 $ac_includes_default
39478 #include <$ac_header>
39479 _ACEOF
39480 rm -f conftest.$ac_objext
39481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39482   (eval $ac_compile) 2>conftest.er1
39483   ac_status=$?
39484   grep -v '^ *+' conftest.er1 >conftest.err
39485   rm -f conftest.er1
39486   cat conftest.err >&5
39487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488   (exit $ac_status); } &&
39489          { ac_try='test -z "$ac_c_werror_flag"
39490                          || test ! -s conftest.err'
39491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492   (eval $ac_try) 2>&5
39493   ac_status=$?
39494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495   (exit $ac_status); }; } &&
39496          { ac_try='test -s conftest.$ac_objext'
39497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498   (eval $ac_try) 2>&5
39499   ac_status=$?
39500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501   (exit $ac_status); }; }; then
39502   ac_header_compiler=yes
39503 else
39504   echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39506
39507 ac_header_compiler=no
39508 fi
39509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39511 echo "${ECHO_T}$ac_header_compiler" >&6
39512
39513 # Is the header present?
39514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h.  */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h.  */
39522 #include <$ac_header>
39523 _ACEOF
39524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39525   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39526   ac_status=$?
39527   grep -v '^ *+' conftest.er1 >conftest.err
39528   rm -f conftest.er1
39529   cat conftest.err >&5
39530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531   (exit $ac_status); } >/dev/null; then
39532   if test -s conftest.err; then
39533     ac_cpp_err=$ac_c_preproc_warn_flag
39534     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39535   else
39536     ac_cpp_err=
39537   fi
39538 else
39539   ac_cpp_err=yes
39540 fi
39541 if test -z "$ac_cpp_err"; then
39542   ac_header_preproc=yes
39543 else
39544   echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.$ac_ext >&5
39546
39547   ac_header_preproc=no
39548 fi
39549 rm -f conftest.err conftest.$ac_ext
39550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39551 echo "${ECHO_T}$ac_header_preproc" >&6
39552
39553 # So?  What about this header?
39554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39555   yes:no: )
39556     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39558     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39560     ac_header_preproc=yes
39561     ;;
39562   no:yes:* )
39563     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39565     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39566 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39567     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39569     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39570 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39571     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39573     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39575     (
39576       cat <<\_ASBOX
39577 ## ----------------------------------------- ##
39578 ## Report this to the package-unused lists.  ##
39579 ## ----------------------------------------- ##
39580 _ASBOX
39581     ) |
39582       sed "s/^/$as_me: WARNING:     /" >&2
39583     ;;
39584 esac
39585 echo "$as_me:$LINENO: checking for $ac_header" >&5
39586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39588   echo $ECHO_N "(cached) $ECHO_C" >&6
39589 else
39590   eval "$as_ac_Header=\$ac_header_preproc"
39591 fi
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39594
39595 fi
39596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39597   cat >>confdefs.h <<_ACEOF
39598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39599 _ACEOF
39600
39601 fi
39602
39603 done
39604
39605
39606   echo "$as_me:$LINENO: checking for writev" >&5
39607 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39608   if test "${glibcxx_cv_WRITEV+set}" = set; then
39609   echo $ECHO_N "(cached) $ECHO_C" >&6
39610 else
39611
39612     if test x$gcc_no_link = xyes; then
39613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39615    { (exit 1); exit 1; }; }
39616 fi
39617 cat >conftest.$ac_ext <<_ACEOF
39618 /* confdefs.h.  */
39619 _ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h.  */
39623 #include <sys/uio.h>
39624 int
39625 main ()
39626 {
39627 struct iovec iov[2];
39628        writev(0, iov, 0);
39629   ;
39630   return 0;
39631 }
39632 _ACEOF
39633 rm -f conftest.$ac_objext conftest$ac_exeext
39634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39635   (eval $ac_link) 2>conftest.er1
39636   ac_status=$?
39637   grep -v '^ *+' conftest.er1 >conftest.err
39638   rm -f conftest.er1
39639   cat conftest.err >&5
39640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641   (exit $ac_status); } &&
39642          { ac_try='test -z "$ac_c_werror_flag"
39643                          || test ! -s conftest.err'
39644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39645   (eval $ac_try) 2>&5
39646   ac_status=$?
39647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648   (exit $ac_status); }; } &&
39649          { ac_try='test -s conftest$ac_exeext'
39650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39651   (eval $ac_try) 2>&5
39652   ac_status=$?
39653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654   (exit $ac_status); }; }; then
39655   glibcxx_cv_WRITEV=yes
39656 else
39657   echo "$as_me: failed program was:" >&5
39658 sed 's/^/| /' conftest.$ac_ext >&5
39659
39660 glibcxx_cv_WRITEV=no
39661 fi
39662 rm -f conftest.err conftest.$ac_objext \
39663       conftest$ac_exeext conftest.$ac_ext
39664
39665 fi
39666
39667   if test $glibcxx_cv_WRITEV = yes; then
39668
39669 cat >>confdefs.h <<\_ACEOF
39670 #define HAVE_WRITEV 1
39671 _ACEOF
39672
39673   fi
39674   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39675 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39676
39677
39678   # For the __streamoff_base_type typedef.
39679
39680   echo "$as_me:$LINENO: checking for int64_t" >&5
39681 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39682   if test "${glibcxx_cv_INT64_T+set}" = set; then
39683   echo $ECHO_N "(cached) $ECHO_C" >&6
39684 else
39685
39686     cat >conftest.$ac_ext <<_ACEOF
39687 /* confdefs.h.  */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h.  */
39692 #include <stdint.h>
39693 int
39694 main ()
39695 {
39696 int64_t var;
39697   ;
39698   return 0;
39699 }
39700 _ACEOF
39701 rm -f conftest.$ac_objext
39702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39703   (eval $ac_compile) 2>conftest.er1
39704   ac_status=$?
39705   grep -v '^ *+' conftest.er1 >conftest.err
39706   rm -f conftest.er1
39707   cat conftest.err >&5
39708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709   (exit $ac_status); } &&
39710          { ac_try='test -z "$ac_c_werror_flag"
39711                          || test ! -s conftest.err'
39712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39713   (eval $ac_try) 2>&5
39714   ac_status=$?
39715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716   (exit $ac_status); }; } &&
39717          { ac_try='test -s conftest.$ac_objext'
39718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719   (eval $ac_try) 2>&5
39720   ac_status=$?
39721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722   (exit $ac_status); }; }; then
39723   glibcxx_cv_INT64_T=yes
39724 else
39725   echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.$ac_ext >&5
39727
39728 glibcxx_cv_INT64_T=no
39729 fi
39730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39731
39732 fi
39733
39734   if test $glibcxx_cv_INT64_T = yes; then
39735
39736 cat >>confdefs.h <<\_ACEOF
39737 #define HAVE_INT64_T 1
39738 _ACEOF
39739
39740   fi
39741   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39742 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39743
39744
39745   # For LFS support.
39746
39747
39748
39749   ac_ext=cc
39750 ac_cpp='$CXXCPP $CPPFLAGS'
39751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39754
39755   ac_save_CXXFLAGS="$CXXFLAGS"
39756   CXXFLAGS="$CXXFLAGS -fno-exceptions"
39757   echo "$as_me:$LINENO: checking for LFS support" >&5
39758 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39759   if test "${glibcxx_cv_LFS+set}" = set; then
39760   echo $ECHO_N "(cached) $ECHO_C" >&6
39761 else
39762
39763     if test x$gcc_no_link = xyes; then
39764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39766    { (exit 1); exit 1; }; }
39767 fi
39768 cat >conftest.$ac_ext <<_ACEOF
39769 /* confdefs.h.  */
39770 _ACEOF
39771 cat confdefs.h >>conftest.$ac_ext
39772 cat >>conftest.$ac_ext <<_ACEOF
39773 /* end confdefs.h.  */
39774 #include <unistd.h>
39775        #include <stdio.h>
39776        #include <sys/stat.h>
39777
39778 int
39779 main ()
39780 {
39781 FILE* fp;
39782        fopen64("t", "w");
39783        fseeko64(fp, 0, SEEK_CUR);
39784        ftello64(fp);
39785        lseek64(1, 0, SEEK_CUR);
39786        struct stat64 buf;
39787        fstat64(1, &buf);
39788   ;
39789   return 0;
39790 }
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794   (eval $ac_link) 2>conftest.er1
39795   ac_status=$?
39796   grep -v '^ *+' conftest.er1 >conftest.err
39797   rm -f conftest.er1
39798   cat conftest.err >&5
39799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800   (exit $ac_status); } &&
39801          { ac_try='test -z "$ac_cxx_werror_flag"
39802                          || test ! -s conftest.err'
39803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804   (eval $ac_try) 2>&5
39805   ac_status=$?
39806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807   (exit $ac_status); }; } &&
39808          { ac_try='test -s conftest$ac_exeext'
39809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810   (eval $ac_try) 2>&5
39811   ac_status=$?
39812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813   (exit $ac_status); }; }; then
39814   glibcxx_cv_LFS=yes
39815 else
39816   echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39818
39819 glibcxx_cv_LFS=no
39820 fi
39821 rm -f conftest.err conftest.$ac_objext \
39822       conftest$ac_exeext conftest.$ac_ext
39823
39824 fi
39825
39826   if test $glibcxx_cv_LFS = yes; then
39827
39828 cat >>confdefs.h <<\_ACEOF
39829 #define _GLIBCXX_USE_LFS 1
39830 _ACEOF
39831
39832   fi
39833   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39834 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39835   CXXFLAGS="$ac_save_CXXFLAGS"
39836   ac_ext=c
39837 ac_cpp='$CPP $CPPFLAGS'
39838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841
39842
39843
39844   # For C99 support to TR1.
39845
39846
39847
39848
39849   ac_ext=cc
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39854
39855
39856   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39857   # undefined and fake C99 facilities may be spuriously enabled.
39858   ac_save_CXXFLAGS="$CXXFLAGS"
39859   CXXFLAGS="$CXXFLAGS -std=c++98"
39860
39861   # Check for the existence of <complex.h> complex math functions used
39862   # by tr1/complex.
39863
39864 for ac_header in complex.h
39865 do
39866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868   echo "$as_me:$LINENO: checking for $ac_header" >&5
39869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39871   echo $ECHO_N "(cached) $ECHO_C" >&6
39872 fi
39873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39875 else
39876   # Is the header compilable?
39877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39879 cat >conftest.$ac_ext <<_ACEOF
39880 /* confdefs.h.  */
39881 _ACEOF
39882 cat confdefs.h >>conftest.$ac_ext
39883 cat >>conftest.$ac_ext <<_ACEOF
39884 /* end confdefs.h.  */
39885 $ac_includes_default
39886 #include <$ac_header>
39887 _ACEOF
39888 rm -f conftest.$ac_objext
39889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39890   (eval $ac_compile) 2>conftest.er1
39891   ac_status=$?
39892   grep -v '^ *+' conftest.er1 >conftest.err
39893   rm -f conftest.er1
39894   cat conftest.err >&5
39895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896   (exit $ac_status); } &&
39897          { ac_try='test -z "$ac_cxx_werror_flag"
39898                          || test ! -s conftest.err'
39899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900   (eval $ac_try) 2>&5
39901   ac_status=$?
39902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903   (exit $ac_status); }; } &&
39904          { ac_try='test -s conftest.$ac_objext'
39905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906   (eval $ac_try) 2>&5
39907   ac_status=$?
39908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909   (exit $ac_status); }; }; then
39910   ac_header_compiler=yes
39911 else
39912   echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39914
39915 ac_header_compiler=no
39916 fi
39917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39919 echo "${ECHO_T}$ac_header_compiler" >&6
39920
39921 # Is the header present?
39922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39924 cat >conftest.$ac_ext <<_ACEOF
39925 /* confdefs.h.  */
39926 _ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h.  */
39930 #include <$ac_header>
39931 _ACEOF
39932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39933   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39934   ac_status=$?
39935   grep -v '^ *+' conftest.er1 >conftest.err
39936   rm -f conftest.er1
39937   cat conftest.err >&5
39938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939   (exit $ac_status); } >/dev/null; then
39940   if test -s conftest.err; then
39941     ac_cpp_err=$ac_cxx_preproc_warn_flag
39942     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39943   else
39944     ac_cpp_err=
39945   fi
39946 else
39947   ac_cpp_err=yes
39948 fi
39949 if test -z "$ac_cpp_err"; then
39950   ac_header_preproc=yes
39951 else
39952   echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955   ac_header_preproc=no
39956 fi
39957 rm -f conftest.err conftest.$ac_ext
39958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39959 echo "${ECHO_T}$ac_header_preproc" >&6
39960
39961 # So?  What about this header?
39962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39963   yes:no: )
39964     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39966     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39968     ac_header_preproc=yes
39969     ;;
39970   no:yes:* )
39971     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39973     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39974 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39975     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39977     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39978 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39979     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39981     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39983     (
39984       cat <<\_ASBOX
39985 ## ----------------------------------------- ##
39986 ## Report this to the package-unused lists.  ##
39987 ## ----------------------------------------- ##
39988 _ASBOX
39989     ) |
39990       sed "s/^/$as_me: WARNING:     /" >&2
39991     ;;
39992 esac
39993 echo "$as_me:$LINENO: checking for $ac_header" >&5
39994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39996   echo $ECHO_N "(cached) $ECHO_C" >&6
39997 else
39998   eval "$as_ac_Header=\$ac_header_preproc"
39999 fi
40000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40002
40003 fi
40004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40005   cat >>confdefs.h <<_ACEOF
40006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40007 _ACEOF
40008  ac_has_complex_h=yes
40009 else
40010   ac_has_complex_h=no
40011 fi
40012
40013 done
40014
40015   ac_c99_complex_tr1=no;
40016   if test x"$ac_has_complex_h" = x"yes"; then
40017     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40018 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40019     cat >conftest.$ac_ext <<_ACEOF
40020 /* confdefs.h.  */
40021 _ACEOF
40022 cat confdefs.h >>conftest.$ac_ext
40023 cat >>conftest.$ac_ext <<_ACEOF
40024 /* end confdefs.h.  */
40025 #include <complex.h>
40026 int
40027 main ()
40028 {
40029 typedef __complex__ float float_type; float_type tmpf;
40030                     cacosf(tmpf);
40031                     casinf(tmpf);
40032                     catanf(tmpf);
40033                     cacoshf(tmpf);
40034                     casinhf(tmpf);
40035                     catanhf(tmpf);
40036                     typedef __complex__ double double_type; double_type tmpd;
40037                     cacos(tmpd);
40038                     casin(tmpd);
40039                     catan(tmpd);
40040                     cacosh(tmpd);
40041                     casinh(tmpd);
40042                     catanh(tmpd);
40043                     typedef __complex__ long double ld_type; ld_type tmpld;
40044                     cacosl(tmpld);
40045                     casinl(tmpld);
40046                     catanl(tmpld);
40047                     cacoshl(tmpld);
40048                     casinhl(tmpld);
40049                     catanhl(tmpld);
40050
40051   ;
40052   return 0;
40053 }
40054 _ACEOF
40055 rm -f conftest.$ac_objext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40057   (eval $ac_compile) 2>conftest.er1
40058   ac_status=$?
40059   grep -v '^ *+' conftest.er1 >conftest.err
40060   rm -f conftest.er1
40061   cat conftest.err >&5
40062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063   (exit $ac_status); } &&
40064          { ac_try='test -z "$ac_cxx_werror_flag"
40065                          || test ! -s conftest.err'
40066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067   (eval $ac_try) 2>&5
40068   ac_status=$?
40069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070   (exit $ac_status); }; } &&
40071          { ac_try='test -s conftest.$ac_objext'
40072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073   (eval $ac_try) 2>&5
40074   ac_status=$?
40075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076   (exit $ac_status); }; }; then
40077   ac_c99_complex_tr1=yes
40078 else
40079   echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40081
40082 ac_c99_complex_tr1=no
40083 fi
40084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40085   fi
40086   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40087 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40088   if test x"$ac_c99_complex_tr1" = x"yes"; then
40089
40090 cat >>confdefs.h <<\_ACEOF
40091 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40092 _ACEOF
40093
40094   fi
40095
40096   # Check for the existence of <ctype.h> functions.
40097   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40098 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40099   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40100   echo $ECHO_N "(cached) $ECHO_C" >&6
40101 else
40102
40103   cat >conftest.$ac_ext <<_ACEOF
40104 /* confdefs.h.  */
40105 _ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h.  */
40109 #include <ctype.h>
40110 int
40111 main ()
40112 {
40113 int ch;
40114                   int ret;
40115                   ret = isblank(ch);
40116
40117   ;
40118   return 0;
40119 }
40120 _ACEOF
40121 rm -f conftest.$ac_objext
40122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40123   (eval $ac_compile) 2>conftest.er1
40124   ac_status=$?
40125   grep -v '^ *+' conftest.er1 >conftest.err
40126   rm -f conftest.er1
40127   cat conftest.err >&5
40128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129   (exit $ac_status); } &&
40130          { ac_try='test -z "$ac_cxx_werror_flag"
40131                          || test ! -s conftest.err'
40132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40133   (eval $ac_try) 2>&5
40134   ac_status=$?
40135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136   (exit $ac_status); }; } &&
40137          { ac_try='test -s conftest.$ac_objext'
40138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139   (eval $ac_try) 2>&5
40140   ac_status=$?
40141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142   (exit $ac_status); }; }; then
40143   glibcxx_cv_c99_ctype_tr1=yes
40144 else
40145   echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40147
40148 glibcxx_cv_c99_ctype_tr1=no
40149 fi
40150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40151
40152 fi
40153
40154   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40155 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40156   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40157
40158 cat >>confdefs.h <<\_ACEOF
40159 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40160 _ACEOF
40161
40162   fi
40163
40164   # Check for the existence of <fenv.h> functions.
40165
40166 for ac_header in fenv.h
40167 do
40168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170   echo "$as_me:$LINENO: checking for $ac_header" >&5
40171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40173   echo $ECHO_N "(cached) $ECHO_C" >&6
40174 fi
40175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40177 else
40178   # Is the header compilable?
40179 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40181 cat >conftest.$ac_ext <<_ACEOF
40182 /* confdefs.h.  */
40183 _ACEOF
40184 cat confdefs.h >>conftest.$ac_ext
40185 cat >>conftest.$ac_ext <<_ACEOF
40186 /* end confdefs.h.  */
40187 $ac_includes_default
40188 #include <$ac_header>
40189 _ACEOF
40190 rm -f conftest.$ac_objext
40191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40192   (eval $ac_compile) 2>conftest.er1
40193   ac_status=$?
40194   grep -v '^ *+' conftest.er1 >conftest.err
40195   rm -f conftest.er1
40196   cat conftest.err >&5
40197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198   (exit $ac_status); } &&
40199          { ac_try='test -z "$ac_cxx_werror_flag"
40200                          || test ! -s conftest.err'
40201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202   (eval $ac_try) 2>&5
40203   ac_status=$?
40204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205   (exit $ac_status); }; } &&
40206          { ac_try='test -s conftest.$ac_objext'
40207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208   (eval $ac_try) 2>&5
40209   ac_status=$?
40210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211   (exit $ac_status); }; }; then
40212   ac_header_compiler=yes
40213 else
40214   echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40216
40217 ac_header_compiler=no
40218 fi
40219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40221 echo "${ECHO_T}$ac_header_compiler" >&6
40222
40223 # Is the header present?
40224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40226 cat >conftest.$ac_ext <<_ACEOF
40227 /* confdefs.h.  */
40228 _ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h.  */
40232 #include <$ac_header>
40233 _ACEOF
40234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40235   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40236   ac_status=$?
40237   grep -v '^ *+' conftest.er1 >conftest.err
40238   rm -f conftest.er1
40239   cat conftest.err >&5
40240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241   (exit $ac_status); } >/dev/null; then
40242   if test -s conftest.err; then
40243     ac_cpp_err=$ac_cxx_preproc_warn_flag
40244     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40245   else
40246     ac_cpp_err=
40247   fi
40248 else
40249   ac_cpp_err=yes
40250 fi
40251 if test -z "$ac_cpp_err"; then
40252   ac_header_preproc=yes
40253 else
40254   echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40256
40257   ac_header_preproc=no
40258 fi
40259 rm -f conftest.err conftest.$ac_ext
40260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40261 echo "${ECHO_T}$ac_header_preproc" >&6
40262
40263 # So?  What about this header?
40264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40265   yes:no: )
40266     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40268     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40270     ac_header_preproc=yes
40271     ;;
40272   no:yes:* )
40273     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40275     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40276 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40277     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40279     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40280 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40281     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40283     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40285     (
40286       cat <<\_ASBOX
40287 ## ----------------------------------------- ##
40288 ## Report this to the package-unused lists.  ##
40289 ## ----------------------------------------- ##
40290 _ASBOX
40291     ) |
40292       sed "s/^/$as_me: WARNING:     /" >&2
40293     ;;
40294 esac
40295 echo "$as_me:$LINENO: checking for $ac_header" >&5
40296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40298   echo $ECHO_N "(cached) $ECHO_C" >&6
40299 else
40300   eval "$as_ac_Header=\$ac_header_preproc"
40301 fi
40302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40304
40305 fi
40306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40307   cat >>confdefs.h <<_ACEOF
40308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40309 _ACEOF
40310  ac_has_fenv_h=yes
40311 else
40312   ac_has_fenv_h=no
40313 fi
40314
40315 done
40316
40317   ac_c99_fenv_tr1=no;
40318   if test x"$ac_has_fenv_h" = x"yes"; then
40319     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40320 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40321     cat >conftest.$ac_ext <<_ACEOF
40322 /* confdefs.h.  */
40323 _ACEOF
40324 cat confdefs.h >>conftest.$ac_ext
40325 cat >>conftest.$ac_ext <<_ACEOF
40326 /* end confdefs.h.  */
40327 #include <fenv.h>
40328 int
40329 main ()
40330 {
40331 int except, mode;
40332                     fexcept_t* pflag;
40333                     fenv_t* penv;
40334                     int ret;
40335                     ret = feclearexcept(except);
40336                     ret = fegetexceptflag(pflag, except);
40337                     ret = feraiseexcept(except);
40338                     ret = fesetexceptflag(pflag, except);
40339                     ret = fetestexcept(except);
40340                     ret = fegetround();
40341                     ret = fesetround(mode);
40342                     ret = fegetenv(penv);
40343                     ret = feholdexcept(penv);
40344                     ret = fesetenv(penv);
40345                     ret = feupdateenv(penv);
40346
40347   ;
40348   return 0;
40349 }
40350 _ACEOF
40351 rm -f conftest.$ac_objext
40352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40353   (eval $ac_compile) 2>conftest.er1
40354   ac_status=$?
40355   grep -v '^ *+' conftest.er1 >conftest.err
40356   rm -f conftest.er1
40357   cat conftest.err >&5
40358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359   (exit $ac_status); } &&
40360          { ac_try='test -z "$ac_cxx_werror_flag"
40361                          || test ! -s conftest.err'
40362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363   (eval $ac_try) 2>&5
40364   ac_status=$?
40365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366   (exit $ac_status); }; } &&
40367          { ac_try='test -s conftest.$ac_objext'
40368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369   (eval $ac_try) 2>&5
40370   ac_status=$?
40371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372   (exit $ac_status); }; }; then
40373   ac_c99_fenv_tr1=yes
40374 else
40375   echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40377
40378 ac_c99_fenv_tr1=no
40379 fi
40380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40381   fi
40382   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40383 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40384   if test x"$ac_c99_fenv_tr1" = x"yes"; then
40385
40386 cat >>confdefs.h <<\_ACEOF
40387 #define _GLIBCXX_USE_C99_FENV_TR1 1
40388 _ACEOF
40389
40390   fi
40391
40392   # Check for the existence of <stdint.h> types.
40393   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40394 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40395   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40396   echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40398
40399   cat >conftest.$ac_ext <<_ACEOF
40400 /* confdefs.h.  */
40401 _ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h.  */
40405 #include <stdint.h>
40406 int
40407 main ()
40408 {
40409 typedef int8_t          my_int8_t;
40410                   typedef int16_t         my_int16_t;
40411                   typedef int32_t         my_int32_t;
40412                   typedef int64_t         my_int64_t;
40413                   typedef int_fast8_t     my_int_fast8_t;
40414                   typedef int_fast16_t    my_int_fast16_t;
40415                   typedef int_fast32_t    my_int_fast32_t;
40416                   typedef int_fast64_t    my_int_fast64_t;
40417                   typedef int_least8_t    my_int_least8_t;
40418                   typedef int_least16_t   my_int_least16_t;
40419                   typedef int_least32_t   my_int_least32_t;
40420                   typedef int_least64_t   my_int_least64_t;
40421                   typedef intmax_t        my_intmax_t;
40422                   typedef intptr_t        my_intptr_t;
40423                   typedef uint8_t         my_uint8_t;
40424                   typedef uint16_t        my_uint16_t;
40425                   typedef uint32_t        my_uint32_t;
40426                   typedef uint64_t        my_uint64_t;
40427                   typedef uint_fast8_t    my_uint_fast8_t;
40428                   typedef uint_fast16_t   my_uint_fast16_t;
40429                   typedef uint_fast32_t   my_uint_fast32_t;
40430                   typedef uint_fast64_t   my_uint_fast64_t;
40431                   typedef uint_least8_t   my_uint_least8_t;
40432                   typedef uint_least16_t  my_uint_least16_t;
40433                   typedef uint_least32_t  my_uint_least32_t;
40434                   typedef uint_least64_t  my_uint_least64_t;
40435                   typedef uintmax_t       my_uintmax_t;
40436                   typedef uintptr_t       my_uintptr_t;
40437
40438   ;
40439   return 0;
40440 }
40441 _ACEOF
40442 rm -f conftest.$ac_objext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40444   (eval $ac_compile) 2>conftest.er1
40445   ac_status=$?
40446   grep -v '^ *+' conftest.er1 >conftest.err
40447   rm -f conftest.er1
40448   cat conftest.err >&5
40449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450   (exit $ac_status); } &&
40451          { ac_try='test -z "$ac_cxx_werror_flag"
40452                          || test ! -s conftest.err'
40453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454   (eval $ac_try) 2>&5
40455   ac_status=$?
40456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457   (exit $ac_status); }; } &&
40458          { ac_try='test -s conftest.$ac_objext'
40459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460   (eval $ac_try) 2>&5
40461   ac_status=$?
40462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463   (exit $ac_status); }; }; then
40464   glibcxx_cv_c99_stdint_tr1=yes
40465 else
40466   echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469 glibcxx_cv_c99_stdint_tr1=no
40470 fi
40471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40472
40473 fi
40474
40475   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40476 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40477   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40478
40479 cat >>confdefs.h <<\_ACEOF
40480 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40481 _ACEOF
40482
40483   fi
40484
40485   # Check for the existence of <math.h> functions.
40486   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40487 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40488   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40489   echo $ECHO_N "(cached) $ECHO_C" >&6
40490 else
40491
40492   cat >conftest.$ac_ext <<_ACEOF
40493 /* confdefs.h.  */
40494 _ACEOF
40495 cat confdefs.h >>conftest.$ac_ext
40496 cat >>conftest.$ac_ext <<_ACEOF
40497 /* end confdefs.h.  */
40498 #include <math.h>
40499 int
40500 main ()
40501 {
40502 typedef double_t  my_double_t;
40503                   typedef float_t   my_float_t;
40504                   acosh(0.0);
40505                   acoshf(0.0f);
40506                   acoshl(0.0l);
40507                   asinh(0.0);
40508                   asinhf(0.0f);
40509                   asinhl(0.0l);
40510                   atanh(0.0);
40511                   atanhf(0.0f);
40512                   atanhl(0.0l);
40513                   cbrt(0.0);
40514                   cbrtf(0.0f);
40515                   cbrtl(0.0l);
40516                   copysign(0.0, 0.0);
40517                   copysignf(0.0f, 0.0f);
40518                   copysignl(0.0l, 0.0l);
40519                   erf(0.0);
40520                   erff(0.0f);
40521                   erfl(0.0l);
40522                   erfc(0.0);
40523                   erfcf(0.0f);
40524                   erfcl(0.0l);
40525                   exp2(0.0);
40526                   exp2f(0.0f);
40527                   exp2l(0.0l);
40528                   expm1(0.0);
40529                   expm1f(0.0f);
40530                   expm1l(0.0l);
40531                   fdim(0.0, 0.0);
40532                   fdimf(0.0f, 0.0f);
40533                   fdiml(0.0l, 0.0l);
40534                   fma(0.0, 0.0, 0.0);
40535                   fmaf(0.0f, 0.0f, 0.0f);
40536                   fmal(0.0l, 0.0l, 0.0l);
40537                   fmax(0.0, 0.0);
40538                   fmaxf(0.0f, 0.0f);
40539                   fmaxl(0.0l, 0.0l);
40540                   fmin(0.0, 0.0);
40541                   fminf(0.0f, 0.0f);
40542                   fminl(0.0l, 0.0l);
40543                   hypot(0.0, 0.0);
40544                   hypotf(0.0f, 0.0f);
40545                   hypotl(0.0l, 0.0l);
40546                   ilogb(0.0);
40547                   ilogbf(0.0f);
40548                   ilogbl(0.0l);
40549                   lgamma(0.0);
40550                   lgammaf(0.0f);
40551                   lgammal(0.0l);
40552                   llrint(0.0);
40553                   llrintf(0.0f);
40554                   llrintl(0.0l);
40555                   llround(0.0);
40556                   llroundf(0.0f);
40557                   llroundl(0.0l);
40558                   log1p(0.0);
40559                   log1pf(0.0f);
40560                   log1pl(0.0l);
40561                   log2(0.0);
40562                   log2f(0.0f);
40563                   log2l(0.0l);
40564                   logb(0.0);
40565                   logbf(0.0f);
40566                   logbl(0.0l);
40567                   lrint(0.0);
40568                   lrintf(0.0f);
40569                   lrintl(0.0l);
40570                   lround(0.0);
40571                   lroundf(0.0f);
40572                   lroundl(0.0l);
40573                   nan(0);
40574                   nanf(0);
40575                   nanl(0);
40576                   nearbyint(0.0);
40577                   nearbyintf(0.0f);
40578                   nearbyintl(0.0l);
40579                   nextafter(0.0, 0.0);
40580                   nextafterf(0.0f, 0.0f);
40581                   nextafterl(0.0l, 0.0l);
40582                   nexttoward(0.0, 0.0);
40583                   nexttowardf(0.0f, 0.0f);
40584                   nexttowardl(0.0l, 0.0l);
40585                   remainder(0.0, 0.0);
40586                   remainderf(0.0f, 0.0f);
40587                   remainderl(0.0l, 0.0l);
40588                   remquo(0.0, 0.0, 0);
40589                   remquo(0.0f, 0.0f, 0);
40590                   remquo(0.0l, 0.0l, 0);
40591                   rint(0.0);
40592                   rintf(0.0f);
40593                   rintl(0.0l);
40594                   round(0.0);
40595                   roundf(0.0f);
40596                   roundl(0.0l);
40597                   scalbln(0.0, 0l);
40598                   scalblnf(0.0f, 0l);
40599                   scalblnl(0.0l, 0l);
40600                   scalbn(0.0, 0);
40601                   scalbnf(0.0f, 0);
40602                   scalbnl(0.0l, 0);
40603                   tgamma(0.0);
40604                   tgammaf(0.0f);
40605                   tgammal(0.0l);
40606                   trunc(0.0);
40607                   truncf(0.0f);
40608                   truncl(0.0l);
40609
40610   ;
40611   return 0;
40612 }
40613 _ACEOF
40614 rm -f conftest.$ac_objext
40615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40616   (eval $ac_compile) 2>conftest.er1
40617   ac_status=$?
40618   grep -v '^ *+' conftest.er1 >conftest.err
40619   rm -f conftest.er1
40620   cat conftest.err >&5
40621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622   (exit $ac_status); } &&
40623          { ac_try='test -z "$ac_cxx_werror_flag"
40624                          || test ! -s conftest.err'
40625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40626   (eval $ac_try) 2>&5
40627   ac_status=$?
40628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629   (exit $ac_status); }; } &&
40630          { ac_try='test -s conftest.$ac_objext'
40631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40632   (eval $ac_try) 2>&5
40633   ac_status=$?
40634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635   (exit $ac_status); }; }; then
40636   glibcxx_cv_c99_math_tr1=yes
40637 else
40638   echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40640
40641 glibcxx_cv_c99_math_tr1=no
40642 fi
40643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40644
40645 fi
40646
40647   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40648 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40649   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40650
40651 cat >>confdefs.h <<\_ACEOF
40652 #define _GLIBCXX_USE_C99_MATH_TR1 1
40653 _ACEOF
40654
40655   fi
40656
40657   # Check for the existence of <inttypes.h> functions (NB: doesn't make
40658   # sense if the previous check fails, per C99, 7.8/1).
40659   ac_c99_inttypes_tr1=no;
40660   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40661     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40662 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40663     cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h.  */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h.  */
40669 #include <inttypes.h>
40670 int
40671 main ()
40672 {
40673 intmax_t i, numer, denom, base;
40674                     const char* s;
40675                     char** endptr;
40676                     intmax_t ret = imaxabs(i);
40677                     imaxdiv_t dret = imaxdiv(numer, denom);
40678                     ret = strtoimax(s, endptr, base);
40679                     uintmax_t uret = strtoumax(s, endptr, base);
40680
40681   ;
40682   return 0;
40683 }
40684 _ACEOF
40685 rm -f conftest.$ac_objext
40686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40687   (eval $ac_compile) 2>conftest.er1
40688   ac_status=$?
40689   grep -v '^ *+' conftest.er1 >conftest.err
40690   rm -f conftest.er1
40691   cat conftest.err >&5
40692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40693   (exit $ac_status); } &&
40694          { ac_try='test -z "$ac_cxx_werror_flag"
40695                          || test ! -s conftest.err'
40696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40697   (eval $ac_try) 2>&5
40698   ac_status=$?
40699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700   (exit $ac_status); }; } &&
40701          { ac_try='test -s conftest.$ac_objext'
40702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40703   (eval $ac_try) 2>&5
40704   ac_status=$?
40705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706   (exit $ac_status); }; }; then
40707   ac_c99_inttypes_tr1=yes
40708 else
40709   echo "$as_me: failed program was:" >&5
40710 sed 's/^/| /' conftest.$ac_ext >&5
40711
40712 ac_c99_inttypes_tr1=no
40713 fi
40714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40715   fi
40716   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40717 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40718   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40719
40720 cat >>confdefs.h <<\_ACEOF
40721 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40722 _ACEOF
40723
40724   fi
40725
40726   # Check for the existence of the <stdbool.h> header.
40727
40728 for ac_header in stdbool.h
40729 do
40730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732   echo "$as_me:$LINENO: checking for $ac_header" >&5
40733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40735   echo $ECHO_N "(cached) $ECHO_C" >&6
40736 fi
40737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40739 else
40740   # Is the header compilable?
40741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h.  */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h.  */
40749 $ac_includes_default
40750 #include <$ac_header>
40751 _ACEOF
40752 rm -f conftest.$ac_objext
40753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40754   (eval $ac_compile) 2>conftest.er1
40755   ac_status=$?
40756   grep -v '^ *+' conftest.er1 >conftest.err
40757   rm -f conftest.er1
40758   cat conftest.err >&5
40759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760   (exit $ac_status); } &&
40761          { ac_try='test -z "$ac_cxx_werror_flag"
40762                          || test ! -s conftest.err'
40763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40764   (eval $ac_try) 2>&5
40765   ac_status=$?
40766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767   (exit $ac_status); }; } &&
40768          { ac_try='test -s conftest.$ac_objext'
40769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40770   (eval $ac_try) 2>&5
40771   ac_status=$?
40772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773   (exit $ac_status); }; }; then
40774   ac_header_compiler=yes
40775 else
40776   echo "$as_me: failed program was:" >&5
40777 sed 's/^/| /' conftest.$ac_ext >&5
40778
40779 ac_header_compiler=no
40780 fi
40781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40783 echo "${ECHO_T}$ac_header_compiler" >&6
40784
40785 # Is the header present?
40786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40788 cat >conftest.$ac_ext <<_ACEOF
40789 /* confdefs.h.  */
40790 _ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h.  */
40794 #include <$ac_header>
40795 _ACEOF
40796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40797   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40798   ac_status=$?
40799   grep -v '^ *+' conftest.er1 >conftest.err
40800   rm -f conftest.er1
40801   cat conftest.err >&5
40802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803   (exit $ac_status); } >/dev/null; then
40804   if test -s conftest.err; then
40805     ac_cpp_err=$ac_cxx_preproc_warn_flag
40806     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40807   else
40808     ac_cpp_err=
40809   fi
40810 else
40811   ac_cpp_err=yes
40812 fi
40813 if test -z "$ac_cpp_err"; then
40814   ac_header_preproc=yes
40815 else
40816   echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40818
40819   ac_header_preproc=no
40820 fi
40821 rm -f conftest.err conftest.$ac_ext
40822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40823 echo "${ECHO_T}$ac_header_preproc" >&6
40824
40825 # So?  What about this header?
40826 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40827   yes:no: )
40828     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40830     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40832     ac_header_preproc=yes
40833     ;;
40834   no:yes:* )
40835     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40837     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40838 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40839     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40841     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40842 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40843     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40845     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40847     (
40848       cat <<\_ASBOX
40849 ## ----------------------------------------- ##
40850 ## Report this to the package-unused lists.  ##
40851 ## ----------------------------------------- ##
40852 _ASBOX
40853     ) |
40854       sed "s/^/$as_me: WARNING:     /" >&2
40855     ;;
40856 esac
40857 echo "$as_me:$LINENO: checking for $ac_header" >&5
40858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40860   echo $ECHO_N "(cached) $ECHO_C" >&6
40861 else
40862   eval "$as_ac_Header=\$ac_header_preproc"
40863 fi
40864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40866
40867 fi
40868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40869   cat >>confdefs.h <<_ACEOF
40870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40871 _ACEOF
40872
40873 fi
40874
40875 done
40876
40877
40878   CXXFLAGS="$ac_save_CXXFLAGS"
40879   ac_ext=c
40880 ac_cpp='$CPP $CPPFLAGS'
40881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40884
40885
40886
40887   # For dev/random and dev/urandom for TR1.
40888
40889
40890   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40891 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40892   if test "${glibcxx_cv_random_tr1+set}" = set; then
40893   echo $ECHO_N "(cached) $ECHO_C" >&6
40894 else
40895
40896   if test "$cross_compiling" = yes; then
40897   glibcxx_cv_random_tr1=no
40898 else
40899   cat >conftest.$ac_ext <<_ACEOF
40900 /* confdefs.h.  */
40901 _ACEOF
40902 cat confdefs.h >>conftest.$ac_ext
40903 cat >>conftest.$ac_ext <<_ACEOF
40904 /* end confdefs.h.  */
40905 #include <stdio.h>
40906               int main()
40907               {
40908                 return !(fopen("/dev/random", "r")
40909                          && fopen("/dev/urandom", "r"));
40910               }
40911
40912 _ACEOF
40913 rm -f conftest$ac_exeext
40914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40915   (eval $ac_link) 2>&5
40916   ac_status=$?
40917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40920   (eval $ac_try) 2>&5
40921   ac_status=$?
40922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923   (exit $ac_status); }; }; then
40924   glibcxx_cv_random_tr1=yes
40925 else
40926   echo "$as_me: program exited with status $ac_status" >&5
40927 echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.$ac_ext >&5
40929
40930 ( exit $ac_status )
40931 glibcxx_cv_random_tr1=no
40932 fi
40933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40934 fi
40935
40936 fi
40937
40938   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40939 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40940   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40941
40942 cat >>confdefs.h <<\_ACEOF
40943 #define _GLIBCXX_USE_RANDOM_TR1 1
40944 _ACEOF
40945
40946   fi
40947
40948
40949
40950   # For clock_gettime support.
40951
40952
40953
40954
40955   ac_ext=cc
40956 ac_cpp='$CXXCPP $CPPFLAGS'
40957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960
40961   ac_save_CXXFLAGS="$CXXFLAGS"
40962   CXXFLAGS="$CXXFLAGS -fno-exceptions"
40963
40964
40965 for ac_header in unistd.h
40966 do
40967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40969   echo "$as_me:$LINENO: checking for $ac_header" >&5
40970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40972   echo $ECHO_N "(cached) $ECHO_C" >&6
40973 fi
40974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40976 else
40977   # Is the header compilable?
40978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h.  */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h.  */
40986 $ac_includes_default
40987 #include <$ac_header>
40988 _ACEOF
40989 rm -f conftest.$ac_objext
40990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40991   (eval $ac_compile) 2>conftest.er1
40992   ac_status=$?
40993   grep -v '^ *+' conftest.er1 >conftest.err
40994   rm -f conftest.er1
40995   cat conftest.err >&5
40996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997   (exit $ac_status); } &&
40998          { ac_try='test -z "$ac_cxx_werror_flag"
40999                          || test ! -s conftest.err'
41000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001   (eval $ac_try) 2>&5
41002   ac_status=$?
41003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004   (exit $ac_status); }; } &&
41005          { ac_try='test -s conftest.$ac_objext'
41006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007   (eval $ac_try) 2>&5
41008   ac_status=$?
41009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010   (exit $ac_status); }; }; then
41011   ac_header_compiler=yes
41012 else
41013   echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016 ac_header_compiler=no
41017 fi
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41020 echo "${ECHO_T}$ac_header_compiler" >&6
41021
41022 # Is the header present?
41023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h.  */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h.  */
41031 #include <$ac_header>
41032 _ACEOF
41033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41034   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41035   ac_status=$?
41036   grep -v '^ *+' conftest.er1 >conftest.err
41037   rm -f conftest.er1
41038   cat conftest.err >&5
41039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040   (exit $ac_status); } >/dev/null; then
41041   if test -s conftest.err; then
41042     ac_cpp_err=$ac_cxx_preproc_warn_flag
41043     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41044   else
41045     ac_cpp_err=
41046   fi
41047 else
41048   ac_cpp_err=yes
41049 fi
41050 if test -z "$ac_cpp_err"; then
41051   ac_header_preproc=yes
41052 else
41053   echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.$ac_ext >&5
41055
41056   ac_header_preproc=no
41057 fi
41058 rm -f conftest.err conftest.$ac_ext
41059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41060 echo "${ECHO_T}$ac_header_preproc" >&6
41061
41062 # So?  What about this header?
41063 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41064   yes:no: )
41065     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41067     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41069     ac_header_preproc=yes
41070     ;;
41071   no:yes:* )
41072     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41074     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41075 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41076     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41078     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41079 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41080     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41082     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41084     (
41085       cat <<\_ASBOX
41086 ## ----------------------------------------- ##
41087 ## Report this to the package-unused lists.  ##
41088 ## ----------------------------------------- ##
41089 _ASBOX
41090     ) |
41091       sed "s/^/$as_me: WARNING:     /" >&2
41092     ;;
41093 esac
41094 echo "$as_me:$LINENO: checking for $ac_header" >&5
41095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41097   echo $ECHO_N "(cached) $ECHO_C" >&6
41098 else
41099   eval "$as_ac_Header=\$ac_header_preproc"
41100 fi
41101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41103
41104 fi
41105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41106   cat >>confdefs.h <<_ACEOF
41107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41108 _ACEOF
41109  ac_has_unistd_h=yes
41110 else
41111   ac_has_unistd_h=no
41112 fi
41113
41114 done
41115
41116
41117   ac_has_clock_monotonic=no;
41118   ac_has_clock_realtime=no;
41119   if test x"$ac_has_unistd_h" = x"yes"; then
41120     echo "$as_me:$LINENO: checking for monotonic clock" >&5
41121 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
41122     if test x$gcc_no_link = xyes; then
41123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41125    { (exit 1); exit 1; }; }
41126 fi
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h.  */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h.  */
41133 #include <unistd.h>
41134        #include <time.h>
41135
41136 int
41137 main ()
41138 {
41139 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
41140         timespec tp;
41141        #endif
41142         clock_gettime(CLOCK_MONOTONIC, &tp);
41143
41144   ;
41145   return 0;
41146 }
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150   (eval $ac_link) 2>conftest.er1
41151   ac_status=$?
41152   grep -v '^ *+' conftest.er1 >conftest.err
41153   rm -f conftest.er1
41154   cat conftest.err >&5
41155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156   (exit $ac_status); } &&
41157          { ac_try='test -z "$ac_cxx_werror_flag"
41158                          || test ! -s conftest.err'
41159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160   (eval $ac_try) 2>&5
41161   ac_status=$?
41162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163   (exit $ac_status); }; } &&
41164          { ac_try='test -s conftest$ac_exeext'
41165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166   (eval $ac_try) 2>&5
41167   ac_status=$?
41168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169   (exit $ac_status); }; }; then
41170   ac_has_clock_monotonic=yes
41171 else
41172   echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41174
41175 ac_has_clock_monotonic=no
41176 fi
41177 rm -f conftest.err conftest.$ac_objext \
41178       conftest$ac_exeext conftest.$ac_ext
41179
41180     echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
41181 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
41182
41183     echo "$as_me:$LINENO: checking for realtime clock" >&5
41184 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
41185     if test x$gcc_no_link = xyes; then
41186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41188    { (exit 1); exit 1; }; }
41189 fi
41190 cat >conftest.$ac_ext <<_ACEOF
41191 /* confdefs.h.  */
41192 _ACEOF
41193 cat confdefs.h >>conftest.$ac_ext
41194 cat >>conftest.$ac_ext <<_ACEOF
41195 /* end confdefs.h.  */
41196 #include <unistd.h>
41197        #include <time.h>
41198
41199 int
41200 main ()
41201 {
41202 #if _POSIX_TIMERS > 0
41203         timespec tp;
41204        #endif
41205         clock_gettime(CLOCK_REALTIME, &tp);
41206
41207   ;
41208   return 0;
41209 }
41210 _ACEOF
41211 rm -f conftest.$ac_objext conftest$ac_exeext
41212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41213   (eval $ac_link) 2>conftest.er1
41214   ac_status=$?
41215   grep -v '^ *+' conftest.er1 >conftest.err
41216   rm -f conftest.er1
41217   cat conftest.err >&5
41218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219   (exit $ac_status); } &&
41220          { ac_try='test -z "$ac_cxx_werror_flag"
41221                          || test ! -s conftest.err'
41222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41223   (eval $ac_try) 2>&5
41224   ac_status=$?
41225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226   (exit $ac_status); }; } &&
41227          { ac_try='test -s conftest$ac_exeext'
41228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41229   (eval $ac_try) 2>&5
41230   ac_status=$?
41231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232   (exit $ac_status); }; }; then
41233   ac_has_clock_realtime=yes
41234 else
41235   echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238 ac_has_clock_realtime=no
41239 fi
41240 rm -f conftest.err conftest.$ac_objext \
41241       conftest$ac_exeext conftest.$ac_ext
41242
41243     echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
41244 echo "${ECHO_T}$ac_has_clock_realtime" >&6
41245   fi
41246
41247   if test x"$ac_has_clock_monotonic" = x"yes"; then
41248
41249 cat >>confdefs.h <<\_ACEOF
41250 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
41251 _ACEOF
41252
41253   fi
41254
41255   if test x"$ac_has_clock_realtime" = x"yes"; then
41256
41257 cat >>confdefs.h <<\_ACEOF
41258 #define _GLIBCXX_USE_CLOCK_REALTIME 1
41259 _ACEOF
41260
41261   fi
41262
41263   CXXFLAGS="$ac_save_CXXFLAGS"
41264   ac_ext=c
41265 ac_cpp='$CPP $CPPFLAGS'
41266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41269
41270
41271
41272   # For gettimeofday support.
41273
41274
41275
41276
41277   ac_ext=cc
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41282
41283   ac_save_CXXFLAGS="$CXXFLAGS"
41284   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41285
41286   ac_has_gettimeofday=no;
41287
41288 for ac_header in sys/time.h
41289 do
41290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41292   echo "$as_me:$LINENO: checking for $ac_header" >&5
41293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41295   echo $ECHO_N "(cached) $ECHO_C" >&6
41296 fi
41297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41299 else
41300   # Is the header compilable?
41301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41303 cat >conftest.$ac_ext <<_ACEOF
41304 /* confdefs.h.  */
41305 _ACEOF
41306 cat confdefs.h >>conftest.$ac_ext
41307 cat >>conftest.$ac_ext <<_ACEOF
41308 /* end confdefs.h.  */
41309 $ac_includes_default
41310 #include <$ac_header>
41311 _ACEOF
41312 rm -f conftest.$ac_objext
41313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41314   (eval $ac_compile) 2>conftest.er1
41315   ac_status=$?
41316   grep -v '^ *+' conftest.er1 >conftest.err
41317   rm -f conftest.er1
41318   cat conftest.err >&5
41319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320   (exit $ac_status); } &&
41321          { ac_try='test -z "$ac_cxx_werror_flag"
41322                          || test ! -s conftest.err'
41323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41324   (eval $ac_try) 2>&5
41325   ac_status=$?
41326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327   (exit $ac_status); }; } &&
41328          { ac_try='test -s conftest.$ac_objext'
41329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41330   (eval $ac_try) 2>&5
41331   ac_status=$?
41332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333   (exit $ac_status); }; }; then
41334   ac_header_compiler=yes
41335 else
41336   echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41338
41339 ac_header_compiler=no
41340 fi
41341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41343 echo "${ECHO_T}$ac_header_compiler" >&6
41344
41345 # Is the header present?
41346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41348 cat >conftest.$ac_ext <<_ACEOF
41349 /* confdefs.h.  */
41350 _ACEOF
41351 cat confdefs.h >>conftest.$ac_ext
41352 cat >>conftest.$ac_ext <<_ACEOF
41353 /* end confdefs.h.  */
41354 #include <$ac_header>
41355 _ACEOF
41356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41357   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41358   ac_status=$?
41359   grep -v '^ *+' conftest.er1 >conftest.err
41360   rm -f conftest.er1
41361   cat conftest.err >&5
41362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363   (exit $ac_status); } >/dev/null; then
41364   if test -s conftest.err; then
41365     ac_cpp_err=$ac_cxx_preproc_warn_flag
41366     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41367   else
41368     ac_cpp_err=
41369   fi
41370 else
41371   ac_cpp_err=yes
41372 fi
41373 if test -z "$ac_cpp_err"; then
41374   ac_header_preproc=yes
41375 else
41376   echo "$as_me: failed program was:" >&5
41377 sed 's/^/| /' conftest.$ac_ext >&5
41378
41379   ac_header_preproc=no
41380 fi
41381 rm -f conftest.err conftest.$ac_ext
41382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41383 echo "${ECHO_T}$ac_header_preproc" >&6
41384
41385 # So?  What about this header?
41386 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41387   yes:no: )
41388     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41390     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41392     ac_header_preproc=yes
41393     ;;
41394   no:yes:* )
41395     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41397     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41398 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41399     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41401     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41402 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41403     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41405     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41407     (
41408       cat <<\_ASBOX
41409 ## ----------------------------------------- ##
41410 ## Report this to the package-unused lists.  ##
41411 ## ----------------------------------------- ##
41412 _ASBOX
41413     ) |
41414       sed "s/^/$as_me: WARNING:     /" >&2
41415     ;;
41416 esac
41417 echo "$as_me:$LINENO: checking for $ac_header" >&5
41418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41420   echo $ECHO_N "(cached) $ECHO_C" >&6
41421 else
41422   eval "$as_ac_Header=\$ac_header_preproc"
41423 fi
41424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41426
41427 fi
41428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41429   cat >>confdefs.h <<_ACEOF
41430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41431 _ACEOF
41432  ac_has_sys_time_h=yes
41433 else
41434   ac_has_sys_time_h=no
41435 fi
41436
41437 done
41438
41439   if test x"$ac_has_sys_time_h" = x"yes"; then
41440     echo "$as_me:$LINENO: checking for gettimeofday" >&5
41441 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
41442     if test x$gcc_no_link = xyes; then
41443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41445    { (exit 1); exit 1; }; }
41446 fi
41447 cat >conftest.$ac_ext <<_ACEOF
41448 /* confdefs.h.  */
41449 _ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h.  */
41453 #include <sys/time.h>
41454 int
41455 main ()
41456 {
41457 timeval tv; gettimeofday(&tv, 0);
41458   ;
41459   return 0;
41460 }
41461 _ACEOF
41462 rm -f conftest.$ac_objext conftest$ac_exeext
41463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41464   (eval $ac_link) 2>conftest.er1
41465   ac_status=$?
41466   grep -v '^ *+' conftest.er1 >conftest.err
41467   rm -f conftest.er1
41468   cat conftest.err >&5
41469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470   (exit $ac_status); } &&
41471          { ac_try='test -z "$ac_cxx_werror_flag"
41472                          || test ! -s conftest.err'
41473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41474   (eval $ac_try) 2>&5
41475   ac_status=$?
41476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477   (exit $ac_status); }; } &&
41478          { ac_try='test -s conftest$ac_exeext'
41479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480   (eval $ac_try) 2>&5
41481   ac_status=$?
41482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483   (exit $ac_status); }; }; then
41484   ac_has_gettimeofday=yes
41485 else
41486   echo "$as_me: failed program was:" >&5
41487 sed 's/^/| /' conftest.$ac_ext >&5
41488
41489 ac_has_gettimeofday=no
41490 fi
41491 rm -f conftest.err conftest.$ac_objext \
41492       conftest$ac_exeext conftest.$ac_ext
41493
41494     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
41495 echo "${ECHO_T}$ac_has_gettimeofday" >&6
41496   fi
41497
41498   if test x"$ac_has_gettimeofday" = x"yes"; then
41499
41500 cat >>confdefs.h <<\_ACEOF
41501 #define _GLIBCXX_USE_GETTIMEOFDAY 1
41502 _ACEOF
41503
41504   fi
41505
41506   CXXFLAGS="$ac_save_CXXFLAGS"
41507   ac_ext=c
41508 ac_cpp='$CPP $CPPFLAGS'
41509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41512
41513
41514
41515   # For TLS support.
41516
41517    # Check whether --enable-tls or --disable-tls was given.
41518 if test "${enable_tls+set}" = set; then
41519   enableval="$enable_tls"
41520
41521       case "$enableval" in
41522        yes|no) ;;
41523        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41524 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41525    { (exit 1); exit 1; }; } ;;
41526       esac
41527
41528 else
41529   enable_tls=yes
41530 fi;
41531
41532   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41533 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41534 if test "${gcc_cv_have_tls+set}" = set; then
41535   echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537
41538     if test "$cross_compiling" = yes; then
41539                 if test x$gcc_no_link = xyes; then
41540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41542    { (exit 1); exit 1; }; }
41543 fi
41544 cat >conftest.$ac_ext <<_ACEOF
41545 __thread int a; int b; int main() { return a = b; }
41546 _ACEOF
41547 rm -f conftest.$ac_objext conftest$ac_exeext
41548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41549   (eval $ac_link) 2>conftest.er1
41550   ac_status=$?
41551   grep -v '^ *+' conftest.er1 >conftest.err
41552   rm -f conftest.er1
41553   cat conftest.err >&5
41554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555   (exit $ac_status); } &&
41556          { ac_try='test -z "$ac_c_werror_flag"
41557                          || test ! -s conftest.err'
41558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559   (eval $ac_try) 2>&5
41560   ac_status=$?
41561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562   (exit $ac_status); }; } &&
41563          { ac_try='test -s conftest$ac_exeext'
41564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41565   (eval $ac_try) 2>&5
41566   ac_status=$?
41567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568   (exit $ac_status); }; }; then
41569   gcc_cv_have_tls=yes
41570 else
41571   echo "$as_me: failed program was:" >&5
41572 sed 's/^/| /' conftest.$ac_ext >&5
41573
41574 gcc_cv_have_tls=no
41575 fi
41576 rm -f conftest.err conftest.$ac_objext \
41577       conftest$ac_exeext conftest.$ac_ext
41578
41579
41580 else
41581   cat >conftest.$ac_ext <<_ACEOF
41582 __thread int a; int b; int main() { return a = b; }
41583 _ACEOF
41584 rm -f conftest$ac_exeext
41585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41586   (eval $ac_link) 2>&5
41587   ac_status=$?
41588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591   (eval $ac_try) 2>&5
41592   ac_status=$?
41593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594   (exit $ac_status); }; }; then
41595                       chktls_save_LDFLAGS="$LDFLAGS"
41596       LDFLAGS="-static $LDFLAGS"
41597       if test x$gcc_no_link = xyes; then
41598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41600    { (exit 1); exit 1; }; }
41601 fi
41602 cat >conftest.$ac_ext <<_ACEOF
41603 int main() { return 0; }
41604 _ACEOF
41605 rm -f conftest.$ac_objext conftest$ac_exeext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41607   (eval $ac_link) 2>conftest.er1
41608   ac_status=$?
41609   grep -v '^ *+' conftest.er1 >conftest.err
41610   rm -f conftest.er1
41611   cat conftest.err >&5
41612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613   (exit $ac_status); } &&
41614          { ac_try='test -z "$ac_c_werror_flag"
41615                          || test ! -s conftest.err'
41616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617   (eval $ac_try) 2>&5
41618   ac_status=$?
41619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620   (exit $ac_status); }; } &&
41621          { ac_try='test -s conftest$ac_exeext'
41622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623   (eval $ac_try) 2>&5
41624   ac_status=$?
41625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626   (exit $ac_status); }; }; then
41627   if test "$cross_compiling" = yes; then
41628   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41629 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41630 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41631 See \`config.log' for more details." >&5
41632 echo "$as_me: error: cannot run test program while cross compiling
41633 See \`config.log' for more details." >&2;}
41634    { (exit 1); exit 1; }; }; }
41635 else
41636   cat >conftest.$ac_ext <<_ACEOF
41637 __thread int a; int b; int main() { return a = b; }
41638 _ACEOF
41639 rm -f conftest$ac_exeext
41640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41641   (eval $ac_link) 2>&5
41642   ac_status=$?
41643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646   (eval $ac_try) 2>&5
41647   ac_status=$?
41648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649   (exit $ac_status); }; }; then
41650   gcc_cv_have_tls=yes
41651 else
41652   echo "$as_me: program exited with status $ac_status" >&5
41653 echo "$as_me: failed program was:" >&5
41654 sed 's/^/| /' conftest.$ac_ext >&5
41655
41656 ( exit $ac_status )
41657 gcc_cv_have_tls=no
41658 fi
41659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41660 fi
41661 else
41662   echo "$as_me: failed program was:" >&5
41663 sed 's/^/| /' conftest.$ac_ext >&5
41664
41665 gcc_cv_have_tls=yes
41666 fi
41667 rm -f conftest.err conftest.$ac_objext \
41668       conftest$ac_exeext conftest.$ac_ext
41669       LDFLAGS="$chktls_save_LDFLAGS"
41670       if test $gcc_cv_have_tls = yes; then
41671                                                 chktls_save_CFLAGS="$CFLAGS"
41672         thread_CFLAGS=failed
41673         for flag in '' '-pthread' '-lpthread'; do
41674           CFLAGS="$flag $chktls_save_CFLAGS"
41675           if test x$gcc_no_link = xyes; then
41676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41678    { (exit 1); exit 1; }; }
41679 fi
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h.  */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h.  */
41686 #include <pthread.h>
41687                 void *g(void *d) { return NULL; }
41688 int
41689 main ()
41690 {
41691 pthread_t t; pthread_create(&t,NULL,g,NULL);
41692   ;
41693   return 0;
41694 }
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41698   (eval $ac_link) 2>conftest.er1
41699   ac_status=$?
41700   grep -v '^ *+' conftest.er1 >conftest.err
41701   rm -f conftest.er1
41702   cat conftest.err >&5
41703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704   (exit $ac_status); } &&
41705          { ac_try='test -z "$ac_c_werror_flag"
41706                          || test ! -s conftest.err'
41707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41708   (eval $ac_try) 2>&5
41709   ac_status=$?
41710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711   (exit $ac_status); }; } &&
41712          { ac_try='test -s conftest$ac_exeext'
41713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41714   (eval $ac_try) 2>&5
41715   ac_status=$?
41716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717   (exit $ac_status); }; }; then
41718   thread_CFLAGS="$flag"
41719 else
41720   echo "$as_me: failed program was:" >&5
41721 sed 's/^/| /' conftest.$ac_ext >&5
41722
41723 fi
41724 rm -f conftest.err conftest.$ac_objext \
41725       conftest$ac_exeext conftest.$ac_ext
41726           if test "X$thread_CFLAGS" != Xfailed; then
41727             break
41728           fi
41729         done
41730         CFLAGS="$chktls_save_CFLAGS"
41731         if test "X$thread_CFLAGS" != Xfailed; then
41732           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41733           if test "$cross_compiling" = yes; then
41734   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41735 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41736 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41737 See \`config.log' for more details." >&5
41738 echo "$as_me: error: cannot run test program while cross compiling
41739 See \`config.log' for more details." >&2;}
41740    { (exit 1); exit 1; }; }; }
41741 else
41742   cat >conftest.$ac_ext <<_ACEOF
41743 /* confdefs.h.  */
41744 _ACEOF
41745 cat confdefs.h >>conftest.$ac_ext
41746 cat >>conftest.$ac_ext <<_ACEOF
41747 /* end confdefs.h.  */
41748 #include <pthread.h>
41749                 __thread int a;
41750                 static int *a_in_other_thread;
41751                 static void *
41752                 thread_func (void *arg)
41753                 {
41754                   a_in_other_thread = &a;
41755                   return (void *)0;
41756                 }
41757 int
41758 main ()
41759 {
41760 pthread_t thread;
41761                 void *thread_retval;
41762                 int *a_in_main_thread;
41763                 if (pthread_create (&thread, (pthread_attr_t *)0,
41764                                     thread_func, (void *)0))
41765                   return 0;
41766                 a_in_main_thread = &a;
41767                 if (pthread_join (thread, &thread_retval))
41768                   return 0;
41769                 return (a_in_other_thread == a_in_main_thread);
41770   ;
41771   return 0;
41772 }
41773 _ACEOF
41774 rm -f conftest$ac_exeext
41775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41776   (eval $ac_link) 2>&5
41777   ac_status=$?
41778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41781   (eval $ac_try) 2>&5
41782   ac_status=$?
41783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784   (exit $ac_status); }; }; then
41785   gcc_cv_have_tls=yes
41786 else
41787   echo "$as_me: program exited with status $ac_status" >&5
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41790
41791 ( exit $ac_status )
41792 gcc_cv_have_tls=no
41793 fi
41794 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41795 fi
41796           CFLAGS="$chktls_save_CFLAGS"
41797         fi
41798       fi
41799 else
41800   echo "$as_me: program exited with status $ac_status" >&5
41801 echo "$as_me: failed program was:" >&5
41802 sed 's/^/| /' conftest.$ac_ext >&5
41803
41804 ( exit $ac_status )
41805 gcc_cv_have_tls=no
41806 fi
41807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41808 fi
41809 fi
41810 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41811 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41812   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41813
41814 cat >>confdefs.h <<\_ACEOF
41815 #define HAVE_TLS 1
41816 _ACEOF
41817
41818   fi
41819
41820   # For _Unwind_GetIPInfo.
41821
41822
41823
41824   ac_ext=cc
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41829
41830   ac_save_CXXFLAGS="$CXXFLAGS"
41831   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41832   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41833 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41834   if test "${gcc_cv_getipinfo+set}" = set; then
41835   echo $ECHO_N "(cached) $ECHO_C" >&6
41836 else
41837
41838   if test x$gcc_no_link = xyes; then
41839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41841    { (exit 1); exit 1; }; }
41842 fi
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h.  */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h.  */
41849 extern "C" { extern void _Unwind_GetIPInfo(); }
41850 int
41851 main ()
41852 {
41853 _Unwind_GetIPInfo();
41854   ;
41855   return 0;
41856 }
41857 _ACEOF
41858 rm -f conftest.$ac_objext conftest$ac_exeext
41859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41860   (eval $ac_link) 2>conftest.er1
41861   ac_status=$?
41862   grep -v '^ *+' conftest.er1 >conftest.err
41863   rm -f conftest.er1
41864   cat conftest.err >&5
41865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866   (exit $ac_status); } &&
41867          { ac_try='test -z "$ac_cxx_werror_flag"
41868                          || test ! -s conftest.err'
41869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870   (eval $ac_try) 2>&5
41871   ac_status=$?
41872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873   (exit $ac_status); }; } &&
41874          { ac_try='test -s conftest$ac_exeext'
41875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41876   (eval $ac_try) 2>&5
41877   ac_status=$?
41878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41879   (exit $ac_status); }; }; then
41880   gcc_cv_getipinfo=yes
41881 else
41882   echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41884
41885 gcc_cv_getipinfo=no
41886 fi
41887 rm -f conftest.err conftest.$ac_objext \
41888       conftest$ac_exeext conftest.$ac_ext
41889
41890 fi
41891
41892   if test $gcc_cv_getipinfo = yes; then
41893
41894 cat >>confdefs.h <<\_ACEOF
41895 #define HAVE_GETIPINFO 1
41896 _ACEOF
41897
41898   fi
41899   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41900 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41901   CXXFLAGS="$ac_save_CXXFLAGS"
41902   ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907
41908
41909
41910
41911   if test "${ac_cv_header_locale_h+set}" = set; then
41912   echo "$as_me:$LINENO: checking for locale.h" >&5
41913 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41914 if test "${ac_cv_header_locale_h+set}" = set; then
41915   echo $ECHO_N "(cached) $ECHO_C" >&6
41916 fi
41917 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41918 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41919 else
41920   # Is the header compilable?
41921 echo "$as_me:$LINENO: checking locale.h usability" >&5
41922 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h.  */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h.  */
41929 $ac_includes_default
41930 #include <locale.h>
41931 _ACEOF
41932 rm -f conftest.$ac_objext
41933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41934   (eval $ac_compile) 2>conftest.er1
41935   ac_status=$?
41936   grep -v '^ *+' conftest.er1 >conftest.err
41937   rm -f conftest.er1
41938   cat conftest.err >&5
41939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940   (exit $ac_status); } &&
41941          { ac_try='test -z "$ac_c_werror_flag"
41942                          || test ! -s conftest.err'
41943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944   (eval $ac_try) 2>&5
41945   ac_status=$?
41946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947   (exit $ac_status); }; } &&
41948          { ac_try='test -s conftest.$ac_objext'
41949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950   (eval $ac_try) 2>&5
41951   ac_status=$?
41952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953   (exit $ac_status); }; }; then
41954   ac_header_compiler=yes
41955 else
41956   echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41958
41959 ac_header_compiler=no
41960 fi
41961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41963 echo "${ECHO_T}$ac_header_compiler" >&6
41964
41965 # Is the header present?
41966 echo "$as_me:$LINENO: checking locale.h presence" >&5
41967 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41968 cat >conftest.$ac_ext <<_ACEOF
41969 /* confdefs.h.  */
41970 _ACEOF
41971 cat confdefs.h >>conftest.$ac_ext
41972 cat >>conftest.$ac_ext <<_ACEOF
41973 /* end confdefs.h.  */
41974 #include <locale.h>
41975 _ACEOF
41976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41977   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41978   ac_status=$?
41979   grep -v '^ *+' conftest.er1 >conftest.err
41980   rm -f conftest.er1
41981   cat conftest.err >&5
41982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983   (exit $ac_status); } >/dev/null; then
41984   if test -s conftest.err; then
41985     ac_cpp_err=$ac_c_preproc_warn_flag
41986     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41987   else
41988     ac_cpp_err=
41989   fi
41990 else
41991   ac_cpp_err=yes
41992 fi
41993 if test -z "$ac_cpp_err"; then
41994   ac_header_preproc=yes
41995 else
41996   echo "$as_me: failed program was:" >&5
41997 sed 's/^/| /' conftest.$ac_ext >&5
41998
41999   ac_header_preproc=no
42000 fi
42001 rm -f conftest.err conftest.$ac_ext
42002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42003 echo "${ECHO_T}$ac_header_preproc" >&6
42004
42005 # So?  What about this header?
42006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42007   yes:no: )
42008     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
42009 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42010     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
42011 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
42012     ac_header_preproc=yes
42013     ;;
42014   no:yes:* )
42015     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
42016 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
42017     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
42018 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
42019     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
42020 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
42021     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
42022 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
42023     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
42024 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
42025     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
42026 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
42027     (
42028       cat <<\_ASBOX
42029 ## ----------------------------------------- ##
42030 ## Report this to the package-unused lists.  ##
42031 ## ----------------------------------------- ##
42032 _ASBOX
42033     ) |
42034       sed "s/^/$as_me: WARNING:     /" >&2
42035     ;;
42036 esac
42037 echo "$as_me:$LINENO: checking for locale.h" >&5
42038 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42039 if test "${ac_cv_header_locale_h+set}" = set; then
42040   echo $ECHO_N "(cached) $ECHO_C" >&6
42041 else
42042   ac_cv_header_locale_h=$ac_header_preproc
42043 fi
42044 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42045 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42046
42047 fi
42048 if test $ac_cv_header_locale_h = yes; then
42049
42050     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
42051 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
42052 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
42053   echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42055   if test x$gcc_no_link = xyes; then
42056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42058    { (exit 1); exit 1; }; }
42059 fi
42060 cat >conftest.$ac_ext <<_ACEOF
42061 /* confdefs.h.  */
42062 _ACEOF
42063 cat confdefs.h >>conftest.$ac_ext
42064 cat >>conftest.$ac_ext <<_ACEOF
42065 /* end confdefs.h.  */
42066 #include <locale.h>
42067 int
42068 main ()
42069 {
42070 return LC_MESSAGES
42071   ;
42072   return 0;
42073 }
42074 _ACEOF
42075 rm -f conftest.$ac_objext conftest$ac_exeext
42076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42077   (eval $ac_link) 2>conftest.er1
42078   ac_status=$?
42079   grep -v '^ *+' conftest.er1 >conftest.err
42080   rm -f conftest.er1
42081   cat conftest.err >&5
42082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083   (exit $ac_status); } &&
42084          { ac_try='test -z "$ac_c_werror_flag"
42085                          || test ! -s conftest.err'
42086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087   (eval $ac_try) 2>&5
42088   ac_status=$?
42089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090   (exit $ac_status); }; } &&
42091          { ac_try='test -s conftest$ac_exeext'
42092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42093   (eval $ac_try) 2>&5
42094   ac_status=$?
42095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096   (exit $ac_status); }; }; then
42097   ac_cv_val_LC_MESSAGES=yes
42098 else
42099   echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.$ac_ext >&5
42101
42102 ac_cv_val_LC_MESSAGES=no
42103 fi
42104 rm -f conftest.err conftest.$ac_objext \
42105       conftest$ac_exeext conftest.$ac_ext
42106 fi
42107 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
42108 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
42109     if test $ac_cv_val_LC_MESSAGES = yes; then
42110
42111 cat >>confdefs.h <<\_ACEOF
42112 #define HAVE_LC_MESSAGES 1
42113 _ACEOF
42114
42115     fi
42116
42117 fi
42118
42119
42120
42121
42122   cat >conftest.$ac_ext <<_ACEOF
42123 /* confdefs.h.  */
42124 _ACEOF
42125 cat confdefs.h >>conftest.$ac_ext
42126 cat >>conftest.$ac_ext <<_ACEOF
42127 /* end confdefs.h.  */
42128 #include <setjmp.h>
42129 int
42130 main ()
42131 {
42132 sigjmp_buf env;
42133      while (! sigsetjmp (env, 1))
42134        siglongjmp (env, 1);
42135
42136   ;
42137   return 0;
42138 }
42139 _ACEOF
42140 rm -f conftest.$ac_objext
42141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42142   (eval $ac_compile) 2>conftest.er1
42143   ac_status=$?
42144   grep -v '^ *+' conftest.er1 >conftest.err
42145   rm -f conftest.er1
42146   cat conftest.err >&5
42147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148   (exit $ac_status); } &&
42149          { ac_try='test -z "$ac_c_werror_flag"
42150                          || test ! -s conftest.err'
42151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42152   (eval $ac_try) 2>&5
42153   ac_status=$?
42154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155   (exit $ac_status); }; } &&
42156          { ac_try='test -s conftest.$ac_objext'
42157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42158   (eval $ac_try) 2>&5
42159   ac_status=$?
42160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161   (exit $ac_status); }; }; then
42162
42163 cat >>confdefs.h <<\_ACEOF
42164 #define HAVE_SIGSETJMP 1
42165 _ACEOF
42166
42167 else
42168   echo "$as_me: failed program was:" >&5
42169 sed 's/^/| /' conftest.$ac_ext >&5
42170
42171 fi
42172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42173
42174   if test x$gcc_no_link = xyes; then
42175   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
42176     ac_cv_func_mmap_fixed_mapped=no
42177   fi
42178 fi
42179 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
42180
42181
42182 for ac_header in stdlib.h unistd.h
42183 do
42184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42186   echo "$as_me:$LINENO: checking for $ac_header" >&5
42187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42189   echo $ECHO_N "(cached) $ECHO_C" >&6
42190 fi
42191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42193 else
42194   # Is the header compilable?
42195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42197 cat >conftest.$ac_ext <<_ACEOF
42198 /* confdefs.h.  */
42199 _ACEOF
42200 cat confdefs.h >>conftest.$ac_ext
42201 cat >>conftest.$ac_ext <<_ACEOF
42202 /* end confdefs.h.  */
42203 $ac_includes_default
42204 #include <$ac_header>
42205 _ACEOF
42206 rm -f conftest.$ac_objext
42207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42208   (eval $ac_compile) 2>conftest.er1
42209   ac_status=$?
42210   grep -v '^ *+' conftest.er1 >conftest.err
42211   rm -f conftest.er1
42212   cat conftest.err >&5
42213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214   (exit $ac_status); } &&
42215          { ac_try='test -z "$ac_c_werror_flag"
42216                          || test ! -s conftest.err'
42217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42218   (eval $ac_try) 2>&5
42219   ac_status=$?
42220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221   (exit $ac_status); }; } &&
42222          { ac_try='test -s conftest.$ac_objext'
42223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224   (eval $ac_try) 2>&5
42225   ac_status=$?
42226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227   (exit $ac_status); }; }; then
42228   ac_header_compiler=yes
42229 else
42230   echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42232
42233 ac_header_compiler=no
42234 fi
42235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42237 echo "${ECHO_T}$ac_header_compiler" >&6
42238
42239 # Is the header present?
42240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42242 cat >conftest.$ac_ext <<_ACEOF
42243 /* confdefs.h.  */
42244 _ACEOF
42245 cat confdefs.h >>conftest.$ac_ext
42246 cat >>conftest.$ac_ext <<_ACEOF
42247 /* end confdefs.h.  */
42248 #include <$ac_header>
42249 _ACEOF
42250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42251   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42252   ac_status=$?
42253   grep -v '^ *+' conftest.er1 >conftest.err
42254   rm -f conftest.er1
42255   cat conftest.err >&5
42256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257   (exit $ac_status); } >/dev/null; then
42258   if test -s conftest.err; then
42259     ac_cpp_err=$ac_c_preproc_warn_flag
42260     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42261   else
42262     ac_cpp_err=
42263   fi
42264 else
42265   ac_cpp_err=yes
42266 fi
42267 if test -z "$ac_cpp_err"; then
42268   ac_header_preproc=yes
42269 else
42270   echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42272
42273   ac_header_preproc=no
42274 fi
42275 rm -f conftest.err conftest.$ac_ext
42276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42277 echo "${ECHO_T}$ac_header_preproc" >&6
42278
42279 # So?  What about this header?
42280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42281   yes:no: )
42282     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42284     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42286     ac_header_preproc=yes
42287     ;;
42288   no:yes:* )
42289     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42291     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42292 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42293     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42295     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42296 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42297     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42299     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42301     (
42302       cat <<\_ASBOX
42303 ## ----------------------------------------- ##
42304 ## Report this to the package-unused lists.  ##
42305 ## ----------------------------------------- ##
42306 _ASBOX
42307     ) |
42308       sed "s/^/$as_me: WARNING:     /" >&2
42309     ;;
42310 esac
42311 echo "$as_me:$LINENO: checking for $ac_header" >&5
42312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42314   echo $ECHO_N "(cached) $ECHO_C" >&6
42315 else
42316   eval "$as_ac_Header=\$ac_header_preproc"
42317 fi
42318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42320
42321 fi
42322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42323   cat >>confdefs.h <<_ACEOF
42324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42325 _ACEOF
42326
42327 fi
42328
42329 done
42330
42331
42332 for ac_func in getpagesize
42333 do
42334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42335 echo "$as_me:$LINENO: checking for $ac_func" >&5
42336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42337 if eval "test \"\${$as_ac_var+set}\" = set"; then
42338   echo $ECHO_N "(cached) $ECHO_C" >&6
42339 else
42340   if test x$gcc_no_link = xyes; then
42341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42343    { (exit 1); exit 1; }; }
42344 fi
42345 cat >conftest.$ac_ext <<_ACEOF
42346 /* confdefs.h.  */
42347 _ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h.  */
42351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42353 #define $ac_func innocuous_$ac_func
42354
42355 /* System header to define __stub macros and hopefully few prototypes,
42356     which can conflict with char $ac_func (); below.
42357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42358     <limits.h> exists even on freestanding compilers.  */
42359
42360 #ifdef __STDC__
42361 # include <limits.h>
42362 #else
42363 # include <assert.h>
42364 #endif
42365
42366 #undef $ac_func
42367
42368 /* Override any gcc2 internal prototype to avoid an error.  */
42369 #ifdef __cplusplus
42370 extern "C"
42371 {
42372 #endif
42373 /* We use char because int might match the return type of a gcc2
42374    builtin and then its argument prototype would still apply.  */
42375 char $ac_func ();
42376 /* The GNU C library defines this for functions which it implements
42377     to always fail with ENOSYS.  Some functions are actually named
42378     something starting with __ and the normal name is an alias.  */
42379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42380 choke me
42381 #else
42382 char (*f) () = $ac_func;
42383 #endif
42384 #ifdef __cplusplus
42385 }
42386 #endif
42387
42388 int
42389 main ()
42390 {
42391 return f != $ac_func;
42392   ;
42393   return 0;
42394 }
42395 _ACEOF
42396 rm -f conftest.$ac_objext conftest$ac_exeext
42397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42398   (eval $ac_link) 2>conftest.er1
42399   ac_status=$?
42400   grep -v '^ *+' conftest.er1 >conftest.err
42401   rm -f conftest.er1
42402   cat conftest.err >&5
42403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404   (exit $ac_status); } &&
42405          { ac_try='test -z "$ac_c_werror_flag"
42406                          || test ! -s conftest.err'
42407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42408   (eval $ac_try) 2>&5
42409   ac_status=$?
42410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411   (exit $ac_status); }; } &&
42412          { ac_try='test -s conftest$ac_exeext'
42413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42414   (eval $ac_try) 2>&5
42415   ac_status=$?
42416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417   (exit $ac_status); }; }; then
42418   eval "$as_ac_var=yes"
42419 else
42420   echo "$as_me: failed program was:" >&5
42421 sed 's/^/| /' conftest.$ac_ext >&5
42422
42423 eval "$as_ac_var=no"
42424 fi
42425 rm -f conftest.err conftest.$ac_objext \
42426       conftest$ac_exeext conftest.$ac_ext
42427 fi
42428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42430 if test `eval echo '${'$as_ac_var'}'` = yes; then
42431   cat >>confdefs.h <<_ACEOF
42432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42433 _ACEOF
42434
42435 fi
42436 done
42437
42438 echo "$as_me:$LINENO: checking for working mmap" >&5
42439 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
42440 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
42441   echo $ECHO_N "(cached) $ECHO_C" >&6
42442 else
42443   if test "$cross_compiling" = yes; then
42444   ac_cv_func_mmap_fixed_mapped=no
42445 else
42446   cat >conftest.$ac_ext <<_ACEOF
42447 /* confdefs.h.  */
42448 _ACEOF
42449 cat confdefs.h >>conftest.$ac_ext
42450 cat >>conftest.$ac_ext <<_ACEOF
42451 /* end confdefs.h.  */
42452 $ac_includes_default
42453 /* malloc might have been renamed as rpl_malloc. */
42454 #undef malloc
42455
42456 /* Thanks to Mike Haertel and Jim Avera for this test.
42457    Here is a matrix of mmap possibilities:
42458         mmap private not fixed
42459         mmap private fixed at somewhere currently unmapped
42460         mmap private fixed at somewhere already mapped
42461         mmap shared not fixed
42462         mmap shared fixed at somewhere currently unmapped
42463         mmap shared fixed at somewhere already mapped
42464    For private mappings, we should verify that changes cannot be read()
42465    back from the file, nor mmap's back from the file at a different
42466    address.  (There have been systems where private was not correctly
42467    implemented like the infamous i386 svr4.0, and systems where the
42468    VM page cache was not coherent with the file system buffer cache
42469    like early versions of FreeBSD and possibly contemporary NetBSD.)
42470    For shared mappings, we should conversely verify that changes get
42471    propagated back to all the places they're supposed to be.
42472
42473    Grep wants private fixed already mapped.
42474    The main things grep needs to know about mmap are:
42475    * does it exist and is it safe to write into the mmap'd area
42476    * how to use it (BSD variants)  */
42477
42478 #include <fcntl.h>
42479 #include <sys/mman.h>
42480
42481 #if !STDC_HEADERS && !HAVE_STDLIB_H
42482 char *malloc ();
42483 #endif
42484
42485 /* This mess was copied from the GNU getpagesize.h.  */
42486 #if !HAVE_GETPAGESIZE
42487 /* Assume that all systems that can run configure have sys/param.h.  */
42488 # if !HAVE_SYS_PARAM_H
42489 #  define HAVE_SYS_PARAM_H 1
42490 # endif
42491
42492 # ifdef _SC_PAGESIZE
42493 #  define getpagesize() sysconf(_SC_PAGESIZE)
42494 # else /* no _SC_PAGESIZE */
42495 #  if HAVE_SYS_PARAM_H
42496 #   include <sys/param.h>
42497 #   ifdef EXEC_PAGESIZE
42498 #    define getpagesize() EXEC_PAGESIZE
42499 #   else /* no EXEC_PAGESIZE */
42500 #    ifdef NBPG
42501 #     define getpagesize() NBPG * CLSIZE
42502 #     ifndef CLSIZE
42503 #      define CLSIZE 1
42504 #     endif /* no CLSIZE */
42505 #    else /* no NBPG */
42506 #     ifdef NBPC
42507 #      define getpagesize() NBPC
42508 #     else /* no NBPC */
42509 #      ifdef PAGESIZE
42510 #       define getpagesize() PAGESIZE
42511 #      endif /* PAGESIZE */
42512 #     endif /* no NBPC */
42513 #    endif /* no NBPG */
42514 #   endif /* no EXEC_PAGESIZE */
42515 #  else /* no HAVE_SYS_PARAM_H */
42516 #   define getpagesize() 8192   /* punt totally */
42517 #  endif /* no HAVE_SYS_PARAM_H */
42518 # endif /* no _SC_PAGESIZE */
42519
42520 #endif /* no HAVE_GETPAGESIZE */
42521
42522 int
42523 main ()
42524 {
42525   char *data, *data2, *data3;
42526   int i, pagesize;
42527   int fd;
42528
42529   pagesize = getpagesize ();
42530
42531   /* First, make a file with some known garbage in it. */
42532   data = (char *) malloc (pagesize);
42533   if (!data)
42534     exit (1);
42535   for (i = 0; i < pagesize; ++i)
42536     *(data + i) = rand ();
42537   umask (0);
42538   fd = creat ("conftest.mmap", 0600);
42539   if (fd < 0)
42540     exit (1);
42541   if (write (fd, data, pagesize) != pagesize)
42542     exit (1);
42543   close (fd);
42544
42545   /* Next, try to mmap the file at a fixed address which already has
42546      something else allocated at it.  If we can, also make sure that
42547      we see the same garbage.  */
42548   fd = open ("conftest.mmap", O_RDWR);
42549   if (fd < 0)
42550     exit (1);
42551   data2 = (char *) malloc (2 * pagesize);
42552   if (!data2)
42553     exit (1);
42554   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
42555   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
42556                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
42557     exit (1);
42558   for (i = 0; i < pagesize; ++i)
42559     if (*(data + i) != *(data2 + i))
42560       exit (1);
42561
42562   /* Finally, make sure that changes to the mapped area do not
42563      percolate back to the file as seen by read().  (This is a bug on
42564      some variants of i386 svr4.0.)  */
42565   for (i = 0; i < pagesize; ++i)
42566     *(data2 + i) = *(data2 + i) + 1;
42567   data3 = (char *) malloc (pagesize);
42568   if (!data3)
42569     exit (1);
42570   if (read (fd, data3, pagesize) != pagesize)
42571     exit (1);
42572   for (i = 0; i < pagesize; ++i)
42573     if (*(data + i) != *(data3 + i))
42574       exit (1);
42575   close (fd);
42576   exit (0);
42577 }
42578 _ACEOF
42579 rm -f conftest$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581   (eval $ac_link) 2>&5
42582   ac_status=$?
42583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586   (eval $ac_try) 2>&5
42587   ac_status=$?
42588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589   (exit $ac_status); }; }; then
42590   ac_cv_func_mmap_fixed_mapped=yes
42591 else
42592   echo "$as_me: program exited with status $ac_status" >&5
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.$ac_ext >&5
42595
42596 ( exit $ac_status )
42597 ac_cv_func_mmap_fixed_mapped=no
42598 fi
42599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42600 fi
42601 fi
42602 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42603 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42604 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42605
42606 cat >>confdefs.h <<\_ACEOF
42607 #define HAVE_MMAP 1
42608 _ACEOF
42609
42610 fi
42611 rm -f conftest.mmap
42612
42613 fi
42614
42615   # For iconv support.
42616
42617       if test "X$prefix" = "XNONE"; then
42618     acl_final_prefix="$ac_default_prefix"
42619   else
42620     acl_final_prefix="$prefix"
42621   fi
42622   if test "X$exec_prefix" = "XNONE"; then
42623     acl_final_exec_prefix='${prefix}'
42624   else
42625     acl_final_exec_prefix="$exec_prefix"
42626   fi
42627   acl_save_prefix="$prefix"
42628   prefix="$acl_final_prefix"
42629   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42630   prefix="$acl_save_prefix"
42631
42632
42633 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42634 if test "${with_gnu_ld+set}" = set; then
42635   withval="$with_gnu_ld"
42636   test "$withval" = no || with_gnu_ld=yes
42637 else
42638   with_gnu_ld=no
42639 fi;
42640 # Prepare PATH_SEPARATOR.
42641 # The user is always right.
42642 if test "${PATH_SEPARATOR+set}" != set; then
42643   echo "#! /bin/sh" >conf$$.sh
42644   echo  "exit 0"   >>conf$$.sh
42645   chmod +x conf$$.sh
42646   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42647     PATH_SEPARATOR=';'
42648   else
42649     PATH_SEPARATOR=:
42650   fi
42651   rm -f conf$$.sh
42652 fi
42653 ac_prog=ld
42654 if test "$GCC" = yes; then
42655   # Check if gcc -print-prog-name=ld gives a path.
42656   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42657 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42658   case $host in
42659   *-*-mingw*)
42660     # gcc leaves a trailing carriage return which upsets mingw
42661     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42662   *)
42663     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42664   esac
42665   case $ac_prog in
42666     # Accept absolute paths.
42667     [\\/]* | [A-Za-z]:[\\/]*)
42668       re_direlt='/[^/][^/]*/\.\./'
42669       # Canonicalize the path of ld
42670       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42671       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42672         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42673       done
42674       test -z "$LD" && LD="$ac_prog"
42675       ;;
42676   "")
42677     # If it fails, then pretend we aren't using GCC.
42678     ac_prog=ld
42679     ;;
42680   *)
42681     # If it is relative, then search for the first ld in PATH.
42682     with_gnu_ld=unknown
42683     ;;
42684   esac
42685 elif test "$with_gnu_ld" = yes; then
42686   echo "$as_me:$LINENO: checking for GNU ld" >&5
42687 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42688 else
42689   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42690 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42691 fi
42692 if test "${acl_cv_path_LD+set}" = set; then
42693   echo $ECHO_N "(cached) $ECHO_C" >&6
42694 else
42695   if test -z "$LD"; then
42696   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42697   for ac_dir in $PATH; do
42698     test -z "$ac_dir" && ac_dir=.
42699     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42700       acl_cv_path_LD="$ac_dir/$ac_prog"
42701       # Check to see if the program is GNU ld.  I'd rather use --version,
42702       # but apparently some GNU ld's only accept -v.
42703       # Break only if it was the GNU/non-GNU ld that we prefer.
42704       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42705         test "$with_gnu_ld" != no && break
42706       else
42707         test "$with_gnu_ld" != yes && break
42708       fi
42709     fi
42710   done
42711   IFS="$ac_save_ifs"
42712 else
42713   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42714 fi
42715 fi
42716
42717 LD="$acl_cv_path_LD"
42718 if test -n "$LD"; then
42719   echo "$as_me:$LINENO: result: $LD" >&5
42720 echo "${ECHO_T}$LD" >&6
42721 else
42722   echo "$as_me:$LINENO: result: no" >&5
42723 echo "${ECHO_T}no" >&6
42724 fi
42725 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42726 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42727    { (exit 1); exit 1; }; }
42728 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42729 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42730 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42731   echo $ECHO_N "(cached) $ECHO_C" >&6
42732 else
42733   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42734 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42735   acl_cv_prog_gnu_ld=yes
42736 else
42737   acl_cv_prog_gnu_ld=no
42738 fi
42739 fi
42740 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42741 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42742 with_gnu_ld=$acl_cv_prog_gnu_ld
42743
42744
42745
42746                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42747 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42748 if test "${acl_cv_rpath+set}" = set; then
42749   echo $ECHO_N "(cached) $ECHO_C" >&6
42750 else
42751
42752     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42753     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42754     . ./conftest.sh
42755     rm -f ./conftest.sh
42756     acl_cv_rpath=done
42757
42758 fi
42759 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42760 echo "${ECHO_T}$acl_cv_rpath" >&6
42761   wl="$acl_cv_wl"
42762   libext="$acl_cv_libext"
42763   shlibext="$acl_cv_shlibext"
42764   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42765   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42766   hardcode_direct="$acl_cv_hardcode_direct"
42767   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42768     # Check whether --enable-rpath or --disable-rpath was given.
42769 if test "${enable_rpath+set}" = set; then
42770   enableval="$enable_rpath"
42771   :
42772 else
42773   enable_rpath=yes
42774 fi;
42775
42776
42777
42778
42779
42780
42781
42782     use_additional=yes
42783
42784   acl_save_prefix="$prefix"
42785   prefix="$acl_final_prefix"
42786   acl_save_exec_prefix="$exec_prefix"
42787   exec_prefix="$acl_final_exec_prefix"
42788
42789     eval additional_includedir=\"$includedir\"
42790     eval additional_libdir=\"$libdir\"
42791
42792   exec_prefix="$acl_save_exec_prefix"
42793   prefix="$acl_save_prefix"
42794
42795
42796 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42797 if test "${with_libiconv_prefix+set}" = set; then
42798   withval="$with_libiconv_prefix"
42799
42800     if test "X$withval" = "Xno"; then
42801       use_additional=no
42802     else
42803       if test "X$withval" = "X"; then
42804
42805   acl_save_prefix="$prefix"
42806   prefix="$acl_final_prefix"
42807   acl_save_exec_prefix="$exec_prefix"
42808   exec_prefix="$acl_final_exec_prefix"
42809
42810           eval additional_includedir=\"$includedir\"
42811           eval additional_libdir=\"$libdir\"
42812
42813   exec_prefix="$acl_save_exec_prefix"
42814   prefix="$acl_save_prefix"
42815
42816       else
42817         additional_includedir="$withval/include"
42818         additional_libdir="$withval/lib"
42819       fi
42820     fi
42821
42822 fi;
42823       LIBICONV=
42824   LTLIBICONV=
42825   INCICONV=
42826   rpathdirs=
42827   ltrpathdirs=
42828   names_already_handled=
42829   names_next_round='iconv '
42830   while test -n "$names_next_round"; do
42831     names_this_round="$names_next_round"
42832     names_next_round=
42833     for name in $names_this_round; do
42834       already_handled=
42835       for n in $names_already_handled; do
42836         if test "$n" = "$name"; then
42837           already_handled=yes
42838           break
42839         fi
42840       done
42841       if test -z "$already_handled"; then
42842         names_already_handled="$names_already_handled $name"
42843                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42844         eval value=\"\$HAVE_LIB$uppername\"
42845         if test -n "$value"; then
42846           if test "$value" = yes; then
42847             eval value=\"\$LIB$uppername\"
42848             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42849             eval value=\"\$LTLIB$uppername\"
42850             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42851           else
42852                                     :
42853           fi
42854         else
42855                               found_dir=
42856           found_la=
42857           found_so=
42858           found_a=
42859           if test $use_additional = yes; then
42860             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42861               found_dir="$additional_libdir"
42862               found_so="$additional_libdir/lib$name.$shlibext"
42863               if test -f "$additional_libdir/lib$name.la"; then
42864                 found_la="$additional_libdir/lib$name.la"
42865               fi
42866             else
42867               if test -f "$additional_libdir/lib$name.$libext"; then
42868                 found_dir="$additional_libdir"
42869                 found_a="$additional_libdir/lib$name.$libext"
42870                 if test -f "$additional_libdir/lib$name.la"; then
42871                   found_la="$additional_libdir/lib$name.la"
42872                 fi
42873               fi
42874             fi
42875           fi
42876           if test "X$found_dir" = "X"; then
42877             for x in $LDFLAGS $LTLIBICONV; do
42878
42879   acl_save_prefix="$prefix"
42880   prefix="$acl_final_prefix"
42881   acl_save_exec_prefix="$exec_prefix"
42882   exec_prefix="$acl_final_exec_prefix"
42883   eval x=\"$x\"
42884   exec_prefix="$acl_save_exec_prefix"
42885   prefix="$acl_save_prefix"
42886
42887               case "$x" in
42888                 -L*)
42889                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42890                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42891                     found_dir="$dir"
42892                     found_so="$dir/lib$name.$shlibext"
42893                     if test -f "$dir/lib$name.la"; then
42894                       found_la="$dir/lib$name.la"
42895                     fi
42896                   else
42897                     if test -f "$dir/lib$name.$libext"; then
42898                       found_dir="$dir"
42899                       found_a="$dir/lib$name.$libext"
42900                       if test -f "$dir/lib$name.la"; then
42901                         found_la="$dir/lib$name.la"
42902                       fi
42903                     fi
42904                   fi
42905                   ;;
42906               esac
42907               if test "X$found_dir" != "X"; then
42908                 break
42909               fi
42910             done
42911           fi
42912           if test "X$found_dir" != "X"; then
42913                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42914             if test "X$found_so" != "X"; then
42915                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42916                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42917               else
42918                                                                                 haveit=
42919                 for x in $ltrpathdirs; do
42920                   if test "X$x" = "X$found_dir"; then
42921                     haveit=yes
42922                     break
42923                   fi
42924                 done
42925                 if test -z "$haveit"; then
42926                   ltrpathdirs="$ltrpathdirs $found_dir"
42927                 fi
42928                                 if test "$hardcode_direct" = yes; then
42929                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42930                 else
42931                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42932                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42933                                                             haveit=
42934                     for x in $rpathdirs; do
42935                       if test "X$x" = "X$found_dir"; then
42936                         haveit=yes
42937                         break
42938                       fi
42939                     done
42940                     if test -z "$haveit"; then
42941                       rpathdirs="$rpathdirs $found_dir"
42942                     fi
42943                   else
42944                                                                                 haveit=
42945                     for x in $LDFLAGS $LIBICONV; do
42946
42947   acl_save_prefix="$prefix"
42948   prefix="$acl_final_prefix"
42949   acl_save_exec_prefix="$exec_prefix"
42950   exec_prefix="$acl_final_exec_prefix"
42951   eval x=\"$x\"
42952   exec_prefix="$acl_save_exec_prefix"
42953   prefix="$acl_save_prefix"
42954
42955                       if test "X$x" = "X-L$found_dir"; then
42956                         haveit=yes
42957                         break
42958                       fi
42959                     done
42960                     if test -z "$haveit"; then
42961                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42962                     fi
42963                     if test "$hardcode_minus_L" != no; then
42964                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42965                     else
42966                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42967                     fi
42968                   fi
42969                 fi
42970               fi
42971             else
42972               if test "X$found_a" != "X"; then
42973                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42974               else
42975                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42976               fi
42977             fi
42978                         additional_includedir=
42979             case "$found_dir" in
42980               */lib | */lib/)
42981                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42982                 additional_includedir="$basedir/include"
42983                 ;;
42984             esac
42985             if test "X$additional_includedir" != "X"; then
42986                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42987                 haveit=
42988                 if test "X$additional_includedir" = "X/usr/local/include"; then
42989                   if test -n "$GCC"; then
42990                     case $host_os in
42991                       linux*) haveit=yes;;
42992                     esac
42993                   fi
42994                 fi
42995                 if test -z "$haveit"; then
42996                   for x in $CPPFLAGS $INCICONV; do
42997
42998   acl_save_prefix="$prefix"
42999   prefix="$acl_final_prefix"
43000   acl_save_exec_prefix="$exec_prefix"
43001   exec_prefix="$acl_final_exec_prefix"
43002   eval x=\"$x\"
43003   exec_prefix="$acl_save_exec_prefix"
43004   prefix="$acl_save_prefix"
43005
43006                     if test "X$x" = "X-I$additional_includedir"; then
43007                       haveit=yes
43008                       break
43009                     fi
43010                   done
43011                   if test -z "$haveit"; then
43012                     if test -d "$additional_includedir"; then
43013                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
43014                     fi
43015                   fi
43016                 fi
43017               fi
43018             fi
43019                         if test -n "$found_la"; then
43020                                                         save_libdir="$libdir"
43021               case "$found_la" in
43022                 */* | *\\*) . "$found_la" ;;
43023                 *) . "./$found_la" ;;
43024               esac
43025               libdir="$save_libdir"
43026                             for dep in $dependency_libs; do
43027                 case "$dep" in
43028                   -L*)
43029                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
43030                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
43031                       haveit=
43032                       if test "X$additional_libdir" = "X/usr/local/lib"; then
43033                         if test -n "$GCC"; then
43034                           case $host_os in
43035                             linux*) haveit=yes;;
43036                           esac
43037                         fi
43038                       fi
43039                       if test -z "$haveit"; then
43040                         haveit=
43041                         for x in $LDFLAGS $LIBICONV; do
43042
43043   acl_save_prefix="$prefix"
43044   prefix="$acl_final_prefix"
43045   acl_save_exec_prefix="$exec_prefix"
43046   exec_prefix="$acl_final_exec_prefix"
43047   eval x=\"$x\"
43048   exec_prefix="$acl_save_exec_prefix"
43049   prefix="$acl_save_prefix"
43050
43051                           if test "X$x" = "X-L$additional_libdir"; then
43052                             haveit=yes
43053                             break
43054                           fi
43055                         done
43056                         if test -z "$haveit"; then
43057                           if test -d "$additional_libdir"; then
43058                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
43059                           fi
43060                         fi
43061                         haveit=
43062                         for x in $LDFLAGS $LTLIBICONV; do
43063
43064   acl_save_prefix="$prefix"
43065   prefix="$acl_final_prefix"
43066   acl_save_exec_prefix="$exec_prefix"
43067   exec_prefix="$acl_final_exec_prefix"
43068   eval x=\"$x\"
43069   exec_prefix="$acl_save_exec_prefix"
43070   prefix="$acl_save_prefix"
43071
43072                           if test "X$x" = "X-L$additional_libdir"; then
43073                             haveit=yes
43074                             break
43075                           fi
43076                         done
43077                         if test -z "$haveit"; then
43078                           if test -d "$additional_libdir"; then
43079                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
43080                           fi
43081                         fi
43082                       fi
43083                     fi
43084                     ;;
43085                   -R*)
43086                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
43087                     if test "$enable_rpath" != no; then
43088                                                                   haveit=
43089                       for x in $rpathdirs; do
43090                         if test "X$x" = "X$dir"; then
43091                           haveit=yes
43092                           break
43093                         fi
43094                       done
43095                       if test -z "$haveit"; then
43096                         rpathdirs="$rpathdirs $dir"
43097                       fi
43098                                                                   haveit=
43099                       for x in $ltrpathdirs; do
43100                         if test "X$x" = "X$dir"; then
43101                           haveit=yes
43102                           break
43103                         fi
43104                       done
43105                       if test -z "$haveit"; then
43106                         ltrpathdirs="$ltrpathdirs $dir"
43107                       fi
43108                     fi
43109                     ;;
43110                   -l*)
43111                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
43112                     ;;
43113                   *.la)
43114                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
43115                     ;;
43116                   *)
43117                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
43118                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
43119                     ;;
43120                 esac
43121               done
43122             fi
43123           else
43124                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43125             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
43126           fi
43127         fi
43128       fi
43129     done
43130   done
43131   if test "X$rpathdirs" != "X"; then
43132     if test -n "$hardcode_libdir_separator"; then
43133                         alldirs=
43134       for found_dir in $rpathdirs; do
43135         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
43136       done
43137             acl_save_libdir="$libdir"
43138       libdir="$alldirs"
43139       eval flag=\"$hardcode_libdir_flag_spec\"
43140       libdir="$acl_save_libdir"
43141       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43142     else
43143             for found_dir in $rpathdirs; do
43144         acl_save_libdir="$libdir"
43145         libdir="$found_dir"
43146         eval flag=\"$hardcode_libdir_flag_spec\"
43147         libdir="$acl_save_libdir"
43148         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43149       done
43150     fi
43151   fi
43152   if test "X$ltrpathdirs" != "X"; then
43153             for found_dir in $ltrpathdirs; do
43154       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
43155     done
43156   fi
43157
43158
43159
43160
43161
43162
43163
43164           am_save_CPPFLAGS="$CPPFLAGS"
43165
43166   for element in $INCICONV; do
43167     haveit=
43168     for x in $CPPFLAGS; do
43169
43170   acl_save_prefix="$prefix"
43171   prefix="$acl_final_prefix"
43172   acl_save_exec_prefix="$exec_prefix"
43173   exec_prefix="$acl_final_exec_prefix"
43174   eval x=\"$x\"
43175   exec_prefix="$acl_save_exec_prefix"
43176   prefix="$acl_save_prefix"
43177
43178       if test "X$x" = "X$element"; then
43179         haveit=yes
43180         break
43181       fi
43182     done
43183     if test -z "$haveit"; then
43184       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43185     fi
43186   done
43187
43188
43189   echo "$as_me:$LINENO: checking for iconv" >&5
43190 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
43191 if test "${am_cv_func_iconv+set}" = set; then
43192   echo $ECHO_N "(cached) $ECHO_C" >&6
43193 else
43194
43195     am_cv_func_iconv="no, consider installing GNU libiconv"
43196     am_cv_lib_iconv=no
43197     if test x$gcc_no_link = xyes; then
43198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43200    { (exit 1); exit 1; }; }
43201 fi
43202 cat >conftest.$ac_ext <<_ACEOF
43203 /* confdefs.h.  */
43204 _ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h.  */
43208 #include <stdlib.h>
43209 #include <iconv.h>
43210 int
43211 main ()
43212 {
43213 iconv_t cd = iconv_open("","");
43214        iconv(cd,NULL,NULL,NULL,NULL);
43215        iconv_close(cd);
43216   ;
43217   return 0;
43218 }
43219 _ACEOF
43220 rm -f conftest.$ac_objext conftest$ac_exeext
43221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43222   (eval $ac_link) 2>conftest.er1
43223   ac_status=$?
43224   grep -v '^ *+' conftest.er1 >conftest.err
43225   rm -f conftest.er1
43226   cat conftest.err >&5
43227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228   (exit $ac_status); } &&
43229          { ac_try='test -z "$ac_c_werror_flag"
43230                          || test ! -s conftest.err'
43231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43232   (eval $ac_try) 2>&5
43233   ac_status=$?
43234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235   (exit $ac_status); }; } &&
43236          { ac_try='test -s conftest$ac_exeext'
43237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238   (eval $ac_try) 2>&5
43239   ac_status=$?
43240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241   (exit $ac_status); }; }; then
43242   am_cv_func_iconv=yes
43243 else
43244   echo "$as_me: failed program was:" >&5
43245 sed 's/^/| /' conftest.$ac_ext >&5
43246
43247 fi
43248 rm -f conftest.err conftest.$ac_objext \
43249       conftest$ac_exeext conftest.$ac_ext
43250     if test "$am_cv_func_iconv" != yes; then
43251       am_save_LIBS="$LIBS"
43252       LIBS="$LIBS $LIBICONV"
43253       if test x$gcc_no_link = xyes; then
43254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43256    { (exit 1); exit 1; }; }
43257 fi
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h.  */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h.  */
43264 #include <stdlib.h>
43265 #include <iconv.h>
43266 int
43267 main ()
43268 {
43269 iconv_t cd = iconv_open("","");
43270          iconv(cd,NULL,NULL,NULL,NULL);
43271          iconv_close(cd);
43272   ;
43273   return 0;
43274 }
43275 _ACEOF
43276 rm -f conftest.$ac_objext conftest$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278   (eval $ac_link) 2>conftest.er1
43279   ac_status=$?
43280   grep -v '^ *+' conftest.er1 >conftest.err
43281   rm -f conftest.er1
43282   cat conftest.err >&5
43283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284   (exit $ac_status); } &&
43285          { ac_try='test -z "$ac_c_werror_flag"
43286                          || test ! -s conftest.err'
43287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288   (eval $ac_try) 2>&5
43289   ac_status=$?
43290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291   (exit $ac_status); }; } &&
43292          { ac_try='test -s conftest$ac_exeext'
43293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294   (eval $ac_try) 2>&5
43295   ac_status=$?
43296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297   (exit $ac_status); }; }; then
43298   am_cv_lib_iconv=yes
43299         am_cv_func_iconv=yes
43300 else
43301   echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43303
43304 fi
43305 rm -f conftest.err conftest.$ac_objext \
43306       conftest$ac_exeext conftest.$ac_ext
43307       LIBS="$am_save_LIBS"
43308     fi
43309
43310 fi
43311 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
43312 echo "${ECHO_T}$am_cv_func_iconv" >&6
43313   if test "$am_cv_func_iconv" = yes; then
43314
43315 cat >>confdefs.h <<\_ACEOF
43316 #define HAVE_ICONV 1
43317 _ACEOF
43318
43319   fi
43320   if test "$am_cv_lib_iconv" = yes; then
43321     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
43322 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
43323     echo "$as_me:$LINENO: result: $LIBICONV" >&5
43324 echo "${ECHO_T}$LIBICONV" >&6
43325   else
43326             CPPFLAGS="$am_save_CPPFLAGS"
43327     LIBICONV=
43328     LTLIBICONV=
43329   fi
43330
43331
43332
43333   if test "$am_cv_func_iconv" = yes; then
43334     echo "$as_me:$LINENO: checking for iconv declaration" >&5
43335 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
43336     if test "${am_cv_proto_iconv+set}" = set; then
43337   echo $ECHO_N "(cached) $ECHO_C" >&6
43338 else
43339
43340       cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h.  */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h.  */
43346
43347 #include <stdlib.h>
43348 #include <iconv.h>
43349 extern
43350 #ifdef __cplusplus
43351 "C"
43352 #endif
43353 #if defined(__STDC__) || defined(__cplusplus)
43354 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43355 #else
43356 size_t iconv();
43357 #endif
43358
43359 int
43360 main ()
43361 {
43362
43363   ;
43364   return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369   (eval $ac_compile) 2>conftest.er1
43370   ac_status=$?
43371   grep -v '^ *+' conftest.er1 >conftest.err
43372   rm -f conftest.er1
43373   cat conftest.err >&5
43374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375   (exit $ac_status); } &&
43376          { ac_try='test -z "$ac_c_werror_flag"
43377                          || test ! -s conftest.err'
43378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379   (eval $ac_try) 2>&5
43380   ac_status=$?
43381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382   (exit $ac_status); }; } &&
43383          { ac_try='test -s conftest.$ac_objext'
43384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385   (eval $ac_try) 2>&5
43386   ac_status=$?
43387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388   (exit $ac_status); }; }; then
43389   am_cv_proto_iconv_arg1=""
43390 else
43391   echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43393
43394 am_cv_proto_iconv_arg1="const"
43395 fi
43396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397       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);"
43398 fi
43399
43400     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43401     echo "$as_me:$LINENO: result: ${ac_t:-
43402          }$am_cv_proto_iconv" >&5
43403 echo "${ECHO_T}${ac_t:-
43404          }$am_cv_proto_iconv" >&6
43405
43406 cat >>confdefs.h <<_ACEOF
43407 #define ICONV_CONST $am_cv_proto_iconv_arg1
43408 _ACEOF
43409
43410   fi
43411
43412
43413 else
43414
43415   # This lets us hard-code the functionality we know we'll have in the cross
43416   # target environment.  "Let" is a sugar-coated word placed on an especially
43417   # dull and tedious hack, actually.
43418   #
43419   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
43420   # that involve linking, can't be used:
43421   #    "cannot open sim-crt0.o"
43422   #    "cannot open crt0.o"
43423   # etc.  All this is because there currently exists no unified, consistent
43424   # way for top level CC information to be passed down to target directories:
43425   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
43426   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
43427   # crosses can be removed.
43428
43429   # If Canadian cross, then don't pick up tools from the build directory.
43430   # Used only in GLIBCXX_EXPORT_INCLUDES.
43431   if test -n "$with_cross_host" &&
43432      test x"$build_alias" != x"$with_cross_host" &&
43433      test x"$build" != x"$target";
43434   then
43435     CANADIAN=yes
43436   else
43437     CANADIAN=no
43438   fi
43439
43440   # Construct crosses by hand, eliminating bits that need ld...
43441   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
43442   # GLIBCXX_CHECK_MATH_SUPPORT
43443
43444   # First, test for "known" system libraries.  We may be using newlib even
43445   # on a hosted environment.
43446   if test "x${with_newlib}" = "xyes"; then
43447     os_include_dir="os/newlib"
43448     cat >>confdefs.h <<\_ACEOF
43449 #define HAVE_HYPOT 1
43450 _ACEOF
43451
43452
43453     # GLIBCXX_CHECK_STDLIB_SUPPORT
43454     cat >>confdefs.h <<\_ACEOF
43455 #define HAVE_STRTOF 1
43456 _ACEOF
43457
43458     # AC_FUNC_MMAP
43459     cat >>confdefs.h <<\_ACEOF
43460 #define HAVE_MMAP 1
43461 _ACEOF
43462
43463
43464     cat >>confdefs.h <<\_ACEOF
43465 #define HAVE_ACOSF 1
43466 _ACEOF
43467
43468     cat >>confdefs.h <<\_ACEOF
43469 #define HAVE_ASINF 1
43470 _ACEOF
43471
43472     cat >>confdefs.h <<\_ACEOF
43473 #define HAVE_ATAN2F 1
43474 _ACEOF
43475
43476     cat >>confdefs.h <<\_ACEOF
43477 #define HAVE_ATANF 1
43478 _ACEOF
43479
43480     cat >>confdefs.h <<\_ACEOF
43481 #define HAVE_CEILF 1
43482 _ACEOF
43483
43484     cat >>confdefs.h <<\_ACEOF
43485 #define HAVE_COPYSIGN 1
43486 _ACEOF
43487
43488     cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_COPYSIGNF 1
43490 _ACEOF
43491
43492     cat >>confdefs.h <<\_ACEOF
43493 #define HAVE_COSF 1
43494 _ACEOF
43495
43496     cat >>confdefs.h <<\_ACEOF
43497 #define HAVE_COSHF 1
43498 _ACEOF
43499
43500     cat >>confdefs.h <<\_ACEOF
43501 #define HAVE_EXPF 1
43502 _ACEOF
43503
43504     cat >>confdefs.h <<\_ACEOF
43505 #define HAVE_FABSF 1
43506 _ACEOF
43507
43508     cat >>confdefs.h <<\_ACEOF
43509 #define HAVE_FLOORF 1
43510 _ACEOF
43511
43512     cat >>confdefs.h <<\_ACEOF
43513 #define HAVE_FMODF 1
43514 _ACEOF
43515
43516     cat >>confdefs.h <<\_ACEOF
43517 #define HAVE_FREXPF 1
43518 _ACEOF
43519
43520     cat >>confdefs.h <<\_ACEOF
43521 #define HAVE_LDEXPF 1
43522 _ACEOF
43523
43524     cat >>confdefs.h <<\_ACEOF
43525 #define HAVE_LOG10F 1
43526 _ACEOF
43527
43528     cat >>confdefs.h <<\_ACEOF
43529 #define HAVE_LOGF 1
43530 _ACEOF
43531
43532     cat >>confdefs.h <<\_ACEOF
43533 #define HAVE_MODFF 1
43534 _ACEOF
43535
43536     cat >>confdefs.h <<\_ACEOF
43537 #define HAVE_POWF 1
43538 _ACEOF
43539
43540     cat >>confdefs.h <<\_ACEOF
43541 #define HAVE_SINF 1
43542 _ACEOF
43543
43544     cat >>confdefs.h <<\_ACEOF
43545 #define HAVE_SINHF 1
43546 _ACEOF
43547
43548     cat >>confdefs.h <<\_ACEOF
43549 #define HAVE_SQRTF 1
43550 _ACEOF
43551
43552     cat >>confdefs.h <<\_ACEOF
43553 #define HAVE_TANF 1
43554 _ACEOF
43555
43556     cat >>confdefs.h <<\_ACEOF
43557 #define HAVE_TANHF 1
43558 _ACEOF
43559
43560
43561     cat >>confdefs.h <<\_ACEOF
43562 #define HAVE_S_ISREG 1
43563 _ACEOF
43564
43565     cat >>confdefs.h <<\_ACEOF
43566 #define HAVE_S_IFREG 1
43567 _ACEOF
43568
43569
43570     cat >>confdefs.h <<\_ACEOF
43571 #define HAVE_ICONV 1
43572 _ACEOF
43573
43574   else
43575
43576 # Base decisions on target environment.
43577 case "${host}" in
43578   arm*-*-symbianelf*)
43579     # This is a freestanding configuration; there is nothing to do here.
43580     ;;
43581
43582   mips*-sde-elf*)
43583     # These definitions are for the SDE C library rather than newlib.
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599 for ac_header in float.h inttypes.h locale.h \
43600       stdint.h stdlib.h string.h unistd.h wchar.h \
43601       machine/endian.h sys/ioctl.h sys/resource.h \
43602       sys/stat.h sys/time.h sys/types.h sys/uio.h
43603 do
43604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43606   echo "$as_me:$LINENO: checking for $ac_header" >&5
43607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43609   echo $ECHO_N "(cached) $ECHO_C" >&6
43610 fi
43611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43613 else
43614   # Is the header compilable?
43615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43617 cat >conftest.$ac_ext <<_ACEOF
43618 /* confdefs.h.  */
43619 _ACEOF
43620 cat confdefs.h >>conftest.$ac_ext
43621 cat >>conftest.$ac_ext <<_ACEOF
43622 /* end confdefs.h.  */
43623 $ac_includes_default
43624 #include <$ac_header>
43625 _ACEOF
43626 rm -f conftest.$ac_objext
43627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43628   (eval $ac_compile) 2>conftest.er1
43629   ac_status=$?
43630   grep -v '^ *+' conftest.er1 >conftest.err
43631   rm -f conftest.er1
43632   cat conftest.err >&5
43633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634   (exit $ac_status); } &&
43635          { ac_try='test -z "$ac_c_werror_flag"
43636                          || test ! -s conftest.err'
43637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43638   (eval $ac_try) 2>&5
43639   ac_status=$?
43640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641   (exit $ac_status); }; } &&
43642          { ac_try='test -s conftest.$ac_objext'
43643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43644   (eval $ac_try) 2>&5
43645   ac_status=$?
43646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43647   (exit $ac_status); }; }; then
43648   ac_header_compiler=yes
43649 else
43650   echo "$as_me: failed program was:" >&5
43651 sed 's/^/| /' conftest.$ac_ext >&5
43652
43653 ac_header_compiler=no
43654 fi
43655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43657 echo "${ECHO_T}$ac_header_compiler" >&6
43658
43659 # Is the header present?
43660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43662 cat >conftest.$ac_ext <<_ACEOF
43663 /* confdefs.h.  */
43664 _ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h.  */
43668 #include <$ac_header>
43669 _ACEOF
43670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43671   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43672   ac_status=$?
43673   grep -v '^ *+' conftest.er1 >conftest.err
43674   rm -f conftest.er1
43675   cat conftest.err >&5
43676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677   (exit $ac_status); } >/dev/null; then
43678   if test -s conftest.err; then
43679     ac_cpp_err=$ac_c_preproc_warn_flag
43680     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43681   else
43682     ac_cpp_err=
43683   fi
43684 else
43685   ac_cpp_err=yes
43686 fi
43687 if test -z "$ac_cpp_err"; then
43688   ac_header_preproc=yes
43689 else
43690   echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43692
43693   ac_header_preproc=no
43694 fi
43695 rm -f conftest.err conftest.$ac_ext
43696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43697 echo "${ECHO_T}$ac_header_preproc" >&6
43698
43699 # So?  What about this header?
43700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43701   yes:no: )
43702     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43704     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43706     ac_header_preproc=yes
43707     ;;
43708   no:yes:* )
43709     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43711     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
43712 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
43713     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43715     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
43716 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
43717     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43719     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43721     (
43722       cat <<\_ASBOX
43723 ## ----------------------------------------- ##
43724 ## Report this to the package-unused lists.  ##
43725 ## ----------------------------------------- ##
43726 _ASBOX
43727     ) |
43728       sed "s/^/$as_me: WARNING:     /" >&2
43729     ;;
43730 esac
43731 echo "$as_me:$LINENO: checking for $ac_header" >&5
43732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43734   echo $ECHO_N "(cached) $ECHO_C" >&6
43735 else
43736   eval "$as_ac_Header=\$ac_header_preproc"
43737 fi
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43740
43741 fi
43742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43743   cat >>confdefs.h <<_ACEOF
43744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43745 _ACEOF
43746
43747 fi
43748
43749 done
43750
43751     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43752
43753
43754   # All these tests are for C++; save the language and the compiler flags.
43755   # The CXXFLAGS thing is suspicious, but based on similar bits previously
43756   # found in GLIBCXX_CONFIGURE.
43757
43758
43759   ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43766   ac_save_CXXFLAGS="$CXXFLAGS"
43767
43768   # Check for maintainer-mode bits.
43769   if test x"$USE_MAINTAINER_MODE" = xno; then
43770     WERROR=''
43771   else
43772     WERROR='-Werror'
43773   fi
43774
43775   # Check for -ffunction-sections -fdata-sections
43776   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43777 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43778   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43779   cat >conftest.$ac_ext <<_ACEOF
43780 /* confdefs.h.  */
43781 _ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h.  */
43785 int foo; void bar() { };
43786 int
43787 main ()
43788 {
43789
43790   ;
43791   return 0;
43792 }
43793 _ACEOF
43794 rm -f conftest.$ac_objext
43795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43796   (eval $ac_compile) 2>conftest.er1
43797   ac_status=$?
43798   grep -v '^ *+' conftest.er1 >conftest.err
43799   rm -f conftest.er1
43800   cat conftest.err >&5
43801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802   (exit $ac_status); } &&
43803          { ac_try='test -z "$ac_cxx_werror_flag"
43804                          || test ! -s conftest.err'
43805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806   (eval $ac_try) 2>&5
43807   ac_status=$?
43808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809   (exit $ac_status); }; } &&
43810          { ac_try='test -s conftest.$ac_objext'
43811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43812   (eval $ac_try) 2>&5
43813   ac_status=$?
43814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815   (exit $ac_status); }; }; then
43816   ac_fdsections=yes
43817 else
43818   echo "$as_me: failed program was:" >&5
43819 sed 's/^/| /' conftest.$ac_ext >&5
43820
43821 ac_fdsections=no
43822 fi
43823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43824   if test "$ac_test_CXXFLAGS" = set; then
43825     CXXFLAGS="$ac_save_CXXFLAGS"
43826   else
43827     # this is the suspicious part
43828     CXXFLAGS=''
43829   fi
43830   if test x"$ac_fdsections" = x"yes"; then
43831     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43832   fi
43833   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43834 echo "${ECHO_T}$ac_fdsections" >&6
43835
43836   ac_ext=c
43837 ac_cpp='$CPP $CPPFLAGS'
43838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841
43842
43843
43844
43845
43846   # If we're not using GNU ld, then there's no point in even trying these
43847   # tests.  Check for that first.  We should have already tested for gld
43848   # by now (in libtool), but require it now just to be safe...
43849   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43850   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43851
43852
43853
43854   # The name set by libtool depends on the version of libtool.  Shame on us
43855   # for depending on an impl detail, but c'est la vie.  Older versions used
43856   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43857   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43858   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43859   # set (hence we're using an older libtool), then set it.
43860   if test x${with_gnu_ld+set} != xset; then
43861     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43862       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43863       with_gnu_ld=no
43864     else
43865       with_gnu_ld=$ac_cv_prog_gnu_ld
43866     fi
43867   fi
43868
43869   # Start by getting the version number.  I think the libtool test already
43870   # does some of this, but throws away the result.
43871   glibcxx_ld_is_gold=no
43872   if test x"$with_gnu_ld" = x"yes"; then
43873     echo "$as_me:$LINENO: checking for ld version" >&5
43874 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43875
43876     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43877       glibcxx_ld_is_gold=yes
43878     fi
43879     ldver=`$LD --version 2>/dev/null | head -1 | \
43880            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43881
43882     glibcxx_gnu_ld_version=`echo $ldver | \
43883            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43884     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43885 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43886   fi
43887
43888   # Set --gc-sections.
43889   glibcxx_have_gc_sections=no
43890   if test "$glibcxx_ld_is_gold" = "yes"; then
43891     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43892       glibcxx_have_gc_sections=yes
43893     fi
43894   else
43895     glibcxx_gcsections_min_ld=21602
43896     if test x"$with_gnu_ld" = x"yes" &&
43897         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43898       glibcxx_have_gc_sections=yes
43899     fi
43900   fi
43901   if test "$glibcxx_have_gc_sections" = "yes"; then
43902     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43903     # NB: This flag only works reliably after 2.16.1. Configure tests
43904     # for this are difficult, so hard wire a value that should work.
43905
43906     ac_test_CFLAGS="${CFLAGS+set}"
43907     ac_save_CFLAGS="$CFLAGS"
43908     CFLAGS='-Wl,--gc-sections'
43909
43910     # Check for -Wl,--gc-sections
43911     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43912 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43913     if test x$gcc_no_link = xyes; then
43914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43916    { (exit 1); exit 1; }; }
43917 fi
43918 cat >conftest.$ac_ext <<_ACEOF
43919 /* confdefs.h.  */
43920 _ACEOF
43921 cat confdefs.h >>conftest.$ac_ext
43922 cat >>conftest.$ac_ext <<_ACEOF
43923 /* end confdefs.h.  */
43924  int one(void) { return 1; }
43925      int two(void) { return 2; }
43926
43927 int
43928 main ()
43929 {
43930  two();
43931   ;
43932   return 0;
43933 }
43934 _ACEOF
43935 rm -f conftest.$ac_objext conftest$ac_exeext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43937   (eval $ac_link) 2>conftest.er1
43938   ac_status=$?
43939   grep -v '^ *+' conftest.er1 >conftest.err
43940   rm -f conftest.er1
43941   cat conftest.err >&5
43942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943   (exit $ac_status); } &&
43944          { ac_try='test -z "$ac_c_werror_flag"
43945                          || test ! -s conftest.err'
43946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947   (eval $ac_try) 2>&5
43948   ac_status=$?
43949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950   (exit $ac_status); }; } &&
43951          { ac_try='test -s conftest$ac_exeext'
43952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953   (eval $ac_try) 2>&5
43954   ac_status=$?
43955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956   (exit $ac_status); }; }; then
43957   ac_gcsections=yes
43958 else
43959   echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43961
43962 ac_gcsections=no
43963 fi
43964 rm -f conftest.err conftest.$ac_objext \
43965       conftest$ac_exeext conftest.$ac_ext
43966     if test "$ac_gcsections" = "yes"; then
43967       rm -f conftest.c
43968       touch conftest.c
43969       if $CC -c conftest.c; then
43970         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43971            grep "Warning: gc-sections option ignored" > /dev/null; then
43972           ac_gcsections=no
43973         fi
43974       fi
43975       rm -f conftest.c conftest.o conftest
43976     fi
43977     if test "$ac_gcsections" = "yes"; then
43978       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43979     fi
43980     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43981 echo "${ECHO_T}$ac_gcsections" >&6
43982
43983     if test "$ac_test_CFLAGS" = set; then
43984       CFLAGS="$ac_save_CFLAGS"
43985     else
43986       # this is the suspicious part
43987       CFLAGS=''
43988     fi
43989   fi
43990
43991   # Set -z,relro.
43992   # Note this is only for shared objects.
43993   ac_ld_relro=no
43994   if test x"$with_gnu_ld" = x"yes"; then
43995     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43996 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43997     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43998     if test -n "$cxx_z_relo"; then
43999       OPT_LDFLAGS="-Wl,-z,relro"
44000       ac_ld_relro=yes
44001     fi
44002     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
44003 echo "${ECHO_T}$ac_ld_relro" >&6
44004   fi
44005
44006   # Set linker optimization flags.
44007   if test x"$with_gnu_ld" = x"yes"; then
44008     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44009   fi
44010
44011
44012
44013
44014
44015   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44016   ac_save_CXXFLAGS="$CXXFLAGS"
44017   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44018
44019     echo "$as_me:$LINENO: checking for sin in -lm" >&5
44020 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
44021 if test "${ac_cv_lib_m_sin+set}" = set; then
44022   echo $ECHO_N "(cached) $ECHO_C" >&6
44023 else
44024   ac_check_lib_save_LIBS=$LIBS
44025 LIBS="-lm  $LIBS"
44026 if test x$gcc_no_link = xyes; then
44027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44029    { (exit 1); exit 1; }; }
44030 fi
44031 cat >conftest.$ac_ext <<_ACEOF
44032 /* confdefs.h.  */
44033 _ACEOF
44034 cat confdefs.h >>conftest.$ac_ext
44035 cat >>conftest.$ac_ext <<_ACEOF
44036 /* end confdefs.h.  */
44037
44038 /* Override any gcc2 internal prototype to avoid an error.  */
44039 #ifdef __cplusplus
44040 extern "C"
44041 #endif
44042 /* We use char because int might match the return type of a gcc2
44043    builtin and then its argument prototype would still apply.  */
44044 char sin ();
44045 int
44046 main ()
44047 {
44048 sin ();
44049   ;
44050   return 0;
44051 }
44052 _ACEOF
44053 rm -f conftest.$ac_objext conftest$ac_exeext
44054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44055   (eval $ac_link) 2>conftest.er1
44056   ac_status=$?
44057   grep -v '^ *+' conftest.er1 >conftest.err
44058   rm -f conftest.er1
44059   cat conftest.err >&5
44060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061   (exit $ac_status); } &&
44062          { ac_try='test -z "$ac_c_werror_flag"
44063                          || test ! -s conftest.err'
44064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44065   (eval $ac_try) 2>&5
44066   ac_status=$?
44067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068   (exit $ac_status); }; } &&
44069          { ac_try='test -s conftest$ac_exeext'
44070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44071   (eval $ac_try) 2>&5
44072   ac_status=$?
44073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074   (exit $ac_status); }; }; then
44075   ac_cv_lib_m_sin=yes
44076 else
44077   echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.$ac_ext >&5
44079
44080 ac_cv_lib_m_sin=no
44081 fi
44082 rm -f conftest.err conftest.$ac_objext \
44083       conftest$ac_exeext conftest.$ac_ext
44084 LIBS=$ac_check_lib_save_LIBS
44085 fi
44086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
44087 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
44088 if test $ac_cv_lib_m_sin = yes; then
44089   libm="-lm"
44090 fi
44091
44092   ac_save_LIBS="$LIBS"
44093   LIBS="$LIBS $libm"
44094
44095
44096
44097   echo "$as_me:$LINENO: checking for isinf declaration" >&5
44098 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
44099   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44100     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
44101   echo $ECHO_N "(cached) $ECHO_C" >&6
44102 else
44103
44104
44105
44106       ac_ext=cc
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44111
44112       cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h.  */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h.  */
44118 #include <math.h>
44119                       #ifdef HAVE_IEEEFP_H
44120                       #include <ieeefp.h>
44121                       #endif
44122
44123 int
44124 main ()
44125 {
44126  isinf(0);
44127   ;
44128   return 0;
44129 }
44130 _ACEOF
44131 rm -f conftest.$ac_objext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44133   (eval $ac_compile) 2>conftest.er1
44134   ac_status=$?
44135   grep -v '^ *+' conftest.er1 >conftest.err
44136   rm -f conftest.er1
44137   cat conftest.err >&5
44138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139   (exit $ac_status); } &&
44140          { ac_try='test -z "$ac_cxx_werror_flag"
44141                          || test ! -s conftest.err'
44142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143   (eval $ac_try) 2>&5
44144   ac_status=$?
44145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146   (exit $ac_status); }; } &&
44147          { ac_try='test -s conftest.$ac_objext'
44148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149   (eval $ac_try) 2>&5
44150   ac_status=$?
44151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152   (exit $ac_status); }; }; then
44153   glibcxx_cv_func_isinf_use=yes
44154 else
44155   echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44157
44158 glibcxx_cv_func_isinf_use=no
44159 fi
44160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44161       ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166
44167
44168 fi
44169
44170   fi
44171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
44172 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
44173
44174   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44175
44176 for ac_func in isinf
44177 do
44178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44179 echo "$as_me:$LINENO: checking for $ac_func" >&5
44180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44181 if eval "test \"\${$as_ac_var+set}\" = set"; then
44182   echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44184   if test x$gcc_no_link = xyes; then
44185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44187    { (exit 1); exit 1; }; }
44188 fi
44189 cat >conftest.$ac_ext <<_ACEOF
44190 /* confdefs.h.  */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h.  */
44195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44197 #define $ac_func innocuous_$ac_func
44198
44199 /* System header to define __stub macros and hopefully few prototypes,
44200     which can conflict with char $ac_func (); below.
44201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44202     <limits.h> exists even on freestanding compilers.  */
44203
44204 #ifdef __STDC__
44205 # include <limits.h>
44206 #else
44207 # include <assert.h>
44208 #endif
44209
44210 #undef $ac_func
44211
44212 /* Override any gcc2 internal prototype to avoid an error.  */
44213 #ifdef __cplusplus
44214 extern "C"
44215 {
44216 #endif
44217 /* We use char because int might match the return type of a gcc2
44218    builtin and then its argument prototype would still apply.  */
44219 char $ac_func ();
44220 /* The GNU C library defines this for functions which it implements
44221     to always fail with ENOSYS.  Some functions are actually named
44222     something starting with __ and the normal name is an alias.  */
44223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44224 choke me
44225 #else
44226 char (*f) () = $ac_func;
44227 #endif
44228 #ifdef __cplusplus
44229 }
44230 #endif
44231
44232 int
44233 main ()
44234 {
44235 return f != $ac_func;
44236   ;
44237   return 0;
44238 }
44239 _ACEOF
44240 rm -f conftest.$ac_objext conftest$ac_exeext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44242   (eval $ac_link) 2>conftest.er1
44243   ac_status=$?
44244   grep -v '^ *+' conftest.er1 >conftest.err
44245   rm -f conftest.er1
44246   cat conftest.err >&5
44247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248   (exit $ac_status); } &&
44249          { ac_try='test -z "$ac_c_werror_flag"
44250                          || test ! -s conftest.err'
44251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252   (eval $ac_try) 2>&5
44253   ac_status=$?
44254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255   (exit $ac_status); }; } &&
44256          { ac_try='test -s conftest$ac_exeext'
44257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258   (eval $ac_try) 2>&5
44259   ac_status=$?
44260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261   (exit $ac_status); }; }; then
44262   eval "$as_ac_var=yes"
44263 else
44264   echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44266
44267 eval "$as_ac_var=no"
44268 fi
44269 rm -f conftest.err conftest.$ac_objext \
44270       conftest$ac_exeext conftest.$ac_ext
44271 fi
44272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44274 if test `eval echo '${'$as_ac_var'}'` = yes; then
44275   cat >>confdefs.h <<_ACEOF
44276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44277 _ACEOF
44278
44279 fi
44280 done
44281
44282   else
44283
44284   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
44285 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
44286   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44287     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
44288   echo $ECHO_N "(cached) $ECHO_C" >&6
44289 else
44290
44291
44292
44293       ac_ext=cc
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298
44299       cat >conftest.$ac_ext <<_ACEOF
44300 /* confdefs.h.  */
44301 _ACEOF
44302 cat confdefs.h >>conftest.$ac_ext
44303 cat >>conftest.$ac_ext <<_ACEOF
44304 /* end confdefs.h.  */
44305 #include <math.h>
44306                       #ifdef HAVE_IEEEFP_H
44307                       #include <ieeefp.h>
44308                       #endif
44309
44310 int
44311 main ()
44312 {
44313  _isinf(0);
44314   ;
44315   return 0;
44316 }
44317 _ACEOF
44318 rm -f conftest.$ac_objext
44319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44320   (eval $ac_compile) 2>conftest.er1
44321   ac_status=$?
44322   grep -v '^ *+' conftest.er1 >conftest.err
44323   rm -f conftest.er1
44324   cat conftest.err >&5
44325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326   (exit $ac_status); } &&
44327          { ac_try='test -z "$ac_cxx_werror_flag"
44328                          || test ! -s conftest.err'
44329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44330   (eval $ac_try) 2>&5
44331   ac_status=$?
44332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333   (exit $ac_status); }; } &&
44334          { ac_try='test -s conftest.$ac_objext'
44335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44336   (eval $ac_try) 2>&5
44337   ac_status=$?
44338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44339   (exit $ac_status); }; }; then
44340   glibcxx_cv_func__isinf_use=yes
44341 else
44342   echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44344
44345 glibcxx_cv_func__isinf_use=no
44346 fi
44347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44348       ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353
44354
44355 fi
44356
44357   fi
44358   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
44359 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
44360
44361     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44362
44363 for ac_func in _isinf
44364 do
44365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44366 echo "$as_me:$LINENO: checking for $ac_func" >&5
44367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44368 if eval "test \"\${$as_ac_var+set}\" = set"; then
44369   echo $ECHO_N "(cached) $ECHO_C" >&6
44370 else
44371   if test x$gcc_no_link = xyes; then
44372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44374    { (exit 1); exit 1; }; }
44375 fi
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h.  */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h.  */
44382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44384 #define $ac_func innocuous_$ac_func
44385
44386 /* System header to define __stub macros and hopefully few prototypes,
44387     which can conflict with char $ac_func (); below.
44388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44389     <limits.h> exists even on freestanding compilers.  */
44390
44391 #ifdef __STDC__
44392 # include <limits.h>
44393 #else
44394 # include <assert.h>
44395 #endif
44396
44397 #undef $ac_func
44398
44399 /* Override any gcc2 internal prototype to avoid an error.  */
44400 #ifdef __cplusplus
44401 extern "C"
44402 {
44403 #endif
44404 /* We use char because int might match the return type of a gcc2
44405    builtin and then its argument prototype would still apply.  */
44406 char $ac_func ();
44407 /* The GNU C library defines this for functions which it implements
44408     to always fail with ENOSYS.  Some functions are actually named
44409     something starting with __ and the normal name is an alias.  */
44410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44411 choke me
44412 #else
44413 char (*f) () = $ac_func;
44414 #endif
44415 #ifdef __cplusplus
44416 }
44417 #endif
44418
44419 int
44420 main ()
44421 {
44422 return f != $ac_func;
44423   ;
44424   return 0;
44425 }
44426 _ACEOF
44427 rm -f conftest.$ac_objext conftest$ac_exeext
44428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44429   (eval $ac_link) 2>conftest.er1
44430   ac_status=$?
44431   grep -v '^ *+' conftest.er1 >conftest.err
44432   rm -f conftest.er1
44433   cat conftest.err >&5
44434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435   (exit $ac_status); } &&
44436          { ac_try='test -z "$ac_c_werror_flag"
44437                          || test ! -s conftest.err'
44438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44439   (eval $ac_try) 2>&5
44440   ac_status=$?
44441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442   (exit $ac_status); }; } &&
44443          { ac_try='test -s conftest$ac_exeext'
44444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44445   (eval $ac_try) 2>&5
44446   ac_status=$?
44447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448   (exit $ac_status); }; }; then
44449   eval "$as_ac_var=yes"
44450 else
44451   echo "$as_me: failed program was:" >&5
44452 sed 's/^/| /' conftest.$ac_ext >&5
44453
44454 eval "$as_ac_var=no"
44455 fi
44456 rm -f conftest.err conftest.$ac_objext \
44457       conftest$ac_exeext conftest.$ac_ext
44458 fi
44459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44461 if test `eval echo '${'$as_ac_var'}'` = yes; then
44462   cat >>confdefs.h <<_ACEOF
44463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44464 _ACEOF
44465
44466 fi
44467 done
44468
44469     fi
44470   fi
44471
44472
44473
44474
44475
44476
44477   echo "$as_me:$LINENO: checking for isnan declaration" >&5
44478 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
44479   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44480     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
44481   echo $ECHO_N "(cached) $ECHO_C" >&6
44482 else
44483
44484
44485
44486       ac_ext=cc
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44491
44492       cat >conftest.$ac_ext <<_ACEOF
44493 /* confdefs.h.  */
44494 _ACEOF
44495 cat confdefs.h >>conftest.$ac_ext
44496 cat >>conftest.$ac_ext <<_ACEOF
44497 /* end confdefs.h.  */
44498 #include <math.h>
44499                       #ifdef HAVE_IEEEFP_H
44500                       #include <ieeefp.h>
44501                       #endif
44502
44503 int
44504 main ()
44505 {
44506  isnan(0);
44507   ;
44508   return 0;
44509 }
44510 _ACEOF
44511 rm -f conftest.$ac_objext
44512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44513   (eval $ac_compile) 2>conftest.er1
44514   ac_status=$?
44515   grep -v '^ *+' conftest.er1 >conftest.err
44516   rm -f conftest.er1
44517   cat conftest.err >&5
44518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519   (exit $ac_status); } &&
44520          { ac_try='test -z "$ac_cxx_werror_flag"
44521                          || test ! -s conftest.err'
44522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44523   (eval $ac_try) 2>&5
44524   ac_status=$?
44525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44526   (exit $ac_status); }; } &&
44527          { ac_try='test -s conftest.$ac_objext'
44528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529   (eval $ac_try) 2>&5
44530   ac_status=$?
44531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532   (exit $ac_status); }; }; then
44533   glibcxx_cv_func_isnan_use=yes
44534 else
44535   echo "$as_me: failed program was:" >&5
44536 sed 's/^/| /' conftest.$ac_ext >&5
44537
44538 glibcxx_cv_func_isnan_use=no
44539 fi
44540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44541       ac_ext=c
44542 ac_cpp='$CPP $CPPFLAGS'
44543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44546
44547
44548 fi
44549
44550   fi
44551   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44552 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44553
44554   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44555
44556 for ac_func in isnan
44557 do
44558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44559 echo "$as_me:$LINENO: checking for $ac_func" >&5
44560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44561 if eval "test \"\${$as_ac_var+set}\" = set"; then
44562   echo $ECHO_N "(cached) $ECHO_C" >&6
44563 else
44564   if test x$gcc_no_link = xyes; then
44565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44567    { (exit 1); exit 1; }; }
44568 fi
44569 cat >conftest.$ac_ext <<_ACEOF
44570 /* confdefs.h.  */
44571 _ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h.  */
44575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44577 #define $ac_func innocuous_$ac_func
44578
44579 /* System header to define __stub macros and hopefully few prototypes,
44580     which can conflict with char $ac_func (); below.
44581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44582     <limits.h> exists even on freestanding compilers.  */
44583
44584 #ifdef __STDC__
44585 # include <limits.h>
44586 #else
44587 # include <assert.h>
44588 #endif
44589
44590 #undef $ac_func
44591
44592 /* Override any gcc2 internal prototype to avoid an error.  */
44593 #ifdef __cplusplus
44594 extern "C"
44595 {
44596 #endif
44597 /* We use char because int might match the return type of a gcc2
44598    builtin and then its argument prototype would still apply.  */
44599 char $ac_func ();
44600 /* The GNU C library defines this for functions which it implements
44601     to always fail with ENOSYS.  Some functions are actually named
44602     something starting with __ and the normal name is an alias.  */
44603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44604 choke me
44605 #else
44606 char (*f) () = $ac_func;
44607 #endif
44608 #ifdef __cplusplus
44609 }
44610 #endif
44611
44612 int
44613 main ()
44614 {
44615 return f != $ac_func;
44616   ;
44617   return 0;
44618 }
44619 _ACEOF
44620 rm -f conftest.$ac_objext conftest$ac_exeext
44621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44622   (eval $ac_link) 2>conftest.er1
44623   ac_status=$?
44624   grep -v '^ *+' conftest.er1 >conftest.err
44625   rm -f conftest.er1
44626   cat conftest.err >&5
44627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44628   (exit $ac_status); } &&
44629          { ac_try='test -z "$ac_c_werror_flag"
44630                          || test ! -s conftest.err'
44631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44632   (eval $ac_try) 2>&5
44633   ac_status=$?
44634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44635   (exit $ac_status); }; } &&
44636          { ac_try='test -s conftest$ac_exeext'
44637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44638   (eval $ac_try) 2>&5
44639   ac_status=$?
44640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641   (exit $ac_status); }; }; then
44642   eval "$as_ac_var=yes"
44643 else
44644   echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.$ac_ext >&5
44646
44647 eval "$as_ac_var=no"
44648 fi
44649 rm -f conftest.err conftest.$ac_objext \
44650       conftest$ac_exeext conftest.$ac_ext
44651 fi
44652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44654 if test `eval echo '${'$as_ac_var'}'` = yes; then
44655   cat >>confdefs.h <<_ACEOF
44656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44657 _ACEOF
44658
44659 fi
44660 done
44661
44662   else
44663
44664   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44665 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44666   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44667     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44668   echo $ECHO_N "(cached) $ECHO_C" >&6
44669 else
44670
44671
44672
44673       ac_ext=cc
44674 ac_cpp='$CXXCPP $CPPFLAGS'
44675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44678
44679       cat >conftest.$ac_ext <<_ACEOF
44680 /* confdefs.h.  */
44681 _ACEOF
44682 cat confdefs.h >>conftest.$ac_ext
44683 cat >>conftest.$ac_ext <<_ACEOF
44684 /* end confdefs.h.  */
44685 #include <math.h>
44686                       #ifdef HAVE_IEEEFP_H
44687                       #include <ieeefp.h>
44688                       #endif
44689
44690 int
44691 main ()
44692 {
44693  _isnan(0);
44694   ;
44695   return 0;
44696 }
44697 _ACEOF
44698 rm -f conftest.$ac_objext
44699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44700   (eval $ac_compile) 2>conftest.er1
44701   ac_status=$?
44702   grep -v '^ *+' conftest.er1 >conftest.err
44703   rm -f conftest.er1
44704   cat conftest.err >&5
44705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706   (exit $ac_status); } &&
44707          { ac_try='test -z "$ac_cxx_werror_flag"
44708                          || test ! -s conftest.err'
44709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44710   (eval $ac_try) 2>&5
44711   ac_status=$?
44712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44713   (exit $ac_status); }; } &&
44714          { ac_try='test -s conftest.$ac_objext'
44715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44716   (eval $ac_try) 2>&5
44717   ac_status=$?
44718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719   (exit $ac_status); }; }; then
44720   glibcxx_cv_func__isnan_use=yes
44721 else
44722   echo "$as_me: failed program was:" >&5
44723 sed 's/^/| /' conftest.$ac_ext >&5
44724
44725 glibcxx_cv_func__isnan_use=no
44726 fi
44727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44728       ac_ext=c
44729 ac_cpp='$CPP $CPPFLAGS'
44730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44733
44734
44735 fi
44736
44737   fi
44738   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44739 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44740
44741     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44742
44743 for ac_func in _isnan
44744 do
44745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44746 echo "$as_me:$LINENO: checking for $ac_func" >&5
44747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44748 if eval "test \"\${$as_ac_var+set}\" = set"; then
44749   echo $ECHO_N "(cached) $ECHO_C" >&6
44750 else
44751   if test x$gcc_no_link = xyes; then
44752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44754    { (exit 1); exit 1; }; }
44755 fi
44756 cat >conftest.$ac_ext <<_ACEOF
44757 /* confdefs.h.  */
44758 _ACEOF
44759 cat confdefs.h >>conftest.$ac_ext
44760 cat >>conftest.$ac_ext <<_ACEOF
44761 /* end confdefs.h.  */
44762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44764 #define $ac_func innocuous_$ac_func
44765
44766 /* System header to define __stub macros and hopefully few prototypes,
44767     which can conflict with char $ac_func (); below.
44768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44769     <limits.h> exists even on freestanding compilers.  */
44770
44771 #ifdef __STDC__
44772 # include <limits.h>
44773 #else
44774 # include <assert.h>
44775 #endif
44776
44777 #undef $ac_func
44778
44779 /* Override any gcc2 internal prototype to avoid an error.  */
44780 #ifdef __cplusplus
44781 extern "C"
44782 {
44783 #endif
44784 /* We use char because int might match the return type of a gcc2
44785    builtin and then its argument prototype would still apply.  */
44786 char $ac_func ();
44787 /* The GNU C library defines this for functions which it implements
44788     to always fail with ENOSYS.  Some functions are actually named
44789     something starting with __ and the normal name is an alias.  */
44790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44791 choke me
44792 #else
44793 char (*f) () = $ac_func;
44794 #endif
44795 #ifdef __cplusplus
44796 }
44797 #endif
44798
44799 int
44800 main ()
44801 {
44802 return f != $ac_func;
44803   ;
44804   return 0;
44805 }
44806 _ACEOF
44807 rm -f conftest.$ac_objext conftest$ac_exeext
44808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44809   (eval $ac_link) 2>conftest.er1
44810   ac_status=$?
44811   grep -v '^ *+' conftest.er1 >conftest.err
44812   rm -f conftest.er1
44813   cat conftest.err >&5
44814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815   (exit $ac_status); } &&
44816          { ac_try='test -z "$ac_c_werror_flag"
44817                          || test ! -s conftest.err'
44818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44819   (eval $ac_try) 2>&5
44820   ac_status=$?
44821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822   (exit $ac_status); }; } &&
44823          { ac_try='test -s conftest$ac_exeext'
44824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44825   (eval $ac_try) 2>&5
44826   ac_status=$?
44827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828   (exit $ac_status); }; }; then
44829   eval "$as_ac_var=yes"
44830 else
44831   echo "$as_me: failed program was:" >&5
44832 sed 's/^/| /' conftest.$ac_ext >&5
44833
44834 eval "$as_ac_var=no"
44835 fi
44836 rm -f conftest.err conftest.$ac_objext \
44837       conftest$ac_exeext conftest.$ac_ext
44838 fi
44839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44841 if test `eval echo '${'$as_ac_var'}'` = yes; then
44842   cat >>confdefs.h <<_ACEOF
44843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44844 _ACEOF
44845
44846 fi
44847 done
44848
44849     fi
44850   fi
44851
44852
44853
44854
44855
44856
44857   echo "$as_me:$LINENO: checking for finite declaration" >&5
44858 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44859   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44860     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44861   echo $ECHO_N "(cached) $ECHO_C" >&6
44862 else
44863
44864
44865
44866       ac_ext=cc
44867 ac_cpp='$CXXCPP $CPPFLAGS'
44868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44871
44872       cat >conftest.$ac_ext <<_ACEOF
44873 /* confdefs.h.  */
44874 _ACEOF
44875 cat confdefs.h >>conftest.$ac_ext
44876 cat >>conftest.$ac_ext <<_ACEOF
44877 /* end confdefs.h.  */
44878 #include <math.h>
44879                       #ifdef HAVE_IEEEFP_H
44880                       #include <ieeefp.h>
44881                       #endif
44882
44883 int
44884 main ()
44885 {
44886  finite(0);
44887   ;
44888   return 0;
44889 }
44890 _ACEOF
44891 rm -f conftest.$ac_objext
44892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44893   (eval $ac_compile) 2>conftest.er1
44894   ac_status=$?
44895   grep -v '^ *+' conftest.er1 >conftest.err
44896   rm -f conftest.er1
44897   cat conftest.err >&5
44898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899   (exit $ac_status); } &&
44900          { ac_try='test -z "$ac_cxx_werror_flag"
44901                          || test ! -s conftest.err'
44902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44903   (eval $ac_try) 2>&5
44904   ac_status=$?
44905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906   (exit $ac_status); }; } &&
44907          { ac_try='test -s conftest.$ac_objext'
44908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44909   (eval $ac_try) 2>&5
44910   ac_status=$?
44911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912   (exit $ac_status); }; }; then
44913   glibcxx_cv_func_finite_use=yes
44914 else
44915   echo "$as_me: failed program was:" >&5
44916 sed 's/^/| /' conftest.$ac_ext >&5
44917
44918 glibcxx_cv_func_finite_use=no
44919 fi
44920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44921       ac_ext=c
44922 ac_cpp='$CPP $CPPFLAGS'
44923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926
44927
44928 fi
44929
44930   fi
44931   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44932 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44933
44934   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44935
44936 for ac_func in finite
44937 do
44938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44939 echo "$as_me:$LINENO: checking for $ac_func" >&5
44940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44941 if eval "test \"\${$as_ac_var+set}\" = set"; then
44942   echo $ECHO_N "(cached) $ECHO_C" >&6
44943 else
44944   if test x$gcc_no_link = xyes; then
44945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44947    { (exit 1); exit 1; }; }
44948 fi
44949 cat >conftest.$ac_ext <<_ACEOF
44950 /* confdefs.h.  */
44951 _ACEOF
44952 cat confdefs.h >>conftest.$ac_ext
44953 cat >>conftest.$ac_ext <<_ACEOF
44954 /* end confdefs.h.  */
44955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44957 #define $ac_func innocuous_$ac_func
44958
44959 /* System header to define __stub macros and hopefully few prototypes,
44960     which can conflict with char $ac_func (); below.
44961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44962     <limits.h> exists even on freestanding compilers.  */
44963
44964 #ifdef __STDC__
44965 # include <limits.h>
44966 #else
44967 # include <assert.h>
44968 #endif
44969
44970 #undef $ac_func
44971
44972 /* Override any gcc2 internal prototype to avoid an error.  */
44973 #ifdef __cplusplus
44974 extern "C"
44975 {
44976 #endif
44977 /* We use char because int might match the return type of a gcc2
44978    builtin and then its argument prototype would still apply.  */
44979 char $ac_func ();
44980 /* The GNU C library defines this for functions which it implements
44981     to always fail with ENOSYS.  Some functions are actually named
44982     something starting with __ and the normal name is an alias.  */
44983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44984 choke me
44985 #else
44986 char (*f) () = $ac_func;
44987 #endif
44988 #ifdef __cplusplus
44989 }
44990 #endif
44991
44992 int
44993 main ()
44994 {
44995 return f != $ac_func;
44996   ;
44997   return 0;
44998 }
44999 _ACEOF
45000 rm -f conftest.$ac_objext conftest$ac_exeext
45001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45002   (eval $ac_link) 2>conftest.er1
45003   ac_status=$?
45004   grep -v '^ *+' conftest.er1 >conftest.err
45005   rm -f conftest.er1
45006   cat conftest.err >&5
45007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008   (exit $ac_status); } &&
45009          { ac_try='test -z "$ac_c_werror_flag"
45010                          || test ! -s conftest.err'
45011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45012   (eval $ac_try) 2>&5
45013   ac_status=$?
45014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015   (exit $ac_status); }; } &&
45016          { ac_try='test -s conftest$ac_exeext'
45017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45018   (eval $ac_try) 2>&5
45019   ac_status=$?
45020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021   (exit $ac_status); }; }; then
45022   eval "$as_ac_var=yes"
45023 else
45024   echo "$as_me: failed program was:" >&5
45025 sed 's/^/| /' conftest.$ac_ext >&5
45026
45027 eval "$as_ac_var=no"
45028 fi
45029 rm -f conftest.err conftest.$ac_objext \
45030       conftest$ac_exeext conftest.$ac_ext
45031 fi
45032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45034 if test `eval echo '${'$as_ac_var'}'` = yes; then
45035   cat >>confdefs.h <<_ACEOF
45036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45037 _ACEOF
45038
45039 fi
45040 done
45041
45042   else
45043
45044   echo "$as_me:$LINENO: checking for _finite declaration" >&5
45045 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
45046   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45047     if test "${glibcxx_cv_func__finite_use+set}" = set; then
45048   echo $ECHO_N "(cached) $ECHO_C" >&6
45049 else
45050
45051
45052
45053       ac_ext=cc
45054 ac_cpp='$CXXCPP $CPPFLAGS'
45055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45058
45059       cat >conftest.$ac_ext <<_ACEOF
45060 /* confdefs.h.  */
45061 _ACEOF
45062 cat confdefs.h >>conftest.$ac_ext
45063 cat >>conftest.$ac_ext <<_ACEOF
45064 /* end confdefs.h.  */
45065 #include <math.h>
45066                       #ifdef HAVE_IEEEFP_H
45067                       #include <ieeefp.h>
45068                       #endif
45069
45070 int
45071 main ()
45072 {
45073  _finite(0);
45074   ;
45075   return 0;
45076 }
45077 _ACEOF
45078 rm -f conftest.$ac_objext
45079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45080   (eval $ac_compile) 2>conftest.er1
45081   ac_status=$?
45082   grep -v '^ *+' conftest.er1 >conftest.err
45083   rm -f conftest.er1
45084   cat conftest.err >&5
45085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086   (exit $ac_status); } &&
45087          { ac_try='test -z "$ac_cxx_werror_flag"
45088                          || test ! -s conftest.err'
45089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090   (eval $ac_try) 2>&5
45091   ac_status=$?
45092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093   (exit $ac_status); }; } &&
45094          { ac_try='test -s conftest.$ac_objext'
45095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096   (eval $ac_try) 2>&5
45097   ac_status=$?
45098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099   (exit $ac_status); }; }; then
45100   glibcxx_cv_func__finite_use=yes
45101 else
45102   echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45104
45105 glibcxx_cv_func__finite_use=no
45106 fi
45107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45108       ac_ext=c
45109 ac_cpp='$CPP $CPPFLAGS'
45110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45113
45114
45115 fi
45116
45117   fi
45118   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
45119 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
45120
45121     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45122
45123 for ac_func in _finite
45124 do
45125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45126 echo "$as_me:$LINENO: checking for $ac_func" >&5
45127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45128 if eval "test \"\${$as_ac_var+set}\" = set"; then
45129   echo $ECHO_N "(cached) $ECHO_C" >&6
45130 else
45131   if test x$gcc_no_link = xyes; then
45132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45134    { (exit 1); exit 1; }; }
45135 fi
45136 cat >conftest.$ac_ext <<_ACEOF
45137 /* confdefs.h.  */
45138 _ACEOF
45139 cat confdefs.h >>conftest.$ac_ext
45140 cat >>conftest.$ac_ext <<_ACEOF
45141 /* end confdefs.h.  */
45142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45144 #define $ac_func innocuous_$ac_func
45145
45146 /* System header to define __stub macros and hopefully few prototypes,
45147     which can conflict with char $ac_func (); below.
45148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45149     <limits.h> exists even on freestanding compilers.  */
45150
45151 #ifdef __STDC__
45152 # include <limits.h>
45153 #else
45154 # include <assert.h>
45155 #endif
45156
45157 #undef $ac_func
45158
45159 /* Override any gcc2 internal prototype to avoid an error.  */
45160 #ifdef __cplusplus
45161 extern "C"
45162 {
45163 #endif
45164 /* We use char because int might match the return type of a gcc2
45165    builtin and then its argument prototype would still apply.  */
45166 char $ac_func ();
45167 /* The GNU C library defines this for functions which it implements
45168     to always fail with ENOSYS.  Some functions are actually named
45169     something starting with __ and the normal name is an alias.  */
45170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45171 choke me
45172 #else
45173 char (*f) () = $ac_func;
45174 #endif
45175 #ifdef __cplusplus
45176 }
45177 #endif
45178
45179 int
45180 main ()
45181 {
45182 return f != $ac_func;
45183   ;
45184   return 0;
45185 }
45186 _ACEOF
45187 rm -f conftest.$ac_objext conftest$ac_exeext
45188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45189   (eval $ac_link) 2>conftest.er1
45190   ac_status=$?
45191   grep -v '^ *+' conftest.er1 >conftest.err
45192   rm -f conftest.er1
45193   cat conftest.err >&5
45194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195   (exit $ac_status); } &&
45196          { ac_try='test -z "$ac_c_werror_flag"
45197                          || test ! -s conftest.err'
45198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45199   (eval $ac_try) 2>&5
45200   ac_status=$?
45201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202   (exit $ac_status); }; } &&
45203          { ac_try='test -s conftest$ac_exeext'
45204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45205   (eval $ac_try) 2>&5
45206   ac_status=$?
45207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208   (exit $ac_status); }; }; then
45209   eval "$as_ac_var=yes"
45210 else
45211   echo "$as_me: failed program was:" >&5
45212 sed 's/^/| /' conftest.$ac_ext >&5
45213
45214 eval "$as_ac_var=no"
45215 fi
45216 rm -f conftest.err conftest.$ac_objext \
45217       conftest$ac_exeext conftest.$ac_ext
45218 fi
45219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45222   cat >>confdefs.h <<_ACEOF
45223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45224 _ACEOF
45225
45226 fi
45227 done
45228
45229     fi
45230   fi
45231
45232
45233
45234
45235
45236
45237   echo "$as_me:$LINENO: checking for copysign declaration" >&5
45238 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
45239   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
45240     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
45241   echo $ECHO_N "(cached) $ECHO_C" >&6
45242 else
45243
45244
45245
45246       ac_ext=cc
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45251
45252       cat >conftest.$ac_ext <<_ACEOF
45253 /* confdefs.h.  */
45254 _ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h.  */
45258 #include <math.h>
45259 int
45260 main ()
45261 {
45262  copysign(0, 0);
45263   ;
45264   return 0;
45265 }
45266 _ACEOF
45267 rm -f conftest.$ac_objext
45268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45269   (eval $ac_compile) 2>conftest.er1
45270   ac_status=$?
45271   grep -v '^ *+' conftest.er1 >conftest.err
45272   rm -f conftest.er1
45273   cat conftest.err >&5
45274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275   (exit $ac_status); } &&
45276          { ac_try='test -z "$ac_cxx_werror_flag"
45277                          || test ! -s conftest.err'
45278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45279   (eval $ac_try) 2>&5
45280   ac_status=$?
45281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282   (exit $ac_status); }; } &&
45283          { ac_try='test -s conftest.$ac_objext'
45284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45285   (eval $ac_try) 2>&5
45286   ac_status=$?
45287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288   (exit $ac_status); }; }; then
45289   glibcxx_cv_func_copysign_use=yes
45290 else
45291   echo "$as_me: failed program was:" >&5
45292 sed 's/^/| /' conftest.$ac_ext >&5
45293
45294 glibcxx_cv_func_copysign_use=no
45295 fi
45296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45297       ac_ext=c
45298 ac_cpp='$CPP $CPPFLAGS'
45299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45302
45303
45304 fi
45305
45306   fi
45307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
45308 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
45309
45310   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
45311
45312 for ac_func in copysign
45313 do
45314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45315 echo "$as_me:$LINENO: checking for $ac_func" >&5
45316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45317 if eval "test \"\${$as_ac_var+set}\" = set"; then
45318   echo $ECHO_N "(cached) $ECHO_C" >&6
45319 else
45320   if test x$gcc_no_link = xyes; then
45321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45323    { (exit 1); exit 1; }; }
45324 fi
45325 cat >conftest.$ac_ext <<_ACEOF
45326 /* confdefs.h.  */
45327 _ACEOF
45328 cat confdefs.h >>conftest.$ac_ext
45329 cat >>conftest.$ac_ext <<_ACEOF
45330 /* end confdefs.h.  */
45331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45333 #define $ac_func innocuous_$ac_func
45334
45335 /* System header to define __stub macros and hopefully few prototypes,
45336     which can conflict with char $ac_func (); below.
45337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45338     <limits.h> exists even on freestanding compilers.  */
45339
45340 #ifdef __STDC__
45341 # include <limits.h>
45342 #else
45343 # include <assert.h>
45344 #endif
45345
45346 #undef $ac_func
45347
45348 /* Override any gcc2 internal prototype to avoid an error.  */
45349 #ifdef __cplusplus
45350 extern "C"
45351 {
45352 #endif
45353 /* We use char because int might match the return type of a gcc2
45354    builtin and then its argument prototype would still apply.  */
45355 char $ac_func ();
45356 /* The GNU C library defines this for functions which it implements
45357     to always fail with ENOSYS.  Some functions are actually named
45358     something starting with __ and the normal name is an alias.  */
45359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45360 choke me
45361 #else
45362 char (*f) () = $ac_func;
45363 #endif
45364 #ifdef __cplusplus
45365 }
45366 #endif
45367
45368 int
45369 main ()
45370 {
45371 return f != $ac_func;
45372   ;
45373   return 0;
45374 }
45375 _ACEOF
45376 rm -f conftest.$ac_objext conftest$ac_exeext
45377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45378   (eval $ac_link) 2>conftest.er1
45379   ac_status=$?
45380   grep -v '^ *+' conftest.er1 >conftest.err
45381   rm -f conftest.er1
45382   cat conftest.err >&5
45383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384   (exit $ac_status); } &&
45385          { ac_try='test -z "$ac_c_werror_flag"
45386                          || test ! -s conftest.err'
45387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45388   (eval $ac_try) 2>&5
45389   ac_status=$?
45390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45391   (exit $ac_status); }; } &&
45392          { ac_try='test -s conftest$ac_exeext'
45393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45394   (eval $ac_try) 2>&5
45395   ac_status=$?
45396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397   (exit $ac_status); }; }; then
45398   eval "$as_ac_var=yes"
45399 else
45400   echo "$as_me: failed program was:" >&5
45401 sed 's/^/| /' conftest.$ac_ext >&5
45402
45403 eval "$as_ac_var=no"
45404 fi
45405 rm -f conftest.err conftest.$ac_objext \
45406       conftest$ac_exeext conftest.$ac_ext
45407 fi
45408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45410 if test `eval echo '${'$as_ac_var'}'` = yes; then
45411   cat >>confdefs.h <<_ACEOF
45412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45413 _ACEOF
45414
45415 fi
45416 done
45417
45418   else
45419
45420   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
45421 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
45422   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
45423     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
45424   echo $ECHO_N "(cached) $ECHO_C" >&6
45425 else
45426
45427
45428
45429       ac_ext=cc
45430 ac_cpp='$CXXCPP $CPPFLAGS'
45431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45434
45435       cat >conftest.$ac_ext <<_ACEOF
45436 /* confdefs.h.  */
45437 _ACEOF
45438 cat confdefs.h >>conftest.$ac_ext
45439 cat >>conftest.$ac_ext <<_ACEOF
45440 /* end confdefs.h.  */
45441 #include <math.h>
45442 int
45443 main ()
45444 {
45445  _copysign(0, 0);
45446   ;
45447   return 0;
45448 }
45449 _ACEOF
45450 rm -f conftest.$ac_objext
45451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45452   (eval $ac_compile) 2>conftest.er1
45453   ac_status=$?
45454   grep -v '^ *+' conftest.er1 >conftest.err
45455   rm -f conftest.er1
45456   cat conftest.err >&5
45457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458   (exit $ac_status); } &&
45459          { ac_try='test -z "$ac_cxx_werror_flag"
45460                          || test ! -s conftest.err'
45461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45462   (eval $ac_try) 2>&5
45463   ac_status=$?
45464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45465   (exit $ac_status); }; } &&
45466          { ac_try='test -s conftest.$ac_objext'
45467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45468   (eval $ac_try) 2>&5
45469   ac_status=$?
45470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471   (exit $ac_status); }; }; then
45472   glibcxx_cv_func__copysign_use=yes
45473 else
45474   echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45476
45477 glibcxx_cv_func__copysign_use=no
45478 fi
45479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45480       ac_ext=c
45481 ac_cpp='$CPP $CPPFLAGS'
45482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45485
45486
45487 fi
45488
45489   fi
45490   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
45491 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
45492
45493     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
45494
45495 for ac_func in _copysign
45496 do
45497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45498 echo "$as_me:$LINENO: checking for $ac_func" >&5
45499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45500 if eval "test \"\${$as_ac_var+set}\" = set"; then
45501   echo $ECHO_N "(cached) $ECHO_C" >&6
45502 else
45503   if test x$gcc_no_link = xyes; then
45504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45506    { (exit 1); exit 1; }; }
45507 fi
45508 cat >conftest.$ac_ext <<_ACEOF
45509 /* confdefs.h.  */
45510 _ACEOF
45511 cat confdefs.h >>conftest.$ac_ext
45512 cat >>conftest.$ac_ext <<_ACEOF
45513 /* end confdefs.h.  */
45514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45516 #define $ac_func innocuous_$ac_func
45517
45518 /* System header to define __stub macros and hopefully few prototypes,
45519     which can conflict with char $ac_func (); below.
45520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45521     <limits.h> exists even on freestanding compilers.  */
45522
45523 #ifdef __STDC__
45524 # include <limits.h>
45525 #else
45526 # include <assert.h>
45527 #endif
45528
45529 #undef $ac_func
45530
45531 /* Override any gcc2 internal prototype to avoid an error.  */
45532 #ifdef __cplusplus
45533 extern "C"
45534 {
45535 #endif
45536 /* We use char because int might match the return type of a gcc2
45537    builtin and then its argument prototype would still apply.  */
45538 char $ac_func ();
45539 /* The GNU C library defines this for functions which it implements
45540     to always fail with ENOSYS.  Some functions are actually named
45541     something starting with __ and the normal name is an alias.  */
45542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45543 choke me
45544 #else
45545 char (*f) () = $ac_func;
45546 #endif
45547 #ifdef __cplusplus
45548 }
45549 #endif
45550
45551 int
45552 main ()
45553 {
45554 return f != $ac_func;
45555   ;
45556   return 0;
45557 }
45558 _ACEOF
45559 rm -f conftest.$ac_objext conftest$ac_exeext
45560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45561   (eval $ac_link) 2>conftest.er1
45562   ac_status=$?
45563   grep -v '^ *+' conftest.er1 >conftest.err
45564   rm -f conftest.er1
45565   cat conftest.err >&5
45566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567   (exit $ac_status); } &&
45568          { ac_try='test -z "$ac_c_werror_flag"
45569                          || test ! -s conftest.err'
45570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45571   (eval $ac_try) 2>&5
45572   ac_status=$?
45573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574   (exit $ac_status); }; } &&
45575          { ac_try='test -s conftest$ac_exeext'
45576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45577   (eval $ac_try) 2>&5
45578   ac_status=$?
45579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580   (exit $ac_status); }; }; then
45581   eval "$as_ac_var=yes"
45582 else
45583   echo "$as_me: failed program was:" >&5
45584 sed 's/^/| /' conftest.$ac_ext >&5
45585
45586 eval "$as_ac_var=no"
45587 fi
45588 rm -f conftest.err conftest.$ac_objext \
45589       conftest$ac_exeext conftest.$ac_ext
45590 fi
45591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45593 if test `eval echo '${'$as_ac_var'}'` = yes; then
45594   cat >>confdefs.h <<_ACEOF
45595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45596 _ACEOF
45597
45598 fi
45599 done
45600
45601     fi
45602   fi
45603
45604
45605
45606
45607
45608
45609   echo "$as_me:$LINENO: checking for sincos declaration" >&5
45610 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45611   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45612     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45613   echo $ECHO_N "(cached) $ECHO_C" >&6
45614 else
45615
45616
45617
45618       ac_ext=cc
45619 ac_cpp='$CXXCPP $CPPFLAGS'
45620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45623
45624       cat >conftest.$ac_ext <<_ACEOF
45625 /* confdefs.h.  */
45626 _ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h.  */
45630 #include <math.h>
45631 int
45632 main ()
45633 {
45634  sincos(0, 0, 0);
45635   ;
45636   return 0;
45637 }
45638 _ACEOF
45639 rm -f conftest.$ac_objext
45640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45641   (eval $ac_compile) 2>conftest.er1
45642   ac_status=$?
45643   grep -v '^ *+' conftest.er1 >conftest.err
45644   rm -f conftest.er1
45645   cat conftest.err >&5
45646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45647   (exit $ac_status); } &&
45648          { ac_try='test -z "$ac_cxx_werror_flag"
45649                          || test ! -s conftest.err'
45650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45651   (eval $ac_try) 2>&5
45652   ac_status=$?
45653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654   (exit $ac_status); }; } &&
45655          { ac_try='test -s conftest.$ac_objext'
45656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45657   (eval $ac_try) 2>&5
45658   ac_status=$?
45659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660   (exit $ac_status); }; }; then
45661   glibcxx_cv_func_sincos_use=yes
45662 else
45663   echo "$as_me: failed program was:" >&5
45664 sed 's/^/| /' conftest.$ac_ext >&5
45665
45666 glibcxx_cv_func_sincos_use=no
45667 fi
45668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45669       ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45674
45675
45676 fi
45677
45678   fi
45679   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45680 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45681
45682   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45683
45684 for ac_func in sincos
45685 do
45686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45687 echo "$as_me:$LINENO: checking for $ac_func" >&5
45688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45689 if eval "test \"\${$as_ac_var+set}\" = set"; then
45690   echo $ECHO_N "(cached) $ECHO_C" >&6
45691 else
45692   if test x$gcc_no_link = xyes; then
45693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45695    { (exit 1); exit 1; }; }
45696 fi
45697 cat >conftest.$ac_ext <<_ACEOF
45698 /* confdefs.h.  */
45699 _ACEOF
45700 cat confdefs.h >>conftest.$ac_ext
45701 cat >>conftest.$ac_ext <<_ACEOF
45702 /* end confdefs.h.  */
45703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45705 #define $ac_func innocuous_$ac_func
45706
45707 /* System header to define __stub macros and hopefully few prototypes,
45708     which can conflict with char $ac_func (); below.
45709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45710     <limits.h> exists even on freestanding compilers.  */
45711
45712 #ifdef __STDC__
45713 # include <limits.h>
45714 #else
45715 # include <assert.h>
45716 #endif
45717
45718 #undef $ac_func
45719
45720 /* Override any gcc2 internal prototype to avoid an error.  */
45721 #ifdef __cplusplus
45722 extern "C"
45723 {
45724 #endif
45725 /* We use char because int might match the return type of a gcc2
45726    builtin and then its argument prototype would still apply.  */
45727 char $ac_func ();
45728 /* The GNU C library defines this for functions which it implements
45729     to always fail with ENOSYS.  Some functions are actually named
45730     something starting with __ and the normal name is an alias.  */
45731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45732 choke me
45733 #else
45734 char (*f) () = $ac_func;
45735 #endif
45736 #ifdef __cplusplus
45737 }
45738 #endif
45739
45740 int
45741 main ()
45742 {
45743 return f != $ac_func;
45744   ;
45745   return 0;
45746 }
45747 _ACEOF
45748 rm -f conftest.$ac_objext conftest$ac_exeext
45749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45750   (eval $ac_link) 2>conftest.er1
45751   ac_status=$?
45752   grep -v '^ *+' conftest.er1 >conftest.err
45753   rm -f conftest.er1
45754   cat conftest.err >&5
45755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45756   (exit $ac_status); } &&
45757          { ac_try='test -z "$ac_c_werror_flag"
45758                          || test ! -s conftest.err'
45759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45760   (eval $ac_try) 2>&5
45761   ac_status=$?
45762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763   (exit $ac_status); }; } &&
45764          { ac_try='test -s conftest$ac_exeext'
45765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45766   (eval $ac_try) 2>&5
45767   ac_status=$?
45768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769   (exit $ac_status); }; }; then
45770   eval "$as_ac_var=yes"
45771 else
45772   echo "$as_me: failed program was:" >&5
45773 sed 's/^/| /' conftest.$ac_ext >&5
45774
45775 eval "$as_ac_var=no"
45776 fi
45777 rm -f conftest.err conftest.$ac_objext \
45778       conftest$ac_exeext conftest.$ac_ext
45779 fi
45780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45782 if test `eval echo '${'$as_ac_var'}'` = yes; then
45783   cat >>confdefs.h <<_ACEOF
45784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45785 _ACEOF
45786
45787 fi
45788 done
45789
45790   else
45791
45792   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45793 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45794   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45795     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45796   echo $ECHO_N "(cached) $ECHO_C" >&6
45797 else
45798
45799
45800
45801       ac_ext=cc
45802 ac_cpp='$CXXCPP $CPPFLAGS'
45803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45806
45807       cat >conftest.$ac_ext <<_ACEOF
45808 /* confdefs.h.  */
45809 _ACEOF
45810 cat confdefs.h >>conftest.$ac_ext
45811 cat >>conftest.$ac_ext <<_ACEOF
45812 /* end confdefs.h.  */
45813 #include <math.h>
45814 int
45815 main ()
45816 {
45817  _sincos(0, 0, 0);
45818   ;
45819   return 0;
45820 }
45821 _ACEOF
45822 rm -f conftest.$ac_objext
45823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45824   (eval $ac_compile) 2>conftest.er1
45825   ac_status=$?
45826   grep -v '^ *+' conftest.er1 >conftest.err
45827   rm -f conftest.er1
45828   cat conftest.err >&5
45829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45830   (exit $ac_status); } &&
45831          { ac_try='test -z "$ac_cxx_werror_flag"
45832                          || test ! -s conftest.err'
45833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45834   (eval $ac_try) 2>&5
45835   ac_status=$?
45836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45837   (exit $ac_status); }; } &&
45838          { ac_try='test -s conftest.$ac_objext'
45839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45840   (eval $ac_try) 2>&5
45841   ac_status=$?
45842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45843   (exit $ac_status); }; }; then
45844   glibcxx_cv_func__sincos_use=yes
45845 else
45846   echo "$as_me: failed program was:" >&5
45847 sed 's/^/| /' conftest.$ac_ext >&5
45848
45849 glibcxx_cv_func__sincos_use=no
45850 fi
45851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45852       ac_ext=c
45853 ac_cpp='$CPP $CPPFLAGS'
45854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45857
45858
45859 fi
45860
45861   fi
45862   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45863 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45864
45865     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45866
45867 for ac_func in _sincos
45868 do
45869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45870 echo "$as_me:$LINENO: checking for $ac_func" >&5
45871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45872 if eval "test \"\${$as_ac_var+set}\" = set"; then
45873   echo $ECHO_N "(cached) $ECHO_C" >&6
45874 else
45875   if test x$gcc_no_link = xyes; then
45876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45878    { (exit 1); exit 1; }; }
45879 fi
45880 cat >conftest.$ac_ext <<_ACEOF
45881 /* confdefs.h.  */
45882 _ACEOF
45883 cat confdefs.h >>conftest.$ac_ext
45884 cat >>conftest.$ac_ext <<_ACEOF
45885 /* end confdefs.h.  */
45886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45888 #define $ac_func innocuous_$ac_func
45889
45890 /* System header to define __stub macros and hopefully few prototypes,
45891     which can conflict with char $ac_func (); below.
45892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45893     <limits.h> exists even on freestanding compilers.  */
45894
45895 #ifdef __STDC__
45896 # include <limits.h>
45897 #else
45898 # include <assert.h>
45899 #endif
45900
45901 #undef $ac_func
45902
45903 /* Override any gcc2 internal prototype to avoid an error.  */
45904 #ifdef __cplusplus
45905 extern "C"
45906 {
45907 #endif
45908 /* We use char because int might match the return type of a gcc2
45909    builtin and then its argument prototype would still apply.  */
45910 char $ac_func ();
45911 /* The GNU C library defines this for functions which it implements
45912     to always fail with ENOSYS.  Some functions are actually named
45913     something starting with __ and the normal name is an alias.  */
45914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45915 choke me
45916 #else
45917 char (*f) () = $ac_func;
45918 #endif
45919 #ifdef __cplusplus
45920 }
45921 #endif
45922
45923 int
45924 main ()
45925 {
45926 return f != $ac_func;
45927   ;
45928   return 0;
45929 }
45930 _ACEOF
45931 rm -f conftest.$ac_objext conftest$ac_exeext
45932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45933   (eval $ac_link) 2>conftest.er1
45934   ac_status=$?
45935   grep -v '^ *+' conftest.er1 >conftest.err
45936   rm -f conftest.er1
45937   cat conftest.err >&5
45938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939   (exit $ac_status); } &&
45940          { ac_try='test -z "$ac_c_werror_flag"
45941                          || test ! -s conftest.err'
45942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45943   (eval $ac_try) 2>&5
45944   ac_status=$?
45945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946   (exit $ac_status); }; } &&
45947          { ac_try='test -s conftest$ac_exeext'
45948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45949   (eval $ac_try) 2>&5
45950   ac_status=$?
45951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952   (exit $ac_status); }; }; then
45953   eval "$as_ac_var=yes"
45954 else
45955   echo "$as_me: failed program was:" >&5
45956 sed 's/^/| /' conftest.$ac_ext >&5
45957
45958 eval "$as_ac_var=no"
45959 fi
45960 rm -f conftest.err conftest.$ac_objext \
45961       conftest$ac_exeext conftest.$ac_ext
45962 fi
45963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45965 if test `eval echo '${'$as_ac_var'}'` = yes; then
45966   cat >>confdefs.h <<_ACEOF
45967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45968 _ACEOF
45969
45970 fi
45971 done
45972
45973     fi
45974   fi
45975
45976
45977
45978
45979
45980
45981   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45982 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45983   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45984     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45985   echo $ECHO_N "(cached) $ECHO_C" >&6
45986 else
45987
45988
45989
45990       ac_ext=cc
45991 ac_cpp='$CXXCPP $CPPFLAGS'
45992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45995
45996       cat >conftest.$ac_ext <<_ACEOF
45997 /* confdefs.h.  */
45998 _ACEOF
45999 cat confdefs.h >>conftest.$ac_ext
46000 cat >>conftest.$ac_ext <<_ACEOF
46001 /* end confdefs.h.  */
46002 #include <math.h>
46003                       #ifdef HAVE_IEEEFP_H
46004                       #include <ieeefp.h>
46005                       #endif
46006
46007 int
46008 main ()
46009 {
46010  fpclass(0);
46011   ;
46012   return 0;
46013 }
46014 _ACEOF
46015 rm -f conftest.$ac_objext
46016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46017   (eval $ac_compile) 2>conftest.er1
46018   ac_status=$?
46019   grep -v '^ *+' conftest.er1 >conftest.err
46020   rm -f conftest.er1
46021   cat conftest.err >&5
46022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023   (exit $ac_status); } &&
46024          { ac_try='test -z "$ac_cxx_werror_flag"
46025                          || test ! -s conftest.err'
46026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027   (eval $ac_try) 2>&5
46028   ac_status=$?
46029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030   (exit $ac_status); }; } &&
46031          { ac_try='test -s conftest.$ac_objext'
46032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033   (eval $ac_try) 2>&5
46034   ac_status=$?
46035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036   (exit $ac_status); }; }; then
46037   glibcxx_cv_func_fpclass_use=yes
46038 else
46039   echo "$as_me: failed program was:" >&5
46040 sed 's/^/| /' conftest.$ac_ext >&5
46041
46042 glibcxx_cv_func_fpclass_use=no
46043 fi
46044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46045       ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46050
46051
46052 fi
46053
46054   fi
46055   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
46056 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
46057
46058   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46059
46060 for ac_func in fpclass
46061 do
46062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46063 echo "$as_me:$LINENO: checking for $ac_func" >&5
46064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46065 if eval "test \"\${$as_ac_var+set}\" = set"; then
46066   echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068   if test x$gcc_no_link = xyes; then
46069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46071    { (exit 1); exit 1; }; }
46072 fi
46073 cat >conftest.$ac_ext <<_ACEOF
46074 /* confdefs.h.  */
46075 _ACEOF
46076 cat confdefs.h >>conftest.$ac_ext
46077 cat >>conftest.$ac_ext <<_ACEOF
46078 /* end confdefs.h.  */
46079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46081 #define $ac_func innocuous_$ac_func
46082
46083 /* System header to define __stub macros and hopefully few prototypes,
46084     which can conflict with char $ac_func (); below.
46085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086     <limits.h> exists even on freestanding compilers.  */
46087
46088 #ifdef __STDC__
46089 # include <limits.h>
46090 #else
46091 # include <assert.h>
46092 #endif
46093
46094 #undef $ac_func
46095
46096 /* Override any gcc2 internal prototype to avoid an error.  */
46097 #ifdef __cplusplus
46098 extern "C"
46099 {
46100 #endif
46101 /* We use char because int might match the return type of a gcc2
46102    builtin and then its argument prototype would still apply.  */
46103 char $ac_func ();
46104 /* The GNU C library defines this for functions which it implements
46105     to always fail with ENOSYS.  Some functions are actually named
46106     something starting with __ and the normal name is an alias.  */
46107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46108 choke me
46109 #else
46110 char (*f) () = $ac_func;
46111 #endif
46112 #ifdef __cplusplus
46113 }
46114 #endif
46115
46116 int
46117 main ()
46118 {
46119 return f != $ac_func;
46120   ;
46121   return 0;
46122 }
46123 _ACEOF
46124 rm -f conftest.$ac_objext conftest$ac_exeext
46125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46126   (eval $ac_link) 2>conftest.er1
46127   ac_status=$?
46128   grep -v '^ *+' conftest.er1 >conftest.err
46129   rm -f conftest.er1
46130   cat conftest.err >&5
46131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132   (exit $ac_status); } &&
46133          { ac_try='test -z "$ac_c_werror_flag"
46134                          || test ! -s conftest.err'
46135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136   (eval $ac_try) 2>&5
46137   ac_status=$?
46138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139   (exit $ac_status); }; } &&
46140          { ac_try='test -s conftest$ac_exeext'
46141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46142   (eval $ac_try) 2>&5
46143   ac_status=$?
46144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145   (exit $ac_status); }; }; then
46146   eval "$as_ac_var=yes"
46147 else
46148   echo "$as_me: failed program was:" >&5
46149 sed 's/^/| /' conftest.$ac_ext >&5
46150
46151 eval "$as_ac_var=no"
46152 fi
46153 rm -f conftest.err conftest.$ac_objext \
46154       conftest$ac_exeext conftest.$ac_ext
46155 fi
46156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46158 if test `eval echo '${'$as_ac_var'}'` = yes; then
46159   cat >>confdefs.h <<_ACEOF
46160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46161 _ACEOF
46162
46163 fi
46164 done
46165
46166   else
46167
46168   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
46169 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
46170   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46171     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
46172   echo $ECHO_N "(cached) $ECHO_C" >&6
46173 else
46174
46175
46176
46177       ac_ext=cc
46178 ac_cpp='$CXXCPP $CPPFLAGS'
46179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46182
46183       cat >conftest.$ac_ext <<_ACEOF
46184 /* confdefs.h.  */
46185 _ACEOF
46186 cat confdefs.h >>conftest.$ac_ext
46187 cat >>conftest.$ac_ext <<_ACEOF
46188 /* end confdefs.h.  */
46189 #include <math.h>
46190                       #ifdef HAVE_IEEEFP_H
46191                       #include <ieeefp.h>
46192                       #endif
46193
46194 int
46195 main ()
46196 {
46197  _fpclass(0);
46198   ;
46199   return 0;
46200 }
46201 _ACEOF
46202 rm -f conftest.$ac_objext
46203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46204   (eval $ac_compile) 2>conftest.er1
46205   ac_status=$?
46206   grep -v '^ *+' conftest.er1 >conftest.err
46207   rm -f conftest.er1
46208   cat conftest.err >&5
46209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210   (exit $ac_status); } &&
46211          { ac_try='test -z "$ac_cxx_werror_flag"
46212                          || test ! -s conftest.err'
46213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46214   (eval $ac_try) 2>&5
46215   ac_status=$?
46216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46217   (exit $ac_status); }; } &&
46218          { ac_try='test -s conftest.$ac_objext'
46219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46220   (eval $ac_try) 2>&5
46221   ac_status=$?
46222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46223   (exit $ac_status); }; }; then
46224   glibcxx_cv_func__fpclass_use=yes
46225 else
46226   echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46228
46229 glibcxx_cv_func__fpclass_use=no
46230 fi
46231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46232       ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46237
46238
46239 fi
46240
46241   fi
46242   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
46243 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
46244
46245     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46246
46247 for ac_func in _fpclass
46248 do
46249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46250 echo "$as_me:$LINENO: checking for $ac_func" >&5
46251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46252 if eval "test \"\${$as_ac_var+set}\" = set"; then
46253   echo $ECHO_N "(cached) $ECHO_C" >&6
46254 else
46255   if test x$gcc_no_link = xyes; then
46256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46258    { (exit 1); exit 1; }; }
46259 fi
46260 cat >conftest.$ac_ext <<_ACEOF
46261 /* confdefs.h.  */
46262 _ACEOF
46263 cat confdefs.h >>conftest.$ac_ext
46264 cat >>conftest.$ac_ext <<_ACEOF
46265 /* end confdefs.h.  */
46266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46268 #define $ac_func innocuous_$ac_func
46269
46270 /* System header to define __stub macros and hopefully few prototypes,
46271     which can conflict with char $ac_func (); below.
46272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46273     <limits.h> exists even on freestanding compilers.  */
46274
46275 #ifdef __STDC__
46276 # include <limits.h>
46277 #else
46278 # include <assert.h>
46279 #endif
46280
46281 #undef $ac_func
46282
46283 /* Override any gcc2 internal prototype to avoid an error.  */
46284 #ifdef __cplusplus
46285 extern "C"
46286 {
46287 #endif
46288 /* We use char because int might match the return type of a gcc2
46289    builtin and then its argument prototype would still apply.  */
46290 char $ac_func ();
46291 /* The GNU C library defines this for functions which it implements
46292     to always fail with ENOSYS.  Some functions are actually named
46293     something starting with __ and the normal name is an alias.  */
46294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46295 choke me
46296 #else
46297 char (*f) () = $ac_func;
46298 #endif
46299 #ifdef __cplusplus
46300 }
46301 #endif
46302
46303 int
46304 main ()
46305 {
46306 return f != $ac_func;
46307   ;
46308   return 0;
46309 }
46310 _ACEOF
46311 rm -f conftest.$ac_objext conftest$ac_exeext
46312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46313   (eval $ac_link) 2>conftest.er1
46314   ac_status=$?
46315   grep -v '^ *+' conftest.er1 >conftest.err
46316   rm -f conftest.er1
46317   cat conftest.err >&5
46318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319   (exit $ac_status); } &&
46320          { ac_try='test -z "$ac_c_werror_flag"
46321                          || test ! -s conftest.err'
46322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46323   (eval $ac_try) 2>&5
46324   ac_status=$?
46325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326   (exit $ac_status); }; } &&
46327          { ac_try='test -s conftest$ac_exeext'
46328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46329   (eval $ac_try) 2>&5
46330   ac_status=$?
46331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332   (exit $ac_status); }; }; then
46333   eval "$as_ac_var=yes"
46334 else
46335   echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.$ac_ext >&5
46337
46338 eval "$as_ac_var=no"
46339 fi
46340 rm -f conftest.err conftest.$ac_objext \
46341       conftest$ac_exeext conftest.$ac_ext
46342 fi
46343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46345 if test `eval echo '${'$as_ac_var'}'` = yes; then
46346   cat >>confdefs.h <<_ACEOF
46347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46348 _ACEOF
46349
46350 fi
46351 done
46352
46353     fi
46354   fi
46355
46356
46357
46358
46359
46360
46361   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
46362 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
46363   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46364     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
46365   echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367
46368
46369
46370       ac_ext=cc
46371 ac_cpp='$CXXCPP $CPPFLAGS'
46372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46375
46376       cat >conftest.$ac_ext <<_ACEOF
46377 /* confdefs.h.  */
46378 _ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h.  */
46382 #include <math.h>
46383                       #ifdef HAVE_IEEEFP_H
46384                       #include <ieeefp.h>
46385                       #endif
46386
46387 int
46388 main ()
46389 {
46390  qfpclass(0);
46391   ;
46392   return 0;
46393 }
46394 _ACEOF
46395 rm -f conftest.$ac_objext
46396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46397   (eval $ac_compile) 2>conftest.er1
46398   ac_status=$?
46399   grep -v '^ *+' conftest.er1 >conftest.err
46400   rm -f conftest.er1
46401   cat conftest.err >&5
46402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403   (exit $ac_status); } &&
46404          { ac_try='test -z "$ac_cxx_werror_flag"
46405                          || test ! -s conftest.err'
46406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46407   (eval $ac_try) 2>&5
46408   ac_status=$?
46409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46410   (exit $ac_status); }; } &&
46411          { ac_try='test -s conftest.$ac_objext'
46412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46413   (eval $ac_try) 2>&5
46414   ac_status=$?
46415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416   (exit $ac_status); }; }; then
46417   glibcxx_cv_func_qfpclass_use=yes
46418 else
46419   echo "$as_me: failed program was:" >&5
46420 sed 's/^/| /' conftest.$ac_ext >&5
46421
46422 glibcxx_cv_func_qfpclass_use=no
46423 fi
46424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46425       ac_ext=c
46426 ac_cpp='$CPP $CPPFLAGS'
46427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46430
46431
46432 fi
46433
46434   fi
46435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
46436 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
46437
46438   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46439
46440 for ac_func in qfpclass
46441 do
46442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46443 echo "$as_me:$LINENO: checking for $ac_func" >&5
46444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46445 if eval "test \"\${$as_ac_var+set}\" = set"; then
46446   echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46448   if test x$gcc_no_link = xyes; then
46449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46451    { (exit 1); exit 1; }; }
46452 fi
46453 cat >conftest.$ac_ext <<_ACEOF
46454 /* confdefs.h.  */
46455 _ACEOF
46456 cat confdefs.h >>conftest.$ac_ext
46457 cat >>conftest.$ac_ext <<_ACEOF
46458 /* end confdefs.h.  */
46459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46461 #define $ac_func innocuous_$ac_func
46462
46463 /* System header to define __stub macros and hopefully few prototypes,
46464     which can conflict with char $ac_func (); below.
46465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46466     <limits.h> exists even on freestanding compilers.  */
46467
46468 #ifdef __STDC__
46469 # include <limits.h>
46470 #else
46471 # include <assert.h>
46472 #endif
46473
46474 #undef $ac_func
46475
46476 /* Override any gcc2 internal prototype to avoid an error.  */
46477 #ifdef __cplusplus
46478 extern "C"
46479 {
46480 #endif
46481 /* We use char because int might match the return type of a gcc2
46482    builtin and then its argument prototype would still apply.  */
46483 char $ac_func ();
46484 /* The GNU C library defines this for functions which it implements
46485     to always fail with ENOSYS.  Some functions are actually named
46486     something starting with __ and the normal name is an alias.  */
46487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46488 choke me
46489 #else
46490 char (*f) () = $ac_func;
46491 #endif
46492 #ifdef __cplusplus
46493 }
46494 #endif
46495
46496 int
46497 main ()
46498 {
46499 return f != $ac_func;
46500   ;
46501   return 0;
46502 }
46503 _ACEOF
46504 rm -f conftest.$ac_objext conftest$ac_exeext
46505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46506   (eval $ac_link) 2>conftest.er1
46507   ac_status=$?
46508   grep -v '^ *+' conftest.er1 >conftest.err
46509   rm -f conftest.er1
46510   cat conftest.err >&5
46511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512   (exit $ac_status); } &&
46513          { ac_try='test -z "$ac_c_werror_flag"
46514                          || test ! -s conftest.err'
46515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46516   (eval $ac_try) 2>&5
46517   ac_status=$?
46518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46519   (exit $ac_status); }; } &&
46520          { ac_try='test -s conftest$ac_exeext'
46521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46522   (eval $ac_try) 2>&5
46523   ac_status=$?
46524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46525   (exit $ac_status); }; }; then
46526   eval "$as_ac_var=yes"
46527 else
46528   echo "$as_me: failed program was:" >&5
46529 sed 's/^/| /' conftest.$ac_ext >&5
46530
46531 eval "$as_ac_var=no"
46532 fi
46533 rm -f conftest.err conftest.$ac_objext \
46534       conftest$ac_exeext conftest.$ac_ext
46535 fi
46536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46538 if test `eval echo '${'$as_ac_var'}'` = yes; then
46539   cat >>confdefs.h <<_ACEOF
46540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46541 _ACEOF
46542
46543 fi
46544 done
46545
46546   else
46547
46548   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46549 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46550   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46551     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46552   echo $ECHO_N "(cached) $ECHO_C" >&6
46553 else
46554
46555
46556
46557       ac_ext=cc
46558 ac_cpp='$CXXCPP $CPPFLAGS'
46559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46562
46563       cat >conftest.$ac_ext <<_ACEOF
46564 /* confdefs.h.  */
46565 _ACEOF
46566 cat confdefs.h >>conftest.$ac_ext
46567 cat >>conftest.$ac_ext <<_ACEOF
46568 /* end confdefs.h.  */
46569 #include <math.h>
46570                       #ifdef HAVE_IEEEFP_H
46571                       #include <ieeefp.h>
46572                       #endif
46573
46574 int
46575 main ()
46576 {
46577  _qfpclass(0);
46578   ;
46579   return 0;
46580 }
46581 _ACEOF
46582 rm -f conftest.$ac_objext
46583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46584   (eval $ac_compile) 2>conftest.er1
46585   ac_status=$?
46586   grep -v '^ *+' conftest.er1 >conftest.err
46587   rm -f conftest.er1
46588   cat conftest.err >&5
46589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590   (exit $ac_status); } &&
46591          { ac_try='test -z "$ac_cxx_werror_flag"
46592                          || test ! -s conftest.err'
46593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46594   (eval $ac_try) 2>&5
46595   ac_status=$?
46596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597   (exit $ac_status); }; } &&
46598          { ac_try='test -s conftest.$ac_objext'
46599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46600   (eval $ac_try) 2>&5
46601   ac_status=$?
46602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603   (exit $ac_status); }; }; then
46604   glibcxx_cv_func__qfpclass_use=yes
46605 else
46606   echo "$as_me: failed program was:" >&5
46607 sed 's/^/| /' conftest.$ac_ext >&5
46608
46609 glibcxx_cv_func__qfpclass_use=no
46610 fi
46611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46612       ac_ext=c
46613 ac_cpp='$CPP $CPPFLAGS'
46614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46617
46618
46619 fi
46620
46621   fi
46622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46623 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46624
46625     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46626
46627 for ac_func in _qfpclass
46628 do
46629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46630 echo "$as_me:$LINENO: checking for $ac_func" >&5
46631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46632 if eval "test \"\${$as_ac_var+set}\" = set"; then
46633   echo $ECHO_N "(cached) $ECHO_C" >&6
46634 else
46635   if test x$gcc_no_link = xyes; then
46636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46638    { (exit 1); exit 1; }; }
46639 fi
46640 cat >conftest.$ac_ext <<_ACEOF
46641 /* confdefs.h.  */
46642 _ACEOF
46643 cat confdefs.h >>conftest.$ac_ext
46644 cat >>conftest.$ac_ext <<_ACEOF
46645 /* end confdefs.h.  */
46646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46648 #define $ac_func innocuous_$ac_func
46649
46650 /* System header to define __stub macros and hopefully few prototypes,
46651     which can conflict with char $ac_func (); below.
46652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46653     <limits.h> exists even on freestanding compilers.  */
46654
46655 #ifdef __STDC__
46656 # include <limits.h>
46657 #else
46658 # include <assert.h>
46659 #endif
46660
46661 #undef $ac_func
46662
46663 /* Override any gcc2 internal prototype to avoid an error.  */
46664 #ifdef __cplusplus
46665 extern "C"
46666 {
46667 #endif
46668 /* We use char because int might match the return type of a gcc2
46669    builtin and then its argument prototype would still apply.  */
46670 char $ac_func ();
46671 /* The GNU C library defines this for functions which it implements
46672     to always fail with ENOSYS.  Some functions are actually named
46673     something starting with __ and the normal name is an alias.  */
46674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46675 choke me
46676 #else
46677 char (*f) () = $ac_func;
46678 #endif
46679 #ifdef __cplusplus
46680 }
46681 #endif
46682
46683 int
46684 main ()
46685 {
46686 return f != $ac_func;
46687   ;
46688   return 0;
46689 }
46690 _ACEOF
46691 rm -f conftest.$ac_objext conftest$ac_exeext
46692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46693   (eval $ac_link) 2>conftest.er1
46694   ac_status=$?
46695   grep -v '^ *+' conftest.er1 >conftest.err
46696   rm -f conftest.er1
46697   cat conftest.err >&5
46698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699   (exit $ac_status); } &&
46700          { ac_try='test -z "$ac_c_werror_flag"
46701                          || test ! -s conftest.err'
46702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46703   (eval $ac_try) 2>&5
46704   ac_status=$?
46705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46706   (exit $ac_status); }; } &&
46707          { ac_try='test -s conftest$ac_exeext'
46708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46709   (eval $ac_try) 2>&5
46710   ac_status=$?
46711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46712   (exit $ac_status); }; }; then
46713   eval "$as_ac_var=yes"
46714 else
46715   echo "$as_me: failed program was:" >&5
46716 sed 's/^/| /' conftest.$ac_ext >&5
46717
46718 eval "$as_ac_var=no"
46719 fi
46720 rm -f conftest.err conftest.$ac_objext \
46721       conftest$ac_exeext conftest.$ac_ext
46722 fi
46723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46725 if test `eval echo '${'$as_ac_var'}'` = yes; then
46726   cat >>confdefs.h <<_ACEOF
46727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46728 _ACEOF
46729
46730 fi
46731 done
46732
46733     fi
46734   fi
46735
46736
46737
46738
46739
46740
46741   echo "$as_me:$LINENO: checking for hypot declaration" >&5
46742 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46743   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46744     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46745   echo $ECHO_N "(cached) $ECHO_C" >&6
46746 else
46747
46748
46749
46750       ac_ext=cc
46751 ac_cpp='$CXXCPP $CPPFLAGS'
46752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46755
46756       cat >conftest.$ac_ext <<_ACEOF
46757 /* confdefs.h.  */
46758 _ACEOF
46759 cat confdefs.h >>conftest.$ac_ext
46760 cat >>conftest.$ac_ext <<_ACEOF
46761 /* end confdefs.h.  */
46762 #include <math.h>
46763 int
46764 main ()
46765 {
46766  hypot(0, 0);
46767   ;
46768   return 0;
46769 }
46770 _ACEOF
46771 rm -f conftest.$ac_objext
46772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46773   (eval $ac_compile) 2>conftest.er1
46774   ac_status=$?
46775   grep -v '^ *+' conftest.er1 >conftest.err
46776   rm -f conftest.er1
46777   cat conftest.err >&5
46778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779   (exit $ac_status); } &&
46780          { ac_try='test -z "$ac_cxx_werror_flag"
46781                          || test ! -s conftest.err'
46782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46783   (eval $ac_try) 2>&5
46784   ac_status=$?
46785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46786   (exit $ac_status); }; } &&
46787          { ac_try='test -s conftest.$ac_objext'
46788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46789   (eval $ac_try) 2>&5
46790   ac_status=$?
46791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792   (exit $ac_status); }; }; then
46793   glibcxx_cv_func_hypot_use=yes
46794 else
46795   echo "$as_me: failed program was:" >&5
46796 sed 's/^/| /' conftest.$ac_ext >&5
46797
46798 glibcxx_cv_func_hypot_use=no
46799 fi
46800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46801       ac_ext=c
46802 ac_cpp='$CPP $CPPFLAGS'
46803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46806
46807
46808 fi
46809
46810   fi
46811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46812 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46813
46814   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46815
46816 for ac_func in hypot
46817 do
46818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46819 echo "$as_me:$LINENO: checking for $ac_func" >&5
46820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46821 if eval "test \"\${$as_ac_var+set}\" = set"; then
46822   echo $ECHO_N "(cached) $ECHO_C" >&6
46823 else
46824   if test x$gcc_no_link = xyes; then
46825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46827    { (exit 1); exit 1; }; }
46828 fi
46829 cat >conftest.$ac_ext <<_ACEOF
46830 /* confdefs.h.  */
46831 _ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h.  */
46835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46837 #define $ac_func innocuous_$ac_func
46838
46839 /* System header to define __stub macros and hopefully few prototypes,
46840     which can conflict with char $ac_func (); below.
46841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46842     <limits.h> exists even on freestanding compilers.  */
46843
46844 #ifdef __STDC__
46845 # include <limits.h>
46846 #else
46847 # include <assert.h>
46848 #endif
46849
46850 #undef $ac_func
46851
46852 /* Override any gcc2 internal prototype to avoid an error.  */
46853 #ifdef __cplusplus
46854 extern "C"
46855 {
46856 #endif
46857 /* We use char because int might match the return type of a gcc2
46858    builtin and then its argument prototype would still apply.  */
46859 char $ac_func ();
46860 /* The GNU C library defines this for functions which it implements
46861     to always fail with ENOSYS.  Some functions are actually named
46862     something starting with __ and the normal name is an alias.  */
46863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46864 choke me
46865 #else
46866 char (*f) () = $ac_func;
46867 #endif
46868 #ifdef __cplusplus
46869 }
46870 #endif
46871
46872 int
46873 main ()
46874 {
46875 return f != $ac_func;
46876   ;
46877   return 0;
46878 }
46879 _ACEOF
46880 rm -f conftest.$ac_objext conftest$ac_exeext
46881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46882   (eval $ac_link) 2>conftest.er1
46883   ac_status=$?
46884   grep -v '^ *+' conftest.er1 >conftest.err
46885   rm -f conftest.er1
46886   cat conftest.err >&5
46887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46888   (exit $ac_status); } &&
46889          { ac_try='test -z "$ac_c_werror_flag"
46890                          || test ! -s conftest.err'
46891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46892   (eval $ac_try) 2>&5
46893   ac_status=$?
46894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46895   (exit $ac_status); }; } &&
46896          { ac_try='test -s conftest$ac_exeext'
46897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46898   (eval $ac_try) 2>&5
46899   ac_status=$?
46900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901   (exit $ac_status); }; }; then
46902   eval "$as_ac_var=yes"
46903 else
46904   echo "$as_me: failed program was:" >&5
46905 sed 's/^/| /' conftest.$ac_ext >&5
46906
46907 eval "$as_ac_var=no"
46908 fi
46909 rm -f conftest.err conftest.$ac_objext \
46910       conftest$ac_exeext conftest.$ac_ext
46911 fi
46912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46914 if test `eval echo '${'$as_ac_var'}'` = yes; then
46915   cat >>confdefs.h <<_ACEOF
46916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46917 _ACEOF
46918
46919 fi
46920 done
46921
46922   else
46923
46924   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46925 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46926   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46927     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46928   echo $ECHO_N "(cached) $ECHO_C" >&6
46929 else
46930
46931
46932
46933       ac_ext=cc
46934 ac_cpp='$CXXCPP $CPPFLAGS'
46935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46938
46939       cat >conftest.$ac_ext <<_ACEOF
46940 /* confdefs.h.  */
46941 _ACEOF
46942 cat confdefs.h >>conftest.$ac_ext
46943 cat >>conftest.$ac_ext <<_ACEOF
46944 /* end confdefs.h.  */
46945 #include <math.h>
46946 int
46947 main ()
46948 {
46949  _hypot(0, 0);
46950   ;
46951   return 0;
46952 }
46953 _ACEOF
46954 rm -f conftest.$ac_objext
46955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46956   (eval $ac_compile) 2>conftest.er1
46957   ac_status=$?
46958   grep -v '^ *+' conftest.er1 >conftest.err
46959   rm -f conftest.er1
46960   cat conftest.err >&5
46961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962   (exit $ac_status); } &&
46963          { ac_try='test -z "$ac_cxx_werror_flag"
46964                          || test ! -s conftest.err'
46965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966   (eval $ac_try) 2>&5
46967   ac_status=$?
46968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969   (exit $ac_status); }; } &&
46970          { ac_try='test -s conftest.$ac_objext'
46971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46972   (eval $ac_try) 2>&5
46973   ac_status=$?
46974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46975   (exit $ac_status); }; }; then
46976   glibcxx_cv_func__hypot_use=yes
46977 else
46978   echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46980
46981 glibcxx_cv_func__hypot_use=no
46982 fi
46983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46984       ac_ext=c
46985 ac_cpp='$CPP $CPPFLAGS'
46986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46989
46990
46991 fi
46992
46993   fi
46994   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46995 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46996
46997     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46998
46999 for ac_func in _hypot
47000 do
47001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47002 echo "$as_me:$LINENO: checking for $ac_func" >&5
47003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47004 if eval "test \"\${$as_ac_var+set}\" = set"; then
47005   echo $ECHO_N "(cached) $ECHO_C" >&6
47006 else
47007   if test x$gcc_no_link = xyes; then
47008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47010    { (exit 1); exit 1; }; }
47011 fi
47012 cat >conftest.$ac_ext <<_ACEOF
47013 /* confdefs.h.  */
47014 _ACEOF
47015 cat confdefs.h >>conftest.$ac_ext
47016 cat >>conftest.$ac_ext <<_ACEOF
47017 /* end confdefs.h.  */
47018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47020 #define $ac_func innocuous_$ac_func
47021
47022 /* System header to define __stub macros and hopefully few prototypes,
47023     which can conflict with char $ac_func (); below.
47024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47025     <limits.h> exists even on freestanding compilers.  */
47026
47027 #ifdef __STDC__
47028 # include <limits.h>
47029 #else
47030 # include <assert.h>
47031 #endif
47032
47033 #undef $ac_func
47034
47035 /* Override any gcc2 internal prototype to avoid an error.  */
47036 #ifdef __cplusplus
47037 extern "C"
47038 {
47039 #endif
47040 /* We use char because int might match the return type of a gcc2
47041    builtin and then its argument prototype would still apply.  */
47042 char $ac_func ();
47043 /* The GNU C library defines this for functions which it implements
47044     to always fail with ENOSYS.  Some functions are actually named
47045     something starting with __ and the normal name is an alias.  */
47046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47047 choke me
47048 #else
47049 char (*f) () = $ac_func;
47050 #endif
47051 #ifdef __cplusplus
47052 }
47053 #endif
47054
47055 int
47056 main ()
47057 {
47058 return f != $ac_func;
47059   ;
47060   return 0;
47061 }
47062 _ACEOF
47063 rm -f conftest.$ac_objext conftest$ac_exeext
47064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47065   (eval $ac_link) 2>conftest.er1
47066   ac_status=$?
47067   grep -v '^ *+' conftest.er1 >conftest.err
47068   rm -f conftest.er1
47069   cat conftest.err >&5
47070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071   (exit $ac_status); } &&
47072          { ac_try='test -z "$ac_c_werror_flag"
47073                          || test ! -s conftest.err'
47074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47075   (eval $ac_try) 2>&5
47076   ac_status=$?
47077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078   (exit $ac_status); }; } &&
47079          { ac_try='test -s conftest$ac_exeext'
47080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47081   (eval $ac_try) 2>&5
47082   ac_status=$?
47083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084   (exit $ac_status); }; }; then
47085   eval "$as_ac_var=yes"
47086 else
47087   echo "$as_me: failed program was:" >&5
47088 sed 's/^/| /' conftest.$ac_ext >&5
47089
47090 eval "$as_ac_var=no"
47091 fi
47092 rm -f conftest.err conftest.$ac_objext \
47093       conftest$ac_exeext conftest.$ac_ext
47094 fi
47095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47097 if test `eval echo '${'$as_ac_var'}'` = yes; then
47098   cat >>confdefs.h <<_ACEOF
47099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47100 _ACEOF
47101
47102 fi
47103 done
47104
47105     fi
47106   fi
47107
47108
47109
47110
47111
47112
47113     echo "$as_me:$LINENO: checking for float trig functions" >&5
47114 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
47115   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
47116   echo $ECHO_N "(cached) $ECHO_C" >&6
47117 else
47118
47119
47120
47121     ac_ext=cc
47122 ac_cpp='$CXXCPP $CPPFLAGS'
47123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47126
47127     cat >conftest.$ac_ext <<_ACEOF
47128 /* confdefs.h.  */
47129 _ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h.  */
47133 #include <math.h>
47134 int
47135 main ()
47136 {
47137 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47138   ;
47139   return 0;
47140 }
47141 _ACEOF
47142 rm -f conftest.$ac_objext
47143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47144   (eval $ac_compile) 2>conftest.er1
47145   ac_status=$?
47146   grep -v '^ *+' conftest.er1 >conftest.err
47147   rm -f conftest.er1
47148   cat conftest.err >&5
47149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150   (exit $ac_status); } &&
47151          { ac_try='test -z "$ac_cxx_werror_flag"
47152                          || test ! -s conftest.err'
47153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154   (eval $ac_try) 2>&5
47155   ac_status=$?
47156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157   (exit $ac_status); }; } &&
47158          { ac_try='test -s conftest.$ac_objext'
47159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47160   (eval $ac_try) 2>&5
47161   ac_status=$?
47162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163   (exit $ac_status); }; }; then
47164   glibcxx_cv_func_float_trig_use=yes
47165 else
47166   echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47168
47169 glibcxx_cv_func_float_trig_use=no
47170 fi
47171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47172     ac_ext=c
47173 ac_cpp='$CPP $CPPFLAGS'
47174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47177
47178 fi
47179
47180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
47181 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
47182   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47193 do
47194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47195 echo "$as_me:$LINENO: checking for $ac_func" >&5
47196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47197 if eval "test \"\${$as_ac_var+set}\" = set"; then
47198   echo $ECHO_N "(cached) $ECHO_C" >&6
47199 else
47200   if test x$gcc_no_link = xyes; then
47201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47203    { (exit 1); exit 1; }; }
47204 fi
47205 cat >conftest.$ac_ext <<_ACEOF
47206 /* confdefs.h.  */
47207 _ACEOF
47208 cat confdefs.h >>conftest.$ac_ext
47209 cat >>conftest.$ac_ext <<_ACEOF
47210 /* end confdefs.h.  */
47211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47213 #define $ac_func innocuous_$ac_func
47214
47215 /* System header to define __stub macros and hopefully few prototypes,
47216     which can conflict with char $ac_func (); below.
47217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47218     <limits.h> exists even on freestanding compilers.  */
47219
47220 #ifdef __STDC__
47221 # include <limits.h>
47222 #else
47223 # include <assert.h>
47224 #endif
47225
47226 #undef $ac_func
47227
47228 /* Override any gcc2 internal prototype to avoid an error.  */
47229 #ifdef __cplusplus
47230 extern "C"
47231 {
47232 #endif
47233 /* We use char because int might match the return type of a gcc2
47234    builtin and then its argument prototype would still apply.  */
47235 char $ac_func ();
47236 /* The GNU C library defines this for functions which it implements
47237     to always fail with ENOSYS.  Some functions are actually named
47238     something starting with __ and the normal name is an alias.  */
47239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47240 choke me
47241 #else
47242 char (*f) () = $ac_func;
47243 #endif
47244 #ifdef __cplusplus
47245 }
47246 #endif
47247
47248 int
47249 main ()
47250 {
47251 return f != $ac_func;
47252   ;
47253   return 0;
47254 }
47255 _ACEOF
47256 rm -f conftest.$ac_objext conftest$ac_exeext
47257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47258   (eval $ac_link) 2>conftest.er1
47259   ac_status=$?
47260   grep -v '^ *+' conftest.er1 >conftest.err
47261   rm -f conftest.er1
47262   cat conftest.err >&5
47263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264   (exit $ac_status); } &&
47265          { ac_try='test -z "$ac_c_werror_flag"
47266                          || test ! -s conftest.err'
47267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47268   (eval $ac_try) 2>&5
47269   ac_status=$?
47270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47271   (exit $ac_status); }; } &&
47272          { ac_try='test -s conftest$ac_exeext'
47273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47274   (eval $ac_try) 2>&5
47275   ac_status=$?
47276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47277   (exit $ac_status); }; }; then
47278   eval "$as_ac_var=yes"
47279 else
47280   echo "$as_me: failed program was:" >&5
47281 sed 's/^/| /' conftest.$ac_ext >&5
47282
47283 eval "$as_ac_var=no"
47284 fi
47285 rm -f conftest.err conftest.$ac_objext \
47286       conftest$ac_exeext conftest.$ac_ext
47287 fi
47288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47290 if test `eval echo '${'$as_ac_var'}'` = yes; then
47291   cat >>confdefs.h <<_ACEOF
47292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47293 _ACEOF
47294
47295 fi
47296 done
47297
47298   else
47299     echo "$as_me:$LINENO: checking for _float trig functions" >&5
47300 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47301     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47302   echo $ECHO_N "(cached) $ECHO_C" >&6
47303 else
47304
47305
47306
47307       ac_ext=cc
47308 ac_cpp='$CXXCPP $CPPFLAGS'
47309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47312
47313       cat >conftest.$ac_ext <<_ACEOF
47314 /* confdefs.h.  */
47315 _ACEOF
47316 cat confdefs.h >>conftest.$ac_ext
47317 cat >>conftest.$ac_ext <<_ACEOF
47318 /* end confdefs.h.  */
47319 #include <math.h>
47320 int
47321 main ()
47322 {
47323 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47324   ;
47325   return 0;
47326 }
47327 _ACEOF
47328 rm -f conftest.$ac_objext
47329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47330   (eval $ac_compile) 2>conftest.er1
47331   ac_status=$?
47332   grep -v '^ *+' conftest.er1 >conftest.err
47333   rm -f conftest.er1
47334   cat conftest.err >&5
47335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47336   (exit $ac_status); } &&
47337          { ac_try='test -z "$ac_cxx_werror_flag"
47338                          || test ! -s conftest.err'
47339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47340   (eval $ac_try) 2>&5
47341   ac_status=$?
47342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47343   (exit $ac_status); }; } &&
47344          { ac_try='test -s conftest.$ac_objext'
47345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47346   (eval $ac_try) 2>&5
47347   ac_status=$?
47348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47349   (exit $ac_status); }; }; then
47350   glibcxx_cv_func__float_trig_use=yes
47351 else
47352   echo "$as_me: failed program was:" >&5
47353 sed 's/^/| /' conftest.$ac_ext >&5
47354
47355 glibcxx_cv_func__float_trig_use=no
47356 fi
47357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47358       ac_ext=c
47359 ac_cpp='$CPP $CPPFLAGS'
47360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47363
47364 fi
47365
47366     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47367 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47368     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47379 do
47380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47381 echo "$as_me:$LINENO: checking for $ac_func" >&5
47382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47383 if eval "test \"\${$as_ac_var+set}\" = set"; then
47384   echo $ECHO_N "(cached) $ECHO_C" >&6
47385 else
47386   if test x$gcc_no_link = xyes; then
47387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47389    { (exit 1); exit 1; }; }
47390 fi
47391 cat >conftest.$ac_ext <<_ACEOF
47392 /* confdefs.h.  */
47393 _ACEOF
47394 cat confdefs.h >>conftest.$ac_ext
47395 cat >>conftest.$ac_ext <<_ACEOF
47396 /* end confdefs.h.  */
47397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47399 #define $ac_func innocuous_$ac_func
47400
47401 /* System header to define __stub macros and hopefully few prototypes,
47402     which can conflict with char $ac_func (); below.
47403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47404     <limits.h> exists even on freestanding compilers.  */
47405
47406 #ifdef __STDC__
47407 # include <limits.h>
47408 #else
47409 # include <assert.h>
47410 #endif
47411
47412 #undef $ac_func
47413
47414 /* Override any gcc2 internal prototype to avoid an error.  */
47415 #ifdef __cplusplus
47416 extern "C"
47417 {
47418 #endif
47419 /* We use char because int might match the return type of a gcc2
47420    builtin and then its argument prototype would still apply.  */
47421 char $ac_func ();
47422 /* The GNU C library defines this for functions which it implements
47423     to always fail with ENOSYS.  Some functions are actually named
47424     something starting with __ and the normal name is an alias.  */
47425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47426 choke me
47427 #else
47428 char (*f) () = $ac_func;
47429 #endif
47430 #ifdef __cplusplus
47431 }
47432 #endif
47433
47434 int
47435 main ()
47436 {
47437 return f != $ac_func;
47438   ;
47439   return 0;
47440 }
47441 _ACEOF
47442 rm -f conftest.$ac_objext conftest$ac_exeext
47443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47444   (eval $ac_link) 2>conftest.er1
47445   ac_status=$?
47446   grep -v '^ *+' conftest.er1 >conftest.err
47447   rm -f conftest.er1
47448   cat conftest.err >&5
47449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450   (exit $ac_status); } &&
47451          { ac_try='test -z "$ac_c_werror_flag"
47452                          || test ! -s conftest.err'
47453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47454   (eval $ac_try) 2>&5
47455   ac_status=$?
47456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457   (exit $ac_status); }; } &&
47458          { ac_try='test -s conftest$ac_exeext'
47459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47460   (eval $ac_try) 2>&5
47461   ac_status=$?
47462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463   (exit $ac_status); }; }; then
47464   eval "$as_ac_var=yes"
47465 else
47466   echo "$as_me: failed program was:" >&5
47467 sed 's/^/| /' conftest.$ac_ext >&5
47468
47469 eval "$as_ac_var=no"
47470 fi
47471 rm -f conftest.err conftest.$ac_objext \
47472       conftest$ac_exeext conftest.$ac_ext
47473 fi
47474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47476 if test `eval echo '${'$as_ac_var'}'` = yes; then
47477   cat >>confdefs.h <<_ACEOF
47478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47479 _ACEOF
47480
47481 fi
47482 done
47483
47484     fi
47485   fi
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500     echo "$as_me:$LINENO: checking for float round functions" >&5
47501 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
47502   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
47503   echo $ECHO_N "(cached) $ECHO_C" >&6
47504 else
47505
47506
47507
47508     ac_ext=cc
47509 ac_cpp='$CXXCPP $CPPFLAGS'
47510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47513
47514     cat >conftest.$ac_ext <<_ACEOF
47515 /* confdefs.h.  */
47516 _ACEOF
47517 cat confdefs.h >>conftest.$ac_ext
47518 cat >>conftest.$ac_ext <<_ACEOF
47519 /* end confdefs.h.  */
47520 #include <math.h>
47521 int
47522 main ()
47523 {
47524 ceilf (0); floorf (0);
47525   ;
47526   return 0;
47527 }
47528 _ACEOF
47529 rm -f conftest.$ac_objext
47530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47531   (eval $ac_compile) 2>conftest.er1
47532   ac_status=$?
47533   grep -v '^ *+' conftest.er1 >conftest.err
47534   rm -f conftest.er1
47535   cat conftest.err >&5
47536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537   (exit $ac_status); } &&
47538          { ac_try='test -z "$ac_cxx_werror_flag"
47539                          || test ! -s conftest.err'
47540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47541   (eval $ac_try) 2>&5
47542   ac_status=$?
47543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544   (exit $ac_status); }; } &&
47545          { ac_try='test -s conftest.$ac_objext'
47546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47547   (eval $ac_try) 2>&5
47548   ac_status=$?
47549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47550   (exit $ac_status); }; }; then
47551   glibcxx_cv_func_float_round_use=yes
47552 else
47553   echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.$ac_ext >&5
47555
47556 glibcxx_cv_func_float_round_use=no
47557 fi
47558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47559     ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564
47565 fi
47566
47567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47568 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47569   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47570
47571
47572 for ac_func in ceilf floorf
47573 do
47574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47575 echo "$as_me:$LINENO: checking for $ac_func" >&5
47576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47577 if eval "test \"\${$as_ac_var+set}\" = set"; then
47578   echo $ECHO_N "(cached) $ECHO_C" >&6
47579 else
47580   if test x$gcc_no_link = xyes; then
47581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47583    { (exit 1); exit 1; }; }
47584 fi
47585 cat >conftest.$ac_ext <<_ACEOF
47586 /* confdefs.h.  */
47587 _ACEOF
47588 cat confdefs.h >>conftest.$ac_ext
47589 cat >>conftest.$ac_ext <<_ACEOF
47590 /* end confdefs.h.  */
47591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47593 #define $ac_func innocuous_$ac_func
47594
47595 /* System header to define __stub macros and hopefully few prototypes,
47596     which can conflict with char $ac_func (); below.
47597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47598     <limits.h> exists even on freestanding compilers.  */
47599
47600 #ifdef __STDC__
47601 # include <limits.h>
47602 #else
47603 # include <assert.h>
47604 #endif
47605
47606 #undef $ac_func
47607
47608 /* Override any gcc2 internal prototype to avoid an error.  */
47609 #ifdef __cplusplus
47610 extern "C"
47611 {
47612 #endif
47613 /* We use char because int might match the return type of a gcc2
47614    builtin and then its argument prototype would still apply.  */
47615 char $ac_func ();
47616 /* The GNU C library defines this for functions which it implements
47617     to always fail with ENOSYS.  Some functions are actually named
47618     something starting with __ and the normal name is an alias.  */
47619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47620 choke me
47621 #else
47622 char (*f) () = $ac_func;
47623 #endif
47624 #ifdef __cplusplus
47625 }
47626 #endif
47627
47628 int
47629 main ()
47630 {
47631 return f != $ac_func;
47632   ;
47633   return 0;
47634 }
47635 _ACEOF
47636 rm -f conftest.$ac_objext conftest$ac_exeext
47637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47638   (eval $ac_link) 2>conftest.er1
47639   ac_status=$?
47640   grep -v '^ *+' conftest.er1 >conftest.err
47641   rm -f conftest.er1
47642   cat conftest.err >&5
47643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47644   (exit $ac_status); } &&
47645          { ac_try='test -z "$ac_c_werror_flag"
47646                          || test ! -s conftest.err'
47647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47648   (eval $ac_try) 2>&5
47649   ac_status=$?
47650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47651   (exit $ac_status); }; } &&
47652          { ac_try='test -s conftest$ac_exeext'
47653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47654   (eval $ac_try) 2>&5
47655   ac_status=$?
47656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47657   (exit $ac_status); }; }; then
47658   eval "$as_ac_var=yes"
47659 else
47660   echo "$as_me: failed program was:" >&5
47661 sed 's/^/| /' conftest.$ac_ext >&5
47662
47663 eval "$as_ac_var=no"
47664 fi
47665 rm -f conftest.err conftest.$ac_objext \
47666       conftest$ac_exeext conftest.$ac_ext
47667 fi
47668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47670 if test `eval echo '${'$as_ac_var'}'` = yes; then
47671   cat >>confdefs.h <<_ACEOF
47672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47673 _ACEOF
47674
47675 fi
47676 done
47677
47678   else
47679     echo "$as_me:$LINENO: checking for _float round functions" >&5
47680 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47681     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47682   echo $ECHO_N "(cached) $ECHO_C" >&6
47683 else
47684
47685
47686
47687       ac_ext=cc
47688 ac_cpp='$CXXCPP $CPPFLAGS'
47689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47692
47693       cat >conftest.$ac_ext <<_ACEOF
47694 /* confdefs.h.  */
47695 _ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h.  */
47699 #include <math.h>
47700 int
47701 main ()
47702 {
47703 _ceilf (0); _floorf (0);
47704   ;
47705   return 0;
47706 }
47707 _ACEOF
47708 rm -f conftest.$ac_objext
47709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47710   (eval $ac_compile) 2>conftest.er1
47711   ac_status=$?
47712   grep -v '^ *+' conftest.er1 >conftest.err
47713   rm -f conftest.er1
47714   cat conftest.err >&5
47715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716   (exit $ac_status); } &&
47717          { ac_try='test -z "$ac_cxx_werror_flag"
47718                          || test ! -s conftest.err'
47719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47720   (eval $ac_try) 2>&5
47721   ac_status=$?
47722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723   (exit $ac_status); }; } &&
47724          { ac_try='test -s conftest.$ac_objext'
47725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726   (eval $ac_try) 2>&5
47727   ac_status=$?
47728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729   (exit $ac_status); }; }; then
47730   glibcxx_cv_func__float_round_use=yes
47731 else
47732   echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47734
47735 glibcxx_cv_func__float_round_use=no
47736 fi
47737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47738       ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744 fi
47745
47746     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47747 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47748     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47749
47750
47751 for ac_func in _ceilf _floorf
47752 do
47753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47754 echo "$as_me:$LINENO: checking for $ac_func" >&5
47755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47756 if eval "test \"\${$as_ac_var+set}\" = set"; then
47757   echo $ECHO_N "(cached) $ECHO_C" >&6
47758 else
47759   if test x$gcc_no_link = xyes; then
47760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47762    { (exit 1); exit 1; }; }
47763 fi
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h.  */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h.  */
47770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47772 #define $ac_func innocuous_$ac_func
47773
47774 /* System header to define __stub macros and hopefully few prototypes,
47775     which can conflict with char $ac_func (); below.
47776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47777     <limits.h> exists even on freestanding compilers.  */
47778
47779 #ifdef __STDC__
47780 # include <limits.h>
47781 #else
47782 # include <assert.h>
47783 #endif
47784
47785 #undef $ac_func
47786
47787 /* Override any gcc2 internal prototype to avoid an error.  */
47788 #ifdef __cplusplus
47789 extern "C"
47790 {
47791 #endif
47792 /* We use char because int might match the return type of a gcc2
47793    builtin and then its argument prototype would still apply.  */
47794 char $ac_func ();
47795 /* The GNU C library defines this for functions which it implements
47796     to always fail with ENOSYS.  Some functions are actually named
47797     something starting with __ and the normal name is an alias.  */
47798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47799 choke me
47800 #else
47801 char (*f) () = $ac_func;
47802 #endif
47803 #ifdef __cplusplus
47804 }
47805 #endif
47806
47807 int
47808 main ()
47809 {
47810 return f != $ac_func;
47811   ;
47812   return 0;
47813 }
47814 _ACEOF
47815 rm -f conftest.$ac_objext conftest$ac_exeext
47816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47817   (eval $ac_link) 2>conftest.er1
47818   ac_status=$?
47819   grep -v '^ *+' conftest.er1 >conftest.err
47820   rm -f conftest.er1
47821   cat conftest.err >&5
47822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823   (exit $ac_status); } &&
47824          { ac_try='test -z "$ac_c_werror_flag"
47825                          || test ! -s conftest.err'
47826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47827   (eval $ac_try) 2>&5
47828   ac_status=$?
47829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830   (exit $ac_status); }; } &&
47831          { ac_try='test -s conftest$ac_exeext'
47832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47833   (eval $ac_try) 2>&5
47834   ac_status=$?
47835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47836   (exit $ac_status); }; }; then
47837   eval "$as_ac_var=yes"
47838 else
47839   echo "$as_me: failed program was:" >&5
47840 sed 's/^/| /' conftest.$ac_ext >&5
47841
47842 eval "$as_ac_var=no"
47843 fi
47844 rm -f conftest.err conftest.$ac_objext \
47845       conftest$ac_exeext conftest.$ac_ext
47846 fi
47847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47849 if test `eval echo '${'$as_ac_var'}'` = yes; then
47850   cat >>confdefs.h <<_ACEOF
47851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47852 _ACEOF
47853
47854 fi
47855 done
47856
47857     fi
47858   fi
47859
47860
47861
47862
47863
47864
47865
47866
47867   echo "$as_me:$LINENO: checking for expf declaration" >&5
47868 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47869   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47870     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47871   echo $ECHO_N "(cached) $ECHO_C" >&6
47872 else
47873
47874
47875
47876       ac_ext=cc
47877 ac_cpp='$CXXCPP $CPPFLAGS'
47878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47881
47882       cat >conftest.$ac_ext <<_ACEOF
47883 /* confdefs.h.  */
47884 _ACEOF
47885 cat confdefs.h >>conftest.$ac_ext
47886 cat >>conftest.$ac_ext <<_ACEOF
47887 /* end confdefs.h.  */
47888 #include <math.h>
47889                       #ifdef HAVE_IEEEFP_H
47890                       #include <ieeefp.h>
47891                       #endif
47892
47893 int
47894 main ()
47895 {
47896  expf(0);
47897   ;
47898   return 0;
47899 }
47900 _ACEOF
47901 rm -f conftest.$ac_objext
47902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47903   (eval $ac_compile) 2>conftest.er1
47904   ac_status=$?
47905   grep -v '^ *+' conftest.er1 >conftest.err
47906   rm -f conftest.er1
47907   cat conftest.err >&5
47908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47909   (exit $ac_status); } &&
47910          { ac_try='test -z "$ac_cxx_werror_flag"
47911                          || test ! -s conftest.err'
47912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47913   (eval $ac_try) 2>&5
47914   ac_status=$?
47915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47916   (exit $ac_status); }; } &&
47917          { ac_try='test -s conftest.$ac_objext'
47918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47919   (eval $ac_try) 2>&5
47920   ac_status=$?
47921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47922   (exit $ac_status); }; }; then
47923   glibcxx_cv_func_expf_use=yes
47924 else
47925   echo "$as_me: failed program was:" >&5
47926 sed 's/^/| /' conftest.$ac_ext >&5
47927
47928 glibcxx_cv_func_expf_use=no
47929 fi
47930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47931       ac_ext=c
47932 ac_cpp='$CPP $CPPFLAGS'
47933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47936
47937
47938 fi
47939
47940   fi
47941   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47942 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47943
47944   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47945
47946 for ac_func in expf
47947 do
47948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47949 echo "$as_me:$LINENO: checking for $ac_func" >&5
47950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47951 if eval "test \"\${$as_ac_var+set}\" = set"; then
47952   echo $ECHO_N "(cached) $ECHO_C" >&6
47953 else
47954   if test x$gcc_no_link = xyes; then
47955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47957    { (exit 1); exit 1; }; }
47958 fi
47959 cat >conftest.$ac_ext <<_ACEOF
47960 /* confdefs.h.  */
47961 _ACEOF
47962 cat confdefs.h >>conftest.$ac_ext
47963 cat >>conftest.$ac_ext <<_ACEOF
47964 /* end confdefs.h.  */
47965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47967 #define $ac_func innocuous_$ac_func
47968
47969 /* System header to define __stub macros and hopefully few prototypes,
47970     which can conflict with char $ac_func (); below.
47971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47972     <limits.h> exists even on freestanding compilers.  */
47973
47974 #ifdef __STDC__
47975 # include <limits.h>
47976 #else
47977 # include <assert.h>
47978 #endif
47979
47980 #undef $ac_func
47981
47982 /* Override any gcc2 internal prototype to avoid an error.  */
47983 #ifdef __cplusplus
47984 extern "C"
47985 {
47986 #endif
47987 /* We use char because int might match the return type of a gcc2
47988    builtin and then its argument prototype would still apply.  */
47989 char $ac_func ();
47990 /* The GNU C library defines this for functions which it implements
47991     to always fail with ENOSYS.  Some functions are actually named
47992     something starting with __ and the normal name is an alias.  */
47993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47994 choke me
47995 #else
47996 char (*f) () = $ac_func;
47997 #endif
47998 #ifdef __cplusplus
47999 }
48000 #endif
48001
48002 int
48003 main ()
48004 {
48005 return f != $ac_func;
48006   ;
48007   return 0;
48008 }
48009 _ACEOF
48010 rm -f conftest.$ac_objext conftest$ac_exeext
48011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48012   (eval $ac_link) 2>conftest.er1
48013   ac_status=$?
48014   grep -v '^ *+' conftest.er1 >conftest.err
48015   rm -f conftest.er1
48016   cat conftest.err >&5
48017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48018   (exit $ac_status); } &&
48019          { ac_try='test -z "$ac_c_werror_flag"
48020                          || test ! -s conftest.err'
48021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48022   (eval $ac_try) 2>&5
48023   ac_status=$?
48024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48025   (exit $ac_status); }; } &&
48026          { ac_try='test -s conftest$ac_exeext'
48027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48028   (eval $ac_try) 2>&5
48029   ac_status=$?
48030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48031   (exit $ac_status); }; }; then
48032   eval "$as_ac_var=yes"
48033 else
48034   echo "$as_me: failed program was:" >&5
48035 sed 's/^/| /' conftest.$ac_ext >&5
48036
48037 eval "$as_ac_var=no"
48038 fi
48039 rm -f conftest.err conftest.$ac_objext \
48040       conftest$ac_exeext conftest.$ac_ext
48041 fi
48042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48044 if test `eval echo '${'$as_ac_var'}'` = yes; then
48045   cat >>confdefs.h <<_ACEOF
48046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48047 _ACEOF
48048
48049 fi
48050 done
48051
48052   else
48053
48054   echo "$as_me:$LINENO: checking for _expf declaration" >&5
48055 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
48056   if test x${glibcxx_cv_func__expf_use+set} != xset; then
48057     if test "${glibcxx_cv_func__expf_use+set}" = set; then
48058   echo $ECHO_N "(cached) $ECHO_C" >&6
48059 else
48060
48061
48062
48063       ac_ext=cc
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48068
48069       cat >conftest.$ac_ext <<_ACEOF
48070 /* confdefs.h.  */
48071 _ACEOF
48072 cat confdefs.h >>conftest.$ac_ext
48073 cat >>conftest.$ac_ext <<_ACEOF
48074 /* end confdefs.h.  */
48075 #include <math.h>
48076                       #ifdef HAVE_IEEEFP_H
48077                       #include <ieeefp.h>
48078                       #endif
48079
48080 int
48081 main ()
48082 {
48083  _expf(0);
48084   ;
48085   return 0;
48086 }
48087 _ACEOF
48088 rm -f conftest.$ac_objext
48089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48090   (eval $ac_compile) 2>conftest.er1
48091   ac_status=$?
48092   grep -v '^ *+' conftest.er1 >conftest.err
48093   rm -f conftest.er1
48094   cat conftest.err >&5
48095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48096   (exit $ac_status); } &&
48097          { ac_try='test -z "$ac_cxx_werror_flag"
48098                          || test ! -s conftest.err'
48099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48100   (eval $ac_try) 2>&5
48101   ac_status=$?
48102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103   (exit $ac_status); }; } &&
48104          { ac_try='test -s conftest.$ac_objext'
48105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48106   (eval $ac_try) 2>&5
48107   ac_status=$?
48108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109   (exit $ac_status); }; }; then
48110   glibcxx_cv_func__expf_use=yes
48111 else
48112   echo "$as_me: failed program was:" >&5
48113 sed 's/^/| /' conftest.$ac_ext >&5
48114
48115 glibcxx_cv_func__expf_use=no
48116 fi
48117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48118       ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48123
48124
48125 fi
48126
48127   fi
48128   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
48129 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
48130
48131     if test x$glibcxx_cv_func__expf_use = x"yes"; then
48132
48133 for ac_func in _expf
48134 do
48135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48136 echo "$as_me:$LINENO: checking for $ac_func" >&5
48137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48138 if eval "test \"\${$as_ac_var+set}\" = set"; then
48139   echo $ECHO_N "(cached) $ECHO_C" >&6
48140 else
48141   if test x$gcc_no_link = xyes; then
48142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48144    { (exit 1); exit 1; }; }
48145 fi
48146 cat >conftest.$ac_ext <<_ACEOF
48147 /* confdefs.h.  */
48148 _ACEOF
48149 cat confdefs.h >>conftest.$ac_ext
48150 cat >>conftest.$ac_ext <<_ACEOF
48151 /* end confdefs.h.  */
48152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48154 #define $ac_func innocuous_$ac_func
48155
48156 /* System header to define __stub macros and hopefully few prototypes,
48157     which can conflict with char $ac_func (); below.
48158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48159     <limits.h> exists even on freestanding compilers.  */
48160
48161 #ifdef __STDC__
48162 # include <limits.h>
48163 #else
48164 # include <assert.h>
48165 #endif
48166
48167 #undef $ac_func
48168
48169 /* Override any gcc2 internal prototype to avoid an error.  */
48170 #ifdef __cplusplus
48171 extern "C"
48172 {
48173 #endif
48174 /* We use char because int might match the return type of a gcc2
48175    builtin and then its argument prototype would still apply.  */
48176 char $ac_func ();
48177 /* The GNU C library defines this for functions which it implements
48178     to always fail with ENOSYS.  Some functions are actually named
48179     something starting with __ and the normal name is an alias.  */
48180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48181 choke me
48182 #else
48183 char (*f) () = $ac_func;
48184 #endif
48185 #ifdef __cplusplus
48186 }
48187 #endif
48188
48189 int
48190 main ()
48191 {
48192 return f != $ac_func;
48193   ;
48194   return 0;
48195 }
48196 _ACEOF
48197 rm -f conftest.$ac_objext conftest$ac_exeext
48198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48199   (eval $ac_link) 2>conftest.er1
48200   ac_status=$?
48201   grep -v '^ *+' conftest.er1 >conftest.err
48202   rm -f conftest.er1
48203   cat conftest.err >&5
48204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48205   (exit $ac_status); } &&
48206          { ac_try='test -z "$ac_c_werror_flag"
48207                          || test ! -s conftest.err'
48208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48209   (eval $ac_try) 2>&5
48210   ac_status=$?
48211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48212   (exit $ac_status); }; } &&
48213          { ac_try='test -s conftest$ac_exeext'
48214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48215   (eval $ac_try) 2>&5
48216   ac_status=$?
48217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218   (exit $ac_status); }; }; then
48219   eval "$as_ac_var=yes"
48220 else
48221   echo "$as_me: failed program was:" >&5
48222 sed 's/^/| /' conftest.$ac_ext >&5
48223
48224 eval "$as_ac_var=no"
48225 fi
48226 rm -f conftest.err conftest.$ac_objext \
48227       conftest$ac_exeext conftest.$ac_ext
48228 fi
48229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48231 if test `eval echo '${'$as_ac_var'}'` = yes; then
48232   cat >>confdefs.h <<_ACEOF
48233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48234 _ACEOF
48235
48236 fi
48237 done
48238
48239     fi
48240   fi
48241
48242
48243
48244
48245
48246
48247   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
48248 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
48249   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48250     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
48251   echo $ECHO_N "(cached) $ECHO_C" >&6
48252 else
48253
48254
48255
48256       ac_ext=cc
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261
48262       cat >conftest.$ac_ext <<_ACEOF
48263 /* confdefs.h.  */
48264 _ACEOF
48265 cat confdefs.h >>conftest.$ac_ext
48266 cat >>conftest.$ac_ext <<_ACEOF
48267 /* end confdefs.h.  */
48268 #include <math.h>
48269                       #ifdef HAVE_IEEEFP_H
48270                       #include <ieeefp.h>
48271                       #endif
48272
48273 int
48274 main ()
48275 {
48276  isnanf(0);
48277   ;
48278   return 0;
48279 }
48280 _ACEOF
48281 rm -f conftest.$ac_objext
48282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48283   (eval $ac_compile) 2>conftest.er1
48284   ac_status=$?
48285   grep -v '^ *+' conftest.er1 >conftest.err
48286   rm -f conftest.er1
48287   cat conftest.err >&5
48288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48289   (exit $ac_status); } &&
48290          { ac_try='test -z "$ac_cxx_werror_flag"
48291                          || test ! -s conftest.err'
48292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48293   (eval $ac_try) 2>&5
48294   ac_status=$?
48295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296   (exit $ac_status); }; } &&
48297          { ac_try='test -s conftest.$ac_objext'
48298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48299   (eval $ac_try) 2>&5
48300   ac_status=$?
48301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48302   (exit $ac_status); }; }; then
48303   glibcxx_cv_func_isnanf_use=yes
48304 else
48305   echo "$as_me: failed program was:" >&5
48306 sed 's/^/| /' conftest.$ac_ext >&5
48307
48308 glibcxx_cv_func_isnanf_use=no
48309 fi
48310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48311       ac_ext=c
48312 ac_cpp='$CPP $CPPFLAGS'
48313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48316
48317
48318 fi
48319
48320   fi
48321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
48322 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
48323
48324   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48325
48326 for ac_func in isnanf
48327 do
48328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48329 echo "$as_me:$LINENO: checking for $ac_func" >&5
48330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48331 if eval "test \"\${$as_ac_var+set}\" = set"; then
48332   echo $ECHO_N "(cached) $ECHO_C" >&6
48333 else
48334   if test x$gcc_no_link = xyes; then
48335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48337    { (exit 1); exit 1; }; }
48338 fi
48339 cat >conftest.$ac_ext <<_ACEOF
48340 /* confdefs.h.  */
48341 _ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h.  */
48345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48347 #define $ac_func innocuous_$ac_func
48348
48349 /* System header to define __stub macros and hopefully few prototypes,
48350     which can conflict with char $ac_func (); below.
48351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48352     <limits.h> exists even on freestanding compilers.  */
48353
48354 #ifdef __STDC__
48355 # include <limits.h>
48356 #else
48357 # include <assert.h>
48358 #endif
48359
48360 #undef $ac_func
48361
48362 /* Override any gcc2 internal prototype to avoid an error.  */
48363 #ifdef __cplusplus
48364 extern "C"
48365 {
48366 #endif
48367 /* We use char because int might match the return type of a gcc2
48368    builtin and then its argument prototype would still apply.  */
48369 char $ac_func ();
48370 /* The GNU C library defines this for functions which it implements
48371     to always fail with ENOSYS.  Some functions are actually named
48372     something starting with __ and the normal name is an alias.  */
48373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48374 choke me
48375 #else
48376 char (*f) () = $ac_func;
48377 #endif
48378 #ifdef __cplusplus
48379 }
48380 #endif
48381
48382 int
48383 main ()
48384 {
48385 return f != $ac_func;
48386   ;
48387   return 0;
48388 }
48389 _ACEOF
48390 rm -f conftest.$ac_objext conftest$ac_exeext
48391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48392   (eval $ac_link) 2>conftest.er1
48393   ac_status=$?
48394   grep -v '^ *+' conftest.er1 >conftest.err
48395   rm -f conftest.er1
48396   cat conftest.err >&5
48397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398   (exit $ac_status); } &&
48399          { ac_try='test -z "$ac_c_werror_flag"
48400                          || test ! -s conftest.err'
48401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48402   (eval $ac_try) 2>&5
48403   ac_status=$?
48404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405   (exit $ac_status); }; } &&
48406          { ac_try='test -s conftest$ac_exeext'
48407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48408   (eval $ac_try) 2>&5
48409   ac_status=$?
48410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48411   (exit $ac_status); }; }; then
48412   eval "$as_ac_var=yes"
48413 else
48414   echo "$as_me: failed program was:" >&5
48415 sed 's/^/| /' conftest.$ac_ext >&5
48416
48417 eval "$as_ac_var=no"
48418 fi
48419 rm -f conftest.err conftest.$ac_objext \
48420       conftest$ac_exeext conftest.$ac_ext
48421 fi
48422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48424 if test `eval echo '${'$as_ac_var'}'` = yes; then
48425   cat >>confdefs.h <<_ACEOF
48426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48427 _ACEOF
48428
48429 fi
48430 done
48431
48432   else
48433
48434   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
48435 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
48436   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48437     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
48438   echo $ECHO_N "(cached) $ECHO_C" >&6
48439 else
48440
48441
48442
48443       ac_ext=cc
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448
48449       cat >conftest.$ac_ext <<_ACEOF
48450 /* confdefs.h.  */
48451 _ACEOF
48452 cat confdefs.h >>conftest.$ac_ext
48453 cat >>conftest.$ac_ext <<_ACEOF
48454 /* end confdefs.h.  */
48455 #include <math.h>
48456                       #ifdef HAVE_IEEEFP_H
48457                       #include <ieeefp.h>
48458                       #endif
48459
48460 int
48461 main ()
48462 {
48463  _isnanf(0);
48464   ;
48465   return 0;
48466 }
48467 _ACEOF
48468 rm -f conftest.$ac_objext
48469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48470   (eval $ac_compile) 2>conftest.er1
48471   ac_status=$?
48472   grep -v '^ *+' conftest.er1 >conftest.err
48473   rm -f conftest.er1
48474   cat conftest.err >&5
48475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476   (exit $ac_status); } &&
48477          { ac_try='test -z "$ac_cxx_werror_flag"
48478                          || test ! -s conftest.err'
48479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48480   (eval $ac_try) 2>&5
48481   ac_status=$?
48482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48483   (exit $ac_status); }; } &&
48484          { ac_try='test -s conftest.$ac_objext'
48485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48486   (eval $ac_try) 2>&5
48487   ac_status=$?
48488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489   (exit $ac_status); }; }; then
48490   glibcxx_cv_func__isnanf_use=yes
48491 else
48492   echo "$as_me: failed program was:" >&5
48493 sed 's/^/| /' conftest.$ac_ext >&5
48494
48495 glibcxx_cv_func__isnanf_use=no
48496 fi
48497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48498       ac_ext=c
48499 ac_cpp='$CPP $CPPFLAGS'
48500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48503
48504
48505 fi
48506
48507   fi
48508   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
48509 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
48510
48511     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48512
48513 for ac_func in _isnanf
48514 do
48515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48516 echo "$as_me:$LINENO: checking for $ac_func" >&5
48517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48518 if eval "test \"\${$as_ac_var+set}\" = set"; then
48519   echo $ECHO_N "(cached) $ECHO_C" >&6
48520 else
48521   if test x$gcc_no_link = xyes; then
48522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48524    { (exit 1); exit 1; }; }
48525 fi
48526 cat >conftest.$ac_ext <<_ACEOF
48527 /* confdefs.h.  */
48528 _ACEOF
48529 cat confdefs.h >>conftest.$ac_ext
48530 cat >>conftest.$ac_ext <<_ACEOF
48531 /* end confdefs.h.  */
48532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48534 #define $ac_func innocuous_$ac_func
48535
48536 /* System header to define __stub macros and hopefully few prototypes,
48537     which can conflict with char $ac_func (); below.
48538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48539     <limits.h> exists even on freestanding compilers.  */
48540
48541 #ifdef __STDC__
48542 # include <limits.h>
48543 #else
48544 # include <assert.h>
48545 #endif
48546
48547 #undef $ac_func
48548
48549 /* Override any gcc2 internal prototype to avoid an error.  */
48550 #ifdef __cplusplus
48551 extern "C"
48552 {
48553 #endif
48554 /* We use char because int might match the return type of a gcc2
48555    builtin and then its argument prototype would still apply.  */
48556 char $ac_func ();
48557 /* The GNU C library defines this for functions which it implements
48558     to always fail with ENOSYS.  Some functions are actually named
48559     something starting with __ and the normal name is an alias.  */
48560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48561 choke me
48562 #else
48563 char (*f) () = $ac_func;
48564 #endif
48565 #ifdef __cplusplus
48566 }
48567 #endif
48568
48569 int
48570 main ()
48571 {
48572 return f != $ac_func;
48573   ;
48574   return 0;
48575 }
48576 _ACEOF
48577 rm -f conftest.$ac_objext conftest$ac_exeext
48578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48579   (eval $ac_link) 2>conftest.er1
48580   ac_status=$?
48581   grep -v '^ *+' conftest.er1 >conftest.err
48582   rm -f conftest.er1
48583   cat conftest.err >&5
48584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585   (exit $ac_status); } &&
48586          { ac_try='test -z "$ac_c_werror_flag"
48587                          || test ! -s conftest.err'
48588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48589   (eval $ac_try) 2>&5
48590   ac_status=$?
48591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48592   (exit $ac_status); }; } &&
48593          { ac_try='test -s conftest$ac_exeext'
48594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48595   (eval $ac_try) 2>&5
48596   ac_status=$?
48597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598   (exit $ac_status); }; }; then
48599   eval "$as_ac_var=yes"
48600 else
48601   echo "$as_me: failed program was:" >&5
48602 sed 's/^/| /' conftest.$ac_ext >&5
48603
48604 eval "$as_ac_var=no"
48605 fi
48606 rm -f conftest.err conftest.$ac_objext \
48607       conftest$ac_exeext conftest.$ac_ext
48608 fi
48609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48611 if test `eval echo '${'$as_ac_var'}'` = yes; then
48612   cat >>confdefs.h <<_ACEOF
48613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48614 _ACEOF
48615
48616 fi
48617 done
48618
48619     fi
48620   fi
48621
48622
48623
48624
48625
48626
48627   echo "$as_me:$LINENO: checking for isinff declaration" >&5
48628 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48629   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48630     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48631   echo $ECHO_N "(cached) $ECHO_C" >&6
48632 else
48633
48634
48635
48636       ac_ext=cc
48637 ac_cpp='$CXXCPP $CPPFLAGS'
48638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48641
48642       cat >conftest.$ac_ext <<_ACEOF
48643 /* confdefs.h.  */
48644 _ACEOF
48645 cat confdefs.h >>conftest.$ac_ext
48646 cat >>conftest.$ac_ext <<_ACEOF
48647 /* end confdefs.h.  */
48648 #include <math.h>
48649                       #ifdef HAVE_IEEEFP_H
48650                       #include <ieeefp.h>
48651                       #endif
48652
48653 int
48654 main ()
48655 {
48656  isinff(0);
48657   ;
48658   return 0;
48659 }
48660 _ACEOF
48661 rm -f conftest.$ac_objext
48662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48663   (eval $ac_compile) 2>conftest.er1
48664   ac_status=$?
48665   grep -v '^ *+' conftest.er1 >conftest.err
48666   rm -f conftest.er1
48667   cat conftest.err >&5
48668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669   (exit $ac_status); } &&
48670          { ac_try='test -z "$ac_cxx_werror_flag"
48671                          || test ! -s conftest.err'
48672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48673   (eval $ac_try) 2>&5
48674   ac_status=$?
48675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48676   (exit $ac_status); }; } &&
48677          { ac_try='test -s conftest.$ac_objext'
48678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48679   (eval $ac_try) 2>&5
48680   ac_status=$?
48681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682   (exit $ac_status); }; }; then
48683   glibcxx_cv_func_isinff_use=yes
48684 else
48685   echo "$as_me: failed program was:" >&5
48686 sed 's/^/| /' conftest.$ac_ext >&5
48687
48688 glibcxx_cv_func_isinff_use=no
48689 fi
48690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48691       ac_ext=c
48692 ac_cpp='$CPP $CPPFLAGS'
48693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48696
48697
48698 fi
48699
48700   fi
48701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48702 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48703
48704   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48705
48706 for ac_func in isinff
48707 do
48708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48709 echo "$as_me:$LINENO: checking for $ac_func" >&5
48710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48711 if eval "test \"\${$as_ac_var+set}\" = set"; then
48712   echo $ECHO_N "(cached) $ECHO_C" >&6
48713 else
48714   if test x$gcc_no_link = xyes; then
48715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48717    { (exit 1); exit 1; }; }
48718 fi
48719 cat >conftest.$ac_ext <<_ACEOF
48720 /* confdefs.h.  */
48721 _ACEOF
48722 cat confdefs.h >>conftest.$ac_ext
48723 cat >>conftest.$ac_ext <<_ACEOF
48724 /* end confdefs.h.  */
48725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48727 #define $ac_func innocuous_$ac_func
48728
48729 /* System header to define __stub macros and hopefully few prototypes,
48730     which can conflict with char $ac_func (); below.
48731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48732     <limits.h> exists even on freestanding compilers.  */
48733
48734 #ifdef __STDC__
48735 # include <limits.h>
48736 #else
48737 # include <assert.h>
48738 #endif
48739
48740 #undef $ac_func
48741
48742 /* Override any gcc2 internal prototype to avoid an error.  */
48743 #ifdef __cplusplus
48744 extern "C"
48745 {
48746 #endif
48747 /* We use char because int might match the return type of a gcc2
48748    builtin and then its argument prototype would still apply.  */
48749 char $ac_func ();
48750 /* The GNU C library defines this for functions which it implements
48751     to always fail with ENOSYS.  Some functions are actually named
48752     something starting with __ and the normal name is an alias.  */
48753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48754 choke me
48755 #else
48756 char (*f) () = $ac_func;
48757 #endif
48758 #ifdef __cplusplus
48759 }
48760 #endif
48761
48762 int
48763 main ()
48764 {
48765 return f != $ac_func;
48766   ;
48767   return 0;
48768 }
48769 _ACEOF
48770 rm -f conftest.$ac_objext conftest$ac_exeext
48771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48772   (eval $ac_link) 2>conftest.er1
48773   ac_status=$?
48774   grep -v '^ *+' conftest.er1 >conftest.err
48775   rm -f conftest.er1
48776   cat conftest.err >&5
48777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48778   (exit $ac_status); } &&
48779          { ac_try='test -z "$ac_c_werror_flag"
48780                          || test ! -s conftest.err'
48781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48782   (eval $ac_try) 2>&5
48783   ac_status=$?
48784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48785   (exit $ac_status); }; } &&
48786          { ac_try='test -s conftest$ac_exeext'
48787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48788   (eval $ac_try) 2>&5
48789   ac_status=$?
48790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791   (exit $ac_status); }; }; then
48792   eval "$as_ac_var=yes"
48793 else
48794   echo "$as_me: failed program was:" >&5
48795 sed 's/^/| /' conftest.$ac_ext >&5
48796
48797 eval "$as_ac_var=no"
48798 fi
48799 rm -f conftest.err conftest.$ac_objext \
48800       conftest$ac_exeext conftest.$ac_ext
48801 fi
48802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48804 if test `eval echo '${'$as_ac_var'}'` = yes; then
48805   cat >>confdefs.h <<_ACEOF
48806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48807 _ACEOF
48808
48809 fi
48810 done
48811
48812   else
48813
48814   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48815 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48816   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48817     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48818   echo $ECHO_N "(cached) $ECHO_C" >&6
48819 else
48820
48821
48822
48823       ac_ext=cc
48824 ac_cpp='$CXXCPP $CPPFLAGS'
48825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48828
48829       cat >conftest.$ac_ext <<_ACEOF
48830 /* confdefs.h.  */
48831 _ACEOF
48832 cat confdefs.h >>conftest.$ac_ext
48833 cat >>conftest.$ac_ext <<_ACEOF
48834 /* end confdefs.h.  */
48835 #include <math.h>
48836                       #ifdef HAVE_IEEEFP_H
48837                       #include <ieeefp.h>
48838                       #endif
48839
48840 int
48841 main ()
48842 {
48843  _isinff(0);
48844   ;
48845   return 0;
48846 }
48847 _ACEOF
48848 rm -f conftest.$ac_objext
48849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48850   (eval $ac_compile) 2>conftest.er1
48851   ac_status=$?
48852   grep -v '^ *+' conftest.er1 >conftest.err
48853   rm -f conftest.er1
48854   cat conftest.err >&5
48855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856   (exit $ac_status); } &&
48857          { ac_try='test -z "$ac_cxx_werror_flag"
48858                          || test ! -s conftest.err'
48859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48860   (eval $ac_try) 2>&5
48861   ac_status=$?
48862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863   (exit $ac_status); }; } &&
48864          { ac_try='test -s conftest.$ac_objext'
48865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48866   (eval $ac_try) 2>&5
48867   ac_status=$?
48868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869   (exit $ac_status); }; }; then
48870   glibcxx_cv_func__isinff_use=yes
48871 else
48872   echo "$as_me: failed program was:" >&5
48873 sed 's/^/| /' conftest.$ac_ext >&5
48874
48875 glibcxx_cv_func__isinff_use=no
48876 fi
48877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48878       ac_ext=c
48879 ac_cpp='$CPP $CPPFLAGS'
48880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48883
48884
48885 fi
48886
48887   fi
48888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48889 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48890
48891     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48892
48893 for ac_func in _isinff
48894 do
48895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48896 echo "$as_me:$LINENO: checking for $ac_func" >&5
48897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48898 if eval "test \"\${$as_ac_var+set}\" = set"; then
48899   echo $ECHO_N "(cached) $ECHO_C" >&6
48900 else
48901   if test x$gcc_no_link = xyes; then
48902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48904    { (exit 1); exit 1; }; }
48905 fi
48906 cat >conftest.$ac_ext <<_ACEOF
48907 /* confdefs.h.  */
48908 _ACEOF
48909 cat confdefs.h >>conftest.$ac_ext
48910 cat >>conftest.$ac_ext <<_ACEOF
48911 /* end confdefs.h.  */
48912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48914 #define $ac_func innocuous_$ac_func
48915
48916 /* System header to define __stub macros and hopefully few prototypes,
48917     which can conflict with char $ac_func (); below.
48918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48919     <limits.h> exists even on freestanding compilers.  */
48920
48921 #ifdef __STDC__
48922 # include <limits.h>
48923 #else
48924 # include <assert.h>
48925 #endif
48926
48927 #undef $ac_func
48928
48929 /* Override any gcc2 internal prototype to avoid an error.  */
48930 #ifdef __cplusplus
48931 extern "C"
48932 {
48933 #endif
48934 /* We use char because int might match the return type of a gcc2
48935    builtin and then its argument prototype would still apply.  */
48936 char $ac_func ();
48937 /* The GNU C library defines this for functions which it implements
48938     to always fail with ENOSYS.  Some functions are actually named
48939     something starting with __ and the normal name is an alias.  */
48940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48941 choke me
48942 #else
48943 char (*f) () = $ac_func;
48944 #endif
48945 #ifdef __cplusplus
48946 }
48947 #endif
48948
48949 int
48950 main ()
48951 {
48952 return f != $ac_func;
48953   ;
48954   return 0;
48955 }
48956 _ACEOF
48957 rm -f conftest.$ac_objext conftest$ac_exeext
48958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48959   (eval $ac_link) 2>conftest.er1
48960   ac_status=$?
48961   grep -v '^ *+' conftest.er1 >conftest.err
48962   rm -f conftest.er1
48963   cat conftest.err >&5
48964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965   (exit $ac_status); } &&
48966          { ac_try='test -z "$ac_c_werror_flag"
48967                          || test ! -s conftest.err'
48968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969   (eval $ac_try) 2>&5
48970   ac_status=$?
48971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972   (exit $ac_status); }; } &&
48973          { ac_try='test -s conftest$ac_exeext'
48974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975   (eval $ac_try) 2>&5
48976   ac_status=$?
48977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978   (exit $ac_status); }; }; then
48979   eval "$as_ac_var=yes"
48980 else
48981   echo "$as_me: failed program was:" >&5
48982 sed 's/^/| /' conftest.$ac_ext >&5
48983
48984 eval "$as_ac_var=no"
48985 fi
48986 rm -f conftest.err conftest.$ac_objext \
48987       conftest$ac_exeext conftest.$ac_ext
48988 fi
48989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48991 if test `eval echo '${'$as_ac_var'}'` = yes; then
48992   cat >>confdefs.h <<_ACEOF
48993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48994 _ACEOF
48995
48996 fi
48997 done
48998
48999     fi
49000   fi
49001
49002
49003
49004
49005
49006
49007   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
49008 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
49009   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49010     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
49011   echo $ECHO_N "(cached) $ECHO_C" >&6
49012 else
49013
49014
49015
49016       ac_ext=cc
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49021
49022       cat >conftest.$ac_ext <<_ACEOF
49023 /* confdefs.h.  */
49024 _ACEOF
49025 cat confdefs.h >>conftest.$ac_ext
49026 cat >>conftest.$ac_ext <<_ACEOF
49027 /* end confdefs.h.  */
49028 #include <math.h>
49029 int
49030 main ()
49031 {
49032  atan2f(0, 0);
49033   ;
49034   return 0;
49035 }
49036 _ACEOF
49037 rm -f conftest.$ac_objext
49038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49039   (eval $ac_compile) 2>conftest.er1
49040   ac_status=$?
49041   grep -v '^ *+' conftest.er1 >conftest.err
49042   rm -f conftest.er1
49043   cat conftest.err >&5
49044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045   (exit $ac_status); } &&
49046          { ac_try='test -z "$ac_cxx_werror_flag"
49047                          || test ! -s conftest.err'
49048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49049   (eval $ac_try) 2>&5
49050   ac_status=$?
49051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49052   (exit $ac_status); }; } &&
49053          { ac_try='test -s conftest.$ac_objext'
49054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49055   (eval $ac_try) 2>&5
49056   ac_status=$?
49057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058   (exit $ac_status); }; }; then
49059   glibcxx_cv_func_atan2f_use=yes
49060 else
49061   echo "$as_me: failed program was:" >&5
49062 sed 's/^/| /' conftest.$ac_ext >&5
49063
49064 glibcxx_cv_func_atan2f_use=no
49065 fi
49066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49067       ac_ext=c
49068 ac_cpp='$CPP $CPPFLAGS'
49069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49072
49073
49074 fi
49075
49076   fi
49077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
49078 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
49079
49080   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49081
49082 for ac_func in atan2f
49083 do
49084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49085 echo "$as_me:$LINENO: checking for $ac_func" >&5
49086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49087 if eval "test \"\${$as_ac_var+set}\" = set"; then
49088   echo $ECHO_N "(cached) $ECHO_C" >&6
49089 else
49090   if test x$gcc_no_link = xyes; then
49091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49093    { (exit 1); exit 1; }; }
49094 fi
49095 cat >conftest.$ac_ext <<_ACEOF
49096 /* confdefs.h.  */
49097 _ACEOF
49098 cat confdefs.h >>conftest.$ac_ext
49099 cat >>conftest.$ac_ext <<_ACEOF
49100 /* end confdefs.h.  */
49101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49103 #define $ac_func innocuous_$ac_func
49104
49105 /* System header to define __stub macros and hopefully few prototypes,
49106     which can conflict with char $ac_func (); below.
49107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49108     <limits.h> exists even on freestanding compilers.  */
49109
49110 #ifdef __STDC__
49111 # include <limits.h>
49112 #else
49113 # include <assert.h>
49114 #endif
49115
49116 #undef $ac_func
49117
49118 /* Override any gcc2 internal prototype to avoid an error.  */
49119 #ifdef __cplusplus
49120 extern "C"
49121 {
49122 #endif
49123 /* We use char because int might match the return type of a gcc2
49124    builtin and then its argument prototype would still apply.  */
49125 char $ac_func ();
49126 /* The GNU C library defines this for functions which it implements
49127     to always fail with ENOSYS.  Some functions are actually named
49128     something starting with __ and the normal name is an alias.  */
49129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49130 choke me
49131 #else
49132 char (*f) () = $ac_func;
49133 #endif
49134 #ifdef __cplusplus
49135 }
49136 #endif
49137
49138 int
49139 main ()
49140 {
49141 return f != $ac_func;
49142   ;
49143   return 0;
49144 }
49145 _ACEOF
49146 rm -f conftest.$ac_objext conftest$ac_exeext
49147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49148   (eval $ac_link) 2>conftest.er1
49149   ac_status=$?
49150   grep -v '^ *+' conftest.er1 >conftest.err
49151   rm -f conftest.er1
49152   cat conftest.err >&5
49153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49154   (exit $ac_status); } &&
49155          { ac_try='test -z "$ac_c_werror_flag"
49156                          || test ! -s conftest.err'
49157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49158   (eval $ac_try) 2>&5
49159   ac_status=$?
49160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161   (exit $ac_status); }; } &&
49162          { ac_try='test -s conftest$ac_exeext'
49163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164   (eval $ac_try) 2>&5
49165   ac_status=$?
49166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167   (exit $ac_status); }; }; then
49168   eval "$as_ac_var=yes"
49169 else
49170   echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49172
49173 eval "$as_ac_var=no"
49174 fi
49175 rm -f conftest.err conftest.$ac_objext \
49176       conftest$ac_exeext conftest.$ac_ext
49177 fi
49178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49180 if test `eval echo '${'$as_ac_var'}'` = yes; then
49181   cat >>confdefs.h <<_ACEOF
49182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49183 _ACEOF
49184
49185 fi
49186 done
49187
49188   else
49189
49190   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
49191 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
49192   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49193     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
49194   echo $ECHO_N "(cached) $ECHO_C" >&6
49195 else
49196
49197
49198
49199       ac_ext=cc
49200 ac_cpp='$CXXCPP $CPPFLAGS'
49201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49204
49205       cat >conftest.$ac_ext <<_ACEOF
49206 /* confdefs.h.  */
49207 _ACEOF
49208 cat confdefs.h >>conftest.$ac_ext
49209 cat >>conftest.$ac_ext <<_ACEOF
49210 /* end confdefs.h.  */
49211 #include <math.h>
49212 int
49213 main ()
49214 {
49215  _atan2f(0, 0);
49216   ;
49217   return 0;
49218 }
49219 _ACEOF
49220 rm -f conftest.$ac_objext
49221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49222   (eval $ac_compile) 2>conftest.er1
49223   ac_status=$?
49224   grep -v '^ *+' conftest.er1 >conftest.err
49225   rm -f conftest.er1
49226   cat conftest.err >&5
49227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228   (exit $ac_status); } &&
49229          { ac_try='test -z "$ac_cxx_werror_flag"
49230                          || test ! -s conftest.err'
49231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49232   (eval $ac_try) 2>&5
49233   ac_status=$?
49234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49235   (exit $ac_status); }; } &&
49236          { ac_try='test -s conftest.$ac_objext'
49237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49238   (eval $ac_try) 2>&5
49239   ac_status=$?
49240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49241   (exit $ac_status); }; }; then
49242   glibcxx_cv_func__atan2f_use=yes
49243 else
49244   echo "$as_me: failed program was:" >&5
49245 sed 's/^/| /' conftest.$ac_ext >&5
49246
49247 glibcxx_cv_func__atan2f_use=no
49248 fi
49249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49250       ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49255
49256
49257 fi
49258
49259   fi
49260   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
49261 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
49262
49263     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49264
49265 for ac_func in _atan2f
49266 do
49267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49268 echo "$as_me:$LINENO: checking for $ac_func" >&5
49269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49270 if eval "test \"\${$as_ac_var+set}\" = set"; then
49271   echo $ECHO_N "(cached) $ECHO_C" >&6
49272 else
49273   if test x$gcc_no_link = xyes; then
49274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49276    { (exit 1); exit 1; }; }
49277 fi
49278 cat >conftest.$ac_ext <<_ACEOF
49279 /* confdefs.h.  */
49280 _ACEOF
49281 cat confdefs.h >>conftest.$ac_ext
49282 cat >>conftest.$ac_ext <<_ACEOF
49283 /* end confdefs.h.  */
49284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49286 #define $ac_func innocuous_$ac_func
49287
49288 /* System header to define __stub macros and hopefully few prototypes,
49289     which can conflict with char $ac_func (); below.
49290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49291     <limits.h> exists even on freestanding compilers.  */
49292
49293 #ifdef __STDC__
49294 # include <limits.h>
49295 #else
49296 # include <assert.h>
49297 #endif
49298
49299 #undef $ac_func
49300
49301 /* Override any gcc2 internal prototype to avoid an error.  */
49302 #ifdef __cplusplus
49303 extern "C"
49304 {
49305 #endif
49306 /* We use char because int might match the return type of a gcc2
49307    builtin and then its argument prototype would still apply.  */
49308 char $ac_func ();
49309 /* The GNU C library defines this for functions which it implements
49310     to always fail with ENOSYS.  Some functions are actually named
49311     something starting with __ and the normal name is an alias.  */
49312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49313 choke me
49314 #else
49315 char (*f) () = $ac_func;
49316 #endif
49317 #ifdef __cplusplus
49318 }
49319 #endif
49320
49321 int
49322 main ()
49323 {
49324 return f != $ac_func;
49325   ;
49326   return 0;
49327 }
49328 _ACEOF
49329 rm -f conftest.$ac_objext conftest$ac_exeext
49330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49331   (eval $ac_link) 2>conftest.er1
49332   ac_status=$?
49333   grep -v '^ *+' conftest.er1 >conftest.err
49334   rm -f conftest.er1
49335   cat conftest.err >&5
49336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337   (exit $ac_status); } &&
49338          { ac_try='test -z "$ac_c_werror_flag"
49339                          || test ! -s conftest.err'
49340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49341   (eval $ac_try) 2>&5
49342   ac_status=$?
49343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49344   (exit $ac_status); }; } &&
49345          { ac_try='test -s conftest$ac_exeext'
49346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49347   (eval $ac_try) 2>&5
49348   ac_status=$?
49349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49350   (exit $ac_status); }; }; then
49351   eval "$as_ac_var=yes"
49352 else
49353   echo "$as_me: failed program was:" >&5
49354 sed 's/^/| /' conftest.$ac_ext >&5
49355
49356 eval "$as_ac_var=no"
49357 fi
49358 rm -f conftest.err conftest.$ac_objext \
49359       conftest$ac_exeext conftest.$ac_ext
49360 fi
49361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49363 if test `eval echo '${'$as_ac_var'}'` = yes; then
49364   cat >>confdefs.h <<_ACEOF
49365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49366 _ACEOF
49367
49368 fi
49369 done
49370
49371     fi
49372   fi
49373
49374
49375
49376
49377
49378
49379   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
49380 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
49381   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49382     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
49383   echo $ECHO_N "(cached) $ECHO_C" >&6
49384 else
49385
49386
49387
49388       ac_ext=cc
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393
49394       cat >conftest.$ac_ext <<_ACEOF
49395 /* confdefs.h.  */
49396 _ACEOF
49397 cat confdefs.h >>conftest.$ac_ext
49398 cat >>conftest.$ac_ext <<_ACEOF
49399 /* end confdefs.h.  */
49400 #include <math.h>
49401                       #ifdef HAVE_IEEEFP_H
49402                       #include <ieeefp.h>
49403                       #endif
49404
49405 int
49406 main ()
49407 {
49408  fabsf(0);
49409   ;
49410   return 0;
49411 }
49412 _ACEOF
49413 rm -f conftest.$ac_objext
49414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49415   (eval $ac_compile) 2>conftest.er1
49416   ac_status=$?
49417   grep -v '^ *+' conftest.er1 >conftest.err
49418   rm -f conftest.er1
49419   cat conftest.err >&5
49420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421   (exit $ac_status); } &&
49422          { ac_try='test -z "$ac_cxx_werror_flag"
49423                          || test ! -s conftest.err'
49424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49425   (eval $ac_try) 2>&5
49426   ac_status=$?
49427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49428   (exit $ac_status); }; } &&
49429          { ac_try='test -s conftest.$ac_objext'
49430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49431   (eval $ac_try) 2>&5
49432   ac_status=$?
49433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49434   (exit $ac_status); }; }; then
49435   glibcxx_cv_func_fabsf_use=yes
49436 else
49437   echo "$as_me: failed program was:" >&5
49438 sed 's/^/| /' conftest.$ac_ext >&5
49439
49440 glibcxx_cv_func_fabsf_use=no
49441 fi
49442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49443       ac_ext=c
49444 ac_cpp='$CPP $CPPFLAGS'
49445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49448
49449
49450 fi
49451
49452   fi
49453   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
49454 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
49455
49456   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49457
49458 for ac_func in fabsf
49459 do
49460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49461 echo "$as_me:$LINENO: checking for $ac_func" >&5
49462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49463 if eval "test \"\${$as_ac_var+set}\" = set"; then
49464   echo $ECHO_N "(cached) $ECHO_C" >&6
49465 else
49466   if test x$gcc_no_link = xyes; then
49467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49469    { (exit 1); exit 1; }; }
49470 fi
49471 cat >conftest.$ac_ext <<_ACEOF
49472 /* confdefs.h.  */
49473 _ACEOF
49474 cat confdefs.h >>conftest.$ac_ext
49475 cat >>conftest.$ac_ext <<_ACEOF
49476 /* end confdefs.h.  */
49477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49479 #define $ac_func innocuous_$ac_func
49480
49481 /* System header to define __stub macros and hopefully few prototypes,
49482     which can conflict with char $ac_func (); below.
49483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49484     <limits.h> exists even on freestanding compilers.  */
49485
49486 #ifdef __STDC__
49487 # include <limits.h>
49488 #else
49489 # include <assert.h>
49490 #endif
49491
49492 #undef $ac_func
49493
49494 /* Override any gcc2 internal prototype to avoid an error.  */
49495 #ifdef __cplusplus
49496 extern "C"
49497 {
49498 #endif
49499 /* We use char because int might match the return type of a gcc2
49500    builtin and then its argument prototype would still apply.  */
49501 char $ac_func ();
49502 /* The GNU C library defines this for functions which it implements
49503     to always fail with ENOSYS.  Some functions are actually named
49504     something starting with __ and the normal name is an alias.  */
49505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49506 choke me
49507 #else
49508 char (*f) () = $ac_func;
49509 #endif
49510 #ifdef __cplusplus
49511 }
49512 #endif
49513
49514 int
49515 main ()
49516 {
49517 return f != $ac_func;
49518   ;
49519   return 0;
49520 }
49521 _ACEOF
49522 rm -f conftest.$ac_objext conftest$ac_exeext
49523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49524   (eval $ac_link) 2>conftest.er1
49525   ac_status=$?
49526   grep -v '^ *+' conftest.er1 >conftest.err
49527   rm -f conftest.er1
49528   cat conftest.err >&5
49529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530   (exit $ac_status); } &&
49531          { ac_try='test -z "$ac_c_werror_flag"
49532                          || test ! -s conftest.err'
49533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49534   (eval $ac_try) 2>&5
49535   ac_status=$?
49536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537   (exit $ac_status); }; } &&
49538          { ac_try='test -s conftest$ac_exeext'
49539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49540   (eval $ac_try) 2>&5
49541   ac_status=$?
49542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543   (exit $ac_status); }; }; then
49544   eval "$as_ac_var=yes"
49545 else
49546   echo "$as_me: failed program was:" >&5
49547 sed 's/^/| /' conftest.$ac_ext >&5
49548
49549 eval "$as_ac_var=no"
49550 fi
49551 rm -f conftest.err conftest.$ac_objext \
49552       conftest$ac_exeext conftest.$ac_ext
49553 fi
49554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49556 if test `eval echo '${'$as_ac_var'}'` = yes; then
49557   cat >>confdefs.h <<_ACEOF
49558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49559 _ACEOF
49560
49561 fi
49562 done
49563
49564   else
49565
49566   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49567 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49568   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49569     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49570   echo $ECHO_N "(cached) $ECHO_C" >&6
49571 else
49572
49573
49574
49575       ac_ext=cc
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49580
49581       cat >conftest.$ac_ext <<_ACEOF
49582 /* confdefs.h.  */
49583 _ACEOF
49584 cat confdefs.h >>conftest.$ac_ext
49585 cat >>conftest.$ac_ext <<_ACEOF
49586 /* end confdefs.h.  */
49587 #include <math.h>
49588                       #ifdef HAVE_IEEEFP_H
49589                       #include <ieeefp.h>
49590                       #endif
49591
49592 int
49593 main ()
49594 {
49595  _fabsf(0);
49596   ;
49597   return 0;
49598 }
49599 _ACEOF
49600 rm -f conftest.$ac_objext
49601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49602   (eval $ac_compile) 2>conftest.er1
49603   ac_status=$?
49604   grep -v '^ *+' conftest.er1 >conftest.err
49605   rm -f conftest.er1
49606   cat conftest.err >&5
49607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608   (exit $ac_status); } &&
49609          { ac_try='test -z "$ac_cxx_werror_flag"
49610                          || test ! -s conftest.err'
49611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49612   (eval $ac_try) 2>&5
49613   ac_status=$?
49614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615   (exit $ac_status); }; } &&
49616          { ac_try='test -s conftest.$ac_objext'
49617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49618   (eval $ac_try) 2>&5
49619   ac_status=$?
49620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49621   (exit $ac_status); }; }; then
49622   glibcxx_cv_func__fabsf_use=yes
49623 else
49624   echo "$as_me: failed program was:" >&5
49625 sed 's/^/| /' conftest.$ac_ext >&5
49626
49627 glibcxx_cv_func__fabsf_use=no
49628 fi
49629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49630       ac_ext=c
49631 ac_cpp='$CPP $CPPFLAGS'
49632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49635
49636
49637 fi
49638
49639   fi
49640   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49641 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49642
49643     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49644
49645 for ac_func in _fabsf
49646 do
49647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49648 echo "$as_me:$LINENO: checking for $ac_func" >&5
49649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49650 if eval "test \"\${$as_ac_var+set}\" = set"; then
49651   echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653   if test x$gcc_no_link = xyes; then
49654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49656    { (exit 1); exit 1; }; }
49657 fi
49658 cat >conftest.$ac_ext <<_ACEOF
49659 /* confdefs.h.  */
49660 _ACEOF
49661 cat confdefs.h >>conftest.$ac_ext
49662 cat >>conftest.$ac_ext <<_ACEOF
49663 /* end confdefs.h.  */
49664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49666 #define $ac_func innocuous_$ac_func
49667
49668 /* System header to define __stub macros and hopefully few prototypes,
49669     which can conflict with char $ac_func (); below.
49670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49671     <limits.h> exists even on freestanding compilers.  */
49672
49673 #ifdef __STDC__
49674 # include <limits.h>
49675 #else
49676 # include <assert.h>
49677 #endif
49678
49679 #undef $ac_func
49680
49681 /* Override any gcc2 internal prototype to avoid an error.  */
49682 #ifdef __cplusplus
49683 extern "C"
49684 {
49685 #endif
49686 /* We use char because int might match the return type of a gcc2
49687    builtin and then its argument prototype would still apply.  */
49688 char $ac_func ();
49689 /* The GNU C library defines this for functions which it implements
49690     to always fail with ENOSYS.  Some functions are actually named
49691     something starting with __ and the normal name is an alias.  */
49692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49693 choke me
49694 #else
49695 char (*f) () = $ac_func;
49696 #endif
49697 #ifdef __cplusplus
49698 }
49699 #endif
49700
49701 int
49702 main ()
49703 {
49704 return f != $ac_func;
49705   ;
49706   return 0;
49707 }
49708 _ACEOF
49709 rm -f conftest.$ac_objext conftest$ac_exeext
49710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49711   (eval $ac_link) 2>conftest.er1
49712   ac_status=$?
49713   grep -v '^ *+' conftest.er1 >conftest.err
49714   rm -f conftest.er1
49715   cat conftest.err >&5
49716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49717   (exit $ac_status); } &&
49718          { ac_try='test -z "$ac_c_werror_flag"
49719                          || test ! -s conftest.err'
49720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721   (eval $ac_try) 2>&5
49722   ac_status=$?
49723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724   (exit $ac_status); }; } &&
49725          { ac_try='test -s conftest$ac_exeext'
49726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727   (eval $ac_try) 2>&5
49728   ac_status=$?
49729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730   (exit $ac_status); }; }; then
49731   eval "$as_ac_var=yes"
49732 else
49733   echo "$as_me: failed program was:" >&5
49734 sed 's/^/| /' conftest.$ac_ext >&5
49735
49736 eval "$as_ac_var=no"
49737 fi
49738 rm -f conftest.err conftest.$ac_objext \
49739       conftest$ac_exeext conftest.$ac_ext
49740 fi
49741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49743 if test `eval echo '${'$as_ac_var'}'` = yes; then
49744   cat >>confdefs.h <<_ACEOF
49745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49746 _ACEOF
49747
49748 fi
49749 done
49750
49751     fi
49752   fi
49753
49754
49755
49756
49757
49758
49759   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49760 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49761   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49762     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49763   echo $ECHO_N "(cached) $ECHO_C" >&6
49764 else
49765
49766
49767
49768       ac_ext=cc
49769 ac_cpp='$CXXCPP $CPPFLAGS'
49770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49773
49774       cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h.  */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h.  */
49780 #include <math.h>
49781 int
49782 main ()
49783 {
49784  fmodf(0, 0);
49785   ;
49786   return 0;
49787 }
49788 _ACEOF
49789 rm -f conftest.$ac_objext
49790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49791   (eval $ac_compile) 2>conftest.er1
49792   ac_status=$?
49793   grep -v '^ *+' conftest.er1 >conftest.err
49794   rm -f conftest.er1
49795   cat conftest.err >&5
49796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797   (exit $ac_status); } &&
49798          { ac_try='test -z "$ac_cxx_werror_flag"
49799                          || test ! -s conftest.err'
49800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49801   (eval $ac_try) 2>&5
49802   ac_status=$?
49803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804   (exit $ac_status); }; } &&
49805          { ac_try='test -s conftest.$ac_objext'
49806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807   (eval $ac_try) 2>&5
49808   ac_status=$?
49809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810   (exit $ac_status); }; }; then
49811   glibcxx_cv_func_fmodf_use=yes
49812 else
49813   echo "$as_me: failed program was:" >&5
49814 sed 's/^/| /' conftest.$ac_ext >&5
49815
49816 glibcxx_cv_func_fmodf_use=no
49817 fi
49818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49819       ac_ext=c
49820 ac_cpp='$CPP $CPPFLAGS'
49821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49824
49825
49826 fi
49827
49828   fi
49829   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49830 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49831
49832   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49833
49834 for ac_func in fmodf
49835 do
49836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49837 echo "$as_me:$LINENO: checking for $ac_func" >&5
49838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49839 if eval "test \"\${$as_ac_var+set}\" = set"; then
49840   echo $ECHO_N "(cached) $ECHO_C" >&6
49841 else
49842   if test x$gcc_no_link = xyes; then
49843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49845    { (exit 1); exit 1; }; }
49846 fi
49847 cat >conftest.$ac_ext <<_ACEOF
49848 /* confdefs.h.  */
49849 _ACEOF
49850 cat confdefs.h >>conftest.$ac_ext
49851 cat >>conftest.$ac_ext <<_ACEOF
49852 /* end confdefs.h.  */
49853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49855 #define $ac_func innocuous_$ac_func
49856
49857 /* System header to define __stub macros and hopefully few prototypes,
49858     which can conflict with char $ac_func (); below.
49859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49860     <limits.h> exists even on freestanding compilers.  */
49861
49862 #ifdef __STDC__
49863 # include <limits.h>
49864 #else
49865 # include <assert.h>
49866 #endif
49867
49868 #undef $ac_func
49869
49870 /* Override any gcc2 internal prototype to avoid an error.  */
49871 #ifdef __cplusplus
49872 extern "C"
49873 {
49874 #endif
49875 /* We use char because int might match the return type of a gcc2
49876    builtin and then its argument prototype would still apply.  */
49877 char $ac_func ();
49878 /* The GNU C library defines this for functions which it implements
49879     to always fail with ENOSYS.  Some functions are actually named
49880     something starting with __ and the normal name is an alias.  */
49881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49882 choke me
49883 #else
49884 char (*f) () = $ac_func;
49885 #endif
49886 #ifdef __cplusplus
49887 }
49888 #endif
49889
49890 int
49891 main ()
49892 {
49893 return f != $ac_func;
49894   ;
49895   return 0;
49896 }
49897 _ACEOF
49898 rm -f conftest.$ac_objext conftest$ac_exeext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49900   (eval $ac_link) 2>conftest.er1
49901   ac_status=$?
49902   grep -v '^ *+' conftest.er1 >conftest.err
49903   rm -f conftest.er1
49904   cat conftest.err >&5
49905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906   (exit $ac_status); } &&
49907          { ac_try='test -z "$ac_c_werror_flag"
49908                          || test ! -s conftest.err'
49909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49910   (eval $ac_try) 2>&5
49911   ac_status=$?
49912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49913   (exit $ac_status); }; } &&
49914          { ac_try='test -s conftest$ac_exeext'
49915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49916   (eval $ac_try) 2>&5
49917   ac_status=$?
49918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919   (exit $ac_status); }; }; then
49920   eval "$as_ac_var=yes"
49921 else
49922   echo "$as_me: failed program was:" >&5
49923 sed 's/^/| /' conftest.$ac_ext >&5
49924
49925 eval "$as_ac_var=no"
49926 fi
49927 rm -f conftest.err conftest.$ac_objext \
49928       conftest$ac_exeext conftest.$ac_ext
49929 fi
49930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49932 if test `eval echo '${'$as_ac_var'}'` = yes; then
49933   cat >>confdefs.h <<_ACEOF
49934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49935 _ACEOF
49936
49937 fi
49938 done
49939
49940   else
49941
49942   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49943 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49944   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49945     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49946   echo $ECHO_N "(cached) $ECHO_C" >&6
49947 else
49948
49949
49950
49951       ac_ext=cc
49952 ac_cpp='$CXXCPP $CPPFLAGS'
49953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49956
49957       cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h.  */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h.  */
49963 #include <math.h>
49964 int
49965 main ()
49966 {
49967  _fmodf(0, 0);
49968   ;
49969   return 0;
49970 }
49971 _ACEOF
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974   (eval $ac_compile) 2>conftest.er1
49975   ac_status=$?
49976   grep -v '^ *+' conftest.er1 >conftest.err
49977   rm -f conftest.er1
49978   cat conftest.err >&5
49979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49980   (exit $ac_status); } &&
49981          { ac_try='test -z "$ac_cxx_werror_flag"
49982                          || test ! -s conftest.err'
49983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49984   (eval $ac_try) 2>&5
49985   ac_status=$?
49986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49987   (exit $ac_status); }; } &&
49988          { ac_try='test -s conftest.$ac_objext'
49989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49990   (eval $ac_try) 2>&5
49991   ac_status=$?
49992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993   (exit $ac_status); }; }; then
49994   glibcxx_cv_func__fmodf_use=yes
49995 else
49996   echo "$as_me: failed program was:" >&5
49997 sed 's/^/| /' conftest.$ac_ext >&5
49998
49999 glibcxx_cv_func__fmodf_use=no
50000 fi
50001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50002       ac_ext=c
50003 ac_cpp='$CPP $CPPFLAGS'
50004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50007
50008
50009 fi
50010
50011   fi
50012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
50013 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
50014
50015     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50016
50017 for ac_func in _fmodf
50018 do
50019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50020 echo "$as_me:$LINENO: checking for $ac_func" >&5
50021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50022 if eval "test \"\${$as_ac_var+set}\" = set"; then
50023   echo $ECHO_N "(cached) $ECHO_C" >&6
50024 else
50025   if test x$gcc_no_link = xyes; then
50026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50028    { (exit 1); exit 1; }; }
50029 fi
50030 cat >conftest.$ac_ext <<_ACEOF
50031 /* confdefs.h.  */
50032 _ACEOF
50033 cat confdefs.h >>conftest.$ac_ext
50034 cat >>conftest.$ac_ext <<_ACEOF
50035 /* end confdefs.h.  */
50036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50038 #define $ac_func innocuous_$ac_func
50039
50040 /* System header to define __stub macros and hopefully few prototypes,
50041     which can conflict with char $ac_func (); below.
50042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50043     <limits.h> exists even on freestanding compilers.  */
50044
50045 #ifdef __STDC__
50046 # include <limits.h>
50047 #else
50048 # include <assert.h>
50049 #endif
50050
50051 #undef $ac_func
50052
50053 /* Override any gcc2 internal prototype to avoid an error.  */
50054 #ifdef __cplusplus
50055 extern "C"
50056 {
50057 #endif
50058 /* We use char because int might match the return type of a gcc2
50059    builtin and then its argument prototype would still apply.  */
50060 char $ac_func ();
50061 /* The GNU C library defines this for functions which it implements
50062     to always fail with ENOSYS.  Some functions are actually named
50063     something starting with __ and the normal name is an alias.  */
50064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50065 choke me
50066 #else
50067 char (*f) () = $ac_func;
50068 #endif
50069 #ifdef __cplusplus
50070 }
50071 #endif
50072
50073 int
50074 main ()
50075 {
50076 return f != $ac_func;
50077   ;
50078   return 0;
50079 }
50080 _ACEOF
50081 rm -f conftest.$ac_objext conftest$ac_exeext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50083   (eval $ac_link) 2>conftest.er1
50084   ac_status=$?
50085   grep -v '^ *+' conftest.er1 >conftest.err
50086   rm -f conftest.er1
50087   cat conftest.err >&5
50088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089   (exit $ac_status); } &&
50090          { ac_try='test -z "$ac_c_werror_flag"
50091                          || test ! -s conftest.err'
50092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093   (eval $ac_try) 2>&5
50094   ac_status=$?
50095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096   (exit $ac_status); }; } &&
50097          { ac_try='test -s conftest$ac_exeext'
50098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099   (eval $ac_try) 2>&5
50100   ac_status=$?
50101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102   (exit $ac_status); }; }; then
50103   eval "$as_ac_var=yes"
50104 else
50105   echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50107
50108 eval "$as_ac_var=no"
50109 fi
50110 rm -f conftest.err conftest.$ac_objext \
50111       conftest$ac_exeext conftest.$ac_ext
50112 fi
50113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50115 if test `eval echo '${'$as_ac_var'}'` = yes; then
50116   cat >>confdefs.h <<_ACEOF
50117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50118 _ACEOF
50119
50120 fi
50121 done
50122
50123     fi
50124   fi
50125
50126
50127
50128
50129
50130
50131   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
50132 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
50133   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50134     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
50135   echo $ECHO_N "(cached) $ECHO_C" >&6
50136 else
50137
50138
50139
50140       ac_ext=cc
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50145
50146       cat >conftest.$ac_ext <<_ACEOF
50147 /* confdefs.h.  */
50148 _ACEOF
50149 cat confdefs.h >>conftest.$ac_ext
50150 cat >>conftest.$ac_ext <<_ACEOF
50151 /* end confdefs.h.  */
50152 #include <math.h>
50153 int
50154 main ()
50155 {
50156  frexpf(0, 0);
50157   ;
50158   return 0;
50159 }
50160 _ACEOF
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163   (eval $ac_compile) 2>conftest.er1
50164   ac_status=$?
50165   grep -v '^ *+' conftest.er1 >conftest.err
50166   rm -f conftest.er1
50167   cat conftest.err >&5
50168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50169   (exit $ac_status); } &&
50170          { ac_try='test -z "$ac_cxx_werror_flag"
50171                          || test ! -s conftest.err'
50172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50173   (eval $ac_try) 2>&5
50174   ac_status=$?
50175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50176   (exit $ac_status); }; } &&
50177          { ac_try='test -s conftest.$ac_objext'
50178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50179   (eval $ac_try) 2>&5
50180   ac_status=$?
50181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182   (exit $ac_status); }; }; then
50183   glibcxx_cv_func_frexpf_use=yes
50184 else
50185   echo "$as_me: failed program was:" >&5
50186 sed 's/^/| /' conftest.$ac_ext >&5
50187
50188 glibcxx_cv_func_frexpf_use=no
50189 fi
50190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50191       ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50196
50197
50198 fi
50199
50200   fi
50201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
50202 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
50203
50204   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50205
50206 for ac_func in frexpf
50207 do
50208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50209 echo "$as_me:$LINENO: checking for $ac_func" >&5
50210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50211 if eval "test \"\${$as_ac_var+set}\" = set"; then
50212   echo $ECHO_N "(cached) $ECHO_C" >&6
50213 else
50214   if test x$gcc_no_link = xyes; then
50215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50217    { (exit 1); exit 1; }; }
50218 fi
50219 cat >conftest.$ac_ext <<_ACEOF
50220 /* confdefs.h.  */
50221 _ACEOF
50222 cat confdefs.h >>conftest.$ac_ext
50223 cat >>conftest.$ac_ext <<_ACEOF
50224 /* end confdefs.h.  */
50225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50227 #define $ac_func innocuous_$ac_func
50228
50229 /* System header to define __stub macros and hopefully few prototypes,
50230     which can conflict with char $ac_func (); below.
50231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50232     <limits.h> exists even on freestanding compilers.  */
50233
50234 #ifdef __STDC__
50235 # include <limits.h>
50236 #else
50237 # include <assert.h>
50238 #endif
50239
50240 #undef $ac_func
50241
50242 /* Override any gcc2 internal prototype to avoid an error.  */
50243 #ifdef __cplusplus
50244 extern "C"
50245 {
50246 #endif
50247 /* We use char because int might match the return type of a gcc2
50248    builtin and then its argument prototype would still apply.  */
50249 char $ac_func ();
50250 /* The GNU C library defines this for functions which it implements
50251     to always fail with ENOSYS.  Some functions are actually named
50252     something starting with __ and the normal name is an alias.  */
50253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50254 choke me
50255 #else
50256 char (*f) () = $ac_func;
50257 #endif
50258 #ifdef __cplusplus
50259 }
50260 #endif
50261
50262 int
50263 main ()
50264 {
50265 return f != $ac_func;
50266   ;
50267   return 0;
50268 }
50269 _ACEOF
50270 rm -f conftest.$ac_objext conftest$ac_exeext
50271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50272   (eval $ac_link) 2>conftest.er1
50273   ac_status=$?
50274   grep -v '^ *+' conftest.er1 >conftest.err
50275   rm -f conftest.er1
50276   cat conftest.err >&5
50277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278   (exit $ac_status); } &&
50279          { ac_try='test -z "$ac_c_werror_flag"
50280                          || test ! -s conftest.err'
50281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50282   (eval $ac_try) 2>&5
50283   ac_status=$?
50284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285   (exit $ac_status); }; } &&
50286          { ac_try='test -s conftest$ac_exeext'
50287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288   (eval $ac_try) 2>&5
50289   ac_status=$?
50290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291   (exit $ac_status); }; }; then
50292   eval "$as_ac_var=yes"
50293 else
50294   echo "$as_me: failed program was:" >&5
50295 sed 's/^/| /' conftest.$ac_ext >&5
50296
50297 eval "$as_ac_var=no"
50298 fi
50299 rm -f conftest.err conftest.$ac_objext \
50300       conftest$ac_exeext conftest.$ac_ext
50301 fi
50302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50304 if test `eval echo '${'$as_ac_var'}'` = yes; then
50305   cat >>confdefs.h <<_ACEOF
50306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50307 _ACEOF
50308
50309 fi
50310 done
50311
50312   else
50313
50314   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
50315 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
50316   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50317     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
50318   echo $ECHO_N "(cached) $ECHO_C" >&6
50319 else
50320
50321
50322
50323       ac_ext=cc
50324 ac_cpp='$CXXCPP $CPPFLAGS'
50325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50328
50329       cat >conftest.$ac_ext <<_ACEOF
50330 /* confdefs.h.  */
50331 _ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h.  */
50335 #include <math.h>
50336 int
50337 main ()
50338 {
50339  _frexpf(0, 0);
50340   ;
50341   return 0;
50342 }
50343 _ACEOF
50344 rm -f conftest.$ac_objext
50345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50346   (eval $ac_compile) 2>conftest.er1
50347   ac_status=$?
50348   grep -v '^ *+' conftest.er1 >conftest.err
50349   rm -f conftest.er1
50350   cat conftest.err >&5
50351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352   (exit $ac_status); } &&
50353          { ac_try='test -z "$ac_cxx_werror_flag"
50354                          || test ! -s conftest.err'
50355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50356   (eval $ac_try) 2>&5
50357   ac_status=$?
50358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359   (exit $ac_status); }; } &&
50360          { ac_try='test -s conftest.$ac_objext'
50361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50362   (eval $ac_try) 2>&5
50363   ac_status=$?
50364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365   (exit $ac_status); }; }; then
50366   glibcxx_cv_func__frexpf_use=yes
50367 else
50368   echo "$as_me: failed program was:" >&5
50369 sed 's/^/| /' conftest.$ac_ext >&5
50370
50371 glibcxx_cv_func__frexpf_use=no
50372 fi
50373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50374       ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50379
50380
50381 fi
50382
50383   fi
50384   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
50385 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
50386
50387     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50388
50389 for ac_func in _frexpf
50390 do
50391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50392 echo "$as_me:$LINENO: checking for $ac_func" >&5
50393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50394 if eval "test \"\${$as_ac_var+set}\" = set"; then
50395   echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50397   if test x$gcc_no_link = xyes; then
50398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50400    { (exit 1); exit 1; }; }
50401 fi
50402 cat >conftest.$ac_ext <<_ACEOF
50403 /* confdefs.h.  */
50404 _ACEOF
50405 cat confdefs.h >>conftest.$ac_ext
50406 cat >>conftest.$ac_ext <<_ACEOF
50407 /* end confdefs.h.  */
50408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50410 #define $ac_func innocuous_$ac_func
50411
50412 /* System header to define __stub macros and hopefully few prototypes,
50413     which can conflict with char $ac_func (); below.
50414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50415     <limits.h> exists even on freestanding compilers.  */
50416
50417 #ifdef __STDC__
50418 # include <limits.h>
50419 #else
50420 # include <assert.h>
50421 #endif
50422
50423 #undef $ac_func
50424
50425 /* Override any gcc2 internal prototype to avoid an error.  */
50426 #ifdef __cplusplus
50427 extern "C"
50428 {
50429 #endif
50430 /* We use char because int might match the return type of a gcc2
50431    builtin and then its argument prototype would still apply.  */
50432 char $ac_func ();
50433 /* The GNU C library defines this for functions which it implements
50434     to always fail with ENOSYS.  Some functions are actually named
50435     something starting with __ and the normal name is an alias.  */
50436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50437 choke me
50438 #else
50439 char (*f) () = $ac_func;
50440 #endif
50441 #ifdef __cplusplus
50442 }
50443 #endif
50444
50445 int
50446 main ()
50447 {
50448 return f != $ac_func;
50449   ;
50450   return 0;
50451 }
50452 _ACEOF
50453 rm -f conftest.$ac_objext conftest$ac_exeext
50454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50455   (eval $ac_link) 2>conftest.er1
50456   ac_status=$?
50457   grep -v '^ *+' conftest.er1 >conftest.err
50458   rm -f conftest.er1
50459   cat conftest.err >&5
50460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461   (exit $ac_status); } &&
50462          { ac_try='test -z "$ac_c_werror_flag"
50463                          || test ! -s conftest.err'
50464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50465   (eval $ac_try) 2>&5
50466   ac_status=$?
50467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468   (exit $ac_status); }; } &&
50469          { ac_try='test -s conftest$ac_exeext'
50470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471   (eval $ac_try) 2>&5
50472   ac_status=$?
50473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474   (exit $ac_status); }; }; then
50475   eval "$as_ac_var=yes"
50476 else
50477   echo "$as_me: failed program was:" >&5
50478 sed 's/^/| /' conftest.$ac_ext >&5
50479
50480 eval "$as_ac_var=no"
50481 fi
50482 rm -f conftest.err conftest.$ac_objext \
50483       conftest$ac_exeext conftest.$ac_ext
50484 fi
50485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50487 if test `eval echo '${'$as_ac_var'}'` = yes; then
50488   cat >>confdefs.h <<_ACEOF
50489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50490 _ACEOF
50491
50492 fi
50493 done
50494
50495     fi
50496   fi
50497
50498
50499
50500
50501
50502
50503   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
50504 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
50505   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50506     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
50507   echo $ECHO_N "(cached) $ECHO_C" >&6
50508 else
50509
50510
50511
50512       ac_ext=cc
50513 ac_cpp='$CXXCPP $CPPFLAGS'
50514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50517
50518       cat >conftest.$ac_ext <<_ACEOF
50519 /* confdefs.h.  */
50520 _ACEOF
50521 cat confdefs.h >>conftest.$ac_ext
50522 cat >>conftest.$ac_ext <<_ACEOF
50523 /* end confdefs.h.  */
50524 #include <math.h>
50525 int
50526 main ()
50527 {
50528  hypotf(0, 0);
50529   ;
50530   return 0;
50531 }
50532 _ACEOF
50533 rm -f conftest.$ac_objext
50534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50535   (eval $ac_compile) 2>conftest.er1
50536   ac_status=$?
50537   grep -v '^ *+' conftest.er1 >conftest.err
50538   rm -f conftest.er1
50539   cat conftest.err >&5
50540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50541   (exit $ac_status); } &&
50542          { ac_try='test -z "$ac_cxx_werror_flag"
50543                          || test ! -s conftest.err'
50544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50545   (eval $ac_try) 2>&5
50546   ac_status=$?
50547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548   (exit $ac_status); }; } &&
50549          { ac_try='test -s conftest.$ac_objext'
50550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50551   (eval $ac_try) 2>&5
50552   ac_status=$?
50553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50554   (exit $ac_status); }; }; then
50555   glibcxx_cv_func_hypotf_use=yes
50556 else
50557   echo "$as_me: failed program was:" >&5
50558 sed 's/^/| /' conftest.$ac_ext >&5
50559
50560 glibcxx_cv_func_hypotf_use=no
50561 fi
50562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50563       ac_ext=c
50564 ac_cpp='$CPP $CPPFLAGS'
50565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50568
50569
50570 fi
50571
50572   fi
50573   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50574 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50575
50576   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50577
50578 for ac_func in hypotf
50579 do
50580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50581 echo "$as_me:$LINENO: checking for $ac_func" >&5
50582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50583 if eval "test \"\${$as_ac_var+set}\" = set"; then
50584   echo $ECHO_N "(cached) $ECHO_C" >&6
50585 else
50586   if test x$gcc_no_link = xyes; then
50587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50589    { (exit 1); exit 1; }; }
50590 fi
50591 cat >conftest.$ac_ext <<_ACEOF
50592 /* confdefs.h.  */
50593 _ACEOF
50594 cat confdefs.h >>conftest.$ac_ext
50595 cat >>conftest.$ac_ext <<_ACEOF
50596 /* end confdefs.h.  */
50597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50599 #define $ac_func innocuous_$ac_func
50600
50601 /* System header to define __stub macros and hopefully few prototypes,
50602     which can conflict with char $ac_func (); below.
50603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50604     <limits.h> exists even on freestanding compilers.  */
50605
50606 #ifdef __STDC__
50607 # include <limits.h>
50608 #else
50609 # include <assert.h>
50610 #endif
50611
50612 #undef $ac_func
50613
50614 /* Override any gcc2 internal prototype to avoid an error.  */
50615 #ifdef __cplusplus
50616 extern "C"
50617 {
50618 #endif
50619 /* We use char because int might match the return type of a gcc2
50620    builtin and then its argument prototype would still apply.  */
50621 char $ac_func ();
50622 /* The GNU C library defines this for functions which it implements
50623     to always fail with ENOSYS.  Some functions are actually named
50624     something starting with __ and the normal name is an alias.  */
50625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50626 choke me
50627 #else
50628 char (*f) () = $ac_func;
50629 #endif
50630 #ifdef __cplusplus
50631 }
50632 #endif
50633
50634 int
50635 main ()
50636 {
50637 return f != $ac_func;
50638   ;
50639   return 0;
50640 }
50641 _ACEOF
50642 rm -f conftest.$ac_objext conftest$ac_exeext
50643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50644   (eval $ac_link) 2>conftest.er1
50645   ac_status=$?
50646   grep -v '^ *+' conftest.er1 >conftest.err
50647   rm -f conftest.er1
50648   cat conftest.err >&5
50649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650   (exit $ac_status); } &&
50651          { ac_try='test -z "$ac_c_werror_flag"
50652                          || test ! -s conftest.err'
50653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50654   (eval $ac_try) 2>&5
50655   ac_status=$?
50656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50657   (exit $ac_status); }; } &&
50658          { ac_try='test -s conftest$ac_exeext'
50659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50660   (eval $ac_try) 2>&5
50661   ac_status=$?
50662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50663   (exit $ac_status); }; }; then
50664   eval "$as_ac_var=yes"
50665 else
50666   echo "$as_me: failed program was:" >&5
50667 sed 's/^/| /' conftest.$ac_ext >&5
50668
50669 eval "$as_ac_var=no"
50670 fi
50671 rm -f conftest.err conftest.$ac_objext \
50672       conftest$ac_exeext conftest.$ac_ext
50673 fi
50674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50676 if test `eval echo '${'$as_ac_var'}'` = yes; then
50677   cat >>confdefs.h <<_ACEOF
50678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50679 _ACEOF
50680
50681 fi
50682 done
50683
50684   else
50685
50686   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50687 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50688   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50689     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50690   echo $ECHO_N "(cached) $ECHO_C" >&6
50691 else
50692
50693
50694
50695       ac_ext=cc
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700
50701       cat >conftest.$ac_ext <<_ACEOF
50702 /* confdefs.h.  */
50703 _ACEOF
50704 cat confdefs.h >>conftest.$ac_ext
50705 cat >>conftest.$ac_ext <<_ACEOF
50706 /* end confdefs.h.  */
50707 #include <math.h>
50708 int
50709 main ()
50710 {
50711  _hypotf(0, 0);
50712   ;
50713   return 0;
50714 }
50715 _ACEOF
50716 rm -f conftest.$ac_objext
50717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50718   (eval $ac_compile) 2>conftest.er1
50719   ac_status=$?
50720   grep -v '^ *+' conftest.er1 >conftest.err
50721   rm -f conftest.er1
50722   cat conftest.err >&5
50723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50724   (exit $ac_status); } &&
50725          { ac_try='test -z "$ac_cxx_werror_flag"
50726                          || test ! -s conftest.err'
50727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50728   (eval $ac_try) 2>&5
50729   ac_status=$?
50730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731   (exit $ac_status); }; } &&
50732          { ac_try='test -s conftest.$ac_objext'
50733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50734   (eval $ac_try) 2>&5
50735   ac_status=$?
50736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50737   (exit $ac_status); }; }; then
50738   glibcxx_cv_func__hypotf_use=yes
50739 else
50740   echo "$as_me: failed program was:" >&5
50741 sed 's/^/| /' conftest.$ac_ext >&5
50742
50743 glibcxx_cv_func__hypotf_use=no
50744 fi
50745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50746       ac_ext=c
50747 ac_cpp='$CPP $CPPFLAGS'
50748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751
50752
50753 fi
50754
50755   fi
50756   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50757 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50758
50759     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50760
50761 for ac_func in _hypotf
50762 do
50763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50764 echo "$as_me:$LINENO: checking for $ac_func" >&5
50765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50766 if eval "test \"\${$as_ac_var+set}\" = set"; then
50767   echo $ECHO_N "(cached) $ECHO_C" >&6
50768 else
50769   if test x$gcc_no_link = xyes; then
50770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50772    { (exit 1); exit 1; }; }
50773 fi
50774 cat >conftest.$ac_ext <<_ACEOF
50775 /* confdefs.h.  */
50776 _ACEOF
50777 cat confdefs.h >>conftest.$ac_ext
50778 cat >>conftest.$ac_ext <<_ACEOF
50779 /* end confdefs.h.  */
50780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50782 #define $ac_func innocuous_$ac_func
50783
50784 /* System header to define __stub macros and hopefully few prototypes,
50785     which can conflict with char $ac_func (); below.
50786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50787     <limits.h> exists even on freestanding compilers.  */
50788
50789 #ifdef __STDC__
50790 # include <limits.h>
50791 #else
50792 # include <assert.h>
50793 #endif
50794
50795 #undef $ac_func
50796
50797 /* Override any gcc2 internal prototype to avoid an error.  */
50798 #ifdef __cplusplus
50799 extern "C"
50800 {
50801 #endif
50802 /* We use char because int might match the return type of a gcc2
50803    builtin and then its argument prototype would still apply.  */
50804 char $ac_func ();
50805 /* The GNU C library defines this for functions which it implements
50806     to always fail with ENOSYS.  Some functions are actually named
50807     something starting with __ and the normal name is an alias.  */
50808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50809 choke me
50810 #else
50811 char (*f) () = $ac_func;
50812 #endif
50813 #ifdef __cplusplus
50814 }
50815 #endif
50816
50817 int
50818 main ()
50819 {
50820 return f != $ac_func;
50821   ;
50822   return 0;
50823 }
50824 _ACEOF
50825 rm -f conftest.$ac_objext conftest$ac_exeext
50826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50827   (eval $ac_link) 2>conftest.er1
50828   ac_status=$?
50829   grep -v '^ *+' conftest.er1 >conftest.err
50830   rm -f conftest.er1
50831   cat conftest.err >&5
50832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50833   (exit $ac_status); } &&
50834          { ac_try='test -z "$ac_c_werror_flag"
50835                          || test ! -s conftest.err'
50836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50837   (eval $ac_try) 2>&5
50838   ac_status=$?
50839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840   (exit $ac_status); }; } &&
50841          { ac_try='test -s conftest$ac_exeext'
50842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50843   (eval $ac_try) 2>&5
50844   ac_status=$?
50845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846   (exit $ac_status); }; }; then
50847   eval "$as_ac_var=yes"
50848 else
50849   echo "$as_me: failed program was:" >&5
50850 sed 's/^/| /' conftest.$ac_ext >&5
50851
50852 eval "$as_ac_var=no"
50853 fi
50854 rm -f conftest.err conftest.$ac_objext \
50855       conftest$ac_exeext conftest.$ac_ext
50856 fi
50857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50859 if test `eval echo '${'$as_ac_var'}'` = yes; then
50860   cat >>confdefs.h <<_ACEOF
50861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50862 _ACEOF
50863
50864 fi
50865 done
50866
50867     fi
50868   fi
50869
50870
50871
50872
50873
50874
50875   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50876 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50877   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50878     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50879   echo $ECHO_N "(cached) $ECHO_C" >&6
50880 else
50881
50882
50883
50884       ac_ext=cc
50885 ac_cpp='$CXXCPP $CPPFLAGS'
50886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50889
50890       cat >conftest.$ac_ext <<_ACEOF
50891 /* confdefs.h.  */
50892 _ACEOF
50893 cat confdefs.h >>conftest.$ac_ext
50894 cat >>conftest.$ac_ext <<_ACEOF
50895 /* end confdefs.h.  */
50896 #include <math.h>
50897 int
50898 main ()
50899 {
50900  ldexpf(0, 0);
50901   ;
50902   return 0;
50903 }
50904 _ACEOF
50905 rm -f conftest.$ac_objext
50906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50907   (eval $ac_compile) 2>conftest.er1
50908   ac_status=$?
50909   grep -v '^ *+' conftest.er1 >conftest.err
50910   rm -f conftest.er1
50911   cat conftest.err >&5
50912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50913   (exit $ac_status); } &&
50914          { ac_try='test -z "$ac_cxx_werror_flag"
50915                          || test ! -s conftest.err'
50916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917   (eval $ac_try) 2>&5
50918   ac_status=$?
50919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920   (exit $ac_status); }; } &&
50921          { ac_try='test -s conftest.$ac_objext'
50922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50923   (eval $ac_try) 2>&5
50924   ac_status=$?
50925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926   (exit $ac_status); }; }; then
50927   glibcxx_cv_func_ldexpf_use=yes
50928 else
50929   echo "$as_me: failed program was:" >&5
50930 sed 's/^/| /' conftest.$ac_ext >&5
50931
50932 glibcxx_cv_func_ldexpf_use=no
50933 fi
50934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50935       ac_ext=c
50936 ac_cpp='$CPP $CPPFLAGS'
50937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50940
50941
50942 fi
50943
50944   fi
50945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50946 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50947
50948   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50949
50950 for ac_func in ldexpf
50951 do
50952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50953 echo "$as_me:$LINENO: checking for $ac_func" >&5
50954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50955 if eval "test \"\${$as_ac_var+set}\" = set"; then
50956   echo $ECHO_N "(cached) $ECHO_C" >&6
50957 else
50958   if test x$gcc_no_link = xyes; then
50959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50961    { (exit 1); exit 1; }; }
50962 fi
50963 cat >conftest.$ac_ext <<_ACEOF
50964 /* confdefs.h.  */
50965 _ACEOF
50966 cat confdefs.h >>conftest.$ac_ext
50967 cat >>conftest.$ac_ext <<_ACEOF
50968 /* end confdefs.h.  */
50969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50971 #define $ac_func innocuous_$ac_func
50972
50973 /* System header to define __stub macros and hopefully few prototypes,
50974     which can conflict with char $ac_func (); below.
50975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50976     <limits.h> exists even on freestanding compilers.  */
50977
50978 #ifdef __STDC__
50979 # include <limits.h>
50980 #else
50981 # include <assert.h>
50982 #endif
50983
50984 #undef $ac_func
50985
50986 /* Override any gcc2 internal prototype to avoid an error.  */
50987 #ifdef __cplusplus
50988 extern "C"
50989 {
50990 #endif
50991 /* We use char because int might match the return type of a gcc2
50992    builtin and then its argument prototype would still apply.  */
50993 char $ac_func ();
50994 /* The GNU C library defines this for functions which it implements
50995     to always fail with ENOSYS.  Some functions are actually named
50996     something starting with __ and the normal name is an alias.  */
50997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50998 choke me
50999 #else
51000 char (*f) () = $ac_func;
51001 #endif
51002 #ifdef __cplusplus
51003 }
51004 #endif
51005
51006 int
51007 main ()
51008 {
51009 return f != $ac_func;
51010   ;
51011   return 0;
51012 }
51013 _ACEOF
51014 rm -f conftest.$ac_objext conftest$ac_exeext
51015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51016   (eval $ac_link) 2>conftest.er1
51017   ac_status=$?
51018   grep -v '^ *+' conftest.er1 >conftest.err
51019   rm -f conftest.er1
51020   cat conftest.err >&5
51021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51022   (exit $ac_status); } &&
51023          { ac_try='test -z "$ac_c_werror_flag"
51024                          || test ! -s conftest.err'
51025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51026   (eval $ac_try) 2>&5
51027   ac_status=$?
51028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51029   (exit $ac_status); }; } &&
51030          { ac_try='test -s conftest$ac_exeext'
51031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51032   (eval $ac_try) 2>&5
51033   ac_status=$?
51034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51035   (exit $ac_status); }; }; then
51036   eval "$as_ac_var=yes"
51037 else
51038   echo "$as_me: failed program was:" >&5
51039 sed 's/^/| /' conftest.$ac_ext >&5
51040
51041 eval "$as_ac_var=no"
51042 fi
51043 rm -f conftest.err conftest.$ac_objext \
51044       conftest$ac_exeext conftest.$ac_ext
51045 fi
51046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51048 if test `eval echo '${'$as_ac_var'}'` = yes; then
51049   cat >>confdefs.h <<_ACEOF
51050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51051 _ACEOF
51052
51053 fi
51054 done
51055
51056   else
51057
51058   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
51059 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
51060   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
51061     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
51062   echo $ECHO_N "(cached) $ECHO_C" >&6
51063 else
51064
51065
51066
51067       ac_ext=cc
51068 ac_cpp='$CXXCPP $CPPFLAGS'
51069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51072
51073       cat >conftest.$ac_ext <<_ACEOF
51074 /* confdefs.h.  */
51075 _ACEOF
51076 cat confdefs.h >>conftest.$ac_ext
51077 cat >>conftest.$ac_ext <<_ACEOF
51078 /* end confdefs.h.  */
51079 #include <math.h>
51080 int
51081 main ()
51082 {
51083  _ldexpf(0, 0);
51084   ;
51085   return 0;
51086 }
51087 _ACEOF
51088 rm -f conftest.$ac_objext
51089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51090   (eval $ac_compile) 2>conftest.er1
51091   ac_status=$?
51092   grep -v '^ *+' conftest.er1 >conftest.err
51093   rm -f conftest.er1
51094   cat conftest.err >&5
51095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096   (exit $ac_status); } &&
51097          { ac_try='test -z "$ac_cxx_werror_flag"
51098                          || test ! -s conftest.err'
51099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51100   (eval $ac_try) 2>&5
51101   ac_status=$?
51102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51103   (exit $ac_status); }; } &&
51104          { ac_try='test -s conftest.$ac_objext'
51105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51106   (eval $ac_try) 2>&5
51107   ac_status=$?
51108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109   (exit $ac_status); }; }; then
51110   glibcxx_cv_func__ldexpf_use=yes
51111 else
51112   echo "$as_me: failed program was:" >&5
51113 sed 's/^/| /' conftest.$ac_ext >&5
51114
51115 glibcxx_cv_func__ldexpf_use=no
51116 fi
51117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51118       ac_ext=c
51119 ac_cpp='$CPP $CPPFLAGS'
51120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51123
51124
51125 fi
51126
51127   fi
51128   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
51129 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
51130
51131     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51132
51133 for ac_func in _ldexpf
51134 do
51135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51136 echo "$as_me:$LINENO: checking for $ac_func" >&5
51137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51138 if eval "test \"\${$as_ac_var+set}\" = set"; then
51139   echo $ECHO_N "(cached) $ECHO_C" >&6
51140 else
51141   if test x$gcc_no_link = xyes; then
51142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51144    { (exit 1); exit 1; }; }
51145 fi
51146 cat >conftest.$ac_ext <<_ACEOF
51147 /* confdefs.h.  */
51148 _ACEOF
51149 cat confdefs.h >>conftest.$ac_ext
51150 cat >>conftest.$ac_ext <<_ACEOF
51151 /* end confdefs.h.  */
51152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51154 #define $ac_func innocuous_$ac_func
51155
51156 /* System header to define __stub macros and hopefully few prototypes,
51157     which can conflict with char $ac_func (); below.
51158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51159     <limits.h> exists even on freestanding compilers.  */
51160
51161 #ifdef __STDC__
51162 # include <limits.h>
51163 #else
51164 # include <assert.h>
51165 #endif
51166
51167 #undef $ac_func
51168
51169 /* Override any gcc2 internal prototype to avoid an error.  */
51170 #ifdef __cplusplus
51171 extern "C"
51172 {
51173 #endif
51174 /* We use char because int might match the return type of a gcc2
51175    builtin and then its argument prototype would still apply.  */
51176 char $ac_func ();
51177 /* The GNU C library defines this for functions which it implements
51178     to always fail with ENOSYS.  Some functions are actually named
51179     something starting with __ and the normal name is an alias.  */
51180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51181 choke me
51182 #else
51183 char (*f) () = $ac_func;
51184 #endif
51185 #ifdef __cplusplus
51186 }
51187 #endif
51188
51189 int
51190 main ()
51191 {
51192 return f != $ac_func;
51193   ;
51194   return 0;
51195 }
51196 _ACEOF
51197 rm -f conftest.$ac_objext conftest$ac_exeext
51198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51199   (eval $ac_link) 2>conftest.er1
51200   ac_status=$?
51201   grep -v '^ *+' conftest.er1 >conftest.err
51202   rm -f conftest.er1
51203   cat conftest.err >&5
51204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51205   (exit $ac_status); } &&
51206          { ac_try='test -z "$ac_c_werror_flag"
51207                          || test ! -s conftest.err'
51208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51209   (eval $ac_try) 2>&5
51210   ac_status=$?
51211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51212   (exit $ac_status); }; } &&
51213          { ac_try='test -s conftest$ac_exeext'
51214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51215   (eval $ac_try) 2>&5
51216   ac_status=$?
51217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51218   (exit $ac_status); }; }; then
51219   eval "$as_ac_var=yes"
51220 else
51221   echo "$as_me: failed program was:" >&5
51222 sed 's/^/| /' conftest.$ac_ext >&5
51223
51224 eval "$as_ac_var=no"
51225 fi
51226 rm -f conftest.err conftest.$ac_objext \
51227       conftest$ac_exeext conftest.$ac_ext
51228 fi
51229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51231 if test `eval echo '${'$as_ac_var'}'` = yes; then
51232   cat >>confdefs.h <<_ACEOF
51233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51234 _ACEOF
51235
51236 fi
51237 done
51238
51239     fi
51240   fi
51241
51242
51243
51244
51245
51246
51247   echo "$as_me:$LINENO: checking for logf declaration" >&5
51248 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
51249   if test x${glibcxx_cv_func_logf_use+set} != xset; then
51250     if test "${glibcxx_cv_func_logf_use+set}" = set; then
51251   echo $ECHO_N "(cached) $ECHO_C" >&6
51252 else
51253
51254
51255
51256       ac_ext=cc
51257 ac_cpp='$CXXCPP $CPPFLAGS'
51258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51261
51262       cat >conftest.$ac_ext <<_ACEOF
51263 /* confdefs.h.  */
51264 _ACEOF
51265 cat confdefs.h >>conftest.$ac_ext
51266 cat >>conftest.$ac_ext <<_ACEOF
51267 /* end confdefs.h.  */
51268 #include <math.h>
51269                       #ifdef HAVE_IEEEFP_H
51270                       #include <ieeefp.h>
51271                       #endif
51272
51273 int
51274 main ()
51275 {
51276  logf(0);
51277   ;
51278   return 0;
51279 }
51280 _ACEOF
51281 rm -f conftest.$ac_objext
51282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51283   (eval $ac_compile) 2>conftest.er1
51284   ac_status=$?
51285   grep -v '^ *+' conftest.er1 >conftest.err
51286   rm -f conftest.er1
51287   cat conftest.err >&5
51288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51289   (exit $ac_status); } &&
51290          { ac_try='test -z "$ac_cxx_werror_flag"
51291                          || test ! -s conftest.err'
51292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51293   (eval $ac_try) 2>&5
51294   ac_status=$?
51295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51296   (exit $ac_status); }; } &&
51297          { ac_try='test -s conftest.$ac_objext'
51298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51299   (eval $ac_try) 2>&5
51300   ac_status=$?
51301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51302   (exit $ac_status); }; }; then
51303   glibcxx_cv_func_logf_use=yes
51304 else
51305   echo "$as_me: failed program was:" >&5
51306 sed 's/^/| /' conftest.$ac_ext >&5
51307
51308 glibcxx_cv_func_logf_use=no
51309 fi
51310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51311       ac_ext=c
51312 ac_cpp='$CPP $CPPFLAGS'
51313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51316
51317
51318 fi
51319
51320   fi
51321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
51322 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
51323
51324   if test x$glibcxx_cv_func_logf_use = x"yes"; then
51325
51326 for ac_func in logf
51327 do
51328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51329 echo "$as_me:$LINENO: checking for $ac_func" >&5
51330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51331 if eval "test \"\${$as_ac_var+set}\" = set"; then
51332   echo $ECHO_N "(cached) $ECHO_C" >&6
51333 else
51334   if test x$gcc_no_link = xyes; then
51335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51337    { (exit 1); exit 1; }; }
51338 fi
51339 cat >conftest.$ac_ext <<_ACEOF
51340 /* confdefs.h.  */
51341 _ACEOF
51342 cat confdefs.h >>conftest.$ac_ext
51343 cat >>conftest.$ac_ext <<_ACEOF
51344 /* end confdefs.h.  */
51345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51347 #define $ac_func innocuous_$ac_func
51348
51349 /* System header to define __stub macros and hopefully few prototypes,
51350     which can conflict with char $ac_func (); below.
51351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51352     <limits.h> exists even on freestanding compilers.  */
51353
51354 #ifdef __STDC__
51355 # include <limits.h>
51356 #else
51357 # include <assert.h>
51358 #endif
51359
51360 #undef $ac_func
51361
51362 /* Override any gcc2 internal prototype to avoid an error.  */
51363 #ifdef __cplusplus
51364 extern "C"
51365 {
51366 #endif
51367 /* We use char because int might match the return type of a gcc2
51368    builtin and then its argument prototype would still apply.  */
51369 char $ac_func ();
51370 /* The GNU C library defines this for functions which it implements
51371     to always fail with ENOSYS.  Some functions are actually named
51372     something starting with __ and the normal name is an alias.  */
51373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51374 choke me
51375 #else
51376 char (*f) () = $ac_func;
51377 #endif
51378 #ifdef __cplusplus
51379 }
51380 #endif
51381
51382 int
51383 main ()
51384 {
51385 return f != $ac_func;
51386   ;
51387   return 0;
51388 }
51389 _ACEOF
51390 rm -f conftest.$ac_objext conftest$ac_exeext
51391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51392   (eval $ac_link) 2>conftest.er1
51393   ac_status=$?
51394   grep -v '^ *+' conftest.er1 >conftest.err
51395   rm -f conftest.er1
51396   cat conftest.err >&5
51397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398   (exit $ac_status); } &&
51399          { ac_try='test -z "$ac_c_werror_flag"
51400                          || test ! -s conftest.err'
51401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51402   (eval $ac_try) 2>&5
51403   ac_status=$?
51404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51405   (exit $ac_status); }; } &&
51406          { ac_try='test -s conftest$ac_exeext'
51407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51408   (eval $ac_try) 2>&5
51409   ac_status=$?
51410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411   (exit $ac_status); }; }; then
51412   eval "$as_ac_var=yes"
51413 else
51414   echo "$as_me: failed program was:" >&5
51415 sed 's/^/| /' conftest.$ac_ext >&5
51416
51417 eval "$as_ac_var=no"
51418 fi
51419 rm -f conftest.err conftest.$ac_objext \
51420       conftest$ac_exeext conftest.$ac_ext
51421 fi
51422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51424 if test `eval echo '${'$as_ac_var'}'` = yes; then
51425   cat >>confdefs.h <<_ACEOF
51426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51427 _ACEOF
51428
51429 fi
51430 done
51431
51432   else
51433
51434   echo "$as_me:$LINENO: checking for _logf declaration" >&5
51435 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
51436   if test x${glibcxx_cv_func__logf_use+set} != xset; then
51437     if test "${glibcxx_cv_func__logf_use+set}" = set; then
51438   echo $ECHO_N "(cached) $ECHO_C" >&6
51439 else
51440
51441
51442
51443       ac_ext=cc
51444 ac_cpp='$CXXCPP $CPPFLAGS'
51445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51448
51449       cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h.  */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h.  */
51455 #include <math.h>
51456                       #ifdef HAVE_IEEEFP_H
51457                       #include <ieeefp.h>
51458                       #endif
51459
51460 int
51461 main ()
51462 {
51463  _logf(0);
51464   ;
51465   return 0;
51466 }
51467 _ACEOF
51468 rm -f conftest.$ac_objext
51469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51470   (eval $ac_compile) 2>conftest.er1
51471   ac_status=$?
51472   grep -v '^ *+' conftest.er1 >conftest.err
51473   rm -f conftest.er1
51474   cat conftest.err >&5
51475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51476   (exit $ac_status); } &&
51477          { ac_try='test -z "$ac_cxx_werror_flag"
51478                          || test ! -s conftest.err'
51479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51480   (eval $ac_try) 2>&5
51481   ac_status=$?
51482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51483   (exit $ac_status); }; } &&
51484          { ac_try='test -s conftest.$ac_objext'
51485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51486   (eval $ac_try) 2>&5
51487   ac_status=$?
51488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489   (exit $ac_status); }; }; then
51490   glibcxx_cv_func__logf_use=yes
51491 else
51492   echo "$as_me: failed program was:" >&5
51493 sed 's/^/| /' conftest.$ac_ext >&5
51494
51495 glibcxx_cv_func__logf_use=no
51496 fi
51497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51498       ac_ext=c
51499 ac_cpp='$CPP $CPPFLAGS'
51500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51503
51504
51505 fi
51506
51507   fi
51508   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
51509 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
51510
51511     if test x$glibcxx_cv_func__logf_use = x"yes"; then
51512
51513 for ac_func in _logf
51514 do
51515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51516 echo "$as_me:$LINENO: checking for $ac_func" >&5
51517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51518 if eval "test \"\${$as_ac_var+set}\" = set"; then
51519   echo $ECHO_N "(cached) $ECHO_C" >&6
51520 else
51521   if test x$gcc_no_link = xyes; then
51522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51524    { (exit 1); exit 1; }; }
51525 fi
51526 cat >conftest.$ac_ext <<_ACEOF
51527 /* confdefs.h.  */
51528 _ACEOF
51529 cat confdefs.h >>conftest.$ac_ext
51530 cat >>conftest.$ac_ext <<_ACEOF
51531 /* end confdefs.h.  */
51532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51534 #define $ac_func innocuous_$ac_func
51535
51536 /* System header to define __stub macros and hopefully few prototypes,
51537     which can conflict with char $ac_func (); below.
51538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51539     <limits.h> exists even on freestanding compilers.  */
51540
51541 #ifdef __STDC__
51542 # include <limits.h>
51543 #else
51544 # include <assert.h>
51545 #endif
51546
51547 #undef $ac_func
51548
51549 /* Override any gcc2 internal prototype to avoid an error.  */
51550 #ifdef __cplusplus
51551 extern "C"
51552 {
51553 #endif
51554 /* We use char because int might match the return type of a gcc2
51555    builtin and then its argument prototype would still apply.  */
51556 char $ac_func ();
51557 /* The GNU C library defines this for functions which it implements
51558     to always fail with ENOSYS.  Some functions are actually named
51559     something starting with __ and the normal name is an alias.  */
51560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51561 choke me
51562 #else
51563 char (*f) () = $ac_func;
51564 #endif
51565 #ifdef __cplusplus
51566 }
51567 #endif
51568
51569 int
51570 main ()
51571 {
51572 return f != $ac_func;
51573   ;
51574   return 0;
51575 }
51576 _ACEOF
51577 rm -f conftest.$ac_objext conftest$ac_exeext
51578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51579   (eval $ac_link) 2>conftest.er1
51580   ac_status=$?
51581   grep -v '^ *+' conftest.er1 >conftest.err
51582   rm -f conftest.er1
51583   cat conftest.err >&5
51584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51585   (exit $ac_status); } &&
51586          { ac_try='test -z "$ac_c_werror_flag"
51587                          || test ! -s conftest.err'
51588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51589   (eval $ac_try) 2>&5
51590   ac_status=$?
51591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51592   (exit $ac_status); }; } &&
51593          { ac_try='test -s conftest$ac_exeext'
51594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51595   (eval $ac_try) 2>&5
51596   ac_status=$?
51597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598   (exit $ac_status); }; }; then
51599   eval "$as_ac_var=yes"
51600 else
51601   echo "$as_me: failed program was:" >&5
51602 sed 's/^/| /' conftest.$ac_ext >&5
51603
51604 eval "$as_ac_var=no"
51605 fi
51606 rm -f conftest.err conftest.$ac_objext \
51607       conftest$ac_exeext conftest.$ac_ext
51608 fi
51609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51611 if test `eval echo '${'$as_ac_var'}'` = yes; then
51612   cat >>confdefs.h <<_ACEOF
51613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51614 _ACEOF
51615
51616 fi
51617 done
51618
51619     fi
51620   fi
51621
51622
51623
51624
51625
51626
51627   echo "$as_me:$LINENO: checking for log10f declaration" >&5
51628 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51629   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51630     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51631   echo $ECHO_N "(cached) $ECHO_C" >&6
51632 else
51633
51634
51635
51636       ac_ext=cc
51637 ac_cpp='$CXXCPP $CPPFLAGS'
51638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51641
51642       cat >conftest.$ac_ext <<_ACEOF
51643 /* confdefs.h.  */
51644 _ACEOF
51645 cat confdefs.h >>conftest.$ac_ext
51646 cat >>conftest.$ac_ext <<_ACEOF
51647 /* end confdefs.h.  */
51648 #include <math.h>
51649                       #ifdef HAVE_IEEEFP_H
51650                       #include <ieeefp.h>
51651                       #endif
51652
51653 int
51654 main ()
51655 {
51656  log10f(0);
51657   ;
51658   return 0;
51659 }
51660 _ACEOF
51661 rm -f conftest.$ac_objext
51662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51663   (eval $ac_compile) 2>conftest.er1
51664   ac_status=$?
51665   grep -v '^ *+' conftest.er1 >conftest.err
51666   rm -f conftest.er1
51667   cat conftest.err >&5
51668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669   (exit $ac_status); } &&
51670          { ac_try='test -z "$ac_cxx_werror_flag"
51671                          || test ! -s conftest.err'
51672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51673   (eval $ac_try) 2>&5
51674   ac_status=$?
51675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51676   (exit $ac_status); }; } &&
51677          { ac_try='test -s conftest.$ac_objext'
51678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51679   (eval $ac_try) 2>&5
51680   ac_status=$?
51681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51682   (exit $ac_status); }; }; then
51683   glibcxx_cv_func_log10f_use=yes
51684 else
51685   echo "$as_me: failed program was:" >&5
51686 sed 's/^/| /' conftest.$ac_ext >&5
51687
51688 glibcxx_cv_func_log10f_use=no
51689 fi
51690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51691       ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51696
51697
51698 fi
51699
51700   fi
51701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51702 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51703
51704   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51705
51706 for ac_func in log10f
51707 do
51708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51709 echo "$as_me:$LINENO: checking for $ac_func" >&5
51710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51711 if eval "test \"\${$as_ac_var+set}\" = set"; then
51712   echo $ECHO_N "(cached) $ECHO_C" >&6
51713 else
51714   if test x$gcc_no_link = xyes; then
51715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51717    { (exit 1); exit 1; }; }
51718 fi
51719 cat >conftest.$ac_ext <<_ACEOF
51720 /* confdefs.h.  */
51721 _ACEOF
51722 cat confdefs.h >>conftest.$ac_ext
51723 cat >>conftest.$ac_ext <<_ACEOF
51724 /* end confdefs.h.  */
51725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51727 #define $ac_func innocuous_$ac_func
51728
51729 /* System header to define __stub macros and hopefully few prototypes,
51730     which can conflict with char $ac_func (); below.
51731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51732     <limits.h> exists even on freestanding compilers.  */
51733
51734 #ifdef __STDC__
51735 # include <limits.h>
51736 #else
51737 # include <assert.h>
51738 #endif
51739
51740 #undef $ac_func
51741
51742 /* Override any gcc2 internal prototype to avoid an error.  */
51743 #ifdef __cplusplus
51744 extern "C"
51745 {
51746 #endif
51747 /* We use char because int might match the return type of a gcc2
51748    builtin and then its argument prototype would still apply.  */
51749 char $ac_func ();
51750 /* The GNU C library defines this for functions which it implements
51751     to always fail with ENOSYS.  Some functions are actually named
51752     something starting with __ and the normal name is an alias.  */
51753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51754 choke me
51755 #else
51756 char (*f) () = $ac_func;
51757 #endif
51758 #ifdef __cplusplus
51759 }
51760 #endif
51761
51762 int
51763 main ()
51764 {
51765 return f != $ac_func;
51766   ;
51767   return 0;
51768 }
51769 _ACEOF
51770 rm -f conftest.$ac_objext conftest$ac_exeext
51771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51772   (eval $ac_link) 2>conftest.er1
51773   ac_status=$?
51774   grep -v '^ *+' conftest.er1 >conftest.err
51775   rm -f conftest.er1
51776   cat conftest.err >&5
51777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778   (exit $ac_status); } &&
51779          { ac_try='test -z "$ac_c_werror_flag"
51780                          || test ! -s conftest.err'
51781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51782   (eval $ac_try) 2>&5
51783   ac_status=$?
51784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785   (exit $ac_status); }; } &&
51786          { ac_try='test -s conftest$ac_exeext'
51787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51788   (eval $ac_try) 2>&5
51789   ac_status=$?
51790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51791   (exit $ac_status); }; }; then
51792   eval "$as_ac_var=yes"
51793 else
51794   echo "$as_me: failed program was:" >&5
51795 sed 's/^/| /' conftest.$ac_ext >&5
51796
51797 eval "$as_ac_var=no"
51798 fi
51799 rm -f conftest.err conftest.$ac_objext \
51800       conftest$ac_exeext conftest.$ac_ext
51801 fi
51802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51804 if test `eval echo '${'$as_ac_var'}'` = yes; then
51805   cat >>confdefs.h <<_ACEOF
51806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51807 _ACEOF
51808
51809 fi
51810 done
51811
51812   else
51813
51814   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51815 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51816   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51817     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51818   echo $ECHO_N "(cached) $ECHO_C" >&6
51819 else
51820
51821
51822
51823       ac_ext=cc
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51828
51829       cat >conftest.$ac_ext <<_ACEOF
51830 /* confdefs.h.  */
51831 _ACEOF
51832 cat confdefs.h >>conftest.$ac_ext
51833 cat >>conftest.$ac_ext <<_ACEOF
51834 /* end confdefs.h.  */
51835 #include <math.h>
51836                       #ifdef HAVE_IEEEFP_H
51837                       #include <ieeefp.h>
51838                       #endif
51839
51840 int
51841 main ()
51842 {
51843  _log10f(0);
51844   ;
51845   return 0;
51846 }
51847 _ACEOF
51848 rm -f conftest.$ac_objext
51849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51850   (eval $ac_compile) 2>conftest.er1
51851   ac_status=$?
51852   grep -v '^ *+' conftest.er1 >conftest.err
51853   rm -f conftest.er1
51854   cat conftest.err >&5
51855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51856   (exit $ac_status); } &&
51857          { ac_try='test -z "$ac_cxx_werror_flag"
51858                          || test ! -s conftest.err'
51859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51860   (eval $ac_try) 2>&5
51861   ac_status=$?
51862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51863   (exit $ac_status); }; } &&
51864          { ac_try='test -s conftest.$ac_objext'
51865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51866   (eval $ac_try) 2>&5
51867   ac_status=$?
51868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51869   (exit $ac_status); }; }; then
51870   glibcxx_cv_func__log10f_use=yes
51871 else
51872   echo "$as_me: failed program was:" >&5
51873 sed 's/^/| /' conftest.$ac_ext >&5
51874
51875 glibcxx_cv_func__log10f_use=no
51876 fi
51877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51878       ac_ext=c
51879 ac_cpp='$CPP $CPPFLAGS'
51880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51883
51884
51885 fi
51886
51887   fi
51888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51889 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51890
51891     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51892
51893 for ac_func in _log10f
51894 do
51895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51896 echo "$as_me:$LINENO: checking for $ac_func" >&5
51897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51898 if eval "test \"\${$as_ac_var+set}\" = set"; then
51899   echo $ECHO_N "(cached) $ECHO_C" >&6
51900 else
51901   if test x$gcc_no_link = xyes; then
51902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51904    { (exit 1); exit 1; }; }
51905 fi
51906 cat >conftest.$ac_ext <<_ACEOF
51907 /* confdefs.h.  */
51908 _ACEOF
51909 cat confdefs.h >>conftest.$ac_ext
51910 cat >>conftest.$ac_ext <<_ACEOF
51911 /* end confdefs.h.  */
51912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51914 #define $ac_func innocuous_$ac_func
51915
51916 /* System header to define __stub macros and hopefully few prototypes,
51917     which can conflict with char $ac_func (); below.
51918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51919     <limits.h> exists even on freestanding compilers.  */
51920
51921 #ifdef __STDC__
51922 # include <limits.h>
51923 #else
51924 # include <assert.h>
51925 #endif
51926
51927 #undef $ac_func
51928
51929 /* Override any gcc2 internal prototype to avoid an error.  */
51930 #ifdef __cplusplus
51931 extern "C"
51932 {
51933 #endif
51934 /* We use char because int might match the return type of a gcc2
51935    builtin and then its argument prototype would still apply.  */
51936 char $ac_func ();
51937 /* The GNU C library defines this for functions which it implements
51938     to always fail with ENOSYS.  Some functions are actually named
51939     something starting with __ and the normal name is an alias.  */
51940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51941 choke me
51942 #else
51943 char (*f) () = $ac_func;
51944 #endif
51945 #ifdef __cplusplus
51946 }
51947 #endif
51948
51949 int
51950 main ()
51951 {
51952 return f != $ac_func;
51953   ;
51954   return 0;
51955 }
51956 _ACEOF
51957 rm -f conftest.$ac_objext conftest$ac_exeext
51958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51959   (eval $ac_link) 2>conftest.er1
51960   ac_status=$?
51961   grep -v '^ *+' conftest.er1 >conftest.err
51962   rm -f conftest.er1
51963   cat conftest.err >&5
51964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965   (exit $ac_status); } &&
51966          { ac_try='test -z "$ac_c_werror_flag"
51967                          || test ! -s conftest.err'
51968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51969   (eval $ac_try) 2>&5
51970   ac_status=$?
51971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972   (exit $ac_status); }; } &&
51973          { ac_try='test -s conftest$ac_exeext'
51974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51975   (eval $ac_try) 2>&5
51976   ac_status=$?
51977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978   (exit $ac_status); }; }; then
51979   eval "$as_ac_var=yes"
51980 else
51981   echo "$as_me: failed program was:" >&5
51982 sed 's/^/| /' conftest.$ac_ext >&5
51983
51984 eval "$as_ac_var=no"
51985 fi
51986 rm -f conftest.err conftest.$ac_objext \
51987       conftest$ac_exeext conftest.$ac_ext
51988 fi
51989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51991 if test `eval echo '${'$as_ac_var'}'` = yes; then
51992   cat >>confdefs.h <<_ACEOF
51993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51994 _ACEOF
51995
51996 fi
51997 done
51998
51999     fi
52000   fi
52001
52002
52003
52004
52005
52006
52007   echo "$as_me:$LINENO: checking for modff declaration" >&5
52008 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
52009   if test x${glibcxx_cv_func_modff_use+set} != xset; then
52010     if test "${glibcxx_cv_func_modff_use+set}" = set; then
52011   echo $ECHO_N "(cached) $ECHO_C" >&6
52012 else
52013
52014
52015
52016       ac_ext=cc
52017 ac_cpp='$CXXCPP $CPPFLAGS'
52018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52021
52022       cat >conftest.$ac_ext <<_ACEOF
52023 /* confdefs.h.  */
52024 _ACEOF
52025 cat confdefs.h >>conftest.$ac_ext
52026 cat >>conftest.$ac_ext <<_ACEOF
52027 /* end confdefs.h.  */
52028 #include <math.h>
52029 int
52030 main ()
52031 {
52032  modff(0, 0);
52033   ;
52034   return 0;
52035 }
52036 _ACEOF
52037 rm -f conftest.$ac_objext
52038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52039   (eval $ac_compile) 2>conftest.er1
52040   ac_status=$?
52041   grep -v '^ *+' conftest.er1 >conftest.err
52042   rm -f conftest.er1
52043   cat conftest.err >&5
52044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045   (exit $ac_status); } &&
52046          { ac_try='test -z "$ac_cxx_werror_flag"
52047                          || test ! -s conftest.err'
52048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52049   (eval $ac_try) 2>&5
52050   ac_status=$?
52051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052   (exit $ac_status); }; } &&
52053          { ac_try='test -s conftest.$ac_objext'
52054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52055   (eval $ac_try) 2>&5
52056   ac_status=$?
52057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52058   (exit $ac_status); }; }; then
52059   glibcxx_cv_func_modff_use=yes
52060 else
52061   echo "$as_me: failed program was:" >&5
52062 sed 's/^/| /' conftest.$ac_ext >&5
52063
52064 glibcxx_cv_func_modff_use=no
52065 fi
52066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52067       ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072
52073
52074 fi
52075
52076   fi
52077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
52078 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
52079
52080   if test x$glibcxx_cv_func_modff_use = x"yes"; then
52081
52082 for ac_func in modff
52083 do
52084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52085 echo "$as_me:$LINENO: checking for $ac_func" >&5
52086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52087 if eval "test \"\${$as_ac_var+set}\" = set"; then
52088   echo $ECHO_N "(cached) $ECHO_C" >&6
52089 else
52090   if test x$gcc_no_link = xyes; then
52091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52093    { (exit 1); exit 1; }; }
52094 fi
52095 cat >conftest.$ac_ext <<_ACEOF
52096 /* confdefs.h.  */
52097 _ACEOF
52098 cat confdefs.h >>conftest.$ac_ext
52099 cat >>conftest.$ac_ext <<_ACEOF
52100 /* end confdefs.h.  */
52101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52103 #define $ac_func innocuous_$ac_func
52104
52105 /* System header to define __stub macros and hopefully few prototypes,
52106     which can conflict with char $ac_func (); below.
52107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52108     <limits.h> exists even on freestanding compilers.  */
52109
52110 #ifdef __STDC__
52111 # include <limits.h>
52112 #else
52113 # include <assert.h>
52114 #endif
52115
52116 #undef $ac_func
52117
52118 /* Override any gcc2 internal prototype to avoid an error.  */
52119 #ifdef __cplusplus
52120 extern "C"
52121 {
52122 #endif
52123 /* We use char because int might match the return type of a gcc2
52124    builtin and then its argument prototype would still apply.  */
52125 char $ac_func ();
52126 /* The GNU C library defines this for functions which it implements
52127     to always fail with ENOSYS.  Some functions are actually named
52128     something starting with __ and the normal name is an alias.  */
52129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52130 choke me
52131 #else
52132 char (*f) () = $ac_func;
52133 #endif
52134 #ifdef __cplusplus
52135 }
52136 #endif
52137
52138 int
52139 main ()
52140 {
52141 return f != $ac_func;
52142   ;
52143   return 0;
52144 }
52145 _ACEOF
52146 rm -f conftest.$ac_objext conftest$ac_exeext
52147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52148   (eval $ac_link) 2>conftest.er1
52149   ac_status=$?
52150   grep -v '^ *+' conftest.er1 >conftest.err
52151   rm -f conftest.er1
52152   cat conftest.err >&5
52153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154   (exit $ac_status); } &&
52155          { ac_try='test -z "$ac_c_werror_flag"
52156                          || test ! -s conftest.err'
52157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52158   (eval $ac_try) 2>&5
52159   ac_status=$?
52160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161   (exit $ac_status); }; } &&
52162          { ac_try='test -s conftest$ac_exeext'
52163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52164   (eval $ac_try) 2>&5
52165   ac_status=$?
52166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167   (exit $ac_status); }; }; then
52168   eval "$as_ac_var=yes"
52169 else
52170   echo "$as_me: failed program was:" >&5
52171 sed 's/^/| /' conftest.$ac_ext >&5
52172
52173 eval "$as_ac_var=no"
52174 fi
52175 rm -f conftest.err conftest.$ac_objext \
52176       conftest$ac_exeext conftest.$ac_ext
52177 fi
52178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52180 if test `eval echo '${'$as_ac_var'}'` = yes; then
52181   cat >>confdefs.h <<_ACEOF
52182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52183 _ACEOF
52184
52185 fi
52186 done
52187
52188   else
52189
52190   echo "$as_me:$LINENO: checking for _modff declaration" >&5
52191 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
52192   if test x${glibcxx_cv_func__modff_use+set} != xset; then
52193     if test "${glibcxx_cv_func__modff_use+set}" = set; then
52194   echo $ECHO_N "(cached) $ECHO_C" >&6
52195 else
52196
52197
52198
52199       ac_ext=cc
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52204
52205       cat >conftest.$ac_ext <<_ACEOF
52206 /* confdefs.h.  */
52207 _ACEOF
52208 cat confdefs.h >>conftest.$ac_ext
52209 cat >>conftest.$ac_ext <<_ACEOF
52210 /* end confdefs.h.  */
52211 #include <math.h>
52212 int
52213 main ()
52214 {
52215  _modff(0, 0);
52216   ;
52217   return 0;
52218 }
52219 _ACEOF
52220 rm -f conftest.$ac_objext
52221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52222   (eval $ac_compile) 2>conftest.er1
52223   ac_status=$?
52224   grep -v '^ *+' conftest.er1 >conftest.err
52225   rm -f conftest.er1
52226   cat conftest.err >&5
52227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52228   (exit $ac_status); } &&
52229          { ac_try='test -z "$ac_cxx_werror_flag"
52230                          || test ! -s conftest.err'
52231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52232   (eval $ac_try) 2>&5
52233   ac_status=$?
52234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52235   (exit $ac_status); }; } &&
52236          { ac_try='test -s conftest.$ac_objext'
52237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52238   (eval $ac_try) 2>&5
52239   ac_status=$?
52240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52241   (exit $ac_status); }; }; then
52242   glibcxx_cv_func__modff_use=yes
52243 else
52244   echo "$as_me: failed program was:" >&5
52245 sed 's/^/| /' conftest.$ac_ext >&5
52246
52247 glibcxx_cv_func__modff_use=no
52248 fi
52249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52250       ac_ext=c
52251 ac_cpp='$CPP $CPPFLAGS'
52252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52255
52256
52257 fi
52258
52259   fi
52260   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
52261 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
52262
52263     if test x$glibcxx_cv_func__modff_use = x"yes"; then
52264
52265 for ac_func in _modff
52266 do
52267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52268 echo "$as_me:$LINENO: checking for $ac_func" >&5
52269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52270 if eval "test \"\${$as_ac_var+set}\" = set"; then
52271   echo $ECHO_N "(cached) $ECHO_C" >&6
52272 else
52273   if test x$gcc_no_link = xyes; then
52274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52276    { (exit 1); exit 1; }; }
52277 fi
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h.  */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h.  */
52284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52286 #define $ac_func innocuous_$ac_func
52287
52288 /* System header to define __stub macros and hopefully few prototypes,
52289     which can conflict with char $ac_func (); below.
52290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52291     <limits.h> exists even on freestanding compilers.  */
52292
52293 #ifdef __STDC__
52294 # include <limits.h>
52295 #else
52296 # include <assert.h>
52297 #endif
52298
52299 #undef $ac_func
52300
52301 /* Override any gcc2 internal prototype to avoid an error.  */
52302 #ifdef __cplusplus
52303 extern "C"
52304 {
52305 #endif
52306 /* We use char because int might match the return type of a gcc2
52307    builtin and then its argument prototype would still apply.  */
52308 char $ac_func ();
52309 /* The GNU C library defines this for functions which it implements
52310     to always fail with ENOSYS.  Some functions are actually named
52311     something starting with __ and the normal name is an alias.  */
52312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52313 choke me
52314 #else
52315 char (*f) () = $ac_func;
52316 #endif
52317 #ifdef __cplusplus
52318 }
52319 #endif
52320
52321 int
52322 main ()
52323 {
52324 return f != $ac_func;
52325   ;
52326   return 0;
52327 }
52328 _ACEOF
52329 rm -f conftest.$ac_objext conftest$ac_exeext
52330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52331   (eval $ac_link) 2>conftest.er1
52332   ac_status=$?
52333   grep -v '^ *+' conftest.er1 >conftest.err
52334   rm -f conftest.er1
52335   cat conftest.err >&5
52336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52337   (exit $ac_status); } &&
52338          { ac_try='test -z "$ac_c_werror_flag"
52339                          || test ! -s conftest.err'
52340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52341   (eval $ac_try) 2>&5
52342   ac_status=$?
52343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344   (exit $ac_status); }; } &&
52345          { ac_try='test -s conftest$ac_exeext'
52346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347   (eval $ac_try) 2>&5
52348   ac_status=$?
52349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350   (exit $ac_status); }; }; then
52351   eval "$as_ac_var=yes"
52352 else
52353   echo "$as_me: failed program was:" >&5
52354 sed 's/^/| /' conftest.$ac_ext >&5
52355
52356 eval "$as_ac_var=no"
52357 fi
52358 rm -f conftest.err conftest.$ac_objext \
52359       conftest$ac_exeext conftest.$ac_ext
52360 fi
52361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52363 if test `eval echo '${'$as_ac_var'}'` = yes; then
52364   cat >>confdefs.h <<_ACEOF
52365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52366 _ACEOF
52367
52368 fi
52369 done
52370
52371     fi
52372   fi
52373
52374
52375
52376
52377
52378
52379   echo "$as_me:$LINENO: checking for modf declaration" >&5
52380 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
52381   if test x${glibcxx_cv_func_modf_use+set} != xset; then
52382     if test "${glibcxx_cv_func_modf_use+set}" = set; then
52383   echo $ECHO_N "(cached) $ECHO_C" >&6
52384 else
52385
52386
52387
52388       ac_ext=cc
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52393
52394       cat >conftest.$ac_ext <<_ACEOF
52395 /* confdefs.h.  */
52396 _ACEOF
52397 cat confdefs.h >>conftest.$ac_ext
52398 cat >>conftest.$ac_ext <<_ACEOF
52399 /* end confdefs.h.  */
52400 #include <math.h>
52401 int
52402 main ()
52403 {
52404  modf(0, 0);
52405   ;
52406   return 0;
52407 }
52408 _ACEOF
52409 rm -f conftest.$ac_objext
52410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52411   (eval $ac_compile) 2>conftest.er1
52412   ac_status=$?
52413   grep -v '^ *+' conftest.er1 >conftest.err
52414   rm -f conftest.er1
52415   cat conftest.err >&5
52416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52417   (exit $ac_status); } &&
52418          { ac_try='test -z "$ac_cxx_werror_flag"
52419                          || test ! -s conftest.err'
52420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52421   (eval $ac_try) 2>&5
52422   ac_status=$?
52423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52424   (exit $ac_status); }; } &&
52425          { ac_try='test -s conftest.$ac_objext'
52426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52427   (eval $ac_try) 2>&5
52428   ac_status=$?
52429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52430   (exit $ac_status); }; }; then
52431   glibcxx_cv_func_modf_use=yes
52432 else
52433   echo "$as_me: failed program was:" >&5
52434 sed 's/^/| /' conftest.$ac_ext >&5
52435
52436 glibcxx_cv_func_modf_use=no
52437 fi
52438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52439       ac_ext=c
52440 ac_cpp='$CPP $CPPFLAGS'
52441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52444
52445
52446 fi
52447
52448   fi
52449   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
52450 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
52451
52452   if test x$glibcxx_cv_func_modf_use = x"yes"; then
52453
52454 for ac_func in modf
52455 do
52456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52457 echo "$as_me:$LINENO: checking for $ac_func" >&5
52458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52459 if eval "test \"\${$as_ac_var+set}\" = set"; then
52460   echo $ECHO_N "(cached) $ECHO_C" >&6
52461 else
52462   if test x$gcc_no_link = xyes; then
52463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52465    { (exit 1); exit 1; }; }
52466 fi
52467 cat >conftest.$ac_ext <<_ACEOF
52468 /* confdefs.h.  */
52469 _ACEOF
52470 cat confdefs.h >>conftest.$ac_ext
52471 cat >>conftest.$ac_ext <<_ACEOF
52472 /* end confdefs.h.  */
52473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52475 #define $ac_func innocuous_$ac_func
52476
52477 /* System header to define __stub macros and hopefully few prototypes,
52478     which can conflict with char $ac_func (); below.
52479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52480     <limits.h> exists even on freestanding compilers.  */
52481
52482 #ifdef __STDC__
52483 # include <limits.h>
52484 #else
52485 # include <assert.h>
52486 #endif
52487
52488 #undef $ac_func
52489
52490 /* Override any gcc2 internal prototype to avoid an error.  */
52491 #ifdef __cplusplus
52492 extern "C"
52493 {
52494 #endif
52495 /* We use char because int might match the return type of a gcc2
52496    builtin and then its argument prototype would still apply.  */
52497 char $ac_func ();
52498 /* The GNU C library defines this for functions which it implements
52499     to always fail with ENOSYS.  Some functions are actually named
52500     something starting with __ and the normal name is an alias.  */
52501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52502 choke me
52503 #else
52504 char (*f) () = $ac_func;
52505 #endif
52506 #ifdef __cplusplus
52507 }
52508 #endif
52509
52510 int
52511 main ()
52512 {
52513 return f != $ac_func;
52514   ;
52515   return 0;
52516 }
52517 _ACEOF
52518 rm -f conftest.$ac_objext conftest$ac_exeext
52519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52520   (eval $ac_link) 2>conftest.er1
52521   ac_status=$?
52522   grep -v '^ *+' conftest.er1 >conftest.err
52523   rm -f conftest.er1
52524   cat conftest.err >&5
52525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52526   (exit $ac_status); } &&
52527          { ac_try='test -z "$ac_c_werror_flag"
52528                          || test ! -s conftest.err'
52529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52530   (eval $ac_try) 2>&5
52531   ac_status=$?
52532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52533   (exit $ac_status); }; } &&
52534          { ac_try='test -s conftest$ac_exeext'
52535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52536   (eval $ac_try) 2>&5
52537   ac_status=$?
52538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52539   (exit $ac_status); }; }; then
52540   eval "$as_ac_var=yes"
52541 else
52542   echo "$as_me: failed program was:" >&5
52543 sed 's/^/| /' conftest.$ac_ext >&5
52544
52545 eval "$as_ac_var=no"
52546 fi
52547 rm -f conftest.err conftest.$ac_objext \
52548       conftest$ac_exeext conftest.$ac_ext
52549 fi
52550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52552 if test `eval echo '${'$as_ac_var'}'` = yes; then
52553   cat >>confdefs.h <<_ACEOF
52554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52555 _ACEOF
52556
52557 fi
52558 done
52559
52560   else
52561
52562   echo "$as_me:$LINENO: checking for _modf declaration" >&5
52563 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52564   if test x${glibcxx_cv_func__modf_use+set} != xset; then
52565     if test "${glibcxx_cv_func__modf_use+set}" = set; then
52566   echo $ECHO_N "(cached) $ECHO_C" >&6
52567 else
52568
52569
52570
52571       ac_ext=cc
52572 ac_cpp='$CXXCPP $CPPFLAGS'
52573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52576
52577       cat >conftest.$ac_ext <<_ACEOF
52578 /* confdefs.h.  */
52579 _ACEOF
52580 cat confdefs.h >>conftest.$ac_ext
52581 cat >>conftest.$ac_ext <<_ACEOF
52582 /* end confdefs.h.  */
52583 #include <math.h>
52584 int
52585 main ()
52586 {
52587  _modf(0, 0);
52588   ;
52589   return 0;
52590 }
52591 _ACEOF
52592 rm -f conftest.$ac_objext
52593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52594   (eval $ac_compile) 2>conftest.er1
52595   ac_status=$?
52596   grep -v '^ *+' conftest.er1 >conftest.err
52597   rm -f conftest.er1
52598   cat conftest.err >&5
52599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600   (exit $ac_status); } &&
52601          { ac_try='test -z "$ac_cxx_werror_flag"
52602                          || test ! -s conftest.err'
52603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52604   (eval $ac_try) 2>&5
52605   ac_status=$?
52606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52607   (exit $ac_status); }; } &&
52608          { ac_try='test -s conftest.$ac_objext'
52609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52610   (eval $ac_try) 2>&5
52611   ac_status=$?
52612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52613   (exit $ac_status); }; }; then
52614   glibcxx_cv_func__modf_use=yes
52615 else
52616   echo "$as_me: failed program was:" >&5
52617 sed 's/^/| /' conftest.$ac_ext >&5
52618
52619 glibcxx_cv_func__modf_use=no
52620 fi
52621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52622       ac_ext=c
52623 ac_cpp='$CPP $CPPFLAGS'
52624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52627
52628
52629 fi
52630
52631   fi
52632   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52633 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52634
52635     if test x$glibcxx_cv_func__modf_use = x"yes"; then
52636
52637 for ac_func in _modf
52638 do
52639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52640 echo "$as_me:$LINENO: checking for $ac_func" >&5
52641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52642 if eval "test \"\${$as_ac_var+set}\" = set"; then
52643   echo $ECHO_N "(cached) $ECHO_C" >&6
52644 else
52645   if test x$gcc_no_link = xyes; then
52646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52648    { (exit 1); exit 1; }; }
52649 fi
52650 cat >conftest.$ac_ext <<_ACEOF
52651 /* confdefs.h.  */
52652 _ACEOF
52653 cat confdefs.h >>conftest.$ac_ext
52654 cat >>conftest.$ac_ext <<_ACEOF
52655 /* end confdefs.h.  */
52656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52658 #define $ac_func innocuous_$ac_func
52659
52660 /* System header to define __stub macros and hopefully few prototypes,
52661     which can conflict with char $ac_func (); below.
52662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52663     <limits.h> exists even on freestanding compilers.  */
52664
52665 #ifdef __STDC__
52666 # include <limits.h>
52667 #else
52668 # include <assert.h>
52669 #endif
52670
52671 #undef $ac_func
52672
52673 /* Override any gcc2 internal prototype to avoid an error.  */
52674 #ifdef __cplusplus
52675 extern "C"
52676 {
52677 #endif
52678 /* We use char because int might match the return type of a gcc2
52679    builtin and then its argument prototype would still apply.  */
52680 char $ac_func ();
52681 /* The GNU C library defines this for functions which it implements
52682     to always fail with ENOSYS.  Some functions are actually named
52683     something starting with __ and the normal name is an alias.  */
52684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52685 choke me
52686 #else
52687 char (*f) () = $ac_func;
52688 #endif
52689 #ifdef __cplusplus
52690 }
52691 #endif
52692
52693 int
52694 main ()
52695 {
52696 return f != $ac_func;
52697   ;
52698   return 0;
52699 }
52700 _ACEOF
52701 rm -f conftest.$ac_objext conftest$ac_exeext
52702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52703   (eval $ac_link) 2>conftest.er1
52704   ac_status=$?
52705   grep -v '^ *+' conftest.er1 >conftest.err
52706   rm -f conftest.er1
52707   cat conftest.err >&5
52708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52709   (exit $ac_status); } &&
52710          { ac_try='test -z "$ac_c_werror_flag"
52711                          || test ! -s conftest.err'
52712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52713   (eval $ac_try) 2>&5
52714   ac_status=$?
52715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52716   (exit $ac_status); }; } &&
52717          { ac_try='test -s conftest$ac_exeext'
52718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52719   (eval $ac_try) 2>&5
52720   ac_status=$?
52721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52722   (exit $ac_status); }; }; then
52723   eval "$as_ac_var=yes"
52724 else
52725   echo "$as_me: failed program was:" >&5
52726 sed 's/^/| /' conftest.$ac_ext >&5
52727
52728 eval "$as_ac_var=no"
52729 fi
52730 rm -f conftest.err conftest.$ac_objext \
52731       conftest$ac_exeext conftest.$ac_ext
52732 fi
52733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52735 if test `eval echo '${'$as_ac_var'}'` = yes; then
52736   cat >>confdefs.h <<_ACEOF
52737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52738 _ACEOF
52739
52740 fi
52741 done
52742
52743     fi
52744   fi
52745
52746
52747
52748
52749
52750
52751   echo "$as_me:$LINENO: checking for powf declaration" >&5
52752 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52753   if test x${glibcxx_cv_func_powf_use+set} != xset; then
52754     if test "${glibcxx_cv_func_powf_use+set}" = set; then
52755   echo $ECHO_N "(cached) $ECHO_C" >&6
52756 else
52757
52758
52759
52760       ac_ext=cc
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765
52766       cat >conftest.$ac_ext <<_ACEOF
52767 /* confdefs.h.  */
52768 _ACEOF
52769 cat confdefs.h >>conftest.$ac_ext
52770 cat >>conftest.$ac_ext <<_ACEOF
52771 /* end confdefs.h.  */
52772 #include <math.h>
52773 int
52774 main ()
52775 {
52776  powf(0, 0);
52777   ;
52778   return 0;
52779 }
52780 _ACEOF
52781 rm -f conftest.$ac_objext
52782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52783   (eval $ac_compile) 2>conftest.er1
52784   ac_status=$?
52785   grep -v '^ *+' conftest.er1 >conftest.err
52786   rm -f conftest.er1
52787   cat conftest.err >&5
52788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789   (exit $ac_status); } &&
52790          { ac_try='test -z "$ac_cxx_werror_flag"
52791                          || test ! -s conftest.err'
52792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52793   (eval $ac_try) 2>&5
52794   ac_status=$?
52795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52796   (exit $ac_status); }; } &&
52797          { ac_try='test -s conftest.$ac_objext'
52798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52799   (eval $ac_try) 2>&5
52800   ac_status=$?
52801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52802   (exit $ac_status); }; }; then
52803   glibcxx_cv_func_powf_use=yes
52804 else
52805   echo "$as_me: failed program was:" >&5
52806 sed 's/^/| /' conftest.$ac_ext >&5
52807
52808 glibcxx_cv_func_powf_use=no
52809 fi
52810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52811       ac_ext=c
52812 ac_cpp='$CPP $CPPFLAGS'
52813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52816
52817
52818 fi
52819
52820   fi
52821   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52822 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52823
52824   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52825
52826 for ac_func in powf
52827 do
52828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52829 echo "$as_me:$LINENO: checking for $ac_func" >&5
52830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52831 if eval "test \"\${$as_ac_var+set}\" = set"; then
52832   echo $ECHO_N "(cached) $ECHO_C" >&6
52833 else
52834   if test x$gcc_no_link = xyes; then
52835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52837    { (exit 1); exit 1; }; }
52838 fi
52839 cat >conftest.$ac_ext <<_ACEOF
52840 /* confdefs.h.  */
52841 _ACEOF
52842 cat confdefs.h >>conftest.$ac_ext
52843 cat >>conftest.$ac_ext <<_ACEOF
52844 /* end confdefs.h.  */
52845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52847 #define $ac_func innocuous_$ac_func
52848
52849 /* System header to define __stub macros and hopefully few prototypes,
52850     which can conflict with char $ac_func (); below.
52851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52852     <limits.h> exists even on freestanding compilers.  */
52853
52854 #ifdef __STDC__
52855 # include <limits.h>
52856 #else
52857 # include <assert.h>
52858 #endif
52859
52860 #undef $ac_func
52861
52862 /* Override any gcc2 internal prototype to avoid an error.  */
52863 #ifdef __cplusplus
52864 extern "C"
52865 {
52866 #endif
52867 /* We use char because int might match the return type of a gcc2
52868    builtin and then its argument prototype would still apply.  */
52869 char $ac_func ();
52870 /* The GNU C library defines this for functions which it implements
52871     to always fail with ENOSYS.  Some functions are actually named
52872     something starting with __ and the normal name is an alias.  */
52873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52874 choke me
52875 #else
52876 char (*f) () = $ac_func;
52877 #endif
52878 #ifdef __cplusplus
52879 }
52880 #endif
52881
52882 int
52883 main ()
52884 {
52885 return f != $ac_func;
52886   ;
52887   return 0;
52888 }
52889 _ACEOF
52890 rm -f conftest.$ac_objext conftest$ac_exeext
52891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52892   (eval $ac_link) 2>conftest.er1
52893   ac_status=$?
52894   grep -v '^ *+' conftest.er1 >conftest.err
52895   rm -f conftest.er1
52896   cat conftest.err >&5
52897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52898   (exit $ac_status); } &&
52899          { ac_try='test -z "$ac_c_werror_flag"
52900                          || test ! -s conftest.err'
52901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52902   (eval $ac_try) 2>&5
52903   ac_status=$?
52904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52905   (exit $ac_status); }; } &&
52906          { ac_try='test -s conftest$ac_exeext'
52907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52908   (eval $ac_try) 2>&5
52909   ac_status=$?
52910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52911   (exit $ac_status); }; }; then
52912   eval "$as_ac_var=yes"
52913 else
52914   echo "$as_me: failed program was:" >&5
52915 sed 's/^/| /' conftest.$ac_ext >&5
52916
52917 eval "$as_ac_var=no"
52918 fi
52919 rm -f conftest.err conftest.$ac_objext \
52920       conftest$ac_exeext conftest.$ac_ext
52921 fi
52922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52924 if test `eval echo '${'$as_ac_var'}'` = yes; then
52925   cat >>confdefs.h <<_ACEOF
52926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52927 _ACEOF
52928
52929 fi
52930 done
52931
52932   else
52933
52934   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52935 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52936   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52937     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52938   echo $ECHO_N "(cached) $ECHO_C" >&6
52939 else
52940
52941
52942
52943       ac_ext=cc
52944 ac_cpp='$CXXCPP $CPPFLAGS'
52945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52948
52949       cat >conftest.$ac_ext <<_ACEOF
52950 /* confdefs.h.  */
52951 _ACEOF
52952 cat confdefs.h >>conftest.$ac_ext
52953 cat >>conftest.$ac_ext <<_ACEOF
52954 /* end confdefs.h.  */
52955 #include <math.h>
52956 int
52957 main ()
52958 {
52959  _powf(0, 0);
52960   ;
52961   return 0;
52962 }
52963 _ACEOF
52964 rm -f conftest.$ac_objext
52965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52966   (eval $ac_compile) 2>conftest.er1
52967   ac_status=$?
52968   grep -v '^ *+' conftest.er1 >conftest.err
52969   rm -f conftest.er1
52970   cat conftest.err >&5
52971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52972   (exit $ac_status); } &&
52973          { ac_try='test -z "$ac_cxx_werror_flag"
52974                          || test ! -s conftest.err'
52975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52976   (eval $ac_try) 2>&5
52977   ac_status=$?
52978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52979   (exit $ac_status); }; } &&
52980          { ac_try='test -s conftest.$ac_objext'
52981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52982   (eval $ac_try) 2>&5
52983   ac_status=$?
52984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52985   (exit $ac_status); }; }; then
52986   glibcxx_cv_func__powf_use=yes
52987 else
52988   echo "$as_me: failed program was:" >&5
52989 sed 's/^/| /' conftest.$ac_ext >&5
52990
52991 glibcxx_cv_func__powf_use=no
52992 fi
52993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52994       ac_ext=c
52995 ac_cpp='$CPP $CPPFLAGS'
52996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52999
53000
53001 fi
53002
53003   fi
53004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
53005 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53006
53007     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53008
53009 for ac_func in _powf
53010 do
53011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53012 echo "$as_me:$LINENO: checking for $ac_func" >&5
53013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53014 if eval "test \"\${$as_ac_var+set}\" = set"; then
53015   echo $ECHO_N "(cached) $ECHO_C" >&6
53016 else
53017   if test x$gcc_no_link = xyes; then
53018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53020    { (exit 1); exit 1; }; }
53021 fi
53022 cat >conftest.$ac_ext <<_ACEOF
53023 /* confdefs.h.  */
53024 _ACEOF
53025 cat confdefs.h >>conftest.$ac_ext
53026 cat >>conftest.$ac_ext <<_ACEOF
53027 /* end confdefs.h.  */
53028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53030 #define $ac_func innocuous_$ac_func
53031
53032 /* System header to define __stub macros and hopefully few prototypes,
53033     which can conflict with char $ac_func (); below.
53034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53035     <limits.h> exists even on freestanding compilers.  */
53036
53037 #ifdef __STDC__
53038 # include <limits.h>
53039 #else
53040 # include <assert.h>
53041 #endif
53042
53043 #undef $ac_func
53044
53045 /* Override any gcc2 internal prototype to avoid an error.  */
53046 #ifdef __cplusplus
53047 extern "C"
53048 {
53049 #endif
53050 /* We use char because int might match the return type of a gcc2
53051    builtin and then its argument prototype would still apply.  */
53052 char $ac_func ();
53053 /* The GNU C library defines this for functions which it implements
53054     to always fail with ENOSYS.  Some functions are actually named
53055     something starting with __ and the normal name is an alias.  */
53056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53057 choke me
53058 #else
53059 char (*f) () = $ac_func;
53060 #endif
53061 #ifdef __cplusplus
53062 }
53063 #endif
53064
53065 int
53066 main ()
53067 {
53068 return f != $ac_func;
53069   ;
53070   return 0;
53071 }
53072 _ACEOF
53073 rm -f conftest.$ac_objext conftest$ac_exeext
53074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53075   (eval $ac_link) 2>conftest.er1
53076   ac_status=$?
53077   grep -v '^ *+' conftest.er1 >conftest.err
53078   rm -f conftest.er1
53079   cat conftest.err >&5
53080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081   (exit $ac_status); } &&
53082          { ac_try='test -z "$ac_c_werror_flag"
53083                          || test ! -s conftest.err'
53084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53085   (eval $ac_try) 2>&5
53086   ac_status=$?
53087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53088   (exit $ac_status); }; } &&
53089          { ac_try='test -s conftest$ac_exeext'
53090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53091   (eval $ac_try) 2>&5
53092   ac_status=$?
53093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53094   (exit $ac_status); }; }; then
53095   eval "$as_ac_var=yes"
53096 else
53097   echo "$as_me: failed program was:" >&5
53098 sed 's/^/| /' conftest.$ac_ext >&5
53099
53100 eval "$as_ac_var=no"
53101 fi
53102 rm -f conftest.err conftest.$ac_objext \
53103       conftest$ac_exeext conftest.$ac_ext
53104 fi
53105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53107 if test `eval echo '${'$as_ac_var'}'` = yes; then
53108   cat >>confdefs.h <<_ACEOF
53109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53110 _ACEOF
53111
53112 fi
53113 done
53114
53115     fi
53116   fi
53117
53118
53119
53120
53121
53122
53123   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
53124 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
53125   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53126     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
53127   echo $ECHO_N "(cached) $ECHO_C" >&6
53128 else
53129
53130
53131
53132       ac_ext=cc
53133 ac_cpp='$CXXCPP $CPPFLAGS'
53134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137
53138       cat >conftest.$ac_ext <<_ACEOF
53139 /* confdefs.h.  */
53140 _ACEOF
53141 cat confdefs.h >>conftest.$ac_ext
53142 cat >>conftest.$ac_ext <<_ACEOF
53143 /* end confdefs.h.  */
53144 #include <math.h>
53145                       #ifdef HAVE_IEEEFP_H
53146                       #include <ieeefp.h>
53147                       #endif
53148
53149 int
53150 main ()
53151 {
53152  sqrtf(0);
53153   ;
53154   return 0;
53155 }
53156 _ACEOF
53157 rm -f conftest.$ac_objext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53159   (eval $ac_compile) 2>conftest.er1
53160   ac_status=$?
53161   grep -v '^ *+' conftest.er1 >conftest.err
53162   rm -f conftest.er1
53163   cat conftest.err >&5
53164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165   (exit $ac_status); } &&
53166          { ac_try='test -z "$ac_cxx_werror_flag"
53167                          || test ! -s conftest.err'
53168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169   (eval $ac_try) 2>&5
53170   ac_status=$?
53171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172   (exit $ac_status); }; } &&
53173          { ac_try='test -s conftest.$ac_objext'
53174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175   (eval $ac_try) 2>&5
53176   ac_status=$?
53177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178   (exit $ac_status); }; }; then
53179   glibcxx_cv_func_sqrtf_use=yes
53180 else
53181   echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53183
53184 glibcxx_cv_func_sqrtf_use=no
53185 fi
53186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53187       ac_ext=c
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53192
53193
53194 fi
53195
53196   fi
53197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
53198 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
53199
53200   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53201
53202 for ac_func in sqrtf
53203 do
53204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53205 echo "$as_me:$LINENO: checking for $ac_func" >&5
53206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53207 if eval "test \"\${$as_ac_var+set}\" = set"; then
53208   echo $ECHO_N "(cached) $ECHO_C" >&6
53209 else
53210   if test x$gcc_no_link = xyes; then
53211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53213    { (exit 1); exit 1; }; }
53214 fi
53215 cat >conftest.$ac_ext <<_ACEOF
53216 /* confdefs.h.  */
53217 _ACEOF
53218 cat confdefs.h >>conftest.$ac_ext
53219 cat >>conftest.$ac_ext <<_ACEOF
53220 /* end confdefs.h.  */
53221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53223 #define $ac_func innocuous_$ac_func
53224
53225 /* System header to define __stub macros and hopefully few prototypes,
53226     which can conflict with char $ac_func (); below.
53227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53228     <limits.h> exists even on freestanding compilers.  */
53229
53230 #ifdef __STDC__
53231 # include <limits.h>
53232 #else
53233 # include <assert.h>
53234 #endif
53235
53236 #undef $ac_func
53237
53238 /* Override any gcc2 internal prototype to avoid an error.  */
53239 #ifdef __cplusplus
53240 extern "C"
53241 {
53242 #endif
53243 /* We use char because int might match the return type of a gcc2
53244    builtin and then its argument prototype would still apply.  */
53245 char $ac_func ();
53246 /* The GNU C library defines this for functions which it implements
53247     to always fail with ENOSYS.  Some functions are actually named
53248     something starting with __ and the normal name is an alias.  */
53249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53250 choke me
53251 #else
53252 char (*f) () = $ac_func;
53253 #endif
53254 #ifdef __cplusplus
53255 }
53256 #endif
53257
53258 int
53259 main ()
53260 {
53261 return f != $ac_func;
53262   ;
53263   return 0;
53264 }
53265 _ACEOF
53266 rm -f conftest.$ac_objext conftest$ac_exeext
53267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53268   (eval $ac_link) 2>conftest.er1
53269   ac_status=$?
53270   grep -v '^ *+' conftest.er1 >conftest.err
53271   rm -f conftest.er1
53272   cat conftest.err >&5
53273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274   (exit $ac_status); } &&
53275          { ac_try='test -z "$ac_c_werror_flag"
53276                          || test ! -s conftest.err'
53277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53278   (eval $ac_try) 2>&5
53279   ac_status=$?
53280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53281   (exit $ac_status); }; } &&
53282          { ac_try='test -s conftest$ac_exeext'
53283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53284   (eval $ac_try) 2>&5
53285   ac_status=$?
53286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53287   (exit $ac_status); }; }; then
53288   eval "$as_ac_var=yes"
53289 else
53290   echo "$as_me: failed program was:" >&5
53291 sed 's/^/| /' conftest.$ac_ext >&5
53292
53293 eval "$as_ac_var=no"
53294 fi
53295 rm -f conftest.err conftest.$ac_objext \
53296       conftest$ac_exeext conftest.$ac_ext
53297 fi
53298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53300 if test `eval echo '${'$as_ac_var'}'` = yes; then
53301   cat >>confdefs.h <<_ACEOF
53302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53303 _ACEOF
53304
53305 fi
53306 done
53307
53308   else
53309
53310   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
53311 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
53312   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53313     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
53314   echo $ECHO_N "(cached) $ECHO_C" >&6
53315 else
53316
53317
53318
53319       ac_ext=cc
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53324
53325       cat >conftest.$ac_ext <<_ACEOF
53326 /* confdefs.h.  */
53327 _ACEOF
53328 cat confdefs.h >>conftest.$ac_ext
53329 cat >>conftest.$ac_ext <<_ACEOF
53330 /* end confdefs.h.  */
53331 #include <math.h>
53332                       #ifdef HAVE_IEEEFP_H
53333                       #include <ieeefp.h>
53334                       #endif
53335
53336 int
53337 main ()
53338 {
53339  _sqrtf(0);
53340   ;
53341   return 0;
53342 }
53343 _ACEOF
53344 rm -f conftest.$ac_objext
53345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53346   (eval $ac_compile) 2>conftest.er1
53347   ac_status=$?
53348   grep -v '^ *+' conftest.er1 >conftest.err
53349   rm -f conftest.er1
53350   cat conftest.err >&5
53351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352   (exit $ac_status); } &&
53353          { ac_try='test -z "$ac_cxx_werror_flag"
53354                          || test ! -s conftest.err'
53355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53356   (eval $ac_try) 2>&5
53357   ac_status=$?
53358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53359   (exit $ac_status); }; } &&
53360          { ac_try='test -s conftest.$ac_objext'
53361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53362   (eval $ac_try) 2>&5
53363   ac_status=$?
53364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365   (exit $ac_status); }; }; then
53366   glibcxx_cv_func__sqrtf_use=yes
53367 else
53368   echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53370
53371 glibcxx_cv_func__sqrtf_use=no
53372 fi
53373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53374       ac_ext=c
53375 ac_cpp='$CPP $CPPFLAGS'
53376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53379
53380
53381 fi
53382
53383   fi
53384   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
53385 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
53386
53387     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53388
53389 for ac_func in _sqrtf
53390 do
53391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53392 echo "$as_me:$LINENO: checking for $ac_func" >&5
53393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53394 if eval "test \"\${$as_ac_var+set}\" = set"; then
53395   echo $ECHO_N "(cached) $ECHO_C" >&6
53396 else
53397   if test x$gcc_no_link = xyes; then
53398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53400    { (exit 1); exit 1; }; }
53401 fi
53402 cat >conftest.$ac_ext <<_ACEOF
53403 /* confdefs.h.  */
53404 _ACEOF
53405 cat confdefs.h >>conftest.$ac_ext
53406 cat >>conftest.$ac_ext <<_ACEOF
53407 /* end confdefs.h.  */
53408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53410 #define $ac_func innocuous_$ac_func
53411
53412 /* System header to define __stub macros and hopefully few prototypes,
53413     which can conflict with char $ac_func (); below.
53414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53415     <limits.h> exists even on freestanding compilers.  */
53416
53417 #ifdef __STDC__
53418 # include <limits.h>
53419 #else
53420 # include <assert.h>
53421 #endif
53422
53423 #undef $ac_func
53424
53425 /* Override any gcc2 internal prototype to avoid an error.  */
53426 #ifdef __cplusplus
53427 extern "C"
53428 {
53429 #endif
53430 /* We use char because int might match the return type of a gcc2
53431    builtin and then its argument prototype would still apply.  */
53432 char $ac_func ();
53433 /* The GNU C library defines this for functions which it implements
53434     to always fail with ENOSYS.  Some functions are actually named
53435     something starting with __ and the normal name is an alias.  */
53436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53437 choke me
53438 #else
53439 char (*f) () = $ac_func;
53440 #endif
53441 #ifdef __cplusplus
53442 }
53443 #endif
53444
53445 int
53446 main ()
53447 {
53448 return f != $ac_func;
53449   ;
53450   return 0;
53451 }
53452 _ACEOF
53453 rm -f conftest.$ac_objext conftest$ac_exeext
53454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53455   (eval $ac_link) 2>conftest.er1
53456   ac_status=$?
53457   grep -v '^ *+' conftest.er1 >conftest.err
53458   rm -f conftest.er1
53459   cat conftest.err >&5
53460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53461   (exit $ac_status); } &&
53462          { ac_try='test -z "$ac_c_werror_flag"
53463                          || test ! -s conftest.err'
53464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53465   (eval $ac_try) 2>&5
53466   ac_status=$?
53467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53468   (exit $ac_status); }; } &&
53469          { ac_try='test -s conftest$ac_exeext'
53470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53471   (eval $ac_try) 2>&5
53472   ac_status=$?
53473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474   (exit $ac_status); }; }; then
53475   eval "$as_ac_var=yes"
53476 else
53477   echo "$as_me: failed program was:" >&5
53478 sed 's/^/| /' conftest.$ac_ext >&5
53479
53480 eval "$as_ac_var=no"
53481 fi
53482 rm -f conftest.err conftest.$ac_objext \
53483       conftest$ac_exeext conftest.$ac_ext
53484 fi
53485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53487 if test `eval echo '${'$as_ac_var'}'` = yes; then
53488   cat >>confdefs.h <<_ACEOF
53489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53490 _ACEOF
53491
53492 fi
53493 done
53494
53495     fi
53496   fi
53497
53498
53499
53500
53501
53502
53503   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
53504 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
53505   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53506     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
53507   echo $ECHO_N "(cached) $ECHO_C" >&6
53508 else
53509
53510
53511
53512       ac_ext=cc
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53517
53518       cat >conftest.$ac_ext <<_ACEOF
53519 /* confdefs.h.  */
53520 _ACEOF
53521 cat confdefs.h >>conftest.$ac_ext
53522 cat >>conftest.$ac_ext <<_ACEOF
53523 /* end confdefs.h.  */
53524 #include <math.h>
53525 int
53526 main ()
53527 {
53528  sincosf(0, 0, 0);
53529   ;
53530   return 0;
53531 }
53532 _ACEOF
53533 rm -f conftest.$ac_objext
53534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53535   (eval $ac_compile) 2>conftest.er1
53536   ac_status=$?
53537   grep -v '^ *+' conftest.er1 >conftest.err
53538   rm -f conftest.er1
53539   cat conftest.err >&5
53540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53541   (exit $ac_status); } &&
53542          { ac_try='test -z "$ac_cxx_werror_flag"
53543                          || test ! -s conftest.err'
53544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53545   (eval $ac_try) 2>&5
53546   ac_status=$?
53547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548   (exit $ac_status); }; } &&
53549          { ac_try='test -s conftest.$ac_objext'
53550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53551   (eval $ac_try) 2>&5
53552   ac_status=$?
53553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53554   (exit $ac_status); }; }; then
53555   glibcxx_cv_func_sincosf_use=yes
53556 else
53557   echo "$as_me: failed program was:" >&5
53558 sed 's/^/| /' conftest.$ac_ext >&5
53559
53560 glibcxx_cv_func_sincosf_use=no
53561 fi
53562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53563       ac_ext=c
53564 ac_cpp='$CPP $CPPFLAGS'
53565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53568
53569
53570 fi
53571
53572   fi
53573   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53574 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53575
53576   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53577
53578 for ac_func in sincosf
53579 do
53580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53581 echo "$as_me:$LINENO: checking for $ac_func" >&5
53582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53583 if eval "test \"\${$as_ac_var+set}\" = set"; then
53584   echo $ECHO_N "(cached) $ECHO_C" >&6
53585 else
53586   if test x$gcc_no_link = xyes; then
53587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53589    { (exit 1); exit 1; }; }
53590 fi
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h.  */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h.  */
53597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53599 #define $ac_func innocuous_$ac_func
53600
53601 /* System header to define __stub macros and hopefully few prototypes,
53602     which can conflict with char $ac_func (); below.
53603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53604     <limits.h> exists even on freestanding compilers.  */
53605
53606 #ifdef __STDC__
53607 # include <limits.h>
53608 #else
53609 # include <assert.h>
53610 #endif
53611
53612 #undef $ac_func
53613
53614 /* Override any gcc2 internal prototype to avoid an error.  */
53615 #ifdef __cplusplus
53616 extern "C"
53617 {
53618 #endif
53619 /* We use char because int might match the return type of a gcc2
53620    builtin and then its argument prototype would still apply.  */
53621 char $ac_func ();
53622 /* The GNU C library defines this for functions which it implements
53623     to always fail with ENOSYS.  Some functions are actually named
53624     something starting with __ and the normal name is an alias.  */
53625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53626 choke me
53627 #else
53628 char (*f) () = $ac_func;
53629 #endif
53630 #ifdef __cplusplus
53631 }
53632 #endif
53633
53634 int
53635 main ()
53636 {
53637 return f != $ac_func;
53638   ;
53639   return 0;
53640 }
53641 _ACEOF
53642 rm -f conftest.$ac_objext conftest$ac_exeext
53643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53644   (eval $ac_link) 2>conftest.er1
53645   ac_status=$?
53646   grep -v '^ *+' conftest.er1 >conftest.err
53647   rm -f conftest.er1
53648   cat conftest.err >&5
53649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53650   (exit $ac_status); } &&
53651          { ac_try='test -z "$ac_c_werror_flag"
53652                          || test ! -s conftest.err'
53653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53654   (eval $ac_try) 2>&5
53655   ac_status=$?
53656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53657   (exit $ac_status); }; } &&
53658          { ac_try='test -s conftest$ac_exeext'
53659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53660   (eval $ac_try) 2>&5
53661   ac_status=$?
53662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53663   (exit $ac_status); }; }; then
53664   eval "$as_ac_var=yes"
53665 else
53666   echo "$as_me: failed program was:" >&5
53667 sed 's/^/| /' conftest.$ac_ext >&5
53668
53669 eval "$as_ac_var=no"
53670 fi
53671 rm -f conftest.err conftest.$ac_objext \
53672       conftest$ac_exeext conftest.$ac_ext
53673 fi
53674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53676 if test `eval echo '${'$as_ac_var'}'` = yes; then
53677   cat >>confdefs.h <<_ACEOF
53678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53679 _ACEOF
53680
53681 fi
53682 done
53683
53684   else
53685
53686   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53687 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53688   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53689     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53690   echo $ECHO_N "(cached) $ECHO_C" >&6
53691 else
53692
53693
53694
53695       ac_ext=cc
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53700
53701       cat >conftest.$ac_ext <<_ACEOF
53702 /* confdefs.h.  */
53703 _ACEOF
53704 cat confdefs.h >>conftest.$ac_ext
53705 cat >>conftest.$ac_ext <<_ACEOF
53706 /* end confdefs.h.  */
53707 #include <math.h>
53708 int
53709 main ()
53710 {
53711  _sincosf(0, 0, 0);
53712   ;
53713   return 0;
53714 }
53715 _ACEOF
53716 rm -f conftest.$ac_objext
53717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53718   (eval $ac_compile) 2>conftest.er1
53719   ac_status=$?
53720   grep -v '^ *+' conftest.er1 >conftest.err
53721   rm -f conftest.er1
53722   cat conftest.err >&5
53723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53724   (exit $ac_status); } &&
53725          { ac_try='test -z "$ac_cxx_werror_flag"
53726                          || test ! -s conftest.err'
53727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53728   (eval $ac_try) 2>&5
53729   ac_status=$?
53730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53731   (exit $ac_status); }; } &&
53732          { ac_try='test -s conftest.$ac_objext'
53733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53734   (eval $ac_try) 2>&5
53735   ac_status=$?
53736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53737   (exit $ac_status); }; }; then
53738   glibcxx_cv_func__sincosf_use=yes
53739 else
53740   echo "$as_me: failed program was:" >&5
53741 sed 's/^/| /' conftest.$ac_ext >&5
53742
53743 glibcxx_cv_func__sincosf_use=no
53744 fi
53745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53746       ac_ext=c
53747 ac_cpp='$CPP $CPPFLAGS'
53748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53751
53752
53753 fi
53754
53755   fi
53756   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53757 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53758
53759     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53760
53761 for ac_func in _sincosf
53762 do
53763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53764 echo "$as_me:$LINENO: checking for $ac_func" >&5
53765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53766 if eval "test \"\${$as_ac_var+set}\" = set"; then
53767   echo $ECHO_N "(cached) $ECHO_C" >&6
53768 else
53769   if test x$gcc_no_link = xyes; then
53770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53772    { (exit 1); exit 1; }; }
53773 fi
53774 cat >conftest.$ac_ext <<_ACEOF
53775 /* confdefs.h.  */
53776 _ACEOF
53777 cat confdefs.h >>conftest.$ac_ext
53778 cat >>conftest.$ac_ext <<_ACEOF
53779 /* end confdefs.h.  */
53780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53782 #define $ac_func innocuous_$ac_func
53783
53784 /* System header to define __stub macros and hopefully few prototypes,
53785     which can conflict with char $ac_func (); below.
53786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53787     <limits.h> exists even on freestanding compilers.  */
53788
53789 #ifdef __STDC__
53790 # include <limits.h>
53791 #else
53792 # include <assert.h>
53793 #endif
53794
53795 #undef $ac_func
53796
53797 /* Override any gcc2 internal prototype to avoid an error.  */
53798 #ifdef __cplusplus
53799 extern "C"
53800 {
53801 #endif
53802 /* We use char because int might match the return type of a gcc2
53803    builtin and then its argument prototype would still apply.  */
53804 char $ac_func ();
53805 /* The GNU C library defines this for functions which it implements
53806     to always fail with ENOSYS.  Some functions are actually named
53807     something starting with __ and the normal name is an alias.  */
53808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53809 choke me
53810 #else
53811 char (*f) () = $ac_func;
53812 #endif
53813 #ifdef __cplusplus
53814 }
53815 #endif
53816
53817 int
53818 main ()
53819 {
53820 return f != $ac_func;
53821   ;
53822   return 0;
53823 }
53824 _ACEOF
53825 rm -f conftest.$ac_objext conftest$ac_exeext
53826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53827   (eval $ac_link) 2>conftest.er1
53828   ac_status=$?
53829   grep -v '^ *+' conftest.er1 >conftest.err
53830   rm -f conftest.er1
53831   cat conftest.err >&5
53832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833   (exit $ac_status); } &&
53834          { ac_try='test -z "$ac_c_werror_flag"
53835                          || test ! -s conftest.err'
53836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53837   (eval $ac_try) 2>&5
53838   ac_status=$?
53839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53840   (exit $ac_status); }; } &&
53841          { ac_try='test -s conftest$ac_exeext'
53842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53843   (eval $ac_try) 2>&5
53844   ac_status=$?
53845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53846   (exit $ac_status); }; }; then
53847   eval "$as_ac_var=yes"
53848 else
53849   echo "$as_me: failed program was:" >&5
53850 sed 's/^/| /' conftest.$ac_ext >&5
53851
53852 eval "$as_ac_var=no"
53853 fi
53854 rm -f conftest.err conftest.$ac_objext \
53855       conftest$ac_exeext conftest.$ac_ext
53856 fi
53857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53859 if test `eval echo '${'$as_ac_var'}'` = yes; then
53860   cat >>confdefs.h <<_ACEOF
53861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53862 _ACEOF
53863
53864 fi
53865 done
53866
53867     fi
53868   fi
53869
53870
53871
53872
53873
53874
53875   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53876 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53877   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53878     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53879   echo $ECHO_N "(cached) $ECHO_C" >&6
53880 else
53881
53882
53883
53884       ac_ext=cc
53885 ac_cpp='$CXXCPP $CPPFLAGS'
53886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53889
53890       cat >conftest.$ac_ext <<_ACEOF
53891 /* confdefs.h.  */
53892 _ACEOF
53893 cat confdefs.h >>conftest.$ac_ext
53894 cat >>conftest.$ac_ext <<_ACEOF
53895 /* end confdefs.h.  */
53896 #include <math.h>
53897                       #ifdef HAVE_IEEEFP_H
53898                       #include <ieeefp.h>
53899                       #endif
53900
53901 int
53902 main ()
53903 {
53904  finitef(0);
53905   ;
53906   return 0;
53907 }
53908 _ACEOF
53909 rm -f conftest.$ac_objext
53910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53911   (eval $ac_compile) 2>conftest.er1
53912   ac_status=$?
53913   grep -v '^ *+' conftest.er1 >conftest.err
53914   rm -f conftest.er1
53915   cat conftest.err >&5
53916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53917   (exit $ac_status); } &&
53918          { ac_try='test -z "$ac_cxx_werror_flag"
53919                          || test ! -s conftest.err'
53920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53921   (eval $ac_try) 2>&5
53922   ac_status=$?
53923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53924   (exit $ac_status); }; } &&
53925          { ac_try='test -s conftest.$ac_objext'
53926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53927   (eval $ac_try) 2>&5
53928   ac_status=$?
53929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53930   (exit $ac_status); }; }; then
53931   glibcxx_cv_func_finitef_use=yes
53932 else
53933   echo "$as_me: failed program was:" >&5
53934 sed 's/^/| /' conftest.$ac_ext >&5
53935
53936 glibcxx_cv_func_finitef_use=no
53937 fi
53938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53939       ac_ext=c
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53944
53945
53946 fi
53947
53948   fi
53949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53950 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53951
53952   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53953
53954 for ac_func in finitef
53955 do
53956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53957 echo "$as_me:$LINENO: checking for $ac_func" >&5
53958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53959 if eval "test \"\${$as_ac_var+set}\" = set"; then
53960   echo $ECHO_N "(cached) $ECHO_C" >&6
53961 else
53962   if test x$gcc_no_link = xyes; then
53963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53965    { (exit 1); exit 1; }; }
53966 fi
53967 cat >conftest.$ac_ext <<_ACEOF
53968 /* confdefs.h.  */
53969 _ACEOF
53970 cat confdefs.h >>conftest.$ac_ext
53971 cat >>conftest.$ac_ext <<_ACEOF
53972 /* end confdefs.h.  */
53973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53975 #define $ac_func innocuous_$ac_func
53976
53977 /* System header to define __stub macros and hopefully few prototypes,
53978     which can conflict with char $ac_func (); below.
53979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53980     <limits.h> exists even on freestanding compilers.  */
53981
53982 #ifdef __STDC__
53983 # include <limits.h>
53984 #else
53985 # include <assert.h>
53986 #endif
53987
53988 #undef $ac_func
53989
53990 /* Override any gcc2 internal prototype to avoid an error.  */
53991 #ifdef __cplusplus
53992 extern "C"
53993 {
53994 #endif
53995 /* We use char because int might match the return type of a gcc2
53996    builtin and then its argument prototype would still apply.  */
53997 char $ac_func ();
53998 /* The GNU C library defines this for functions which it implements
53999     to always fail with ENOSYS.  Some functions are actually named
54000     something starting with __ and the normal name is an alias.  */
54001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54002 choke me
54003 #else
54004 char (*f) () = $ac_func;
54005 #endif
54006 #ifdef __cplusplus
54007 }
54008 #endif
54009
54010 int
54011 main ()
54012 {
54013 return f != $ac_func;
54014   ;
54015   return 0;
54016 }
54017 _ACEOF
54018 rm -f conftest.$ac_objext conftest$ac_exeext
54019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54020   (eval $ac_link) 2>conftest.er1
54021   ac_status=$?
54022   grep -v '^ *+' conftest.er1 >conftest.err
54023   rm -f conftest.er1
54024   cat conftest.err >&5
54025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54026   (exit $ac_status); } &&
54027          { ac_try='test -z "$ac_c_werror_flag"
54028                          || test ! -s conftest.err'
54029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54030   (eval $ac_try) 2>&5
54031   ac_status=$?
54032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033   (exit $ac_status); }; } &&
54034          { ac_try='test -s conftest$ac_exeext'
54035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54036   (eval $ac_try) 2>&5
54037   ac_status=$?
54038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54039   (exit $ac_status); }; }; then
54040   eval "$as_ac_var=yes"
54041 else
54042   echo "$as_me: failed program was:" >&5
54043 sed 's/^/| /' conftest.$ac_ext >&5
54044
54045 eval "$as_ac_var=no"
54046 fi
54047 rm -f conftest.err conftest.$ac_objext \
54048       conftest$ac_exeext conftest.$ac_ext
54049 fi
54050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54052 if test `eval echo '${'$as_ac_var'}'` = yes; then
54053   cat >>confdefs.h <<_ACEOF
54054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54055 _ACEOF
54056
54057 fi
54058 done
54059
54060   else
54061
54062   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54063 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54064   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54065     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54066   echo $ECHO_N "(cached) $ECHO_C" >&6
54067 else
54068
54069
54070
54071       ac_ext=cc
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076
54077       cat >conftest.$ac_ext <<_ACEOF
54078 /* confdefs.h.  */
54079 _ACEOF
54080 cat confdefs.h >>conftest.$ac_ext
54081 cat >>conftest.$ac_ext <<_ACEOF
54082 /* end confdefs.h.  */
54083 #include <math.h>
54084                       #ifdef HAVE_IEEEFP_H
54085                       #include <ieeefp.h>
54086                       #endif
54087
54088 int
54089 main ()
54090 {
54091  _finitef(0);
54092   ;
54093   return 0;
54094 }
54095 _ACEOF
54096 rm -f conftest.$ac_objext
54097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54098   (eval $ac_compile) 2>conftest.er1
54099   ac_status=$?
54100   grep -v '^ *+' conftest.er1 >conftest.err
54101   rm -f conftest.er1
54102   cat conftest.err >&5
54103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104   (exit $ac_status); } &&
54105          { ac_try='test -z "$ac_cxx_werror_flag"
54106                          || test ! -s conftest.err'
54107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54108   (eval $ac_try) 2>&5
54109   ac_status=$?
54110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111   (exit $ac_status); }; } &&
54112          { ac_try='test -s conftest.$ac_objext'
54113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54114   (eval $ac_try) 2>&5
54115   ac_status=$?
54116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54117   (exit $ac_status); }; }; then
54118   glibcxx_cv_func__finitef_use=yes
54119 else
54120   echo "$as_me: failed program was:" >&5
54121 sed 's/^/| /' conftest.$ac_ext >&5
54122
54123 glibcxx_cv_func__finitef_use=no
54124 fi
54125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54126       ac_ext=c
54127 ac_cpp='$CPP $CPPFLAGS'
54128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54131
54132
54133 fi
54134
54135   fi
54136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54137 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54138
54139     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54140
54141 for ac_func in _finitef
54142 do
54143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54144 echo "$as_me:$LINENO: checking for $ac_func" >&5
54145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54146 if eval "test \"\${$as_ac_var+set}\" = set"; then
54147   echo $ECHO_N "(cached) $ECHO_C" >&6
54148 else
54149   if test x$gcc_no_link = xyes; then
54150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54152    { (exit 1); exit 1; }; }
54153 fi
54154 cat >conftest.$ac_ext <<_ACEOF
54155 /* confdefs.h.  */
54156 _ACEOF
54157 cat confdefs.h >>conftest.$ac_ext
54158 cat >>conftest.$ac_ext <<_ACEOF
54159 /* end confdefs.h.  */
54160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54162 #define $ac_func innocuous_$ac_func
54163
54164 /* System header to define __stub macros and hopefully few prototypes,
54165     which can conflict with char $ac_func (); below.
54166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54167     <limits.h> exists even on freestanding compilers.  */
54168
54169 #ifdef __STDC__
54170 # include <limits.h>
54171 #else
54172 # include <assert.h>
54173 #endif
54174
54175 #undef $ac_func
54176
54177 /* Override any gcc2 internal prototype to avoid an error.  */
54178 #ifdef __cplusplus
54179 extern "C"
54180 {
54181 #endif
54182 /* We use char because int might match the return type of a gcc2
54183    builtin and then its argument prototype would still apply.  */
54184 char $ac_func ();
54185 /* The GNU C library defines this for functions which it implements
54186     to always fail with ENOSYS.  Some functions are actually named
54187     something starting with __ and the normal name is an alias.  */
54188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54189 choke me
54190 #else
54191 char (*f) () = $ac_func;
54192 #endif
54193 #ifdef __cplusplus
54194 }
54195 #endif
54196
54197 int
54198 main ()
54199 {
54200 return f != $ac_func;
54201   ;
54202   return 0;
54203 }
54204 _ACEOF
54205 rm -f conftest.$ac_objext conftest$ac_exeext
54206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54207   (eval $ac_link) 2>conftest.er1
54208   ac_status=$?
54209   grep -v '^ *+' conftest.er1 >conftest.err
54210   rm -f conftest.er1
54211   cat conftest.err >&5
54212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54213   (exit $ac_status); } &&
54214          { ac_try='test -z "$ac_c_werror_flag"
54215                          || test ! -s conftest.err'
54216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54217   (eval $ac_try) 2>&5
54218   ac_status=$?
54219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54220   (exit $ac_status); }; } &&
54221          { ac_try='test -s conftest$ac_exeext'
54222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54223   (eval $ac_try) 2>&5
54224   ac_status=$?
54225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54226   (exit $ac_status); }; }; then
54227   eval "$as_ac_var=yes"
54228 else
54229   echo "$as_me: failed program was:" >&5
54230 sed 's/^/| /' conftest.$ac_ext >&5
54231
54232 eval "$as_ac_var=no"
54233 fi
54234 rm -f conftest.err conftest.$ac_objext \
54235       conftest$ac_exeext conftest.$ac_ext
54236 fi
54237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54239 if test `eval echo '${'$as_ac_var'}'` = yes; then
54240   cat >>confdefs.h <<_ACEOF
54241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54242 _ACEOF
54243
54244 fi
54245 done
54246
54247     fi
54248   fi
54249
54250
54251
54252
54253
54254
54255     echo "$as_me:$LINENO: checking for long double trig functions" >&5
54256 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
54257   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
54258   echo $ECHO_N "(cached) $ECHO_C" >&6
54259 else
54260
54261
54262
54263     ac_ext=cc
54264 ac_cpp='$CXXCPP $CPPFLAGS'
54265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54268
54269     cat >conftest.$ac_ext <<_ACEOF
54270 /* confdefs.h.  */
54271 _ACEOF
54272 cat confdefs.h >>conftest.$ac_ext
54273 cat >>conftest.$ac_ext <<_ACEOF
54274 /* end confdefs.h.  */
54275 #include <math.h>
54276 int
54277 main ()
54278 {
54279 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54280   ;
54281   return 0;
54282 }
54283 _ACEOF
54284 rm -f conftest.$ac_objext
54285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54286   (eval $ac_compile) 2>conftest.er1
54287   ac_status=$?
54288   grep -v '^ *+' conftest.er1 >conftest.err
54289   rm -f conftest.er1
54290   cat conftest.err >&5
54291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54292   (exit $ac_status); } &&
54293          { ac_try='test -z "$ac_cxx_werror_flag"
54294                          || test ! -s conftest.err'
54295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296   (eval $ac_try) 2>&5
54297   ac_status=$?
54298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299   (exit $ac_status); }; } &&
54300          { ac_try='test -s conftest.$ac_objext'
54301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54302   (eval $ac_try) 2>&5
54303   ac_status=$?
54304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54305   (exit $ac_status); }; }; then
54306   glibcxx_cv_func_long_double_trig_use=yes
54307 else
54308   echo "$as_me: failed program was:" >&5
54309 sed 's/^/| /' conftest.$ac_ext >&5
54310
54311 glibcxx_cv_func_long_double_trig_use=no
54312 fi
54313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54314     ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54319
54320 fi
54321
54322   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
54323 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
54324   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54325
54326
54327
54328
54329
54330
54331
54332
54333
54334 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54335 do
54336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54337 echo "$as_me:$LINENO: checking for $ac_func" >&5
54338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54339 if eval "test \"\${$as_ac_var+set}\" = set"; then
54340   echo $ECHO_N "(cached) $ECHO_C" >&6
54341 else
54342   if test x$gcc_no_link = xyes; then
54343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54345    { (exit 1); exit 1; }; }
54346 fi
54347 cat >conftest.$ac_ext <<_ACEOF
54348 /* confdefs.h.  */
54349 _ACEOF
54350 cat confdefs.h >>conftest.$ac_ext
54351 cat >>conftest.$ac_ext <<_ACEOF
54352 /* end confdefs.h.  */
54353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54355 #define $ac_func innocuous_$ac_func
54356
54357 /* System header to define __stub macros and hopefully few prototypes,
54358     which can conflict with char $ac_func (); below.
54359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54360     <limits.h> exists even on freestanding compilers.  */
54361
54362 #ifdef __STDC__
54363 # include <limits.h>
54364 #else
54365 # include <assert.h>
54366 #endif
54367
54368 #undef $ac_func
54369
54370 /* Override any gcc2 internal prototype to avoid an error.  */
54371 #ifdef __cplusplus
54372 extern "C"
54373 {
54374 #endif
54375 /* We use char because int might match the return type of a gcc2
54376    builtin and then its argument prototype would still apply.  */
54377 char $ac_func ();
54378 /* The GNU C library defines this for functions which it implements
54379     to always fail with ENOSYS.  Some functions are actually named
54380     something starting with __ and the normal name is an alias.  */
54381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54382 choke me
54383 #else
54384 char (*f) () = $ac_func;
54385 #endif
54386 #ifdef __cplusplus
54387 }
54388 #endif
54389
54390 int
54391 main ()
54392 {
54393 return f != $ac_func;
54394   ;
54395   return 0;
54396 }
54397 _ACEOF
54398 rm -f conftest.$ac_objext conftest$ac_exeext
54399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54400   (eval $ac_link) 2>conftest.er1
54401   ac_status=$?
54402   grep -v '^ *+' conftest.er1 >conftest.err
54403   rm -f conftest.er1
54404   cat conftest.err >&5
54405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54406   (exit $ac_status); } &&
54407          { ac_try='test -z "$ac_c_werror_flag"
54408                          || test ! -s conftest.err'
54409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54410   (eval $ac_try) 2>&5
54411   ac_status=$?
54412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54413   (exit $ac_status); }; } &&
54414          { ac_try='test -s conftest$ac_exeext'
54415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54416   (eval $ac_try) 2>&5
54417   ac_status=$?
54418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54419   (exit $ac_status); }; }; then
54420   eval "$as_ac_var=yes"
54421 else
54422   echo "$as_me: failed program was:" >&5
54423 sed 's/^/| /' conftest.$ac_ext >&5
54424
54425 eval "$as_ac_var=no"
54426 fi
54427 rm -f conftest.err conftest.$ac_objext \
54428       conftest$ac_exeext conftest.$ac_ext
54429 fi
54430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54432 if test `eval echo '${'$as_ac_var'}'` = yes; then
54433   cat >>confdefs.h <<_ACEOF
54434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54435 _ACEOF
54436
54437 fi
54438 done
54439
54440   else
54441     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
54442 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
54443     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
54444   echo $ECHO_N "(cached) $ECHO_C" >&6
54445 else
54446
54447
54448
54449       ac_ext=cc
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54454
54455       cat >conftest.$ac_ext <<_ACEOF
54456 /* confdefs.h.  */
54457 _ACEOF
54458 cat confdefs.h >>conftest.$ac_ext
54459 cat >>conftest.$ac_ext <<_ACEOF
54460 /* end confdefs.h.  */
54461 #include <math.h>
54462 int
54463 main ()
54464 {
54465 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54466   ;
54467   return 0;
54468 }
54469 _ACEOF
54470 rm -f conftest.$ac_objext
54471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54472   (eval $ac_compile) 2>conftest.er1
54473   ac_status=$?
54474   grep -v '^ *+' conftest.er1 >conftest.err
54475   rm -f conftest.er1
54476   cat conftest.err >&5
54477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54478   (exit $ac_status); } &&
54479          { ac_try='test -z "$ac_cxx_werror_flag"
54480                          || test ! -s conftest.err'
54481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54482   (eval $ac_try) 2>&5
54483   ac_status=$?
54484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54485   (exit $ac_status); }; } &&
54486          { ac_try='test -s conftest.$ac_objext'
54487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488   (eval $ac_try) 2>&5
54489   ac_status=$?
54490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491   (exit $ac_status); }; }; then
54492   glibcxx_cv_func__long_double_trig_use=yes
54493 else
54494   echo "$as_me: failed program was:" >&5
54495 sed 's/^/| /' conftest.$ac_ext >&5
54496
54497 glibcxx_cv_func__long_double_trig_use=no
54498 fi
54499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54500       ac_ext=c
54501 ac_cpp='$CPP $CPPFLAGS'
54502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54505
54506 fi
54507
54508     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
54509 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
54510     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54511
54512
54513
54514
54515
54516
54517
54518
54519
54520 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54521 do
54522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54523 echo "$as_me:$LINENO: checking for $ac_func" >&5
54524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54525 if eval "test \"\${$as_ac_var+set}\" = set"; then
54526   echo $ECHO_N "(cached) $ECHO_C" >&6
54527 else
54528   if test x$gcc_no_link = xyes; then
54529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54531    { (exit 1); exit 1; }; }
54532 fi
54533 cat >conftest.$ac_ext <<_ACEOF
54534 /* confdefs.h.  */
54535 _ACEOF
54536 cat confdefs.h >>conftest.$ac_ext
54537 cat >>conftest.$ac_ext <<_ACEOF
54538 /* end confdefs.h.  */
54539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54541 #define $ac_func innocuous_$ac_func
54542
54543 /* System header to define __stub macros and hopefully few prototypes,
54544     which can conflict with char $ac_func (); below.
54545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54546     <limits.h> exists even on freestanding compilers.  */
54547
54548 #ifdef __STDC__
54549 # include <limits.h>
54550 #else
54551 # include <assert.h>
54552 #endif
54553
54554 #undef $ac_func
54555
54556 /* Override any gcc2 internal prototype to avoid an error.  */
54557 #ifdef __cplusplus
54558 extern "C"
54559 {
54560 #endif
54561 /* We use char because int might match the return type of a gcc2
54562    builtin and then its argument prototype would still apply.  */
54563 char $ac_func ();
54564 /* The GNU C library defines this for functions which it implements
54565     to always fail with ENOSYS.  Some functions are actually named
54566     something starting with __ and the normal name is an alias.  */
54567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54568 choke me
54569 #else
54570 char (*f) () = $ac_func;
54571 #endif
54572 #ifdef __cplusplus
54573 }
54574 #endif
54575
54576 int
54577 main ()
54578 {
54579 return f != $ac_func;
54580   ;
54581   return 0;
54582 }
54583 _ACEOF
54584 rm -f conftest.$ac_objext conftest$ac_exeext
54585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54586   (eval $ac_link) 2>conftest.er1
54587   ac_status=$?
54588   grep -v '^ *+' conftest.er1 >conftest.err
54589   rm -f conftest.er1
54590   cat conftest.err >&5
54591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54592   (exit $ac_status); } &&
54593          { ac_try='test -z "$ac_c_werror_flag"
54594                          || test ! -s conftest.err'
54595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54596   (eval $ac_try) 2>&5
54597   ac_status=$?
54598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54599   (exit $ac_status); }; } &&
54600          { ac_try='test -s conftest$ac_exeext'
54601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54602   (eval $ac_try) 2>&5
54603   ac_status=$?
54604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54605   (exit $ac_status); }; }; then
54606   eval "$as_ac_var=yes"
54607 else
54608   echo "$as_me: failed program was:" >&5
54609 sed 's/^/| /' conftest.$ac_ext >&5
54610
54611 eval "$as_ac_var=no"
54612 fi
54613 rm -f conftest.err conftest.$ac_objext \
54614       conftest$ac_exeext conftest.$ac_ext
54615 fi
54616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54618 if test `eval echo '${'$as_ac_var'}'` = yes; then
54619   cat >>confdefs.h <<_ACEOF
54620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54621 _ACEOF
54622
54623 fi
54624 done
54625
54626     fi
54627   fi
54628
54629
54630
54631
54632
54633
54634
54635
54636
54637
54638
54639
54640
54641
54642     echo "$as_me:$LINENO: checking for long double round functions" >&5
54643 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54644   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54645   echo $ECHO_N "(cached) $ECHO_C" >&6
54646 else
54647
54648
54649
54650     ac_ext=cc
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54655
54656     cat >conftest.$ac_ext <<_ACEOF
54657 /* confdefs.h.  */
54658 _ACEOF
54659 cat confdefs.h >>conftest.$ac_ext
54660 cat >>conftest.$ac_ext <<_ACEOF
54661 /* end confdefs.h.  */
54662 #include <math.h>
54663 int
54664 main ()
54665 {
54666 ceill (0); floorl (0);
54667   ;
54668   return 0;
54669 }
54670 _ACEOF
54671 rm -f conftest.$ac_objext
54672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54673   (eval $ac_compile) 2>conftest.er1
54674   ac_status=$?
54675   grep -v '^ *+' conftest.er1 >conftest.err
54676   rm -f conftest.er1
54677   cat conftest.err >&5
54678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679   (exit $ac_status); } &&
54680          { ac_try='test -z "$ac_cxx_werror_flag"
54681                          || test ! -s conftest.err'
54682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54683   (eval $ac_try) 2>&5
54684   ac_status=$?
54685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54686   (exit $ac_status); }; } &&
54687          { ac_try='test -s conftest.$ac_objext'
54688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54689   (eval $ac_try) 2>&5
54690   ac_status=$?
54691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54692   (exit $ac_status); }; }; then
54693   glibcxx_cv_func_long_double_round_use=yes
54694 else
54695   echo "$as_me: failed program was:" >&5
54696 sed 's/^/| /' conftest.$ac_ext >&5
54697
54698 glibcxx_cv_func_long_double_round_use=no
54699 fi
54700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54701     ac_ext=c
54702 ac_cpp='$CPP $CPPFLAGS'
54703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54706
54707 fi
54708
54709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54710 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54711   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54712
54713
54714 for ac_func in ceill floorl
54715 do
54716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54717 echo "$as_me:$LINENO: checking for $ac_func" >&5
54718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54719 if eval "test \"\${$as_ac_var+set}\" = set"; then
54720   echo $ECHO_N "(cached) $ECHO_C" >&6
54721 else
54722   if test x$gcc_no_link = xyes; then
54723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54725    { (exit 1); exit 1; }; }
54726 fi
54727 cat >conftest.$ac_ext <<_ACEOF
54728 /* confdefs.h.  */
54729 _ACEOF
54730 cat confdefs.h >>conftest.$ac_ext
54731 cat >>conftest.$ac_ext <<_ACEOF
54732 /* end confdefs.h.  */
54733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54735 #define $ac_func innocuous_$ac_func
54736
54737 /* System header to define __stub macros and hopefully few prototypes,
54738     which can conflict with char $ac_func (); below.
54739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54740     <limits.h> exists even on freestanding compilers.  */
54741
54742 #ifdef __STDC__
54743 # include <limits.h>
54744 #else
54745 # include <assert.h>
54746 #endif
54747
54748 #undef $ac_func
54749
54750 /* Override any gcc2 internal prototype to avoid an error.  */
54751 #ifdef __cplusplus
54752 extern "C"
54753 {
54754 #endif
54755 /* We use char because int might match the return type of a gcc2
54756    builtin and then its argument prototype would still apply.  */
54757 char $ac_func ();
54758 /* The GNU C library defines this for functions which it implements
54759     to always fail with ENOSYS.  Some functions are actually named
54760     something starting with __ and the normal name is an alias.  */
54761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54762 choke me
54763 #else
54764 char (*f) () = $ac_func;
54765 #endif
54766 #ifdef __cplusplus
54767 }
54768 #endif
54769
54770 int
54771 main ()
54772 {
54773 return f != $ac_func;
54774   ;
54775   return 0;
54776 }
54777 _ACEOF
54778 rm -f conftest.$ac_objext conftest$ac_exeext
54779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54780   (eval $ac_link) 2>conftest.er1
54781   ac_status=$?
54782   grep -v '^ *+' conftest.er1 >conftest.err
54783   rm -f conftest.er1
54784   cat conftest.err >&5
54785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54786   (exit $ac_status); } &&
54787          { ac_try='test -z "$ac_c_werror_flag"
54788                          || test ! -s conftest.err'
54789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54790   (eval $ac_try) 2>&5
54791   ac_status=$?
54792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54793   (exit $ac_status); }; } &&
54794          { ac_try='test -s conftest$ac_exeext'
54795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54796   (eval $ac_try) 2>&5
54797   ac_status=$?
54798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799   (exit $ac_status); }; }; then
54800   eval "$as_ac_var=yes"
54801 else
54802   echo "$as_me: failed program was:" >&5
54803 sed 's/^/| /' conftest.$ac_ext >&5
54804
54805 eval "$as_ac_var=no"
54806 fi
54807 rm -f conftest.err conftest.$ac_objext \
54808       conftest$ac_exeext conftest.$ac_ext
54809 fi
54810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54812 if test `eval echo '${'$as_ac_var'}'` = yes; then
54813   cat >>confdefs.h <<_ACEOF
54814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54815 _ACEOF
54816
54817 fi
54818 done
54819
54820   else
54821     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54822 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54823     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54824   echo $ECHO_N "(cached) $ECHO_C" >&6
54825 else
54826
54827
54828
54829       ac_ext=cc
54830 ac_cpp='$CXXCPP $CPPFLAGS'
54831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54834
54835       cat >conftest.$ac_ext <<_ACEOF
54836 /* confdefs.h.  */
54837 _ACEOF
54838 cat confdefs.h >>conftest.$ac_ext
54839 cat >>conftest.$ac_ext <<_ACEOF
54840 /* end confdefs.h.  */
54841 #include <math.h>
54842 int
54843 main ()
54844 {
54845 _ceill (0); _floorl (0);
54846   ;
54847   return 0;
54848 }
54849 _ACEOF
54850 rm -f conftest.$ac_objext
54851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54852   (eval $ac_compile) 2>conftest.er1
54853   ac_status=$?
54854   grep -v '^ *+' conftest.er1 >conftest.err
54855   rm -f conftest.er1
54856   cat conftest.err >&5
54857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858   (exit $ac_status); } &&
54859          { ac_try='test -z "$ac_cxx_werror_flag"
54860                          || test ! -s conftest.err'
54861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54862   (eval $ac_try) 2>&5
54863   ac_status=$?
54864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54865   (exit $ac_status); }; } &&
54866          { ac_try='test -s conftest.$ac_objext'
54867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54868   (eval $ac_try) 2>&5
54869   ac_status=$?
54870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54871   (exit $ac_status); }; }; then
54872   glibcxx_cv_func__long_double_round_use=yes
54873 else
54874   echo "$as_me: failed program was:" >&5
54875 sed 's/^/| /' conftest.$ac_ext >&5
54876
54877 glibcxx_cv_func__long_double_round_use=no
54878 fi
54879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54880       ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885
54886 fi
54887
54888     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54889 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54890     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54891
54892
54893 for ac_func in _ceill _floorl
54894 do
54895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54896 echo "$as_me:$LINENO: checking for $ac_func" >&5
54897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54898 if eval "test \"\${$as_ac_var+set}\" = set"; then
54899   echo $ECHO_N "(cached) $ECHO_C" >&6
54900 else
54901   if test x$gcc_no_link = xyes; then
54902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54904    { (exit 1); exit 1; }; }
54905 fi
54906 cat >conftest.$ac_ext <<_ACEOF
54907 /* confdefs.h.  */
54908 _ACEOF
54909 cat confdefs.h >>conftest.$ac_ext
54910 cat >>conftest.$ac_ext <<_ACEOF
54911 /* end confdefs.h.  */
54912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54914 #define $ac_func innocuous_$ac_func
54915
54916 /* System header to define __stub macros and hopefully few prototypes,
54917     which can conflict with char $ac_func (); below.
54918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54919     <limits.h> exists even on freestanding compilers.  */
54920
54921 #ifdef __STDC__
54922 # include <limits.h>
54923 #else
54924 # include <assert.h>
54925 #endif
54926
54927 #undef $ac_func
54928
54929 /* Override any gcc2 internal prototype to avoid an error.  */
54930 #ifdef __cplusplus
54931 extern "C"
54932 {
54933 #endif
54934 /* We use char because int might match the return type of a gcc2
54935    builtin and then its argument prototype would still apply.  */
54936 char $ac_func ();
54937 /* The GNU C library defines this for functions which it implements
54938     to always fail with ENOSYS.  Some functions are actually named
54939     something starting with __ and the normal name is an alias.  */
54940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54941 choke me
54942 #else
54943 char (*f) () = $ac_func;
54944 #endif
54945 #ifdef __cplusplus
54946 }
54947 #endif
54948
54949 int
54950 main ()
54951 {
54952 return f != $ac_func;
54953   ;
54954   return 0;
54955 }
54956 _ACEOF
54957 rm -f conftest.$ac_objext conftest$ac_exeext
54958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54959   (eval $ac_link) 2>conftest.er1
54960   ac_status=$?
54961   grep -v '^ *+' conftest.er1 >conftest.err
54962   rm -f conftest.er1
54963   cat conftest.err >&5
54964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54965   (exit $ac_status); } &&
54966          { ac_try='test -z "$ac_c_werror_flag"
54967                          || test ! -s conftest.err'
54968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54969   (eval $ac_try) 2>&5
54970   ac_status=$?
54971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54972   (exit $ac_status); }; } &&
54973          { ac_try='test -s conftest$ac_exeext'
54974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54975   (eval $ac_try) 2>&5
54976   ac_status=$?
54977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54978   (exit $ac_status); }; }; then
54979   eval "$as_ac_var=yes"
54980 else
54981   echo "$as_me: failed program was:" >&5
54982 sed 's/^/| /' conftest.$ac_ext >&5
54983
54984 eval "$as_ac_var=no"
54985 fi
54986 rm -f conftest.err conftest.$ac_objext \
54987       conftest$ac_exeext conftest.$ac_ext
54988 fi
54989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54991 if test `eval echo '${'$as_ac_var'}'` = yes; then
54992   cat >>confdefs.h <<_ACEOF
54993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54994 _ACEOF
54995
54996 fi
54997 done
54998
54999     fi
55000   fi
55001
55002
55003
55004
55005
55006
55007
55008
55009   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55010 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55011   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55012     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55013   echo $ECHO_N "(cached) $ECHO_C" >&6
55014 else
55015
55016
55017
55018       ac_ext=cc
55019 ac_cpp='$CXXCPP $CPPFLAGS'
55020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55023
55024       cat >conftest.$ac_ext <<_ACEOF
55025 /* confdefs.h.  */
55026 _ACEOF
55027 cat confdefs.h >>conftest.$ac_ext
55028 cat >>conftest.$ac_ext <<_ACEOF
55029 /* end confdefs.h.  */
55030 #include <math.h>
55031                       #ifdef HAVE_IEEEFP_H
55032                       #include <ieeefp.h>
55033                       #endif
55034
55035 int
55036 main ()
55037 {
55038  isnanl(0);
55039   ;
55040   return 0;
55041 }
55042 _ACEOF
55043 rm -f conftest.$ac_objext
55044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55045   (eval $ac_compile) 2>conftest.er1
55046   ac_status=$?
55047   grep -v '^ *+' conftest.er1 >conftest.err
55048   rm -f conftest.er1
55049   cat conftest.err >&5
55050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051   (exit $ac_status); } &&
55052          { ac_try='test -z "$ac_cxx_werror_flag"
55053                          || test ! -s conftest.err'
55054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55055   (eval $ac_try) 2>&5
55056   ac_status=$?
55057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55058   (exit $ac_status); }; } &&
55059          { ac_try='test -s conftest.$ac_objext'
55060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55061   (eval $ac_try) 2>&5
55062   ac_status=$?
55063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55064   (exit $ac_status); }; }; then
55065   glibcxx_cv_func_isnanl_use=yes
55066 else
55067   echo "$as_me: failed program was:" >&5
55068 sed 's/^/| /' conftest.$ac_ext >&5
55069
55070 glibcxx_cv_func_isnanl_use=no
55071 fi
55072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55073       ac_ext=c
55074 ac_cpp='$CPP $CPPFLAGS'
55075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078
55079
55080 fi
55081
55082   fi
55083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55084 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55085
55086   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55087
55088 for ac_func in isnanl
55089 do
55090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55091 echo "$as_me:$LINENO: checking for $ac_func" >&5
55092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55093 if eval "test \"\${$as_ac_var+set}\" = set"; then
55094   echo $ECHO_N "(cached) $ECHO_C" >&6
55095 else
55096   if test x$gcc_no_link = xyes; then
55097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55099    { (exit 1); exit 1; }; }
55100 fi
55101 cat >conftest.$ac_ext <<_ACEOF
55102 /* confdefs.h.  */
55103 _ACEOF
55104 cat confdefs.h >>conftest.$ac_ext
55105 cat >>conftest.$ac_ext <<_ACEOF
55106 /* end confdefs.h.  */
55107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55109 #define $ac_func innocuous_$ac_func
55110
55111 /* System header to define __stub macros and hopefully few prototypes,
55112     which can conflict with char $ac_func (); below.
55113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55114     <limits.h> exists even on freestanding compilers.  */
55115
55116 #ifdef __STDC__
55117 # include <limits.h>
55118 #else
55119 # include <assert.h>
55120 #endif
55121
55122 #undef $ac_func
55123
55124 /* Override any gcc2 internal prototype to avoid an error.  */
55125 #ifdef __cplusplus
55126 extern "C"
55127 {
55128 #endif
55129 /* We use char because int might match the return type of a gcc2
55130    builtin and then its argument prototype would still apply.  */
55131 char $ac_func ();
55132 /* The GNU C library defines this for functions which it implements
55133     to always fail with ENOSYS.  Some functions are actually named
55134     something starting with __ and the normal name is an alias.  */
55135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55136 choke me
55137 #else
55138 char (*f) () = $ac_func;
55139 #endif
55140 #ifdef __cplusplus
55141 }
55142 #endif
55143
55144 int
55145 main ()
55146 {
55147 return f != $ac_func;
55148   ;
55149   return 0;
55150 }
55151 _ACEOF
55152 rm -f conftest.$ac_objext conftest$ac_exeext
55153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55154   (eval $ac_link) 2>conftest.er1
55155   ac_status=$?
55156   grep -v '^ *+' conftest.er1 >conftest.err
55157   rm -f conftest.er1
55158   cat conftest.err >&5
55159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55160   (exit $ac_status); } &&
55161          { ac_try='test -z "$ac_c_werror_flag"
55162                          || test ! -s conftest.err'
55163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55164   (eval $ac_try) 2>&5
55165   ac_status=$?
55166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55167   (exit $ac_status); }; } &&
55168          { ac_try='test -s conftest$ac_exeext'
55169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55170   (eval $ac_try) 2>&5
55171   ac_status=$?
55172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55173   (exit $ac_status); }; }; then
55174   eval "$as_ac_var=yes"
55175 else
55176   echo "$as_me: failed program was:" >&5
55177 sed 's/^/| /' conftest.$ac_ext >&5
55178
55179 eval "$as_ac_var=no"
55180 fi
55181 rm -f conftest.err conftest.$ac_objext \
55182       conftest$ac_exeext conftest.$ac_ext
55183 fi
55184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55186 if test `eval echo '${'$as_ac_var'}'` = yes; then
55187   cat >>confdefs.h <<_ACEOF
55188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55189 _ACEOF
55190
55191 fi
55192 done
55193
55194   else
55195
55196   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55197 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55198   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55199     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55200   echo $ECHO_N "(cached) $ECHO_C" >&6
55201 else
55202
55203
55204
55205       ac_ext=cc
55206 ac_cpp='$CXXCPP $CPPFLAGS'
55207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55210
55211       cat >conftest.$ac_ext <<_ACEOF
55212 /* confdefs.h.  */
55213 _ACEOF
55214 cat confdefs.h >>conftest.$ac_ext
55215 cat >>conftest.$ac_ext <<_ACEOF
55216 /* end confdefs.h.  */
55217 #include <math.h>
55218                       #ifdef HAVE_IEEEFP_H
55219                       #include <ieeefp.h>
55220                       #endif
55221
55222 int
55223 main ()
55224 {
55225  _isnanl(0);
55226   ;
55227   return 0;
55228 }
55229 _ACEOF
55230 rm -f conftest.$ac_objext
55231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55232   (eval $ac_compile) 2>conftest.er1
55233   ac_status=$?
55234   grep -v '^ *+' conftest.er1 >conftest.err
55235   rm -f conftest.er1
55236   cat conftest.err >&5
55237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238   (exit $ac_status); } &&
55239          { ac_try='test -z "$ac_cxx_werror_flag"
55240                          || test ! -s conftest.err'
55241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55242   (eval $ac_try) 2>&5
55243   ac_status=$?
55244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55245   (exit $ac_status); }; } &&
55246          { ac_try='test -s conftest.$ac_objext'
55247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55248   (eval $ac_try) 2>&5
55249   ac_status=$?
55250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55251   (exit $ac_status); }; }; then
55252   glibcxx_cv_func__isnanl_use=yes
55253 else
55254   echo "$as_me: failed program was:" >&5
55255 sed 's/^/| /' conftest.$ac_ext >&5
55256
55257 glibcxx_cv_func__isnanl_use=no
55258 fi
55259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55260       ac_ext=c
55261 ac_cpp='$CPP $CPPFLAGS'
55262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55265
55266
55267 fi
55268
55269   fi
55270   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55271 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55272
55273     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55274
55275 for ac_func in _isnanl
55276 do
55277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55278 echo "$as_me:$LINENO: checking for $ac_func" >&5
55279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55280 if eval "test \"\${$as_ac_var+set}\" = set"; then
55281   echo $ECHO_N "(cached) $ECHO_C" >&6
55282 else
55283   if test x$gcc_no_link = xyes; then
55284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55286    { (exit 1); exit 1; }; }
55287 fi
55288 cat >conftest.$ac_ext <<_ACEOF
55289 /* confdefs.h.  */
55290 _ACEOF
55291 cat confdefs.h >>conftest.$ac_ext
55292 cat >>conftest.$ac_ext <<_ACEOF
55293 /* end confdefs.h.  */
55294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55296 #define $ac_func innocuous_$ac_func
55297
55298 /* System header to define __stub macros and hopefully few prototypes,
55299     which can conflict with char $ac_func (); below.
55300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55301     <limits.h> exists even on freestanding compilers.  */
55302
55303 #ifdef __STDC__
55304 # include <limits.h>
55305 #else
55306 # include <assert.h>
55307 #endif
55308
55309 #undef $ac_func
55310
55311 /* Override any gcc2 internal prototype to avoid an error.  */
55312 #ifdef __cplusplus
55313 extern "C"
55314 {
55315 #endif
55316 /* We use char because int might match the return type of a gcc2
55317    builtin and then its argument prototype would still apply.  */
55318 char $ac_func ();
55319 /* The GNU C library defines this for functions which it implements
55320     to always fail with ENOSYS.  Some functions are actually named
55321     something starting with __ and the normal name is an alias.  */
55322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55323 choke me
55324 #else
55325 char (*f) () = $ac_func;
55326 #endif
55327 #ifdef __cplusplus
55328 }
55329 #endif
55330
55331 int
55332 main ()
55333 {
55334 return f != $ac_func;
55335   ;
55336   return 0;
55337 }
55338 _ACEOF
55339 rm -f conftest.$ac_objext conftest$ac_exeext
55340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55341   (eval $ac_link) 2>conftest.er1
55342   ac_status=$?
55343   grep -v '^ *+' conftest.er1 >conftest.err
55344   rm -f conftest.er1
55345   cat conftest.err >&5
55346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55347   (exit $ac_status); } &&
55348          { ac_try='test -z "$ac_c_werror_flag"
55349                          || test ! -s conftest.err'
55350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55351   (eval $ac_try) 2>&5
55352   ac_status=$?
55353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55354   (exit $ac_status); }; } &&
55355          { ac_try='test -s conftest$ac_exeext'
55356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55357   (eval $ac_try) 2>&5
55358   ac_status=$?
55359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55360   (exit $ac_status); }; }; then
55361   eval "$as_ac_var=yes"
55362 else
55363   echo "$as_me: failed program was:" >&5
55364 sed 's/^/| /' conftest.$ac_ext >&5
55365
55366 eval "$as_ac_var=no"
55367 fi
55368 rm -f conftest.err conftest.$ac_objext \
55369       conftest$ac_exeext conftest.$ac_ext
55370 fi
55371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55373 if test `eval echo '${'$as_ac_var'}'` = yes; then
55374   cat >>confdefs.h <<_ACEOF
55375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55376 _ACEOF
55377
55378 fi
55379 done
55380
55381     fi
55382   fi
55383
55384
55385
55386
55387
55388
55389   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55390 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55391   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55392     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55393   echo $ECHO_N "(cached) $ECHO_C" >&6
55394 else
55395
55396
55397
55398       ac_ext=cc
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55403
55404       cat >conftest.$ac_ext <<_ACEOF
55405 /* confdefs.h.  */
55406 _ACEOF
55407 cat confdefs.h >>conftest.$ac_ext
55408 cat >>conftest.$ac_ext <<_ACEOF
55409 /* end confdefs.h.  */
55410 #include <math.h>
55411                       #ifdef HAVE_IEEEFP_H
55412                       #include <ieeefp.h>
55413                       #endif
55414
55415 int
55416 main ()
55417 {
55418  isinfl(0);
55419   ;
55420   return 0;
55421 }
55422 _ACEOF
55423 rm -f conftest.$ac_objext
55424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55425   (eval $ac_compile) 2>conftest.er1
55426   ac_status=$?
55427   grep -v '^ *+' conftest.er1 >conftest.err
55428   rm -f conftest.er1
55429   cat conftest.err >&5
55430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431   (exit $ac_status); } &&
55432          { ac_try='test -z "$ac_cxx_werror_flag"
55433                          || test ! -s conftest.err'
55434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55435   (eval $ac_try) 2>&5
55436   ac_status=$?
55437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55438   (exit $ac_status); }; } &&
55439          { ac_try='test -s conftest.$ac_objext'
55440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55441   (eval $ac_try) 2>&5
55442   ac_status=$?
55443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55444   (exit $ac_status); }; }; then
55445   glibcxx_cv_func_isinfl_use=yes
55446 else
55447   echo "$as_me: failed program was:" >&5
55448 sed 's/^/| /' conftest.$ac_ext >&5
55449
55450 glibcxx_cv_func_isinfl_use=no
55451 fi
55452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55453       ac_ext=c
55454 ac_cpp='$CPP $CPPFLAGS'
55455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55458
55459
55460 fi
55461
55462   fi
55463   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55464 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55465
55466   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55467
55468 for ac_func in isinfl
55469 do
55470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55471 echo "$as_me:$LINENO: checking for $ac_func" >&5
55472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55473 if eval "test \"\${$as_ac_var+set}\" = set"; then
55474   echo $ECHO_N "(cached) $ECHO_C" >&6
55475 else
55476   if test x$gcc_no_link = xyes; then
55477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55479    { (exit 1); exit 1; }; }
55480 fi
55481 cat >conftest.$ac_ext <<_ACEOF
55482 /* confdefs.h.  */
55483 _ACEOF
55484 cat confdefs.h >>conftest.$ac_ext
55485 cat >>conftest.$ac_ext <<_ACEOF
55486 /* end confdefs.h.  */
55487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55489 #define $ac_func innocuous_$ac_func
55490
55491 /* System header to define __stub macros and hopefully few prototypes,
55492     which can conflict with char $ac_func (); below.
55493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55494     <limits.h> exists even on freestanding compilers.  */
55495
55496 #ifdef __STDC__
55497 # include <limits.h>
55498 #else
55499 # include <assert.h>
55500 #endif
55501
55502 #undef $ac_func
55503
55504 /* Override any gcc2 internal prototype to avoid an error.  */
55505 #ifdef __cplusplus
55506 extern "C"
55507 {
55508 #endif
55509 /* We use char because int might match the return type of a gcc2
55510    builtin and then its argument prototype would still apply.  */
55511 char $ac_func ();
55512 /* The GNU C library defines this for functions which it implements
55513     to always fail with ENOSYS.  Some functions are actually named
55514     something starting with __ and the normal name is an alias.  */
55515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55516 choke me
55517 #else
55518 char (*f) () = $ac_func;
55519 #endif
55520 #ifdef __cplusplus
55521 }
55522 #endif
55523
55524 int
55525 main ()
55526 {
55527 return f != $ac_func;
55528   ;
55529   return 0;
55530 }
55531 _ACEOF
55532 rm -f conftest.$ac_objext conftest$ac_exeext
55533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55534   (eval $ac_link) 2>conftest.er1
55535   ac_status=$?
55536   grep -v '^ *+' conftest.er1 >conftest.err
55537   rm -f conftest.er1
55538   cat conftest.err >&5
55539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540   (exit $ac_status); } &&
55541          { ac_try='test -z "$ac_c_werror_flag"
55542                          || test ! -s conftest.err'
55543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55544   (eval $ac_try) 2>&5
55545   ac_status=$?
55546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55547   (exit $ac_status); }; } &&
55548          { ac_try='test -s conftest$ac_exeext'
55549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55550   (eval $ac_try) 2>&5
55551   ac_status=$?
55552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55553   (exit $ac_status); }; }; then
55554   eval "$as_ac_var=yes"
55555 else
55556   echo "$as_me: failed program was:" >&5
55557 sed 's/^/| /' conftest.$ac_ext >&5
55558
55559 eval "$as_ac_var=no"
55560 fi
55561 rm -f conftest.err conftest.$ac_objext \
55562       conftest$ac_exeext conftest.$ac_ext
55563 fi
55564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55566 if test `eval echo '${'$as_ac_var'}'` = yes; then
55567   cat >>confdefs.h <<_ACEOF
55568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55569 _ACEOF
55570
55571 fi
55572 done
55573
55574   else
55575
55576   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55577 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55578   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55579     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55580   echo $ECHO_N "(cached) $ECHO_C" >&6
55581 else
55582
55583
55584
55585       ac_ext=cc
55586 ac_cpp='$CXXCPP $CPPFLAGS'
55587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55590
55591       cat >conftest.$ac_ext <<_ACEOF
55592 /* confdefs.h.  */
55593 _ACEOF
55594 cat confdefs.h >>conftest.$ac_ext
55595 cat >>conftest.$ac_ext <<_ACEOF
55596 /* end confdefs.h.  */
55597 #include <math.h>
55598                       #ifdef HAVE_IEEEFP_H
55599                       #include <ieeefp.h>
55600                       #endif
55601
55602 int
55603 main ()
55604 {
55605  _isinfl(0);
55606   ;
55607   return 0;
55608 }
55609 _ACEOF
55610 rm -f conftest.$ac_objext
55611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55612   (eval $ac_compile) 2>conftest.er1
55613   ac_status=$?
55614   grep -v '^ *+' conftest.er1 >conftest.err
55615   rm -f conftest.er1
55616   cat conftest.err >&5
55617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618   (exit $ac_status); } &&
55619          { ac_try='test -z "$ac_cxx_werror_flag"
55620                          || test ! -s conftest.err'
55621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622   (eval $ac_try) 2>&5
55623   ac_status=$?
55624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625   (exit $ac_status); }; } &&
55626          { ac_try='test -s conftest.$ac_objext'
55627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55628   (eval $ac_try) 2>&5
55629   ac_status=$?
55630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55631   (exit $ac_status); }; }; then
55632   glibcxx_cv_func__isinfl_use=yes
55633 else
55634   echo "$as_me: failed program was:" >&5
55635 sed 's/^/| /' conftest.$ac_ext >&5
55636
55637 glibcxx_cv_func__isinfl_use=no
55638 fi
55639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55640       ac_ext=c
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645
55646
55647 fi
55648
55649   fi
55650   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55651 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55652
55653     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55654
55655 for ac_func in _isinfl
55656 do
55657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55658 echo "$as_me:$LINENO: checking for $ac_func" >&5
55659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55660 if eval "test \"\${$as_ac_var+set}\" = set"; then
55661   echo $ECHO_N "(cached) $ECHO_C" >&6
55662 else
55663   if test x$gcc_no_link = xyes; then
55664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55666    { (exit 1); exit 1; }; }
55667 fi
55668 cat >conftest.$ac_ext <<_ACEOF
55669 /* confdefs.h.  */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h.  */
55674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55676 #define $ac_func innocuous_$ac_func
55677
55678 /* System header to define __stub macros and hopefully few prototypes,
55679     which can conflict with char $ac_func (); below.
55680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55681     <limits.h> exists even on freestanding compilers.  */
55682
55683 #ifdef __STDC__
55684 # include <limits.h>
55685 #else
55686 # include <assert.h>
55687 #endif
55688
55689 #undef $ac_func
55690
55691 /* Override any gcc2 internal prototype to avoid an error.  */
55692 #ifdef __cplusplus
55693 extern "C"
55694 {
55695 #endif
55696 /* We use char because int might match the return type of a gcc2
55697    builtin and then its argument prototype would still apply.  */
55698 char $ac_func ();
55699 /* The GNU C library defines this for functions which it implements
55700     to always fail with ENOSYS.  Some functions are actually named
55701     something starting with __ and the normal name is an alias.  */
55702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55703 choke me
55704 #else
55705 char (*f) () = $ac_func;
55706 #endif
55707 #ifdef __cplusplus
55708 }
55709 #endif
55710
55711 int
55712 main ()
55713 {
55714 return f != $ac_func;
55715   ;
55716   return 0;
55717 }
55718 _ACEOF
55719 rm -f conftest.$ac_objext conftest$ac_exeext
55720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55721   (eval $ac_link) 2>conftest.er1
55722   ac_status=$?
55723   grep -v '^ *+' conftest.er1 >conftest.err
55724   rm -f conftest.er1
55725   cat conftest.err >&5
55726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55727   (exit $ac_status); } &&
55728          { ac_try='test -z "$ac_c_werror_flag"
55729                          || test ! -s conftest.err'
55730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55731   (eval $ac_try) 2>&5
55732   ac_status=$?
55733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55734   (exit $ac_status); }; } &&
55735          { ac_try='test -s conftest$ac_exeext'
55736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55737   (eval $ac_try) 2>&5
55738   ac_status=$?
55739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55740   (exit $ac_status); }; }; then
55741   eval "$as_ac_var=yes"
55742 else
55743   echo "$as_me: failed program was:" >&5
55744 sed 's/^/| /' conftest.$ac_ext >&5
55745
55746 eval "$as_ac_var=no"
55747 fi
55748 rm -f conftest.err conftest.$ac_objext \
55749       conftest$ac_exeext conftest.$ac_ext
55750 fi
55751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55753 if test `eval echo '${'$as_ac_var'}'` = yes; then
55754   cat >>confdefs.h <<_ACEOF
55755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55756 _ACEOF
55757
55758 fi
55759 done
55760
55761     fi
55762   fi
55763
55764
55765
55766
55767
55768
55769   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55770 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55771   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55772     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55773   echo $ECHO_N "(cached) $ECHO_C" >&6
55774 else
55775
55776
55777
55778       ac_ext=cc
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55783
55784       cat >conftest.$ac_ext <<_ACEOF
55785 /* confdefs.h.  */
55786 _ACEOF
55787 cat confdefs.h >>conftest.$ac_ext
55788 cat >>conftest.$ac_ext <<_ACEOF
55789 /* end confdefs.h.  */
55790 #include <math.h>
55791 int
55792 main ()
55793 {
55794  copysignl(0, 0);
55795   ;
55796   return 0;
55797 }
55798 _ACEOF
55799 rm -f conftest.$ac_objext
55800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55801   (eval $ac_compile) 2>conftest.er1
55802   ac_status=$?
55803   grep -v '^ *+' conftest.er1 >conftest.err
55804   rm -f conftest.er1
55805   cat conftest.err >&5
55806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55807   (exit $ac_status); } &&
55808          { ac_try='test -z "$ac_cxx_werror_flag"
55809                          || test ! -s conftest.err'
55810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55811   (eval $ac_try) 2>&5
55812   ac_status=$?
55813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55814   (exit $ac_status); }; } &&
55815          { ac_try='test -s conftest.$ac_objext'
55816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55817   (eval $ac_try) 2>&5
55818   ac_status=$?
55819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55820   (exit $ac_status); }; }; then
55821   glibcxx_cv_func_copysignl_use=yes
55822 else
55823   echo "$as_me: failed program was:" >&5
55824 sed 's/^/| /' conftest.$ac_ext >&5
55825
55826 glibcxx_cv_func_copysignl_use=no
55827 fi
55828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55829       ac_ext=c
55830 ac_cpp='$CPP $CPPFLAGS'
55831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55834
55835
55836 fi
55837
55838   fi
55839   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55840 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55841
55842   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55843
55844 for ac_func in copysignl
55845 do
55846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55847 echo "$as_me:$LINENO: checking for $ac_func" >&5
55848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55849 if eval "test \"\${$as_ac_var+set}\" = set"; then
55850   echo $ECHO_N "(cached) $ECHO_C" >&6
55851 else
55852   if test x$gcc_no_link = xyes; then
55853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55855    { (exit 1); exit 1; }; }
55856 fi
55857 cat >conftest.$ac_ext <<_ACEOF
55858 /* confdefs.h.  */
55859 _ACEOF
55860 cat confdefs.h >>conftest.$ac_ext
55861 cat >>conftest.$ac_ext <<_ACEOF
55862 /* end confdefs.h.  */
55863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55865 #define $ac_func innocuous_$ac_func
55866
55867 /* System header to define __stub macros and hopefully few prototypes,
55868     which can conflict with char $ac_func (); below.
55869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55870     <limits.h> exists even on freestanding compilers.  */
55871
55872 #ifdef __STDC__
55873 # include <limits.h>
55874 #else
55875 # include <assert.h>
55876 #endif
55877
55878 #undef $ac_func
55879
55880 /* Override any gcc2 internal prototype to avoid an error.  */
55881 #ifdef __cplusplus
55882 extern "C"
55883 {
55884 #endif
55885 /* We use char because int might match the return type of a gcc2
55886    builtin and then its argument prototype would still apply.  */
55887 char $ac_func ();
55888 /* The GNU C library defines this for functions which it implements
55889     to always fail with ENOSYS.  Some functions are actually named
55890     something starting with __ and the normal name is an alias.  */
55891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55892 choke me
55893 #else
55894 char (*f) () = $ac_func;
55895 #endif
55896 #ifdef __cplusplus
55897 }
55898 #endif
55899
55900 int
55901 main ()
55902 {
55903 return f != $ac_func;
55904   ;
55905   return 0;
55906 }
55907 _ACEOF
55908 rm -f conftest.$ac_objext conftest$ac_exeext
55909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55910   (eval $ac_link) 2>conftest.er1
55911   ac_status=$?
55912   grep -v '^ *+' conftest.er1 >conftest.err
55913   rm -f conftest.er1
55914   cat conftest.err >&5
55915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55916   (exit $ac_status); } &&
55917          { ac_try='test -z "$ac_c_werror_flag"
55918                          || test ! -s conftest.err'
55919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55920   (eval $ac_try) 2>&5
55921   ac_status=$?
55922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923   (exit $ac_status); }; } &&
55924          { ac_try='test -s conftest$ac_exeext'
55925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926   (eval $ac_try) 2>&5
55927   ac_status=$?
55928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929   (exit $ac_status); }; }; then
55930   eval "$as_ac_var=yes"
55931 else
55932   echo "$as_me: failed program was:" >&5
55933 sed 's/^/| /' conftest.$ac_ext >&5
55934
55935 eval "$as_ac_var=no"
55936 fi
55937 rm -f conftest.err conftest.$ac_objext \
55938       conftest$ac_exeext conftest.$ac_ext
55939 fi
55940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55942 if test `eval echo '${'$as_ac_var'}'` = yes; then
55943   cat >>confdefs.h <<_ACEOF
55944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55945 _ACEOF
55946
55947 fi
55948 done
55949
55950   else
55951
55952   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55953 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55954   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55955     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55956   echo $ECHO_N "(cached) $ECHO_C" >&6
55957 else
55958
55959
55960
55961       ac_ext=cc
55962 ac_cpp='$CXXCPP $CPPFLAGS'
55963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55966
55967       cat >conftest.$ac_ext <<_ACEOF
55968 /* confdefs.h.  */
55969 _ACEOF
55970 cat confdefs.h >>conftest.$ac_ext
55971 cat >>conftest.$ac_ext <<_ACEOF
55972 /* end confdefs.h.  */
55973 #include <math.h>
55974 int
55975 main ()
55976 {
55977  _copysignl(0, 0);
55978   ;
55979   return 0;
55980 }
55981 _ACEOF
55982 rm -f conftest.$ac_objext
55983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55984   (eval $ac_compile) 2>conftest.er1
55985   ac_status=$?
55986   grep -v '^ *+' conftest.er1 >conftest.err
55987   rm -f conftest.er1
55988   cat conftest.err >&5
55989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990   (exit $ac_status); } &&
55991          { ac_try='test -z "$ac_cxx_werror_flag"
55992                          || test ! -s conftest.err'
55993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55994   (eval $ac_try) 2>&5
55995   ac_status=$?
55996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55997   (exit $ac_status); }; } &&
55998          { ac_try='test -s conftest.$ac_objext'
55999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56000   (eval $ac_try) 2>&5
56001   ac_status=$?
56002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56003   (exit $ac_status); }; }; then
56004   glibcxx_cv_func__copysignl_use=yes
56005 else
56006   echo "$as_me: failed program was:" >&5
56007 sed 's/^/| /' conftest.$ac_ext >&5
56008
56009 glibcxx_cv_func__copysignl_use=no
56010 fi
56011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56012       ac_ext=c
56013 ac_cpp='$CPP $CPPFLAGS'
56014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56017
56018
56019 fi
56020
56021   fi
56022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56023 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56024
56025     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56026
56027 for ac_func in _copysignl
56028 do
56029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56030 echo "$as_me:$LINENO: checking for $ac_func" >&5
56031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56032 if eval "test \"\${$as_ac_var+set}\" = set"; then
56033   echo $ECHO_N "(cached) $ECHO_C" >&6
56034 else
56035   if test x$gcc_no_link = xyes; then
56036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56038    { (exit 1); exit 1; }; }
56039 fi
56040 cat >conftest.$ac_ext <<_ACEOF
56041 /* confdefs.h.  */
56042 _ACEOF
56043 cat confdefs.h >>conftest.$ac_ext
56044 cat >>conftest.$ac_ext <<_ACEOF
56045 /* end confdefs.h.  */
56046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56048 #define $ac_func innocuous_$ac_func
56049
56050 /* System header to define __stub macros and hopefully few prototypes,
56051     which can conflict with char $ac_func (); below.
56052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56053     <limits.h> exists even on freestanding compilers.  */
56054
56055 #ifdef __STDC__
56056 # include <limits.h>
56057 #else
56058 # include <assert.h>
56059 #endif
56060
56061 #undef $ac_func
56062
56063 /* Override any gcc2 internal prototype to avoid an error.  */
56064 #ifdef __cplusplus
56065 extern "C"
56066 {
56067 #endif
56068 /* We use char because int might match the return type of a gcc2
56069    builtin and then its argument prototype would still apply.  */
56070 char $ac_func ();
56071 /* The GNU C library defines this for functions which it implements
56072     to always fail with ENOSYS.  Some functions are actually named
56073     something starting with __ and the normal name is an alias.  */
56074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56075 choke me
56076 #else
56077 char (*f) () = $ac_func;
56078 #endif
56079 #ifdef __cplusplus
56080 }
56081 #endif
56082
56083 int
56084 main ()
56085 {
56086 return f != $ac_func;
56087   ;
56088   return 0;
56089 }
56090 _ACEOF
56091 rm -f conftest.$ac_objext conftest$ac_exeext
56092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56093   (eval $ac_link) 2>conftest.er1
56094   ac_status=$?
56095   grep -v '^ *+' conftest.er1 >conftest.err
56096   rm -f conftest.er1
56097   cat conftest.err >&5
56098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099   (exit $ac_status); } &&
56100          { ac_try='test -z "$ac_c_werror_flag"
56101                          || test ! -s conftest.err'
56102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56103   (eval $ac_try) 2>&5
56104   ac_status=$?
56105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56106   (exit $ac_status); }; } &&
56107          { ac_try='test -s conftest$ac_exeext'
56108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56109   (eval $ac_try) 2>&5
56110   ac_status=$?
56111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56112   (exit $ac_status); }; }; then
56113   eval "$as_ac_var=yes"
56114 else
56115   echo "$as_me: failed program was:" >&5
56116 sed 's/^/| /' conftest.$ac_ext >&5
56117
56118 eval "$as_ac_var=no"
56119 fi
56120 rm -f conftest.err conftest.$ac_objext \
56121       conftest$ac_exeext conftest.$ac_ext
56122 fi
56123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56125 if test `eval echo '${'$as_ac_var'}'` = yes; then
56126   cat >>confdefs.h <<_ACEOF
56127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56128 _ACEOF
56129
56130 fi
56131 done
56132
56133     fi
56134   fi
56135
56136
56137
56138
56139
56140
56141   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56142 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56143   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56144     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56145   echo $ECHO_N "(cached) $ECHO_C" >&6
56146 else
56147
56148
56149
56150       ac_ext=cc
56151 ac_cpp='$CXXCPP $CPPFLAGS'
56152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56155
56156       cat >conftest.$ac_ext <<_ACEOF
56157 /* confdefs.h.  */
56158 _ACEOF
56159 cat confdefs.h >>conftest.$ac_ext
56160 cat >>conftest.$ac_ext <<_ACEOF
56161 /* end confdefs.h.  */
56162 #include <math.h>
56163 int
56164 main ()
56165 {
56166  atan2l(0, 0);
56167   ;
56168   return 0;
56169 }
56170 _ACEOF
56171 rm -f conftest.$ac_objext
56172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56173   (eval $ac_compile) 2>conftest.er1
56174   ac_status=$?
56175   grep -v '^ *+' conftest.er1 >conftest.err
56176   rm -f conftest.er1
56177   cat conftest.err >&5
56178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56179   (exit $ac_status); } &&
56180          { ac_try='test -z "$ac_cxx_werror_flag"
56181                          || test ! -s conftest.err'
56182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56183   (eval $ac_try) 2>&5
56184   ac_status=$?
56185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56186   (exit $ac_status); }; } &&
56187          { ac_try='test -s conftest.$ac_objext'
56188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56189   (eval $ac_try) 2>&5
56190   ac_status=$?
56191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56192   (exit $ac_status); }; }; then
56193   glibcxx_cv_func_atan2l_use=yes
56194 else
56195   echo "$as_me: failed program was:" >&5
56196 sed 's/^/| /' conftest.$ac_ext >&5
56197
56198 glibcxx_cv_func_atan2l_use=no
56199 fi
56200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56201       ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206
56207
56208 fi
56209
56210   fi
56211   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56212 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56213
56214   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56215
56216 for ac_func in atan2l
56217 do
56218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56219 echo "$as_me:$LINENO: checking for $ac_func" >&5
56220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56221 if eval "test \"\${$as_ac_var+set}\" = set"; then
56222   echo $ECHO_N "(cached) $ECHO_C" >&6
56223 else
56224   if test x$gcc_no_link = xyes; then
56225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56227    { (exit 1); exit 1; }; }
56228 fi
56229 cat >conftest.$ac_ext <<_ACEOF
56230 /* confdefs.h.  */
56231 _ACEOF
56232 cat confdefs.h >>conftest.$ac_ext
56233 cat >>conftest.$ac_ext <<_ACEOF
56234 /* end confdefs.h.  */
56235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56237 #define $ac_func innocuous_$ac_func
56238
56239 /* System header to define __stub macros and hopefully few prototypes,
56240     which can conflict with char $ac_func (); below.
56241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56242     <limits.h> exists even on freestanding compilers.  */
56243
56244 #ifdef __STDC__
56245 # include <limits.h>
56246 #else
56247 # include <assert.h>
56248 #endif
56249
56250 #undef $ac_func
56251
56252 /* Override any gcc2 internal prototype to avoid an error.  */
56253 #ifdef __cplusplus
56254 extern "C"
56255 {
56256 #endif
56257 /* We use char because int might match the return type of a gcc2
56258    builtin and then its argument prototype would still apply.  */
56259 char $ac_func ();
56260 /* The GNU C library defines this for functions which it implements
56261     to always fail with ENOSYS.  Some functions are actually named
56262     something starting with __ and the normal name is an alias.  */
56263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56264 choke me
56265 #else
56266 char (*f) () = $ac_func;
56267 #endif
56268 #ifdef __cplusplus
56269 }
56270 #endif
56271
56272 int
56273 main ()
56274 {
56275 return f != $ac_func;
56276   ;
56277   return 0;
56278 }
56279 _ACEOF
56280 rm -f conftest.$ac_objext conftest$ac_exeext
56281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56282   (eval $ac_link) 2>conftest.er1
56283   ac_status=$?
56284   grep -v '^ *+' conftest.er1 >conftest.err
56285   rm -f conftest.er1
56286   cat conftest.err >&5
56287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56288   (exit $ac_status); } &&
56289          { ac_try='test -z "$ac_c_werror_flag"
56290                          || test ! -s conftest.err'
56291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56292   (eval $ac_try) 2>&5
56293   ac_status=$?
56294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56295   (exit $ac_status); }; } &&
56296          { ac_try='test -s conftest$ac_exeext'
56297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56298   (eval $ac_try) 2>&5
56299   ac_status=$?
56300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56301   (exit $ac_status); }; }; then
56302   eval "$as_ac_var=yes"
56303 else
56304   echo "$as_me: failed program was:" >&5
56305 sed 's/^/| /' conftest.$ac_ext >&5
56306
56307 eval "$as_ac_var=no"
56308 fi
56309 rm -f conftest.err conftest.$ac_objext \
56310       conftest$ac_exeext conftest.$ac_ext
56311 fi
56312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56314 if test `eval echo '${'$as_ac_var'}'` = yes; then
56315   cat >>confdefs.h <<_ACEOF
56316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56317 _ACEOF
56318
56319 fi
56320 done
56321
56322   else
56323
56324   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56325 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56326   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56327     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56328   echo $ECHO_N "(cached) $ECHO_C" >&6
56329 else
56330
56331
56332
56333       ac_ext=cc
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338
56339       cat >conftest.$ac_ext <<_ACEOF
56340 /* confdefs.h.  */
56341 _ACEOF
56342 cat confdefs.h >>conftest.$ac_ext
56343 cat >>conftest.$ac_ext <<_ACEOF
56344 /* end confdefs.h.  */
56345 #include <math.h>
56346 int
56347 main ()
56348 {
56349  _atan2l(0, 0);
56350   ;
56351   return 0;
56352 }
56353 _ACEOF
56354 rm -f conftest.$ac_objext
56355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56356   (eval $ac_compile) 2>conftest.er1
56357   ac_status=$?
56358   grep -v '^ *+' conftest.er1 >conftest.err
56359   rm -f conftest.er1
56360   cat conftest.err >&5
56361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362   (exit $ac_status); } &&
56363          { ac_try='test -z "$ac_cxx_werror_flag"
56364                          || test ! -s conftest.err'
56365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56366   (eval $ac_try) 2>&5
56367   ac_status=$?
56368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56369   (exit $ac_status); }; } &&
56370          { ac_try='test -s conftest.$ac_objext'
56371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56372   (eval $ac_try) 2>&5
56373   ac_status=$?
56374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56375   (exit $ac_status); }; }; then
56376   glibcxx_cv_func__atan2l_use=yes
56377 else
56378   echo "$as_me: failed program was:" >&5
56379 sed 's/^/| /' conftest.$ac_ext >&5
56380
56381 glibcxx_cv_func__atan2l_use=no
56382 fi
56383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56384       ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56389
56390
56391 fi
56392
56393   fi
56394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56395 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56396
56397     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56398
56399 for ac_func in _atan2l
56400 do
56401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56402 echo "$as_me:$LINENO: checking for $ac_func" >&5
56403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56404 if eval "test \"\${$as_ac_var+set}\" = set"; then
56405   echo $ECHO_N "(cached) $ECHO_C" >&6
56406 else
56407   if test x$gcc_no_link = xyes; then
56408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56410    { (exit 1); exit 1; }; }
56411 fi
56412 cat >conftest.$ac_ext <<_ACEOF
56413 /* confdefs.h.  */
56414 _ACEOF
56415 cat confdefs.h >>conftest.$ac_ext
56416 cat >>conftest.$ac_ext <<_ACEOF
56417 /* end confdefs.h.  */
56418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56420 #define $ac_func innocuous_$ac_func
56421
56422 /* System header to define __stub macros and hopefully few prototypes,
56423     which can conflict with char $ac_func (); below.
56424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56425     <limits.h> exists even on freestanding compilers.  */
56426
56427 #ifdef __STDC__
56428 # include <limits.h>
56429 #else
56430 # include <assert.h>
56431 #endif
56432
56433 #undef $ac_func
56434
56435 /* Override any gcc2 internal prototype to avoid an error.  */
56436 #ifdef __cplusplus
56437 extern "C"
56438 {
56439 #endif
56440 /* We use char because int might match the return type of a gcc2
56441    builtin and then its argument prototype would still apply.  */
56442 char $ac_func ();
56443 /* The GNU C library defines this for functions which it implements
56444     to always fail with ENOSYS.  Some functions are actually named
56445     something starting with __ and the normal name is an alias.  */
56446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56447 choke me
56448 #else
56449 char (*f) () = $ac_func;
56450 #endif
56451 #ifdef __cplusplus
56452 }
56453 #endif
56454
56455 int
56456 main ()
56457 {
56458 return f != $ac_func;
56459   ;
56460   return 0;
56461 }
56462 _ACEOF
56463 rm -f conftest.$ac_objext conftest$ac_exeext
56464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56465   (eval $ac_link) 2>conftest.er1
56466   ac_status=$?
56467   grep -v '^ *+' conftest.er1 >conftest.err
56468   rm -f conftest.er1
56469   cat conftest.err >&5
56470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56471   (exit $ac_status); } &&
56472          { ac_try='test -z "$ac_c_werror_flag"
56473                          || test ! -s conftest.err'
56474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56475   (eval $ac_try) 2>&5
56476   ac_status=$?
56477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56478   (exit $ac_status); }; } &&
56479          { ac_try='test -s conftest$ac_exeext'
56480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56481   (eval $ac_try) 2>&5
56482   ac_status=$?
56483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56484   (exit $ac_status); }; }; then
56485   eval "$as_ac_var=yes"
56486 else
56487   echo "$as_me: failed program was:" >&5
56488 sed 's/^/| /' conftest.$ac_ext >&5
56489
56490 eval "$as_ac_var=no"
56491 fi
56492 rm -f conftest.err conftest.$ac_objext \
56493       conftest$ac_exeext conftest.$ac_ext
56494 fi
56495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56497 if test `eval echo '${'$as_ac_var'}'` = yes; then
56498   cat >>confdefs.h <<_ACEOF
56499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56500 _ACEOF
56501
56502 fi
56503 done
56504
56505     fi
56506   fi
56507
56508
56509
56510
56511
56512
56513   echo "$as_me:$LINENO: checking for expl declaration" >&5
56514 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56515   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56516     if test "${glibcxx_cv_func_expl_use+set}" = set; then
56517   echo $ECHO_N "(cached) $ECHO_C" >&6
56518 else
56519
56520
56521
56522       ac_ext=cc
56523 ac_cpp='$CXXCPP $CPPFLAGS'
56524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56527
56528       cat >conftest.$ac_ext <<_ACEOF
56529 /* confdefs.h.  */
56530 _ACEOF
56531 cat confdefs.h >>conftest.$ac_ext
56532 cat >>conftest.$ac_ext <<_ACEOF
56533 /* end confdefs.h.  */
56534 #include <math.h>
56535                       #ifdef HAVE_IEEEFP_H
56536                       #include <ieeefp.h>
56537                       #endif
56538
56539 int
56540 main ()
56541 {
56542  expl(0);
56543   ;
56544   return 0;
56545 }
56546 _ACEOF
56547 rm -f conftest.$ac_objext
56548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56549   (eval $ac_compile) 2>conftest.er1
56550   ac_status=$?
56551   grep -v '^ *+' conftest.er1 >conftest.err
56552   rm -f conftest.er1
56553   cat conftest.err >&5
56554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56555   (exit $ac_status); } &&
56556          { ac_try='test -z "$ac_cxx_werror_flag"
56557                          || test ! -s conftest.err'
56558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56559   (eval $ac_try) 2>&5
56560   ac_status=$?
56561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56562   (exit $ac_status); }; } &&
56563          { ac_try='test -s conftest.$ac_objext'
56564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56565   (eval $ac_try) 2>&5
56566   ac_status=$?
56567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568   (exit $ac_status); }; }; then
56569   glibcxx_cv_func_expl_use=yes
56570 else
56571   echo "$as_me: failed program was:" >&5
56572 sed 's/^/| /' conftest.$ac_ext >&5
56573
56574 glibcxx_cv_func_expl_use=no
56575 fi
56576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56577       ac_ext=c
56578 ac_cpp='$CPP $CPPFLAGS'
56579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582
56583
56584 fi
56585
56586   fi
56587   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56588 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56589
56590   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56591
56592 for ac_func in expl
56593 do
56594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56595 echo "$as_me:$LINENO: checking for $ac_func" >&5
56596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56597 if eval "test \"\${$as_ac_var+set}\" = set"; then
56598   echo $ECHO_N "(cached) $ECHO_C" >&6
56599 else
56600   if test x$gcc_no_link = xyes; then
56601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56603    { (exit 1); exit 1; }; }
56604 fi
56605 cat >conftest.$ac_ext <<_ACEOF
56606 /* confdefs.h.  */
56607 _ACEOF
56608 cat confdefs.h >>conftest.$ac_ext
56609 cat >>conftest.$ac_ext <<_ACEOF
56610 /* end confdefs.h.  */
56611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56613 #define $ac_func innocuous_$ac_func
56614
56615 /* System header to define __stub macros and hopefully few prototypes,
56616     which can conflict with char $ac_func (); below.
56617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56618     <limits.h> exists even on freestanding compilers.  */
56619
56620 #ifdef __STDC__
56621 # include <limits.h>
56622 #else
56623 # include <assert.h>
56624 #endif
56625
56626 #undef $ac_func
56627
56628 /* Override any gcc2 internal prototype to avoid an error.  */
56629 #ifdef __cplusplus
56630 extern "C"
56631 {
56632 #endif
56633 /* We use char because int might match the return type of a gcc2
56634    builtin and then its argument prototype would still apply.  */
56635 char $ac_func ();
56636 /* The GNU C library defines this for functions which it implements
56637     to always fail with ENOSYS.  Some functions are actually named
56638     something starting with __ and the normal name is an alias.  */
56639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56640 choke me
56641 #else
56642 char (*f) () = $ac_func;
56643 #endif
56644 #ifdef __cplusplus
56645 }
56646 #endif
56647
56648 int
56649 main ()
56650 {
56651 return f != $ac_func;
56652   ;
56653   return 0;
56654 }
56655 _ACEOF
56656 rm -f conftest.$ac_objext conftest$ac_exeext
56657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56658   (eval $ac_link) 2>conftest.er1
56659   ac_status=$?
56660   grep -v '^ *+' conftest.er1 >conftest.err
56661   rm -f conftest.er1
56662   cat conftest.err >&5
56663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56664   (exit $ac_status); } &&
56665          { ac_try='test -z "$ac_c_werror_flag"
56666                          || test ! -s conftest.err'
56667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56668   (eval $ac_try) 2>&5
56669   ac_status=$?
56670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56671   (exit $ac_status); }; } &&
56672          { ac_try='test -s conftest$ac_exeext'
56673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56674   (eval $ac_try) 2>&5
56675   ac_status=$?
56676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677   (exit $ac_status); }; }; then
56678   eval "$as_ac_var=yes"
56679 else
56680   echo "$as_me: failed program was:" >&5
56681 sed 's/^/| /' conftest.$ac_ext >&5
56682
56683 eval "$as_ac_var=no"
56684 fi
56685 rm -f conftest.err conftest.$ac_objext \
56686       conftest$ac_exeext conftest.$ac_ext
56687 fi
56688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56690 if test `eval echo '${'$as_ac_var'}'` = yes; then
56691   cat >>confdefs.h <<_ACEOF
56692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56693 _ACEOF
56694
56695 fi
56696 done
56697
56698   else
56699
56700   echo "$as_me:$LINENO: checking for _expl declaration" >&5
56701 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56702   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56703     if test "${glibcxx_cv_func__expl_use+set}" = set; then
56704   echo $ECHO_N "(cached) $ECHO_C" >&6
56705 else
56706
56707
56708
56709       ac_ext=cc
56710 ac_cpp='$CXXCPP $CPPFLAGS'
56711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56714
56715       cat >conftest.$ac_ext <<_ACEOF
56716 /* confdefs.h.  */
56717 _ACEOF
56718 cat confdefs.h >>conftest.$ac_ext
56719 cat >>conftest.$ac_ext <<_ACEOF
56720 /* end confdefs.h.  */
56721 #include <math.h>
56722                       #ifdef HAVE_IEEEFP_H
56723                       #include <ieeefp.h>
56724                       #endif
56725
56726 int
56727 main ()
56728 {
56729  _expl(0);
56730   ;
56731   return 0;
56732 }
56733 _ACEOF
56734 rm -f conftest.$ac_objext
56735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56736   (eval $ac_compile) 2>conftest.er1
56737   ac_status=$?
56738   grep -v '^ *+' conftest.er1 >conftest.err
56739   rm -f conftest.er1
56740   cat conftest.err >&5
56741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742   (exit $ac_status); } &&
56743          { ac_try='test -z "$ac_cxx_werror_flag"
56744                          || test ! -s conftest.err'
56745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56746   (eval $ac_try) 2>&5
56747   ac_status=$?
56748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56749   (exit $ac_status); }; } &&
56750          { ac_try='test -s conftest.$ac_objext'
56751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56752   (eval $ac_try) 2>&5
56753   ac_status=$?
56754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56755   (exit $ac_status); }; }; then
56756   glibcxx_cv_func__expl_use=yes
56757 else
56758   echo "$as_me: failed program was:" >&5
56759 sed 's/^/| /' conftest.$ac_ext >&5
56760
56761 glibcxx_cv_func__expl_use=no
56762 fi
56763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56764       ac_ext=c
56765 ac_cpp='$CPP $CPPFLAGS'
56766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56769
56770
56771 fi
56772
56773   fi
56774   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56775 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56776
56777     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56778
56779 for ac_func in _expl
56780 do
56781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56782 echo "$as_me:$LINENO: checking for $ac_func" >&5
56783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56784 if eval "test \"\${$as_ac_var+set}\" = set"; then
56785   echo $ECHO_N "(cached) $ECHO_C" >&6
56786 else
56787   if test x$gcc_no_link = xyes; then
56788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56790    { (exit 1); exit 1; }; }
56791 fi
56792 cat >conftest.$ac_ext <<_ACEOF
56793 /* confdefs.h.  */
56794 _ACEOF
56795 cat confdefs.h >>conftest.$ac_ext
56796 cat >>conftest.$ac_ext <<_ACEOF
56797 /* end confdefs.h.  */
56798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56800 #define $ac_func innocuous_$ac_func
56801
56802 /* System header to define __stub macros and hopefully few prototypes,
56803     which can conflict with char $ac_func (); below.
56804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56805     <limits.h> exists even on freestanding compilers.  */
56806
56807 #ifdef __STDC__
56808 # include <limits.h>
56809 #else
56810 # include <assert.h>
56811 #endif
56812
56813 #undef $ac_func
56814
56815 /* Override any gcc2 internal prototype to avoid an error.  */
56816 #ifdef __cplusplus
56817 extern "C"
56818 {
56819 #endif
56820 /* We use char because int might match the return type of a gcc2
56821    builtin and then its argument prototype would still apply.  */
56822 char $ac_func ();
56823 /* The GNU C library defines this for functions which it implements
56824     to always fail with ENOSYS.  Some functions are actually named
56825     something starting with __ and the normal name is an alias.  */
56826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56827 choke me
56828 #else
56829 char (*f) () = $ac_func;
56830 #endif
56831 #ifdef __cplusplus
56832 }
56833 #endif
56834
56835 int
56836 main ()
56837 {
56838 return f != $ac_func;
56839   ;
56840   return 0;
56841 }
56842 _ACEOF
56843 rm -f conftest.$ac_objext conftest$ac_exeext
56844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56845   (eval $ac_link) 2>conftest.er1
56846   ac_status=$?
56847   grep -v '^ *+' conftest.er1 >conftest.err
56848   rm -f conftest.er1
56849   cat conftest.err >&5
56850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851   (exit $ac_status); } &&
56852          { ac_try='test -z "$ac_c_werror_flag"
56853                          || test ! -s conftest.err'
56854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56855   (eval $ac_try) 2>&5
56856   ac_status=$?
56857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56858   (exit $ac_status); }; } &&
56859          { ac_try='test -s conftest$ac_exeext'
56860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861   (eval $ac_try) 2>&5
56862   ac_status=$?
56863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56864   (exit $ac_status); }; }; then
56865   eval "$as_ac_var=yes"
56866 else
56867   echo "$as_me: failed program was:" >&5
56868 sed 's/^/| /' conftest.$ac_ext >&5
56869
56870 eval "$as_ac_var=no"
56871 fi
56872 rm -f conftest.err conftest.$ac_objext \
56873       conftest$ac_exeext conftest.$ac_ext
56874 fi
56875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56877 if test `eval echo '${'$as_ac_var'}'` = yes; then
56878   cat >>confdefs.h <<_ACEOF
56879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56880 _ACEOF
56881
56882 fi
56883 done
56884
56885     fi
56886   fi
56887
56888
56889
56890
56891
56892
56893   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56894 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56895   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56896     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56897   echo $ECHO_N "(cached) $ECHO_C" >&6
56898 else
56899
56900
56901
56902       ac_ext=cc
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56907
56908       cat >conftest.$ac_ext <<_ACEOF
56909 /* confdefs.h.  */
56910 _ACEOF
56911 cat confdefs.h >>conftest.$ac_ext
56912 cat >>conftest.$ac_ext <<_ACEOF
56913 /* end confdefs.h.  */
56914 #include <math.h>
56915                       #ifdef HAVE_IEEEFP_H
56916                       #include <ieeefp.h>
56917                       #endif
56918
56919 int
56920 main ()
56921 {
56922  fabsl(0);
56923   ;
56924   return 0;
56925 }
56926 _ACEOF
56927 rm -f conftest.$ac_objext
56928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56929   (eval $ac_compile) 2>conftest.er1
56930   ac_status=$?
56931   grep -v '^ *+' conftest.er1 >conftest.err
56932   rm -f conftest.er1
56933   cat conftest.err >&5
56934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935   (exit $ac_status); } &&
56936          { ac_try='test -z "$ac_cxx_werror_flag"
56937                          || test ! -s conftest.err'
56938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56939   (eval $ac_try) 2>&5
56940   ac_status=$?
56941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56942   (exit $ac_status); }; } &&
56943          { ac_try='test -s conftest.$ac_objext'
56944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56945   (eval $ac_try) 2>&5
56946   ac_status=$?
56947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948   (exit $ac_status); }; }; then
56949   glibcxx_cv_func_fabsl_use=yes
56950 else
56951   echo "$as_me: failed program was:" >&5
56952 sed 's/^/| /' conftest.$ac_ext >&5
56953
56954 glibcxx_cv_func_fabsl_use=no
56955 fi
56956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56957       ac_ext=c
56958 ac_cpp='$CPP $CPPFLAGS'
56959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56962
56963
56964 fi
56965
56966   fi
56967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56968 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56969
56970   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56971
56972 for ac_func in fabsl
56973 do
56974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56975 echo "$as_me:$LINENO: checking for $ac_func" >&5
56976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56977 if eval "test \"\${$as_ac_var+set}\" = set"; then
56978   echo $ECHO_N "(cached) $ECHO_C" >&6
56979 else
56980   if test x$gcc_no_link = xyes; then
56981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56983    { (exit 1); exit 1; }; }
56984 fi
56985 cat >conftest.$ac_ext <<_ACEOF
56986 /* confdefs.h.  */
56987 _ACEOF
56988 cat confdefs.h >>conftest.$ac_ext
56989 cat >>conftest.$ac_ext <<_ACEOF
56990 /* end confdefs.h.  */
56991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56993 #define $ac_func innocuous_$ac_func
56994
56995 /* System header to define __stub macros and hopefully few prototypes,
56996     which can conflict with char $ac_func (); below.
56997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56998     <limits.h> exists even on freestanding compilers.  */
56999
57000 #ifdef __STDC__
57001 # include <limits.h>
57002 #else
57003 # include <assert.h>
57004 #endif
57005
57006 #undef $ac_func
57007
57008 /* Override any gcc2 internal prototype to avoid an error.  */
57009 #ifdef __cplusplus
57010 extern "C"
57011 {
57012 #endif
57013 /* We use char because int might match the return type of a gcc2
57014    builtin and then its argument prototype would still apply.  */
57015 char $ac_func ();
57016 /* The GNU C library defines this for functions which it implements
57017     to always fail with ENOSYS.  Some functions are actually named
57018     something starting with __ and the normal name is an alias.  */
57019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57020 choke me
57021 #else
57022 char (*f) () = $ac_func;
57023 #endif
57024 #ifdef __cplusplus
57025 }
57026 #endif
57027
57028 int
57029 main ()
57030 {
57031 return f != $ac_func;
57032   ;
57033   return 0;
57034 }
57035 _ACEOF
57036 rm -f conftest.$ac_objext conftest$ac_exeext
57037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57038   (eval $ac_link) 2>conftest.er1
57039   ac_status=$?
57040   grep -v '^ *+' conftest.er1 >conftest.err
57041   rm -f conftest.er1
57042   cat conftest.err >&5
57043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044   (exit $ac_status); } &&
57045          { ac_try='test -z "$ac_c_werror_flag"
57046                          || test ! -s conftest.err'
57047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57048   (eval $ac_try) 2>&5
57049   ac_status=$?
57050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57051   (exit $ac_status); }; } &&
57052          { ac_try='test -s conftest$ac_exeext'
57053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57054   (eval $ac_try) 2>&5
57055   ac_status=$?
57056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57057   (exit $ac_status); }; }; then
57058   eval "$as_ac_var=yes"
57059 else
57060   echo "$as_me: failed program was:" >&5
57061 sed 's/^/| /' conftest.$ac_ext >&5
57062
57063 eval "$as_ac_var=no"
57064 fi
57065 rm -f conftest.err conftest.$ac_objext \
57066       conftest$ac_exeext conftest.$ac_ext
57067 fi
57068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57070 if test `eval echo '${'$as_ac_var'}'` = yes; then
57071   cat >>confdefs.h <<_ACEOF
57072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57073 _ACEOF
57074
57075 fi
57076 done
57077
57078   else
57079
57080   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57081 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57082   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57083     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57084   echo $ECHO_N "(cached) $ECHO_C" >&6
57085 else
57086
57087
57088
57089       ac_ext=cc
57090 ac_cpp='$CXXCPP $CPPFLAGS'
57091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57094
57095       cat >conftest.$ac_ext <<_ACEOF
57096 /* confdefs.h.  */
57097 _ACEOF
57098 cat confdefs.h >>conftest.$ac_ext
57099 cat >>conftest.$ac_ext <<_ACEOF
57100 /* end confdefs.h.  */
57101 #include <math.h>
57102                       #ifdef HAVE_IEEEFP_H
57103                       #include <ieeefp.h>
57104                       #endif
57105
57106 int
57107 main ()
57108 {
57109  _fabsl(0);
57110   ;
57111   return 0;
57112 }
57113 _ACEOF
57114 rm -f conftest.$ac_objext
57115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57116   (eval $ac_compile) 2>conftest.er1
57117   ac_status=$?
57118   grep -v '^ *+' conftest.er1 >conftest.err
57119   rm -f conftest.er1
57120   cat conftest.err >&5
57121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57122   (exit $ac_status); } &&
57123          { ac_try='test -z "$ac_cxx_werror_flag"
57124                          || test ! -s conftest.err'
57125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57126   (eval $ac_try) 2>&5
57127   ac_status=$?
57128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57129   (exit $ac_status); }; } &&
57130          { ac_try='test -s conftest.$ac_objext'
57131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57132   (eval $ac_try) 2>&5
57133   ac_status=$?
57134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135   (exit $ac_status); }; }; then
57136   glibcxx_cv_func__fabsl_use=yes
57137 else
57138   echo "$as_me: failed program was:" >&5
57139 sed 's/^/| /' conftest.$ac_ext >&5
57140
57141 glibcxx_cv_func__fabsl_use=no
57142 fi
57143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57144       ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57149
57150
57151 fi
57152
57153   fi
57154   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57155 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57156
57157     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57158
57159 for ac_func in _fabsl
57160 do
57161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57162 echo "$as_me:$LINENO: checking for $ac_func" >&5
57163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57164 if eval "test \"\${$as_ac_var+set}\" = set"; then
57165   echo $ECHO_N "(cached) $ECHO_C" >&6
57166 else
57167   if test x$gcc_no_link = xyes; then
57168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57170    { (exit 1); exit 1; }; }
57171 fi
57172 cat >conftest.$ac_ext <<_ACEOF
57173 /* confdefs.h.  */
57174 _ACEOF
57175 cat confdefs.h >>conftest.$ac_ext
57176 cat >>conftest.$ac_ext <<_ACEOF
57177 /* end confdefs.h.  */
57178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57180 #define $ac_func innocuous_$ac_func
57181
57182 /* System header to define __stub macros and hopefully few prototypes,
57183     which can conflict with char $ac_func (); below.
57184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57185     <limits.h> exists even on freestanding compilers.  */
57186
57187 #ifdef __STDC__
57188 # include <limits.h>
57189 #else
57190 # include <assert.h>
57191 #endif
57192
57193 #undef $ac_func
57194
57195 /* Override any gcc2 internal prototype to avoid an error.  */
57196 #ifdef __cplusplus
57197 extern "C"
57198 {
57199 #endif
57200 /* We use char because int might match the return type of a gcc2
57201    builtin and then its argument prototype would still apply.  */
57202 char $ac_func ();
57203 /* The GNU C library defines this for functions which it implements
57204     to always fail with ENOSYS.  Some functions are actually named
57205     something starting with __ and the normal name is an alias.  */
57206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57207 choke me
57208 #else
57209 char (*f) () = $ac_func;
57210 #endif
57211 #ifdef __cplusplus
57212 }
57213 #endif
57214
57215 int
57216 main ()
57217 {
57218 return f != $ac_func;
57219   ;
57220   return 0;
57221 }
57222 _ACEOF
57223 rm -f conftest.$ac_objext conftest$ac_exeext
57224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57225   (eval $ac_link) 2>conftest.er1
57226   ac_status=$?
57227   grep -v '^ *+' conftest.er1 >conftest.err
57228   rm -f conftest.er1
57229   cat conftest.err >&5
57230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57231   (exit $ac_status); } &&
57232          { ac_try='test -z "$ac_c_werror_flag"
57233                          || test ! -s conftest.err'
57234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57235   (eval $ac_try) 2>&5
57236   ac_status=$?
57237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238   (exit $ac_status); }; } &&
57239          { ac_try='test -s conftest$ac_exeext'
57240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57241   (eval $ac_try) 2>&5
57242   ac_status=$?
57243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244   (exit $ac_status); }; }; then
57245   eval "$as_ac_var=yes"
57246 else
57247   echo "$as_me: failed program was:" >&5
57248 sed 's/^/| /' conftest.$ac_ext >&5
57249
57250 eval "$as_ac_var=no"
57251 fi
57252 rm -f conftest.err conftest.$ac_objext \
57253       conftest$ac_exeext conftest.$ac_ext
57254 fi
57255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57257 if test `eval echo '${'$as_ac_var'}'` = yes; then
57258   cat >>confdefs.h <<_ACEOF
57259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57260 _ACEOF
57261
57262 fi
57263 done
57264
57265     fi
57266   fi
57267
57268
57269
57270
57271
57272
57273   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57274 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57275   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57276     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57277   echo $ECHO_N "(cached) $ECHO_C" >&6
57278 else
57279
57280
57281
57282       ac_ext=cc
57283 ac_cpp='$CXXCPP $CPPFLAGS'
57284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57287
57288       cat >conftest.$ac_ext <<_ACEOF
57289 /* confdefs.h.  */
57290 _ACEOF
57291 cat confdefs.h >>conftest.$ac_ext
57292 cat >>conftest.$ac_ext <<_ACEOF
57293 /* end confdefs.h.  */
57294 #include <math.h>
57295 int
57296 main ()
57297 {
57298  fmodl(0, 0);
57299   ;
57300   return 0;
57301 }
57302 _ACEOF
57303 rm -f conftest.$ac_objext
57304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57305   (eval $ac_compile) 2>conftest.er1
57306   ac_status=$?
57307   grep -v '^ *+' conftest.er1 >conftest.err
57308   rm -f conftest.er1
57309   cat conftest.err >&5
57310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57311   (exit $ac_status); } &&
57312          { ac_try='test -z "$ac_cxx_werror_flag"
57313                          || test ! -s conftest.err'
57314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57315   (eval $ac_try) 2>&5
57316   ac_status=$?
57317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318   (exit $ac_status); }; } &&
57319          { ac_try='test -s conftest.$ac_objext'
57320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57321   (eval $ac_try) 2>&5
57322   ac_status=$?
57323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57324   (exit $ac_status); }; }; then
57325   glibcxx_cv_func_fmodl_use=yes
57326 else
57327   echo "$as_me: failed program was:" >&5
57328 sed 's/^/| /' conftest.$ac_ext >&5
57329
57330 glibcxx_cv_func_fmodl_use=no
57331 fi
57332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57333       ac_ext=c
57334 ac_cpp='$CPP $CPPFLAGS'
57335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57338
57339
57340 fi
57341
57342   fi
57343   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57344 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57345
57346   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57347
57348 for ac_func in fmodl
57349 do
57350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57351 echo "$as_me:$LINENO: checking for $ac_func" >&5
57352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57353 if eval "test \"\${$as_ac_var+set}\" = set"; then
57354   echo $ECHO_N "(cached) $ECHO_C" >&6
57355 else
57356   if test x$gcc_no_link = xyes; then
57357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57359    { (exit 1); exit 1; }; }
57360 fi
57361 cat >conftest.$ac_ext <<_ACEOF
57362 /* confdefs.h.  */
57363 _ACEOF
57364 cat confdefs.h >>conftest.$ac_ext
57365 cat >>conftest.$ac_ext <<_ACEOF
57366 /* end confdefs.h.  */
57367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57369 #define $ac_func innocuous_$ac_func
57370
57371 /* System header to define __stub macros and hopefully few prototypes,
57372     which can conflict with char $ac_func (); below.
57373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57374     <limits.h> exists even on freestanding compilers.  */
57375
57376 #ifdef __STDC__
57377 # include <limits.h>
57378 #else
57379 # include <assert.h>
57380 #endif
57381
57382 #undef $ac_func
57383
57384 /* Override any gcc2 internal prototype to avoid an error.  */
57385 #ifdef __cplusplus
57386 extern "C"
57387 {
57388 #endif
57389 /* We use char because int might match the return type of a gcc2
57390    builtin and then its argument prototype would still apply.  */
57391 char $ac_func ();
57392 /* The GNU C library defines this for functions which it implements
57393     to always fail with ENOSYS.  Some functions are actually named
57394     something starting with __ and the normal name is an alias.  */
57395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57396 choke me
57397 #else
57398 char (*f) () = $ac_func;
57399 #endif
57400 #ifdef __cplusplus
57401 }
57402 #endif
57403
57404 int
57405 main ()
57406 {
57407 return f != $ac_func;
57408   ;
57409   return 0;
57410 }
57411 _ACEOF
57412 rm -f conftest.$ac_objext conftest$ac_exeext
57413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57414   (eval $ac_link) 2>conftest.er1
57415   ac_status=$?
57416   grep -v '^ *+' conftest.er1 >conftest.err
57417   rm -f conftest.er1
57418   cat conftest.err >&5
57419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57420   (exit $ac_status); } &&
57421          { ac_try='test -z "$ac_c_werror_flag"
57422                          || test ! -s conftest.err'
57423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57424   (eval $ac_try) 2>&5
57425   ac_status=$?
57426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57427   (exit $ac_status); }; } &&
57428          { ac_try='test -s conftest$ac_exeext'
57429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57430   (eval $ac_try) 2>&5
57431   ac_status=$?
57432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433   (exit $ac_status); }; }; then
57434   eval "$as_ac_var=yes"
57435 else
57436   echo "$as_me: failed program was:" >&5
57437 sed 's/^/| /' conftest.$ac_ext >&5
57438
57439 eval "$as_ac_var=no"
57440 fi
57441 rm -f conftest.err conftest.$ac_objext \
57442       conftest$ac_exeext conftest.$ac_ext
57443 fi
57444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57446 if test `eval echo '${'$as_ac_var'}'` = yes; then
57447   cat >>confdefs.h <<_ACEOF
57448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57449 _ACEOF
57450
57451 fi
57452 done
57453
57454   else
57455
57456   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57457 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57458   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57459     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57460   echo $ECHO_N "(cached) $ECHO_C" >&6
57461 else
57462
57463
57464
57465       ac_ext=cc
57466 ac_cpp='$CXXCPP $CPPFLAGS'
57467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57470
57471       cat >conftest.$ac_ext <<_ACEOF
57472 /* confdefs.h.  */
57473 _ACEOF
57474 cat confdefs.h >>conftest.$ac_ext
57475 cat >>conftest.$ac_ext <<_ACEOF
57476 /* end confdefs.h.  */
57477 #include <math.h>
57478 int
57479 main ()
57480 {
57481  _fmodl(0, 0);
57482   ;
57483   return 0;
57484 }
57485 _ACEOF
57486 rm -f conftest.$ac_objext
57487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57488   (eval $ac_compile) 2>conftest.er1
57489   ac_status=$?
57490   grep -v '^ *+' conftest.er1 >conftest.err
57491   rm -f conftest.er1
57492   cat conftest.err >&5
57493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494   (exit $ac_status); } &&
57495          { ac_try='test -z "$ac_cxx_werror_flag"
57496                          || test ! -s conftest.err'
57497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57498   (eval $ac_try) 2>&5
57499   ac_status=$?
57500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57501   (exit $ac_status); }; } &&
57502          { ac_try='test -s conftest.$ac_objext'
57503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57504   (eval $ac_try) 2>&5
57505   ac_status=$?
57506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57507   (exit $ac_status); }; }; then
57508   glibcxx_cv_func__fmodl_use=yes
57509 else
57510   echo "$as_me: failed program was:" >&5
57511 sed 's/^/| /' conftest.$ac_ext >&5
57512
57513 glibcxx_cv_func__fmodl_use=no
57514 fi
57515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57516       ac_ext=c
57517 ac_cpp='$CPP $CPPFLAGS'
57518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57521
57522
57523 fi
57524
57525   fi
57526   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57527 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57528
57529     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57530
57531 for ac_func in _fmodl
57532 do
57533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57534 echo "$as_me:$LINENO: checking for $ac_func" >&5
57535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57536 if eval "test \"\${$as_ac_var+set}\" = set"; then
57537   echo $ECHO_N "(cached) $ECHO_C" >&6
57538 else
57539   if test x$gcc_no_link = xyes; then
57540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57542    { (exit 1); exit 1; }; }
57543 fi
57544 cat >conftest.$ac_ext <<_ACEOF
57545 /* confdefs.h.  */
57546 _ACEOF
57547 cat confdefs.h >>conftest.$ac_ext
57548 cat >>conftest.$ac_ext <<_ACEOF
57549 /* end confdefs.h.  */
57550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57552 #define $ac_func innocuous_$ac_func
57553
57554 /* System header to define __stub macros and hopefully few prototypes,
57555     which can conflict with char $ac_func (); below.
57556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57557     <limits.h> exists even on freestanding compilers.  */
57558
57559 #ifdef __STDC__
57560 # include <limits.h>
57561 #else
57562 # include <assert.h>
57563 #endif
57564
57565 #undef $ac_func
57566
57567 /* Override any gcc2 internal prototype to avoid an error.  */
57568 #ifdef __cplusplus
57569 extern "C"
57570 {
57571 #endif
57572 /* We use char because int might match the return type of a gcc2
57573    builtin and then its argument prototype would still apply.  */
57574 char $ac_func ();
57575 /* The GNU C library defines this for functions which it implements
57576     to always fail with ENOSYS.  Some functions are actually named
57577     something starting with __ and the normal name is an alias.  */
57578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57579 choke me
57580 #else
57581 char (*f) () = $ac_func;
57582 #endif
57583 #ifdef __cplusplus
57584 }
57585 #endif
57586
57587 int
57588 main ()
57589 {
57590 return f != $ac_func;
57591   ;
57592   return 0;
57593 }
57594 _ACEOF
57595 rm -f conftest.$ac_objext conftest$ac_exeext
57596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57597   (eval $ac_link) 2>conftest.er1
57598   ac_status=$?
57599   grep -v '^ *+' conftest.er1 >conftest.err
57600   rm -f conftest.er1
57601   cat conftest.err >&5
57602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603   (exit $ac_status); } &&
57604          { ac_try='test -z "$ac_c_werror_flag"
57605                          || test ! -s conftest.err'
57606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57607   (eval $ac_try) 2>&5
57608   ac_status=$?
57609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610   (exit $ac_status); }; } &&
57611          { ac_try='test -s conftest$ac_exeext'
57612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613   (eval $ac_try) 2>&5
57614   ac_status=$?
57615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616   (exit $ac_status); }; }; then
57617   eval "$as_ac_var=yes"
57618 else
57619   echo "$as_me: failed program was:" >&5
57620 sed 's/^/| /' conftest.$ac_ext >&5
57621
57622 eval "$as_ac_var=no"
57623 fi
57624 rm -f conftest.err conftest.$ac_objext \
57625       conftest$ac_exeext conftest.$ac_ext
57626 fi
57627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57629 if test `eval echo '${'$as_ac_var'}'` = yes; then
57630   cat >>confdefs.h <<_ACEOF
57631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57632 _ACEOF
57633
57634 fi
57635 done
57636
57637     fi
57638   fi
57639
57640
57641
57642
57643
57644
57645   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57646 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57647   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57648     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57649   echo $ECHO_N "(cached) $ECHO_C" >&6
57650 else
57651
57652
57653
57654       ac_ext=cc
57655 ac_cpp='$CXXCPP $CPPFLAGS'
57656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57659
57660       cat >conftest.$ac_ext <<_ACEOF
57661 /* confdefs.h.  */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h.  */
57666 #include <math.h>
57667 int
57668 main ()
57669 {
57670  frexpl(0, 0);
57671   ;
57672   return 0;
57673 }
57674 _ACEOF
57675 rm -f conftest.$ac_objext
57676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57677   (eval $ac_compile) 2>conftest.er1
57678   ac_status=$?
57679   grep -v '^ *+' conftest.er1 >conftest.err
57680   rm -f conftest.er1
57681   cat conftest.err >&5
57682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57683   (exit $ac_status); } &&
57684          { ac_try='test -z "$ac_cxx_werror_flag"
57685                          || test ! -s conftest.err'
57686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57687   (eval $ac_try) 2>&5
57688   ac_status=$?
57689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57690   (exit $ac_status); }; } &&
57691          { ac_try='test -s conftest.$ac_objext'
57692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57693   (eval $ac_try) 2>&5
57694   ac_status=$?
57695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57696   (exit $ac_status); }; }; then
57697   glibcxx_cv_func_frexpl_use=yes
57698 else
57699   echo "$as_me: failed program was:" >&5
57700 sed 's/^/| /' conftest.$ac_ext >&5
57701
57702 glibcxx_cv_func_frexpl_use=no
57703 fi
57704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57705       ac_ext=c
57706 ac_cpp='$CPP $CPPFLAGS'
57707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57710
57711
57712 fi
57713
57714   fi
57715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57716 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57717
57718   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57719
57720 for ac_func in frexpl
57721 do
57722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57723 echo "$as_me:$LINENO: checking for $ac_func" >&5
57724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57725 if eval "test \"\${$as_ac_var+set}\" = set"; then
57726   echo $ECHO_N "(cached) $ECHO_C" >&6
57727 else
57728   if test x$gcc_no_link = xyes; then
57729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57731    { (exit 1); exit 1; }; }
57732 fi
57733 cat >conftest.$ac_ext <<_ACEOF
57734 /* confdefs.h.  */
57735 _ACEOF
57736 cat confdefs.h >>conftest.$ac_ext
57737 cat >>conftest.$ac_ext <<_ACEOF
57738 /* end confdefs.h.  */
57739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57741 #define $ac_func innocuous_$ac_func
57742
57743 /* System header to define __stub macros and hopefully few prototypes,
57744     which can conflict with char $ac_func (); below.
57745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57746     <limits.h> exists even on freestanding compilers.  */
57747
57748 #ifdef __STDC__
57749 # include <limits.h>
57750 #else
57751 # include <assert.h>
57752 #endif
57753
57754 #undef $ac_func
57755
57756 /* Override any gcc2 internal prototype to avoid an error.  */
57757 #ifdef __cplusplus
57758 extern "C"
57759 {
57760 #endif
57761 /* We use char because int might match the return type of a gcc2
57762    builtin and then its argument prototype would still apply.  */
57763 char $ac_func ();
57764 /* The GNU C library defines this for functions which it implements
57765     to always fail with ENOSYS.  Some functions are actually named
57766     something starting with __ and the normal name is an alias.  */
57767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57768 choke me
57769 #else
57770 char (*f) () = $ac_func;
57771 #endif
57772 #ifdef __cplusplus
57773 }
57774 #endif
57775
57776 int
57777 main ()
57778 {
57779 return f != $ac_func;
57780   ;
57781   return 0;
57782 }
57783 _ACEOF
57784 rm -f conftest.$ac_objext conftest$ac_exeext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57786   (eval $ac_link) 2>conftest.er1
57787   ac_status=$?
57788   grep -v '^ *+' conftest.er1 >conftest.err
57789   rm -f conftest.er1
57790   cat conftest.err >&5
57791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57792   (exit $ac_status); } &&
57793          { ac_try='test -z "$ac_c_werror_flag"
57794                          || test ! -s conftest.err'
57795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57796   (eval $ac_try) 2>&5
57797   ac_status=$?
57798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57799   (exit $ac_status); }; } &&
57800          { ac_try='test -s conftest$ac_exeext'
57801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57802   (eval $ac_try) 2>&5
57803   ac_status=$?
57804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805   (exit $ac_status); }; }; then
57806   eval "$as_ac_var=yes"
57807 else
57808   echo "$as_me: failed program was:" >&5
57809 sed 's/^/| /' conftest.$ac_ext >&5
57810
57811 eval "$as_ac_var=no"
57812 fi
57813 rm -f conftest.err conftest.$ac_objext \
57814       conftest$ac_exeext conftest.$ac_ext
57815 fi
57816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57818 if test `eval echo '${'$as_ac_var'}'` = yes; then
57819   cat >>confdefs.h <<_ACEOF
57820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57821 _ACEOF
57822
57823 fi
57824 done
57825
57826   else
57827
57828   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57829 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57830   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57831     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57832   echo $ECHO_N "(cached) $ECHO_C" >&6
57833 else
57834
57835
57836
57837       ac_ext=cc
57838 ac_cpp='$CXXCPP $CPPFLAGS'
57839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57842
57843       cat >conftest.$ac_ext <<_ACEOF
57844 /* confdefs.h.  */
57845 _ACEOF
57846 cat confdefs.h >>conftest.$ac_ext
57847 cat >>conftest.$ac_ext <<_ACEOF
57848 /* end confdefs.h.  */
57849 #include <math.h>
57850 int
57851 main ()
57852 {
57853  _frexpl(0, 0);
57854   ;
57855   return 0;
57856 }
57857 _ACEOF
57858 rm -f conftest.$ac_objext
57859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57860   (eval $ac_compile) 2>conftest.er1
57861   ac_status=$?
57862   grep -v '^ *+' conftest.er1 >conftest.err
57863   rm -f conftest.er1
57864   cat conftest.err >&5
57865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866   (exit $ac_status); } &&
57867          { ac_try='test -z "$ac_cxx_werror_flag"
57868                          || test ! -s conftest.err'
57869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57870   (eval $ac_try) 2>&5
57871   ac_status=$?
57872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57873   (exit $ac_status); }; } &&
57874          { ac_try='test -s conftest.$ac_objext'
57875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57876   (eval $ac_try) 2>&5
57877   ac_status=$?
57878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879   (exit $ac_status); }; }; then
57880   glibcxx_cv_func__frexpl_use=yes
57881 else
57882   echo "$as_me: failed program was:" >&5
57883 sed 's/^/| /' conftest.$ac_ext >&5
57884
57885 glibcxx_cv_func__frexpl_use=no
57886 fi
57887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57888       ac_ext=c
57889 ac_cpp='$CPP $CPPFLAGS'
57890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57893
57894
57895 fi
57896
57897   fi
57898   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57899 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57900
57901     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57902
57903 for ac_func in _frexpl
57904 do
57905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57906 echo "$as_me:$LINENO: checking for $ac_func" >&5
57907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57908 if eval "test \"\${$as_ac_var+set}\" = set"; then
57909   echo $ECHO_N "(cached) $ECHO_C" >&6
57910 else
57911   if test x$gcc_no_link = xyes; then
57912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57914    { (exit 1); exit 1; }; }
57915 fi
57916 cat >conftest.$ac_ext <<_ACEOF
57917 /* confdefs.h.  */
57918 _ACEOF
57919 cat confdefs.h >>conftest.$ac_ext
57920 cat >>conftest.$ac_ext <<_ACEOF
57921 /* end confdefs.h.  */
57922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57924 #define $ac_func innocuous_$ac_func
57925
57926 /* System header to define __stub macros and hopefully few prototypes,
57927     which can conflict with char $ac_func (); below.
57928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57929     <limits.h> exists even on freestanding compilers.  */
57930
57931 #ifdef __STDC__
57932 # include <limits.h>
57933 #else
57934 # include <assert.h>
57935 #endif
57936
57937 #undef $ac_func
57938
57939 /* Override any gcc2 internal prototype to avoid an error.  */
57940 #ifdef __cplusplus
57941 extern "C"
57942 {
57943 #endif
57944 /* We use char because int might match the return type of a gcc2
57945    builtin and then its argument prototype would still apply.  */
57946 char $ac_func ();
57947 /* The GNU C library defines this for functions which it implements
57948     to always fail with ENOSYS.  Some functions are actually named
57949     something starting with __ and the normal name is an alias.  */
57950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57951 choke me
57952 #else
57953 char (*f) () = $ac_func;
57954 #endif
57955 #ifdef __cplusplus
57956 }
57957 #endif
57958
57959 int
57960 main ()
57961 {
57962 return f != $ac_func;
57963   ;
57964   return 0;
57965 }
57966 _ACEOF
57967 rm -f conftest.$ac_objext conftest$ac_exeext
57968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57969   (eval $ac_link) 2>conftest.er1
57970   ac_status=$?
57971   grep -v '^ *+' conftest.er1 >conftest.err
57972   rm -f conftest.er1
57973   cat conftest.err >&5
57974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57975   (exit $ac_status); } &&
57976          { ac_try='test -z "$ac_c_werror_flag"
57977                          || test ! -s conftest.err'
57978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57979   (eval $ac_try) 2>&5
57980   ac_status=$?
57981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57982   (exit $ac_status); }; } &&
57983          { ac_try='test -s conftest$ac_exeext'
57984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57985   (eval $ac_try) 2>&5
57986   ac_status=$?
57987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57988   (exit $ac_status); }; }; then
57989   eval "$as_ac_var=yes"
57990 else
57991   echo "$as_me: failed program was:" >&5
57992 sed 's/^/| /' conftest.$ac_ext >&5
57993
57994 eval "$as_ac_var=no"
57995 fi
57996 rm -f conftest.err conftest.$ac_objext \
57997       conftest$ac_exeext conftest.$ac_ext
57998 fi
57999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58001 if test `eval echo '${'$as_ac_var'}'` = yes; then
58002   cat >>confdefs.h <<_ACEOF
58003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58004 _ACEOF
58005
58006 fi
58007 done
58008
58009     fi
58010   fi
58011
58012
58013
58014
58015
58016
58017   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
58018 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
58019   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58020     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
58021   echo $ECHO_N "(cached) $ECHO_C" >&6
58022 else
58023
58024
58025
58026       ac_ext=cc
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58031
58032       cat >conftest.$ac_ext <<_ACEOF
58033 /* confdefs.h.  */
58034 _ACEOF
58035 cat confdefs.h >>conftest.$ac_ext
58036 cat >>conftest.$ac_ext <<_ACEOF
58037 /* end confdefs.h.  */
58038 #include <math.h>
58039 int
58040 main ()
58041 {
58042  hypotl(0, 0);
58043   ;
58044   return 0;
58045 }
58046 _ACEOF
58047 rm -f conftest.$ac_objext
58048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58049   (eval $ac_compile) 2>conftest.er1
58050   ac_status=$?
58051   grep -v '^ *+' conftest.er1 >conftest.err
58052   rm -f conftest.er1
58053   cat conftest.err >&5
58054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58055   (exit $ac_status); } &&
58056          { ac_try='test -z "$ac_cxx_werror_flag"
58057                          || test ! -s conftest.err'
58058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58059   (eval $ac_try) 2>&5
58060   ac_status=$?
58061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58062   (exit $ac_status); }; } &&
58063          { ac_try='test -s conftest.$ac_objext'
58064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58065   (eval $ac_try) 2>&5
58066   ac_status=$?
58067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58068   (exit $ac_status); }; }; then
58069   glibcxx_cv_func_hypotl_use=yes
58070 else
58071   echo "$as_me: failed program was:" >&5
58072 sed 's/^/| /' conftest.$ac_ext >&5
58073
58074 glibcxx_cv_func_hypotl_use=no
58075 fi
58076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58077       ac_ext=c
58078 ac_cpp='$CPP $CPPFLAGS'
58079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58082
58083
58084 fi
58085
58086   fi
58087   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
58088 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
58089
58090   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58091
58092 for ac_func in hypotl
58093 do
58094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58095 echo "$as_me:$LINENO: checking for $ac_func" >&5
58096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58097 if eval "test \"\${$as_ac_var+set}\" = set"; then
58098   echo $ECHO_N "(cached) $ECHO_C" >&6
58099 else
58100   if test x$gcc_no_link = xyes; then
58101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58103    { (exit 1); exit 1; }; }
58104 fi
58105 cat >conftest.$ac_ext <<_ACEOF
58106 /* confdefs.h.  */
58107 _ACEOF
58108 cat confdefs.h >>conftest.$ac_ext
58109 cat >>conftest.$ac_ext <<_ACEOF
58110 /* end confdefs.h.  */
58111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58113 #define $ac_func innocuous_$ac_func
58114
58115 /* System header to define __stub macros and hopefully few prototypes,
58116     which can conflict with char $ac_func (); below.
58117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58118     <limits.h> exists even on freestanding compilers.  */
58119
58120 #ifdef __STDC__
58121 # include <limits.h>
58122 #else
58123 # include <assert.h>
58124 #endif
58125
58126 #undef $ac_func
58127
58128 /* Override any gcc2 internal prototype to avoid an error.  */
58129 #ifdef __cplusplus
58130 extern "C"
58131 {
58132 #endif
58133 /* We use char because int might match the return type of a gcc2
58134    builtin and then its argument prototype would still apply.  */
58135 char $ac_func ();
58136 /* The GNU C library defines this for functions which it implements
58137     to always fail with ENOSYS.  Some functions are actually named
58138     something starting with __ and the normal name is an alias.  */
58139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58140 choke me
58141 #else
58142 char (*f) () = $ac_func;
58143 #endif
58144 #ifdef __cplusplus
58145 }
58146 #endif
58147
58148 int
58149 main ()
58150 {
58151 return f != $ac_func;
58152   ;
58153   return 0;
58154 }
58155 _ACEOF
58156 rm -f conftest.$ac_objext conftest$ac_exeext
58157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58158   (eval $ac_link) 2>conftest.er1
58159   ac_status=$?
58160   grep -v '^ *+' conftest.er1 >conftest.err
58161   rm -f conftest.er1
58162   cat conftest.err >&5
58163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58164   (exit $ac_status); } &&
58165          { ac_try='test -z "$ac_c_werror_flag"
58166                          || test ! -s conftest.err'
58167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58168   (eval $ac_try) 2>&5
58169   ac_status=$?
58170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58171   (exit $ac_status); }; } &&
58172          { ac_try='test -s conftest$ac_exeext'
58173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58174   (eval $ac_try) 2>&5
58175   ac_status=$?
58176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58177   (exit $ac_status); }; }; then
58178   eval "$as_ac_var=yes"
58179 else
58180   echo "$as_me: failed program was:" >&5
58181 sed 's/^/| /' conftest.$ac_ext >&5
58182
58183 eval "$as_ac_var=no"
58184 fi
58185 rm -f conftest.err conftest.$ac_objext \
58186       conftest$ac_exeext conftest.$ac_ext
58187 fi
58188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58190 if test `eval echo '${'$as_ac_var'}'` = yes; then
58191   cat >>confdefs.h <<_ACEOF
58192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58193 _ACEOF
58194
58195 fi
58196 done
58197
58198   else
58199
58200   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58201 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58202   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58203     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58204   echo $ECHO_N "(cached) $ECHO_C" >&6
58205 else
58206
58207
58208
58209       ac_ext=cc
58210 ac_cpp='$CXXCPP $CPPFLAGS'
58211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58214
58215       cat >conftest.$ac_ext <<_ACEOF
58216 /* confdefs.h.  */
58217 _ACEOF
58218 cat confdefs.h >>conftest.$ac_ext
58219 cat >>conftest.$ac_ext <<_ACEOF
58220 /* end confdefs.h.  */
58221 #include <math.h>
58222 int
58223 main ()
58224 {
58225  _hypotl(0, 0);
58226   ;
58227   return 0;
58228 }
58229 _ACEOF
58230 rm -f conftest.$ac_objext
58231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58232   (eval $ac_compile) 2>conftest.er1
58233   ac_status=$?
58234   grep -v '^ *+' conftest.er1 >conftest.err
58235   rm -f conftest.er1
58236   cat conftest.err >&5
58237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238   (exit $ac_status); } &&
58239          { ac_try='test -z "$ac_cxx_werror_flag"
58240                          || test ! -s conftest.err'
58241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58242   (eval $ac_try) 2>&5
58243   ac_status=$?
58244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58245   (exit $ac_status); }; } &&
58246          { ac_try='test -s conftest.$ac_objext'
58247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58248   (eval $ac_try) 2>&5
58249   ac_status=$?
58250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58251   (exit $ac_status); }; }; then
58252   glibcxx_cv_func__hypotl_use=yes
58253 else
58254   echo "$as_me: failed program was:" >&5
58255 sed 's/^/| /' conftest.$ac_ext >&5
58256
58257 glibcxx_cv_func__hypotl_use=no
58258 fi
58259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58260       ac_ext=c
58261 ac_cpp='$CPP $CPPFLAGS'
58262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58265
58266
58267 fi
58268
58269   fi
58270   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58271 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58272
58273     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58274
58275 for ac_func in _hypotl
58276 do
58277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58278 echo "$as_me:$LINENO: checking for $ac_func" >&5
58279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58280 if eval "test \"\${$as_ac_var+set}\" = set"; then
58281   echo $ECHO_N "(cached) $ECHO_C" >&6
58282 else
58283   if test x$gcc_no_link = xyes; then
58284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58286    { (exit 1); exit 1; }; }
58287 fi
58288 cat >conftest.$ac_ext <<_ACEOF
58289 /* confdefs.h.  */
58290 _ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 cat >>conftest.$ac_ext <<_ACEOF
58293 /* end confdefs.h.  */
58294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58296 #define $ac_func innocuous_$ac_func
58297
58298 /* System header to define __stub macros and hopefully few prototypes,
58299     which can conflict with char $ac_func (); below.
58300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58301     <limits.h> exists even on freestanding compilers.  */
58302
58303 #ifdef __STDC__
58304 # include <limits.h>
58305 #else
58306 # include <assert.h>
58307 #endif
58308
58309 #undef $ac_func
58310
58311 /* Override any gcc2 internal prototype to avoid an error.  */
58312 #ifdef __cplusplus
58313 extern "C"
58314 {
58315 #endif
58316 /* We use char because int might match the return type of a gcc2
58317    builtin and then its argument prototype would still apply.  */
58318 char $ac_func ();
58319 /* The GNU C library defines this for functions which it implements
58320     to always fail with ENOSYS.  Some functions are actually named
58321     something starting with __ and the normal name is an alias.  */
58322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58323 choke me
58324 #else
58325 char (*f) () = $ac_func;
58326 #endif
58327 #ifdef __cplusplus
58328 }
58329 #endif
58330
58331 int
58332 main ()
58333 {
58334 return f != $ac_func;
58335   ;
58336   return 0;
58337 }
58338 _ACEOF
58339 rm -f conftest.$ac_objext conftest$ac_exeext
58340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58341   (eval $ac_link) 2>conftest.er1
58342   ac_status=$?
58343   grep -v '^ *+' conftest.er1 >conftest.err
58344   rm -f conftest.er1
58345   cat conftest.err >&5
58346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58347   (exit $ac_status); } &&
58348          { ac_try='test -z "$ac_c_werror_flag"
58349                          || test ! -s conftest.err'
58350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58351   (eval $ac_try) 2>&5
58352   ac_status=$?
58353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58354   (exit $ac_status); }; } &&
58355          { ac_try='test -s conftest$ac_exeext'
58356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58357   (eval $ac_try) 2>&5
58358   ac_status=$?
58359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58360   (exit $ac_status); }; }; then
58361   eval "$as_ac_var=yes"
58362 else
58363   echo "$as_me: failed program was:" >&5
58364 sed 's/^/| /' conftest.$ac_ext >&5
58365
58366 eval "$as_ac_var=no"
58367 fi
58368 rm -f conftest.err conftest.$ac_objext \
58369       conftest$ac_exeext conftest.$ac_ext
58370 fi
58371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58373 if test `eval echo '${'$as_ac_var'}'` = yes; then
58374   cat >>confdefs.h <<_ACEOF
58375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58376 _ACEOF
58377
58378 fi
58379 done
58380
58381     fi
58382   fi
58383
58384
58385
58386
58387
58388
58389   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58390 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58391   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58392     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58393   echo $ECHO_N "(cached) $ECHO_C" >&6
58394 else
58395
58396
58397
58398       ac_ext=cc
58399 ac_cpp='$CXXCPP $CPPFLAGS'
58400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58403
58404       cat >conftest.$ac_ext <<_ACEOF
58405 /* confdefs.h.  */
58406 _ACEOF
58407 cat confdefs.h >>conftest.$ac_ext
58408 cat >>conftest.$ac_ext <<_ACEOF
58409 /* end confdefs.h.  */
58410 #include <math.h>
58411 int
58412 main ()
58413 {
58414  ldexpl(0, 0);
58415   ;
58416   return 0;
58417 }
58418 _ACEOF
58419 rm -f conftest.$ac_objext
58420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58421   (eval $ac_compile) 2>conftest.er1
58422   ac_status=$?
58423   grep -v '^ *+' conftest.er1 >conftest.err
58424   rm -f conftest.er1
58425   cat conftest.err >&5
58426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58427   (exit $ac_status); } &&
58428          { ac_try='test -z "$ac_cxx_werror_flag"
58429                          || test ! -s conftest.err'
58430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58431   (eval $ac_try) 2>&5
58432   ac_status=$?
58433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58434   (exit $ac_status); }; } &&
58435          { ac_try='test -s conftest.$ac_objext'
58436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58437   (eval $ac_try) 2>&5
58438   ac_status=$?
58439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58440   (exit $ac_status); }; }; then
58441   glibcxx_cv_func_ldexpl_use=yes
58442 else
58443   echo "$as_me: failed program was:" >&5
58444 sed 's/^/| /' conftest.$ac_ext >&5
58445
58446 glibcxx_cv_func_ldexpl_use=no
58447 fi
58448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58449       ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58454
58455
58456 fi
58457
58458   fi
58459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58460 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58461
58462   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58463
58464 for ac_func in ldexpl
58465 do
58466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58467 echo "$as_me:$LINENO: checking for $ac_func" >&5
58468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58469 if eval "test \"\${$as_ac_var+set}\" = set"; then
58470   echo $ECHO_N "(cached) $ECHO_C" >&6
58471 else
58472   if test x$gcc_no_link = xyes; then
58473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58475    { (exit 1); exit 1; }; }
58476 fi
58477 cat >conftest.$ac_ext <<_ACEOF
58478 /* confdefs.h.  */
58479 _ACEOF
58480 cat confdefs.h >>conftest.$ac_ext
58481 cat >>conftest.$ac_ext <<_ACEOF
58482 /* end confdefs.h.  */
58483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58485 #define $ac_func innocuous_$ac_func
58486
58487 /* System header to define __stub macros and hopefully few prototypes,
58488     which can conflict with char $ac_func (); below.
58489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58490     <limits.h> exists even on freestanding compilers.  */
58491
58492 #ifdef __STDC__
58493 # include <limits.h>
58494 #else
58495 # include <assert.h>
58496 #endif
58497
58498 #undef $ac_func
58499
58500 /* Override any gcc2 internal prototype to avoid an error.  */
58501 #ifdef __cplusplus
58502 extern "C"
58503 {
58504 #endif
58505 /* We use char because int might match the return type of a gcc2
58506    builtin and then its argument prototype would still apply.  */
58507 char $ac_func ();
58508 /* The GNU C library defines this for functions which it implements
58509     to always fail with ENOSYS.  Some functions are actually named
58510     something starting with __ and the normal name is an alias.  */
58511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58512 choke me
58513 #else
58514 char (*f) () = $ac_func;
58515 #endif
58516 #ifdef __cplusplus
58517 }
58518 #endif
58519
58520 int
58521 main ()
58522 {
58523 return f != $ac_func;
58524   ;
58525   return 0;
58526 }
58527 _ACEOF
58528 rm -f conftest.$ac_objext conftest$ac_exeext
58529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58530   (eval $ac_link) 2>conftest.er1
58531   ac_status=$?
58532   grep -v '^ *+' conftest.er1 >conftest.err
58533   rm -f conftest.er1
58534   cat conftest.err >&5
58535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58536   (exit $ac_status); } &&
58537          { ac_try='test -z "$ac_c_werror_flag"
58538                          || test ! -s conftest.err'
58539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58540   (eval $ac_try) 2>&5
58541   ac_status=$?
58542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543   (exit $ac_status); }; } &&
58544          { ac_try='test -s conftest$ac_exeext'
58545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58546   (eval $ac_try) 2>&5
58547   ac_status=$?
58548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58549   (exit $ac_status); }; }; then
58550   eval "$as_ac_var=yes"
58551 else
58552   echo "$as_me: failed program was:" >&5
58553 sed 's/^/| /' conftest.$ac_ext >&5
58554
58555 eval "$as_ac_var=no"
58556 fi
58557 rm -f conftest.err conftest.$ac_objext \
58558       conftest$ac_exeext conftest.$ac_ext
58559 fi
58560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58562 if test `eval echo '${'$as_ac_var'}'` = yes; then
58563   cat >>confdefs.h <<_ACEOF
58564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58565 _ACEOF
58566
58567 fi
58568 done
58569
58570   else
58571
58572   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58573 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58574   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58575     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58576   echo $ECHO_N "(cached) $ECHO_C" >&6
58577 else
58578
58579
58580
58581       ac_ext=cc
58582 ac_cpp='$CXXCPP $CPPFLAGS'
58583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58586
58587       cat >conftest.$ac_ext <<_ACEOF
58588 /* confdefs.h.  */
58589 _ACEOF
58590 cat confdefs.h >>conftest.$ac_ext
58591 cat >>conftest.$ac_ext <<_ACEOF
58592 /* end confdefs.h.  */
58593 #include <math.h>
58594 int
58595 main ()
58596 {
58597  _ldexpl(0, 0);
58598   ;
58599   return 0;
58600 }
58601 _ACEOF
58602 rm -f conftest.$ac_objext
58603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58604   (eval $ac_compile) 2>conftest.er1
58605   ac_status=$?
58606   grep -v '^ *+' conftest.er1 >conftest.err
58607   rm -f conftest.er1
58608   cat conftest.err >&5
58609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610   (exit $ac_status); } &&
58611          { ac_try='test -z "$ac_cxx_werror_flag"
58612                          || test ! -s conftest.err'
58613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58614   (eval $ac_try) 2>&5
58615   ac_status=$?
58616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58617   (exit $ac_status); }; } &&
58618          { ac_try='test -s conftest.$ac_objext'
58619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58620   (eval $ac_try) 2>&5
58621   ac_status=$?
58622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58623   (exit $ac_status); }; }; then
58624   glibcxx_cv_func__ldexpl_use=yes
58625 else
58626   echo "$as_me: failed program was:" >&5
58627 sed 's/^/| /' conftest.$ac_ext >&5
58628
58629 glibcxx_cv_func__ldexpl_use=no
58630 fi
58631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58632       ac_ext=c
58633 ac_cpp='$CPP $CPPFLAGS'
58634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58637
58638
58639 fi
58640
58641   fi
58642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58643 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58644
58645     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58646
58647 for ac_func in _ldexpl
58648 do
58649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58650 echo "$as_me:$LINENO: checking for $ac_func" >&5
58651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58652 if eval "test \"\${$as_ac_var+set}\" = set"; then
58653   echo $ECHO_N "(cached) $ECHO_C" >&6
58654 else
58655   if test x$gcc_no_link = xyes; then
58656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58658    { (exit 1); exit 1; }; }
58659 fi
58660 cat >conftest.$ac_ext <<_ACEOF
58661 /* confdefs.h.  */
58662 _ACEOF
58663 cat confdefs.h >>conftest.$ac_ext
58664 cat >>conftest.$ac_ext <<_ACEOF
58665 /* end confdefs.h.  */
58666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58668 #define $ac_func innocuous_$ac_func
58669
58670 /* System header to define __stub macros and hopefully few prototypes,
58671     which can conflict with char $ac_func (); below.
58672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58673     <limits.h> exists even on freestanding compilers.  */
58674
58675 #ifdef __STDC__
58676 # include <limits.h>
58677 #else
58678 # include <assert.h>
58679 #endif
58680
58681 #undef $ac_func
58682
58683 /* Override any gcc2 internal prototype to avoid an error.  */
58684 #ifdef __cplusplus
58685 extern "C"
58686 {
58687 #endif
58688 /* We use char because int might match the return type of a gcc2
58689    builtin and then its argument prototype would still apply.  */
58690 char $ac_func ();
58691 /* The GNU C library defines this for functions which it implements
58692     to always fail with ENOSYS.  Some functions are actually named
58693     something starting with __ and the normal name is an alias.  */
58694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58695 choke me
58696 #else
58697 char (*f) () = $ac_func;
58698 #endif
58699 #ifdef __cplusplus
58700 }
58701 #endif
58702
58703 int
58704 main ()
58705 {
58706 return f != $ac_func;
58707   ;
58708   return 0;
58709 }
58710 _ACEOF
58711 rm -f conftest.$ac_objext conftest$ac_exeext
58712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58713   (eval $ac_link) 2>conftest.er1
58714   ac_status=$?
58715   grep -v '^ *+' conftest.er1 >conftest.err
58716   rm -f conftest.er1
58717   cat conftest.err >&5
58718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58719   (exit $ac_status); } &&
58720          { ac_try='test -z "$ac_c_werror_flag"
58721                          || test ! -s conftest.err'
58722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58723   (eval $ac_try) 2>&5
58724   ac_status=$?
58725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58726   (exit $ac_status); }; } &&
58727          { ac_try='test -s conftest$ac_exeext'
58728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58729   (eval $ac_try) 2>&5
58730   ac_status=$?
58731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58732   (exit $ac_status); }; }; then
58733   eval "$as_ac_var=yes"
58734 else
58735   echo "$as_me: failed program was:" >&5
58736 sed 's/^/| /' conftest.$ac_ext >&5
58737
58738 eval "$as_ac_var=no"
58739 fi
58740 rm -f conftest.err conftest.$ac_objext \
58741       conftest$ac_exeext conftest.$ac_ext
58742 fi
58743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58745 if test `eval echo '${'$as_ac_var'}'` = yes; then
58746   cat >>confdefs.h <<_ACEOF
58747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58748 _ACEOF
58749
58750 fi
58751 done
58752
58753     fi
58754   fi
58755
58756
58757
58758
58759
58760
58761   echo "$as_me:$LINENO: checking for logl declaration" >&5
58762 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58763   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58764     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58765   echo $ECHO_N "(cached) $ECHO_C" >&6
58766 else
58767
58768
58769
58770       ac_ext=cc
58771 ac_cpp='$CXXCPP $CPPFLAGS'
58772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58775
58776       cat >conftest.$ac_ext <<_ACEOF
58777 /* confdefs.h.  */
58778 _ACEOF
58779 cat confdefs.h >>conftest.$ac_ext
58780 cat >>conftest.$ac_ext <<_ACEOF
58781 /* end confdefs.h.  */
58782 #include <math.h>
58783                       #ifdef HAVE_IEEEFP_H
58784                       #include <ieeefp.h>
58785                       #endif
58786
58787 int
58788 main ()
58789 {
58790  logl(0);
58791   ;
58792   return 0;
58793 }
58794 _ACEOF
58795 rm -f conftest.$ac_objext
58796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58797   (eval $ac_compile) 2>conftest.er1
58798   ac_status=$?
58799   grep -v '^ *+' conftest.er1 >conftest.err
58800   rm -f conftest.er1
58801   cat conftest.err >&5
58802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803   (exit $ac_status); } &&
58804          { ac_try='test -z "$ac_cxx_werror_flag"
58805                          || test ! -s conftest.err'
58806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58807   (eval $ac_try) 2>&5
58808   ac_status=$?
58809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58810   (exit $ac_status); }; } &&
58811          { ac_try='test -s conftest.$ac_objext'
58812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58813   (eval $ac_try) 2>&5
58814   ac_status=$?
58815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58816   (exit $ac_status); }; }; then
58817   glibcxx_cv_func_logl_use=yes
58818 else
58819   echo "$as_me: failed program was:" >&5
58820 sed 's/^/| /' conftest.$ac_ext >&5
58821
58822 glibcxx_cv_func_logl_use=no
58823 fi
58824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58825       ac_ext=c
58826 ac_cpp='$CPP $CPPFLAGS'
58827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58830
58831
58832 fi
58833
58834   fi
58835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58836 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58837
58838   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58839
58840 for ac_func in logl
58841 do
58842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58843 echo "$as_me:$LINENO: checking for $ac_func" >&5
58844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58845 if eval "test \"\${$as_ac_var+set}\" = set"; then
58846   echo $ECHO_N "(cached) $ECHO_C" >&6
58847 else
58848   if test x$gcc_no_link = xyes; then
58849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58851    { (exit 1); exit 1; }; }
58852 fi
58853 cat >conftest.$ac_ext <<_ACEOF
58854 /* confdefs.h.  */
58855 _ACEOF
58856 cat confdefs.h >>conftest.$ac_ext
58857 cat >>conftest.$ac_ext <<_ACEOF
58858 /* end confdefs.h.  */
58859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58861 #define $ac_func innocuous_$ac_func
58862
58863 /* System header to define __stub macros and hopefully few prototypes,
58864     which can conflict with char $ac_func (); below.
58865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58866     <limits.h> exists even on freestanding compilers.  */
58867
58868 #ifdef __STDC__
58869 # include <limits.h>
58870 #else
58871 # include <assert.h>
58872 #endif
58873
58874 #undef $ac_func
58875
58876 /* Override any gcc2 internal prototype to avoid an error.  */
58877 #ifdef __cplusplus
58878 extern "C"
58879 {
58880 #endif
58881 /* We use char because int might match the return type of a gcc2
58882    builtin and then its argument prototype would still apply.  */
58883 char $ac_func ();
58884 /* The GNU C library defines this for functions which it implements
58885     to always fail with ENOSYS.  Some functions are actually named
58886     something starting with __ and the normal name is an alias.  */
58887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58888 choke me
58889 #else
58890 char (*f) () = $ac_func;
58891 #endif
58892 #ifdef __cplusplus
58893 }
58894 #endif
58895
58896 int
58897 main ()
58898 {
58899 return f != $ac_func;
58900   ;
58901   return 0;
58902 }
58903 _ACEOF
58904 rm -f conftest.$ac_objext conftest$ac_exeext
58905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58906   (eval $ac_link) 2>conftest.er1
58907   ac_status=$?
58908   grep -v '^ *+' conftest.er1 >conftest.err
58909   rm -f conftest.er1
58910   cat conftest.err >&5
58911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58912   (exit $ac_status); } &&
58913          { ac_try='test -z "$ac_c_werror_flag"
58914                          || test ! -s conftest.err'
58915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58916   (eval $ac_try) 2>&5
58917   ac_status=$?
58918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58919   (exit $ac_status); }; } &&
58920          { ac_try='test -s conftest$ac_exeext'
58921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58922   (eval $ac_try) 2>&5
58923   ac_status=$?
58924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58925   (exit $ac_status); }; }; then
58926   eval "$as_ac_var=yes"
58927 else
58928   echo "$as_me: failed program was:" >&5
58929 sed 's/^/| /' conftest.$ac_ext >&5
58930
58931 eval "$as_ac_var=no"
58932 fi
58933 rm -f conftest.err conftest.$ac_objext \
58934       conftest$ac_exeext conftest.$ac_ext
58935 fi
58936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58938 if test `eval echo '${'$as_ac_var'}'` = yes; then
58939   cat >>confdefs.h <<_ACEOF
58940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58941 _ACEOF
58942
58943 fi
58944 done
58945
58946   else
58947
58948   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58949 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58950   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58951     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58952   echo $ECHO_N "(cached) $ECHO_C" >&6
58953 else
58954
58955
58956
58957       ac_ext=cc
58958 ac_cpp='$CXXCPP $CPPFLAGS'
58959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58962
58963       cat >conftest.$ac_ext <<_ACEOF
58964 /* confdefs.h.  */
58965 _ACEOF
58966 cat confdefs.h >>conftest.$ac_ext
58967 cat >>conftest.$ac_ext <<_ACEOF
58968 /* end confdefs.h.  */
58969 #include <math.h>
58970                       #ifdef HAVE_IEEEFP_H
58971                       #include <ieeefp.h>
58972                       #endif
58973
58974 int
58975 main ()
58976 {
58977  _logl(0);
58978   ;
58979   return 0;
58980 }
58981 _ACEOF
58982 rm -f conftest.$ac_objext
58983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58984   (eval $ac_compile) 2>conftest.er1
58985   ac_status=$?
58986   grep -v '^ *+' conftest.er1 >conftest.err
58987   rm -f conftest.er1
58988   cat conftest.err >&5
58989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58990   (exit $ac_status); } &&
58991          { ac_try='test -z "$ac_cxx_werror_flag"
58992                          || test ! -s conftest.err'
58993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58994   (eval $ac_try) 2>&5
58995   ac_status=$?
58996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58997   (exit $ac_status); }; } &&
58998          { ac_try='test -s conftest.$ac_objext'
58999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59000   (eval $ac_try) 2>&5
59001   ac_status=$?
59002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59003   (exit $ac_status); }; }; then
59004   glibcxx_cv_func__logl_use=yes
59005 else
59006   echo "$as_me: failed program was:" >&5
59007 sed 's/^/| /' conftest.$ac_ext >&5
59008
59009 glibcxx_cv_func__logl_use=no
59010 fi
59011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59012       ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59017
59018
59019 fi
59020
59021   fi
59022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
59023 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
59024
59025     if test x$glibcxx_cv_func__logl_use = x"yes"; then
59026
59027 for ac_func in _logl
59028 do
59029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59030 echo "$as_me:$LINENO: checking for $ac_func" >&5
59031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59032 if eval "test \"\${$as_ac_var+set}\" = set"; then
59033   echo $ECHO_N "(cached) $ECHO_C" >&6
59034 else
59035   if test x$gcc_no_link = xyes; then
59036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59038    { (exit 1); exit 1; }; }
59039 fi
59040 cat >conftest.$ac_ext <<_ACEOF
59041 /* confdefs.h.  */
59042 _ACEOF
59043 cat confdefs.h >>conftest.$ac_ext
59044 cat >>conftest.$ac_ext <<_ACEOF
59045 /* end confdefs.h.  */
59046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59048 #define $ac_func innocuous_$ac_func
59049
59050 /* System header to define __stub macros and hopefully few prototypes,
59051     which can conflict with char $ac_func (); below.
59052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59053     <limits.h> exists even on freestanding compilers.  */
59054
59055 #ifdef __STDC__
59056 # include <limits.h>
59057 #else
59058 # include <assert.h>
59059 #endif
59060
59061 #undef $ac_func
59062
59063 /* Override any gcc2 internal prototype to avoid an error.  */
59064 #ifdef __cplusplus
59065 extern "C"
59066 {
59067 #endif
59068 /* We use char because int might match the return type of a gcc2
59069    builtin and then its argument prototype would still apply.  */
59070 char $ac_func ();
59071 /* The GNU C library defines this for functions which it implements
59072     to always fail with ENOSYS.  Some functions are actually named
59073     something starting with __ and the normal name is an alias.  */
59074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59075 choke me
59076 #else
59077 char (*f) () = $ac_func;
59078 #endif
59079 #ifdef __cplusplus
59080 }
59081 #endif
59082
59083 int
59084 main ()
59085 {
59086 return f != $ac_func;
59087   ;
59088   return 0;
59089 }
59090 _ACEOF
59091 rm -f conftest.$ac_objext conftest$ac_exeext
59092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59093   (eval $ac_link) 2>conftest.er1
59094   ac_status=$?
59095   grep -v '^ *+' conftest.er1 >conftest.err
59096   rm -f conftest.er1
59097   cat conftest.err >&5
59098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59099   (exit $ac_status); } &&
59100          { ac_try='test -z "$ac_c_werror_flag"
59101                          || test ! -s conftest.err'
59102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59103   (eval $ac_try) 2>&5
59104   ac_status=$?
59105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59106   (exit $ac_status); }; } &&
59107          { ac_try='test -s conftest$ac_exeext'
59108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59109   (eval $ac_try) 2>&5
59110   ac_status=$?
59111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59112   (exit $ac_status); }; }; then
59113   eval "$as_ac_var=yes"
59114 else
59115   echo "$as_me: failed program was:" >&5
59116 sed 's/^/| /' conftest.$ac_ext >&5
59117
59118 eval "$as_ac_var=no"
59119 fi
59120 rm -f conftest.err conftest.$ac_objext \
59121       conftest$ac_exeext conftest.$ac_ext
59122 fi
59123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59125 if test `eval echo '${'$as_ac_var'}'` = yes; then
59126   cat >>confdefs.h <<_ACEOF
59127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59128 _ACEOF
59129
59130 fi
59131 done
59132
59133     fi
59134   fi
59135
59136
59137
59138
59139
59140
59141   echo "$as_me:$LINENO: checking for log10l declaration" >&5
59142 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
59143   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59144     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
59145   echo $ECHO_N "(cached) $ECHO_C" >&6
59146 else
59147
59148
59149
59150       ac_ext=cc
59151 ac_cpp='$CXXCPP $CPPFLAGS'
59152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59155
59156       cat >conftest.$ac_ext <<_ACEOF
59157 /* confdefs.h.  */
59158 _ACEOF
59159 cat confdefs.h >>conftest.$ac_ext
59160 cat >>conftest.$ac_ext <<_ACEOF
59161 /* end confdefs.h.  */
59162 #include <math.h>
59163                       #ifdef HAVE_IEEEFP_H
59164                       #include <ieeefp.h>
59165                       #endif
59166
59167 int
59168 main ()
59169 {
59170  log10l(0);
59171   ;
59172   return 0;
59173 }
59174 _ACEOF
59175 rm -f conftest.$ac_objext
59176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59177   (eval $ac_compile) 2>conftest.er1
59178   ac_status=$?
59179   grep -v '^ *+' conftest.er1 >conftest.err
59180   rm -f conftest.er1
59181   cat conftest.err >&5
59182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59183   (exit $ac_status); } &&
59184          { ac_try='test -z "$ac_cxx_werror_flag"
59185                          || test ! -s conftest.err'
59186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59187   (eval $ac_try) 2>&5
59188   ac_status=$?
59189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59190   (exit $ac_status); }; } &&
59191          { ac_try='test -s conftest.$ac_objext'
59192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59193   (eval $ac_try) 2>&5
59194   ac_status=$?
59195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196   (exit $ac_status); }; }; then
59197   glibcxx_cv_func_log10l_use=yes
59198 else
59199   echo "$as_me: failed program was:" >&5
59200 sed 's/^/| /' conftest.$ac_ext >&5
59201
59202 glibcxx_cv_func_log10l_use=no
59203 fi
59204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59205       ac_ext=c
59206 ac_cpp='$CPP $CPPFLAGS'
59207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210
59211
59212 fi
59213
59214   fi
59215   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
59216 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
59217
59218   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59219
59220 for ac_func in log10l
59221 do
59222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59223 echo "$as_me:$LINENO: checking for $ac_func" >&5
59224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59225 if eval "test \"\${$as_ac_var+set}\" = set"; then
59226   echo $ECHO_N "(cached) $ECHO_C" >&6
59227 else
59228   if test x$gcc_no_link = xyes; then
59229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59231    { (exit 1); exit 1; }; }
59232 fi
59233 cat >conftest.$ac_ext <<_ACEOF
59234 /* confdefs.h.  */
59235 _ACEOF
59236 cat confdefs.h >>conftest.$ac_ext
59237 cat >>conftest.$ac_ext <<_ACEOF
59238 /* end confdefs.h.  */
59239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59241 #define $ac_func innocuous_$ac_func
59242
59243 /* System header to define __stub macros and hopefully few prototypes,
59244     which can conflict with char $ac_func (); below.
59245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59246     <limits.h> exists even on freestanding compilers.  */
59247
59248 #ifdef __STDC__
59249 # include <limits.h>
59250 #else
59251 # include <assert.h>
59252 #endif
59253
59254 #undef $ac_func
59255
59256 /* Override any gcc2 internal prototype to avoid an error.  */
59257 #ifdef __cplusplus
59258 extern "C"
59259 {
59260 #endif
59261 /* We use char because int might match the return type of a gcc2
59262    builtin and then its argument prototype would still apply.  */
59263 char $ac_func ();
59264 /* The GNU C library defines this for functions which it implements
59265     to always fail with ENOSYS.  Some functions are actually named
59266     something starting with __ and the normal name is an alias.  */
59267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59268 choke me
59269 #else
59270 char (*f) () = $ac_func;
59271 #endif
59272 #ifdef __cplusplus
59273 }
59274 #endif
59275
59276 int
59277 main ()
59278 {
59279 return f != $ac_func;
59280   ;
59281   return 0;
59282 }
59283 _ACEOF
59284 rm -f conftest.$ac_objext conftest$ac_exeext
59285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59286   (eval $ac_link) 2>conftest.er1
59287   ac_status=$?
59288   grep -v '^ *+' conftest.er1 >conftest.err
59289   rm -f conftest.er1
59290   cat conftest.err >&5
59291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59292   (exit $ac_status); } &&
59293          { ac_try='test -z "$ac_c_werror_flag"
59294                          || test ! -s conftest.err'
59295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59296   (eval $ac_try) 2>&5
59297   ac_status=$?
59298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299   (exit $ac_status); }; } &&
59300          { ac_try='test -s conftest$ac_exeext'
59301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59302   (eval $ac_try) 2>&5
59303   ac_status=$?
59304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305   (exit $ac_status); }; }; then
59306   eval "$as_ac_var=yes"
59307 else
59308   echo "$as_me: failed program was:" >&5
59309 sed 's/^/| /' conftest.$ac_ext >&5
59310
59311 eval "$as_ac_var=no"
59312 fi
59313 rm -f conftest.err conftest.$ac_objext \
59314       conftest$ac_exeext conftest.$ac_ext
59315 fi
59316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59318 if test `eval echo '${'$as_ac_var'}'` = yes; then
59319   cat >>confdefs.h <<_ACEOF
59320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59321 _ACEOF
59322
59323 fi
59324 done
59325
59326   else
59327
59328   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59329 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59330   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59331     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59332   echo $ECHO_N "(cached) $ECHO_C" >&6
59333 else
59334
59335
59336
59337       ac_ext=cc
59338 ac_cpp='$CXXCPP $CPPFLAGS'
59339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59342
59343       cat >conftest.$ac_ext <<_ACEOF
59344 /* confdefs.h.  */
59345 _ACEOF
59346 cat confdefs.h >>conftest.$ac_ext
59347 cat >>conftest.$ac_ext <<_ACEOF
59348 /* end confdefs.h.  */
59349 #include <math.h>
59350                       #ifdef HAVE_IEEEFP_H
59351                       #include <ieeefp.h>
59352                       #endif
59353
59354 int
59355 main ()
59356 {
59357  _log10l(0);
59358   ;
59359   return 0;
59360 }
59361 _ACEOF
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364   (eval $ac_compile) 2>conftest.er1
59365   ac_status=$?
59366   grep -v '^ *+' conftest.er1 >conftest.err
59367   rm -f conftest.er1
59368   cat conftest.err >&5
59369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59370   (exit $ac_status); } &&
59371          { ac_try='test -z "$ac_cxx_werror_flag"
59372                          || test ! -s conftest.err'
59373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59374   (eval $ac_try) 2>&5
59375   ac_status=$?
59376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377   (exit $ac_status); }; } &&
59378          { ac_try='test -s conftest.$ac_objext'
59379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59380   (eval $ac_try) 2>&5
59381   ac_status=$?
59382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59383   (exit $ac_status); }; }; then
59384   glibcxx_cv_func__log10l_use=yes
59385 else
59386   echo "$as_me: failed program was:" >&5
59387 sed 's/^/| /' conftest.$ac_ext >&5
59388
59389 glibcxx_cv_func__log10l_use=no
59390 fi
59391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59392       ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399 fi
59400
59401   fi
59402   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59403 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59404
59405     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59406
59407 for ac_func in _log10l
59408 do
59409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59410 echo "$as_me:$LINENO: checking for $ac_func" >&5
59411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59412 if eval "test \"\${$as_ac_var+set}\" = set"; then
59413   echo $ECHO_N "(cached) $ECHO_C" >&6
59414 else
59415   if test x$gcc_no_link = xyes; then
59416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59418    { (exit 1); exit 1; }; }
59419 fi
59420 cat >conftest.$ac_ext <<_ACEOF
59421 /* confdefs.h.  */
59422 _ACEOF
59423 cat confdefs.h >>conftest.$ac_ext
59424 cat >>conftest.$ac_ext <<_ACEOF
59425 /* end confdefs.h.  */
59426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59427    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59428 #define $ac_func innocuous_$ac_func
59429
59430 /* System header to define __stub macros and hopefully few prototypes,
59431     which can conflict with char $ac_func (); below.
59432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59433     <limits.h> exists even on freestanding compilers.  */
59434
59435 #ifdef __STDC__
59436 # include <limits.h>
59437 #else
59438 # include <assert.h>
59439 #endif
59440
59441 #undef $ac_func
59442
59443 /* Override any gcc2 internal prototype to avoid an error.  */
59444 #ifdef __cplusplus
59445 extern "C"
59446 {
59447 #endif
59448 /* We use char because int might match the return type of a gcc2
59449    builtin and then its argument prototype would still apply.  */
59450 char $ac_func ();
59451 /* The GNU C library defines this for functions which it implements
59452     to always fail with ENOSYS.  Some functions are actually named
59453     something starting with __ and the normal name is an alias.  */
59454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59455 choke me
59456 #else
59457 char (*f) () = $ac_func;
59458 #endif
59459 #ifdef __cplusplus
59460 }
59461 #endif
59462
59463 int
59464 main ()
59465 {
59466 return f != $ac_func;
59467   ;
59468   return 0;
59469 }
59470 _ACEOF
59471 rm -f conftest.$ac_objext conftest$ac_exeext
59472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59473   (eval $ac_link) 2>conftest.er1
59474   ac_status=$?
59475   grep -v '^ *+' conftest.er1 >conftest.err
59476   rm -f conftest.er1
59477   cat conftest.err >&5
59478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59479   (exit $ac_status); } &&
59480          { ac_try='test -z "$ac_c_werror_flag"
59481                          || test ! -s conftest.err'
59482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59483   (eval $ac_try) 2>&5
59484   ac_status=$?
59485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486   (exit $ac_status); }; } &&
59487          { ac_try='test -s conftest$ac_exeext'
59488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59489   (eval $ac_try) 2>&5
59490   ac_status=$?
59491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59492   (exit $ac_status); }; }; then
59493   eval "$as_ac_var=yes"
59494 else
59495   echo "$as_me: failed program was:" >&5
59496 sed 's/^/| /' conftest.$ac_ext >&5
59497
59498 eval "$as_ac_var=no"
59499 fi
59500 rm -f conftest.err conftest.$ac_objext \
59501       conftest$ac_exeext conftest.$ac_ext
59502 fi
59503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59505 if test `eval echo '${'$as_ac_var'}'` = yes; then
59506   cat >>confdefs.h <<_ACEOF
59507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59508 _ACEOF
59509
59510 fi
59511 done
59512
59513     fi
59514   fi
59515
59516
59517
59518
59519
59520
59521   echo "$as_me:$LINENO: checking for modfl declaration" >&5
59522 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59523   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59524     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59525   echo $ECHO_N "(cached) $ECHO_C" >&6
59526 else
59527
59528
59529
59530       ac_ext=cc
59531 ac_cpp='$CXXCPP $CPPFLAGS'
59532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59535
59536       cat >conftest.$ac_ext <<_ACEOF
59537 /* confdefs.h.  */
59538 _ACEOF
59539 cat confdefs.h >>conftest.$ac_ext
59540 cat >>conftest.$ac_ext <<_ACEOF
59541 /* end confdefs.h.  */
59542 #include <math.h>
59543 int
59544 main ()
59545 {
59546  modfl(0, 0);
59547   ;
59548   return 0;
59549 }
59550 _ACEOF
59551 rm -f conftest.$ac_objext
59552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59553   (eval $ac_compile) 2>conftest.er1
59554   ac_status=$?
59555   grep -v '^ *+' conftest.er1 >conftest.err
59556   rm -f conftest.er1
59557   cat conftest.err >&5
59558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59559   (exit $ac_status); } &&
59560          { ac_try='test -z "$ac_cxx_werror_flag"
59561                          || test ! -s conftest.err'
59562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59563   (eval $ac_try) 2>&5
59564   ac_status=$?
59565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59566   (exit $ac_status); }; } &&
59567          { ac_try='test -s conftest.$ac_objext'
59568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59569   (eval $ac_try) 2>&5
59570   ac_status=$?
59571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59572   (exit $ac_status); }; }; then
59573   glibcxx_cv_func_modfl_use=yes
59574 else
59575   echo "$as_me: failed program was:" >&5
59576 sed 's/^/| /' conftest.$ac_ext >&5
59577
59578 glibcxx_cv_func_modfl_use=no
59579 fi
59580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59581       ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59586
59587
59588 fi
59589
59590   fi
59591   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59592 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59593
59594   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59595
59596 for ac_func in modfl
59597 do
59598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59599 echo "$as_me:$LINENO: checking for $ac_func" >&5
59600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59601 if eval "test \"\${$as_ac_var+set}\" = set"; then
59602   echo $ECHO_N "(cached) $ECHO_C" >&6
59603 else
59604   if test x$gcc_no_link = xyes; then
59605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59607    { (exit 1); exit 1; }; }
59608 fi
59609 cat >conftest.$ac_ext <<_ACEOF
59610 /* confdefs.h.  */
59611 _ACEOF
59612 cat confdefs.h >>conftest.$ac_ext
59613 cat >>conftest.$ac_ext <<_ACEOF
59614 /* end confdefs.h.  */
59615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59617 #define $ac_func innocuous_$ac_func
59618
59619 /* System header to define __stub macros and hopefully few prototypes,
59620     which can conflict with char $ac_func (); below.
59621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59622     <limits.h> exists even on freestanding compilers.  */
59623
59624 #ifdef __STDC__
59625 # include <limits.h>
59626 #else
59627 # include <assert.h>
59628 #endif
59629
59630 #undef $ac_func
59631
59632 /* Override any gcc2 internal prototype to avoid an error.  */
59633 #ifdef __cplusplus
59634 extern "C"
59635 {
59636 #endif
59637 /* We use char because int might match the return type of a gcc2
59638    builtin and then its argument prototype would still apply.  */
59639 char $ac_func ();
59640 /* The GNU C library defines this for functions which it implements
59641     to always fail with ENOSYS.  Some functions are actually named
59642     something starting with __ and the normal name is an alias.  */
59643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59644 choke me
59645 #else
59646 char (*f) () = $ac_func;
59647 #endif
59648 #ifdef __cplusplus
59649 }
59650 #endif
59651
59652 int
59653 main ()
59654 {
59655 return f != $ac_func;
59656   ;
59657   return 0;
59658 }
59659 _ACEOF
59660 rm -f conftest.$ac_objext conftest$ac_exeext
59661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59662   (eval $ac_link) 2>conftest.er1
59663   ac_status=$?
59664   grep -v '^ *+' conftest.er1 >conftest.err
59665   rm -f conftest.er1
59666   cat conftest.err >&5
59667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59668   (exit $ac_status); } &&
59669          { ac_try='test -z "$ac_c_werror_flag"
59670                          || test ! -s conftest.err'
59671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59672   (eval $ac_try) 2>&5
59673   ac_status=$?
59674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59675   (exit $ac_status); }; } &&
59676          { ac_try='test -s conftest$ac_exeext'
59677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59678   (eval $ac_try) 2>&5
59679   ac_status=$?
59680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59681   (exit $ac_status); }; }; then
59682   eval "$as_ac_var=yes"
59683 else
59684   echo "$as_me: failed program was:" >&5
59685 sed 's/^/| /' conftest.$ac_ext >&5
59686
59687 eval "$as_ac_var=no"
59688 fi
59689 rm -f conftest.err conftest.$ac_objext \
59690       conftest$ac_exeext conftest.$ac_ext
59691 fi
59692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59694 if test `eval echo '${'$as_ac_var'}'` = yes; then
59695   cat >>confdefs.h <<_ACEOF
59696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59697 _ACEOF
59698
59699 fi
59700 done
59701
59702   else
59703
59704   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59705 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59706   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59707     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59708   echo $ECHO_N "(cached) $ECHO_C" >&6
59709 else
59710
59711
59712
59713       ac_ext=cc
59714 ac_cpp='$CXXCPP $CPPFLAGS'
59715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59718
59719       cat >conftest.$ac_ext <<_ACEOF
59720 /* confdefs.h.  */
59721 _ACEOF
59722 cat confdefs.h >>conftest.$ac_ext
59723 cat >>conftest.$ac_ext <<_ACEOF
59724 /* end confdefs.h.  */
59725 #include <math.h>
59726 int
59727 main ()
59728 {
59729  _modfl(0, 0);
59730   ;
59731   return 0;
59732 }
59733 _ACEOF
59734 rm -f conftest.$ac_objext
59735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59736   (eval $ac_compile) 2>conftest.er1
59737   ac_status=$?
59738   grep -v '^ *+' conftest.er1 >conftest.err
59739   rm -f conftest.er1
59740   cat conftest.err >&5
59741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59742   (exit $ac_status); } &&
59743          { ac_try='test -z "$ac_cxx_werror_flag"
59744                          || test ! -s conftest.err'
59745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59746   (eval $ac_try) 2>&5
59747   ac_status=$?
59748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59749   (exit $ac_status); }; } &&
59750          { ac_try='test -s conftest.$ac_objext'
59751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59752   (eval $ac_try) 2>&5
59753   ac_status=$?
59754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59755   (exit $ac_status); }; }; then
59756   glibcxx_cv_func__modfl_use=yes
59757 else
59758   echo "$as_me: failed program was:" >&5
59759 sed 's/^/| /' conftest.$ac_ext >&5
59760
59761 glibcxx_cv_func__modfl_use=no
59762 fi
59763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59764       ac_ext=c
59765 ac_cpp='$CPP $CPPFLAGS'
59766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59769
59770
59771 fi
59772
59773   fi
59774   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59775 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59776
59777     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59778
59779 for ac_func in _modfl
59780 do
59781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59782 echo "$as_me:$LINENO: checking for $ac_func" >&5
59783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59784 if eval "test \"\${$as_ac_var+set}\" = set"; then
59785   echo $ECHO_N "(cached) $ECHO_C" >&6
59786 else
59787   if test x$gcc_no_link = xyes; then
59788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59790    { (exit 1); exit 1; }; }
59791 fi
59792 cat >conftest.$ac_ext <<_ACEOF
59793 /* confdefs.h.  */
59794 _ACEOF
59795 cat confdefs.h >>conftest.$ac_ext
59796 cat >>conftest.$ac_ext <<_ACEOF
59797 /* end confdefs.h.  */
59798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59800 #define $ac_func innocuous_$ac_func
59801
59802 /* System header to define __stub macros and hopefully few prototypes,
59803     which can conflict with char $ac_func (); below.
59804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59805     <limits.h> exists even on freestanding compilers.  */
59806
59807 #ifdef __STDC__
59808 # include <limits.h>
59809 #else
59810 # include <assert.h>
59811 #endif
59812
59813 #undef $ac_func
59814
59815 /* Override any gcc2 internal prototype to avoid an error.  */
59816 #ifdef __cplusplus
59817 extern "C"
59818 {
59819 #endif
59820 /* We use char because int might match the return type of a gcc2
59821    builtin and then its argument prototype would still apply.  */
59822 char $ac_func ();
59823 /* The GNU C library defines this for functions which it implements
59824     to always fail with ENOSYS.  Some functions are actually named
59825     something starting with __ and the normal name is an alias.  */
59826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59827 choke me
59828 #else
59829 char (*f) () = $ac_func;
59830 #endif
59831 #ifdef __cplusplus
59832 }
59833 #endif
59834
59835 int
59836 main ()
59837 {
59838 return f != $ac_func;
59839   ;
59840   return 0;
59841 }
59842 _ACEOF
59843 rm -f conftest.$ac_objext conftest$ac_exeext
59844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59845   (eval $ac_link) 2>conftest.er1
59846   ac_status=$?
59847   grep -v '^ *+' conftest.er1 >conftest.err
59848   rm -f conftest.er1
59849   cat conftest.err >&5
59850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59851   (exit $ac_status); } &&
59852          { ac_try='test -z "$ac_c_werror_flag"
59853                          || test ! -s conftest.err'
59854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59855   (eval $ac_try) 2>&5
59856   ac_status=$?
59857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59858   (exit $ac_status); }; } &&
59859          { ac_try='test -s conftest$ac_exeext'
59860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59861   (eval $ac_try) 2>&5
59862   ac_status=$?
59863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59864   (exit $ac_status); }; }; then
59865   eval "$as_ac_var=yes"
59866 else
59867   echo "$as_me: failed program was:" >&5
59868 sed 's/^/| /' conftest.$ac_ext >&5
59869
59870 eval "$as_ac_var=no"
59871 fi
59872 rm -f conftest.err conftest.$ac_objext \
59873       conftest$ac_exeext conftest.$ac_ext
59874 fi
59875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59877 if test `eval echo '${'$as_ac_var'}'` = yes; then
59878   cat >>confdefs.h <<_ACEOF
59879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59880 _ACEOF
59881
59882 fi
59883 done
59884
59885     fi
59886   fi
59887
59888
59889
59890
59891
59892
59893   echo "$as_me:$LINENO: checking for powl declaration" >&5
59894 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59895   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59896     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59897   echo $ECHO_N "(cached) $ECHO_C" >&6
59898 else
59899
59900
59901
59902       ac_ext=cc
59903 ac_cpp='$CXXCPP $CPPFLAGS'
59904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59907
59908       cat >conftest.$ac_ext <<_ACEOF
59909 /* confdefs.h.  */
59910 _ACEOF
59911 cat confdefs.h >>conftest.$ac_ext
59912 cat >>conftest.$ac_ext <<_ACEOF
59913 /* end confdefs.h.  */
59914 #include <math.h>
59915 int
59916 main ()
59917 {
59918  powl(0, 0);
59919   ;
59920   return 0;
59921 }
59922 _ACEOF
59923 rm -f conftest.$ac_objext
59924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59925   (eval $ac_compile) 2>conftest.er1
59926   ac_status=$?
59927   grep -v '^ *+' conftest.er1 >conftest.err
59928   rm -f conftest.er1
59929   cat conftest.err >&5
59930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931   (exit $ac_status); } &&
59932          { ac_try='test -z "$ac_cxx_werror_flag"
59933                          || test ! -s conftest.err'
59934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59935   (eval $ac_try) 2>&5
59936   ac_status=$?
59937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59938   (exit $ac_status); }; } &&
59939          { ac_try='test -s conftest.$ac_objext'
59940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59941   (eval $ac_try) 2>&5
59942   ac_status=$?
59943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944   (exit $ac_status); }; }; then
59945   glibcxx_cv_func_powl_use=yes
59946 else
59947   echo "$as_me: failed program was:" >&5
59948 sed 's/^/| /' conftest.$ac_ext >&5
59949
59950 glibcxx_cv_func_powl_use=no
59951 fi
59952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59953       ac_ext=c
59954 ac_cpp='$CPP $CPPFLAGS'
59955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59958
59959
59960 fi
59961
59962   fi
59963   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59964 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59965
59966   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59967
59968 for ac_func in powl
59969 do
59970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59971 echo "$as_me:$LINENO: checking for $ac_func" >&5
59972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59973 if eval "test \"\${$as_ac_var+set}\" = set"; then
59974   echo $ECHO_N "(cached) $ECHO_C" >&6
59975 else
59976   if test x$gcc_no_link = xyes; then
59977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59979    { (exit 1); exit 1; }; }
59980 fi
59981 cat >conftest.$ac_ext <<_ACEOF
59982 /* confdefs.h.  */
59983 _ACEOF
59984 cat confdefs.h >>conftest.$ac_ext
59985 cat >>conftest.$ac_ext <<_ACEOF
59986 /* end confdefs.h.  */
59987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59989 #define $ac_func innocuous_$ac_func
59990
59991 /* System header to define __stub macros and hopefully few prototypes,
59992     which can conflict with char $ac_func (); below.
59993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59994     <limits.h> exists even on freestanding compilers.  */
59995
59996 #ifdef __STDC__
59997 # include <limits.h>
59998 #else
59999 # include <assert.h>
60000 #endif
60001
60002 #undef $ac_func
60003
60004 /* Override any gcc2 internal prototype to avoid an error.  */
60005 #ifdef __cplusplus
60006 extern "C"
60007 {
60008 #endif
60009 /* We use char because int might match the return type of a gcc2
60010    builtin and then its argument prototype would still apply.  */
60011 char $ac_func ();
60012 /* The GNU C library defines this for functions which it implements
60013     to always fail with ENOSYS.  Some functions are actually named
60014     something starting with __ and the normal name is an alias.  */
60015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60016 choke me
60017 #else
60018 char (*f) () = $ac_func;
60019 #endif
60020 #ifdef __cplusplus
60021 }
60022 #endif
60023
60024 int
60025 main ()
60026 {
60027 return f != $ac_func;
60028   ;
60029   return 0;
60030 }
60031 _ACEOF
60032 rm -f conftest.$ac_objext conftest$ac_exeext
60033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60034   (eval $ac_link) 2>conftest.er1
60035   ac_status=$?
60036   grep -v '^ *+' conftest.er1 >conftest.err
60037   rm -f conftest.er1
60038   cat conftest.err >&5
60039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60040   (exit $ac_status); } &&
60041          { ac_try='test -z "$ac_c_werror_flag"
60042                          || test ! -s conftest.err'
60043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60044   (eval $ac_try) 2>&5
60045   ac_status=$?
60046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60047   (exit $ac_status); }; } &&
60048          { ac_try='test -s conftest$ac_exeext'
60049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60050   (eval $ac_try) 2>&5
60051   ac_status=$?
60052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60053   (exit $ac_status); }; }; then
60054   eval "$as_ac_var=yes"
60055 else
60056   echo "$as_me: failed program was:" >&5
60057 sed 's/^/| /' conftest.$ac_ext >&5
60058
60059 eval "$as_ac_var=no"
60060 fi
60061 rm -f conftest.err conftest.$ac_objext \
60062       conftest$ac_exeext conftest.$ac_ext
60063 fi
60064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60066 if test `eval echo '${'$as_ac_var'}'` = yes; then
60067   cat >>confdefs.h <<_ACEOF
60068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60069 _ACEOF
60070
60071 fi
60072 done
60073
60074   else
60075
60076   echo "$as_me:$LINENO: checking for _powl declaration" >&5
60077 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
60078   if test x${glibcxx_cv_func__powl_use+set} != xset; then
60079     if test "${glibcxx_cv_func__powl_use+set}" = set; then
60080   echo $ECHO_N "(cached) $ECHO_C" >&6
60081 else
60082
60083
60084
60085       ac_ext=cc
60086 ac_cpp='$CXXCPP $CPPFLAGS'
60087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60090
60091       cat >conftest.$ac_ext <<_ACEOF
60092 /* confdefs.h.  */
60093 _ACEOF
60094 cat confdefs.h >>conftest.$ac_ext
60095 cat >>conftest.$ac_ext <<_ACEOF
60096 /* end confdefs.h.  */
60097 #include <math.h>
60098 int
60099 main ()
60100 {
60101  _powl(0, 0);
60102   ;
60103   return 0;
60104 }
60105 _ACEOF
60106 rm -f conftest.$ac_objext
60107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60108   (eval $ac_compile) 2>conftest.er1
60109   ac_status=$?
60110   grep -v '^ *+' conftest.er1 >conftest.err
60111   rm -f conftest.er1
60112   cat conftest.err >&5
60113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60114   (exit $ac_status); } &&
60115          { ac_try='test -z "$ac_cxx_werror_flag"
60116                          || test ! -s conftest.err'
60117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60118   (eval $ac_try) 2>&5
60119   ac_status=$?
60120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60121   (exit $ac_status); }; } &&
60122          { ac_try='test -s conftest.$ac_objext'
60123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60124   (eval $ac_try) 2>&5
60125   ac_status=$?
60126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60127   (exit $ac_status); }; }; then
60128   glibcxx_cv_func__powl_use=yes
60129 else
60130   echo "$as_me: failed program was:" >&5
60131 sed 's/^/| /' conftest.$ac_ext >&5
60132
60133 glibcxx_cv_func__powl_use=no
60134 fi
60135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60136       ac_ext=c
60137 ac_cpp='$CPP $CPPFLAGS'
60138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60141
60142
60143 fi
60144
60145   fi
60146   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
60147 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
60148
60149     if test x$glibcxx_cv_func__powl_use = x"yes"; then
60150
60151 for ac_func in _powl
60152 do
60153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60154 echo "$as_me:$LINENO: checking for $ac_func" >&5
60155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60156 if eval "test \"\${$as_ac_var+set}\" = set"; then
60157   echo $ECHO_N "(cached) $ECHO_C" >&6
60158 else
60159   if test x$gcc_no_link = xyes; then
60160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60162    { (exit 1); exit 1; }; }
60163 fi
60164 cat >conftest.$ac_ext <<_ACEOF
60165 /* confdefs.h.  */
60166 _ACEOF
60167 cat confdefs.h >>conftest.$ac_ext
60168 cat >>conftest.$ac_ext <<_ACEOF
60169 /* end confdefs.h.  */
60170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60172 #define $ac_func innocuous_$ac_func
60173
60174 /* System header to define __stub macros and hopefully few prototypes,
60175     which can conflict with char $ac_func (); below.
60176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60177     <limits.h> exists even on freestanding compilers.  */
60178
60179 #ifdef __STDC__
60180 # include <limits.h>
60181 #else
60182 # include <assert.h>
60183 #endif
60184
60185 #undef $ac_func
60186
60187 /* Override any gcc2 internal prototype to avoid an error.  */
60188 #ifdef __cplusplus
60189 extern "C"
60190 {
60191 #endif
60192 /* We use char because int might match the return type of a gcc2
60193    builtin and then its argument prototype would still apply.  */
60194 char $ac_func ();
60195 /* The GNU C library defines this for functions which it implements
60196     to always fail with ENOSYS.  Some functions are actually named
60197     something starting with __ and the normal name is an alias.  */
60198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60199 choke me
60200 #else
60201 char (*f) () = $ac_func;
60202 #endif
60203 #ifdef __cplusplus
60204 }
60205 #endif
60206
60207 int
60208 main ()
60209 {
60210 return f != $ac_func;
60211   ;
60212   return 0;
60213 }
60214 _ACEOF
60215 rm -f conftest.$ac_objext conftest$ac_exeext
60216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60217   (eval $ac_link) 2>conftest.er1
60218   ac_status=$?
60219   grep -v '^ *+' conftest.er1 >conftest.err
60220   rm -f conftest.er1
60221   cat conftest.err >&5
60222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60223   (exit $ac_status); } &&
60224          { ac_try='test -z "$ac_c_werror_flag"
60225                          || test ! -s conftest.err'
60226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60227   (eval $ac_try) 2>&5
60228   ac_status=$?
60229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230   (exit $ac_status); }; } &&
60231          { ac_try='test -s conftest$ac_exeext'
60232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60233   (eval $ac_try) 2>&5
60234   ac_status=$?
60235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60236   (exit $ac_status); }; }; then
60237   eval "$as_ac_var=yes"
60238 else
60239   echo "$as_me: failed program was:" >&5
60240 sed 's/^/| /' conftest.$ac_ext >&5
60241
60242 eval "$as_ac_var=no"
60243 fi
60244 rm -f conftest.err conftest.$ac_objext \
60245       conftest$ac_exeext conftest.$ac_ext
60246 fi
60247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60249 if test `eval echo '${'$as_ac_var'}'` = yes; then
60250   cat >>confdefs.h <<_ACEOF
60251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60252 _ACEOF
60253
60254 fi
60255 done
60256
60257     fi
60258   fi
60259
60260
60261
60262
60263
60264
60265   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
60266 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
60267   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60268     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
60269   echo $ECHO_N "(cached) $ECHO_C" >&6
60270 else
60271
60272
60273
60274       ac_ext=cc
60275 ac_cpp='$CXXCPP $CPPFLAGS'
60276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60279
60280       cat >conftest.$ac_ext <<_ACEOF
60281 /* confdefs.h.  */
60282 _ACEOF
60283 cat confdefs.h >>conftest.$ac_ext
60284 cat >>conftest.$ac_ext <<_ACEOF
60285 /* end confdefs.h.  */
60286 #include <math.h>
60287                       #ifdef HAVE_IEEEFP_H
60288                       #include <ieeefp.h>
60289                       #endif
60290
60291 int
60292 main ()
60293 {
60294  sqrtl(0);
60295   ;
60296   return 0;
60297 }
60298 _ACEOF
60299 rm -f conftest.$ac_objext
60300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60301   (eval $ac_compile) 2>conftest.er1
60302   ac_status=$?
60303   grep -v '^ *+' conftest.er1 >conftest.err
60304   rm -f conftest.er1
60305   cat conftest.err >&5
60306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307   (exit $ac_status); } &&
60308          { ac_try='test -z "$ac_cxx_werror_flag"
60309                          || test ! -s conftest.err'
60310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60311   (eval $ac_try) 2>&5
60312   ac_status=$?
60313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60314   (exit $ac_status); }; } &&
60315          { ac_try='test -s conftest.$ac_objext'
60316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60317   (eval $ac_try) 2>&5
60318   ac_status=$?
60319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60320   (exit $ac_status); }; }; then
60321   glibcxx_cv_func_sqrtl_use=yes
60322 else
60323   echo "$as_me: failed program was:" >&5
60324 sed 's/^/| /' conftest.$ac_ext >&5
60325
60326 glibcxx_cv_func_sqrtl_use=no
60327 fi
60328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60329       ac_ext=c
60330 ac_cpp='$CPP $CPPFLAGS'
60331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60334
60335
60336 fi
60337
60338   fi
60339   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
60340 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
60341
60342   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60343
60344 for ac_func in sqrtl
60345 do
60346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60347 echo "$as_me:$LINENO: checking for $ac_func" >&5
60348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60349 if eval "test \"\${$as_ac_var+set}\" = set"; then
60350   echo $ECHO_N "(cached) $ECHO_C" >&6
60351 else
60352   if test x$gcc_no_link = xyes; then
60353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60355    { (exit 1); exit 1; }; }
60356 fi
60357 cat >conftest.$ac_ext <<_ACEOF
60358 /* confdefs.h.  */
60359 _ACEOF
60360 cat confdefs.h >>conftest.$ac_ext
60361 cat >>conftest.$ac_ext <<_ACEOF
60362 /* end confdefs.h.  */
60363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60365 #define $ac_func innocuous_$ac_func
60366
60367 /* System header to define __stub macros and hopefully few prototypes,
60368     which can conflict with char $ac_func (); below.
60369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60370     <limits.h> exists even on freestanding compilers.  */
60371
60372 #ifdef __STDC__
60373 # include <limits.h>
60374 #else
60375 # include <assert.h>
60376 #endif
60377
60378 #undef $ac_func
60379
60380 /* Override any gcc2 internal prototype to avoid an error.  */
60381 #ifdef __cplusplus
60382 extern "C"
60383 {
60384 #endif
60385 /* We use char because int might match the return type of a gcc2
60386    builtin and then its argument prototype would still apply.  */
60387 char $ac_func ();
60388 /* The GNU C library defines this for functions which it implements
60389     to always fail with ENOSYS.  Some functions are actually named
60390     something starting with __ and the normal name is an alias.  */
60391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60392 choke me
60393 #else
60394 char (*f) () = $ac_func;
60395 #endif
60396 #ifdef __cplusplus
60397 }
60398 #endif
60399
60400 int
60401 main ()
60402 {
60403 return f != $ac_func;
60404   ;
60405   return 0;
60406 }
60407 _ACEOF
60408 rm -f conftest.$ac_objext conftest$ac_exeext
60409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60410   (eval $ac_link) 2>conftest.er1
60411   ac_status=$?
60412   grep -v '^ *+' conftest.er1 >conftest.err
60413   rm -f conftest.er1
60414   cat conftest.err >&5
60415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416   (exit $ac_status); } &&
60417          { ac_try='test -z "$ac_c_werror_flag"
60418                          || test ! -s conftest.err'
60419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60420   (eval $ac_try) 2>&5
60421   ac_status=$?
60422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60423   (exit $ac_status); }; } &&
60424          { ac_try='test -s conftest$ac_exeext'
60425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60426   (eval $ac_try) 2>&5
60427   ac_status=$?
60428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429   (exit $ac_status); }; }; then
60430   eval "$as_ac_var=yes"
60431 else
60432   echo "$as_me: failed program was:" >&5
60433 sed 's/^/| /' conftest.$ac_ext >&5
60434
60435 eval "$as_ac_var=no"
60436 fi
60437 rm -f conftest.err conftest.$ac_objext \
60438       conftest$ac_exeext conftest.$ac_ext
60439 fi
60440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60442 if test `eval echo '${'$as_ac_var'}'` = yes; then
60443   cat >>confdefs.h <<_ACEOF
60444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60445 _ACEOF
60446
60447 fi
60448 done
60449
60450   else
60451
60452   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
60453 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
60454   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60455     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
60456   echo $ECHO_N "(cached) $ECHO_C" >&6
60457 else
60458
60459
60460
60461       ac_ext=cc
60462 ac_cpp='$CXXCPP $CPPFLAGS'
60463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60466
60467       cat >conftest.$ac_ext <<_ACEOF
60468 /* confdefs.h.  */
60469 _ACEOF
60470 cat confdefs.h >>conftest.$ac_ext
60471 cat >>conftest.$ac_ext <<_ACEOF
60472 /* end confdefs.h.  */
60473 #include <math.h>
60474                       #ifdef HAVE_IEEEFP_H
60475                       #include <ieeefp.h>
60476                       #endif
60477
60478 int
60479 main ()
60480 {
60481  _sqrtl(0);
60482   ;
60483   return 0;
60484 }
60485 _ACEOF
60486 rm -f conftest.$ac_objext
60487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60488   (eval $ac_compile) 2>conftest.er1
60489   ac_status=$?
60490   grep -v '^ *+' conftest.er1 >conftest.err
60491   rm -f conftest.er1
60492   cat conftest.err >&5
60493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494   (exit $ac_status); } &&
60495          { ac_try='test -z "$ac_cxx_werror_flag"
60496                          || test ! -s conftest.err'
60497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60498   (eval $ac_try) 2>&5
60499   ac_status=$?
60500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501   (exit $ac_status); }; } &&
60502          { ac_try='test -s conftest.$ac_objext'
60503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60504   (eval $ac_try) 2>&5
60505   ac_status=$?
60506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60507   (exit $ac_status); }; }; then
60508   glibcxx_cv_func__sqrtl_use=yes
60509 else
60510   echo "$as_me: failed program was:" >&5
60511 sed 's/^/| /' conftest.$ac_ext >&5
60512
60513 glibcxx_cv_func__sqrtl_use=no
60514 fi
60515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60516       ac_ext=c
60517 ac_cpp='$CPP $CPPFLAGS'
60518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60521
60522
60523 fi
60524
60525   fi
60526   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60527 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60528
60529     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60530
60531 for ac_func in _sqrtl
60532 do
60533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60534 echo "$as_me:$LINENO: checking for $ac_func" >&5
60535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60536 if eval "test \"\${$as_ac_var+set}\" = set"; then
60537   echo $ECHO_N "(cached) $ECHO_C" >&6
60538 else
60539   if test x$gcc_no_link = xyes; then
60540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60542    { (exit 1); exit 1; }; }
60543 fi
60544 cat >conftest.$ac_ext <<_ACEOF
60545 /* confdefs.h.  */
60546 _ACEOF
60547 cat confdefs.h >>conftest.$ac_ext
60548 cat >>conftest.$ac_ext <<_ACEOF
60549 /* end confdefs.h.  */
60550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60552 #define $ac_func innocuous_$ac_func
60553
60554 /* System header to define __stub macros and hopefully few prototypes,
60555     which can conflict with char $ac_func (); below.
60556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60557     <limits.h> exists even on freestanding compilers.  */
60558
60559 #ifdef __STDC__
60560 # include <limits.h>
60561 #else
60562 # include <assert.h>
60563 #endif
60564
60565 #undef $ac_func
60566
60567 /* Override any gcc2 internal prototype to avoid an error.  */
60568 #ifdef __cplusplus
60569 extern "C"
60570 {
60571 #endif
60572 /* We use char because int might match the return type of a gcc2
60573    builtin and then its argument prototype would still apply.  */
60574 char $ac_func ();
60575 /* The GNU C library defines this for functions which it implements
60576     to always fail with ENOSYS.  Some functions are actually named
60577     something starting with __ and the normal name is an alias.  */
60578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60579 choke me
60580 #else
60581 char (*f) () = $ac_func;
60582 #endif
60583 #ifdef __cplusplus
60584 }
60585 #endif
60586
60587 int
60588 main ()
60589 {
60590 return f != $ac_func;
60591   ;
60592   return 0;
60593 }
60594 _ACEOF
60595 rm -f conftest.$ac_objext conftest$ac_exeext
60596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60597   (eval $ac_link) 2>conftest.er1
60598   ac_status=$?
60599   grep -v '^ *+' conftest.er1 >conftest.err
60600   rm -f conftest.er1
60601   cat conftest.err >&5
60602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603   (exit $ac_status); } &&
60604          { ac_try='test -z "$ac_c_werror_flag"
60605                          || test ! -s conftest.err'
60606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607   (eval $ac_try) 2>&5
60608   ac_status=$?
60609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610   (exit $ac_status); }; } &&
60611          { ac_try='test -s conftest$ac_exeext'
60612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60613   (eval $ac_try) 2>&5
60614   ac_status=$?
60615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60616   (exit $ac_status); }; }; then
60617   eval "$as_ac_var=yes"
60618 else
60619   echo "$as_me: failed program was:" >&5
60620 sed 's/^/| /' conftest.$ac_ext >&5
60621
60622 eval "$as_ac_var=no"
60623 fi
60624 rm -f conftest.err conftest.$ac_objext \
60625       conftest$ac_exeext conftest.$ac_ext
60626 fi
60627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60629 if test `eval echo '${'$as_ac_var'}'` = yes; then
60630   cat >>confdefs.h <<_ACEOF
60631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60632 _ACEOF
60633
60634 fi
60635 done
60636
60637     fi
60638   fi
60639
60640
60641
60642
60643
60644
60645   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60646 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60647   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60648     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60649   echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60651
60652
60653
60654       ac_ext=cc
60655 ac_cpp='$CXXCPP $CPPFLAGS'
60656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60659
60660       cat >conftest.$ac_ext <<_ACEOF
60661 /* confdefs.h.  */
60662 _ACEOF
60663 cat confdefs.h >>conftest.$ac_ext
60664 cat >>conftest.$ac_ext <<_ACEOF
60665 /* end confdefs.h.  */
60666 #include <math.h>
60667 int
60668 main ()
60669 {
60670  sincosl(0, 0, 0);
60671   ;
60672   return 0;
60673 }
60674 _ACEOF
60675 rm -f conftest.$ac_objext
60676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60677   (eval $ac_compile) 2>conftest.er1
60678   ac_status=$?
60679   grep -v '^ *+' conftest.er1 >conftest.err
60680   rm -f conftest.er1
60681   cat conftest.err >&5
60682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60683   (exit $ac_status); } &&
60684          { ac_try='test -z "$ac_cxx_werror_flag"
60685                          || test ! -s conftest.err'
60686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60687   (eval $ac_try) 2>&5
60688   ac_status=$?
60689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690   (exit $ac_status); }; } &&
60691          { ac_try='test -s conftest.$ac_objext'
60692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60693   (eval $ac_try) 2>&5
60694   ac_status=$?
60695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60696   (exit $ac_status); }; }; then
60697   glibcxx_cv_func_sincosl_use=yes
60698 else
60699   echo "$as_me: failed program was:" >&5
60700 sed 's/^/| /' conftest.$ac_ext >&5
60701
60702 glibcxx_cv_func_sincosl_use=no
60703 fi
60704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60705       ac_ext=c
60706 ac_cpp='$CPP $CPPFLAGS'
60707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60710
60711
60712 fi
60713
60714   fi
60715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60716 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60717
60718   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60719
60720 for ac_func in sincosl
60721 do
60722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60723 echo "$as_me:$LINENO: checking for $ac_func" >&5
60724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60725 if eval "test \"\${$as_ac_var+set}\" = set"; then
60726   echo $ECHO_N "(cached) $ECHO_C" >&6
60727 else
60728   if test x$gcc_no_link = xyes; then
60729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60731    { (exit 1); exit 1; }; }
60732 fi
60733 cat >conftest.$ac_ext <<_ACEOF
60734 /* confdefs.h.  */
60735 _ACEOF
60736 cat confdefs.h >>conftest.$ac_ext
60737 cat >>conftest.$ac_ext <<_ACEOF
60738 /* end confdefs.h.  */
60739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60741 #define $ac_func innocuous_$ac_func
60742
60743 /* System header to define __stub macros and hopefully few prototypes,
60744     which can conflict with char $ac_func (); below.
60745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60746     <limits.h> exists even on freestanding compilers.  */
60747
60748 #ifdef __STDC__
60749 # include <limits.h>
60750 #else
60751 # include <assert.h>
60752 #endif
60753
60754 #undef $ac_func
60755
60756 /* Override any gcc2 internal prototype to avoid an error.  */
60757 #ifdef __cplusplus
60758 extern "C"
60759 {
60760 #endif
60761 /* We use char because int might match the return type of a gcc2
60762    builtin and then its argument prototype would still apply.  */
60763 char $ac_func ();
60764 /* The GNU C library defines this for functions which it implements
60765     to always fail with ENOSYS.  Some functions are actually named
60766     something starting with __ and the normal name is an alias.  */
60767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60768 choke me
60769 #else
60770 char (*f) () = $ac_func;
60771 #endif
60772 #ifdef __cplusplus
60773 }
60774 #endif
60775
60776 int
60777 main ()
60778 {
60779 return f != $ac_func;
60780   ;
60781   return 0;
60782 }
60783 _ACEOF
60784 rm -f conftest.$ac_objext conftest$ac_exeext
60785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60786   (eval $ac_link) 2>conftest.er1
60787   ac_status=$?
60788   grep -v '^ *+' conftest.er1 >conftest.err
60789   rm -f conftest.er1
60790   cat conftest.err >&5
60791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60792   (exit $ac_status); } &&
60793          { ac_try='test -z "$ac_c_werror_flag"
60794                          || test ! -s conftest.err'
60795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60796   (eval $ac_try) 2>&5
60797   ac_status=$?
60798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799   (exit $ac_status); }; } &&
60800          { ac_try='test -s conftest$ac_exeext'
60801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60802   (eval $ac_try) 2>&5
60803   ac_status=$?
60804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60805   (exit $ac_status); }; }; then
60806   eval "$as_ac_var=yes"
60807 else
60808   echo "$as_me: failed program was:" >&5
60809 sed 's/^/| /' conftest.$ac_ext >&5
60810
60811 eval "$as_ac_var=no"
60812 fi
60813 rm -f conftest.err conftest.$ac_objext \
60814       conftest$ac_exeext conftest.$ac_ext
60815 fi
60816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60818 if test `eval echo '${'$as_ac_var'}'` = yes; then
60819   cat >>confdefs.h <<_ACEOF
60820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60821 _ACEOF
60822
60823 fi
60824 done
60825
60826   else
60827
60828   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60829 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60830   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60831     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60832   echo $ECHO_N "(cached) $ECHO_C" >&6
60833 else
60834
60835
60836
60837       ac_ext=cc
60838 ac_cpp='$CXXCPP $CPPFLAGS'
60839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60842
60843       cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h.  */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h.  */
60849 #include <math.h>
60850 int
60851 main ()
60852 {
60853  _sincosl(0, 0, 0);
60854   ;
60855   return 0;
60856 }
60857 _ACEOF
60858 rm -f conftest.$ac_objext
60859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60860   (eval $ac_compile) 2>conftest.er1
60861   ac_status=$?
60862   grep -v '^ *+' conftest.er1 >conftest.err
60863   rm -f conftest.er1
60864   cat conftest.err >&5
60865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60866   (exit $ac_status); } &&
60867          { ac_try='test -z "$ac_cxx_werror_flag"
60868                          || test ! -s conftest.err'
60869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60870   (eval $ac_try) 2>&5
60871   ac_status=$?
60872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873   (exit $ac_status); }; } &&
60874          { ac_try='test -s conftest.$ac_objext'
60875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60876   (eval $ac_try) 2>&5
60877   ac_status=$?
60878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879   (exit $ac_status); }; }; then
60880   glibcxx_cv_func__sincosl_use=yes
60881 else
60882   echo "$as_me: failed program was:" >&5
60883 sed 's/^/| /' conftest.$ac_ext >&5
60884
60885 glibcxx_cv_func__sincosl_use=no
60886 fi
60887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60888       ac_ext=c
60889 ac_cpp='$CPP $CPPFLAGS'
60890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60893
60894
60895 fi
60896
60897   fi
60898   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60899 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60900
60901     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60902
60903 for ac_func in _sincosl
60904 do
60905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60906 echo "$as_me:$LINENO: checking for $ac_func" >&5
60907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60908 if eval "test \"\${$as_ac_var+set}\" = set"; then
60909   echo $ECHO_N "(cached) $ECHO_C" >&6
60910 else
60911   if test x$gcc_no_link = xyes; then
60912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60914    { (exit 1); exit 1; }; }
60915 fi
60916 cat >conftest.$ac_ext <<_ACEOF
60917 /* confdefs.h.  */
60918 _ACEOF
60919 cat confdefs.h >>conftest.$ac_ext
60920 cat >>conftest.$ac_ext <<_ACEOF
60921 /* end confdefs.h.  */
60922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60924 #define $ac_func innocuous_$ac_func
60925
60926 /* System header to define __stub macros and hopefully few prototypes,
60927     which can conflict with char $ac_func (); below.
60928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60929     <limits.h> exists even on freestanding compilers.  */
60930
60931 #ifdef __STDC__
60932 # include <limits.h>
60933 #else
60934 # include <assert.h>
60935 #endif
60936
60937 #undef $ac_func
60938
60939 /* Override any gcc2 internal prototype to avoid an error.  */
60940 #ifdef __cplusplus
60941 extern "C"
60942 {
60943 #endif
60944 /* We use char because int might match the return type of a gcc2
60945    builtin and then its argument prototype would still apply.  */
60946 char $ac_func ();
60947 /* The GNU C library defines this for functions which it implements
60948     to always fail with ENOSYS.  Some functions are actually named
60949     something starting with __ and the normal name is an alias.  */
60950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60951 choke me
60952 #else
60953 char (*f) () = $ac_func;
60954 #endif
60955 #ifdef __cplusplus
60956 }
60957 #endif
60958
60959 int
60960 main ()
60961 {
60962 return f != $ac_func;
60963   ;
60964   return 0;
60965 }
60966 _ACEOF
60967 rm -f conftest.$ac_objext conftest$ac_exeext
60968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60969   (eval $ac_link) 2>conftest.er1
60970   ac_status=$?
60971   grep -v '^ *+' conftest.er1 >conftest.err
60972   rm -f conftest.er1
60973   cat conftest.err >&5
60974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60975   (exit $ac_status); } &&
60976          { ac_try='test -z "$ac_c_werror_flag"
60977                          || test ! -s conftest.err'
60978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60979   (eval $ac_try) 2>&5
60980   ac_status=$?
60981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982   (exit $ac_status); }; } &&
60983          { ac_try='test -s conftest$ac_exeext'
60984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60985   (eval $ac_try) 2>&5
60986   ac_status=$?
60987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60988   (exit $ac_status); }; }; then
60989   eval "$as_ac_var=yes"
60990 else
60991   echo "$as_me: failed program was:" >&5
60992 sed 's/^/| /' conftest.$ac_ext >&5
60993
60994 eval "$as_ac_var=no"
60995 fi
60996 rm -f conftest.err conftest.$ac_objext \
60997       conftest$ac_exeext conftest.$ac_ext
60998 fi
60999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61001 if test `eval echo '${'$as_ac_var'}'` = yes; then
61002   cat >>confdefs.h <<_ACEOF
61003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61004 _ACEOF
61005
61006 fi
61007 done
61008
61009     fi
61010   fi
61011
61012
61013
61014
61015
61016
61017   echo "$as_me:$LINENO: checking for finitel declaration" >&5
61018 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
61019   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61020     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
61021   echo $ECHO_N "(cached) $ECHO_C" >&6
61022 else
61023
61024
61025
61026       ac_ext=cc
61027 ac_cpp='$CXXCPP $CPPFLAGS'
61028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61031
61032       cat >conftest.$ac_ext <<_ACEOF
61033 /* confdefs.h.  */
61034 _ACEOF
61035 cat confdefs.h >>conftest.$ac_ext
61036 cat >>conftest.$ac_ext <<_ACEOF
61037 /* end confdefs.h.  */
61038 #include <math.h>
61039                       #ifdef HAVE_IEEEFP_H
61040                       #include <ieeefp.h>
61041                       #endif
61042
61043 int
61044 main ()
61045 {
61046  finitel(0);
61047   ;
61048   return 0;
61049 }
61050 _ACEOF
61051 rm -f conftest.$ac_objext
61052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61053   (eval $ac_compile) 2>conftest.er1
61054   ac_status=$?
61055   grep -v '^ *+' conftest.er1 >conftest.err
61056   rm -f conftest.er1
61057   cat conftest.err >&5
61058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059   (exit $ac_status); } &&
61060          { ac_try='test -z "$ac_cxx_werror_flag"
61061                          || test ! -s conftest.err'
61062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61063   (eval $ac_try) 2>&5
61064   ac_status=$?
61065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066   (exit $ac_status); }; } &&
61067          { ac_try='test -s conftest.$ac_objext'
61068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069   (eval $ac_try) 2>&5
61070   ac_status=$?
61071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072   (exit $ac_status); }; }; then
61073   glibcxx_cv_func_finitel_use=yes
61074 else
61075   echo "$as_me: failed program was:" >&5
61076 sed 's/^/| /' conftest.$ac_ext >&5
61077
61078 glibcxx_cv_func_finitel_use=no
61079 fi
61080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61081       ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61086
61087
61088 fi
61089
61090   fi
61091   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
61092 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
61093
61094   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61095
61096 for ac_func in finitel
61097 do
61098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61099 echo "$as_me:$LINENO: checking for $ac_func" >&5
61100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61101 if eval "test \"\${$as_ac_var+set}\" = set"; then
61102   echo $ECHO_N "(cached) $ECHO_C" >&6
61103 else
61104   if test x$gcc_no_link = xyes; then
61105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61107    { (exit 1); exit 1; }; }
61108 fi
61109 cat >conftest.$ac_ext <<_ACEOF
61110 /* confdefs.h.  */
61111 _ACEOF
61112 cat confdefs.h >>conftest.$ac_ext
61113 cat >>conftest.$ac_ext <<_ACEOF
61114 /* end confdefs.h.  */
61115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61117 #define $ac_func innocuous_$ac_func
61118
61119 /* System header to define __stub macros and hopefully few prototypes,
61120     which can conflict with char $ac_func (); below.
61121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61122     <limits.h> exists even on freestanding compilers.  */
61123
61124 #ifdef __STDC__
61125 # include <limits.h>
61126 #else
61127 # include <assert.h>
61128 #endif
61129
61130 #undef $ac_func
61131
61132 /* Override any gcc2 internal prototype to avoid an error.  */
61133 #ifdef __cplusplus
61134 extern "C"
61135 {
61136 #endif
61137 /* We use char because int might match the return type of a gcc2
61138    builtin and then its argument prototype would still apply.  */
61139 char $ac_func ();
61140 /* The GNU C library defines this for functions which it implements
61141     to always fail with ENOSYS.  Some functions are actually named
61142     something starting with __ and the normal name is an alias.  */
61143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61144 choke me
61145 #else
61146 char (*f) () = $ac_func;
61147 #endif
61148 #ifdef __cplusplus
61149 }
61150 #endif
61151
61152 int
61153 main ()
61154 {
61155 return f != $ac_func;
61156   ;
61157   return 0;
61158 }
61159 _ACEOF
61160 rm -f conftest.$ac_objext conftest$ac_exeext
61161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61162   (eval $ac_link) 2>conftest.er1
61163   ac_status=$?
61164   grep -v '^ *+' conftest.er1 >conftest.err
61165   rm -f conftest.er1
61166   cat conftest.err >&5
61167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61168   (exit $ac_status); } &&
61169          { ac_try='test -z "$ac_c_werror_flag"
61170                          || test ! -s conftest.err'
61171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61172   (eval $ac_try) 2>&5
61173   ac_status=$?
61174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61175   (exit $ac_status); }; } &&
61176          { ac_try='test -s conftest$ac_exeext'
61177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61178   (eval $ac_try) 2>&5
61179   ac_status=$?
61180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61181   (exit $ac_status); }; }; then
61182   eval "$as_ac_var=yes"
61183 else
61184   echo "$as_me: failed program was:" >&5
61185 sed 's/^/| /' conftest.$ac_ext >&5
61186
61187 eval "$as_ac_var=no"
61188 fi
61189 rm -f conftest.err conftest.$ac_objext \
61190       conftest$ac_exeext conftest.$ac_ext
61191 fi
61192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61194 if test `eval echo '${'$as_ac_var'}'` = yes; then
61195   cat >>confdefs.h <<_ACEOF
61196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61197 _ACEOF
61198
61199 fi
61200 done
61201
61202   else
61203
61204   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
61205 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
61206   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61207     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
61208   echo $ECHO_N "(cached) $ECHO_C" >&6
61209 else
61210
61211
61212
61213       ac_ext=cc
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218
61219       cat >conftest.$ac_ext <<_ACEOF
61220 /* confdefs.h.  */
61221 _ACEOF
61222 cat confdefs.h >>conftest.$ac_ext
61223 cat >>conftest.$ac_ext <<_ACEOF
61224 /* end confdefs.h.  */
61225 #include <math.h>
61226                       #ifdef HAVE_IEEEFP_H
61227                       #include <ieeefp.h>
61228                       #endif
61229
61230 int
61231 main ()
61232 {
61233  _finitel(0);
61234   ;
61235   return 0;
61236 }
61237 _ACEOF
61238 rm -f conftest.$ac_objext
61239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61240   (eval $ac_compile) 2>conftest.er1
61241   ac_status=$?
61242   grep -v '^ *+' conftest.er1 >conftest.err
61243   rm -f conftest.er1
61244   cat conftest.err >&5
61245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246   (exit $ac_status); } &&
61247          { ac_try='test -z "$ac_cxx_werror_flag"
61248                          || test ! -s conftest.err'
61249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61250   (eval $ac_try) 2>&5
61251   ac_status=$?
61252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253   (exit $ac_status); }; } &&
61254          { ac_try='test -s conftest.$ac_objext'
61255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61256   (eval $ac_try) 2>&5
61257   ac_status=$?
61258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259   (exit $ac_status); }; }; then
61260   glibcxx_cv_func__finitel_use=yes
61261 else
61262   echo "$as_me: failed program was:" >&5
61263 sed 's/^/| /' conftest.$ac_ext >&5
61264
61265 glibcxx_cv_func__finitel_use=no
61266 fi
61267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61268       ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273
61274
61275 fi
61276
61277   fi
61278   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
61279 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
61280
61281     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61282
61283 for ac_func in _finitel
61284 do
61285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61286 echo "$as_me:$LINENO: checking for $ac_func" >&5
61287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61288 if eval "test \"\${$as_ac_var+set}\" = set"; then
61289   echo $ECHO_N "(cached) $ECHO_C" >&6
61290 else
61291   if test x$gcc_no_link = xyes; then
61292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61294    { (exit 1); exit 1; }; }
61295 fi
61296 cat >conftest.$ac_ext <<_ACEOF
61297 /* confdefs.h.  */
61298 _ACEOF
61299 cat confdefs.h >>conftest.$ac_ext
61300 cat >>conftest.$ac_ext <<_ACEOF
61301 /* end confdefs.h.  */
61302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61304 #define $ac_func innocuous_$ac_func
61305
61306 /* System header to define __stub macros and hopefully few prototypes,
61307     which can conflict with char $ac_func (); below.
61308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61309     <limits.h> exists even on freestanding compilers.  */
61310
61311 #ifdef __STDC__
61312 # include <limits.h>
61313 #else
61314 # include <assert.h>
61315 #endif
61316
61317 #undef $ac_func
61318
61319 /* Override any gcc2 internal prototype to avoid an error.  */
61320 #ifdef __cplusplus
61321 extern "C"
61322 {
61323 #endif
61324 /* We use char because int might match the return type of a gcc2
61325    builtin and then its argument prototype would still apply.  */
61326 char $ac_func ();
61327 /* The GNU C library defines this for functions which it implements
61328     to always fail with ENOSYS.  Some functions are actually named
61329     something starting with __ and the normal name is an alias.  */
61330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61331 choke me
61332 #else
61333 char (*f) () = $ac_func;
61334 #endif
61335 #ifdef __cplusplus
61336 }
61337 #endif
61338
61339 int
61340 main ()
61341 {
61342 return f != $ac_func;
61343   ;
61344   return 0;
61345 }
61346 _ACEOF
61347 rm -f conftest.$ac_objext conftest$ac_exeext
61348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61349   (eval $ac_link) 2>conftest.er1
61350   ac_status=$?
61351   grep -v '^ *+' conftest.er1 >conftest.err
61352   rm -f conftest.er1
61353   cat conftest.err >&5
61354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61355   (exit $ac_status); } &&
61356          { ac_try='test -z "$ac_c_werror_flag"
61357                          || test ! -s conftest.err'
61358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61359   (eval $ac_try) 2>&5
61360   ac_status=$?
61361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362   (exit $ac_status); }; } &&
61363          { ac_try='test -s conftest$ac_exeext'
61364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61365   (eval $ac_try) 2>&5
61366   ac_status=$?
61367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368   (exit $ac_status); }; }; then
61369   eval "$as_ac_var=yes"
61370 else
61371   echo "$as_me: failed program was:" >&5
61372 sed 's/^/| /' conftest.$ac_ext >&5
61373
61374 eval "$as_ac_var=no"
61375 fi
61376 rm -f conftest.err conftest.$ac_objext \
61377       conftest$ac_exeext conftest.$ac_ext
61378 fi
61379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61381 if test `eval echo '${'$as_ac_var'}'` = yes; then
61382   cat >>confdefs.h <<_ACEOF
61383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61384 _ACEOF
61385
61386 fi
61387 done
61388
61389     fi
61390   fi
61391
61392
61393
61394
61395
61396   LIBS="$ac_save_LIBS"
61397   CXXFLAGS="$ac_save_CXXFLAGS"
61398
61399
61400
61401   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61402 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61403   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61404     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61405   echo $ECHO_N "(cached) $ECHO_C" >&6
61406 else
61407
61408
61409
61410       ac_ext=cc
61411 ac_cpp='$CXXCPP $CPPFLAGS'
61412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61415
61416       cat >conftest.$ac_ext <<_ACEOF
61417 /* confdefs.h.  */
61418 _ACEOF
61419 cat confdefs.h >>conftest.$ac_ext
61420 cat >>conftest.$ac_ext <<_ACEOF
61421 /* end confdefs.h.  */
61422 #include <math.h>
61423 int
61424 main ()
61425 {
61426  __builtin_abs(0);
61427   ;
61428   return 0;
61429 }
61430 _ACEOF
61431 rm -f conftest.$ac_objext
61432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61433   (eval $ac_compile) 2>conftest.er1
61434   ac_status=$?
61435   grep -v '^ *+' conftest.er1 >conftest.err
61436   rm -f conftest.er1
61437   cat conftest.err >&5
61438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61439   (exit $ac_status); } &&
61440          { ac_try='test -z "$ac_cxx_werror_flag"
61441                          || test ! -s conftest.err'
61442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61443   (eval $ac_try) 2>&5
61444   ac_status=$?
61445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446   (exit $ac_status); }; } &&
61447          { ac_try='test -s conftest.$ac_objext'
61448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61449   (eval $ac_try) 2>&5
61450   ac_status=$?
61451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61452   (exit $ac_status); }; }; then
61453   glibcxx_cv_func___builtin_abs_use=yes
61454 else
61455   echo "$as_me: failed program was:" >&5
61456 sed 's/^/| /' conftest.$ac_ext >&5
61457
61458 glibcxx_cv_func___builtin_abs_use=no
61459 fi
61460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61461       ac_ext=c
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466
61467
61468 fi
61469
61470   fi
61471   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61472 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61473   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61474     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61475 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61476     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61477       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61478   echo $ECHO_N "(cached) $ECHO_C" >&6
61479 else
61480
61481         if test x$gcc_no_link = xyes; then
61482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61484    { (exit 1); exit 1; }; }
61485 fi
61486 cat >conftest.$ac_ext <<_ACEOF
61487 /* confdefs.h.  */
61488 _ACEOF
61489 cat confdefs.h >>conftest.$ac_ext
61490 cat >>conftest.$ac_ext <<_ACEOF
61491 /* end confdefs.h.  */
61492 #include <math.h>
61493 int
61494 main ()
61495 {
61496  __builtin_abs(0);
61497   ;
61498   return 0;
61499 }
61500 _ACEOF
61501 rm -f conftest.$ac_objext conftest$ac_exeext
61502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61503   (eval $ac_link) 2>conftest.er1
61504   ac_status=$?
61505   grep -v '^ *+' conftest.er1 >conftest.err
61506   rm -f conftest.er1
61507   cat conftest.err >&5
61508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61509   (exit $ac_status); } &&
61510          { ac_try='test -z "$ac_c_werror_flag"
61511                          || test ! -s conftest.err'
61512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61513   (eval $ac_try) 2>&5
61514   ac_status=$?
61515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516   (exit $ac_status); }; } &&
61517          { ac_try='test -s conftest$ac_exeext'
61518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61519   (eval $ac_try) 2>&5
61520   ac_status=$?
61521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61522   (exit $ac_status); }; }; then
61523   glibcxx_cv_func___builtin_abs_link=yes
61524 else
61525   echo "$as_me: failed program was:" >&5
61526 sed 's/^/| /' conftest.$ac_ext >&5
61527
61528 glibcxx_cv_func___builtin_abs_link=no
61529 fi
61530 rm -f conftest.err conftest.$ac_objext \
61531       conftest$ac_exeext conftest.$ac_ext
61532
61533 fi
61534
61535     fi
61536     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61537 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61538
61539     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61540
61541 cat >>confdefs.h <<\_ACEOF
61542 #define HAVE___BUILTIN_ABS 1
61543 _ACEOF
61544
61545     fi
61546
61547   fi
61548
61549
61550   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61551 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61552   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61553     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61554   echo $ECHO_N "(cached) $ECHO_C" >&6
61555 else
61556
61557
61558
61559       ac_ext=cc
61560 ac_cpp='$CXXCPP $CPPFLAGS'
61561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61564
61565       cat >conftest.$ac_ext <<_ACEOF
61566 /* confdefs.h.  */
61567 _ACEOF
61568 cat confdefs.h >>conftest.$ac_ext
61569 cat >>conftest.$ac_ext <<_ACEOF
61570 /* end confdefs.h.  */
61571 #include <math.h>
61572 int
61573 main ()
61574 {
61575  __builtin_fabsf(0);
61576   ;
61577   return 0;
61578 }
61579 _ACEOF
61580 rm -f conftest.$ac_objext
61581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61582   (eval $ac_compile) 2>conftest.er1
61583   ac_status=$?
61584   grep -v '^ *+' conftest.er1 >conftest.err
61585   rm -f conftest.er1
61586   cat conftest.err >&5
61587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588   (exit $ac_status); } &&
61589          { ac_try='test -z "$ac_cxx_werror_flag"
61590                          || test ! -s conftest.err'
61591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61592   (eval $ac_try) 2>&5
61593   ac_status=$?
61594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595   (exit $ac_status); }; } &&
61596          { ac_try='test -s conftest.$ac_objext'
61597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61598   (eval $ac_try) 2>&5
61599   ac_status=$?
61600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61601   (exit $ac_status); }; }; then
61602   glibcxx_cv_func___builtin_fabsf_use=yes
61603 else
61604   echo "$as_me: failed program was:" >&5
61605 sed 's/^/| /' conftest.$ac_ext >&5
61606
61607 glibcxx_cv_func___builtin_fabsf_use=no
61608 fi
61609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61610       ac_ext=c
61611 ac_cpp='$CPP $CPPFLAGS'
61612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61615
61616
61617 fi
61618
61619   fi
61620   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61621 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61622   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61623     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61624 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61625     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61626       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61627   echo $ECHO_N "(cached) $ECHO_C" >&6
61628 else
61629
61630         if test x$gcc_no_link = xyes; then
61631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61633    { (exit 1); exit 1; }; }
61634 fi
61635 cat >conftest.$ac_ext <<_ACEOF
61636 /* confdefs.h.  */
61637 _ACEOF
61638 cat confdefs.h >>conftest.$ac_ext
61639 cat >>conftest.$ac_ext <<_ACEOF
61640 /* end confdefs.h.  */
61641 #include <math.h>
61642 int
61643 main ()
61644 {
61645  __builtin_fabsf(0);
61646   ;
61647   return 0;
61648 }
61649 _ACEOF
61650 rm -f conftest.$ac_objext conftest$ac_exeext
61651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61652   (eval $ac_link) 2>conftest.er1
61653   ac_status=$?
61654   grep -v '^ *+' conftest.er1 >conftest.err
61655   rm -f conftest.er1
61656   cat conftest.err >&5
61657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61658   (exit $ac_status); } &&
61659          { ac_try='test -z "$ac_c_werror_flag"
61660                          || test ! -s conftest.err'
61661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61662   (eval $ac_try) 2>&5
61663   ac_status=$?
61664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61665   (exit $ac_status); }; } &&
61666          { ac_try='test -s conftest$ac_exeext'
61667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61668   (eval $ac_try) 2>&5
61669   ac_status=$?
61670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61671   (exit $ac_status); }; }; then
61672   glibcxx_cv_func___builtin_fabsf_link=yes
61673 else
61674   echo "$as_me: failed program was:" >&5
61675 sed 's/^/| /' conftest.$ac_ext >&5
61676
61677 glibcxx_cv_func___builtin_fabsf_link=no
61678 fi
61679 rm -f conftest.err conftest.$ac_objext \
61680       conftest$ac_exeext conftest.$ac_ext
61681
61682 fi
61683
61684     fi
61685     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61686 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61687
61688     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61689
61690 cat >>confdefs.h <<\_ACEOF
61691 #define HAVE___BUILTIN_FABSF 1
61692 _ACEOF
61693
61694     fi
61695
61696   fi
61697
61698
61699   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61700 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61701   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61702     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61703   echo $ECHO_N "(cached) $ECHO_C" >&6
61704 else
61705
61706
61707
61708       ac_ext=cc
61709 ac_cpp='$CXXCPP $CPPFLAGS'
61710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61713
61714       cat >conftest.$ac_ext <<_ACEOF
61715 /* confdefs.h.  */
61716 _ACEOF
61717 cat confdefs.h >>conftest.$ac_ext
61718 cat >>conftest.$ac_ext <<_ACEOF
61719 /* end confdefs.h.  */
61720 #include <math.h>
61721 int
61722 main ()
61723 {
61724  __builtin_fabs(0);
61725   ;
61726   return 0;
61727 }
61728 _ACEOF
61729 rm -f conftest.$ac_objext
61730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61731   (eval $ac_compile) 2>conftest.er1
61732   ac_status=$?
61733   grep -v '^ *+' conftest.er1 >conftest.err
61734   rm -f conftest.er1
61735   cat conftest.err >&5
61736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737   (exit $ac_status); } &&
61738          { ac_try='test -z "$ac_cxx_werror_flag"
61739                          || test ! -s conftest.err'
61740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61741   (eval $ac_try) 2>&5
61742   ac_status=$?
61743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61744   (exit $ac_status); }; } &&
61745          { ac_try='test -s conftest.$ac_objext'
61746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61747   (eval $ac_try) 2>&5
61748   ac_status=$?
61749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61750   (exit $ac_status); }; }; then
61751   glibcxx_cv_func___builtin_fabs_use=yes
61752 else
61753   echo "$as_me: failed program was:" >&5
61754 sed 's/^/| /' conftest.$ac_ext >&5
61755
61756 glibcxx_cv_func___builtin_fabs_use=no
61757 fi
61758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61759       ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61764
61765
61766 fi
61767
61768   fi
61769   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61770 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61771   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61772     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61773 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61774     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61775       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61776   echo $ECHO_N "(cached) $ECHO_C" >&6
61777 else
61778
61779         if test x$gcc_no_link = xyes; then
61780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61782    { (exit 1); exit 1; }; }
61783 fi
61784 cat >conftest.$ac_ext <<_ACEOF
61785 /* confdefs.h.  */
61786 _ACEOF
61787 cat confdefs.h >>conftest.$ac_ext
61788 cat >>conftest.$ac_ext <<_ACEOF
61789 /* end confdefs.h.  */
61790 #include <math.h>
61791 int
61792 main ()
61793 {
61794  __builtin_fabs(0);
61795   ;
61796   return 0;
61797 }
61798 _ACEOF
61799 rm -f conftest.$ac_objext conftest$ac_exeext
61800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61801   (eval $ac_link) 2>conftest.er1
61802   ac_status=$?
61803   grep -v '^ *+' conftest.er1 >conftest.err
61804   rm -f conftest.er1
61805   cat conftest.err >&5
61806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61807   (exit $ac_status); } &&
61808          { ac_try='test -z "$ac_c_werror_flag"
61809                          || test ! -s conftest.err'
61810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61811   (eval $ac_try) 2>&5
61812   ac_status=$?
61813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61814   (exit $ac_status); }; } &&
61815          { ac_try='test -s conftest$ac_exeext'
61816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61817   (eval $ac_try) 2>&5
61818   ac_status=$?
61819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61820   (exit $ac_status); }; }; then
61821   glibcxx_cv_func___builtin_fabs_link=yes
61822 else
61823   echo "$as_me: failed program was:" >&5
61824 sed 's/^/| /' conftest.$ac_ext >&5
61825
61826 glibcxx_cv_func___builtin_fabs_link=no
61827 fi
61828 rm -f conftest.err conftest.$ac_objext \
61829       conftest$ac_exeext conftest.$ac_ext
61830
61831 fi
61832
61833     fi
61834     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61835 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61836
61837     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61838
61839 cat >>confdefs.h <<\_ACEOF
61840 #define HAVE___BUILTIN_FABS 1
61841 _ACEOF
61842
61843     fi
61844
61845   fi
61846
61847
61848   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61849 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61850   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61851     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61852   echo $ECHO_N "(cached) $ECHO_C" >&6
61853 else
61854
61855
61856
61857       ac_ext=cc
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61862
61863       cat >conftest.$ac_ext <<_ACEOF
61864 /* confdefs.h.  */
61865 _ACEOF
61866 cat confdefs.h >>conftest.$ac_ext
61867 cat >>conftest.$ac_ext <<_ACEOF
61868 /* end confdefs.h.  */
61869 #include <math.h>
61870 int
61871 main ()
61872 {
61873  __builtin_fabsl(0);
61874   ;
61875   return 0;
61876 }
61877 _ACEOF
61878 rm -f conftest.$ac_objext
61879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61880   (eval $ac_compile) 2>conftest.er1
61881   ac_status=$?
61882   grep -v '^ *+' conftest.er1 >conftest.err
61883   rm -f conftest.er1
61884   cat conftest.err >&5
61885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886   (exit $ac_status); } &&
61887          { ac_try='test -z "$ac_cxx_werror_flag"
61888                          || test ! -s conftest.err'
61889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890   (eval $ac_try) 2>&5
61891   ac_status=$?
61892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893   (exit $ac_status); }; } &&
61894          { ac_try='test -s conftest.$ac_objext'
61895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61896   (eval $ac_try) 2>&5
61897   ac_status=$?
61898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61899   (exit $ac_status); }; }; then
61900   glibcxx_cv_func___builtin_fabsl_use=yes
61901 else
61902   echo "$as_me: failed program was:" >&5
61903 sed 's/^/| /' conftest.$ac_ext >&5
61904
61905 glibcxx_cv_func___builtin_fabsl_use=no
61906 fi
61907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61908       ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61913
61914
61915 fi
61916
61917   fi
61918   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61919 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61920   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61921     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61922 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61923     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61924       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61925   echo $ECHO_N "(cached) $ECHO_C" >&6
61926 else
61927
61928         if test x$gcc_no_link = xyes; then
61929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61931    { (exit 1); exit 1; }; }
61932 fi
61933 cat >conftest.$ac_ext <<_ACEOF
61934 /* confdefs.h.  */
61935 _ACEOF
61936 cat confdefs.h >>conftest.$ac_ext
61937 cat >>conftest.$ac_ext <<_ACEOF
61938 /* end confdefs.h.  */
61939 #include <math.h>
61940 int
61941 main ()
61942 {
61943  __builtin_fabsl(0);
61944   ;
61945   return 0;
61946 }
61947 _ACEOF
61948 rm -f conftest.$ac_objext conftest$ac_exeext
61949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61950   (eval $ac_link) 2>conftest.er1
61951   ac_status=$?
61952   grep -v '^ *+' conftest.er1 >conftest.err
61953   rm -f conftest.er1
61954   cat conftest.err >&5
61955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61956   (exit $ac_status); } &&
61957          { ac_try='test -z "$ac_c_werror_flag"
61958                          || test ! -s conftest.err'
61959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960   (eval $ac_try) 2>&5
61961   ac_status=$?
61962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963   (exit $ac_status); }; } &&
61964          { ac_try='test -s conftest$ac_exeext'
61965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61966   (eval $ac_try) 2>&5
61967   ac_status=$?
61968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61969   (exit $ac_status); }; }; then
61970   glibcxx_cv_func___builtin_fabsl_link=yes
61971 else
61972   echo "$as_me: failed program was:" >&5
61973 sed 's/^/| /' conftest.$ac_ext >&5
61974
61975 glibcxx_cv_func___builtin_fabsl_link=no
61976 fi
61977 rm -f conftest.err conftest.$ac_objext \
61978       conftest$ac_exeext conftest.$ac_ext
61979
61980 fi
61981
61982     fi
61983     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61984 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61985
61986     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61987
61988 cat >>confdefs.h <<\_ACEOF
61989 #define HAVE___BUILTIN_FABSL 1
61990 _ACEOF
61991
61992     fi
61993
61994   fi
61995
61996
61997   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61998 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61999   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
62000     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
62001   echo $ECHO_N "(cached) $ECHO_C" >&6
62002 else
62003
62004
62005
62006       ac_ext=cc
62007 ac_cpp='$CXXCPP $CPPFLAGS'
62008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62011
62012       cat >conftest.$ac_ext <<_ACEOF
62013 /* confdefs.h.  */
62014 _ACEOF
62015 cat confdefs.h >>conftest.$ac_ext
62016 cat >>conftest.$ac_ext <<_ACEOF
62017 /* end confdefs.h.  */
62018 #include <math.h>
62019 int
62020 main ()
62021 {
62022  __builtin_labs(0);
62023   ;
62024   return 0;
62025 }
62026 _ACEOF
62027 rm -f conftest.$ac_objext
62028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62029   (eval $ac_compile) 2>conftest.er1
62030   ac_status=$?
62031   grep -v '^ *+' conftest.er1 >conftest.err
62032   rm -f conftest.er1
62033   cat conftest.err >&5
62034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035   (exit $ac_status); } &&
62036          { ac_try='test -z "$ac_cxx_werror_flag"
62037                          || test ! -s conftest.err'
62038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039   (eval $ac_try) 2>&5
62040   ac_status=$?
62041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042   (exit $ac_status); }; } &&
62043          { ac_try='test -s conftest.$ac_objext'
62044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62045   (eval $ac_try) 2>&5
62046   ac_status=$?
62047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62048   (exit $ac_status); }; }; then
62049   glibcxx_cv_func___builtin_labs_use=yes
62050 else
62051   echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62053
62054 glibcxx_cv_func___builtin_labs_use=no
62055 fi
62056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62057       ac_ext=c
62058 ac_cpp='$CPP $CPPFLAGS'
62059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62062
62063
62064 fi
62065
62066   fi
62067   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
62068 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
62069   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
62070     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
62071 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
62072     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
62073       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
62074   echo $ECHO_N "(cached) $ECHO_C" >&6
62075 else
62076
62077         if test x$gcc_no_link = xyes; then
62078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62080    { (exit 1); exit 1; }; }
62081 fi
62082 cat >conftest.$ac_ext <<_ACEOF
62083 /* confdefs.h.  */
62084 _ACEOF
62085 cat confdefs.h >>conftest.$ac_ext
62086 cat >>conftest.$ac_ext <<_ACEOF
62087 /* end confdefs.h.  */
62088 #include <math.h>
62089 int
62090 main ()
62091 {
62092  __builtin_labs(0);
62093   ;
62094   return 0;
62095 }
62096 _ACEOF
62097 rm -f conftest.$ac_objext conftest$ac_exeext
62098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62099   (eval $ac_link) 2>conftest.er1
62100   ac_status=$?
62101   grep -v '^ *+' conftest.er1 >conftest.err
62102   rm -f conftest.er1
62103   cat conftest.err >&5
62104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62105   (exit $ac_status); } &&
62106          { ac_try='test -z "$ac_c_werror_flag"
62107                          || test ! -s conftest.err'
62108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62109   (eval $ac_try) 2>&5
62110   ac_status=$?
62111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62112   (exit $ac_status); }; } &&
62113          { ac_try='test -s conftest$ac_exeext'
62114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62115   (eval $ac_try) 2>&5
62116   ac_status=$?
62117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118   (exit $ac_status); }; }; then
62119   glibcxx_cv_func___builtin_labs_link=yes
62120 else
62121   echo "$as_me: failed program was:" >&5
62122 sed 's/^/| /' conftest.$ac_ext >&5
62123
62124 glibcxx_cv_func___builtin_labs_link=no
62125 fi
62126 rm -f conftest.err conftest.$ac_objext \
62127       conftest$ac_exeext conftest.$ac_ext
62128
62129 fi
62130
62131     fi
62132     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62133 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62134
62135     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62136
62137 cat >>confdefs.h <<\_ACEOF
62138 #define HAVE___BUILTIN_LABS 1
62139 _ACEOF
62140
62141     fi
62142
62143   fi
62144
62145
62146
62147   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62148 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62149   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62150     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62151   echo $ECHO_N "(cached) $ECHO_C" >&6
62152 else
62153
62154
62155
62156       ac_ext=cc
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161
62162       cat >conftest.$ac_ext <<_ACEOF
62163 /* confdefs.h.  */
62164 _ACEOF
62165 cat confdefs.h >>conftest.$ac_ext
62166 cat >>conftest.$ac_ext <<_ACEOF
62167 /* end confdefs.h.  */
62168 #include <math.h>
62169 int
62170 main ()
62171 {
62172  __builtin_sqrtf(0);
62173   ;
62174   return 0;
62175 }
62176 _ACEOF
62177 rm -f conftest.$ac_objext
62178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62179   (eval $ac_compile) 2>conftest.er1
62180   ac_status=$?
62181   grep -v '^ *+' conftest.er1 >conftest.err
62182   rm -f conftest.er1
62183   cat conftest.err >&5
62184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185   (exit $ac_status); } &&
62186          { ac_try='test -z "$ac_cxx_werror_flag"
62187                          || test ! -s conftest.err'
62188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189   (eval $ac_try) 2>&5
62190   ac_status=$?
62191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192   (exit $ac_status); }; } &&
62193          { ac_try='test -s conftest.$ac_objext'
62194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195   (eval $ac_try) 2>&5
62196   ac_status=$?
62197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198   (exit $ac_status); }; }; then
62199   glibcxx_cv_func___builtin_sqrtf_use=yes
62200 else
62201   echo "$as_me: failed program was:" >&5
62202 sed 's/^/| /' conftest.$ac_ext >&5
62203
62204 glibcxx_cv_func___builtin_sqrtf_use=no
62205 fi
62206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62207       ac_ext=c
62208 ac_cpp='$CPP $CPPFLAGS'
62209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62212
62213
62214 fi
62215
62216   fi
62217   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62219   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62220     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62221 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62222     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62223       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62224   echo $ECHO_N "(cached) $ECHO_C" >&6
62225 else
62226
62227         if test x$gcc_no_link = xyes; then
62228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62230    { (exit 1); exit 1; }; }
62231 fi
62232 cat >conftest.$ac_ext <<_ACEOF
62233 /* confdefs.h.  */
62234 _ACEOF
62235 cat confdefs.h >>conftest.$ac_ext
62236 cat >>conftest.$ac_ext <<_ACEOF
62237 /* end confdefs.h.  */
62238 #include <math.h>
62239 int
62240 main ()
62241 {
62242  __builtin_sqrtf(0);
62243   ;
62244   return 0;
62245 }
62246 _ACEOF
62247 rm -f conftest.$ac_objext conftest$ac_exeext
62248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62249   (eval $ac_link) 2>conftest.er1
62250   ac_status=$?
62251   grep -v '^ *+' conftest.er1 >conftest.err
62252   rm -f conftest.er1
62253   cat conftest.err >&5
62254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62255   (exit $ac_status); } &&
62256          { ac_try='test -z "$ac_c_werror_flag"
62257                          || test ! -s conftest.err'
62258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62259   (eval $ac_try) 2>&5
62260   ac_status=$?
62261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62262   (exit $ac_status); }; } &&
62263          { ac_try='test -s conftest$ac_exeext'
62264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62265   (eval $ac_try) 2>&5
62266   ac_status=$?
62267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62268   (exit $ac_status); }; }; then
62269   glibcxx_cv_func___builtin_sqrtf_link=yes
62270 else
62271   echo "$as_me: failed program was:" >&5
62272 sed 's/^/| /' conftest.$ac_ext >&5
62273
62274 glibcxx_cv_func___builtin_sqrtf_link=no
62275 fi
62276 rm -f conftest.err conftest.$ac_objext \
62277       conftest$ac_exeext conftest.$ac_ext
62278
62279 fi
62280
62281     fi
62282     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62284
62285     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62286
62287 cat >>confdefs.h <<\_ACEOF
62288 #define HAVE___BUILTIN_SQRTF 1
62289 _ACEOF
62290
62291     fi
62292
62293   fi
62294
62295
62296   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62297 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62298   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62299     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62300   echo $ECHO_N "(cached) $ECHO_C" >&6
62301 else
62302
62303
62304
62305       ac_ext=cc
62306 ac_cpp='$CXXCPP $CPPFLAGS'
62307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62310
62311       cat >conftest.$ac_ext <<_ACEOF
62312 /* confdefs.h.  */
62313 _ACEOF
62314 cat confdefs.h >>conftest.$ac_ext
62315 cat >>conftest.$ac_ext <<_ACEOF
62316 /* end confdefs.h.  */
62317 #include <math.h>
62318 int
62319 main ()
62320 {
62321  __builtin_sqrt(0);
62322   ;
62323   return 0;
62324 }
62325 _ACEOF
62326 rm -f conftest.$ac_objext
62327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62328   (eval $ac_compile) 2>conftest.er1
62329   ac_status=$?
62330   grep -v '^ *+' conftest.er1 >conftest.err
62331   rm -f conftest.er1
62332   cat conftest.err >&5
62333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334   (exit $ac_status); } &&
62335          { ac_try='test -z "$ac_cxx_werror_flag"
62336                          || test ! -s conftest.err'
62337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62338   (eval $ac_try) 2>&5
62339   ac_status=$?
62340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62341   (exit $ac_status); }; } &&
62342          { ac_try='test -s conftest.$ac_objext'
62343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62344   (eval $ac_try) 2>&5
62345   ac_status=$?
62346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62347   (exit $ac_status); }; }; then
62348   glibcxx_cv_func___builtin_sqrt_use=yes
62349 else
62350   echo "$as_me: failed program was:" >&5
62351 sed 's/^/| /' conftest.$ac_ext >&5
62352
62353 glibcxx_cv_func___builtin_sqrt_use=no
62354 fi
62355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62356       ac_ext=c
62357 ac_cpp='$CPP $CPPFLAGS'
62358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62361
62362
62363 fi
62364
62365   fi
62366   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62367 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62368   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62369     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62370 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62371     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62372       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62373   echo $ECHO_N "(cached) $ECHO_C" >&6
62374 else
62375
62376         if test x$gcc_no_link = xyes; then
62377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62379    { (exit 1); exit 1; }; }
62380 fi
62381 cat >conftest.$ac_ext <<_ACEOF
62382 /* confdefs.h.  */
62383 _ACEOF
62384 cat confdefs.h >>conftest.$ac_ext
62385 cat >>conftest.$ac_ext <<_ACEOF
62386 /* end confdefs.h.  */
62387 #include <math.h>
62388 int
62389 main ()
62390 {
62391  __builtin_sqrt(0);
62392   ;
62393   return 0;
62394 }
62395 _ACEOF
62396 rm -f conftest.$ac_objext conftest$ac_exeext
62397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62398   (eval $ac_link) 2>conftest.er1
62399   ac_status=$?
62400   grep -v '^ *+' conftest.er1 >conftest.err
62401   rm -f conftest.er1
62402   cat conftest.err >&5
62403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62404   (exit $ac_status); } &&
62405          { ac_try='test -z "$ac_c_werror_flag"
62406                          || test ! -s conftest.err'
62407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62408   (eval $ac_try) 2>&5
62409   ac_status=$?
62410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411   (exit $ac_status); }; } &&
62412          { ac_try='test -s conftest$ac_exeext'
62413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62414   (eval $ac_try) 2>&5
62415   ac_status=$?
62416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417   (exit $ac_status); }; }; then
62418   glibcxx_cv_func___builtin_sqrt_link=yes
62419 else
62420   echo "$as_me: failed program was:" >&5
62421 sed 's/^/| /' conftest.$ac_ext >&5
62422
62423 glibcxx_cv_func___builtin_sqrt_link=no
62424 fi
62425 rm -f conftest.err conftest.$ac_objext \
62426       conftest$ac_exeext conftest.$ac_ext
62427
62428 fi
62429
62430     fi
62431     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62432 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62433
62434     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62435
62436 cat >>confdefs.h <<\_ACEOF
62437 #define HAVE___BUILTIN_SQRT 1
62438 _ACEOF
62439
62440     fi
62441
62442   fi
62443
62444
62445   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62446 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62447   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62448     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62449   echo $ECHO_N "(cached) $ECHO_C" >&6
62450 else
62451
62452
62453
62454       ac_ext=cc
62455 ac_cpp='$CXXCPP $CPPFLAGS'
62456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62459
62460       cat >conftest.$ac_ext <<_ACEOF
62461 /* confdefs.h.  */
62462 _ACEOF
62463 cat confdefs.h >>conftest.$ac_ext
62464 cat >>conftest.$ac_ext <<_ACEOF
62465 /* end confdefs.h.  */
62466 #include <math.h>
62467 int
62468 main ()
62469 {
62470  __builtin_sqrtl(0);
62471   ;
62472   return 0;
62473 }
62474 _ACEOF
62475 rm -f conftest.$ac_objext
62476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62477   (eval $ac_compile) 2>conftest.er1
62478   ac_status=$?
62479   grep -v '^ *+' conftest.er1 >conftest.err
62480   rm -f conftest.er1
62481   cat conftest.err >&5
62482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483   (exit $ac_status); } &&
62484          { ac_try='test -z "$ac_cxx_werror_flag"
62485                          || test ! -s conftest.err'
62486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62487   (eval $ac_try) 2>&5
62488   ac_status=$?
62489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62490   (exit $ac_status); }; } &&
62491          { ac_try='test -s conftest.$ac_objext'
62492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62493   (eval $ac_try) 2>&5
62494   ac_status=$?
62495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62496   (exit $ac_status); }; }; then
62497   glibcxx_cv_func___builtin_sqrtl_use=yes
62498 else
62499   echo "$as_me: failed program was:" >&5
62500 sed 's/^/| /' conftest.$ac_ext >&5
62501
62502 glibcxx_cv_func___builtin_sqrtl_use=no
62503 fi
62504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62505       ac_ext=c
62506 ac_cpp='$CPP $CPPFLAGS'
62507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62510
62511
62512 fi
62513
62514   fi
62515   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62516 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62517   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62518     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62519 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62520     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62521       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62522   echo $ECHO_N "(cached) $ECHO_C" >&6
62523 else
62524
62525         if test x$gcc_no_link = xyes; then
62526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62528    { (exit 1); exit 1; }; }
62529 fi
62530 cat >conftest.$ac_ext <<_ACEOF
62531 /* confdefs.h.  */
62532 _ACEOF
62533 cat confdefs.h >>conftest.$ac_ext
62534 cat >>conftest.$ac_ext <<_ACEOF
62535 /* end confdefs.h.  */
62536 #include <math.h>
62537 int
62538 main ()
62539 {
62540  __builtin_sqrtl(0);
62541   ;
62542   return 0;
62543 }
62544 _ACEOF
62545 rm -f conftest.$ac_objext conftest$ac_exeext
62546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62547   (eval $ac_link) 2>conftest.er1
62548   ac_status=$?
62549   grep -v '^ *+' conftest.er1 >conftest.err
62550   rm -f conftest.er1
62551   cat conftest.err >&5
62552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62553   (exit $ac_status); } &&
62554          { ac_try='test -z "$ac_c_werror_flag"
62555                          || test ! -s conftest.err'
62556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62557   (eval $ac_try) 2>&5
62558   ac_status=$?
62559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560   (exit $ac_status); }; } &&
62561          { ac_try='test -s conftest$ac_exeext'
62562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62563   (eval $ac_try) 2>&5
62564   ac_status=$?
62565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62566   (exit $ac_status); }; }; then
62567   glibcxx_cv_func___builtin_sqrtl_link=yes
62568 else
62569   echo "$as_me: failed program was:" >&5
62570 sed 's/^/| /' conftest.$ac_ext >&5
62571
62572 glibcxx_cv_func___builtin_sqrtl_link=no
62573 fi
62574 rm -f conftest.err conftest.$ac_objext \
62575       conftest$ac_exeext conftest.$ac_ext
62576
62577 fi
62578
62579     fi
62580     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62581 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62582
62583     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62584
62585 cat >>confdefs.h <<\_ACEOF
62586 #define HAVE___BUILTIN_SQRTL 1
62587 _ACEOF
62588
62589     fi
62590
62591   fi
62592
62593
62594
62595   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62596 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62597   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62598     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62599   echo $ECHO_N "(cached) $ECHO_C" >&6
62600 else
62601
62602
62603
62604       ac_ext=cc
62605 ac_cpp='$CXXCPP $CPPFLAGS'
62606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62609
62610       cat >conftest.$ac_ext <<_ACEOF
62611 /* confdefs.h.  */
62612 _ACEOF
62613 cat confdefs.h >>conftest.$ac_ext
62614 cat >>conftest.$ac_ext <<_ACEOF
62615 /* end confdefs.h.  */
62616 #include <math.h>
62617 int
62618 main ()
62619 {
62620  __builtin_sinf(0);
62621   ;
62622   return 0;
62623 }
62624 _ACEOF
62625 rm -f conftest.$ac_objext
62626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62627   (eval $ac_compile) 2>conftest.er1
62628   ac_status=$?
62629   grep -v '^ *+' conftest.er1 >conftest.err
62630   rm -f conftest.er1
62631   cat conftest.err >&5
62632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633   (exit $ac_status); } &&
62634          { ac_try='test -z "$ac_cxx_werror_flag"
62635                          || test ! -s conftest.err'
62636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62637   (eval $ac_try) 2>&5
62638   ac_status=$?
62639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62640   (exit $ac_status); }; } &&
62641          { ac_try='test -s conftest.$ac_objext'
62642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62643   (eval $ac_try) 2>&5
62644   ac_status=$?
62645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62646   (exit $ac_status); }; }; then
62647   glibcxx_cv_func___builtin_sinf_use=yes
62648 else
62649   echo "$as_me: failed program was:" >&5
62650 sed 's/^/| /' conftest.$ac_ext >&5
62651
62652 glibcxx_cv_func___builtin_sinf_use=no
62653 fi
62654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62655       ac_ext=c
62656 ac_cpp='$CPP $CPPFLAGS'
62657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62660
62661
62662 fi
62663
62664   fi
62665   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62666 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62667   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62668     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62669 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62670     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62671       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62672   echo $ECHO_N "(cached) $ECHO_C" >&6
62673 else
62674
62675         if test x$gcc_no_link = xyes; then
62676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62678    { (exit 1); exit 1; }; }
62679 fi
62680 cat >conftest.$ac_ext <<_ACEOF
62681 /* confdefs.h.  */
62682 _ACEOF
62683 cat confdefs.h >>conftest.$ac_ext
62684 cat >>conftest.$ac_ext <<_ACEOF
62685 /* end confdefs.h.  */
62686 #include <math.h>
62687 int
62688 main ()
62689 {
62690  __builtin_sinf(0);
62691   ;
62692   return 0;
62693 }
62694 _ACEOF
62695 rm -f conftest.$ac_objext conftest$ac_exeext
62696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62697   (eval $ac_link) 2>conftest.er1
62698   ac_status=$?
62699   grep -v '^ *+' conftest.er1 >conftest.err
62700   rm -f conftest.er1
62701   cat conftest.err >&5
62702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62703   (exit $ac_status); } &&
62704          { ac_try='test -z "$ac_c_werror_flag"
62705                          || test ! -s conftest.err'
62706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62707   (eval $ac_try) 2>&5
62708   ac_status=$?
62709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710   (exit $ac_status); }; } &&
62711          { ac_try='test -s conftest$ac_exeext'
62712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62713   (eval $ac_try) 2>&5
62714   ac_status=$?
62715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62716   (exit $ac_status); }; }; then
62717   glibcxx_cv_func___builtin_sinf_link=yes
62718 else
62719   echo "$as_me: failed program was:" >&5
62720 sed 's/^/| /' conftest.$ac_ext >&5
62721
62722 glibcxx_cv_func___builtin_sinf_link=no
62723 fi
62724 rm -f conftest.err conftest.$ac_objext \
62725       conftest$ac_exeext conftest.$ac_ext
62726
62727 fi
62728
62729     fi
62730     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62732
62733     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62734
62735 cat >>confdefs.h <<\_ACEOF
62736 #define HAVE___BUILTIN_SINF 1
62737 _ACEOF
62738
62739     fi
62740
62741   fi
62742
62743
62744   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62745 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62746   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62747     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62748   echo $ECHO_N "(cached) $ECHO_C" >&6
62749 else
62750
62751
62752
62753       ac_ext=cc
62754 ac_cpp='$CXXCPP $CPPFLAGS'
62755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62758
62759       cat >conftest.$ac_ext <<_ACEOF
62760 /* confdefs.h.  */
62761 _ACEOF
62762 cat confdefs.h >>conftest.$ac_ext
62763 cat >>conftest.$ac_ext <<_ACEOF
62764 /* end confdefs.h.  */
62765 #include <math.h>
62766 int
62767 main ()
62768 {
62769  __builtin_sin(0);
62770   ;
62771   return 0;
62772 }
62773 _ACEOF
62774 rm -f conftest.$ac_objext
62775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62776   (eval $ac_compile) 2>conftest.er1
62777   ac_status=$?
62778   grep -v '^ *+' conftest.er1 >conftest.err
62779   rm -f conftest.er1
62780   cat conftest.err >&5
62781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782   (exit $ac_status); } &&
62783          { ac_try='test -z "$ac_cxx_werror_flag"
62784                          || test ! -s conftest.err'
62785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62786   (eval $ac_try) 2>&5
62787   ac_status=$?
62788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62789   (exit $ac_status); }; } &&
62790          { ac_try='test -s conftest.$ac_objext'
62791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62792   (eval $ac_try) 2>&5
62793   ac_status=$?
62794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62795   (exit $ac_status); }; }; then
62796   glibcxx_cv_func___builtin_sin_use=yes
62797 else
62798   echo "$as_me: failed program was:" >&5
62799 sed 's/^/| /' conftest.$ac_ext >&5
62800
62801 glibcxx_cv_func___builtin_sin_use=no
62802 fi
62803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62804       ac_ext=c
62805 ac_cpp='$CPP $CPPFLAGS'
62806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62809
62810
62811 fi
62812
62813   fi
62814   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62815 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62816   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62817     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62818 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62819     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62820       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62821   echo $ECHO_N "(cached) $ECHO_C" >&6
62822 else
62823
62824         if test x$gcc_no_link = xyes; then
62825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62827    { (exit 1); exit 1; }; }
62828 fi
62829 cat >conftest.$ac_ext <<_ACEOF
62830 /* confdefs.h.  */
62831 _ACEOF
62832 cat confdefs.h >>conftest.$ac_ext
62833 cat >>conftest.$ac_ext <<_ACEOF
62834 /* end confdefs.h.  */
62835 #include <math.h>
62836 int
62837 main ()
62838 {
62839  __builtin_sin(0);
62840   ;
62841   return 0;
62842 }
62843 _ACEOF
62844 rm -f conftest.$ac_objext conftest$ac_exeext
62845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62846   (eval $ac_link) 2>conftest.er1
62847   ac_status=$?
62848   grep -v '^ *+' conftest.er1 >conftest.err
62849   rm -f conftest.er1
62850   cat conftest.err >&5
62851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62852   (exit $ac_status); } &&
62853          { ac_try='test -z "$ac_c_werror_flag"
62854                          || test ! -s conftest.err'
62855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62856   (eval $ac_try) 2>&5
62857   ac_status=$?
62858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62859   (exit $ac_status); }; } &&
62860          { ac_try='test -s conftest$ac_exeext'
62861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62862   (eval $ac_try) 2>&5
62863   ac_status=$?
62864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865   (exit $ac_status); }; }; then
62866   glibcxx_cv_func___builtin_sin_link=yes
62867 else
62868   echo "$as_me: failed program was:" >&5
62869 sed 's/^/| /' conftest.$ac_ext >&5
62870
62871 glibcxx_cv_func___builtin_sin_link=no
62872 fi
62873 rm -f conftest.err conftest.$ac_objext \
62874       conftest$ac_exeext conftest.$ac_ext
62875
62876 fi
62877
62878     fi
62879     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62881
62882     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62883
62884 cat >>confdefs.h <<\_ACEOF
62885 #define HAVE___BUILTIN_SIN 1
62886 _ACEOF
62887
62888     fi
62889
62890   fi
62891
62892
62893   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62894 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62895   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62896     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62897   echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62899
62900
62901
62902       ac_ext=cc
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62907
62908       cat >conftest.$ac_ext <<_ACEOF
62909 /* confdefs.h.  */
62910 _ACEOF
62911 cat confdefs.h >>conftest.$ac_ext
62912 cat >>conftest.$ac_ext <<_ACEOF
62913 /* end confdefs.h.  */
62914 #include <math.h>
62915 int
62916 main ()
62917 {
62918  __builtin_sinl(0);
62919   ;
62920   return 0;
62921 }
62922 _ACEOF
62923 rm -f conftest.$ac_objext
62924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62925   (eval $ac_compile) 2>conftest.er1
62926   ac_status=$?
62927   grep -v '^ *+' conftest.er1 >conftest.err
62928   rm -f conftest.er1
62929   cat conftest.err >&5
62930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62931   (exit $ac_status); } &&
62932          { ac_try='test -z "$ac_cxx_werror_flag"
62933                          || test ! -s conftest.err'
62934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62935   (eval $ac_try) 2>&5
62936   ac_status=$?
62937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62938   (exit $ac_status); }; } &&
62939          { ac_try='test -s conftest.$ac_objext'
62940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62941   (eval $ac_try) 2>&5
62942   ac_status=$?
62943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62944   (exit $ac_status); }; }; then
62945   glibcxx_cv_func___builtin_sinl_use=yes
62946 else
62947   echo "$as_me: failed program was:" >&5
62948 sed 's/^/| /' conftest.$ac_ext >&5
62949
62950 glibcxx_cv_func___builtin_sinl_use=no
62951 fi
62952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62953       ac_ext=c
62954 ac_cpp='$CPP $CPPFLAGS'
62955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62958
62959
62960 fi
62961
62962   fi
62963   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62964 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62965   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62966     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62967 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62968     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62969       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62970   echo $ECHO_N "(cached) $ECHO_C" >&6
62971 else
62972
62973         if test x$gcc_no_link = xyes; then
62974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976    { (exit 1); exit 1; }; }
62977 fi
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h.  */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h.  */
62984 #include <math.h>
62985 int
62986 main ()
62987 {
62988  __builtin_sinl(0);
62989   ;
62990   return 0;
62991 }
62992 _ACEOF
62993 rm -f conftest.$ac_objext conftest$ac_exeext
62994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62995   (eval $ac_link) 2>conftest.er1
62996   ac_status=$?
62997   grep -v '^ *+' conftest.er1 >conftest.err
62998   rm -f conftest.er1
62999   cat conftest.err >&5
63000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63001   (exit $ac_status); } &&
63002          { ac_try='test -z "$ac_c_werror_flag"
63003                          || test ! -s conftest.err'
63004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63005   (eval $ac_try) 2>&5
63006   ac_status=$?
63007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63008   (exit $ac_status); }; } &&
63009          { ac_try='test -s conftest$ac_exeext'
63010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63011   (eval $ac_try) 2>&5
63012   ac_status=$?
63013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63014   (exit $ac_status); }; }; then
63015   glibcxx_cv_func___builtin_sinl_link=yes
63016 else
63017   echo "$as_me: failed program was:" >&5
63018 sed 's/^/| /' conftest.$ac_ext >&5
63019
63020 glibcxx_cv_func___builtin_sinl_link=no
63021 fi
63022 rm -f conftest.err conftest.$ac_objext \
63023       conftest$ac_exeext conftest.$ac_ext
63024
63025 fi
63026
63027     fi
63028     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
63029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
63030
63031     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
63032
63033 cat >>confdefs.h <<\_ACEOF
63034 #define HAVE___BUILTIN_SINL 1
63035 _ACEOF
63036
63037     fi
63038
63039   fi
63040
63041
63042
63043   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
63044 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
63045   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
63046     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
63047   echo $ECHO_N "(cached) $ECHO_C" >&6
63048 else
63049
63050
63051
63052       ac_ext=cc
63053 ac_cpp='$CXXCPP $CPPFLAGS'
63054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63057
63058       cat >conftest.$ac_ext <<_ACEOF
63059 /* confdefs.h.  */
63060 _ACEOF
63061 cat confdefs.h >>conftest.$ac_ext
63062 cat >>conftest.$ac_ext <<_ACEOF
63063 /* end confdefs.h.  */
63064 #include <math.h>
63065 int
63066 main ()
63067 {
63068  __builtin_cosf(0);
63069   ;
63070   return 0;
63071 }
63072 _ACEOF
63073 rm -f conftest.$ac_objext
63074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63075   (eval $ac_compile) 2>conftest.er1
63076   ac_status=$?
63077   grep -v '^ *+' conftest.er1 >conftest.err
63078   rm -f conftest.er1
63079   cat conftest.err >&5
63080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63081   (exit $ac_status); } &&
63082          { ac_try='test -z "$ac_cxx_werror_flag"
63083                          || test ! -s conftest.err'
63084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63085   (eval $ac_try) 2>&5
63086   ac_status=$?
63087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63088   (exit $ac_status); }; } &&
63089          { ac_try='test -s conftest.$ac_objext'
63090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63091   (eval $ac_try) 2>&5
63092   ac_status=$?
63093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63094   (exit $ac_status); }; }; then
63095   glibcxx_cv_func___builtin_cosf_use=yes
63096 else
63097   echo "$as_me: failed program was:" >&5
63098 sed 's/^/| /' conftest.$ac_ext >&5
63099
63100 glibcxx_cv_func___builtin_cosf_use=no
63101 fi
63102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63103       ac_ext=c
63104 ac_cpp='$CPP $CPPFLAGS'
63105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63108
63109
63110 fi
63111
63112   fi
63113   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
63114 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
63115   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
63116     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
63117 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
63118     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
63119       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
63120   echo $ECHO_N "(cached) $ECHO_C" >&6
63121 else
63122
63123         if test x$gcc_no_link = xyes; then
63124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63126    { (exit 1); exit 1; }; }
63127 fi
63128 cat >conftest.$ac_ext <<_ACEOF
63129 /* confdefs.h.  */
63130 _ACEOF
63131 cat confdefs.h >>conftest.$ac_ext
63132 cat >>conftest.$ac_ext <<_ACEOF
63133 /* end confdefs.h.  */
63134 #include <math.h>
63135 int
63136 main ()
63137 {
63138  __builtin_cosf(0);
63139   ;
63140   return 0;
63141 }
63142 _ACEOF
63143 rm -f conftest.$ac_objext conftest$ac_exeext
63144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63145   (eval $ac_link) 2>conftest.er1
63146   ac_status=$?
63147   grep -v '^ *+' conftest.er1 >conftest.err
63148   rm -f conftest.er1
63149   cat conftest.err >&5
63150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63151   (exit $ac_status); } &&
63152          { ac_try='test -z "$ac_c_werror_flag"
63153                          || test ! -s conftest.err'
63154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63155   (eval $ac_try) 2>&5
63156   ac_status=$?
63157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63158   (exit $ac_status); }; } &&
63159          { ac_try='test -s conftest$ac_exeext'
63160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63161   (eval $ac_try) 2>&5
63162   ac_status=$?
63163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63164   (exit $ac_status); }; }; then
63165   glibcxx_cv_func___builtin_cosf_link=yes
63166 else
63167   echo "$as_me: failed program was:" >&5
63168 sed 's/^/| /' conftest.$ac_ext >&5
63169
63170 glibcxx_cv_func___builtin_cosf_link=no
63171 fi
63172 rm -f conftest.err conftest.$ac_objext \
63173       conftest$ac_exeext conftest.$ac_ext
63174
63175 fi
63176
63177     fi
63178     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
63179 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
63180
63181     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
63182
63183 cat >>confdefs.h <<\_ACEOF
63184 #define HAVE___BUILTIN_COSF 1
63185 _ACEOF
63186
63187     fi
63188
63189   fi
63190
63191
63192   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
63193 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
63194   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
63195     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
63196   echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63198
63199
63200
63201       ac_ext=cc
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63206
63207       cat >conftest.$ac_ext <<_ACEOF
63208 /* confdefs.h.  */
63209 _ACEOF
63210 cat confdefs.h >>conftest.$ac_ext
63211 cat >>conftest.$ac_ext <<_ACEOF
63212 /* end confdefs.h.  */
63213 #include <math.h>
63214 int
63215 main ()
63216 {
63217  __builtin_cos(0);
63218   ;
63219   return 0;
63220 }
63221 _ACEOF
63222 rm -f conftest.$ac_objext
63223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63224   (eval $ac_compile) 2>conftest.er1
63225   ac_status=$?
63226   grep -v '^ *+' conftest.er1 >conftest.err
63227   rm -f conftest.er1
63228   cat conftest.err >&5
63229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63230   (exit $ac_status); } &&
63231          { ac_try='test -z "$ac_cxx_werror_flag"
63232                          || test ! -s conftest.err'
63233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63234   (eval $ac_try) 2>&5
63235   ac_status=$?
63236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63237   (exit $ac_status); }; } &&
63238          { ac_try='test -s conftest.$ac_objext'
63239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63240   (eval $ac_try) 2>&5
63241   ac_status=$?
63242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63243   (exit $ac_status); }; }; then
63244   glibcxx_cv_func___builtin_cos_use=yes
63245 else
63246   echo "$as_me: failed program was:" >&5
63247 sed 's/^/| /' conftest.$ac_ext >&5
63248
63249 glibcxx_cv_func___builtin_cos_use=no
63250 fi
63251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63252       ac_ext=c
63253 ac_cpp='$CPP $CPPFLAGS'
63254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63257
63258
63259 fi
63260
63261   fi
63262   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63263 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63264   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63265     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63266 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63267     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63268       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63269   echo $ECHO_N "(cached) $ECHO_C" >&6
63270 else
63271
63272         if test x$gcc_no_link = xyes; then
63273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63275    { (exit 1); exit 1; }; }
63276 fi
63277 cat >conftest.$ac_ext <<_ACEOF
63278 /* confdefs.h.  */
63279 _ACEOF
63280 cat confdefs.h >>conftest.$ac_ext
63281 cat >>conftest.$ac_ext <<_ACEOF
63282 /* end confdefs.h.  */
63283 #include <math.h>
63284 int
63285 main ()
63286 {
63287  __builtin_cos(0);
63288   ;
63289   return 0;
63290 }
63291 _ACEOF
63292 rm -f conftest.$ac_objext conftest$ac_exeext
63293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63294   (eval $ac_link) 2>conftest.er1
63295   ac_status=$?
63296   grep -v '^ *+' conftest.er1 >conftest.err
63297   rm -f conftest.er1
63298   cat conftest.err >&5
63299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63300   (exit $ac_status); } &&
63301          { ac_try='test -z "$ac_c_werror_flag"
63302                          || test ! -s conftest.err'
63303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63304   (eval $ac_try) 2>&5
63305   ac_status=$?
63306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63307   (exit $ac_status); }; } &&
63308          { ac_try='test -s conftest$ac_exeext'
63309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63310   (eval $ac_try) 2>&5
63311   ac_status=$?
63312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313   (exit $ac_status); }; }; then
63314   glibcxx_cv_func___builtin_cos_link=yes
63315 else
63316   echo "$as_me: failed program was:" >&5
63317 sed 's/^/| /' conftest.$ac_ext >&5
63318
63319 glibcxx_cv_func___builtin_cos_link=no
63320 fi
63321 rm -f conftest.err conftest.$ac_objext \
63322       conftest$ac_exeext conftest.$ac_ext
63323
63324 fi
63325
63326     fi
63327     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63328 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63329
63330     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63331
63332 cat >>confdefs.h <<\_ACEOF
63333 #define HAVE___BUILTIN_COS 1
63334 _ACEOF
63335
63336     fi
63337
63338   fi
63339
63340
63341   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63342 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63343   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63344     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63345   echo $ECHO_N "(cached) $ECHO_C" >&6
63346 else
63347
63348
63349
63350       ac_ext=cc
63351 ac_cpp='$CXXCPP $CPPFLAGS'
63352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63355
63356       cat >conftest.$ac_ext <<_ACEOF
63357 /* confdefs.h.  */
63358 _ACEOF
63359 cat confdefs.h >>conftest.$ac_ext
63360 cat >>conftest.$ac_ext <<_ACEOF
63361 /* end confdefs.h.  */
63362 #include <math.h>
63363 int
63364 main ()
63365 {
63366  __builtin_cosl(0);
63367   ;
63368   return 0;
63369 }
63370 _ACEOF
63371 rm -f conftest.$ac_objext
63372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63373   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func___builtin_cosl_use=yes
63394 else
63395   echo "$as_me: failed program was:" >&5
63396 sed 's/^/| /' conftest.$ac_ext >&5
63397
63398 glibcxx_cv_func___builtin_cosl_use=no
63399 fi
63400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63401       ac_ext=c
63402 ac_cpp='$CPP $CPPFLAGS'
63403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63406
63407
63408 fi
63409
63410   fi
63411   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63412 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63413   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63414     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63415 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63416     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63417       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63418   echo $ECHO_N "(cached) $ECHO_C" >&6
63419 else
63420
63421         if test x$gcc_no_link = xyes; then
63422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63424    { (exit 1); exit 1; }; }
63425 fi
63426 cat >conftest.$ac_ext <<_ACEOF
63427 /* confdefs.h.  */
63428 _ACEOF
63429 cat confdefs.h >>conftest.$ac_ext
63430 cat >>conftest.$ac_ext <<_ACEOF
63431 /* end confdefs.h.  */
63432 #include <math.h>
63433 int
63434 main ()
63435 {
63436  __builtin_cosl(0);
63437   ;
63438   return 0;
63439 }
63440 _ACEOF
63441 rm -f conftest.$ac_objext conftest$ac_exeext
63442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63443   (eval $ac_link) 2>conftest.er1
63444   ac_status=$?
63445   grep -v '^ *+' conftest.er1 >conftest.err
63446   rm -f conftest.er1
63447   cat conftest.err >&5
63448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449   (exit $ac_status); } &&
63450          { ac_try='test -z "$ac_c_werror_flag"
63451                          || test ! -s conftest.err'
63452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63453   (eval $ac_try) 2>&5
63454   ac_status=$?
63455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63456   (exit $ac_status); }; } &&
63457          { ac_try='test -s conftest$ac_exeext'
63458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63459   (eval $ac_try) 2>&5
63460   ac_status=$?
63461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63462   (exit $ac_status); }; }; then
63463   glibcxx_cv_func___builtin_cosl_link=yes
63464 else
63465   echo "$as_me: failed program was:" >&5
63466 sed 's/^/| /' conftest.$ac_ext >&5
63467
63468 glibcxx_cv_func___builtin_cosl_link=no
63469 fi
63470 rm -f conftest.err conftest.$ac_objext \
63471       conftest$ac_exeext conftest.$ac_ext
63472
63473 fi
63474
63475     fi
63476     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63477 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63478
63479     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63480
63481 cat >>confdefs.h <<\_ACEOF
63482 #define HAVE___BUILTIN_COSL 1
63483 _ACEOF
63484
63485     fi
63486
63487   fi
63488
63489
63490
63491
63492 echo "$as_me:$LINENO: checking for main in -lm" >&5
63493 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63494 if test "${ac_cv_lib_m_main+set}" = set; then
63495   echo $ECHO_N "(cached) $ECHO_C" >&6
63496 else
63497   ac_check_lib_save_LIBS=$LIBS
63498 LIBS="-lm  $LIBS"
63499 if test x$gcc_no_link = xyes; then
63500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63502    { (exit 1); exit 1; }; }
63503 fi
63504 cat >conftest.$ac_ext <<_ACEOF
63505 /* confdefs.h.  */
63506 _ACEOF
63507 cat confdefs.h >>conftest.$ac_ext
63508 cat >>conftest.$ac_ext <<_ACEOF
63509 /* end confdefs.h.  */
63510
63511
63512 int
63513 main ()
63514 {
63515 main ();
63516   ;
63517   return 0;
63518 }
63519 _ACEOF
63520 rm -f conftest.$ac_objext conftest$ac_exeext
63521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63522   (eval $ac_link) 2>conftest.er1
63523   ac_status=$?
63524   grep -v '^ *+' conftest.er1 >conftest.err
63525   rm -f conftest.er1
63526   cat conftest.err >&5
63527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528   (exit $ac_status); } &&
63529          { ac_try='test -z "$ac_c_werror_flag"
63530                          || test ! -s conftest.err'
63531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63532   (eval $ac_try) 2>&5
63533   ac_status=$?
63534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535   (exit $ac_status); }; } &&
63536          { ac_try='test -s conftest$ac_exeext'
63537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63538   (eval $ac_try) 2>&5
63539   ac_status=$?
63540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63541   (exit $ac_status); }; }; then
63542   ac_cv_lib_m_main=yes
63543 else
63544   echo "$as_me: failed program was:" >&5
63545 sed 's/^/| /' conftest.$ac_ext >&5
63546
63547 ac_cv_lib_m_main=no
63548 fi
63549 rm -f conftest.err conftest.$ac_objext \
63550       conftest$ac_exeext conftest.$ac_ext
63551 LIBS=$ac_check_lib_save_LIBS
63552 fi
63553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63554 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63555 if test $ac_cv_lib_m_main = yes; then
63556   cat >>confdefs.h <<_ACEOF
63557 #define HAVE_LIBM 1
63558 _ACEOF
63559
63560   LIBS="-lm $LIBS"
63561
63562 fi
63563
63564
63565 for ac_func in copysignf
63566 do
63567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63568 echo "$as_me:$LINENO: checking for $ac_func" >&5
63569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63570 if eval "test \"\${$as_ac_var+set}\" = set"; then
63571   echo $ECHO_N "(cached) $ECHO_C" >&6
63572 else
63573   if test x$gcc_no_link = xyes; then
63574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63576    { (exit 1); exit 1; }; }
63577 fi
63578 cat >conftest.$ac_ext <<_ACEOF
63579 /* confdefs.h.  */
63580 _ACEOF
63581 cat confdefs.h >>conftest.$ac_ext
63582 cat >>conftest.$ac_ext <<_ACEOF
63583 /* end confdefs.h.  */
63584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63586 #define $ac_func innocuous_$ac_func
63587
63588 /* System header to define __stub macros and hopefully few prototypes,
63589     which can conflict with char $ac_func (); below.
63590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63591     <limits.h> exists even on freestanding compilers.  */
63592
63593 #ifdef __STDC__
63594 # include <limits.h>
63595 #else
63596 # include <assert.h>
63597 #endif
63598
63599 #undef $ac_func
63600
63601 /* Override any gcc2 internal prototype to avoid an error.  */
63602 #ifdef __cplusplus
63603 extern "C"
63604 {
63605 #endif
63606 /* We use char because int might match the return type of a gcc2
63607    builtin and then its argument prototype would still apply.  */
63608 char $ac_func ();
63609 /* The GNU C library defines this for functions which it implements
63610     to always fail with ENOSYS.  Some functions are actually named
63611     something starting with __ and the normal name is an alias.  */
63612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63613 choke me
63614 #else
63615 char (*f) () = $ac_func;
63616 #endif
63617 #ifdef __cplusplus
63618 }
63619 #endif
63620
63621 int
63622 main ()
63623 {
63624 return f != $ac_func;
63625   ;
63626   return 0;
63627 }
63628 _ACEOF
63629 rm -f conftest.$ac_objext conftest$ac_exeext
63630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63631   (eval $ac_link) 2>conftest.er1
63632   ac_status=$?
63633   grep -v '^ *+' conftest.er1 >conftest.err
63634   rm -f conftest.er1
63635   cat conftest.err >&5
63636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63637   (exit $ac_status); } &&
63638          { ac_try='test -z "$ac_c_werror_flag"
63639                          || test ! -s conftest.err'
63640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63641   (eval $ac_try) 2>&5
63642   ac_status=$?
63643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63644   (exit $ac_status); }; } &&
63645          { ac_try='test -s conftest$ac_exeext'
63646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63647   (eval $ac_try) 2>&5
63648   ac_status=$?
63649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63650   (exit $ac_status); }; }; then
63651   eval "$as_ac_var=yes"
63652 else
63653   echo "$as_me: failed program was:" >&5
63654 sed 's/^/| /' conftest.$ac_ext >&5
63655
63656 eval "$as_ac_var=no"
63657 fi
63658 rm -f conftest.err conftest.$ac_objext \
63659       conftest$ac_exeext conftest.$ac_ext
63660 fi
63661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63663 if test `eval echo '${'$as_ac_var'}'` = yes; then
63664   cat >>confdefs.h <<_ACEOF
63665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63666 _ACEOF
63667
63668 else
63669   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63670 fi
63671 done
63672
63673
63674
63675 for ac_func in __signbit
63676 do
63677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63678 echo "$as_me:$LINENO: checking for $ac_func" >&5
63679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63680 if eval "test \"\${$as_ac_var+set}\" = set"; then
63681   echo $ECHO_N "(cached) $ECHO_C" >&6
63682 else
63683   if test x$gcc_no_link = xyes; then
63684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63686    { (exit 1); exit 1; }; }
63687 fi
63688 cat >conftest.$ac_ext <<_ACEOF
63689 /* confdefs.h.  */
63690 _ACEOF
63691 cat confdefs.h >>conftest.$ac_ext
63692 cat >>conftest.$ac_ext <<_ACEOF
63693 /* end confdefs.h.  */
63694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63696 #define $ac_func innocuous_$ac_func
63697
63698 /* System header to define __stub macros and hopefully few prototypes,
63699     which can conflict with char $ac_func (); below.
63700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63701     <limits.h> exists even on freestanding compilers.  */
63702
63703 #ifdef __STDC__
63704 # include <limits.h>
63705 #else
63706 # include <assert.h>
63707 #endif
63708
63709 #undef $ac_func
63710
63711 /* Override any gcc2 internal prototype to avoid an error.  */
63712 #ifdef __cplusplus
63713 extern "C"
63714 {
63715 #endif
63716 /* We use char because int might match the return type of a gcc2
63717    builtin and then its argument prototype would still apply.  */
63718 char $ac_func ();
63719 /* The GNU C library defines this for functions which it implements
63720     to always fail with ENOSYS.  Some functions are actually named
63721     something starting with __ and the normal name is an alias.  */
63722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63723 choke me
63724 #else
63725 char (*f) () = $ac_func;
63726 #endif
63727 #ifdef __cplusplus
63728 }
63729 #endif
63730
63731 int
63732 main ()
63733 {
63734 return f != $ac_func;
63735   ;
63736   return 0;
63737 }
63738 _ACEOF
63739 rm -f conftest.$ac_objext conftest$ac_exeext
63740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63741   (eval $ac_link) 2>conftest.er1
63742   ac_status=$?
63743   grep -v '^ *+' conftest.er1 >conftest.err
63744   rm -f conftest.er1
63745   cat conftest.err >&5
63746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63747   (exit $ac_status); } &&
63748          { ac_try='test -z "$ac_c_werror_flag"
63749                          || test ! -s conftest.err'
63750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63751   (eval $ac_try) 2>&5
63752   ac_status=$?
63753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63754   (exit $ac_status); }; } &&
63755          { ac_try='test -s conftest$ac_exeext'
63756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63757   (eval $ac_try) 2>&5
63758   ac_status=$?
63759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63760   (exit $ac_status); }; }; then
63761   eval "$as_ac_var=yes"
63762 else
63763   echo "$as_me: failed program was:" >&5
63764 sed 's/^/| /' conftest.$ac_ext >&5
63765
63766 eval "$as_ac_var=no"
63767 fi
63768 rm -f conftest.err conftest.$ac_objext \
63769       conftest$ac_exeext conftest.$ac_ext
63770 fi
63771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63773 if test `eval echo '${'$as_ac_var'}'` = yes; then
63774   cat >>confdefs.h <<_ACEOF
63775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63776 _ACEOF
63777
63778 else
63779   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63780 fi
63781 done
63782
63783
63784
63785 for ac_func in __signbitf
63786 do
63787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63788 echo "$as_me:$LINENO: checking for $ac_func" >&5
63789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63790 if eval "test \"\${$as_ac_var+set}\" = set"; then
63791   echo $ECHO_N "(cached) $ECHO_C" >&6
63792 else
63793   if test x$gcc_no_link = xyes; then
63794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63796    { (exit 1); exit 1; }; }
63797 fi
63798 cat >conftest.$ac_ext <<_ACEOF
63799 /* confdefs.h.  */
63800 _ACEOF
63801 cat confdefs.h >>conftest.$ac_ext
63802 cat >>conftest.$ac_ext <<_ACEOF
63803 /* end confdefs.h.  */
63804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63806 #define $ac_func innocuous_$ac_func
63807
63808 /* System header to define __stub macros and hopefully few prototypes,
63809     which can conflict with char $ac_func (); below.
63810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63811     <limits.h> exists even on freestanding compilers.  */
63812
63813 #ifdef __STDC__
63814 # include <limits.h>
63815 #else
63816 # include <assert.h>
63817 #endif
63818
63819 #undef $ac_func
63820
63821 /* Override any gcc2 internal prototype to avoid an error.  */
63822 #ifdef __cplusplus
63823 extern "C"
63824 {
63825 #endif
63826 /* We use char because int might match the return type of a gcc2
63827    builtin and then its argument prototype would still apply.  */
63828 char $ac_func ();
63829 /* The GNU C library defines this for functions which it implements
63830     to always fail with ENOSYS.  Some functions are actually named
63831     something starting with __ and the normal name is an alias.  */
63832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63833 choke me
63834 #else
63835 char (*f) () = $ac_func;
63836 #endif
63837 #ifdef __cplusplus
63838 }
63839 #endif
63840
63841 int
63842 main ()
63843 {
63844 return f != $ac_func;
63845   ;
63846   return 0;
63847 }
63848 _ACEOF
63849 rm -f conftest.$ac_objext conftest$ac_exeext
63850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63851   (eval $ac_link) 2>conftest.er1
63852   ac_status=$?
63853   grep -v '^ *+' conftest.er1 >conftest.err
63854   rm -f conftest.er1
63855   cat conftest.err >&5
63856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857   (exit $ac_status); } &&
63858          { ac_try='test -z "$ac_c_werror_flag"
63859                          || test ! -s conftest.err'
63860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63861   (eval $ac_try) 2>&5
63862   ac_status=$?
63863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864   (exit $ac_status); }; } &&
63865          { ac_try='test -s conftest$ac_exeext'
63866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867   (eval $ac_try) 2>&5
63868   ac_status=$?
63869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870   (exit $ac_status); }; }; then
63871   eval "$as_ac_var=yes"
63872 else
63873   echo "$as_me: failed program was:" >&5
63874 sed 's/^/| /' conftest.$ac_ext >&5
63875
63876 eval "$as_ac_var=no"
63877 fi
63878 rm -f conftest.err conftest.$ac_objext \
63879       conftest$ac_exeext conftest.$ac_ext
63880 fi
63881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63883 if test `eval echo '${'$as_ac_var'}'` = yes; then
63884   cat >>confdefs.h <<_ACEOF
63885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63886 _ACEOF
63887
63888 else
63889   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63890 fi
63891 done
63892
63893
63894           if test x$ac_cv_func_copysignl = x"yes"; then
63895
63896 for ac_func in __signbitl
63897 do
63898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63899 echo "$as_me:$LINENO: checking for $ac_func" >&5
63900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63901 if eval "test \"\${$as_ac_var+set}\" = set"; then
63902   echo $ECHO_N "(cached) $ECHO_C" >&6
63903 else
63904   if test x$gcc_no_link = xyes; then
63905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63907    { (exit 1); exit 1; }; }
63908 fi
63909 cat >conftest.$ac_ext <<_ACEOF
63910 /* confdefs.h.  */
63911 _ACEOF
63912 cat confdefs.h >>conftest.$ac_ext
63913 cat >>conftest.$ac_ext <<_ACEOF
63914 /* end confdefs.h.  */
63915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63917 #define $ac_func innocuous_$ac_func
63918
63919 /* System header to define __stub macros and hopefully few prototypes,
63920     which can conflict with char $ac_func (); below.
63921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63922     <limits.h> exists even on freestanding compilers.  */
63923
63924 #ifdef __STDC__
63925 # include <limits.h>
63926 #else
63927 # include <assert.h>
63928 #endif
63929
63930 #undef $ac_func
63931
63932 /* Override any gcc2 internal prototype to avoid an error.  */
63933 #ifdef __cplusplus
63934 extern "C"
63935 {
63936 #endif
63937 /* We use char because int might match the return type of a gcc2
63938    builtin and then its argument prototype would still apply.  */
63939 char $ac_func ();
63940 /* The GNU C library defines this for functions which it implements
63941     to always fail with ENOSYS.  Some functions are actually named
63942     something starting with __ and the normal name is an alias.  */
63943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63944 choke me
63945 #else
63946 char (*f) () = $ac_func;
63947 #endif
63948 #ifdef __cplusplus
63949 }
63950 #endif
63951
63952 int
63953 main ()
63954 {
63955 return f != $ac_func;
63956   ;
63957   return 0;
63958 }
63959 _ACEOF
63960 rm -f conftest.$ac_objext conftest$ac_exeext
63961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63962   (eval $ac_link) 2>conftest.er1
63963   ac_status=$?
63964   grep -v '^ *+' conftest.er1 >conftest.err
63965   rm -f conftest.er1
63966   cat conftest.err >&5
63967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63968   (exit $ac_status); } &&
63969          { ac_try='test -z "$ac_c_werror_flag"
63970                          || test ! -s conftest.err'
63971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63972   (eval $ac_try) 2>&5
63973   ac_status=$?
63974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63975   (exit $ac_status); }; } &&
63976          { ac_try='test -s conftest$ac_exeext'
63977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63978   (eval $ac_try) 2>&5
63979   ac_status=$?
63980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63981   (exit $ac_status); }; }; then
63982   eval "$as_ac_var=yes"
63983 else
63984   echo "$as_me: failed program was:" >&5
63985 sed 's/^/| /' conftest.$ac_ext >&5
63986
63987 eval "$as_ac_var=no"
63988 fi
63989 rm -f conftest.err conftest.$ac_objext \
63990       conftest$ac_exeext conftest.$ac_ext
63991 fi
63992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63994 if test `eval echo '${'$as_ac_var'}'` = yes; then
63995   cat >>confdefs.h <<_ACEOF
63996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63997 _ACEOF
63998
63999 else
64000   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64001 fi
64002 done
64003
64004   fi
64005
64006   # Used in libmath/Makefile.am.
64007   if test -n "$LIBMATHOBJS"; then
64008     need_libmath=yes
64009   fi
64010
64011
64012
64013   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64014   ac_save_CXXFLAGS="$CXXFLAGS"
64015   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64016
64017
64018   echo "$as_me:$LINENO: checking for strtold declaration" >&5
64019 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64020   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64021     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64022   echo $ECHO_N "(cached) $ECHO_C" >&6
64023 else
64024
64025
64026
64027       ac_ext=cc
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64032
64033       cat >conftest.$ac_ext <<_ACEOF
64034 /* confdefs.h.  */
64035 _ACEOF
64036 cat confdefs.h >>conftest.$ac_ext
64037 cat >>conftest.$ac_ext <<_ACEOF
64038 /* end confdefs.h.  */
64039 #include <stdlib.h>
64040 int
64041 main ()
64042 {
64043  strtold(0, 0);
64044   ;
64045   return 0;
64046 }
64047 _ACEOF
64048 rm -f conftest.$ac_objext
64049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64050   (eval $ac_compile) 2>conftest.er1
64051   ac_status=$?
64052   grep -v '^ *+' conftest.er1 >conftest.err
64053   rm -f conftest.er1
64054   cat conftest.err >&5
64055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056   (exit $ac_status); } &&
64057          { ac_try='test -z "$ac_cxx_werror_flag"
64058                          || test ! -s conftest.err'
64059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060   (eval $ac_try) 2>&5
64061   ac_status=$?
64062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063   (exit $ac_status); }; } &&
64064          { ac_try='test -s conftest.$ac_objext'
64065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64066   (eval $ac_try) 2>&5
64067   ac_status=$?
64068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069   (exit $ac_status); }; }; then
64070   glibcxx_cv_func_strtold_use=yes
64071 else
64072   echo "$as_me: failed program was:" >&5
64073 sed 's/^/| /' conftest.$ac_ext >&5
64074
64075 glibcxx_cv_func_strtold_use=no
64076 fi
64077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64078       ac_ext=c
64079 ac_cpp='$CPP $CPPFLAGS'
64080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083
64084
64085 fi
64086
64087   fi
64088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
64089 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64090   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64091
64092 for ac_func in strtold
64093 do
64094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64095 echo "$as_me:$LINENO: checking for $ac_func" >&5
64096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64097 if eval "test \"\${$as_ac_var+set}\" = set"; then
64098   echo $ECHO_N "(cached) $ECHO_C" >&6
64099 else
64100   if test x$gcc_no_link = xyes; then
64101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64103    { (exit 1); exit 1; }; }
64104 fi
64105 cat >conftest.$ac_ext <<_ACEOF
64106 /* confdefs.h.  */
64107 _ACEOF
64108 cat confdefs.h >>conftest.$ac_ext
64109 cat >>conftest.$ac_ext <<_ACEOF
64110 /* end confdefs.h.  */
64111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64113 #define $ac_func innocuous_$ac_func
64114
64115 /* System header to define __stub macros and hopefully few prototypes,
64116     which can conflict with char $ac_func (); below.
64117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64118     <limits.h> exists even on freestanding compilers.  */
64119
64120 #ifdef __STDC__
64121 # include <limits.h>
64122 #else
64123 # include <assert.h>
64124 #endif
64125
64126 #undef $ac_func
64127
64128 /* Override any gcc2 internal prototype to avoid an error.  */
64129 #ifdef __cplusplus
64130 extern "C"
64131 {
64132 #endif
64133 /* We use char because int might match the return type of a gcc2
64134    builtin and then its argument prototype would still apply.  */
64135 char $ac_func ();
64136 /* The GNU C library defines this for functions which it implements
64137     to always fail with ENOSYS.  Some functions are actually named
64138     something starting with __ and the normal name is an alias.  */
64139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64140 choke me
64141 #else
64142 char (*f) () = $ac_func;
64143 #endif
64144 #ifdef __cplusplus
64145 }
64146 #endif
64147
64148 int
64149 main ()
64150 {
64151 return f != $ac_func;
64152   ;
64153   return 0;
64154 }
64155 _ACEOF
64156 rm -f conftest.$ac_objext conftest$ac_exeext
64157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64158   (eval $ac_link) 2>conftest.er1
64159   ac_status=$?
64160   grep -v '^ *+' conftest.er1 >conftest.err
64161   rm -f conftest.er1
64162   cat conftest.err >&5
64163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64164   (exit $ac_status); } &&
64165          { ac_try='test -z "$ac_c_werror_flag"
64166                          || test ! -s conftest.err'
64167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64168   (eval $ac_try) 2>&5
64169   ac_status=$?
64170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171   (exit $ac_status); }; } &&
64172          { ac_try='test -s conftest$ac_exeext'
64173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64174   (eval $ac_try) 2>&5
64175   ac_status=$?
64176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64177   (exit $ac_status); }; }; then
64178   eval "$as_ac_var=yes"
64179 else
64180   echo "$as_me: failed program was:" >&5
64181 sed 's/^/| /' conftest.$ac_ext >&5
64182
64183 eval "$as_ac_var=no"
64184 fi
64185 rm -f conftest.err conftest.$ac_objext \
64186       conftest$ac_exeext conftest.$ac_ext
64187 fi
64188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64190 if test `eval echo '${'$as_ac_var'}'` = yes; then
64191   cat >>confdefs.h <<_ACEOF
64192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64193 _ACEOF
64194
64195 fi
64196 done
64197
64198   fi
64199
64200
64201
64202
64203
64204   echo "$as_me:$LINENO: checking for strtof declaration" >&5
64205 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
64206   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64207     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
64208   echo $ECHO_N "(cached) $ECHO_C" >&6
64209 else
64210
64211
64212
64213       ac_ext=cc
64214 ac_cpp='$CXXCPP $CPPFLAGS'
64215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64218
64219       cat >conftest.$ac_ext <<_ACEOF
64220 /* confdefs.h.  */
64221 _ACEOF
64222 cat confdefs.h >>conftest.$ac_ext
64223 cat >>conftest.$ac_ext <<_ACEOF
64224 /* end confdefs.h.  */
64225 #include <stdlib.h>
64226 int
64227 main ()
64228 {
64229  strtof(0, 0);
64230   ;
64231   return 0;
64232 }
64233 _ACEOF
64234 rm -f conftest.$ac_objext
64235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64236   (eval $ac_compile) 2>conftest.er1
64237   ac_status=$?
64238   grep -v '^ *+' conftest.er1 >conftest.err
64239   rm -f conftest.er1
64240   cat conftest.err >&5
64241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242   (exit $ac_status); } &&
64243          { ac_try='test -z "$ac_cxx_werror_flag"
64244                          || test ! -s conftest.err'
64245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64246   (eval $ac_try) 2>&5
64247   ac_status=$?
64248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249   (exit $ac_status); }; } &&
64250          { ac_try='test -s conftest.$ac_objext'
64251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64252   (eval $ac_try) 2>&5
64253   ac_status=$?
64254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255   (exit $ac_status); }; }; then
64256   glibcxx_cv_func_strtof_use=yes
64257 else
64258   echo "$as_me: failed program was:" >&5
64259 sed 's/^/| /' conftest.$ac_ext >&5
64260
64261 glibcxx_cv_func_strtof_use=no
64262 fi
64263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64264       ac_ext=c
64265 ac_cpp='$CPP $CPPFLAGS'
64266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64269
64270
64271 fi
64272
64273   fi
64274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
64275 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
64276   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64277
64278 for ac_func in strtof
64279 do
64280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64281 echo "$as_me:$LINENO: checking for $ac_func" >&5
64282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64283 if eval "test \"\${$as_ac_var+set}\" = set"; then
64284   echo $ECHO_N "(cached) $ECHO_C" >&6
64285 else
64286   if test x$gcc_no_link = xyes; then
64287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64289    { (exit 1); exit 1; }; }
64290 fi
64291 cat >conftest.$ac_ext <<_ACEOF
64292 /* confdefs.h.  */
64293 _ACEOF
64294 cat confdefs.h >>conftest.$ac_ext
64295 cat >>conftest.$ac_ext <<_ACEOF
64296 /* end confdefs.h.  */
64297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64299 #define $ac_func innocuous_$ac_func
64300
64301 /* System header to define __stub macros and hopefully few prototypes,
64302     which can conflict with char $ac_func (); below.
64303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64304     <limits.h> exists even on freestanding compilers.  */
64305
64306 #ifdef __STDC__
64307 # include <limits.h>
64308 #else
64309 # include <assert.h>
64310 #endif
64311
64312 #undef $ac_func
64313
64314 /* Override any gcc2 internal prototype to avoid an error.  */
64315 #ifdef __cplusplus
64316 extern "C"
64317 {
64318 #endif
64319 /* We use char because int might match the return type of a gcc2
64320    builtin and then its argument prototype would still apply.  */
64321 char $ac_func ();
64322 /* The GNU C library defines this for functions which it implements
64323     to always fail with ENOSYS.  Some functions are actually named
64324     something starting with __ and the normal name is an alias.  */
64325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64326 choke me
64327 #else
64328 char (*f) () = $ac_func;
64329 #endif
64330 #ifdef __cplusplus
64331 }
64332 #endif
64333
64334 int
64335 main ()
64336 {
64337 return f != $ac_func;
64338   ;
64339   return 0;
64340 }
64341 _ACEOF
64342 rm -f conftest.$ac_objext conftest$ac_exeext
64343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64344   (eval $ac_link) 2>conftest.er1
64345   ac_status=$?
64346   grep -v '^ *+' conftest.er1 >conftest.err
64347   rm -f conftest.er1
64348   cat conftest.err >&5
64349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350   (exit $ac_status); } &&
64351          { ac_try='test -z "$ac_c_werror_flag"
64352                          || test ! -s conftest.err'
64353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64354   (eval $ac_try) 2>&5
64355   ac_status=$?
64356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64357   (exit $ac_status); }; } &&
64358          { ac_try='test -s conftest$ac_exeext'
64359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64360   (eval $ac_try) 2>&5
64361   ac_status=$?
64362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64363   (exit $ac_status); }; }; then
64364   eval "$as_ac_var=yes"
64365 else
64366   echo "$as_me: failed program was:" >&5
64367 sed 's/^/| /' conftest.$ac_ext >&5
64368
64369 eval "$as_ac_var=no"
64370 fi
64371 rm -f conftest.err conftest.$ac_objext \
64372       conftest$ac_exeext conftest.$ac_ext
64373 fi
64374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64376 if test `eval echo '${'$as_ac_var'}'` = yes; then
64377   cat >>confdefs.h <<_ACEOF
64378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64379 _ACEOF
64380
64381 fi
64382 done
64383
64384   fi
64385
64386
64387
64388
64389
64390   CXXFLAGS="$ac_save_CXXFLAGS"
64391
64392
64393   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
64394 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
64395   if test "${glibcxx_cv_S_ISREG+set}" = set; then
64396   echo $ECHO_N "(cached) $ECHO_C" >&6
64397 else
64398
64399     if test x$gcc_no_link = xyes; then
64400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64402    { (exit 1); exit 1; }; }
64403 fi
64404 cat >conftest.$ac_ext <<_ACEOF
64405 /* confdefs.h.  */
64406 _ACEOF
64407 cat confdefs.h >>conftest.$ac_ext
64408 cat >>conftest.$ac_ext <<_ACEOF
64409 /* end confdefs.h.  */
64410 #include <sys/stat.h>
64411 int
64412 main ()
64413 {
64414 struct stat buffer;
64415        fstat(0, &buffer);
64416        S_ISREG(buffer.st_mode);
64417   ;
64418   return 0;
64419 }
64420 _ACEOF
64421 rm -f conftest.$ac_objext conftest$ac_exeext
64422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64423   (eval $ac_link) 2>conftest.er1
64424   ac_status=$?
64425   grep -v '^ *+' conftest.er1 >conftest.err
64426   rm -f conftest.er1
64427   cat conftest.err >&5
64428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429   (exit $ac_status); } &&
64430          { ac_try='test -z "$ac_c_werror_flag"
64431                          || test ! -s conftest.err'
64432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64433   (eval $ac_try) 2>&5
64434   ac_status=$?
64435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436   (exit $ac_status); }; } &&
64437          { ac_try='test -s conftest$ac_exeext'
64438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64439   (eval $ac_try) 2>&5
64440   ac_status=$?
64441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64442   (exit $ac_status); }; }; then
64443   glibcxx_cv_S_ISREG=yes
64444 else
64445   echo "$as_me: failed program was:" >&5
64446 sed 's/^/| /' conftest.$ac_ext >&5
64447
64448 glibcxx_cv_S_ISREG=no
64449 fi
64450 rm -f conftest.err conftest.$ac_objext \
64451       conftest$ac_exeext conftest.$ac_ext
64452
64453 fi
64454
64455   if test "${glibcxx_cv_S_IFREG+set}" = set; then
64456   echo $ECHO_N "(cached) $ECHO_C" >&6
64457 else
64458
64459     if test x$gcc_no_link = xyes; then
64460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64462    { (exit 1); exit 1; }; }
64463 fi
64464 cat >conftest.$ac_ext <<_ACEOF
64465 /* confdefs.h.  */
64466 _ACEOF
64467 cat confdefs.h >>conftest.$ac_ext
64468 cat >>conftest.$ac_ext <<_ACEOF
64469 /* end confdefs.h.  */
64470 #include <sys/stat.h>
64471 int
64472 main ()
64473 {
64474 struct stat buffer;
64475        fstat(0, &buffer);
64476        S_IFREG & buffer.st_mode;
64477   ;
64478   return 0;
64479 }
64480 _ACEOF
64481 rm -f conftest.$ac_objext conftest$ac_exeext
64482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64483   (eval $ac_link) 2>conftest.er1
64484   ac_status=$?
64485   grep -v '^ *+' conftest.er1 >conftest.err
64486   rm -f conftest.er1
64487   cat conftest.err >&5
64488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489   (exit $ac_status); } &&
64490          { ac_try='test -z "$ac_c_werror_flag"
64491                          || test ! -s conftest.err'
64492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493   (eval $ac_try) 2>&5
64494   ac_status=$?
64495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496   (exit $ac_status); }; } &&
64497          { ac_try='test -s conftest$ac_exeext'
64498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64499   (eval $ac_try) 2>&5
64500   ac_status=$?
64501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502   (exit $ac_status); }; }; then
64503   glibcxx_cv_S_IFREG=yes
64504 else
64505   echo "$as_me: failed program was:" >&5
64506 sed 's/^/| /' conftest.$ac_ext >&5
64507
64508 glibcxx_cv_S_IFREG=no
64509 fi
64510 rm -f conftest.err conftest.$ac_objext \
64511       conftest$ac_exeext conftest.$ac_ext
64512
64513 fi
64514
64515   res=no
64516   if test $glibcxx_cv_S_ISREG = yes; then
64517
64518 cat >>confdefs.h <<\_ACEOF
64519 #define HAVE_S_ISREG 1
64520 _ACEOF
64521
64522     res=S_ISREG
64523   elif test $glibcxx_cv_S_IFREG = yes; then
64524
64525 cat >>confdefs.h <<\_ACEOF
64526 #define HAVE_S_IFREG 1
64527 _ACEOF
64528
64529     res=S_IFREG
64530   fi
64531   echo "$as_me:$LINENO: result: $res" >&5
64532 echo "${ECHO_T}$res" >&6
64533
64534     cat >>confdefs.h <<\_ACEOF
64535 #define HAVE_SIGSETJMP 1
64536 _ACEOF
64537
64538     cat >>confdefs.h <<\_ACEOF
64539 #define HAVE_GETPAGESIZE 1
64540 _ACEOF
64541
64542     cat >>confdefs.h <<\_ACEOF
64543 #define HAVE_WRITEV 1
64544 _ACEOF
64545
64546     cat >>confdefs.h <<\_ACEOF
64547 #define HAVE_INT64_T 1
64548 _ACEOF
64549
64550
64551     cat >>confdefs.h <<\_ACEOF
64552 #define HAVE_LIBM 1
64553 _ACEOF
64554
64555     cat >>confdefs.h <<\_ACEOF
64556 #define HAVE_COPYSIGN 1
64557 _ACEOF
64558
64559     cat >>confdefs.h <<\_ACEOF
64560 #define HAVE_FINITE 1
64561 _ACEOF
64562
64563     cat >>confdefs.h <<\_ACEOF
64564 #define HAVE_HYPOT 1
64565 _ACEOF
64566
64567     cat >>confdefs.h <<\_ACEOF
64568 #define HAVE_ISNAN 1
64569 _ACEOF
64570
64571     cat >>confdefs.h <<\_ACEOF
64572 #define HAVE_ISINF 1
64573 _ACEOF
64574
64575
64576     cat >>confdefs.h <<\_ACEOF
64577 #define HAVE_LDEXPF 1
64578 _ACEOF
64579
64580     cat >>confdefs.h <<\_ACEOF
64581 #define HAVE_MODF 1
64582 _ACEOF
64583
64584     cat >>confdefs.h <<\_ACEOF
64585 #define HAVE_SQRTF 1
64586 _ACEOF
64587
64588     ;;
64589
64590   *-darwin*)
64591     # Darwin versions vary, but the linker should work in a cross environment,
64592     # so we just check for all the features here.
64593     # Check for available headers.
64594
64595
64596
64597
64598
64599
64600
64601
64602
64603
64604
64605
64606 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64607     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64608     sys/types.h
64609 do
64610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64612   echo "$as_me:$LINENO: checking for $ac_header" >&5
64613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64615   echo $ECHO_N "(cached) $ECHO_C" >&6
64616 fi
64617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64619 else
64620   # Is the header compilable?
64621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64623 cat >conftest.$ac_ext <<_ACEOF
64624 /* confdefs.h.  */
64625 _ACEOF
64626 cat confdefs.h >>conftest.$ac_ext
64627 cat >>conftest.$ac_ext <<_ACEOF
64628 /* end confdefs.h.  */
64629 $ac_includes_default
64630 #include <$ac_header>
64631 _ACEOF
64632 rm -f conftest.$ac_objext
64633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64634   (eval $ac_compile) 2>conftest.er1
64635   ac_status=$?
64636   grep -v '^ *+' conftest.er1 >conftest.err
64637   rm -f conftest.er1
64638   cat conftest.err >&5
64639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64640   (exit $ac_status); } &&
64641          { ac_try='test -z "$ac_c_werror_flag"
64642                          || test ! -s conftest.err'
64643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64644   (eval $ac_try) 2>&5
64645   ac_status=$?
64646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647   (exit $ac_status); }; } &&
64648          { ac_try='test -s conftest.$ac_objext'
64649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64650   (eval $ac_try) 2>&5
64651   ac_status=$?
64652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64653   (exit $ac_status); }; }; then
64654   ac_header_compiler=yes
64655 else
64656   echo "$as_me: failed program was:" >&5
64657 sed 's/^/| /' conftest.$ac_ext >&5
64658
64659 ac_header_compiler=no
64660 fi
64661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64663 echo "${ECHO_T}$ac_header_compiler" >&6
64664
64665 # Is the header present?
64666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64668 cat >conftest.$ac_ext <<_ACEOF
64669 /* confdefs.h.  */
64670 _ACEOF
64671 cat confdefs.h >>conftest.$ac_ext
64672 cat >>conftest.$ac_ext <<_ACEOF
64673 /* end confdefs.h.  */
64674 #include <$ac_header>
64675 _ACEOF
64676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64677   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64678   ac_status=$?
64679   grep -v '^ *+' conftest.er1 >conftest.err
64680   rm -f conftest.er1
64681   cat conftest.err >&5
64682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683   (exit $ac_status); } >/dev/null; then
64684   if test -s conftest.err; then
64685     ac_cpp_err=$ac_c_preproc_warn_flag
64686     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64687   else
64688     ac_cpp_err=
64689   fi
64690 else
64691   ac_cpp_err=yes
64692 fi
64693 if test -z "$ac_cpp_err"; then
64694   ac_header_preproc=yes
64695 else
64696   echo "$as_me: failed program was:" >&5
64697 sed 's/^/| /' conftest.$ac_ext >&5
64698
64699   ac_header_preproc=no
64700 fi
64701 rm -f conftest.err conftest.$ac_ext
64702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64703 echo "${ECHO_T}$ac_header_preproc" >&6
64704
64705 # So?  What about this header?
64706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64707   yes:no: )
64708     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64712     ac_header_preproc=yes
64713     ;;
64714   no:yes:* )
64715     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64717     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64718 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64719     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64721     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64722 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64723     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64725     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64727     (
64728       cat <<\_ASBOX
64729 ## ----------------------------------------- ##
64730 ## Report this to the package-unused lists.  ##
64731 ## ----------------------------------------- ##
64732 _ASBOX
64733     ) |
64734       sed "s/^/$as_me: WARNING:     /" >&2
64735     ;;
64736 esac
64737 echo "$as_me:$LINENO: checking for $ac_header" >&5
64738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64740   echo $ECHO_N "(cached) $ECHO_C" >&6
64741 else
64742   eval "$as_ac_Header=\$ac_header_preproc"
64743 fi
64744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64746
64747 fi
64748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64749   cat >>confdefs.h <<_ACEOF
64750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64751 _ACEOF
64752
64753 fi
64754
64755 done
64756
64757
64758     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64759
64760   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64761   ac_save_CXXFLAGS="$CXXFLAGS"
64762   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64763
64764     echo "$as_me:$LINENO: checking for sin in -lm" >&5
64765 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64766 if test "${ac_cv_lib_m_sin+set}" = set; then
64767   echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769   ac_check_lib_save_LIBS=$LIBS
64770 LIBS="-lm  $LIBS"
64771 if test x$gcc_no_link = xyes; then
64772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64774    { (exit 1); exit 1; }; }
64775 fi
64776 cat >conftest.$ac_ext <<_ACEOF
64777 /* confdefs.h.  */
64778 _ACEOF
64779 cat confdefs.h >>conftest.$ac_ext
64780 cat >>conftest.$ac_ext <<_ACEOF
64781 /* end confdefs.h.  */
64782
64783 /* Override any gcc2 internal prototype to avoid an error.  */
64784 #ifdef __cplusplus
64785 extern "C"
64786 #endif
64787 /* We use char because int might match the return type of a gcc2
64788    builtin and then its argument prototype would still apply.  */
64789 char sin ();
64790 int
64791 main ()
64792 {
64793 sin ();
64794   ;
64795   return 0;
64796 }
64797 _ACEOF
64798 rm -f conftest.$ac_objext conftest$ac_exeext
64799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64800   (eval $ac_link) 2>conftest.er1
64801   ac_status=$?
64802   grep -v '^ *+' conftest.er1 >conftest.err
64803   rm -f conftest.er1
64804   cat conftest.err >&5
64805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64806   (exit $ac_status); } &&
64807          { ac_try='test -z "$ac_c_werror_flag"
64808                          || test ! -s conftest.err'
64809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64810   (eval $ac_try) 2>&5
64811   ac_status=$?
64812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64813   (exit $ac_status); }; } &&
64814          { ac_try='test -s conftest$ac_exeext'
64815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64816   (eval $ac_try) 2>&5
64817   ac_status=$?
64818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64819   (exit $ac_status); }; }; then
64820   ac_cv_lib_m_sin=yes
64821 else
64822   echo "$as_me: failed program was:" >&5
64823 sed 's/^/| /' conftest.$ac_ext >&5
64824
64825 ac_cv_lib_m_sin=no
64826 fi
64827 rm -f conftest.err conftest.$ac_objext \
64828       conftest$ac_exeext conftest.$ac_ext
64829 LIBS=$ac_check_lib_save_LIBS
64830 fi
64831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64832 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64833 if test $ac_cv_lib_m_sin = yes; then
64834   libm="-lm"
64835 fi
64836
64837   ac_save_LIBS="$LIBS"
64838   LIBS="$LIBS $libm"
64839
64840
64841
64842   echo "$as_me:$LINENO: checking for isinf declaration" >&5
64843 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64844   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64845     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64846   echo $ECHO_N "(cached) $ECHO_C" >&6
64847 else
64848
64849
64850
64851       ac_ext=cc
64852 ac_cpp='$CXXCPP $CPPFLAGS'
64853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64856
64857       cat >conftest.$ac_ext <<_ACEOF
64858 /* confdefs.h.  */
64859 _ACEOF
64860 cat confdefs.h >>conftest.$ac_ext
64861 cat >>conftest.$ac_ext <<_ACEOF
64862 /* end confdefs.h.  */
64863 #include <math.h>
64864                       #ifdef HAVE_IEEEFP_H
64865                       #include <ieeefp.h>
64866                       #endif
64867
64868 int
64869 main ()
64870 {
64871  isinf(0);
64872   ;
64873   return 0;
64874 }
64875 _ACEOF
64876 rm -f conftest.$ac_objext
64877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64878   (eval $ac_compile) 2>conftest.er1
64879   ac_status=$?
64880   grep -v '^ *+' conftest.er1 >conftest.err
64881   rm -f conftest.er1
64882   cat conftest.err >&5
64883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64884   (exit $ac_status); } &&
64885          { ac_try='test -z "$ac_cxx_werror_flag"
64886                          || test ! -s conftest.err'
64887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888   (eval $ac_try) 2>&5
64889   ac_status=$?
64890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891   (exit $ac_status); }; } &&
64892          { ac_try='test -s conftest.$ac_objext'
64893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64894   (eval $ac_try) 2>&5
64895   ac_status=$?
64896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64897   (exit $ac_status); }; }; then
64898   glibcxx_cv_func_isinf_use=yes
64899 else
64900   echo "$as_me: failed program was:" >&5
64901 sed 's/^/| /' conftest.$ac_ext >&5
64902
64903 glibcxx_cv_func_isinf_use=no
64904 fi
64905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64906       ac_ext=c
64907 ac_cpp='$CPP $CPPFLAGS'
64908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64911
64912
64913 fi
64914
64915   fi
64916   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64917 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64918
64919   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64920
64921 for ac_func in isinf
64922 do
64923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64924 echo "$as_me:$LINENO: checking for $ac_func" >&5
64925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64926 if eval "test \"\${$as_ac_var+set}\" = set"; then
64927   echo $ECHO_N "(cached) $ECHO_C" >&6
64928 else
64929   if test x$gcc_no_link = xyes; then
64930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64932    { (exit 1); exit 1; }; }
64933 fi
64934 cat >conftest.$ac_ext <<_ACEOF
64935 /* confdefs.h.  */
64936 _ACEOF
64937 cat confdefs.h >>conftest.$ac_ext
64938 cat >>conftest.$ac_ext <<_ACEOF
64939 /* end confdefs.h.  */
64940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64942 #define $ac_func innocuous_$ac_func
64943
64944 /* System header to define __stub macros and hopefully few prototypes,
64945     which can conflict with char $ac_func (); below.
64946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64947     <limits.h> exists even on freestanding compilers.  */
64948
64949 #ifdef __STDC__
64950 # include <limits.h>
64951 #else
64952 # include <assert.h>
64953 #endif
64954
64955 #undef $ac_func
64956
64957 /* Override any gcc2 internal prototype to avoid an error.  */
64958 #ifdef __cplusplus
64959 extern "C"
64960 {
64961 #endif
64962 /* We use char because int might match the return type of a gcc2
64963    builtin and then its argument prototype would still apply.  */
64964 char $ac_func ();
64965 /* The GNU C library defines this for functions which it implements
64966     to always fail with ENOSYS.  Some functions are actually named
64967     something starting with __ and the normal name is an alias.  */
64968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64969 choke me
64970 #else
64971 char (*f) () = $ac_func;
64972 #endif
64973 #ifdef __cplusplus
64974 }
64975 #endif
64976
64977 int
64978 main ()
64979 {
64980 return f != $ac_func;
64981   ;
64982   return 0;
64983 }
64984 _ACEOF
64985 rm -f conftest.$ac_objext conftest$ac_exeext
64986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64987   (eval $ac_link) 2>conftest.er1
64988   ac_status=$?
64989   grep -v '^ *+' conftest.er1 >conftest.err
64990   rm -f conftest.er1
64991   cat conftest.err >&5
64992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993   (exit $ac_status); } &&
64994          { ac_try='test -z "$ac_c_werror_flag"
64995                          || test ! -s conftest.err'
64996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64997   (eval $ac_try) 2>&5
64998   ac_status=$?
64999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65000   (exit $ac_status); }; } &&
65001          { ac_try='test -s conftest$ac_exeext'
65002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65003   (eval $ac_try) 2>&5
65004   ac_status=$?
65005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65006   (exit $ac_status); }; }; then
65007   eval "$as_ac_var=yes"
65008 else
65009   echo "$as_me: failed program was:" >&5
65010 sed 's/^/| /' conftest.$ac_ext >&5
65011
65012 eval "$as_ac_var=no"
65013 fi
65014 rm -f conftest.err conftest.$ac_objext \
65015       conftest$ac_exeext conftest.$ac_ext
65016 fi
65017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65019 if test `eval echo '${'$as_ac_var'}'` = yes; then
65020   cat >>confdefs.h <<_ACEOF
65021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65022 _ACEOF
65023
65024 fi
65025 done
65026
65027   else
65028
65029   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65030 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65031   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65032     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65033   echo $ECHO_N "(cached) $ECHO_C" >&6
65034 else
65035
65036
65037
65038       ac_ext=cc
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65043
65044       cat >conftest.$ac_ext <<_ACEOF
65045 /* confdefs.h.  */
65046 _ACEOF
65047 cat confdefs.h >>conftest.$ac_ext
65048 cat >>conftest.$ac_ext <<_ACEOF
65049 /* end confdefs.h.  */
65050 #include <math.h>
65051                       #ifdef HAVE_IEEEFP_H
65052                       #include <ieeefp.h>
65053                       #endif
65054
65055 int
65056 main ()
65057 {
65058  _isinf(0);
65059   ;
65060   return 0;
65061 }
65062 _ACEOF
65063 rm -f conftest.$ac_objext
65064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65065   (eval $ac_compile) 2>conftest.er1
65066   ac_status=$?
65067   grep -v '^ *+' conftest.er1 >conftest.err
65068   rm -f conftest.er1
65069   cat conftest.err >&5
65070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65071   (exit $ac_status); } &&
65072          { ac_try='test -z "$ac_cxx_werror_flag"
65073                          || test ! -s conftest.err'
65074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65075   (eval $ac_try) 2>&5
65076   ac_status=$?
65077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65078   (exit $ac_status); }; } &&
65079          { ac_try='test -s conftest.$ac_objext'
65080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65081   (eval $ac_try) 2>&5
65082   ac_status=$?
65083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65084   (exit $ac_status); }; }; then
65085   glibcxx_cv_func__isinf_use=yes
65086 else
65087   echo "$as_me: failed program was:" >&5
65088 sed 's/^/| /' conftest.$ac_ext >&5
65089
65090 glibcxx_cv_func__isinf_use=no
65091 fi
65092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65093       ac_ext=c
65094 ac_cpp='$CPP $CPPFLAGS'
65095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65098
65099
65100 fi
65101
65102   fi
65103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65104 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65105
65106     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65107
65108 for ac_func in _isinf
65109 do
65110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65111 echo "$as_me:$LINENO: checking for $ac_func" >&5
65112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65113 if eval "test \"\${$as_ac_var+set}\" = set"; then
65114   echo $ECHO_N "(cached) $ECHO_C" >&6
65115 else
65116   if test x$gcc_no_link = xyes; then
65117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65119    { (exit 1); exit 1; }; }
65120 fi
65121 cat >conftest.$ac_ext <<_ACEOF
65122 /* confdefs.h.  */
65123 _ACEOF
65124 cat confdefs.h >>conftest.$ac_ext
65125 cat >>conftest.$ac_ext <<_ACEOF
65126 /* end confdefs.h.  */
65127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65129 #define $ac_func innocuous_$ac_func
65130
65131 /* System header to define __stub macros and hopefully few prototypes,
65132     which can conflict with char $ac_func (); below.
65133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65134     <limits.h> exists even on freestanding compilers.  */
65135
65136 #ifdef __STDC__
65137 # include <limits.h>
65138 #else
65139 # include <assert.h>
65140 #endif
65141
65142 #undef $ac_func
65143
65144 /* Override any gcc2 internal prototype to avoid an error.  */
65145 #ifdef __cplusplus
65146 extern "C"
65147 {
65148 #endif
65149 /* We use char because int might match the return type of a gcc2
65150    builtin and then its argument prototype would still apply.  */
65151 char $ac_func ();
65152 /* The GNU C library defines this for functions which it implements
65153     to always fail with ENOSYS.  Some functions are actually named
65154     something starting with __ and the normal name is an alias.  */
65155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65156 choke me
65157 #else
65158 char (*f) () = $ac_func;
65159 #endif
65160 #ifdef __cplusplus
65161 }
65162 #endif
65163
65164 int
65165 main ()
65166 {
65167 return f != $ac_func;
65168   ;
65169   return 0;
65170 }
65171 _ACEOF
65172 rm -f conftest.$ac_objext conftest$ac_exeext
65173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65174   (eval $ac_link) 2>conftest.er1
65175   ac_status=$?
65176   grep -v '^ *+' conftest.er1 >conftest.err
65177   rm -f conftest.er1
65178   cat conftest.err >&5
65179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65180   (exit $ac_status); } &&
65181          { ac_try='test -z "$ac_c_werror_flag"
65182                          || test ! -s conftest.err'
65183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65184   (eval $ac_try) 2>&5
65185   ac_status=$?
65186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65187   (exit $ac_status); }; } &&
65188          { ac_try='test -s conftest$ac_exeext'
65189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65190   (eval $ac_try) 2>&5
65191   ac_status=$?
65192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65193   (exit $ac_status); }; }; then
65194   eval "$as_ac_var=yes"
65195 else
65196   echo "$as_me: failed program was:" >&5
65197 sed 's/^/| /' conftest.$ac_ext >&5
65198
65199 eval "$as_ac_var=no"
65200 fi
65201 rm -f conftest.err conftest.$ac_objext \
65202       conftest$ac_exeext conftest.$ac_ext
65203 fi
65204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65206 if test `eval echo '${'$as_ac_var'}'` = yes; then
65207   cat >>confdefs.h <<_ACEOF
65208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65209 _ACEOF
65210
65211 fi
65212 done
65213
65214     fi
65215   fi
65216
65217
65218
65219
65220
65221
65222   echo "$as_me:$LINENO: checking for isnan declaration" >&5
65223 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65224   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65225     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65226   echo $ECHO_N "(cached) $ECHO_C" >&6
65227 else
65228
65229
65230
65231       ac_ext=cc
65232 ac_cpp='$CXXCPP $CPPFLAGS'
65233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65236
65237       cat >conftest.$ac_ext <<_ACEOF
65238 /* confdefs.h.  */
65239 _ACEOF
65240 cat confdefs.h >>conftest.$ac_ext
65241 cat >>conftest.$ac_ext <<_ACEOF
65242 /* end confdefs.h.  */
65243 #include <math.h>
65244                       #ifdef HAVE_IEEEFP_H
65245                       #include <ieeefp.h>
65246                       #endif
65247
65248 int
65249 main ()
65250 {
65251  isnan(0);
65252   ;
65253   return 0;
65254 }
65255 _ACEOF
65256 rm -f conftest.$ac_objext
65257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65258   (eval $ac_compile) 2>conftest.er1
65259   ac_status=$?
65260   grep -v '^ *+' conftest.er1 >conftest.err
65261   rm -f conftest.er1
65262   cat conftest.err >&5
65263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65264   (exit $ac_status); } &&
65265          { ac_try='test -z "$ac_cxx_werror_flag"
65266                          || test ! -s conftest.err'
65267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65268   (eval $ac_try) 2>&5
65269   ac_status=$?
65270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65271   (exit $ac_status); }; } &&
65272          { ac_try='test -s conftest.$ac_objext'
65273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65274   (eval $ac_try) 2>&5
65275   ac_status=$?
65276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65277   (exit $ac_status); }; }; then
65278   glibcxx_cv_func_isnan_use=yes
65279 else
65280   echo "$as_me: failed program was:" >&5
65281 sed 's/^/| /' conftest.$ac_ext >&5
65282
65283 glibcxx_cv_func_isnan_use=no
65284 fi
65285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65286       ac_ext=c
65287 ac_cpp='$CPP $CPPFLAGS'
65288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65291
65292
65293 fi
65294
65295   fi
65296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65297 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65298
65299   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65300
65301 for ac_func in isnan
65302 do
65303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65304 echo "$as_me:$LINENO: checking for $ac_func" >&5
65305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65306 if eval "test \"\${$as_ac_var+set}\" = set"; then
65307   echo $ECHO_N "(cached) $ECHO_C" >&6
65308 else
65309   if test x$gcc_no_link = xyes; then
65310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65312    { (exit 1); exit 1; }; }
65313 fi
65314 cat >conftest.$ac_ext <<_ACEOF
65315 /* confdefs.h.  */
65316 _ACEOF
65317 cat confdefs.h >>conftest.$ac_ext
65318 cat >>conftest.$ac_ext <<_ACEOF
65319 /* end confdefs.h.  */
65320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65322 #define $ac_func innocuous_$ac_func
65323
65324 /* System header to define __stub macros and hopefully few prototypes,
65325     which can conflict with char $ac_func (); below.
65326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65327     <limits.h> exists even on freestanding compilers.  */
65328
65329 #ifdef __STDC__
65330 # include <limits.h>
65331 #else
65332 # include <assert.h>
65333 #endif
65334
65335 #undef $ac_func
65336
65337 /* Override any gcc2 internal prototype to avoid an error.  */
65338 #ifdef __cplusplus
65339 extern "C"
65340 {
65341 #endif
65342 /* We use char because int might match the return type of a gcc2
65343    builtin and then its argument prototype would still apply.  */
65344 char $ac_func ();
65345 /* The GNU C library defines this for functions which it implements
65346     to always fail with ENOSYS.  Some functions are actually named
65347     something starting with __ and the normal name is an alias.  */
65348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65349 choke me
65350 #else
65351 char (*f) () = $ac_func;
65352 #endif
65353 #ifdef __cplusplus
65354 }
65355 #endif
65356
65357 int
65358 main ()
65359 {
65360 return f != $ac_func;
65361   ;
65362   return 0;
65363 }
65364 _ACEOF
65365 rm -f conftest.$ac_objext conftest$ac_exeext
65366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65367   (eval $ac_link) 2>conftest.er1
65368   ac_status=$?
65369   grep -v '^ *+' conftest.er1 >conftest.err
65370   rm -f conftest.er1
65371   cat conftest.err >&5
65372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65373   (exit $ac_status); } &&
65374          { ac_try='test -z "$ac_c_werror_flag"
65375                          || test ! -s conftest.err'
65376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65377   (eval $ac_try) 2>&5
65378   ac_status=$?
65379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65380   (exit $ac_status); }; } &&
65381          { ac_try='test -s conftest$ac_exeext'
65382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65383   (eval $ac_try) 2>&5
65384   ac_status=$?
65385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65386   (exit $ac_status); }; }; then
65387   eval "$as_ac_var=yes"
65388 else
65389   echo "$as_me: failed program was:" >&5
65390 sed 's/^/| /' conftest.$ac_ext >&5
65391
65392 eval "$as_ac_var=no"
65393 fi
65394 rm -f conftest.err conftest.$ac_objext \
65395       conftest$ac_exeext conftest.$ac_ext
65396 fi
65397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65399 if test `eval echo '${'$as_ac_var'}'` = yes; then
65400   cat >>confdefs.h <<_ACEOF
65401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65402 _ACEOF
65403
65404 fi
65405 done
65406
65407   else
65408
65409   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65410 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65411   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65412     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65413   echo $ECHO_N "(cached) $ECHO_C" >&6
65414 else
65415
65416
65417
65418       ac_ext=cc
65419 ac_cpp='$CXXCPP $CPPFLAGS'
65420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65423
65424       cat >conftest.$ac_ext <<_ACEOF
65425 /* confdefs.h.  */
65426 _ACEOF
65427 cat confdefs.h >>conftest.$ac_ext
65428 cat >>conftest.$ac_ext <<_ACEOF
65429 /* end confdefs.h.  */
65430 #include <math.h>
65431                       #ifdef HAVE_IEEEFP_H
65432                       #include <ieeefp.h>
65433                       #endif
65434
65435 int
65436 main ()
65437 {
65438  _isnan(0);
65439   ;
65440   return 0;
65441 }
65442 _ACEOF
65443 rm -f conftest.$ac_objext
65444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65445   (eval $ac_compile) 2>conftest.er1
65446   ac_status=$?
65447   grep -v '^ *+' conftest.er1 >conftest.err
65448   rm -f conftest.er1
65449   cat conftest.err >&5
65450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65451   (exit $ac_status); } &&
65452          { ac_try='test -z "$ac_cxx_werror_flag"
65453                          || test ! -s conftest.err'
65454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65455   (eval $ac_try) 2>&5
65456   ac_status=$?
65457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65458   (exit $ac_status); }; } &&
65459          { ac_try='test -s conftest.$ac_objext'
65460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65461   (eval $ac_try) 2>&5
65462   ac_status=$?
65463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65464   (exit $ac_status); }; }; then
65465   glibcxx_cv_func__isnan_use=yes
65466 else
65467   echo "$as_me: failed program was:" >&5
65468 sed 's/^/| /' conftest.$ac_ext >&5
65469
65470 glibcxx_cv_func__isnan_use=no
65471 fi
65472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65473       ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65478
65479
65480 fi
65481
65482   fi
65483   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
65484 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
65485
65486     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65487
65488 for ac_func in _isnan
65489 do
65490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65491 echo "$as_me:$LINENO: checking for $ac_func" >&5
65492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65493 if eval "test \"\${$as_ac_var+set}\" = set"; then
65494   echo $ECHO_N "(cached) $ECHO_C" >&6
65495 else
65496   if test x$gcc_no_link = xyes; then
65497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65499    { (exit 1); exit 1; }; }
65500 fi
65501 cat >conftest.$ac_ext <<_ACEOF
65502 /* confdefs.h.  */
65503 _ACEOF
65504 cat confdefs.h >>conftest.$ac_ext
65505 cat >>conftest.$ac_ext <<_ACEOF
65506 /* end confdefs.h.  */
65507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65509 #define $ac_func innocuous_$ac_func
65510
65511 /* System header to define __stub macros and hopefully few prototypes,
65512     which can conflict with char $ac_func (); below.
65513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65514     <limits.h> exists even on freestanding compilers.  */
65515
65516 #ifdef __STDC__
65517 # include <limits.h>
65518 #else
65519 # include <assert.h>
65520 #endif
65521
65522 #undef $ac_func
65523
65524 /* Override any gcc2 internal prototype to avoid an error.  */
65525 #ifdef __cplusplus
65526 extern "C"
65527 {
65528 #endif
65529 /* We use char because int might match the return type of a gcc2
65530    builtin and then its argument prototype would still apply.  */
65531 char $ac_func ();
65532 /* The GNU C library defines this for functions which it implements
65533     to always fail with ENOSYS.  Some functions are actually named
65534     something starting with __ and the normal name is an alias.  */
65535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65536 choke me
65537 #else
65538 char (*f) () = $ac_func;
65539 #endif
65540 #ifdef __cplusplus
65541 }
65542 #endif
65543
65544 int
65545 main ()
65546 {
65547 return f != $ac_func;
65548   ;
65549   return 0;
65550 }
65551 _ACEOF
65552 rm -f conftest.$ac_objext conftest$ac_exeext
65553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65554   (eval $ac_link) 2>conftest.er1
65555   ac_status=$?
65556   grep -v '^ *+' conftest.er1 >conftest.err
65557   rm -f conftest.er1
65558   cat conftest.err >&5
65559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65560   (exit $ac_status); } &&
65561          { ac_try='test -z "$ac_c_werror_flag"
65562                          || test ! -s conftest.err'
65563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65564   (eval $ac_try) 2>&5
65565   ac_status=$?
65566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65567   (exit $ac_status); }; } &&
65568          { ac_try='test -s conftest$ac_exeext'
65569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65570   (eval $ac_try) 2>&5
65571   ac_status=$?
65572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65573   (exit $ac_status); }; }; then
65574   eval "$as_ac_var=yes"
65575 else
65576   echo "$as_me: failed program was:" >&5
65577 sed 's/^/| /' conftest.$ac_ext >&5
65578
65579 eval "$as_ac_var=no"
65580 fi
65581 rm -f conftest.err conftest.$ac_objext \
65582       conftest$ac_exeext conftest.$ac_ext
65583 fi
65584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65586 if test `eval echo '${'$as_ac_var'}'` = yes; then
65587   cat >>confdefs.h <<_ACEOF
65588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65589 _ACEOF
65590
65591 fi
65592 done
65593
65594     fi
65595   fi
65596
65597
65598
65599
65600
65601
65602   echo "$as_me:$LINENO: checking for finite declaration" >&5
65603 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65604   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65605     if test "${glibcxx_cv_func_finite_use+set}" = set; then
65606   echo $ECHO_N "(cached) $ECHO_C" >&6
65607 else
65608
65609
65610
65611       ac_ext=cc
65612 ac_cpp='$CXXCPP $CPPFLAGS'
65613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65616
65617       cat >conftest.$ac_ext <<_ACEOF
65618 /* confdefs.h.  */
65619 _ACEOF
65620 cat confdefs.h >>conftest.$ac_ext
65621 cat >>conftest.$ac_ext <<_ACEOF
65622 /* end confdefs.h.  */
65623 #include <math.h>
65624                       #ifdef HAVE_IEEEFP_H
65625                       #include <ieeefp.h>
65626                       #endif
65627
65628 int
65629 main ()
65630 {
65631  finite(0);
65632   ;
65633   return 0;
65634 }
65635 _ACEOF
65636 rm -f conftest.$ac_objext
65637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65638   (eval $ac_compile) 2>conftest.er1
65639   ac_status=$?
65640   grep -v '^ *+' conftest.er1 >conftest.err
65641   rm -f conftest.er1
65642   cat conftest.err >&5
65643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65644   (exit $ac_status); } &&
65645          { ac_try='test -z "$ac_cxx_werror_flag"
65646                          || test ! -s conftest.err'
65647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65648   (eval $ac_try) 2>&5
65649   ac_status=$?
65650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65651   (exit $ac_status); }; } &&
65652          { ac_try='test -s conftest.$ac_objext'
65653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65654   (eval $ac_try) 2>&5
65655   ac_status=$?
65656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657   (exit $ac_status); }; }; then
65658   glibcxx_cv_func_finite_use=yes
65659 else
65660   echo "$as_me: failed program was:" >&5
65661 sed 's/^/| /' conftest.$ac_ext >&5
65662
65663 glibcxx_cv_func_finite_use=no
65664 fi
65665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65666       ac_ext=c
65667 ac_cpp='$CPP $CPPFLAGS'
65668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65671
65672
65673 fi
65674
65675   fi
65676   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65677 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65678
65679   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65680
65681 for ac_func in finite
65682 do
65683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65684 echo "$as_me:$LINENO: checking for $ac_func" >&5
65685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65686 if eval "test \"\${$as_ac_var+set}\" = set"; then
65687   echo $ECHO_N "(cached) $ECHO_C" >&6
65688 else
65689   if test x$gcc_no_link = xyes; then
65690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65692    { (exit 1); exit 1; }; }
65693 fi
65694 cat >conftest.$ac_ext <<_ACEOF
65695 /* confdefs.h.  */
65696 _ACEOF
65697 cat confdefs.h >>conftest.$ac_ext
65698 cat >>conftest.$ac_ext <<_ACEOF
65699 /* end confdefs.h.  */
65700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65702 #define $ac_func innocuous_$ac_func
65703
65704 /* System header to define __stub macros and hopefully few prototypes,
65705     which can conflict with char $ac_func (); below.
65706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65707     <limits.h> exists even on freestanding compilers.  */
65708
65709 #ifdef __STDC__
65710 # include <limits.h>
65711 #else
65712 # include <assert.h>
65713 #endif
65714
65715 #undef $ac_func
65716
65717 /* Override any gcc2 internal prototype to avoid an error.  */
65718 #ifdef __cplusplus
65719 extern "C"
65720 {
65721 #endif
65722 /* We use char because int might match the return type of a gcc2
65723    builtin and then its argument prototype would still apply.  */
65724 char $ac_func ();
65725 /* The GNU C library defines this for functions which it implements
65726     to always fail with ENOSYS.  Some functions are actually named
65727     something starting with __ and the normal name is an alias.  */
65728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65729 choke me
65730 #else
65731 char (*f) () = $ac_func;
65732 #endif
65733 #ifdef __cplusplus
65734 }
65735 #endif
65736
65737 int
65738 main ()
65739 {
65740 return f != $ac_func;
65741   ;
65742   return 0;
65743 }
65744 _ACEOF
65745 rm -f conftest.$ac_objext conftest$ac_exeext
65746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65747   (eval $ac_link) 2>conftest.er1
65748   ac_status=$?
65749   grep -v '^ *+' conftest.er1 >conftest.err
65750   rm -f conftest.er1
65751   cat conftest.err >&5
65752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753   (exit $ac_status); } &&
65754          { ac_try='test -z "$ac_c_werror_flag"
65755                          || test ! -s conftest.err'
65756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65757   (eval $ac_try) 2>&5
65758   ac_status=$?
65759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760   (exit $ac_status); }; } &&
65761          { ac_try='test -s conftest$ac_exeext'
65762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65763   (eval $ac_try) 2>&5
65764   ac_status=$?
65765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65766   (exit $ac_status); }; }; then
65767   eval "$as_ac_var=yes"
65768 else
65769   echo "$as_me: failed program was:" >&5
65770 sed 's/^/| /' conftest.$ac_ext >&5
65771
65772 eval "$as_ac_var=no"
65773 fi
65774 rm -f conftest.err conftest.$ac_objext \
65775       conftest$ac_exeext conftest.$ac_ext
65776 fi
65777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65779 if test `eval echo '${'$as_ac_var'}'` = yes; then
65780   cat >>confdefs.h <<_ACEOF
65781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65782 _ACEOF
65783
65784 fi
65785 done
65786
65787   else
65788
65789   echo "$as_me:$LINENO: checking for _finite declaration" >&5
65790 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65791   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65792     if test "${glibcxx_cv_func__finite_use+set}" = set; then
65793   echo $ECHO_N "(cached) $ECHO_C" >&6
65794 else
65795
65796
65797
65798       ac_ext=cc
65799 ac_cpp='$CXXCPP $CPPFLAGS'
65800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65803
65804       cat >conftest.$ac_ext <<_ACEOF
65805 /* confdefs.h.  */
65806 _ACEOF
65807 cat confdefs.h >>conftest.$ac_ext
65808 cat >>conftest.$ac_ext <<_ACEOF
65809 /* end confdefs.h.  */
65810 #include <math.h>
65811                       #ifdef HAVE_IEEEFP_H
65812                       #include <ieeefp.h>
65813                       #endif
65814
65815 int
65816 main ()
65817 {
65818  _finite(0);
65819   ;
65820   return 0;
65821 }
65822 _ACEOF
65823 rm -f conftest.$ac_objext
65824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65825   (eval $ac_compile) 2>conftest.er1
65826   ac_status=$?
65827   grep -v '^ *+' conftest.er1 >conftest.err
65828   rm -f conftest.er1
65829   cat conftest.err >&5
65830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65831   (exit $ac_status); } &&
65832          { ac_try='test -z "$ac_cxx_werror_flag"
65833                          || test ! -s conftest.err'
65834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65835   (eval $ac_try) 2>&5
65836   ac_status=$?
65837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65838   (exit $ac_status); }; } &&
65839          { ac_try='test -s conftest.$ac_objext'
65840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65841   (eval $ac_try) 2>&5
65842   ac_status=$?
65843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65844   (exit $ac_status); }; }; then
65845   glibcxx_cv_func__finite_use=yes
65846 else
65847   echo "$as_me: failed program was:" >&5
65848 sed 's/^/| /' conftest.$ac_ext >&5
65849
65850 glibcxx_cv_func__finite_use=no
65851 fi
65852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65853       ac_ext=c
65854 ac_cpp='$CPP $CPPFLAGS'
65855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65858
65859
65860 fi
65861
65862   fi
65863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65864 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65865
65866     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65867
65868 for ac_func in _finite
65869 do
65870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65871 echo "$as_me:$LINENO: checking for $ac_func" >&5
65872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65873 if eval "test \"\${$as_ac_var+set}\" = set"; then
65874   echo $ECHO_N "(cached) $ECHO_C" >&6
65875 else
65876   if test x$gcc_no_link = xyes; then
65877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65879    { (exit 1); exit 1; }; }
65880 fi
65881 cat >conftest.$ac_ext <<_ACEOF
65882 /* confdefs.h.  */
65883 _ACEOF
65884 cat confdefs.h >>conftest.$ac_ext
65885 cat >>conftest.$ac_ext <<_ACEOF
65886 /* end confdefs.h.  */
65887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65889 #define $ac_func innocuous_$ac_func
65890
65891 /* System header to define __stub macros and hopefully few prototypes,
65892     which can conflict with char $ac_func (); below.
65893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65894     <limits.h> exists even on freestanding compilers.  */
65895
65896 #ifdef __STDC__
65897 # include <limits.h>
65898 #else
65899 # include <assert.h>
65900 #endif
65901
65902 #undef $ac_func
65903
65904 /* Override any gcc2 internal prototype to avoid an error.  */
65905 #ifdef __cplusplus
65906 extern "C"
65907 {
65908 #endif
65909 /* We use char because int might match the return type of a gcc2
65910    builtin and then its argument prototype would still apply.  */
65911 char $ac_func ();
65912 /* The GNU C library defines this for functions which it implements
65913     to always fail with ENOSYS.  Some functions are actually named
65914     something starting with __ and the normal name is an alias.  */
65915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65916 choke me
65917 #else
65918 char (*f) () = $ac_func;
65919 #endif
65920 #ifdef __cplusplus
65921 }
65922 #endif
65923
65924 int
65925 main ()
65926 {
65927 return f != $ac_func;
65928   ;
65929   return 0;
65930 }
65931 _ACEOF
65932 rm -f conftest.$ac_objext conftest$ac_exeext
65933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65934   (eval $ac_link) 2>conftest.er1
65935   ac_status=$?
65936   grep -v '^ *+' conftest.er1 >conftest.err
65937   rm -f conftest.er1
65938   cat conftest.err >&5
65939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65940   (exit $ac_status); } &&
65941          { ac_try='test -z "$ac_c_werror_flag"
65942                          || test ! -s conftest.err'
65943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65944   (eval $ac_try) 2>&5
65945   ac_status=$?
65946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65947   (exit $ac_status); }; } &&
65948          { ac_try='test -s conftest$ac_exeext'
65949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65950   (eval $ac_try) 2>&5
65951   ac_status=$?
65952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65953   (exit $ac_status); }; }; then
65954   eval "$as_ac_var=yes"
65955 else
65956   echo "$as_me: failed program was:" >&5
65957 sed 's/^/| /' conftest.$ac_ext >&5
65958
65959 eval "$as_ac_var=no"
65960 fi
65961 rm -f conftest.err conftest.$ac_objext \
65962       conftest$ac_exeext conftest.$ac_ext
65963 fi
65964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65966 if test `eval echo '${'$as_ac_var'}'` = yes; then
65967   cat >>confdefs.h <<_ACEOF
65968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65969 _ACEOF
65970
65971 fi
65972 done
65973
65974     fi
65975   fi
65976
65977
65978
65979
65980
65981
65982   echo "$as_me:$LINENO: checking for copysign declaration" >&5
65983 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65984   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65985     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65986   echo $ECHO_N "(cached) $ECHO_C" >&6
65987 else
65988
65989
65990
65991       ac_ext=cc
65992 ac_cpp='$CXXCPP $CPPFLAGS'
65993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65996
65997       cat >conftest.$ac_ext <<_ACEOF
65998 /* confdefs.h.  */
65999 _ACEOF
66000 cat confdefs.h >>conftest.$ac_ext
66001 cat >>conftest.$ac_ext <<_ACEOF
66002 /* end confdefs.h.  */
66003 #include <math.h>
66004 int
66005 main ()
66006 {
66007  copysign(0, 0);
66008   ;
66009   return 0;
66010 }
66011 _ACEOF
66012 rm -f conftest.$ac_objext
66013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66014   (eval $ac_compile) 2>conftest.er1
66015   ac_status=$?
66016   grep -v '^ *+' conftest.er1 >conftest.err
66017   rm -f conftest.er1
66018   cat conftest.err >&5
66019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020   (exit $ac_status); } &&
66021          { ac_try='test -z "$ac_cxx_werror_flag"
66022                          || test ! -s conftest.err'
66023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66024   (eval $ac_try) 2>&5
66025   ac_status=$?
66026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66027   (exit $ac_status); }; } &&
66028          { ac_try='test -s conftest.$ac_objext'
66029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66030   (eval $ac_try) 2>&5
66031   ac_status=$?
66032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033   (exit $ac_status); }; }; then
66034   glibcxx_cv_func_copysign_use=yes
66035 else
66036   echo "$as_me: failed program was:" >&5
66037 sed 's/^/| /' conftest.$ac_ext >&5
66038
66039 glibcxx_cv_func_copysign_use=no
66040 fi
66041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66042       ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66047
66048
66049 fi
66050
66051   fi
66052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66053 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66054
66055   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66056
66057 for ac_func in copysign
66058 do
66059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 echo "$as_me:$LINENO: checking for $ac_func" >&5
66061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66062 if eval "test \"\${$as_ac_var+set}\" = set"; then
66063   echo $ECHO_N "(cached) $ECHO_C" >&6
66064 else
66065   if test x$gcc_no_link = xyes; then
66066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66068    { (exit 1); exit 1; }; }
66069 fi
66070 cat >conftest.$ac_ext <<_ACEOF
66071 /* confdefs.h.  */
66072 _ACEOF
66073 cat confdefs.h >>conftest.$ac_ext
66074 cat >>conftest.$ac_ext <<_ACEOF
66075 /* end confdefs.h.  */
66076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66078 #define $ac_func innocuous_$ac_func
66079
66080 /* System header to define __stub macros and hopefully few prototypes,
66081     which can conflict with char $ac_func (); below.
66082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66083     <limits.h> exists even on freestanding compilers.  */
66084
66085 #ifdef __STDC__
66086 # include <limits.h>
66087 #else
66088 # include <assert.h>
66089 #endif
66090
66091 #undef $ac_func
66092
66093 /* Override any gcc2 internal prototype to avoid an error.  */
66094 #ifdef __cplusplus
66095 extern "C"
66096 {
66097 #endif
66098 /* We use char because int might match the return type of a gcc2
66099    builtin and then its argument prototype would still apply.  */
66100 char $ac_func ();
66101 /* The GNU C library defines this for functions which it implements
66102     to always fail with ENOSYS.  Some functions are actually named
66103     something starting with __ and the normal name is an alias.  */
66104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66105 choke me
66106 #else
66107 char (*f) () = $ac_func;
66108 #endif
66109 #ifdef __cplusplus
66110 }
66111 #endif
66112
66113 int
66114 main ()
66115 {
66116 return f != $ac_func;
66117   ;
66118   return 0;
66119 }
66120 _ACEOF
66121 rm -f conftest.$ac_objext conftest$ac_exeext
66122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66123   (eval $ac_link) 2>conftest.er1
66124   ac_status=$?
66125   grep -v '^ *+' conftest.er1 >conftest.err
66126   rm -f conftest.er1
66127   cat conftest.err >&5
66128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66129   (exit $ac_status); } &&
66130          { ac_try='test -z "$ac_c_werror_flag"
66131                          || test ! -s conftest.err'
66132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66133   (eval $ac_try) 2>&5
66134   ac_status=$?
66135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66136   (exit $ac_status); }; } &&
66137          { ac_try='test -s conftest$ac_exeext'
66138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66139   (eval $ac_try) 2>&5
66140   ac_status=$?
66141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66142   (exit $ac_status); }; }; then
66143   eval "$as_ac_var=yes"
66144 else
66145   echo "$as_me: failed program was:" >&5
66146 sed 's/^/| /' conftest.$ac_ext >&5
66147
66148 eval "$as_ac_var=no"
66149 fi
66150 rm -f conftest.err conftest.$ac_objext \
66151       conftest$ac_exeext conftest.$ac_ext
66152 fi
66153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66155 if test `eval echo '${'$as_ac_var'}'` = yes; then
66156   cat >>confdefs.h <<_ACEOF
66157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66158 _ACEOF
66159
66160 fi
66161 done
66162
66163   else
66164
66165   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66166 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66167   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66168     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66169   echo $ECHO_N "(cached) $ECHO_C" >&6
66170 else
66171
66172
66173
66174       ac_ext=cc
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66179
66180       cat >conftest.$ac_ext <<_ACEOF
66181 /* confdefs.h.  */
66182 _ACEOF
66183 cat confdefs.h >>conftest.$ac_ext
66184 cat >>conftest.$ac_ext <<_ACEOF
66185 /* end confdefs.h.  */
66186 #include <math.h>
66187 int
66188 main ()
66189 {
66190  _copysign(0, 0);
66191   ;
66192   return 0;
66193 }
66194 _ACEOF
66195 rm -f conftest.$ac_objext
66196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66197   (eval $ac_compile) 2>conftest.er1
66198   ac_status=$?
66199   grep -v '^ *+' conftest.er1 >conftest.err
66200   rm -f conftest.er1
66201   cat conftest.err >&5
66202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66203   (exit $ac_status); } &&
66204          { ac_try='test -z "$ac_cxx_werror_flag"
66205                          || test ! -s conftest.err'
66206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66207   (eval $ac_try) 2>&5
66208   ac_status=$?
66209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66210   (exit $ac_status); }; } &&
66211          { ac_try='test -s conftest.$ac_objext'
66212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66213   (eval $ac_try) 2>&5
66214   ac_status=$?
66215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216   (exit $ac_status); }; }; then
66217   glibcxx_cv_func__copysign_use=yes
66218 else
66219   echo "$as_me: failed program was:" >&5
66220 sed 's/^/| /' conftest.$ac_ext >&5
66221
66222 glibcxx_cv_func__copysign_use=no
66223 fi
66224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66225       ac_ext=c
66226 ac_cpp='$CPP $CPPFLAGS'
66227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66230
66231
66232 fi
66233
66234   fi
66235   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66236 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66237
66238     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66239
66240 for ac_func in _copysign
66241 do
66242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66243 echo "$as_me:$LINENO: checking for $ac_func" >&5
66244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66245 if eval "test \"\${$as_ac_var+set}\" = set"; then
66246   echo $ECHO_N "(cached) $ECHO_C" >&6
66247 else
66248   if test x$gcc_no_link = xyes; then
66249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66251    { (exit 1); exit 1; }; }
66252 fi
66253 cat >conftest.$ac_ext <<_ACEOF
66254 /* confdefs.h.  */
66255 _ACEOF
66256 cat confdefs.h >>conftest.$ac_ext
66257 cat >>conftest.$ac_ext <<_ACEOF
66258 /* end confdefs.h.  */
66259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66261 #define $ac_func innocuous_$ac_func
66262
66263 /* System header to define __stub macros and hopefully few prototypes,
66264     which can conflict with char $ac_func (); below.
66265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66266     <limits.h> exists even on freestanding compilers.  */
66267
66268 #ifdef __STDC__
66269 # include <limits.h>
66270 #else
66271 # include <assert.h>
66272 #endif
66273
66274 #undef $ac_func
66275
66276 /* Override any gcc2 internal prototype to avoid an error.  */
66277 #ifdef __cplusplus
66278 extern "C"
66279 {
66280 #endif
66281 /* We use char because int might match the return type of a gcc2
66282    builtin and then its argument prototype would still apply.  */
66283 char $ac_func ();
66284 /* The GNU C library defines this for functions which it implements
66285     to always fail with ENOSYS.  Some functions are actually named
66286     something starting with __ and the normal name is an alias.  */
66287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66288 choke me
66289 #else
66290 char (*f) () = $ac_func;
66291 #endif
66292 #ifdef __cplusplus
66293 }
66294 #endif
66295
66296 int
66297 main ()
66298 {
66299 return f != $ac_func;
66300   ;
66301   return 0;
66302 }
66303 _ACEOF
66304 rm -f conftest.$ac_objext conftest$ac_exeext
66305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66306   (eval $ac_link) 2>conftest.er1
66307   ac_status=$?
66308   grep -v '^ *+' conftest.er1 >conftest.err
66309   rm -f conftest.er1
66310   cat conftest.err >&5
66311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66312   (exit $ac_status); } &&
66313          { ac_try='test -z "$ac_c_werror_flag"
66314                          || test ! -s conftest.err'
66315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66316   (eval $ac_try) 2>&5
66317   ac_status=$?
66318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66319   (exit $ac_status); }; } &&
66320          { ac_try='test -s conftest$ac_exeext'
66321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66322   (eval $ac_try) 2>&5
66323   ac_status=$?
66324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66325   (exit $ac_status); }; }; then
66326   eval "$as_ac_var=yes"
66327 else
66328   echo "$as_me: failed program was:" >&5
66329 sed 's/^/| /' conftest.$ac_ext >&5
66330
66331 eval "$as_ac_var=no"
66332 fi
66333 rm -f conftest.err conftest.$ac_objext \
66334       conftest$ac_exeext conftest.$ac_ext
66335 fi
66336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66338 if test `eval echo '${'$as_ac_var'}'` = yes; then
66339   cat >>confdefs.h <<_ACEOF
66340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66341 _ACEOF
66342
66343 fi
66344 done
66345
66346     fi
66347   fi
66348
66349
66350
66351
66352
66353
66354   echo "$as_me:$LINENO: checking for sincos declaration" >&5
66355 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66356   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66357     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66358   echo $ECHO_N "(cached) $ECHO_C" >&6
66359 else
66360
66361
66362
66363       ac_ext=cc
66364 ac_cpp='$CXXCPP $CPPFLAGS'
66365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66368
66369       cat >conftest.$ac_ext <<_ACEOF
66370 /* confdefs.h.  */
66371 _ACEOF
66372 cat confdefs.h >>conftest.$ac_ext
66373 cat >>conftest.$ac_ext <<_ACEOF
66374 /* end confdefs.h.  */
66375 #include <math.h>
66376 int
66377 main ()
66378 {
66379  sincos(0, 0, 0);
66380   ;
66381   return 0;
66382 }
66383 _ACEOF
66384 rm -f conftest.$ac_objext
66385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66386   (eval $ac_compile) 2>conftest.er1
66387   ac_status=$?
66388   grep -v '^ *+' conftest.er1 >conftest.err
66389   rm -f conftest.er1
66390   cat conftest.err >&5
66391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66392   (exit $ac_status); } &&
66393          { ac_try='test -z "$ac_cxx_werror_flag"
66394                          || test ! -s conftest.err'
66395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66396   (eval $ac_try) 2>&5
66397   ac_status=$?
66398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66399   (exit $ac_status); }; } &&
66400          { ac_try='test -s conftest.$ac_objext'
66401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66402   (eval $ac_try) 2>&5
66403   ac_status=$?
66404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66405   (exit $ac_status); }; }; then
66406   glibcxx_cv_func_sincos_use=yes
66407 else
66408   echo "$as_me: failed program was:" >&5
66409 sed 's/^/| /' conftest.$ac_ext >&5
66410
66411 glibcxx_cv_func_sincos_use=no
66412 fi
66413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66414       ac_ext=c
66415 ac_cpp='$CPP $CPPFLAGS'
66416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66419
66420
66421 fi
66422
66423   fi
66424   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66425 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66426
66427   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66428
66429 for ac_func in sincos
66430 do
66431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66432 echo "$as_me:$LINENO: checking for $ac_func" >&5
66433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66434 if eval "test \"\${$as_ac_var+set}\" = set"; then
66435   echo $ECHO_N "(cached) $ECHO_C" >&6
66436 else
66437   if test x$gcc_no_link = xyes; then
66438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66440    { (exit 1); exit 1; }; }
66441 fi
66442 cat >conftest.$ac_ext <<_ACEOF
66443 /* confdefs.h.  */
66444 _ACEOF
66445 cat confdefs.h >>conftest.$ac_ext
66446 cat >>conftest.$ac_ext <<_ACEOF
66447 /* end confdefs.h.  */
66448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66450 #define $ac_func innocuous_$ac_func
66451
66452 /* System header to define __stub macros and hopefully few prototypes,
66453     which can conflict with char $ac_func (); below.
66454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66455     <limits.h> exists even on freestanding compilers.  */
66456
66457 #ifdef __STDC__
66458 # include <limits.h>
66459 #else
66460 # include <assert.h>
66461 #endif
66462
66463 #undef $ac_func
66464
66465 /* Override any gcc2 internal prototype to avoid an error.  */
66466 #ifdef __cplusplus
66467 extern "C"
66468 {
66469 #endif
66470 /* We use char because int might match the return type of a gcc2
66471    builtin and then its argument prototype would still apply.  */
66472 char $ac_func ();
66473 /* The GNU C library defines this for functions which it implements
66474     to always fail with ENOSYS.  Some functions are actually named
66475     something starting with __ and the normal name is an alias.  */
66476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66477 choke me
66478 #else
66479 char (*f) () = $ac_func;
66480 #endif
66481 #ifdef __cplusplus
66482 }
66483 #endif
66484
66485 int
66486 main ()
66487 {
66488 return f != $ac_func;
66489   ;
66490   return 0;
66491 }
66492 _ACEOF
66493 rm -f conftest.$ac_objext conftest$ac_exeext
66494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66495   (eval $ac_link) 2>conftest.er1
66496   ac_status=$?
66497   grep -v '^ *+' conftest.er1 >conftest.err
66498   rm -f conftest.er1
66499   cat conftest.err >&5
66500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66501   (exit $ac_status); } &&
66502          { ac_try='test -z "$ac_c_werror_flag"
66503                          || test ! -s conftest.err'
66504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66505   (eval $ac_try) 2>&5
66506   ac_status=$?
66507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66508   (exit $ac_status); }; } &&
66509          { ac_try='test -s conftest$ac_exeext'
66510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66511   (eval $ac_try) 2>&5
66512   ac_status=$?
66513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66514   (exit $ac_status); }; }; then
66515   eval "$as_ac_var=yes"
66516 else
66517   echo "$as_me: failed program was:" >&5
66518 sed 's/^/| /' conftest.$ac_ext >&5
66519
66520 eval "$as_ac_var=no"
66521 fi
66522 rm -f conftest.err conftest.$ac_objext \
66523       conftest$ac_exeext conftest.$ac_ext
66524 fi
66525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66527 if test `eval echo '${'$as_ac_var'}'` = yes; then
66528   cat >>confdefs.h <<_ACEOF
66529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66530 _ACEOF
66531
66532 fi
66533 done
66534
66535   else
66536
66537   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66538 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66539   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66540     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66541   echo $ECHO_N "(cached) $ECHO_C" >&6
66542 else
66543
66544
66545
66546       ac_ext=cc
66547 ac_cpp='$CXXCPP $CPPFLAGS'
66548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66551
66552       cat >conftest.$ac_ext <<_ACEOF
66553 /* confdefs.h.  */
66554 _ACEOF
66555 cat confdefs.h >>conftest.$ac_ext
66556 cat >>conftest.$ac_ext <<_ACEOF
66557 /* end confdefs.h.  */
66558 #include <math.h>
66559 int
66560 main ()
66561 {
66562  _sincos(0, 0, 0);
66563   ;
66564   return 0;
66565 }
66566 _ACEOF
66567 rm -f conftest.$ac_objext
66568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66569   (eval $ac_compile) 2>conftest.er1
66570   ac_status=$?
66571   grep -v '^ *+' conftest.er1 >conftest.err
66572   rm -f conftest.er1
66573   cat conftest.err >&5
66574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66575   (exit $ac_status); } &&
66576          { ac_try='test -z "$ac_cxx_werror_flag"
66577                          || test ! -s conftest.err'
66578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66579   (eval $ac_try) 2>&5
66580   ac_status=$?
66581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66582   (exit $ac_status); }; } &&
66583          { ac_try='test -s conftest.$ac_objext'
66584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66585   (eval $ac_try) 2>&5
66586   ac_status=$?
66587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66588   (exit $ac_status); }; }; then
66589   glibcxx_cv_func__sincos_use=yes
66590 else
66591   echo "$as_me: failed program was:" >&5
66592 sed 's/^/| /' conftest.$ac_ext >&5
66593
66594 glibcxx_cv_func__sincos_use=no
66595 fi
66596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66597       ac_ext=c
66598 ac_cpp='$CPP $CPPFLAGS'
66599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66602
66603
66604 fi
66605
66606   fi
66607   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66608 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66609
66610     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66611
66612 for ac_func in _sincos
66613 do
66614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66615 echo "$as_me:$LINENO: checking for $ac_func" >&5
66616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66617 if eval "test \"\${$as_ac_var+set}\" = set"; then
66618   echo $ECHO_N "(cached) $ECHO_C" >&6
66619 else
66620   if test x$gcc_no_link = xyes; then
66621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66623    { (exit 1); exit 1; }; }
66624 fi
66625 cat >conftest.$ac_ext <<_ACEOF
66626 /* confdefs.h.  */
66627 _ACEOF
66628 cat confdefs.h >>conftest.$ac_ext
66629 cat >>conftest.$ac_ext <<_ACEOF
66630 /* end confdefs.h.  */
66631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66633 #define $ac_func innocuous_$ac_func
66634
66635 /* System header to define __stub macros and hopefully few prototypes,
66636     which can conflict with char $ac_func (); below.
66637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66638     <limits.h> exists even on freestanding compilers.  */
66639
66640 #ifdef __STDC__
66641 # include <limits.h>
66642 #else
66643 # include <assert.h>
66644 #endif
66645
66646 #undef $ac_func
66647
66648 /* Override any gcc2 internal prototype to avoid an error.  */
66649 #ifdef __cplusplus
66650 extern "C"
66651 {
66652 #endif
66653 /* We use char because int might match the return type of a gcc2
66654    builtin and then its argument prototype would still apply.  */
66655 char $ac_func ();
66656 /* The GNU C library defines this for functions which it implements
66657     to always fail with ENOSYS.  Some functions are actually named
66658     something starting with __ and the normal name is an alias.  */
66659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66660 choke me
66661 #else
66662 char (*f) () = $ac_func;
66663 #endif
66664 #ifdef __cplusplus
66665 }
66666 #endif
66667
66668 int
66669 main ()
66670 {
66671 return f != $ac_func;
66672   ;
66673   return 0;
66674 }
66675 _ACEOF
66676 rm -f conftest.$ac_objext conftest$ac_exeext
66677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66678   (eval $ac_link) 2>conftest.er1
66679   ac_status=$?
66680   grep -v '^ *+' conftest.er1 >conftest.err
66681   rm -f conftest.er1
66682   cat conftest.err >&5
66683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66684   (exit $ac_status); } &&
66685          { ac_try='test -z "$ac_c_werror_flag"
66686                          || test ! -s conftest.err'
66687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66688   (eval $ac_try) 2>&5
66689   ac_status=$?
66690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66691   (exit $ac_status); }; } &&
66692          { ac_try='test -s conftest$ac_exeext'
66693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66694   (eval $ac_try) 2>&5
66695   ac_status=$?
66696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66697   (exit $ac_status); }; }; then
66698   eval "$as_ac_var=yes"
66699 else
66700   echo "$as_me: failed program was:" >&5
66701 sed 's/^/| /' conftest.$ac_ext >&5
66702
66703 eval "$as_ac_var=no"
66704 fi
66705 rm -f conftest.err conftest.$ac_objext \
66706       conftest$ac_exeext conftest.$ac_ext
66707 fi
66708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66710 if test `eval echo '${'$as_ac_var'}'` = yes; then
66711   cat >>confdefs.h <<_ACEOF
66712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66713 _ACEOF
66714
66715 fi
66716 done
66717
66718     fi
66719   fi
66720
66721
66722
66723
66724
66725
66726   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66727 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66728   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66729     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66730   echo $ECHO_N "(cached) $ECHO_C" >&6
66731 else
66732
66733
66734
66735       ac_ext=cc
66736 ac_cpp='$CXXCPP $CPPFLAGS'
66737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66740
66741       cat >conftest.$ac_ext <<_ACEOF
66742 /* confdefs.h.  */
66743 _ACEOF
66744 cat confdefs.h >>conftest.$ac_ext
66745 cat >>conftest.$ac_ext <<_ACEOF
66746 /* end confdefs.h.  */
66747 #include <math.h>
66748                       #ifdef HAVE_IEEEFP_H
66749                       #include <ieeefp.h>
66750                       #endif
66751
66752 int
66753 main ()
66754 {
66755  fpclass(0);
66756   ;
66757   return 0;
66758 }
66759 _ACEOF
66760 rm -f conftest.$ac_objext
66761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66762   (eval $ac_compile) 2>conftest.er1
66763   ac_status=$?
66764   grep -v '^ *+' conftest.er1 >conftest.err
66765   rm -f conftest.er1
66766   cat conftest.err >&5
66767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768   (exit $ac_status); } &&
66769          { ac_try='test -z "$ac_cxx_werror_flag"
66770                          || test ! -s conftest.err'
66771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66772   (eval $ac_try) 2>&5
66773   ac_status=$?
66774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775   (exit $ac_status); }; } &&
66776          { ac_try='test -s conftest.$ac_objext'
66777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778   (eval $ac_try) 2>&5
66779   ac_status=$?
66780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781   (exit $ac_status); }; }; then
66782   glibcxx_cv_func_fpclass_use=yes
66783 else
66784   echo "$as_me: failed program was:" >&5
66785 sed 's/^/| /' conftest.$ac_ext >&5
66786
66787 glibcxx_cv_func_fpclass_use=no
66788 fi
66789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66790       ac_ext=c
66791 ac_cpp='$CPP $CPPFLAGS'
66792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66795
66796
66797 fi
66798
66799   fi
66800   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66801 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66802
66803   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66804
66805 for ac_func in fpclass
66806 do
66807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66808 echo "$as_me:$LINENO: checking for $ac_func" >&5
66809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66810 if eval "test \"\${$as_ac_var+set}\" = set"; then
66811   echo $ECHO_N "(cached) $ECHO_C" >&6
66812 else
66813   if test x$gcc_no_link = xyes; then
66814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66816    { (exit 1); exit 1; }; }
66817 fi
66818 cat >conftest.$ac_ext <<_ACEOF
66819 /* confdefs.h.  */
66820 _ACEOF
66821 cat confdefs.h >>conftest.$ac_ext
66822 cat >>conftest.$ac_ext <<_ACEOF
66823 /* end confdefs.h.  */
66824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66826 #define $ac_func innocuous_$ac_func
66827
66828 /* System header to define __stub macros and hopefully few prototypes,
66829     which can conflict with char $ac_func (); below.
66830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66831     <limits.h> exists even on freestanding compilers.  */
66832
66833 #ifdef __STDC__
66834 # include <limits.h>
66835 #else
66836 # include <assert.h>
66837 #endif
66838
66839 #undef $ac_func
66840
66841 /* Override any gcc2 internal prototype to avoid an error.  */
66842 #ifdef __cplusplus
66843 extern "C"
66844 {
66845 #endif
66846 /* We use char because int might match the return type of a gcc2
66847    builtin and then its argument prototype would still apply.  */
66848 char $ac_func ();
66849 /* The GNU C library defines this for functions which it implements
66850     to always fail with ENOSYS.  Some functions are actually named
66851     something starting with __ and the normal name is an alias.  */
66852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66853 choke me
66854 #else
66855 char (*f) () = $ac_func;
66856 #endif
66857 #ifdef __cplusplus
66858 }
66859 #endif
66860
66861 int
66862 main ()
66863 {
66864 return f != $ac_func;
66865   ;
66866   return 0;
66867 }
66868 _ACEOF
66869 rm -f conftest.$ac_objext conftest$ac_exeext
66870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66871   (eval $ac_link) 2>conftest.er1
66872   ac_status=$?
66873   grep -v '^ *+' conftest.er1 >conftest.err
66874   rm -f conftest.er1
66875   cat conftest.err >&5
66876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66877   (exit $ac_status); } &&
66878          { ac_try='test -z "$ac_c_werror_flag"
66879                          || test ! -s conftest.err'
66880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66881   (eval $ac_try) 2>&5
66882   ac_status=$?
66883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66884   (exit $ac_status); }; } &&
66885          { ac_try='test -s conftest$ac_exeext'
66886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66887   (eval $ac_try) 2>&5
66888   ac_status=$?
66889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66890   (exit $ac_status); }; }; then
66891   eval "$as_ac_var=yes"
66892 else
66893   echo "$as_me: failed program was:" >&5
66894 sed 's/^/| /' conftest.$ac_ext >&5
66895
66896 eval "$as_ac_var=no"
66897 fi
66898 rm -f conftest.err conftest.$ac_objext \
66899       conftest$ac_exeext conftest.$ac_ext
66900 fi
66901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66903 if test `eval echo '${'$as_ac_var'}'` = yes; then
66904   cat >>confdefs.h <<_ACEOF
66905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66906 _ACEOF
66907
66908 fi
66909 done
66910
66911   else
66912
66913   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66914 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66915   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66916     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66917   echo $ECHO_N "(cached) $ECHO_C" >&6
66918 else
66919
66920
66921
66922       ac_ext=cc
66923 ac_cpp='$CXXCPP $CPPFLAGS'
66924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66927
66928       cat >conftest.$ac_ext <<_ACEOF
66929 /* confdefs.h.  */
66930 _ACEOF
66931 cat confdefs.h >>conftest.$ac_ext
66932 cat >>conftest.$ac_ext <<_ACEOF
66933 /* end confdefs.h.  */
66934 #include <math.h>
66935                       #ifdef HAVE_IEEEFP_H
66936                       #include <ieeefp.h>
66937                       #endif
66938
66939 int
66940 main ()
66941 {
66942  _fpclass(0);
66943   ;
66944   return 0;
66945 }
66946 _ACEOF
66947 rm -f conftest.$ac_objext
66948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66949   (eval $ac_compile) 2>conftest.er1
66950   ac_status=$?
66951   grep -v '^ *+' conftest.er1 >conftest.err
66952   rm -f conftest.er1
66953   cat conftest.err >&5
66954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66955   (exit $ac_status); } &&
66956          { ac_try='test -z "$ac_cxx_werror_flag"
66957                          || test ! -s conftest.err'
66958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66959   (eval $ac_try) 2>&5
66960   ac_status=$?
66961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962   (exit $ac_status); }; } &&
66963          { ac_try='test -s conftest.$ac_objext'
66964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66965   (eval $ac_try) 2>&5
66966   ac_status=$?
66967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66968   (exit $ac_status); }; }; then
66969   glibcxx_cv_func__fpclass_use=yes
66970 else
66971   echo "$as_me: failed program was:" >&5
66972 sed 's/^/| /' conftest.$ac_ext >&5
66973
66974 glibcxx_cv_func__fpclass_use=no
66975 fi
66976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66977       ac_ext=c
66978 ac_cpp='$CPP $CPPFLAGS'
66979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66982
66983
66984 fi
66985
66986   fi
66987   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66988 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66989
66990     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66991
66992 for ac_func in _fpclass
66993 do
66994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66995 echo "$as_me:$LINENO: checking for $ac_func" >&5
66996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66997 if eval "test \"\${$as_ac_var+set}\" = set"; then
66998   echo $ECHO_N "(cached) $ECHO_C" >&6
66999 else
67000   if test x$gcc_no_link = xyes; then
67001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67003    { (exit 1); exit 1; }; }
67004 fi
67005 cat >conftest.$ac_ext <<_ACEOF
67006 /* confdefs.h.  */
67007 _ACEOF
67008 cat confdefs.h >>conftest.$ac_ext
67009 cat >>conftest.$ac_ext <<_ACEOF
67010 /* end confdefs.h.  */
67011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67013 #define $ac_func innocuous_$ac_func
67014
67015 /* System header to define __stub macros and hopefully few prototypes,
67016     which can conflict with char $ac_func (); below.
67017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67018     <limits.h> exists even on freestanding compilers.  */
67019
67020 #ifdef __STDC__
67021 # include <limits.h>
67022 #else
67023 # include <assert.h>
67024 #endif
67025
67026 #undef $ac_func
67027
67028 /* Override any gcc2 internal prototype to avoid an error.  */
67029 #ifdef __cplusplus
67030 extern "C"
67031 {
67032 #endif
67033 /* We use char because int might match the return type of a gcc2
67034    builtin and then its argument prototype would still apply.  */
67035 char $ac_func ();
67036 /* The GNU C library defines this for functions which it implements
67037     to always fail with ENOSYS.  Some functions are actually named
67038     something starting with __ and the normal name is an alias.  */
67039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67040 choke me
67041 #else
67042 char (*f) () = $ac_func;
67043 #endif
67044 #ifdef __cplusplus
67045 }
67046 #endif
67047
67048 int
67049 main ()
67050 {
67051 return f != $ac_func;
67052   ;
67053   return 0;
67054 }
67055 _ACEOF
67056 rm -f conftest.$ac_objext conftest$ac_exeext
67057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67058   (eval $ac_link) 2>conftest.er1
67059   ac_status=$?
67060   grep -v '^ *+' conftest.er1 >conftest.err
67061   rm -f conftest.er1
67062   cat conftest.err >&5
67063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67064   (exit $ac_status); } &&
67065          { ac_try='test -z "$ac_c_werror_flag"
67066                          || test ! -s conftest.err'
67067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67068   (eval $ac_try) 2>&5
67069   ac_status=$?
67070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67071   (exit $ac_status); }; } &&
67072          { ac_try='test -s conftest$ac_exeext'
67073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67074   (eval $ac_try) 2>&5
67075   ac_status=$?
67076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67077   (exit $ac_status); }; }; then
67078   eval "$as_ac_var=yes"
67079 else
67080   echo "$as_me: failed program was:" >&5
67081 sed 's/^/| /' conftest.$ac_ext >&5
67082
67083 eval "$as_ac_var=no"
67084 fi
67085 rm -f conftest.err conftest.$ac_objext \
67086       conftest$ac_exeext conftest.$ac_ext
67087 fi
67088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67090 if test `eval echo '${'$as_ac_var'}'` = yes; then
67091   cat >>confdefs.h <<_ACEOF
67092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67093 _ACEOF
67094
67095 fi
67096 done
67097
67098     fi
67099   fi
67100
67101
67102
67103
67104
67105
67106   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67107 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67108   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67109     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67110   echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67112
67113
67114
67115       ac_ext=cc
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120
67121       cat >conftest.$ac_ext <<_ACEOF
67122 /* confdefs.h.  */
67123 _ACEOF
67124 cat confdefs.h >>conftest.$ac_ext
67125 cat >>conftest.$ac_ext <<_ACEOF
67126 /* end confdefs.h.  */
67127 #include <math.h>
67128                       #ifdef HAVE_IEEEFP_H
67129                       #include <ieeefp.h>
67130                       #endif
67131
67132 int
67133 main ()
67134 {
67135  qfpclass(0);
67136   ;
67137   return 0;
67138 }
67139 _ACEOF
67140 rm -f conftest.$ac_objext
67141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67142   (eval $ac_compile) 2>conftest.er1
67143   ac_status=$?
67144   grep -v '^ *+' conftest.er1 >conftest.err
67145   rm -f conftest.er1
67146   cat conftest.err >&5
67147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67148   (exit $ac_status); } &&
67149          { ac_try='test -z "$ac_cxx_werror_flag"
67150                          || test ! -s conftest.err'
67151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67152   (eval $ac_try) 2>&5
67153   ac_status=$?
67154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155   (exit $ac_status); }; } &&
67156          { ac_try='test -s conftest.$ac_objext'
67157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67158   (eval $ac_try) 2>&5
67159   ac_status=$?
67160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67161   (exit $ac_status); }; }; then
67162   glibcxx_cv_func_qfpclass_use=yes
67163 else
67164   echo "$as_me: failed program was:" >&5
67165 sed 's/^/| /' conftest.$ac_ext >&5
67166
67167 glibcxx_cv_func_qfpclass_use=no
67168 fi
67169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67170       ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67175
67176
67177 fi
67178
67179   fi
67180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67181 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67182
67183   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67184
67185 for ac_func in qfpclass
67186 do
67187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67188 echo "$as_me:$LINENO: checking for $ac_func" >&5
67189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67190 if eval "test \"\${$as_ac_var+set}\" = set"; then
67191   echo $ECHO_N "(cached) $ECHO_C" >&6
67192 else
67193   if test x$gcc_no_link = xyes; then
67194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67196    { (exit 1); exit 1; }; }
67197 fi
67198 cat >conftest.$ac_ext <<_ACEOF
67199 /* confdefs.h.  */
67200 _ACEOF
67201 cat confdefs.h >>conftest.$ac_ext
67202 cat >>conftest.$ac_ext <<_ACEOF
67203 /* end confdefs.h.  */
67204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67206 #define $ac_func innocuous_$ac_func
67207
67208 /* System header to define __stub macros and hopefully few prototypes,
67209     which can conflict with char $ac_func (); below.
67210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67211     <limits.h> exists even on freestanding compilers.  */
67212
67213 #ifdef __STDC__
67214 # include <limits.h>
67215 #else
67216 # include <assert.h>
67217 #endif
67218
67219 #undef $ac_func
67220
67221 /* Override any gcc2 internal prototype to avoid an error.  */
67222 #ifdef __cplusplus
67223 extern "C"
67224 {
67225 #endif
67226 /* We use char because int might match the return type of a gcc2
67227    builtin and then its argument prototype would still apply.  */
67228 char $ac_func ();
67229 /* The GNU C library defines this for functions which it implements
67230     to always fail with ENOSYS.  Some functions are actually named
67231     something starting with __ and the normal name is an alias.  */
67232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67233 choke me
67234 #else
67235 char (*f) () = $ac_func;
67236 #endif
67237 #ifdef __cplusplus
67238 }
67239 #endif
67240
67241 int
67242 main ()
67243 {
67244 return f != $ac_func;
67245   ;
67246   return 0;
67247 }
67248 _ACEOF
67249 rm -f conftest.$ac_objext conftest$ac_exeext
67250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67251   (eval $ac_link) 2>conftest.er1
67252   ac_status=$?
67253   grep -v '^ *+' conftest.er1 >conftest.err
67254   rm -f conftest.er1
67255   cat conftest.err >&5
67256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67257   (exit $ac_status); } &&
67258          { ac_try='test -z "$ac_c_werror_flag"
67259                          || test ! -s conftest.err'
67260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67261   (eval $ac_try) 2>&5
67262   ac_status=$?
67263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264   (exit $ac_status); }; } &&
67265          { ac_try='test -s conftest$ac_exeext'
67266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67267   (eval $ac_try) 2>&5
67268   ac_status=$?
67269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67270   (exit $ac_status); }; }; then
67271   eval "$as_ac_var=yes"
67272 else
67273   echo "$as_me: failed program was:" >&5
67274 sed 's/^/| /' conftest.$ac_ext >&5
67275
67276 eval "$as_ac_var=no"
67277 fi
67278 rm -f conftest.err conftest.$ac_objext \
67279       conftest$ac_exeext conftest.$ac_ext
67280 fi
67281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67283 if test `eval echo '${'$as_ac_var'}'` = yes; then
67284   cat >>confdefs.h <<_ACEOF
67285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67286 _ACEOF
67287
67288 fi
67289 done
67290
67291   else
67292
67293   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67294 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67295   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67296     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67297   echo $ECHO_N "(cached) $ECHO_C" >&6
67298 else
67299
67300
67301
67302       ac_ext=cc
67303 ac_cpp='$CXXCPP $CPPFLAGS'
67304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67307
67308       cat >conftest.$ac_ext <<_ACEOF
67309 /* confdefs.h.  */
67310 _ACEOF
67311 cat confdefs.h >>conftest.$ac_ext
67312 cat >>conftest.$ac_ext <<_ACEOF
67313 /* end confdefs.h.  */
67314 #include <math.h>
67315                       #ifdef HAVE_IEEEFP_H
67316                       #include <ieeefp.h>
67317                       #endif
67318
67319 int
67320 main ()
67321 {
67322  _qfpclass(0);
67323   ;
67324   return 0;
67325 }
67326 _ACEOF
67327 rm -f conftest.$ac_objext
67328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67329   (eval $ac_compile) 2>conftest.er1
67330   ac_status=$?
67331   grep -v '^ *+' conftest.er1 >conftest.err
67332   rm -f conftest.er1
67333   cat conftest.err >&5
67334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67335   (exit $ac_status); } &&
67336          { ac_try='test -z "$ac_cxx_werror_flag"
67337                          || test ! -s conftest.err'
67338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67339   (eval $ac_try) 2>&5
67340   ac_status=$?
67341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67342   (exit $ac_status); }; } &&
67343          { ac_try='test -s conftest.$ac_objext'
67344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67345   (eval $ac_try) 2>&5
67346   ac_status=$?
67347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67348   (exit $ac_status); }; }; then
67349   glibcxx_cv_func__qfpclass_use=yes
67350 else
67351   echo "$as_me: failed program was:" >&5
67352 sed 's/^/| /' conftest.$ac_ext >&5
67353
67354 glibcxx_cv_func__qfpclass_use=no
67355 fi
67356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67357       ac_ext=c
67358 ac_cpp='$CPP $CPPFLAGS'
67359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67362
67363
67364 fi
67365
67366   fi
67367   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67368 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67369
67370     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67371
67372 for ac_func in _qfpclass
67373 do
67374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67375 echo "$as_me:$LINENO: checking for $ac_func" >&5
67376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67377 if eval "test \"\${$as_ac_var+set}\" = set"; then
67378   echo $ECHO_N "(cached) $ECHO_C" >&6
67379 else
67380   if test x$gcc_no_link = xyes; then
67381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67383    { (exit 1); exit 1; }; }
67384 fi
67385 cat >conftest.$ac_ext <<_ACEOF
67386 /* confdefs.h.  */
67387 _ACEOF
67388 cat confdefs.h >>conftest.$ac_ext
67389 cat >>conftest.$ac_ext <<_ACEOF
67390 /* end confdefs.h.  */
67391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67393 #define $ac_func innocuous_$ac_func
67394
67395 /* System header to define __stub macros and hopefully few prototypes,
67396     which can conflict with char $ac_func (); below.
67397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67398     <limits.h> exists even on freestanding compilers.  */
67399
67400 #ifdef __STDC__
67401 # include <limits.h>
67402 #else
67403 # include <assert.h>
67404 #endif
67405
67406 #undef $ac_func
67407
67408 /* Override any gcc2 internal prototype to avoid an error.  */
67409 #ifdef __cplusplus
67410 extern "C"
67411 {
67412 #endif
67413 /* We use char because int might match the return type of a gcc2
67414    builtin and then its argument prototype would still apply.  */
67415 char $ac_func ();
67416 /* The GNU C library defines this for functions which it implements
67417     to always fail with ENOSYS.  Some functions are actually named
67418     something starting with __ and the normal name is an alias.  */
67419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67420 choke me
67421 #else
67422 char (*f) () = $ac_func;
67423 #endif
67424 #ifdef __cplusplus
67425 }
67426 #endif
67427
67428 int
67429 main ()
67430 {
67431 return f != $ac_func;
67432   ;
67433   return 0;
67434 }
67435 _ACEOF
67436 rm -f conftest.$ac_objext conftest$ac_exeext
67437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67438   (eval $ac_link) 2>conftest.er1
67439   ac_status=$?
67440   grep -v '^ *+' conftest.er1 >conftest.err
67441   rm -f conftest.er1
67442   cat conftest.err >&5
67443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67444   (exit $ac_status); } &&
67445          { ac_try='test -z "$ac_c_werror_flag"
67446                          || test ! -s conftest.err'
67447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67448   (eval $ac_try) 2>&5
67449   ac_status=$?
67450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67451   (exit $ac_status); }; } &&
67452          { ac_try='test -s conftest$ac_exeext'
67453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67454   (eval $ac_try) 2>&5
67455   ac_status=$?
67456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67457   (exit $ac_status); }; }; then
67458   eval "$as_ac_var=yes"
67459 else
67460   echo "$as_me: failed program was:" >&5
67461 sed 's/^/| /' conftest.$ac_ext >&5
67462
67463 eval "$as_ac_var=no"
67464 fi
67465 rm -f conftest.err conftest.$ac_objext \
67466       conftest$ac_exeext conftest.$ac_ext
67467 fi
67468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67470 if test `eval echo '${'$as_ac_var'}'` = yes; then
67471   cat >>confdefs.h <<_ACEOF
67472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67473 _ACEOF
67474
67475 fi
67476 done
67477
67478     fi
67479   fi
67480
67481
67482
67483
67484
67485
67486   echo "$as_me:$LINENO: checking for hypot declaration" >&5
67487 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
67488   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
67490   echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67492
67493
67494
67495       ac_ext=cc
67496 ac_cpp='$CXXCPP $CPPFLAGS'
67497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67500
67501       cat >conftest.$ac_ext <<_ACEOF
67502 /* confdefs.h.  */
67503 _ACEOF
67504 cat confdefs.h >>conftest.$ac_ext
67505 cat >>conftest.$ac_ext <<_ACEOF
67506 /* end confdefs.h.  */
67507 #include <math.h>
67508 int
67509 main ()
67510 {
67511  hypot(0, 0);
67512   ;
67513   return 0;
67514 }
67515 _ACEOF
67516 rm -f conftest.$ac_objext
67517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67518   (eval $ac_compile) 2>conftest.er1
67519   ac_status=$?
67520   grep -v '^ *+' conftest.er1 >conftest.err
67521   rm -f conftest.er1
67522   cat conftest.err >&5
67523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524   (exit $ac_status); } &&
67525          { ac_try='test -z "$ac_cxx_werror_flag"
67526                          || test ! -s conftest.err'
67527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67528   (eval $ac_try) 2>&5
67529   ac_status=$?
67530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531   (exit $ac_status); }; } &&
67532          { ac_try='test -s conftest.$ac_objext'
67533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67534   (eval $ac_try) 2>&5
67535   ac_status=$?
67536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537   (exit $ac_status); }; }; then
67538   glibcxx_cv_func_hypot_use=yes
67539 else
67540   echo "$as_me: failed program was:" >&5
67541 sed 's/^/| /' conftest.$ac_ext >&5
67542
67543 glibcxx_cv_func_hypot_use=no
67544 fi
67545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67546       ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67551
67552
67553 fi
67554
67555   fi
67556   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67557 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67558
67559   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67560
67561 for ac_func in hypot
67562 do
67563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67564 echo "$as_me:$LINENO: checking for $ac_func" >&5
67565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67566 if eval "test \"\${$as_ac_var+set}\" = set"; then
67567   echo $ECHO_N "(cached) $ECHO_C" >&6
67568 else
67569   if test x$gcc_no_link = xyes; then
67570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67572    { (exit 1); exit 1; }; }
67573 fi
67574 cat >conftest.$ac_ext <<_ACEOF
67575 /* confdefs.h.  */
67576 _ACEOF
67577 cat confdefs.h >>conftest.$ac_ext
67578 cat >>conftest.$ac_ext <<_ACEOF
67579 /* end confdefs.h.  */
67580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67582 #define $ac_func innocuous_$ac_func
67583
67584 /* System header to define __stub macros and hopefully few prototypes,
67585     which can conflict with char $ac_func (); below.
67586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67587     <limits.h> exists even on freestanding compilers.  */
67588
67589 #ifdef __STDC__
67590 # include <limits.h>
67591 #else
67592 # include <assert.h>
67593 #endif
67594
67595 #undef $ac_func
67596
67597 /* Override any gcc2 internal prototype to avoid an error.  */
67598 #ifdef __cplusplus
67599 extern "C"
67600 {
67601 #endif
67602 /* We use char because int might match the return type of a gcc2
67603    builtin and then its argument prototype would still apply.  */
67604 char $ac_func ();
67605 /* The GNU C library defines this for functions which it implements
67606     to always fail with ENOSYS.  Some functions are actually named
67607     something starting with __ and the normal name is an alias.  */
67608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67609 choke me
67610 #else
67611 char (*f) () = $ac_func;
67612 #endif
67613 #ifdef __cplusplus
67614 }
67615 #endif
67616
67617 int
67618 main ()
67619 {
67620 return f != $ac_func;
67621   ;
67622   return 0;
67623 }
67624 _ACEOF
67625 rm -f conftest.$ac_objext conftest$ac_exeext
67626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67627   (eval $ac_link) 2>conftest.er1
67628   ac_status=$?
67629   grep -v '^ *+' conftest.er1 >conftest.err
67630   rm -f conftest.er1
67631   cat conftest.err >&5
67632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67633   (exit $ac_status); } &&
67634          { ac_try='test -z "$ac_c_werror_flag"
67635                          || test ! -s conftest.err'
67636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67637   (eval $ac_try) 2>&5
67638   ac_status=$?
67639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67640   (exit $ac_status); }; } &&
67641          { ac_try='test -s conftest$ac_exeext'
67642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67643   (eval $ac_try) 2>&5
67644   ac_status=$?
67645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67646   (exit $ac_status); }; }; then
67647   eval "$as_ac_var=yes"
67648 else
67649   echo "$as_me: failed program was:" >&5
67650 sed 's/^/| /' conftest.$ac_ext >&5
67651
67652 eval "$as_ac_var=no"
67653 fi
67654 rm -f conftest.err conftest.$ac_objext \
67655       conftest$ac_exeext conftest.$ac_ext
67656 fi
67657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67659 if test `eval echo '${'$as_ac_var'}'` = yes; then
67660   cat >>confdefs.h <<_ACEOF
67661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67662 _ACEOF
67663
67664 fi
67665 done
67666
67667   else
67668
67669   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67670 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67671   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67672     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67673   echo $ECHO_N "(cached) $ECHO_C" >&6
67674 else
67675
67676
67677
67678       ac_ext=cc
67679 ac_cpp='$CXXCPP $CPPFLAGS'
67680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67683
67684       cat >conftest.$ac_ext <<_ACEOF
67685 /* confdefs.h.  */
67686 _ACEOF
67687 cat confdefs.h >>conftest.$ac_ext
67688 cat >>conftest.$ac_ext <<_ACEOF
67689 /* end confdefs.h.  */
67690 #include <math.h>
67691 int
67692 main ()
67693 {
67694  _hypot(0, 0);
67695   ;
67696   return 0;
67697 }
67698 _ACEOF
67699 rm -f conftest.$ac_objext
67700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67701   (eval $ac_compile) 2>conftest.er1
67702   ac_status=$?
67703   grep -v '^ *+' conftest.er1 >conftest.err
67704   rm -f conftest.er1
67705   cat conftest.err >&5
67706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707   (exit $ac_status); } &&
67708          { ac_try='test -z "$ac_cxx_werror_flag"
67709                          || test ! -s conftest.err'
67710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67711   (eval $ac_try) 2>&5
67712   ac_status=$?
67713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67714   (exit $ac_status); }; } &&
67715          { ac_try='test -s conftest.$ac_objext'
67716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67717   (eval $ac_try) 2>&5
67718   ac_status=$?
67719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67720   (exit $ac_status); }; }; then
67721   glibcxx_cv_func__hypot_use=yes
67722 else
67723   echo "$as_me: failed program was:" >&5
67724 sed 's/^/| /' conftest.$ac_ext >&5
67725
67726 glibcxx_cv_func__hypot_use=no
67727 fi
67728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67729       ac_ext=c
67730 ac_cpp='$CPP $CPPFLAGS'
67731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67734
67735
67736 fi
67737
67738   fi
67739   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67740 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67741
67742     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67743
67744 for ac_func in _hypot
67745 do
67746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67747 echo "$as_me:$LINENO: checking for $ac_func" >&5
67748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67749 if eval "test \"\${$as_ac_var+set}\" = set"; then
67750   echo $ECHO_N "(cached) $ECHO_C" >&6
67751 else
67752   if test x$gcc_no_link = xyes; then
67753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67755    { (exit 1); exit 1; }; }
67756 fi
67757 cat >conftest.$ac_ext <<_ACEOF
67758 /* confdefs.h.  */
67759 _ACEOF
67760 cat confdefs.h >>conftest.$ac_ext
67761 cat >>conftest.$ac_ext <<_ACEOF
67762 /* end confdefs.h.  */
67763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67765 #define $ac_func innocuous_$ac_func
67766
67767 /* System header to define __stub macros and hopefully few prototypes,
67768     which can conflict with char $ac_func (); below.
67769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67770     <limits.h> exists even on freestanding compilers.  */
67771
67772 #ifdef __STDC__
67773 # include <limits.h>
67774 #else
67775 # include <assert.h>
67776 #endif
67777
67778 #undef $ac_func
67779
67780 /* Override any gcc2 internal prototype to avoid an error.  */
67781 #ifdef __cplusplus
67782 extern "C"
67783 {
67784 #endif
67785 /* We use char because int might match the return type of a gcc2
67786    builtin and then its argument prototype would still apply.  */
67787 char $ac_func ();
67788 /* The GNU C library defines this for functions which it implements
67789     to always fail with ENOSYS.  Some functions are actually named
67790     something starting with __ and the normal name is an alias.  */
67791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67792 choke me
67793 #else
67794 char (*f) () = $ac_func;
67795 #endif
67796 #ifdef __cplusplus
67797 }
67798 #endif
67799
67800 int
67801 main ()
67802 {
67803 return f != $ac_func;
67804   ;
67805   return 0;
67806 }
67807 _ACEOF
67808 rm -f conftest.$ac_objext conftest$ac_exeext
67809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67810   (eval $ac_link) 2>conftest.er1
67811   ac_status=$?
67812   grep -v '^ *+' conftest.er1 >conftest.err
67813   rm -f conftest.er1
67814   cat conftest.err >&5
67815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67816   (exit $ac_status); } &&
67817          { ac_try='test -z "$ac_c_werror_flag"
67818                          || test ! -s conftest.err'
67819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67820   (eval $ac_try) 2>&5
67821   ac_status=$?
67822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67823   (exit $ac_status); }; } &&
67824          { ac_try='test -s conftest$ac_exeext'
67825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67826   (eval $ac_try) 2>&5
67827   ac_status=$?
67828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67829   (exit $ac_status); }; }; then
67830   eval "$as_ac_var=yes"
67831 else
67832   echo "$as_me: failed program was:" >&5
67833 sed 's/^/| /' conftest.$ac_ext >&5
67834
67835 eval "$as_ac_var=no"
67836 fi
67837 rm -f conftest.err conftest.$ac_objext \
67838       conftest$ac_exeext conftest.$ac_ext
67839 fi
67840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67842 if test `eval echo '${'$as_ac_var'}'` = yes; then
67843   cat >>confdefs.h <<_ACEOF
67844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67845 _ACEOF
67846
67847 fi
67848 done
67849
67850     fi
67851   fi
67852
67853
67854
67855
67856
67857
67858     echo "$as_me:$LINENO: checking for float trig functions" >&5
67859 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67860   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67861   echo $ECHO_N "(cached) $ECHO_C" >&6
67862 else
67863
67864
67865
67866     ac_ext=cc
67867 ac_cpp='$CXXCPP $CPPFLAGS'
67868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67871
67872     cat >conftest.$ac_ext <<_ACEOF
67873 /* confdefs.h.  */
67874 _ACEOF
67875 cat confdefs.h >>conftest.$ac_ext
67876 cat >>conftest.$ac_ext <<_ACEOF
67877 /* end confdefs.h.  */
67878 #include <math.h>
67879 int
67880 main ()
67881 {
67882 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67883   ;
67884   return 0;
67885 }
67886 _ACEOF
67887 rm -f conftest.$ac_objext
67888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67889   (eval $ac_compile) 2>conftest.er1
67890   ac_status=$?
67891   grep -v '^ *+' conftest.er1 >conftest.err
67892   rm -f conftest.er1
67893   cat conftest.err >&5
67894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67895   (exit $ac_status); } &&
67896          { ac_try='test -z "$ac_cxx_werror_flag"
67897                          || test ! -s conftest.err'
67898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67899   (eval $ac_try) 2>&5
67900   ac_status=$?
67901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902   (exit $ac_status); }; } &&
67903          { ac_try='test -s conftest.$ac_objext'
67904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67905   (eval $ac_try) 2>&5
67906   ac_status=$?
67907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67908   (exit $ac_status); }; }; then
67909   glibcxx_cv_func_float_trig_use=yes
67910 else
67911   echo "$as_me: failed program was:" >&5
67912 sed 's/^/| /' conftest.$ac_ext >&5
67913
67914 glibcxx_cv_func_float_trig_use=no
67915 fi
67916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67917     ac_ext=c
67918 ac_cpp='$CPP $CPPFLAGS'
67919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67922
67923 fi
67924
67925   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67926 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67927   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67928
67929
67930
67931
67932
67933
67934
67935
67936
67937 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67938 do
67939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67940 echo "$as_me:$LINENO: checking for $ac_func" >&5
67941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67942 if eval "test \"\${$as_ac_var+set}\" = set"; then
67943   echo $ECHO_N "(cached) $ECHO_C" >&6
67944 else
67945   if test x$gcc_no_link = xyes; then
67946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67948    { (exit 1); exit 1; }; }
67949 fi
67950 cat >conftest.$ac_ext <<_ACEOF
67951 /* confdefs.h.  */
67952 _ACEOF
67953 cat confdefs.h >>conftest.$ac_ext
67954 cat >>conftest.$ac_ext <<_ACEOF
67955 /* end confdefs.h.  */
67956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67958 #define $ac_func innocuous_$ac_func
67959
67960 /* System header to define __stub macros and hopefully few prototypes,
67961     which can conflict with char $ac_func (); below.
67962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67963     <limits.h> exists even on freestanding compilers.  */
67964
67965 #ifdef __STDC__
67966 # include <limits.h>
67967 #else
67968 # include <assert.h>
67969 #endif
67970
67971 #undef $ac_func
67972
67973 /* Override any gcc2 internal prototype to avoid an error.  */
67974 #ifdef __cplusplus
67975 extern "C"
67976 {
67977 #endif
67978 /* We use char because int might match the return type of a gcc2
67979    builtin and then its argument prototype would still apply.  */
67980 char $ac_func ();
67981 /* The GNU C library defines this for functions which it implements
67982     to always fail with ENOSYS.  Some functions are actually named
67983     something starting with __ and the normal name is an alias.  */
67984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67985 choke me
67986 #else
67987 char (*f) () = $ac_func;
67988 #endif
67989 #ifdef __cplusplus
67990 }
67991 #endif
67992
67993 int
67994 main ()
67995 {
67996 return f != $ac_func;
67997   ;
67998   return 0;
67999 }
68000 _ACEOF
68001 rm -f conftest.$ac_objext conftest$ac_exeext
68002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68003   (eval $ac_link) 2>conftest.er1
68004   ac_status=$?
68005   grep -v '^ *+' conftest.er1 >conftest.err
68006   rm -f conftest.er1
68007   cat conftest.err >&5
68008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68009   (exit $ac_status); } &&
68010          { ac_try='test -z "$ac_c_werror_flag"
68011                          || test ! -s conftest.err'
68012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68013   (eval $ac_try) 2>&5
68014   ac_status=$?
68015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68016   (exit $ac_status); }; } &&
68017          { ac_try='test -s conftest$ac_exeext'
68018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68019   (eval $ac_try) 2>&5
68020   ac_status=$?
68021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68022   (exit $ac_status); }; }; then
68023   eval "$as_ac_var=yes"
68024 else
68025   echo "$as_me: failed program was:" >&5
68026 sed 's/^/| /' conftest.$ac_ext >&5
68027
68028 eval "$as_ac_var=no"
68029 fi
68030 rm -f conftest.err conftest.$ac_objext \
68031       conftest$ac_exeext conftest.$ac_ext
68032 fi
68033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68035 if test `eval echo '${'$as_ac_var'}'` = yes; then
68036   cat >>confdefs.h <<_ACEOF
68037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68038 _ACEOF
68039
68040 fi
68041 done
68042
68043   else
68044     echo "$as_me:$LINENO: checking for _float trig functions" >&5
68045 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68046     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68047   echo $ECHO_N "(cached) $ECHO_C" >&6
68048 else
68049
68050
68051
68052       ac_ext=cc
68053 ac_cpp='$CXXCPP $CPPFLAGS'
68054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68057
68058       cat >conftest.$ac_ext <<_ACEOF
68059 /* confdefs.h.  */
68060 _ACEOF
68061 cat confdefs.h >>conftest.$ac_ext
68062 cat >>conftest.$ac_ext <<_ACEOF
68063 /* end confdefs.h.  */
68064 #include <math.h>
68065 int
68066 main ()
68067 {
68068 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68069   ;
68070   return 0;
68071 }
68072 _ACEOF
68073 rm -f conftest.$ac_objext
68074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68075   (eval $ac_compile) 2>conftest.er1
68076   ac_status=$?
68077   grep -v '^ *+' conftest.er1 >conftest.err
68078   rm -f conftest.er1
68079   cat conftest.err >&5
68080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081   (exit $ac_status); } &&
68082          { ac_try='test -z "$ac_cxx_werror_flag"
68083                          || test ! -s conftest.err'
68084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68085   (eval $ac_try) 2>&5
68086   ac_status=$?
68087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68088   (exit $ac_status); }; } &&
68089          { ac_try='test -s conftest.$ac_objext'
68090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68091   (eval $ac_try) 2>&5
68092   ac_status=$?
68093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68094   (exit $ac_status); }; }; then
68095   glibcxx_cv_func__float_trig_use=yes
68096 else
68097   echo "$as_me: failed program was:" >&5
68098 sed 's/^/| /' conftest.$ac_ext >&5
68099
68100 glibcxx_cv_func__float_trig_use=no
68101 fi
68102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68103       ac_ext=c
68104 ac_cpp='$CPP $CPPFLAGS'
68105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68108
68109 fi
68110
68111     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68112 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68113     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68114
68115
68116
68117
68118
68119
68120
68121
68122
68123 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68124 do
68125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68126 echo "$as_me:$LINENO: checking for $ac_func" >&5
68127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68128 if eval "test \"\${$as_ac_var+set}\" = set"; then
68129   echo $ECHO_N "(cached) $ECHO_C" >&6
68130 else
68131   if test x$gcc_no_link = xyes; then
68132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68134    { (exit 1); exit 1; }; }
68135 fi
68136 cat >conftest.$ac_ext <<_ACEOF
68137 /* confdefs.h.  */
68138 _ACEOF
68139 cat confdefs.h >>conftest.$ac_ext
68140 cat >>conftest.$ac_ext <<_ACEOF
68141 /* end confdefs.h.  */
68142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68144 #define $ac_func innocuous_$ac_func
68145
68146 /* System header to define __stub macros and hopefully few prototypes,
68147     which can conflict with char $ac_func (); below.
68148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68149     <limits.h> exists even on freestanding compilers.  */
68150
68151 #ifdef __STDC__
68152 # include <limits.h>
68153 #else
68154 # include <assert.h>
68155 #endif
68156
68157 #undef $ac_func
68158
68159 /* Override any gcc2 internal prototype to avoid an error.  */
68160 #ifdef __cplusplus
68161 extern "C"
68162 {
68163 #endif
68164 /* We use char because int might match the return type of a gcc2
68165    builtin and then its argument prototype would still apply.  */
68166 char $ac_func ();
68167 /* The GNU C library defines this for functions which it implements
68168     to always fail with ENOSYS.  Some functions are actually named
68169     something starting with __ and the normal name is an alias.  */
68170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68171 choke me
68172 #else
68173 char (*f) () = $ac_func;
68174 #endif
68175 #ifdef __cplusplus
68176 }
68177 #endif
68178
68179 int
68180 main ()
68181 {
68182 return f != $ac_func;
68183   ;
68184   return 0;
68185 }
68186 _ACEOF
68187 rm -f conftest.$ac_objext conftest$ac_exeext
68188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68189   (eval $ac_link) 2>conftest.er1
68190   ac_status=$?
68191   grep -v '^ *+' conftest.er1 >conftest.err
68192   rm -f conftest.er1
68193   cat conftest.err >&5
68194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68195   (exit $ac_status); } &&
68196          { ac_try='test -z "$ac_c_werror_flag"
68197                          || test ! -s conftest.err'
68198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68199   (eval $ac_try) 2>&5
68200   ac_status=$?
68201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68202   (exit $ac_status); }; } &&
68203          { ac_try='test -s conftest$ac_exeext'
68204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68205   (eval $ac_try) 2>&5
68206   ac_status=$?
68207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68208   (exit $ac_status); }; }; then
68209   eval "$as_ac_var=yes"
68210 else
68211   echo "$as_me: failed program was:" >&5
68212 sed 's/^/| /' conftest.$ac_ext >&5
68213
68214 eval "$as_ac_var=no"
68215 fi
68216 rm -f conftest.err conftest.$ac_objext \
68217       conftest$ac_exeext conftest.$ac_ext
68218 fi
68219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68221 if test `eval echo '${'$as_ac_var'}'` = yes; then
68222   cat >>confdefs.h <<_ACEOF
68223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68224 _ACEOF
68225
68226 fi
68227 done
68228
68229     fi
68230   fi
68231
68232
68233
68234
68235
68236
68237
68238
68239
68240
68241
68242
68243
68244
68245     echo "$as_me:$LINENO: checking for float round functions" >&5
68246 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68247   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68248   echo $ECHO_N "(cached) $ECHO_C" >&6
68249 else
68250
68251
68252
68253     ac_ext=cc
68254 ac_cpp='$CXXCPP $CPPFLAGS'
68255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68258
68259     cat >conftest.$ac_ext <<_ACEOF
68260 /* confdefs.h.  */
68261 _ACEOF
68262 cat confdefs.h >>conftest.$ac_ext
68263 cat >>conftest.$ac_ext <<_ACEOF
68264 /* end confdefs.h.  */
68265 #include <math.h>
68266 int
68267 main ()
68268 {
68269 ceilf (0); floorf (0);
68270   ;
68271   return 0;
68272 }
68273 _ACEOF
68274 rm -f conftest.$ac_objext
68275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68276   (eval $ac_compile) 2>conftest.er1
68277   ac_status=$?
68278   grep -v '^ *+' conftest.er1 >conftest.err
68279   rm -f conftest.er1
68280   cat conftest.err >&5
68281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68282   (exit $ac_status); } &&
68283          { ac_try='test -z "$ac_cxx_werror_flag"
68284                          || test ! -s conftest.err'
68285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286   (eval $ac_try) 2>&5
68287   ac_status=$?
68288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289   (exit $ac_status); }; } &&
68290          { ac_try='test -s conftest.$ac_objext'
68291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292   (eval $ac_try) 2>&5
68293   ac_status=$?
68294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295   (exit $ac_status); }; }; then
68296   glibcxx_cv_func_float_round_use=yes
68297 else
68298   echo "$as_me: failed program was:" >&5
68299 sed 's/^/| /' conftest.$ac_ext >&5
68300
68301 glibcxx_cv_func_float_round_use=no
68302 fi
68303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68304     ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68309
68310 fi
68311
68312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68313 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68314   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68315
68316
68317 for ac_func in ceilf floorf
68318 do
68319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68320 echo "$as_me:$LINENO: checking for $ac_func" >&5
68321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68322 if eval "test \"\${$as_ac_var+set}\" = set"; then
68323   echo $ECHO_N "(cached) $ECHO_C" >&6
68324 else
68325   if test x$gcc_no_link = xyes; then
68326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68328    { (exit 1); exit 1; }; }
68329 fi
68330 cat >conftest.$ac_ext <<_ACEOF
68331 /* confdefs.h.  */
68332 _ACEOF
68333 cat confdefs.h >>conftest.$ac_ext
68334 cat >>conftest.$ac_ext <<_ACEOF
68335 /* end confdefs.h.  */
68336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68338 #define $ac_func innocuous_$ac_func
68339
68340 /* System header to define __stub macros and hopefully few prototypes,
68341     which can conflict with char $ac_func (); below.
68342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68343     <limits.h> exists even on freestanding compilers.  */
68344
68345 #ifdef __STDC__
68346 # include <limits.h>
68347 #else
68348 # include <assert.h>
68349 #endif
68350
68351 #undef $ac_func
68352
68353 /* Override any gcc2 internal prototype to avoid an error.  */
68354 #ifdef __cplusplus
68355 extern "C"
68356 {
68357 #endif
68358 /* We use char because int might match the return type of a gcc2
68359    builtin and then its argument prototype would still apply.  */
68360 char $ac_func ();
68361 /* The GNU C library defines this for functions which it implements
68362     to always fail with ENOSYS.  Some functions are actually named
68363     something starting with __ and the normal name is an alias.  */
68364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68365 choke me
68366 #else
68367 char (*f) () = $ac_func;
68368 #endif
68369 #ifdef __cplusplus
68370 }
68371 #endif
68372
68373 int
68374 main ()
68375 {
68376 return f != $ac_func;
68377   ;
68378   return 0;
68379 }
68380 _ACEOF
68381 rm -f conftest.$ac_objext conftest$ac_exeext
68382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68383   (eval $ac_link) 2>conftest.er1
68384   ac_status=$?
68385   grep -v '^ *+' conftest.er1 >conftest.err
68386   rm -f conftest.er1
68387   cat conftest.err >&5
68388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68389   (exit $ac_status); } &&
68390          { ac_try='test -z "$ac_c_werror_flag"
68391                          || test ! -s conftest.err'
68392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68393   (eval $ac_try) 2>&5
68394   ac_status=$?
68395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68396   (exit $ac_status); }; } &&
68397          { ac_try='test -s conftest$ac_exeext'
68398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68399   (eval $ac_try) 2>&5
68400   ac_status=$?
68401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68402   (exit $ac_status); }; }; then
68403   eval "$as_ac_var=yes"
68404 else
68405   echo "$as_me: failed program was:" >&5
68406 sed 's/^/| /' conftest.$ac_ext >&5
68407
68408 eval "$as_ac_var=no"
68409 fi
68410 rm -f conftest.err conftest.$ac_objext \
68411       conftest$ac_exeext conftest.$ac_ext
68412 fi
68413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68415 if test `eval echo '${'$as_ac_var'}'` = yes; then
68416   cat >>confdefs.h <<_ACEOF
68417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68418 _ACEOF
68419
68420 fi
68421 done
68422
68423   else
68424     echo "$as_me:$LINENO: checking for _float round functions" >&5
68425 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68426     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68427   echo $ECHO_N "(cached) $ECHO_C" >&6
68428 else
68429
68430
68431
68432       ac_ext=cc
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68437
68438       cat >conftest.$ac_ext <<_ACEOF
68439 /* confdefs.h.  */
68440 _ACEOF
68441 cat confdefs.h >>conftest.$ac_ext
68442 cat >>conftest.$ac_ext <<_ACEOF
68443 /* end confdefs.h.  */
68444 #include <math.h>
68445 int
68446 main ()
68447 {
68448 _ceilf (0); _floorf (0);
68449   ;
68450   return 0;
68451 }
68452 _ACEOF
68453 rm -f conftest.$ac_objext
68454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68455   (eval $ac_compile) 2>conftest.er1
68456   ac_status=$?
68457   grep -v '^ *+' conftest.er1 >conftest.err
68458   rm -f conftest.er1
68459   cat conftest.err >&5
68460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68461   (exit $ac_status); } &&
68462          { ac_try='test -z "$ac_cxx_werror_flag"
68463                          || test ! -s conftest.err'
68464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68465   (eval $ac_try) 2>&5
68466   ac_status=$?
68467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68468   (exit $ac_status); }; } &&
68469          { ac_try='test -s conftest.$ac_objext'
68470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68471   (eval $ac_try) 2>&5
68472   ac_status=$?
68473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68474   (exit $ac_status); }; }; then
68475   glibcxx_cv_func__float_round_use=yes
68476 else
68477   echo "$as_me: failed program was:" >&5
68478 sed 's/^/| /' conftest.$ac_ext >&5
68479
68480 glibcxx_cv_func__float_round_use=no
68481 fi
68482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68483       ac_ext=c
68484 ac_cpp='$CPP $CPPFLAGS'
68485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68488
68489 fi
68490
68491     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68492 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68493     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68494
68495
68496 for ac_func in _ceilf _floorf
68497 do
68498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68499 echo "$as_me:$LINENO: checking for $ac_func" >&5
68500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68501 if eval "test \"\${$as_ac_var+set}\" = set"; then
68502   echo $ECHO_N "(cached) $ECHO_C" >&6
68503 else
68504   if test x$gcc_no_link = xyes; then
68505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68507    { (exit 1); exit 1; }; }
68508 fi
68509 cat >conftest.$ac_ext <<_ACEOF
68510 /* confdefs.h.  */
68511 _ACEOF
68512 cat confdefs.h >>conftest.$ac_ext
68513 cat >>conftest.$ac_ext <<_ACEOF
68514 /* end confdefs.h.  */
68515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68517 #define $ac_func innocuous_$ac_func
68518
68519 /* System header to define __stub macros and hopefully few prototypes,
68520     which can conflict with char $ac_func (); below.
68521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68522     <limits.h> exists even on freestanding compilers.  */
68523
68524 #ifdef __STDC__
68525 # include <limits.h>
68526 #else
68527 # include <assert.h>
68528 #endif
68529
68530 #undef $ac_func
68531
68532 /* Override any gcc2 internal prototype to avoid an error.  */
68533 #ifdef __cplusplus
68534 extern "C"
68535 {
68536 #endif
68537 /* We use char because int might match the return type of a gcc2
68538    builtin and then its argument prototype would still apply.  */
68539 char $ac_func ();
68540 /* The GNU C library defines this for functions which it implements
68541     to always fail with ENOSYS.  Some functions are actually named
68542     something starting with __ and the normal name is an alias.  */
68543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68544 choke me
68545 #else
68546 char (*f) () = $ac_func;
68547 #endif
68548 #ifdef __cplusplus
68549 }
68550 #endif
68551
68552 int
68553 main ()
68554 {
68555 return f != $ac_func;
68556   ;
68557   return 0;
68558 }
68559 _ACEOF
68560 rm -f conftest.$ac_objext conftest$ac_exeext
68561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68562   (eval $ac_link) 2>conftest.er1
68563   ac_status=$?
68564   grep -v '^ *+' conftest.er1 >conftest.err
68565   rm -f conftest.er1
68566   cat conftest.err >&5
68567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68568   (exit $ac_status); } &&
68569          { ac_try='test -z "$ac_c_werror_flag"
68570                          || test ! -s conftest.err'
68571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68572   (eval $ac_try) 2>&5
68573   ac_status=$?
68574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68575   (exit $ac_status); }; } &&
68576          { ac_try='test -s conftest$ac_exeext'
68577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68578   (eval $ac_try) 2>&5
68579   ac_status=$?
68580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68581   (exit $ac_status); }; }; then
68582   eval "$as_ac_var=yes"
68583 else
68584   echo "$as_me: failed program was:" >&5
68585 sed 's/^/| /' conftest.$ac_ext >&5
68586
68587 eval "$as_ac_var=no"
68588 fi
68589 rm -f conftest.err conftest.$ac_objext \
68590       conftest$ac_exeext conftest.$ac_ext
68591 fi
68592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68594 if test `eval echo '${'$as_ac_var'}'` = yes; then
68595   cat >>confdefs.h <<_ACEOF
68596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68597 _ACEOF
68598
68599 fi
68600 done
68601
68602     fi
68603   fi
68604
68605
68606
68607
68608
68609
68610
68611
68612   echo "$as_me:$LINENO: checking for expf declaration" >&5
68613 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68614   if test x${glibcxx_cv_func_expf_use+set} != xset; then
68615     if test "${glibcxx_cv_func_expf_use+set}" = set; then
68616   echo $ECHO_N "(cached) $ECHO_C" >&6
68617 else
68618
68619
68620
68621       ac_ext=cc
68622 ac_cpp='$CXXCPP $CPPFLAGS'
68623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68626
68627       cat >conftest.$ac_ext <<_ACEOF
68628 /* confdefs.h.  */
68629 _ACEOF
68630 cat confdefs.h >>conftest.$ac_ext
68631 cat >>conftest.$ac_ext <<_ACEOF
68632 /* end confdefs.h.  */
68633 #include <math.h>
68634                       #ifdef HAVE_IEEEFP_H
68635                       #include <ieeefp.h>
68636                       #endif
68637
68638 int
68639 main ()
68640 {
68641  expf(0);
68642   ;
68643   return 0;
68644 }
68645 _ACEOF
68646 rm -f conftest.$ac_objext
68647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68648   (eval $ac_compile) 2>conftest.er1
68649   ac_status=$?
68650   grep -v '^ *+' conftest.er1 >conftest.err
68651   rm -f conftest.er1
68652   cat conftest.err >&5
68653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68654   (exit $ac_status); } &&
68655          { ac_try='test -z "$ac_cxx_werror_flag"
68656                          || test ! -s conftest.err'
68657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68658   (eval $ac_try) 2>&5
68659   ac_status=$?
68660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661   (exit $ac_status); }; } &&
68662          { ac_try='test -s conftest.$ac_objext'
68663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68664   (eval $ac_try) 2>&5
68665   ac_status=$?
68666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68667   (exit $ac_status); }; }; then
68668   glibcxx_cv_func_expf_use=yes
68669 else
68670   echo "$as_me: failed program was:" >&5
68671 sed 's/^/| /' conftest.$ac_ext >&5
68672
68673 glibcxx_cv_func_expf_use=no
68674 fi
68675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68676       ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681
68682
68683 fi
68684
68685   fi
68686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68687 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68688
68689   if test x$glibcxx_cv_func_expf_use = x"yes"; then
68690
68691 for ac_func in expf
68692 do
68693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68694 echo "$as_me:$LINENO: checking for $ac_func" >&5
68695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68696 if eval "test \"\${$as_ac_var+set}\" = set"; then
68697   echo $ECHO_N "(cached) $ECHO_C" >&6
68698 else
68699   if test x$gcc_no_link = xyes; then
68700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68702    { (exit 1); exit 1; }; }
68703 fi
68704 cat >conftest.$ac_ext <<_ACEOF
68705 /* confdefs.h.  */
68706 _ACEOF
68707 cat confdefs.h >>conftest.$ac_ext
68708 cat >>conftest.$ac_ext <<_ACEOF
68709 /* end confdefs.h.  */
68710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68712 #define $ac_func innocuous_$ac_func
68713
68714 /* System header to define __stub macros and hopefully few prototypes,
68715     which can conflict with char $ac_func (); below.
68716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68717     <limits.h> exists even on freestanding compilers.  */
68718
68719 #ifdef __STDC__
68720 # include <limits.h>
68721 #else
68722 # include <assert.h>
68723 #endif
68724
68725 #undef $ac_func
68726
68727 /* Override any gcc2 internal prototype to avoid an error.  */
68728 #ifdef __cplusplus
68729 extern "C"
68730 {
68731 #endif
68732 /* We use char because int might match the return type of a gcc2
68733    builtin and then its argument prototype would still apply.  */
68734 char $ac_func ();
68735 /* The GNU C library defines this for functions which it implements
68736     to always fail with ENOSYS.  Some functions are actually named
68737     something starting with __ and the normal name is an alias.  */
68738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68739 choke me
68740 #else
68741 char (*f) () = $ac_func;
68742 #endif
68743 #ifdef __cplusplus
68744 }
68745 #endif
68746
68747 int
68748 main ()
68749 {
68750 return f != $ac_func;
68751   ;
68752   return 0;
68753 }
68754 _ACEOF
68755 rm -f conftest.$ac_objext conftest$ac_exeext
68756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68757   (eval $ac_link) 2>conftest.er1
68758   ac_status=$?
68759   grep -v '^ *+' conftest.er1 >conftest.err
68760   rm -f conftest.er1
68761   cat conftest.err >&5
68762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68763   (exit $ac_status); } &&
68764          { ac_try='test -z "$ac_c_werror_flag"
68765                          || test ! -s conftest.err'
68766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68767   (eval $ac_try) 2>&5
68768   ac_status=$?
68769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770   (exit $ac_status); }; } &&
68771          { ac_try='test -s conftest$ac_exeext'
68772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68773   (eval $ac_try) 2>&5
68774   ac_status=$?
68775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776   (exit $ac_status); }; }; then
68777   eval "$as_ac_var=yes"
68778 else
68779   echo "$as_me: failed program was:" >&5
68780 sed 's/^/| /' conftest.$ac_ext >&5
68781
68782 eval "$as_ac_var=no"
68783 fi
68784 rm -f conftest.err conftest.$ac_objext \
68785       conftest$ac_exeext conftest.$ac_ext
68786 fi
68787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68789 if test `eval echo '${'$as_ac_var'}'` = yes; then
68790   cat >>confdefs.h <<_ACEOF
68791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68792 _ACEOF
68793
68794 fi
68795 done
68796
68797   else
68798
68799   echo "$as_me:$LINENO: checking for _expf declaration" >&5
68800 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68801   if test x${glibcxx_cv_func__expf_use+set} != xset; then
68802     if test "${glibcxx_cv_func__expf_use+set}" = set; then
68803   echo $ECHO_N "(cached) $ECHO_C" >&6
68804 else
68805
68806
68807
68808       ac_ext=cc
68809 ac_cpp='$CXXCPP $CPPFLAGS'
68810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68813
68814       cat >conftest.$ac_ext <<_ACEOF
68815 /* confdefs.h.  */
68816 _ACEOF
68817 cat confdefs.h >>conftest.$ac_ext
68818 cat >>conftest.$ac_ext <<_ACEOF
68819 /* end confdefs.h.  */
68820 #include <math.h>
68821                       #ifdef HAVE_IEEEFP_H
68822                       #include <ieeefp.h>
68823                       #endif
68824
68825 int
68826 main ()
68827 {
68828  _expf(0);
68829   ;
68830   return 0;
68831 }
68832 _ACEOF
68833 rm -f conftest.$ac_objext
68834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68835   (eval $ac_compile) 2>conftest.er1
68836   ac_status=$?
68837   grep -v '^ *+' conftest.er1 >conftest.err
68838   rm -f conftest.er1
68839   cat conftest.err >&5
68840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68841   (exit $ac_status); } &&
68842          { ac_try='test -z "$ac_cxx_werror_flag"
68843                          || test ! -s conftest.err'
68844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68845   (eval $ac_try) 2>&5
68846   ac_status=$?
68847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848   (exit $ac_status); }; } &&
68849          { ac_try='test -s conftest.$ac_objext'
68850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68851   (eval $ac_try) 2>&5
68852   ac_status=$?
68853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68854   (exit $ac_status); }; }; then
68855   glibcxx_cv_func__expf_use=yes
68856 else
68857   echo "$as_me: failed program was:" >&5
68858 sed 's/^/| /' conftest.$ac_ext >&5
68859
68860 glibcxx_cv_func__expf_use=no
68861 fi
68862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68863       ac_ext=c
68864 ac_cpp='$CPP $CPPFLAGS'
68865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68868
68869
68870 fi
68871
68872   fi
68873   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68874 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68875
68876     if test x$glibcxx_cv_func__expf_use = x"yes"; then
68877
68878 for ac_func in _expf
68879 do
68880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68881 echo "$as_me:$LINENO: checking for $ac_func" >&5
68882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68883 if eval "test \"\${$as_ac_var+set}\" = set"; then
68884   echo $ECHO_N "(cached) $ECHO_C" >&6
68885 else
68886   if test x$gcc_no_link = xyes; then
68887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68889    { (exit 1); exit 1; }; }
68890 fi
68891 cat >conftest.$ac_ext <<_ACEOF
68892 /* confdefs.h.  */
68893 _ACEOF
68894 cat confdefs.h >>conftest.$ac_ext
68895 cat >>conftest.$ac_ext <<_ACEOF
68896 /* end confdefs.h.  */
68897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68899 #define $ac_func innocuous_$ac_func
68900
68901 /* System header to define __stub macros and hopefully few prototypes,
68902     which can conflict with char $ac_func (); below.
68903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68904     <limits.h> exists even on freestanding compilers.  */
68905
68906 #ifdef __STDC__
68907 # include <limits.h>
68908 #else
68909 # include <assert.h>
68910 #endif
68911
68912 #undef $ac_func
68913
68914 /* Override any gcc2 internal prototype to avoid an error.  */
68915 #ifdef __cplusplus
68916 extern "C"
68917 {
68918 #endif
68919 /* We use char because int might match the return type of a gcc2
68920    builtin and then its argument prototype would still apply.  */
68921 char $ac_func ();
68922 /* The GNU C library defines this for functions which it implements
68923     to always fail with ENOSYS.  Some functions are actually named
68924     something starting with __ and the normal name is an alias.  */
68925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68926 choke me
68927 #else
68928 char (*f) () = $ac_func;
68929 #endif
68930 #ifdef __cplusplus
68931 }
68932 #endif
68933
68934 int
68935 main ()
68936 {
68937 return f != $ac_func;
68938   ;
68939   return 0;
68940 }
68941 _ACEOF
68942 rm -f conftest.$ac_objext conftest$ac_exeext
68943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68944   (eval $ac_link) 2>conftest.er1
68945   ac_status=$?
68946   grep -v '^ *+' conftest.er1 >conftest.err
68947   rm -f conftest.er1
68948   cat conftest.err >&5
68949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68950   (exit $ac_status); } &&
68951          { ac_try='test -z "$ac_c_werror_flag"
68952                          || test ! -s conftest.err'
68953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68954   (eval $ac_try) 2>&5
68955   ac_status=$?
68956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68957   (exit $ac_status); }; } &&
68958          { ac_try='test -s conftest$ac_exeext'
68959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68960   (eval $ac_try) 2>&5
68961   ac_status=$?
68962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68963   (exit $ac_status); }; }; then
68964   eval "$as_ac_var=yes"
68965 else
68966   echo "$as_me: failed program was:" >&5
68967 sed 's/^/| /' conftest.$ac_ext >&5
68968
68969 eval "$as_ac_var=no"
68970 fi
68971 rm -f conftest.err conftest.$ac_objext \
68972       conftest$ac_exeext conftest.$ac_ext
68973 fi
68974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68976 if test `eval echo '${'$as_ac_var'}'` = yes; then
68977   cat >>confdefs.h <<_ACEOF
68978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68979 _ACEOF
68980
68981 fi
68982 done
68983
68984     fi
68985   fi
68986
68987
68988
68989
68990
68991
68992   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68993 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68994   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68995     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68996   echo $ECHO_N "(cached) $ECHO_C" >&6
68997 else
68998
68999
69000
69001       ac_ext=cc
69002 ac_cpp='$CXXCPP $CPPFLAGS'
69003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69006
69007       cat >conftest.$ac_ext <<_ACEOF
69008 /* confdefs.h.  */
69009 _ACEOF
69010 cat confdefs.h >>conftest.$ac_ext
69011 cat >>conftest.$ac_ext <<_ACEOF
69012 /* end confdefs.h.  */
69013 #include <math.h>
69014                       #ifdef HAVE_IEEEFP_H
69015                       #include <ieeefp.h>
69016                       #endif
69017
69018 int
69019 main ()
69020 {
69021  isnanf(0);
69022   ;
69023   return 0;
69024 }
69025 _ACEOF
69026 rm -f conftest.$ac_objext
69027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69028   (eval $ac_compile) 2>conftest.er1
69029   ac_status=$?
69030   grep -v '^ *+' conftest.er1 >conftest.err
69031   rm -f conftest.er1
69032   cat conftest.err >&5
69033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69034   (exit $ac_status); } &&
69035          { ac_try='test -z "$ac_cxx_werror_flag"
69036                          || test ! -s conftest.err'
69037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69038   (eval $ac_try) 2>&5
69039   ac_status=$?
69040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69041   (exit $ac_status); }; } &&
69042          { ac_try='test -s conftest.$ac_objext'
69043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69044   (eval $ac_try) 2>&5
69045   ac_status=$?
69046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69047   (exit $ac_status); }; }; then
69048   glibcxx_cv_func_isnanf_use=yes
69049 else
69050   echo "$as_me: failed program was:" >&5
69051 sed 's/^/| /' conftest.$ac_ext >&5
69052
69053 glibcxx_cv_func_isnanf_use=no
69054 fi
69055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69056       ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69061
69062
69063 fi
69064
69065   fi
69066   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69067 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69068
69069   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69070
69071 for ac_func in isnanf
69072 do
69073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69074 echo "$as_me:$LINENO: checking for $ac_func" >&5
69075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69076 if eval "test \"\${$as_ac_var+set}\" = set"; then
69077   echo $ECHO_N "(cached) $ECHO_C" >&6
69078 else
69079   if test x$gcc_no_link = xyes; then
69080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69082    { (exit 1); exit 1; }; }
69083 fi
69084 cat >conftest.$ac_ext <<_ACEOF
69085 /* confdefs.h.  */
69086 _ACEOF
69087 cat confdefs.h >>conftest.$ac_ext
69088 cat >>conftest.$ac_ext <<_ACEOF
69089 /* end confdefs.h.  */
69090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69092 #define $ac_func innocuous_$ac_func
69093
69094 /* System header to define __stub macros and hopefully few prototypes,
69095     which can conflict with char $ac_func (); below.
69096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69097     <limits.h> exists even on freestanding compilers.  */
69098
69099 #ifdef __STDC__
69100 # include <limits.h>
69101 #else
69102 # include <assert.h>
69103 #endif
69104
69105 #undef $ac_func
69106
69107 /* Override any gcc2 internal prototype to avoid an error.  */
69108 #ifdef __cplusplus
69109 extern "C"
69110 {
69111 #endif
69112 /* We use char because int might match the return type of a gcc2
69113    builtin and then its argument prototype would still apply.  */
69114 char $ac_func ();
69115 /* The GNU C library defines this for functions which it implements
69116     to always fail with ENOSYS.  Some functions are actually named
69117     something starting with __ and the normal name is an alias.  */
69118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69119 choke me
69120 #else
69121 char (*f) () = $ac_func;
69122 #endif
69123 #ifdef __cplusplus
69124 }
69125 #endif
69126
69127 int
69128 main ()
69129 {
69130 return f != $ac_func;
69131   ;
69132   return 0;
69133 }
69134 _ACEOF
69135 rm -f conftest.$ac_objext conftest$ac_exeext
69136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69137   (eval $ac_link) 2>conftest.er1
69138   ac_status=$?
69139   grep -v '^ *+' conftest.er1 >conftest.err
69140   rm -f conftest.er1
69141   cat conftest.err >&5
69142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69143   (exit $ac_status); } &&
69144          { ac_try='test -z "$ac_c_werror_flag"
69145                          || test ! -s conftest.err'
69146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147   (eval $ac_try) 2>&5
69148   ac_status=$?
69149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150   (exit $ac_status); }; } &&
69151          { ac_try='test -s conftest$ac_exeext'
69152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153   (eval $ac_try) 2>&5
69154   ac_status=$?
69155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156   (exit $ac_status); }; }; then
69157   eval "$as_ac_var=yes"
69158 else
69159   echo "$as_me: failed program was:" >&5
69160 sed 's/^/| /' conftest.$ac_ext >&5
69161
69162 eval "$as_ac_var=no"
69163 fi
69164 rm -f conftest.err conftest.$ac_objext \
69165       conftest$ac_exeext conftest.$ac_ext
69166 fi
69167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69169 if test `eval echo '${'$as_ac_var'}'` = yes; then
69170   cat >>confdefs.h <<_ACEOF
69171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69172 _ACEOF
69173
69174 fi
69175 done
69176
69177   else
69178
69179   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69180 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69181   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69182     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69183   echo $ECHO_N "(cached) $ECHO_C" >&6
69184 else
69185
69186
69187
69188       ac_ext=cc
69189 ac_cpp='$CXXCPP $CPPFLAGS'
69190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69193
69194       cat >conftest.$ac_ext <<_ACEOF
69195 /* confdefs.h.  */
69196 _ACEOF
69197 cat confdefs.h >>conftest.$ac_ext
69198 cat >>conftest.$ac_ext <<_ACEOF
69199 /* end confdefs.h.  */
69200 #include <math.h>
69201                       #ifdef HAVE_IEEEFP_H
69202                       #include <ieeefp.h>
69203                       #endif
69204
69205 int
69206 main ()
69207 {
69208  _isnanf(0);
69209   ;
69210   return 0;
69211 }
69212 _ACEOF
69213 rm -f conftest.$ac_objext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69215   (eval $ac_compile) 2>conftest.er1
69216   ac_status=$?
69217   grep -v '^ *+' conftest.er1 >conftest.err
69218   rm -f conftest.er1
69219   cat conftest.err >&5
69220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221   (exit $ac_status); } &&
69222          { ac_try='test -z "$ac_cxx_werror_flag"
69223                          || test ! -s conftest.err'
69224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225   (eval $ac_try) 2>&5
69226   ac_status=$?
69227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228   (exit $ac_status); }; } &&
69229          { ac_try='test -s conftest.$ac_objext'
69230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231   (eval $ac_try) 2>&5
69232   ac_status=$?
69233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234   (exit $ac_status); }; }; then
69235   glibcxx_cv_func__isnanf_use=yes
69236 else
69237   echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69239
69240 glibcxx_cv_func__isnanf_use=no
69241 fi
69242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69243       ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69248
69249
69250 fi
69251
69252   fi
69253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69254 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69255
69256     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69257
69258 for ac_func in _isnanf
69259 do
69260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69261 echo "$as_me:$LINENO: checking for $ac_func" >&5
69262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69263 if eval "test \"\${$as_ac_var+set}\" = set"; then
69264   echo $ECHO_N "(cached) $ECHO_C" >&6
69265 else
69266   if test x$gcc_no_link = xyes; then
69267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69269    { (exit 1); exit 1; }; }
69270 fi
69271 cat >conftest.$ac_ext <<_ACEOF
69272 /* confdefs.h.  */
69273 _ACEOF
69274 cat confdefs.h >>conftest.$ac_ext
69275 cat >>conftest.$ac_ext <<_ACEOF
69276 /* end confdefs.h.  */
69277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69279 #define $ac_func innocuous_$ac_func
69280
69281 /* System header to define __stub macros and hopefully few prototypes,
69282     which can conflict with char $ac_func (); below.
69283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69284     <limits.h> exists even on freestanding compilers.  */
69285
69286 #ifdef __STDC__
69287 # include <limits.h>
69288 #else
69289 # include <assert.h>
69290 #endif
69291
69292 #undef $ac_func
69293
69294 /* Override any gcc2 internal prototype to avoid an error.  */
69295 #ifdef __cplusplus
69296 extern "C"
69297 {
69298 #endif
69299 /* We use char because int might match the return type of a gcc2
69300    builtin and then its argument prototype would still apply.  */
69301 char $ac_func ();
69302 /* The GNU C library defines this for functions which it implements
69303     to always fail with ENOSYS.  Some functions are actually named
69304     something starting with __ and the normal name is an alias.  */
69305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69306 choke me
69307 #else
69308 char (*f) () = $ac_func;
69309 #endif
69310 #ifdef __cplusplus
69311 }
69312 #endif
69313
69314 int
69315 main ()
69316 {
69317 return f != $ac_func;
69318   ;
69319   return 0;
69320 }
69321 _ACEOF
69322 rm -f conftest.$ac_objext conftest$ac_exeext
69323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69324   (eval $ac_link) 2>conftest.er1
69325   ac_status=$?
69326   grep -v '^ *+' conftest.er1 >conftest.err
69327   rm -f conftest.er1
69328   cat conftest.err >&5
69329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330   (exit $ac_status); } &&
69331          { ac_try='test -z "$ac_c_werror_flag"
69332                          || test ! -s conftest.err'
69333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69334   (eval $ac_try) 2>&5
69335   ac_status=$?
69336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69337   (exit $ac_status); }; } &&
69338          { ac_try='test -s conftest$ac_exeext'
69339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69340   (eval $ac_try) 2>&5
69341   ac_status=$?
69342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69343   (exit $ac_status); }; }; then
69344   eval "$as_ac_var=yes"
69345 else
69346   echo "$as_me: failed program was:" >&5
69347 sed 's/^/| /' conftest.$ac_ext >&5
69348
69349 eval "$as_ac_var=no"
69350 fi
69351 rm -f conftest.err conftest.$ac_objext \
69352       conftest$ac_exeext conftest.$ac_ext
69353 fi
69354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69356 if test `eval echo '${'$as_ac_var'}'` = yes; then
69357   cat >>confdefs.h <<_ACEOF
69358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69359 _ACEOF
69360
69361 fi
69362 done
69363
69364     fi
69365   fi
69366
69367
69368
69369
69370
69371
69372   echo "$as_me:$LINENO: checking for isinff declaration" >&5
69373 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69374   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69375     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69376   echo $ECHO_N "(cached) $ECHO_C" >&6
69377 else
69378
69379
69380
69381       ac_ext=cc
69382 ac_cpp='$CXXCPP $CPPFLAGS'
69383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69386
69387       cat >conftest.$ac_ext <<_ACEOF
69388 /* confdefs.h.  */
69389 _ACEOF
69390 cat confdefs.h >>conftest.$ac_ext
69391 cat >>conftest.$ac_ext <<_ACEOF
69392 /* end confdefs.h.  */
69393 #include <math.h>
69394                       #ifdef HAVE_IEEEFP_H
69395                       #include <ieeefp.h>
69396                       #endif
69397
69398 int
69399 main ()
69400 {
69401  isinff(0);
69402   ;
69403   return 0;
69404 }
69405 _ACEOF
69406 rm -f conftest.$ac_objext
69407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69408   (eval $ac_compile) 2>conftest.er1
69409   ac_status=$?
69410   grep -v '^ *+' conftest.er1 >conftest.err
69411   rm -f conftest.er1
69412   cat conftest.err >&5
69413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414   (exit $ac_status); } &&
69415          { ac_try='test -z "$ac_cxx_werror_flag"
69416                          || test ! -s conftest.err'
69417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69418   (eval $ac_try) 2>&5
69419   ac_status=$?
69420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69421   (exit $ac_status); }; } &&
69422          { ac_try='test -s conftest.$ac_objext'
69423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69424   (eval $ac_try) 2>&5
69425   ac_status=$?
69426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69427   (exit $ac_status); }; }; then
69428   glibcxx_cv_func_isinff_use=yes
69429 else
69430   echo "$as_me: failed program was:" >&5
69431 sed 's/^/| /' conftest.$ac_ext >&5
69432
69433 glibcxx_cv_func_isinff_use=no
69434 fi
69435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69436       ac_ext=c
69437 ac_cpp='$CPP $CPPFLAGS'
69438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69441
69442
69443 fi
69444
69445   fi
69446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69447 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69448
69449   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69450
69451 for ac_func in isinff
69452 do
69453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69454 echo "$as_me:$LINENO: checking for $ac_func" >&5
69455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69456 if eval "test \"\${$as_ac_var+set}\" = set"; then
69457   echo $ECHO_N "(cached) $ECHO_C" >&6
69458 else
69459   if test x$gcc_no_link = xyes; then
69460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69462    { (exit 1); exit 1; }; }
69463 fi
69464 cat >conftest.$ac_ext <<_ACEOF
69465 /* confdefs.h.  */
69466 _ACEOF
69467 cat confdefs.h >>conftest.$ac_ext
69468 cat >>conftest.$ac_ext <<_ACEOF
69469 /* end confdefs.h.  */
69470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69472 #define $ac_func innocuous_$ac_func
69473
69474 /* System header to define __stub macros and hopefully few prototypes,
69475     which can conflict with char $ac_func (); below.
69476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69477     <limits.h> exists even on freestanding compilers.  */
69478
69479 #ifdef __STDC__
69480 # include <limits.h>
69481 #else
69482 # include <assert.h>
69483 #endif
69484
69485 #undef $ac_func
69486
69487 /* Override any gcc2 internal prototype to avoid an error.  */
69488 #ifdef __cplusplus
69489 extern "C"
69490 {
69491 #endif
69492 /* We use char because int might match the return type of a gcc2
69493    builtin and then its argument prototype would still apply.  */
69494 char $ac_func ();
69495 /* The GNU C library defines this for functions which it implements
69496     to always fail with ENOSYS.  Some functions are actually named
69497     something starting with __ and the normal name is an alias.  */
69498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69499 choke me
69500 #else
69501 char (*f) () = $ac_func;
69502 #endif
69503 #ifdef __cplusplus
69504 }
69505 #endif
69506
69507 int
69508 main ()
69509 {
69510 return f != $ac_func;
69511   ;
69512   return 0;
69513 }
69514 _ACEOF
69515 rm -f conftest.$ac_objext conftest$ac_exeext
69516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69517   (eval $ac_link) 2>conftest.er1
69518   ac_status=$?
69519   grep -v '^ *+' conftest.er1 >conftest.err
69520   rm -f conftest.er1
69521   cat conftest.err >&5
69522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523   (exit $ac_status); } &&
69524          { ac_try='test -z "$ac_c_werror_flag"
69525                          || test ! -s conftest.err'
69526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527   (eval $ac_try) 2>&5
69528   ac_status=$?
69529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530   (exit $ac_status); }; } &&
69531          { ac_try='test -s conftest$ac_exeext'
69532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69533   (eval $ac_try) 2>&5
69534   ac_status=$?
69535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69536   (exit $ac_status); }; }; then
69537   eval "$as_ac_var=yes"
69538 else
69539   echo "$as_me: failed program was:" >&5
69540 sed 's/^/| /' conftest.$ac_ext >&5
69541
69542 eval "$as_ac_var=no"
69543 fi
69544 rm -f conftest.err conftest.$ac_objext \
69545       conftest$ac_exeext conftest.$ac_ext
69546 fi
69547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69549 if test `eval echo '${'$as_ac_var'}'` = yes; then
69550   cat >>confdefs.h <<_ACEOF
69551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69552 _ACEOF
69553
69554 fi
69555 done
69556
69557   else
69558
69559   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69560 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69561   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69562     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69563   echo $ECHO_N "(cached) $ECHO_C" >&6
69564 else
69565
69566
69567
69568       ac_ext=cc
69569 ac_cpp='$CXXCPP $CPPFLAGS'
69570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69573
69574       cat >conftest.$ac_ext <<_ACEOF
69575 /* confdefs.h.  */
69576 _ACEOF
69577 cat confdefs.h >>conftest.$ac_ext
69578 cat >>conftest.$ac_ext <<_ACEOF
69579 /* end confdefs.h.  */
69580 #include <math.h>
69581                       #ifdef HAVE_IEEEFP_H
69582                       #include <ieeefp.h>
69583                       #endif
69584
69585 int
69586 main ()
69587 {
69588  _isinff(0);
69589   ;
69590   return 0;
69591 }
69592 _ACEOF
69593 rm -f conftest.$ac_objext
69594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69595   (eval $ac_compile) 2>conftest.er1
69596   ac_status=$?
69597   grep -v '^ *+' conftest.er1 >conftest.err
69598   rm -f conftest.er1
69599   cat conftest.err >&5
69600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601   (exit $ac_status); } &&
69602          { ac_try='test -z "$ac_cxx_werror_flag"
69603                          || test ! -s conftest.err'
69604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605   (eval $ac_try) 2>&5
69606   ac_status=$?
69607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608   (exit $ac_status); }; } &&
69609          { ac_try='test -s conftest.$ac_objext'
69610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69611   (eval $ac_try) 2>&5
69612   ac_status=$?
69613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69614   (exit $ac_status); }; }; then
69615   glibcxx_cv_func__isinff_use=yes
69616 else
69617   echo "$as_me: failed program was:" >&5
69618 sed 's/^/| /' conftest.$ac_ext >&5
69619
69620 glibcxx_cv_func__isinff_use=no
69621 fi
69622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69623       ac_ext=c
69624 ac_cpp='$CPP $CPPFLAGS'
69625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69628
69629
69630 fi
69631
69632   fi
69633   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69634 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69635
69636     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69637
69638 for ac_func in _isinff
69639 do
69640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69641 echo "$as_me:$LINENO: checking for $ac_func" >&5
69642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69643 if eval "test \"\${$as_ac_var+set}\" = set"; then
69644   echo $ECHO_N "(cached) $ECHO_C" >&6
69645 else
69646   if test x$gcc_no_link = xyes; then
69647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69649    { (exit 1); exit 1; }; }
69650 fi
69651 cat >conftest.$ac_ext <<_ACEOF
69652 /* confdefs.h.  */
69653 _ACEOF
69654 cat confdefs.h >>conftest.$ac_ext
69655 cat >>conftest.$ac_ext <<_ACEOF
69656 /* end confdefs.h.  */
69657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69659 #define $ac_func innocuous_$ac_func
69660
69661 /* System header to define __stub macros and hopefully few prototypes,
69662     which can conflict with char $ac_func (); below.
69663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69664     <limits.h> exists even on freestanding compilers.  */
69665
69666 #ifdef __STDC__
69667 # include <limits.h>
69668 #else
69669 # include <assert.h>
69670 #endif
69671
69672 #undef $ac_func
69673
69674 /* Override any gcc2 internal prototype to avoid an error.  */
69675 #ifdef __cplusplus
69676 extern "C"
69677 {
69678 #endif
69679 /* We use char because int might match the return type of a gcc2
69680    builtin and then its argument prototype would still apply.  */
69681 char $ac_func ();
69682 /* The GNU C library defines this for functions which it implements
69683     to always fail with ENOSYS.  Some functions are actually named
69684     something starting with __ and the normal name is an alias.  */
69685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69686 choke me
69687 #else
69688 char (*f) () = $ac_func;
69689 #endif
69690 #ifdef __cplusplus
69691 }
69692 #endif
69693
69694 int
69695 main ()
69696 {
69697 return f != $ac_func;
69698   ;
69699   return 0;
69700 }
69701 _ACEOF
69702 rm -f conftest.$ac_objext conftest$ac_exeext
69703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69704   (eval $ac_link) 2>conftest.er1
69705   ac_status=$?
69706   grep -v '^ *+' conftest.er1 >conftest.err
69707   rm -f conftest.er1
69708   cat conftest.err >&5
69709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69710   (exit $ac_status); } &&
69711          { ac_try='test -z "$ac_c_werror_flag"
69712                          || test ! -s conftest.err'
69713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714   (eval $ac_try) 2>&5
69715   ac_status=$?
69716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717   (exit $ac_status); }; } &&
69718          { ac_try='test -s conftest$ac_exeext'
69719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69720   (eval $ac_try) 2>&5
69721   ac_status=$?
69722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69723   (exit $ac_status); }; }; then
69724   eval "$as_ac_var=yes"
69725 else
69726   echo "$as_me: failed program was:" >&5
69727 sed 's/^/| /' conftest.$ac_ext >&5
69728
69729 eval "$as_ac_var=no"
69730 fi
69731 rm -f conftest.err conftest.$ac_objext \
69732       conftest$ac_exeext conftest.$ac_ext
69733 fi
69734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69736 if test `eval echo '${'$as_ac_var'}'` = yes; then
69737   cat >>confdefs.h <<_ACEOF
69738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69739 _ACEOF
69740
69741 fi
69742 done
69743
69744     fi
69745   fi
69746
69747
69748
69749
69750
69751
69752   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69753 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69754   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69755     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69756   echo $ECHO_N "(cached) $ECHO_C" >&6
69757 else
69758
69759
69760
69761       ac_ext=cc
69762 ac_cpp='$CXXCPP $CPPFLAGS'
69763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69766
69767       cat >conftest.$ac_ext <<_ACEOF
69768 /* confdefs.h.  */
69769 _ACEOF
69770 cat confdefs.h >>conftest.$ac_ext
69771 cat >>conftest.$ac_ext <<_ACEOF
69772 /* end confdefs.h.  */
69773 #include <math.h>
69774 int
69775 main ()
69776 {
69777  atan2f(0, 0);
69778   ;
69779   return 0;
69780 }
69781 _ACEOF
69782 rm -f conftest.$ac_objext
69783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69784   (eval $ac_compile) 2>conftest.er1
69785   ac_status=$?
69786   grep -v '^ *+' conftest.er1 >conftest.err
69787   rm -f conftest.er1
69788   cat conftest.err >&5
69789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69790   (exit $ac_status); } &&
69791          { ac_try='test -z "$ac_cxx_werror_flag"
69792                          || test ! -s conftest.err'
69793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69794   (eval $ac_try) 2>&5
69795   ac_status=$?
69796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69797   (exit $ac_status); }; } &&
69798          { ac_try='test -s conftest.$ac_objext'
69799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69800   (eval $ac_try) 2>&5
69801   ac_status=$?
69802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69803   (exit $ac_status); }; }; then
69804   glibcxx_cv_func_atan2f_use=yes
69805 else
69806   echo "$as_me: failed program was:" >&5
69807 sed 's/^/| /' conftest.$ac_ext >&5
69808
69809 glibcxx_cv_func_atan2f_use=no
69810 fi
69811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69812       ac_ext=c
69813 ac_cpp='$CPP $CPPFLAGS'
69814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69817
69818
69819 fi
69820
69821   fi
69822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69823 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69824
69825   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69826
69827 for ac_func in atan2f
69828 do
69829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69830 echo "$as_me:$LINENO: checking for $ac_func" >&5
69831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69832 if eval "test \"\${$as_ac_var+set}\" = set"; then
69833   echo $ECHO_N "(cached) $ECHO_C" >&6
69834 else
69835   if test x$gcc_no_link = xyes; then
69836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69838    { (exit 1); exit 1; }; }
69839 fi
69840 cat >conftest.$ac_ext <<_ACEOF
69841 /* confdefs.h.  */
69842 _ACEOF
69843 cat confdefs.h >>conftest.$ac_ext
69844 cat >>conftest.$ac_ext <<_ACEOF
69845 /* end confdefs.h.  */
69846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69848 #define $ac_func innocuous_$ac_func
69849
69850 /* System header to define __stub macros and hopefully few prototypes,
69851     which can conflict with char $ac_func (); below.
69852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69853     <limits.h> exists even on freestanding compilers.  */
69854
69855 #ifdef __STDC__
69856 # include <limits.h>
69857 #else
69858 # include <assert.h>
69859 #endif
69860
69861 #undef $ac_func
69862
69863 /* Override any gcc2 internal prototype to avoid an error.  */
69864 #ifdef __cplusplus
69865 extern "C"
69866 {
69867 #endif
69868 /* We use char because int might match the return type of a gcc2
69869    builtin and then its argument prototype would still apply.  */
69870 char $ac_func ();
69871 /* The GNU C library defines this for functions which it implements
69872     to always fail with ENOSYS.  Some functions are actually named
69873     something starting with __ and the normal name is an alias.  */
69874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69875 choke me
69876 #else
69877 char (*f) () = $ac_func;
69878 #endif
69879 #ifdef __cplusplus
69880 }
69881 #endif
69882
69883 int
69884 main ()
69885 {
69886 return f != $ac_func;
69887   ;
69888   return 0;
69889 }
69890 _ACEOF
69891 rm -f conftest.$ac_objext conftest$ac_exeext
69892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69893   (eval $ac_link) 2>conftest.er1
69894   ac_status=$?
69895   grep -v '^ *+' conftest.er1 >conftest.err
69896   rm -f conftest.er1
69897   cat conftest.err >&5
69898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69899   (exit $ac_status); } &&
69900          { ac_try='test -z "$ac_c_werror_flag"
69901                          || test ! -s conftest.err'
69902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69903   (eval $ac_try) 2>&5
69904   ac_status=$?
69905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69906   (exit $ac_status); }; } &&
69907          { ac_try='test -s conftest$ac_exeext'
69908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69909   (eval $ac_try) 2>&5
69910   ac_status=$?
69911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69912   (exit $ac_status); }; }; then
69913   eval "$as_ac_var=yes"
69914 else
69915   echo "$as_me: failed program was:" >&5
69916 sed 's/^/| /' conftest.$ac_ext >&5
69917
69918 eval "$as_ac_var=no"
69919 fi
69920 rm -f conftest.err conftest.$ac_objext \
69921       conftest$ac_exeext conftest.$ac_ext
69922 fi
69923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69925 if test `eval echo '${'$as_ac_var'}'` = yes; then
69926   cat >>confdefs.h <<_ACEOF
69927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69928 _ACEOF
69929
69930 fi
69931 done
69932
69933   else
69934
69935   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69936 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69937   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69938     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69939   echo $ECHO_N "(cached) $ECHO_C" >&6
69940 else
69941
69942
69943
69944       ac_ext=cc
69945 ac_cpp='$CXXCPP $CPPFLAGS'
69946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69949
69950       cat >conftest.$ac_ext <<_ACEOF
69951 /* confdefs.h.  */
69952 _ACEOF
69953 cat confdefs.h >>conftest.$ac_ext
69954 cat >>conftest.$ac_ext <<_ACEOF
69955 /* end confdefs.h.  */
69956 #include <math.h>
69957 int
69958 main ()
69959 {
69960  _atan2f(0, 0);
69961   ;
69962   return 0;
69963 }
69964 _ACEOF
69965 rm -f conftest.$ac_objext
69966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69967   (eval $ac_compile) 2>conftest.er1
69968   ac_status=$?
69969   grep -v '^ *+' conftest.er1 >conftest.err
69970   rm -f conftest.er1
69971   cat conftest.err >&5
69972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69973   (exit $ac_status); } &&
69974          { ac_try='test -z "$ac_cxx_werror_flag"
69975                          || test ! -s conftest.err'
69976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69977   (eval $ac_try) 2>&5
69978   ac_status=$?
69979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69980   (exit $ac_status); }; } &&
69981          { ac_try='test -s conftest.$ac_objext'
69982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69983   (eval $ac_try) 2>&5
69984   ac_status=$?
69985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69986   (exit $ac_status); }; }; then
69987   glibcxx_cv_func__atan2f_use=yes
69988 else
69989   echo "$as_me: failed program was:" >&5
69990 sed 's/^/| /' conftest.$ac_ext >&5
69991
69992 glibcxx_cv_func__atan2f_use=no
69993 fi
69994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69995       ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70000
70001
70002 fi
70003
70004   fi
70005   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70006 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70007
70008     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70009
70010 for ac_func in _atan2f
70011 do
70012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70013 echo "$as_me:$LINENO: checking for $ac_func" >&5
70014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70015 if eval "test \"\${$as_ac_var+set}\" = set"; then
70016   echo $ECHO_N "(cached) $ECHO_C" >&6
70017 else
70018   if test x$gcc_no_link = xyes; then
70019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70021    { (exit 1); exit 1; }; }
70022 fi
70023 cat >conftest.$ac_ext <<_ACEOF
70024 /* confdefs.h.  */
70025 _ACEOF
70026 cat confdefs.h >>conftest.$ac_ext
70027 cat >>conftest.$ac_ext <<_ACEOF
70028 /* end confdefs.h.  */
70029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70031 #define $ac_func innocuous_$ac_func
70032
70033 /* System header to define __stub macros and hopefully few prototypes,
70034     which can conflict with char $ac_func (); below.
70035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70036     <limits.h> exists even on freestanding compilers.  */
70037
70038 #ifdef __STDC__
70039 # include <limits.h>
70040 #else
70041 # include <assert.h>
70042 #endif
70043
70044 #undef $ac_func
70045
70046 /* Override any gcc2 internal prototype to avoid an error.  */
70047 #ifdef __cplusplus
70048 extern "C"
70049 {
70050 #endif
70051 /* We use char because int might match the return type of a gcc2
70052    builtin and then its argument prototype would still apply.  */
70053 char $ac_func ();
70054 /* The GNU C library defines this for functions which it implements
70055     to always fail with ENOSYS.  Some functions are actually named
70056     something starting with __ and the normal name is an alias.  */
70057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70058 choke me
70059 #else
70060 char (*f) () = $ac_func;
70061 #endif
70062 #ifdef __cplusplus
70063 }
70064 #endif
70065
70066 int
70067 main ()
70068 {
70069 return f != $ac_func;
70070   ;
70071   return 0;
70072 }
70073 _ACEOF
70074 rm -f conftest.$ac_objext conftest$ac_exeext
70075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70076   (eval $ac_link) 2>conftest.er1
70077   ac_status=$?
70078   grep -v '^ *+' conftest.er1 >conftest.err
70079   rm -f conftest.er1
70080   cat conftest.err >&5
70081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082   (exit $ac_status); } &&
70083          { ac_try='test -z "$ac_c_werror_flag"
70084                          || test ! -s conftest.err'
70085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70086   (eval $ac_try) 2>&5
70087   ac_status=$?
70088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089   (exit $ac_status); }; } &&
70090          { ac_try='test -s conftest$ac_exeext'
70091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092   (eval $ac_try) 2>&5
70093   ac_status=$?
70094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095   (exit $ac_status); }; }; then
70096   eval "$as_ac_var=yes"
70097 else
70098   echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70100
70101 eval "$as_ac_var=no"
70102 fi
70103 rm -f conftest.err conftest.$ac_objext \
70104       conftest$ac_exeext conftest.$ac_ext
70105 fi
70106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70108 if test `eval echo '${'$as_ac_var'}'` = yes; then
70109   cat >>confdefs.h <<_ACEOF
70110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70111 _ACEOF
70112
70113 fi
70114 done
70115
70116     fi
70117   fi
70118
70119
70120
70121
70122
70123
70124   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70125 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70126   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70127     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70128   echo $ECHO_N "(cached) $ECHO_C" >&6
70129 else
70130
70131
70132
70133       ac_ext=cc
70134 ac_cpp='$CXXCPP $CPPFLAGS'
70135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70138
70139       cat >conftest.$ac_ext <<_ACEOF
70140 /* confdefs.h.  */
70141 _ACEOF
70142 cat confdefs.h >>conftest.$ac_ext
70143 cat >>conftest.$ac_ext <<_ACEOF
70144 /* end confdefs.h.  */
70145 #include <math.h>
70146                       #ifdef HAVE_IEEEFP_H
70147                       #include <ieeefp.h>
70148                       #endif
70149
70150 int
70151 main ()
70152 {
70153  fabsf(0);
70154   ;
70155   return 0;
70156 }
70157 _ACEOF
70158 rm -f conftest.$ac_objext
70159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70160   (eval $ac_compile) 2>conftest.er1
70161   ac_status=$?
70162   grep -v '^ *+' conftest.er1 >conftest.err
70163   rm -f conftest.er1
70164   cat conftest.err >&5
70165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70166   (exit $ac_status); } &&
70167          { ac_try='test -z "$ac_cxx_werror_flag"
70168                          || test ! -s conftest.err'
70169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70170   (eval $ac_try) 2>&5
70171   ac_status=$?
70172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70173   (exit $ac_status); }; } &&
70174          { ac_try='test -s conftest.$ac_objext'
70175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70176   (eval $ac_try) 2>&5
70177   ac_status=$?
70178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70179   (exit $ac_status); }; }; then
70180   glibcxx_cv_func_fabsf_use=yes
70181 else
70182   echo "$as_me: failed program was:" >&5
70183 sed 's/^/| /' conftest.$ac_ext >&5
70184
70185 glibcxx_cv_func_fabsf_use=no
70186 fi
70187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70188       ac_ext=c
70189 ac_cpp='$CPP $CPPFLAGS'
70190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70193
70194
70195 fi
70196
70197   fi
70198   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70199 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70200
70201   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70202
70203 for ac_func in fabsf
70204 do
70205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70206 echo "$as_me:$LINENO: checking for $ac_func" >&5
70207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70208 if eval "test \"\${$as_ac_var+set}\" = set"; then
70209   echo $ECHO_N "(cached) $ECHO_C" >&6
70210 else
70211   if test x$gcc_no_link = xyes; then
70212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70214    { (exit 1); exit 1; }; }
70215 fi
70216 cat >conftest.$ac_ext <<_ACEOF
70217 /* confdefs.h.  */
70218 _ACEOF
70219 cat confdefs.h >>conftest.$ac_ext
70220 cat >>conftest.$ac_ext <<_ACEOF
70221 /* end confdefs.h.  */
70222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70224 #define $ac_func innocuous_$ac_func
70225
70226 /* System header to define __stub macros and hopefully few prototypes,
70227     which can conflict with char $ac_func (); below.
70228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70229     <limits.h> exists even on freestanding compilers.  */
70230
70231 #ifdef __STDC__
70232 # include <limits.h>
70233 #else
70234 # include <assert.h>
70235 #endif
70236
70237 #undef $ac_func
70238
70239 /* Override any gcc2 internal prototype to avoid an error.  */
70240 #ifdef __cplusplus
70241 extern "C"
70242 {
70243 #endif
70244 /* We use char because int might match the return type of a gcc2
70245    builtin and then its argument prototype would still apply.  */
70246 char $ac_func ();
70247 /* The GNU C library defines this for functions which it implements
70248     to always fail with ENOSYS.  Some functions are actually named
70249     something starting with __ and the normal name is an alias.  */
70250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70251 choke me
70252 #else
70253 char (*f) () = $ac_func;
70254 #endif
70255 #ifdef __cplusplus
70256 }
70257 #endif
70258
70259 int
70260 main ()
70261 {
70262 return f != $ac_func;
70263   ;
70264   return 0;
70265 }
70266 _ACEOF
70267 rm -f conftest.$ac_objext conftest$ac_exeext
70268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70269   (eval $ac_link) 2>conftest.er1
70270   ac_status=$?
70271   grep -v '^ *+' conftest.er1 >conftest.err
70272   rm -f conftest.er1
70273   cat conftest.err >&5
70274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275   (exit $ac_status); } &&
70276          { ac_try='test -z "$ac_c_werror_flag"
70277                          || test ! -s conftest.err'
70278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70279   (eval $ac_try) 2>&5
70280   ac_status=$?
70281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70282   (exit $ac_status); }; } &&
70283          { ac_try='test -s conftest$ac_exeext'
70284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70285   (eval $ac_try) 2>&5
70286   ac_status=$?
70287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70288   (exit $ac_status); }; }; then
70289   eval "$as_ac_var=yes"
70290 else
70291   echo "$as_me: failed program was:" >&5
70292 sed 's/^/| /' conftest.$ac_ext >&5
70293
70294 eval "$as_ac_var=no"
70295 fi
70296 rm -f conftest.err conftest.$ac_objext \
70297       conftest$ac_exeext conftest.$ac_ext
70298 fi
70299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70301 if test `eval echo '${'$as_ac_var'}'` = yes; then
70302   cat >>confdefs.h <<_ACEOF
70303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70304 _ACEOF
70305
70306 fi
70307 done
70308
70309   else
70310
70311   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70312 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70313   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70314     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70315   echo $ECHO_N "(cached) $ECHO_C" >&6
70316 else
70317
70318
70319
70320       ac_ext=cc
70321 ac_cpp='$CXXCPP $CPPFLAGS'
70322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70325
70326       cat >conftest.$ac_ext <<_ACEOF
70327 /* confdefs.h.  */
70328 _ACEOF
70329 cat confdefs.h >>conftest.$ac_ext
70330 cat >>conftest.$ac_ext <<_ACEOF
70331 /* end confdefs.h.  */
70332 #include <math.h>
70333                       #ifdef HAVE_IEEEFP_H
70334                       #include <ieeefp.h>
70335                       #endif
70336
70337 int
70338 main ()
70339 {
70340  _fabsf(0);
70341   ;
70342   return 0;
70343 }
70344 _ACEOF
70345 rm -f conftest.$ac_objext
70346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70347   (eval $ac_compile) 2>conftest.er1
70348   ac_status=$?
70349   grep -v '^ *+' conftest.er1 >conftest.err
70350   rm -f conftest.er1
70351   cat conftest.err >&5
70352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353   (exit $ac_status); } &&
70354          { ac_try='test -z "$ac_cxx_werror_flag"
70355                          || test ! -s conftest.err'
70356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70357   (eval $ac_try) 2>&5
70358   ac_status=$?
70359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70360   (exit $ac_status); }; } &&
70361          { ac_try='test -s conftest.$ac_objext'
70362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70363   (eval $ac_try) 2>&5
70364   ac_status=$?
70365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70366   (exit $ac_status); }; }; then
70367   glibcxx_cv_func__fabsf_use=yes
70368 else
70369   echo "$as_me: failed program was:" >&5
70370 sed 's/^/| /' conftest.$ac_ext >&5
70371
70372 glibcxx_cv_func__fabsf_use=no
70373 fi
70374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70375       ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70380
70381
70382 fi
70383
70384   fi
70385   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70386 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70387
70388     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70389
70390 for ac_func in _fabsf
70391 do
70392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70393 echo "$as_me:$LINENO: checking for $ac_func" >&5
70394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70395 if eval "test \"\${$as_ac_var+set}\" = set"; then
70396   echo $ECHO_N "(cached) $ECHO_C" >&6
70397 else
70398   if test x$gcc_no_link = xyes; then
70399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70401    { (exit 1); exit 1; }; }
70402 fi
70403 cat >conftest.$ac_ext <<_ACEOF
70404 /* confdefs.h.  */
70405 _ACEOF
70406 cat confdefs.h >>conftest.$ac_ext
70407 cat >>conftest.$ac_ext <<_ACEOF
70408 /* end confdefs.h.  */
70409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70411 #define $ac_func innocuous_$ac_func
70412
70413 /* System header to define __stub macros and hopefully few prototypes,
70414     which can conflict with char $ac_func (); below.
70415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70416     <limits.h> exists even on freestanding compilers.  */
70417
70418 #ifdef __STDC__
70419 # include <limits.h>
70420 #else
70421 # include <assert.h>
70422 #endif
70423
70424 #undef $ac_func
70425
70426 /* Override any gcc2 internal prototype to avoid an error.  */
70427 #ifdef __cplusplus
70428 extern "C"
70429 {
70430 #endif
70431 /* We use char because int might match the return type of a gcc2
70432    builtin and then its argument prototype would still apply.  */
70433 char $ac_func ();
70434 /* The GNU C library defines this for functions which it implements
70435     to always fail with ENOSYS.  Some functions are actually named
70436     something starting with __ and the normal name is an alias.  */
70437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70438 choke me
70439 #else
70440 char (*f) () = $ac_func;
70441 #endif
70442 #ifdef __cplusplus
70443 }
70444 #endif
70445
70446 int
70447 main ()
70448 {
70449 return f != $ac_func;
70450   ;
70451   return 0;
70452 }
70453 _ACEOF
70454 rm -f conftest.$ac_objext conftest$ac_exeext
70455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70456   (eval $ac_link) 2>conftest.er1
70457   ac_status=$?
70458   grep -v '^ *+' conftest.er1 >conftest.err
70459   rm -f conftest.er1
70460   cat conftest.err >&5
70461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70462   (exit $ac_status); } &&
70463          { ac_try='test -z "$ac_c_werror_flag"
70464                          || test ! -s conftest.err'
70465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70466   (eval $ac_try) 2>&5
70467   ac_status=$?
70468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70469   (exit $ac_status); }; } &&
70470          { ac_try='test -s conftest$ac_exeext'
70471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70472   (eval $ac_try) 2>&5
70473   ac_status=$?
70474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70475   (exit $ac_status); }; }; then
70476   eval "$as_ac_var=yes"
70477 else
70478   echo "$as_me: failed program was:" >&5
70479 sed 's/^/| /' conftest.$ac_ext >&5
70480
70481 eval "$as_ac_var=no"
70482 fi
70483 rm -f conftest.err conftest.$ac_objext \
70484       conftest$ac_exeext conftest.$ac_ext
70485 fi
70486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70488 if test `eval echo '${'$as_ac_var'}'` = yes; then
70489   cat >>confdefs.h <<_ACEOF
70490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70491 _ACEOF
70492
70493 fi
70494 done
70495
70496     fi
70497   fi
70498
70499
70500
70501
70502
70503
70504   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
70505 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
70506   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
70507     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
70508   echo $ECHO_N "(cached) $ECHO_C" >&6
70509 else
70510
70511
70512
70513       ac_ext=cc
70514 ac_cpp='$CXXCPP $CPPFLAGS'
70515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70518
70519       cat >conftest.$ac_ext <<_ACEOF
70520 /* confdefs.h.  */
70521 _ACEOF
70522 cat confdefs.h >>conftest.$ac_ext
70523 cat >>conftest.$ac_ext <<_ACEOF
70524 /* end confdefs.h.  */
70525 #include <math.h>
70526 int
70527 main ()
70528 {
70529  fmodf(0, 0);
70530   ;
70531   return 0;
70532 }
70533 _ACEOF
70534 rm -f conftest.$ac_objext
70535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70536   (eval $ac_compile) 2>conftest.er1
70537   ac_status=$?
70538   grep -v '^ *+' conftest.er1 >conftest.err
70539   rm -f conftest.er1
70540   cat conftest.err >&5
70541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70542   (exit $ac_status); } &&
70543          { ac_try='test -z "$ac_cxx_werror_flag"
70544                          || test ! -s conftest.err'
70545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70546   (eval $ac_try) 2>&5
70547   ac_status=$?
70548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70549   (exit $ac_status); }; } &&
70550          { ac_try='test -s conftest.$ac_objext'
70551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70552   (eval $ac_try) 2>&5
70553   ac_status=$?
70554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70555   (exit $ac_status); }; }; then
70556   glibcxx_cv_func_fmodf_use=yes
70557 else
70558   echo "$as_me: failed program was:" >&5
70559 sed 's/^/| /' conftest.$ac_ext >&5
70560
70561 glibcxx_cv_func_fmodf_use=no
70562 fi
70563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70564       ac_ext=c
70565 ac_cpp='$CPP $CPPFLAGS'
70566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70569
70570
70571 fi
70572
70573   fi
70574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70575 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70576
70577   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70578
70579 for ac_func in fmodf
70580 do
70581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70582 echo "$as_me:$LINENO: checking for $ac_func" >&5
70583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70584 if eval "test \"\${$as_ac_var+set}\" = set"; then
70585   echo $ECHO_N "(cached) $ECHO_C" >&6
70586 else
70587   if test x$gcc_no_link = xyes; then
70588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70590    { (exit 1); exit 1; }; }
70591 fi
70592 cat >conftest.$ac_ext <<_ACEOF
70593 /* confdefs.h.  */
70594 _ACEOF
70595 cat confdefs.h >>conftest.$ac_ext
70596 cat >>conftest.$ac_ext <<_ACEOF
70597 /* end confdefs.h.  */
70598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70600 #define $ac_func innocuous_$ac_func
70601
70602 /* System header to define __stub macros and hopefully few prototypes,
70603     which can conflict with char $ac_func (); below.
70604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70605     <limits.h> exists even on freestanding compilers.  */
70606
70607 #ifdef __STDC__
70608 # include <limits.h>
70609 #else
70610 # include <assert.h>
70611 #endif
70612
70613 #undef $ac_func
70614
70615 /* Override any gcc2 internal prototype to avoid an error.  */
70616 #ifdef __cplusplus
70617 extern "C"
70618 {
70619 #endif
70620 /* We use char because int might match the return type of a gcc2
70621    builtin and then its argument prototype would still apply.  */
70622 char $ac_func ();
70623 /* The GNU C library defines this for functions which it implements
70624     to always fail with ENOSYS.  Some functions are actually named
70625     something starting with __ and the normal name is an alias.  */
70626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70627 choke me
70628 #else
70629 char (*f) () = $ac_func;
70630 #endif
70631 #ifdef __cplusplus
70632 }
70633 #endif
70634
70635 int
70636 main ()
70637 {
70638 return f != $ac_func;
70639   ;
70640   return 0;
70641 }
70642 _ACEOF
70643 rm -f conftest.$ac_objext conftest$ac_exeext
70644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70645   (eval $ac_link) 2>conftest.er1
70646   ac_status=$?
70647   grep -v '^ *+' conftest.er1 >conftest.err
70648   rm -f conftest.er1
70649   cat conftest.err >&5
70650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70651   (exit $ac_status); } &&
70652          { ac_try='test -z "$ac_c_werror_flag"
70653                          || test ! -s conftest.err'
70654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70655   (eval $ac_try) 2>&5
70656   ac_status=$?
70657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70658   (exit $ac_status); }; } &&
70659          { ac_try='test -s conftest$ac_exeext'
70660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70661   (eval $ac_try) 2>&5
70662   ac_status=$?
70663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70664   (exit $ac_status); }; }; then
70665   eval "$as_ac_var=yes"
70666 else
70667   echo "$as_me: failed program was:" >&5
70668 sed 's/^/| /' conftest.$ac_ext >&5
70669
70670 eval "$as_ac_var=no"
70671 fi
70672 rm -f conftest.err conftest.$ac_objext \
70673       conftest$ac_exeext conftest.$ac_ext
70674 fi
70675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70677 if test `eval echo '${'$as_ac_var'}'` = yes; then
70678   cat >>confdefs.h <<_ACEOF
70679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70680 _ACEOF
70681
70682 fi
70683 done
70684
70685   else
70686
70687   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70688 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70689   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70690     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70691   echo $ECHO_N "(cached) $ECHO_C" >&6
70692 else
70693
70694
70695
70696       ac_ext=cc
70697 ac_cpp='$CXXCPP $CPPFLAGS'
70698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70701
70702       cat >conftest.$ac_ext <<_ACEOF
70703 /* confdefs.h.  */
70704 _ACEOF
70705 cat confdefs.h >>conftest.$ac_ext
70706 cat >>conftest.$ac_ext <<_ACEOF
70707 /* end confdefs.h.  */
70708 #include <math.h>
70709 int
70710 main ()
70711 {
70712  _fmodf(0, 0);
70713   ;
70714   return 0;
70715 }
70716 _ACEOF
70717 rm -f conftest.$ac_objext
70718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70719   (eval $ac_compile) 2>conftest.er1
70720   ac_status=$?
70721   grep -v '^ *+' conftest.er1 >conftest.err
70722   rm -f conftest.er1
70723   cat conftest.err >&5
70724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70725   (exit $ac_status); } &&
70726          { ac_try='test -z "$ac_cxx_werror_flag"
70727                          || test ! -s conftest.err'
70728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70729   (eval $ac_try) 2>&5
70730   ac_status=$?
70731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732   (exit $ac_status); }; } &&
70733          { ac_try='test -s conftest.$ac_objext'
70734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70735   (eval $ac_try) 2>&5
70736   ac_status=$?
70737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70738   (exit $ac_status); }; }; then
70739   glibcxx_cv_func__fmodf_use=yes
70740 else
70741   echo "$as_me: failed program was:" >&5
70742 sed 's/^/| /' conftest.$ac_ext >&5
70743
70744 glibcxx_cv_func__fmodf_use=no
70745 fi
70746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70747       ac_ext=c
70748 ac_cpp='$CPP $CPPFLAGS'
70749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70752
70753
70754 fi
70755
70756   fi
70757   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70758 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70759
70760     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70761
70762 for ac_func in _fmodf
70763 do
70764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70765 echo "$as_me:$LINENO: checking for $ac_func" >&5
70766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70767 if eval "test \"\${$as_ac_var+set}\" = set"; then
70768   echo $ECHO_N "(cached) $ECHO_C" >&6
70769 else
70770   if test x$gcc_no_link = xyes; then
70771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70773    { (exit 1); exit 1; }; }
70774 fi
70775 cat >conftest.$ac_ext <<_ACEOF
70776 /* confdefs.h.  */
70777 _ACEOF
70778 cat confdefs.h >>conftest.$ac_ext
70779 cat >>conftest.$ac_ext <<_ACEOF
70780 /* end confdefs.h.  */
70781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70783 #define $ac_func innocuous_$ac_func
70784
70785 /* System header to define __stub macros and hopefully few prototypes,
70786     which can conflict with char $ac_func (); below.
70787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70788     <limits.h> exists even on freestanding compilers.  */
70789
70790 #ifdef __STDC__
70791 # include <limits.h>
70792 #else
70793 # include <assert.h>
70794 #endif
70795
70796 #undef $ac_func
70797
70798 /* Override any gcc2 internal prototype to avoid an error.  */
70799 #ifdef __cplusplus
70800 extern "C"
70801 {
70802 #endif
70803 /* We use char because int might match the return type of a gcc2
70804    builtin and then its argument prototype would still apply.  */
70805 char $ac_func ();
70806 /* The GNU C library defines this for functions which it implements
70807     to always fail with ENOSYS.  Some functions are actually named
70808     something starting with __ and the normal name is an alias.  */
70809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70810 choke me
70811 #else
70812 char (*f) () = $ac_func;
70813 #endif
70814 #ifdef __cplusplus
70815 }
70816 #endif
70817
70818 int
70819 main ()
70820 {
70821 return f != $ac_func;
70822   ;
70823   return 0;
70824 }
70825 _ACEOF
70826 rm -f conftest.$ac_objext conftest$ac_exeext
70827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70828   (eval $ac_link) 2>conftest.er1
70829   ac_status=$?
70830   grep -v '^ *+' conftest.er1 >conftest.err
70831   rm -f conftest.er1
70832   cat conftest.err >&5
70833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70834   (exit $ac_status); } &&
70835          { ac_try='test -z "$ac_c_werror_flag"
70836                          || test ! -s conftest.err'
70837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70838   (eval $ac_try) 2>&5
70839   ac_status=$?
70840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70841   (exit $ac_status); }; } &&
70842          { ac_try='test -s conftest$ac_exeext'
70843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70844   (eval $ac_try) 2>&5
70845   ac_status=$?
70846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70847   (exit $ac_status); }; }; then
70848   eval "$as_ac_var=yes"
70849 else
70850   echo "$as_me: failed program was:" >&5
70851 sed 's/^/| /' conftest.$ac_ext >&5
70852
70853 eval "$as_ac_var=no"
70854 fi
70855 rm -f conftest.err conftest.$ac_objext \
70856       conftest$ac_exeext conftest.$ac_ext
70857 fi
70858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70860 if test `eval echo '${'$as_ac_var'}'` = yes; then
70861   cat >>confdefs.h <<_ACEOF
70862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70863 _ACEOF
70864
70865 fi
70866 done
70867
70868     fi
70869   fi
70870
70871
70872
70873
70874
70875
70876   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70877 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70878   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70879     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70880   echo $ECHO_N "(cached) $ECHO_C" >&6
70881 else
70882
70883
70884
70885       ac_ext=cc
70886 ac_cpp='$CXXCPP $CPPFLAGS'
70887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70890
70891       cat >conftest.$ac_ext <<_ACEOF
70892 /* confdefs.h.  */
70893 _ACEOF
70894 cat confdefs.h >>conftest.$ac_ext
70895 cat >>conftest.$ac_ext <<_ACEOF
70896 /* end confdefs.h.  */
70897 #include <math.h>
70898 int
70899 main ()
70900 {
70901  frexpf(0, 0);
70902   ;
70903   return 0;
70904 }
70905 _ACEOF
70906 rm -f conftest.$ac_objext
70907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70908   (eval $ac_compile) 2>conftest.er1
70909   ac_status=$?
70910   grep -v '^ *+' conftest.er1 >conftest.err
70911   rm -f conftest.er1
70912   cat conftest.err >&5
70913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914   (exit $ac_status); } &&
70915          { ac_try='test -z "$ac_cxx_werror_flag"
70916                          || test ! -s conftest.err'
70917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70918   (eval $ac_try) 2>&5
70919   ac_status=$?
70920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70921   (exit $ac_status); }; } &&
70922          { ac_try='test -s conftest.$ac_objext'
70923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70924   (eval $ac_try) 2>&5
70925   ac_status=$?
70926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70927   (exit $ac_status); }; }; then
70928   glibcxx_cv_func_frexpf_use=yes
70929 else
70930   echo "$as_me: failed program was:" >&5
70931 sed 's/^/| /' conftest.$ac_ext >&5
70932
70933 glibcxx_cv_func_frexpf_use=no
70934 fi
70935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70936       ac_ext=c
70937 ac_cpp='$CPP $CPPFLAGS'
70938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70941
70942
70943 fi
70944
70945   fi
70946   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70947 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70948
70949   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70950
70951 for ac_func in frexpf
70952 do
70953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70954 echo "$as_me:$LINENO: checking for $ac_func" >&5
70955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70956 if eval "test \"\${$as_ac_var+set}\" = set"; then
70957   echo $ECHO_N "(cached) $ECHO_C" >&6
70958 else
70959   if test x$gcc_no_link = xyes; then
70960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70962    { (exit 1); exit 1; }; }
70963 fi
70964 cat >conftest.$ac_ext <<_ACEOF
70965 /* confdefs.h.  */
70966 _ACEOF
70967 cat confdefs.h >>conftest.$ac_ext
70968 cat >>conftest.$ac_ext <<_ACEOF
70969 /* end confdefs.h.  */
70970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70972 #define $ac_func innocuous_$ac_func
70973
70974 /* System header to define __stub macros and hopefully few prototypes,
70975     which can conflict with char $ac_func (); below.
70976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70977     <limits.h> exists even on freestanding compilers.  */
70978
70979 #ifdef __STDC__
70980 # include <limits.h>
70981 #else
70982 # include <assert.h>
70983 #endif
70984
70985 #undef $ac_func
70986
70987 /* Override any gcc2 internal prototype to avoid an error.  */
70988 #ifdef __cplusplus
70989 extern "C"
70990 {
70991 #endif
70992 /* We use char because int might match the return type of a gcc2
70993    builtin and then its argument prototype would still apply.  */
70994 char $ac_func ();
70995 /* The GNU C library defines this for functions which it implements
70996     to always fail with ENOSYS.  Some functions are actually named
70997     something starting with __ and the normal name is an alias.  */
70998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70999 choke me
71000 #else
71001 char (*f) () = $ac_func;
71002 #endif
71003 #ifdef __cplusplus
71004 }
71005 #endif
71006
71007 int
71008 main ()
71009 {
71010 return f != $ac_func;
71011   ;
71012   return 0;
71013 }
71014 _ACEOF
71015 rm -f conftest.$ac_objext conftest$ac_exeext
71016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71017   (eval $ac_link) 2>conftest.er1
71018   ac_status=$?
71019   grep -v '^ *+' conftest.er1 >conftest.err
71020   rm -f conftest.er1
71021   cat conftest.err >&5
71022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71023   (exit $ac_status); } &&
71024          { ac_try='test -z "$ac_c_werror_flag"
71025                          || test ! -s conftest.err'
71026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71027   (eval $ac_try) 2>&5
71028   ac_status=$?
71029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71030   (exit $ac_status); }; } &&
71031          { ac_try='test -s conftest$ac_exeext'
71032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71033   (eval $ac_try) 2>&5
71034   ac_status=$?
71035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71036   (exit $ac_status); }; }; then
71037   eval "$as_ac_var=yes"
71038 else
71039   echo "$as_me: failed program was:" >&5
71040 sed 's/^/| /' conftest.$ac_ext >&5
71041
71042 eval "$as_ac_var=no"
71043 fi
71044 rm -f conftest.err conftest.$ac_objext \
71045       conftest$ac_exeext conftest.$ac_ext
71046 fi
71047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71049 if test `eval echo '${'$as_ac_var'}'` = yes; then
71050   cat >>confdefs.h <<_ACEOF
71051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71052 _ACEOF
71053
71054 fi
71055 done
71056
71057   else
71058
71059   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71060 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71061   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71062     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71063   echo $ECHO_N "(cached) $ECHO_C" >&6
71064 else
71065
71066
71067
71068       ac_ext=cc
71069 ac_cpp='$CXXCPP $CPPFLAGS'
71070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71073
71074       cat >conftest.$ac_ext <<_ACEOF
71075 /* confdefs.h.  */
71076 _ACEOF
71077 cat confdefs.h >>conftest.$ac_ext
71078 cat >>conftest.$ac_ext <<_ACEOF
71079 /* end confdefs.h.  */
71080 #include <math.h>
71081 int
71082 main ()
71083 {
71084  _frexpf(0, 0);
71085   ;
71086   return 0;
71087 }
71088 _ACEOF
71089 rm -f conftest.$ac_objext
71090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71091   (eval $ac_compile) 2>conftest.er1
71092   ac_status=$?
71093   grep -v '^ *+' conftest.er1 >conftest.err
71094   rm -f conftest.er1
71095   cat conftest.err >&5
71096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71097   (exit $ac_status); } &&
71098          { ac_try='test -z "$ac_cxx_werror_flag"
71099                          || test ! -s conftest.err'
71100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71101   (eval $ac_try) 2>&5
71102   ac_status=$?
71103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71104   (exit $ac_status); }; } &&
71105          { ac_try='test -s conftest.$ac_objext'
71106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71107   (eval $ac_try) 2>&5
71108   ac_status=$?
71109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110   (exit $ac_status); }; }; then
71111   glibcxx_cv_func__frexpf_use=yes
71112 else
71113   echo "$as_me: failed program was:" >&5
71114 sed 's/^/| /' conftest.$ac_ext >&5
71115
71116 glibcxx_cv_func__frexpf_use=no
71117 fi
71118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71119       ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71124
71125
71126 fi
71127
71128   fi
71129   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71130 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71131
71132     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71133
71134 for ac_func in _frexpf
71135 do
71136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71137 echo "$as_me:$LINENO: checking for $ac_func" >&5
71138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71139 if eval "test \"\${$as_ac_var+set}\" = set"; then
71140   echo $ECHO_N "(cached) $ECHO_C" >&6
71141 else
71142   if test x$gcc_no_link = xyes; then
71143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71145    { (exit 1); exit 1; }; }
71146 fi
71147 cat >conftest.$ac_ext <<_ACEOF
71148 /* confdefs.h.  */
71149 _ACEOF
71150 cat confdefs.h >>conftest.$ac_ext
71151 cat >>conftest.$ac_ext <<_ACEOF
71152 /* end confdefs.h.  */
71153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71155 #define $ac_func innocuous_$ac_func
71156
71157 /* System header to define __stub macros and hopefully few prototypes,
71158     which can conflict with char $ac_func (); below.
71159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71160     <limits.h> exists even on freestanding compilers.  */
71161
71162 #ifdef __STDC__
71163 # include <limits.h>
71164 #else
71165 # include <assert.h>
71166 #endif
71167
71168 #undef $ac_func
71169
71170 /* Override any gcc2 internal prototype to avoid an error.  */
71171 #ifdef __cplusplus
71172 extern "C"
71173 {
71174 #endif
71175 /* We use char because int might match the return type of a gcc2
71176    builtin and then its argument prototype would still apply.  */
71177 char $ac_func ();
71178 /* The GNU C library defines this for functions which it implements
71179     to always fail with ENOSYS.  Some functions are actually named
71180     something starting with __ and the normal name is an alias.  */
71181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71182 choke me
71183 #else
71184 char (*f) () = $ac_func;
71185 #endif
71186 #ifdef __cplusplus
71187 }
71188 #endif
71189
71190 int
71191 main ()
71192 {
71193 return f != $ac_func;
71194   ;
71195   return 0;
71196 }
71197 _ACEOF
71198 rm -f conftest.$ac_objext conftest$ac_exeext
71199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71200   (eval $ac_link) 2>conftest.er1
71201   ac_status=$?
71202   grep -v '^ *+' conftest.er1 >conftest.err
71203   rm -f conftest.er1
71204   cat conftest.err >&5
71205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71206   (exit $ac_status); } &&
71207          { ac_try='test -z "$ac_c_werror_flag"
71208                          || test ! -s conftest.err'
71209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71210   (eval $ac_try) 2>&5
71211   ac_status=$?
71212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71213   (exit $ac_status); }; } &&
71214          { ac_try='test -s conftest$ac_exeext'
71215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71216   (eval $ac_try) 2>&5
71217   ac_status=$?
71218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71219   (exit $ac_status); }; }; then
71220   eval "$as_ac_var=yes"
71221 else
71222   echo "$as_me: failed program was:" >&5
71223 sed 's/^/| /' conftest.$ac_ext >&5
71224
71225 eval "$as_ac_var=no"
71226 fi
71227 rm -f conftest.err conftest.$ac_objext \
71228       conftest$ac_exeext conftest.$ac_ext
71229 fi
71230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71232 if test `eval echo '${'$as_ac_var'}'` = yes; then
71233   cat >>confdefs.h <<_ACEOF
71234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71235 _ACEOF
71236
71237 fi
71238 done
71239
71240     fi
71241   fi
71242
71243
71244
71245
71246
71247
71248   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71249 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71250   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71251     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71252   echo $ECHO_N "(cached) $ECHO_C" >&6
71253 else
71254
71255
71256
71257       ac_ext=cc
71258 ac_cpp='$CXXCPP $CPPFLAGS'
71259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71262
71263       cat >conftest.$ac_ext <<_ACEOF
71264 /* confdefs.h.  */
71265 _ACEOF
71266 cat confdefs.h >>conftest.$ac_ext
71267 cat >>conftest.$ac_ext <<_ACEOF
71268 /* end confdefs.h.  */
71269 #include <math.h>
71270 int
71271 main ()
71272 {
71273  hypotf(0, 0);
71274   ;
71275   return 0;
71276 }
71277 _ACEOF
71278 rm -f conftest.$ac_objext
71279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71280   (eval $ac_compile) 2>conftest.er1
71281   ac_status=$?
71282   grep -v '^ *+' conftest.er1 >conftest.err
71283   rm -f conftest.er1
71284   cat conftest.err >&5
71285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71286   (exit $ac_status); } &&
71287          { ac_try='test -z "$ac_cxx_werror_flag"
71288                          || test ! -s conftest.err'
71289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71290   (eval $ac_try) 2>&5
71291   ac_status=$?
71292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71293   (exit $ac_status); }; } &&
71294          { ac_try='test -s conftest.$ac_objext'
71295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71296   (eval $ac_try) 2>&5
71297   ac_status=$?
71298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71299   (exit $ac_status); }; }; then
71300   glibcxx_cv_func_hypotf_use=yes
71301 else
71302   echo "$as_me: failed program was:" >&5
71303 sed 's/^/| /' conftest.$ac_ext >&5
71304
71305 glibcxx_cv_func_hypotf_use=no
71306 fi
71307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71308       ac_ext=c
71309 ac_cpp='$CPP $CPPFLAGS'
71310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71313
71314
71315 fi
71316
71317   fi
71318   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71319 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71320
71321   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71322
71323 for ac_func in hypotf
71324 do
71325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71326 echo "$as_me:$LINENO: checking for $ac_func" >&5
71327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71328 if eval "test \"\${$as_ac_var+set}\" = set"; then
71329   echo $ECHO_N "(cached) $ECHO_C" >&6
71330 else
71331   if test x$gcc_no_link = xyes; then
71332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71334    { (exit 1); exit 1; }; }
71335 fi
71336 cat >conftest.$ac_ext <<_ACEOF
71337 /* confdefs.h.  */
71338 _ACEOF
71339 cat confdefs.h >>conftest.$ac_ext
71340 cat >>conftest.$ac_ext <<_ACEOF
71341 /* end confdefs.h.  */
71342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71344 #define $ac_func innocuous_$ac_func
71345
71346 /* System header to define __stub macros and hopefully few prototypes,
71347     which can conflict with char $ac_func (); below.
71348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71349     <limits.h> exists even on freestanding compilers.  */
71350
71351 #ifdef __STDC__
71352 # include <limits.h>
71353 #else
71354 # include <assert.h>
71355 #endif
71356
71357 #undef $ac_func
71358
71359 /* Override any gcc2 internal prototype to avoid an error.  */
71360 #ifdef __cplusplus
71361 extern "C"
71362 {
71363 #endif
71364 /* We use char because int might match the return type of a gcc2
71365    builtin and then its argument prototype would still apply.  */
71366 char $ac_func ();
71367 /* The GNU C library defines this for functions which it implements
71368     to always fail with ENOSYS.  Some functions are actually named
71369     something starting with __ and the normal name is an alias.  */
71370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71371 choke me
71372 #else
71373 char (*f) () = $ac_func;
71374 #endif
71375 #ifdef __cplusplus
71376 }
71377 #endif
71378
71379 int
71380 main ()
71381 {
71382 return f != $ac_func;
71383   ;
71384   return 0;
71385 }
71386 _ACEOF
71387 rm -f conftest.$ac_objext conftest$ac_exeext
71388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71389   (eval $ac_link) 2>conftest.er1
71390   ac_status=$?
71391   grep -v '^ *+' conftest.er1 >conftest.err
71392   rm -f conftest.er1
71393   cat conftest.err >&5
71394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71395   (exit $ac_status); } &&
71396          { ac_try='test -z "$ac_c_werror_flag"
71397                          || test ! -s conftest.err'
71398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71399   (eval $ac_try) 2>&5
71400   ac_status=$?
71401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402   (exit $ac_status); }; } &&
71403          { ac_try='test -s conftest$ac_exeext'
71404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405   (eval $ac_try) 2>&5
71406   ac_status=$?
71407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408   (exit $ac_status); }; }; then
71409   eval "$as_ac_var=yes"
71410 else
71411   echo "$as_me: failed program was:" >&5
71412 sed 's/^/| /' conftest.$ac_ext >&5
71413
71414 eval "$as_ac_var=no"
71415 fi
71416 rm -f conftest.err conftest.$ac_objext \
71417       conftest$ac_exeext conftest.$ac_ext
71418 fi
71419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71421 if test `eval echo '${'$as_ac_var'}'` = yes; then
71422   cat >>confdefs.h <<_ACEOF
71423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71424 _ACEOF
71425
71426 fi
71427 done
71428
71429   else
71430
71431   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71432 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71433   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71434     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71435   echo $ECHO_N "(cached) $ECHO_C" >&6
71436 else
71437
71438
71439
71440       ac_ext=cc
71441 ac_cpp='$CXXCPP $CPPFLAGS'
71442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71445
71446       cat >conftest.$ac_ext <<_ACEOF
71447 /* confdefs.h.  */
71448 _ACEOF
71449 cat confdefs.h >>conftest.$ac_ext
71450 cat >>conftest.$ac_ext <<_ACEOF
71451 /* end confdefs.h.  */
71452 #include <math.h>
71453 int
71454 main ()
71455 {
71456  _hypotf(0, 0);
71457   ;
71458   return 0;
71459 }
71460 _ACEOF
71461 rm -f conftest.$ac_objext
71462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71463   (eval $ac_compile) 2>conftest.er1
71464   ac_status=$?
71465   grep -v '^ *+' conftest.er1 >conftest.err
71466   rm -f conftest.er1
71467   cat conftest.err >&5
71468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71469   (exit $ac_status); } &&
71470          { ac_try='test -z "$ac_cxx_werror_flag"
71471                          || test ! -s conftest.err'
71472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71473   (eval $ac_try) 2>&5
71474   ac_status=$?
71475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71476   (exit $ac_status); }; } &&
71477          { ac_try='test -s conftest.$ac_objext'
71478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71479   (eval $ac_try) 2>&5
71480   ac_status=$?
71481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71482   (exit $ac_status); }; }; then
71483   glibcxx_cv_func__hypotf_use=yes
71484 else
71485   echo "$as_me: failed program was:" >&5
71486 sed 's/^/| /' conftest.$ac_ext >&5
71487
71488 glibcxx_cv_func__hypotf_use=no
71489 fi
71490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71491       ac_ext=c
71492 ac_cpp='$CPP $CPPFLAGS'
71493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71496
71497
71498 fi
71499
71500   fi
71501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
71502 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
71503
71504     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
71505
71506 for ac_func in _hypotf
71507 do
71508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71509 echo "$as_me:$LINENO: checking for $ac_func" >&5
71510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71511 if eval "test \"\${$as_ac_var+set}\" = set"; then
71512   echo $ECHO_N "(cached) $ECHO_C" >&6
71513 else
71514   if test x$gcc_no_link = xyes; then
71515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71517    { (exit 1); exit 1; }; }
71518 fi
71519 cat >conftest.$ac_ext <<_ACEOF
71520 /* confdefs.h.  */
71521 _ACEOF
71522 cat confdefs.h >>conftest.$ac_ext
71523 cat >>conftest.$ac_ext <<_ACEOF
71524 /* end confdefs.h.  */
71525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71527 #define $ac_func innocuous_$ac_func
71528
71529 /* System header to define __stub macros and hopefully few prototypes,
71530     which can conflict with char $ac_func (); below.
71531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71532     <limits.h> exists even on freestanding compilers.  */
71533
71534 #ifdef __STDC__
71535 # include <limits.h>
71536 #else
71537 # include <assert.h>
71538 #endif
71539
71540 #undef $ac_func
71541
71542 /* Override any gcc2 internal prototype to avoid an error.  */
71543 #ifdef __cplusplus
71544 extern "C"
71545 {
71546 #endif
71547 /* We use char because int might match the return type of a gcc2
71548    builtin and then its argument prototype would still apply.  */
71549 char $ac_func ();
71550 /* The GNU C library defines this for functions which it implements
71551     to always fail with ENOSYS.  Some functions are actually named
71552     something starting with __ and the normal name is an alias.  */
71553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71554 choke me
71555 #else
71556 char (*f) () = $ac_func;
71557 #endif
71558 #ifdef __cplusplus
71559 }
71560 #endif
71561
71562 int
71563 main ()
71564 {
71565 return f != $ac_func;
71566   ;
71567   return 0;
71568 }
71569 _ACEOF
71570 rm -f conftest.$ac_objext conftest$ac_exeext
71571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71572   (eval $ac_link) 2>conftest.er1
71573   ac_status=$?
71574   grep -v '^ *+' conftest.er1 >conftest.err
71575   rm -f conftest.er1
71576   cat conftest.err >&5
71577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71578   (exit $ac_status); } &&
71579          { ac_try='test -z "$ac_c_werror_flag"
71580                          || test ! -s conftest.err'
71581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582   (eval $ac_try) 2>&5
71583   ac_status=$?
71584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585   (exit $ac_status); }; } &&
71586          { ac_try='test -s conftest$ac_exeext'
71587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71588   (eval $ac_try) 2>&5
71589   ac_status=$?
71590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71591   (exit $ac_status); }; }; then
71592   eval "$as_ac_var=yes"
71593 else
71594   echo "$as_me: failed program was:" >&5
71595 sed 's/^/| /' conftest.$ac_ext >&5
71596
71597 eval "$as_ac_var=no"
71598 fi
71599 rm -f conftest.err conftest.$ac_objext \
71600       conftest$ac_exeext conftest.$ac_ext
71601 fi
71602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71604 if test `eval echo '${'$as_ac_var'}'` = yes; then
71605   cat >>confdefs.h <<_ACEOF
71606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71607 _ACEOF
71608
71609 fi
71610 done
71611
71612     fi
71613   fi
71614
71615
71616
71617
71618
71619
71620   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71621 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71622   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71623     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71624   echo $ECHO_N "(cached) $ECHO_C" >&6
71625 else
71626
71627
71628
71629       ac_ext=cc
71630 ac_cpp='$CXXCPP $CPPFLAGS'
71631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71634
71635       cat >conftest.$ac_ext <<_ACEOF
71636 /* confdefs.h.  */
71637 _ACEOF
71638 cat confdefs.h >>conftest.$ac_ext
71639 cat >>conftest.$ac_ext <<_ACEOF
71640 /* end confdefs.h.  */
71641 #include <math.h>
71642 int
71643 main ()
71644 {
71645  ldexpf(0, 0);
71646   ;
71647   return 0;
71648 }
71649 _ACEOF
71650 rm -f conftest.$ac_objext
71651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71652   (eval $ac_compile) 2>conftest.er1
71653   ac_status=$?
71654   grep -v '^ *+' conftest.er1 >conftest.err
71655   rm -f conftest.er1
71656   cat conftest.err >&5
71657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71658   (exit $ac_status); } &&
71659          { ac_try='test -z "$ac_cxx_werror_flag"
71660                          || test ! -s conftest.err'
71661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71662   (eval $ac_try) 2>&5
71663   ac_status=$?
71664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71665   (exit $ac_status); }; } &&
71666          { ac_try='test -s conftest.$ac_objext'
71667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71668   (eval $ac_try) 2>&5
71669   ac_status=$?
71670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71671   (exit $ac_status); }; }; then
71672   glibcxx_cv_func_ldexpf_use=yes
71673 else
71674   echo "$as_me: failed program was:" >&5
71675 sed 's/^/| /' conftest.$ac_ext >&5
71676
71677 glibcxx_cv_func_ldexpf_use=no
71678 fi
71679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71680       ac_ext=c
71681 ac_cpp='$CPP $CPPFLAGS'
71682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71685
71686
71687 fi
71688
71689   fi
71690   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71691 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71692
71693   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71694
71695 for ac_func in ldexpf
71696 do
71697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71698 echo "$as_me:$LINENO: checking for $ac_func" >&5
71699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71700 if eval "test \"\${$as_ac_var+set}\" = set"; then
71701   echo $ECHO_N "(cached) $ECHO_C" >&6
71702 else
71703   if test x$gcc_no_link = xyes; then
71704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71706    { (exit 1); exit 1; }; }
71707 fi
71708 cat >conftest.$ac_ext <<_ACEOF
71709 /* confdefs.h.  */
71710 _ACEOF
71711 cat confdefs.h >>conftest.$ac_ext
71712 cat >>conftest.$ac_ext <<_ACEOF
71713 /* end confdefs.h.  */
71714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71716 #define $ac_func innocuous_$ac_func
71717
71718 /* System header to define __stub macros and hopefully few prototypes,
71719     which can conflict with char $ac_func (); below.
71720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71721     <limits.h> exists even on freestanding compilers.  */
71722
71723 #ifdef __STDC__
71724 # include <limits.h>
71725 #else
71726 # include <assert.h>
71727 #endif
71728
71729 #undef $ac_func
71730
71731 /* Override any gcc2 internal prototype to avoid an error.  */
71732 #ifdef __cplusplus
71733 extern "C"
71734 {
71735 #endif
71736 /* We use char because int might match the return type of a gcc2
71737    builtin and then its argument prototype would still apply.  */
71738 char $ac_func ();
71739 /* The GNU C library defines this for functions which it implements
71740     to always fail with ENOSYS.  Some functions are actually named
71741     something starting with __ and the normal name is an alias.  */
71742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71743 choke me
71744 #else
71745 char (*f) () = $ac_func;
71746 #endif
71747 #ifdef __cplusplus
71748 }
71749 #endif
71750
71751 int
71752 main ()
71753 {
71754 return f != $ac_func;
71755   ;
71756   return 0;
71757 }
71758 _ACEOF
71759 rm -f conftest.$ac_objext conftest$ac_exeext
71760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71761   (eval $ac_link) 2>conftest.er1
71762   ac_status=$?
71763   grep -v '^ *+' conftest.er1 >conftest.err
71764   rm -f conftest.er1
71765   cat conftest.err >&5
71766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71767   (exit $ac_status); } &&
71768          { ac_try='test -z "$ac_c_werror_flag"
71769                          || test ! -s conftest.err'
71770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71771   (eval $ac_try) 2>&5
71772   ac_status=$?
71773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774   (exit $ac_status); }; } &&
71775          { ac_try='test -s conftest$ac_exeext'
71776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71777   (eval $ac_try) 2>&5
71778   ac_status=$?
71779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71780   (exit $ac_status); }; }; then
71781   eval "$as_ac_var=yes"
71782 else
71783   echo "$as_me: failed program was:" >&5
71784 sed 's/^/| /' conftest.$ac_ext >&5
71785
71786 eval "$as_ac_var=no"
71787 fi
71788 rm -f conftest.err conftest.$ac_objext \
71789       conftest$ac_exeext conftest.$ac_ext
71790 fi
71791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71793 if test `eval echo '${'$as_ac_var'}'` = yes; then
71794   cat >>confdefs.h <<_ACEOF
71795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71796 _ACEOF
71797
71798 fi
71799 done
71800
71801   else
71802
71803   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71804 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71805   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71806     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71807   echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71809
71810
71811
71812       ac_ext=cc
71813 ac_cpp='$CXXCPP $CPPFLAGS'
71814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71817
71818       cat >conftest.$ac_ext <<_ACEOF
71819 /* confdefs.h.  */
71820 _ACEOF
71821 cat confdefs.h >>conftest.$ac_ext
71822 cat >>conftest.$ac_ext <<_ACEOF
71823 /* end confdefs.h.  */
71824 #include <math.h>
71825 int
71826 main ()
71827 {
71828  _ldexpf(0, 0);
71829   ;
71830   return 0;
71831 }
71832 _ACEOF
71833 rm -f conftest.$ac_objext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71835   (eval $ac_compile) 2>conftest.er1
71836   ac_status=$?
71837   grep -v '^ *+' conftest.er1 >conftest.err
71838   rm -f conftest.er1
71839   cat conftest.err >&5
71840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841   (exit $ac_status); } &&
71842          { ac_try='test -z "$ac_cxx_werror_flag"
71843                          || test ! -s conftest.err'
71844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71845   (eval $ac_try) 2>&5
71846   ac_status=$?
71847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848   (exit $ac_status); }; } &&
71849          { ac_try='test -s conftest.$ac_objext'
71850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851   (eval $ac_try) 2>&5
71852   ac_status=$?
71853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854   (exit $ac_status); }; }; then
71855   glibcxx_cv_func__ldexpf_use=yes
71856 else
71857   echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71859
71860 glibcxx_cv_func__ldexpf_use=no
71861 fi
71862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71863       ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71868
71869
71870 fi
71871
71872   fi
71873   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71874 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71875
71876     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71877
71878 for ac_func in _ldexpf
71879 do
71880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71881 echo "$as_me:$LINENO: checking for $ac_func" >&5
71882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71883 if eval "test \"\${$as_ac_var+set}\" = set"; then
71884   echo $ECHO_N "(cached) $ECHO_C" >&6
71885 else
71886   if test x$gcc_no_link = xyes; then
71887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71889    { (exit 1); exit 1; }; }
71890 fi
71891 cat >conftest.$ac_ext <<_ACEOF
71892 /* confdefs.h.  */
71893 _ACEOF
71894 cat confdefs.h >>conftest.$ac_ext
71895 cat >>conftest.$ac_ext <<_ACEOF
71896 /* end confdefs.h.  */
71897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71899 #define $ac_func innocuous_$ac_func
71900
71901 /* System header to define __stub macros and hopefully few prototypes,
71902     which can conflict with char $ac_func (); below.
71903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71904     <limits.h> exists even on freestanding compilers.  */
71905
71906 #ifdef __STDC__
71907 # include <limits.h>
71908 #else
71909 # include <assert.h>
71910 #endif
71911
71912 #undef $ac_func
71913
71914 /* Override any gcc2 internal prototype to avoid an error.  */
71915 #ifdef __cplusplus
71916 extern "C"
71917 {
71918 #endif
71919 /* We use char because int might match the return type of a gcc2
71920    builtin and then its argument prototype would still apply.  */
71921 char $ac_func ();
71922 /* The GNU C library defines this for functions which it implements
71923     to always fail with ENOSYS.  Some functions are actually named
71924     something starting with __ and the normal name is an alias.  */
71925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71926 choke me
71927 #else
71928 char (*f) () = $ac_func;
71929 #endif
71930 #ifdef __cplusplus
71931 }
71932 #endif
71933
71934 int
71935 main ()
71936 {
71937 return f != $ac_func;
71938   ;
71939   return 0;
71940 }
71941 _ACEOF
71942 rm -f conftest.$ac_objext conftest$ac_exeext
71943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71944   (eval $ac_link) 2>conftest.er1
71945   ac_status=$?
71946   grep -v '^ *+' conftest.er1 >conftest.err
71947   rm -f conftest.er1
71948   cat conftest.err >&5
71949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71950   (exit $ac_status); } &&
71951          { ac_try='test -z "$ac_c_werror_flag"
71952                          || test ! -s conftest.err'
71953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71954   (eval $ac_try) 2>&5
71955   ac_status=$?
71956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71957   (exit $ac_status); }; } &&
71958          { ac_try='test -s conftest$ac_exeext'
71959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71960   (eval $ac_try) 2>&5
71961   ac_status=$?
71962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71963   (exit $ac_status); }; }; then
71964   eval "$as_ac_var=yes"
71965 else
71966   echo "$as_me: failed program was:" >&5
71967 sed 's/^/| /' conftest.$ac_ext >&5
71968
71969 eval "$as_ac_var=no"
71970 fi
71971 rm -f conftest.err conftest.$ac_objext \
71972       conftest$ac_exeext conftest.$ac_ext
71973 fi
71974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71976 if test `eval echo '${'$as_ac_var'}'` = yes; then
71977   cat >>confdefs.h <<_ACEOF
71978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71979 _ACEOF
71980
71981 fi
71982 done
71983
71984     fi
71985   fi
71986
71987
71988
71989
71990
71991
71992   echo "$as_me:$LINENO: checking for logf declaration" >&5
71993 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71994   if test x${glibcxx_cv_func_logf_use+set} != xset; then
71995     if test "${glibcxx_cv_func_logf_use+set}" = set; then
71996   echo $ECHO_N "(cached) $ECHO_C" >&6
71997 else
71998
71999
72000
72001       ac_ext=cc
72002 ac_cpp='$CXXCPP $CPPFLAGS'
72003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72006
72007       cat >conftest.$ac_ext <<_ACEOF
72008 /* confdefs.h.  */
72009 _ACEOF
72010 cat confdefs.h >>conftest.$ac_ext
72011 cat >>conftest.$ac_ext <<_ACEOF
72012 /* end confdefs.h.  */
72013 #include <math.h>
72014                       #ifdef HAVE_IEEEFP_H
72015                       #include <ieeefp.h>
72016                       #endif
72017
72018 int
72019 main ()
72020 {
72021  logf(0);
72022   ;
72023   return 0;
72024 }
72025 _ACEOF
72026 rm -f conftest.$ac_objext
72027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72028   (eval $ac_compile) 2>conftest.er1
72029   ac_status=$?
72030   grep -v '^ *+' conftest.er1 >conftest.err
72031   rm -f conftest.er1
72032   cat conftest.err >&5
72033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72034   (exit $ac_status); } &&
72035          { ac_try='test -z "$ac_cxx_werror_flag"
72036                          || test ! -s conftest.err'
72037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72038   (eval $ac_try) 2>&5
72039   ac_status=$?
72040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72041   (exit $ac_status); }; } &&
72042          { ac_try='test -s conftest.$ac_objext'
72043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72044   (eval $ac_try) 2>&5
72045   ac_status=$?
72046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72047   (exit $ac_status); }; }; then
72048   glibcxx_cv_func_logf_use=yes
72049 else
72050   echo "$as_me: failed program was:" >&5
72051 sed 's/^/| /' conftest.$ac_ext >&5
72052
72053 glibcxx_cv_func_logf_use=no
72054 fi
72055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72056       ac_ext=c
72057 ac_cpp='$CPP $CPPFLAGS'
72058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72061
72062
72063 fi
72064
72065   fi
72066   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72067 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72068
72069   if test x$glibcxx_cv_func_logf_use = x"yes"; then
72070
72071 for ac_func in logf
72072 do
72073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72074 echo "$as_me:$LINENO: checking for $ac_func" >&5
72075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72076 if eval "test \"\${$as_ac_var+set}\" = set"; then
72077   echo $ECHO_N "(cached) $ECHO_C" >&6
72078 else
72079   if test x$gcc_no_link = xyes; then
72080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72082    { (exit 1); exit 1; }; }
72083 fi
72084 cat >conftest.$ac_ext <<_ACEOF
72085 /* confdefs.h.  */
72086 _ACEOF
72087 cat confdefs.h >>conftest.$ac_ext
72088 cat >>conftest.$ac_ext <<_ACEOF
72089 /* end confdefs.h.  */
72090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72092 #define $ac_func innocuous_$ac_func
72093
72094 /* System header to define __stub macros and hopefully few prototypes,
72095     which can conflict with char $ac_func (); below.
72096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72097     <limits.h> exists even on freestanding compilers.  */
72098
72099 #ifdef __STDC__
72100 # include <limits.h>
72101 #else
72102 # include <assert.h>
72103 #endif
72104
72105 #undef $ac_func
72106
72107 /* Override any gcc2 internal prototype to avoid an error.  */
72108 #ifdef __cplusplus
72109 extern "C"
72110 {
72111 #endif
72112 /* We use char because int might match the return type of a gcc2
72113    builtin and then its argument prototype would still apply.  */
72114 char $ac_func ();
72115 /* The GNU C library defines this for functions which it implements
72116     to always fail with ENOSYS.  Some functions are actually named
72117     something starting with __ and the normal name is an alias.  */
72118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72119 choke me
72120 #else
72121 char (*f) () = $ac_func;
72122 #endif
72123 #ifdef __cplusplus
72124 }
72125 #endif
72126
72127 int
72128 main ()
72129 {
72130 return f != $ac_func;
72131   ;
72132   return 0;
72133 }
72134 _ACEOF
72135 rm -f conftest.$ac_objext conftest$ac_exeext
72136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72137   (eval $ac_link) 2>conftest.er1
72138   ac_status=$?
72139   grep -v '^ *+' conftest.er1 >conftest.err
72140   rm -f conftest.er1
72141   cat conftest.err >&5
72142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72143   (exit $ac_status); } &&
72144          { ac_try='test -z "$ac_c_werror_flag"
72145                          || test ! -s conftest.err'
72146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72147   (eval $ac_try) 2>&5
72148   ac_status=$?
72149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150   (exit $ac_status); }; } &&
72151          { ac_try='test -s conftest$ac_exeext'
72152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72153   (eval $ac_try) 2>&5
72154   ac_status=$?
72155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72156   (exit $ac_status); }; }; then
72157   eval "$as_ac_var=yes"
72158 else
72159   echo "$as_me: failed program was:" >&5
72160 sed 's/^/| /' conftest.$ac_ext >&5
72161
72162 eval "$as_ac_var=no"
72163 fi
72164 rm -f conftest.err conftest.$ac_objext \
72165       conftest$ac_exeext conftest.$ac_ext
72166 fi
72167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72169 if test `eval echo '${'$as_ac_var'}'` = yes; then
72170   cat >>confdefs.h <<_ACEOF
72171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72172 _ACEOF
72173
72174 fi
72175 done
72176
72177   else
72178
72179   echo "$as_me:$LINENO: checking for _logf declaration" >&5
72180 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72181   if test x${glibcxx_cv_func__logf_use+set} != xset; then
72182     if test "${glibcxx_cv_func__logf_use+set}" = set; then
72183   echo $ECHO_N "(cached) $ECHO_C" >&6
72184 else
72185
72186
72187
72188       ac_ext=cc
72189 ac_cpp='$CXXCPP $CPPFLAGS'
72190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72193
72194       cat >conftest.$ac_ext <<_ACEOF
72195 /* confdefs.h.  */
72196 _ACEOF
72197 cat confdefs.h >>conftest.$ac_ext
72198 cat >>conftest.$ac_ext <<_ACEOF
72199 /* end confdefs.h.  */
72200 #include <math.h>
72201                       #ifdef HAVE_IEEEFP_H
72202                       #include <ieeefp.h>
72203                       #endif
72204
72205 int
72206 main ()
72207 {
72208  _logf(0);
72209   ;
72210   return 0;
72211 }
72212 _ACEOF
72213 rm -f conftest.$ac_objext
72214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72215   (eval $ac_compile) 2>conftest.er1
72216   ac_status=$?
72217   grep -v '^ *+' conftest.er1 >conftest.err
72218   rm -f conftest.er1
72219   cat conftest.err >&5
72220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72221   (exit $ac_status); } &&
72222          { ac_try='test -z "$ac_cxx_werror_flag"
72223                          || test ! -s conftest.err'
72224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72225   (eval $ac_try) 2>&5
72226   ac_status=$?
72227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72228   (exit $ac_status); }; } &&
72229          { ac_try='test -s conftest.$ac_objext'
72230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72231   (eval $ac_try) 2>&5
72232   ac_status=$?
72233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72234   (exit $ac_status); }; }; then
72235   glibcxx_cv_func__logf_use=yes
72236 else
72237   echo "$as_me: failed program was:" >&5
72238 sed 's/^/| /' conftest.$ac_ext >&5
72239
72240 glibcxx_cv_func__logf_use=no
72241 fi
72242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72243       ac_ext=c
72244 ac_cpp='$CPP $CPPFLAGS'
72245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72248
72249
72250 fi
72251
72252   fi
72253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72254 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72255
72256     if test x$glibcxx_cv_func__logf_use = x"yes"; then
72257
72258 for ac_func in _logf
72259 do
72260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72261 echo "$as_me:$LINENO: checking for $ac_func" >&5
72262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72263 if eval "test \"\${$as_ac_var+set}\" = set"; then
72264   echo $ECHO_N "(cached) $ECHO_C" >&6
72265 else
72266   if test x$gcc_no_link = xyes; then
72267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72269    { (exit 1); exit 1; }; }
72270 fi
72271 cat >conftest.$ac_ext <<_ACEOF
72272 /* confdefs.h.  */
72273 _ACEOF
72274 cat confdefs.h >>conftest.$ac_ext
72275 cat >>conftest.$ac_ext <<_ACEOF
72276 /* end confdefs.h.  */
72277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72279 #define $ac_func innocuous_$ac_func
72280
72281 /* System header to define __stub macros and hopefully few prototypes,
72282     which can conflict with char $ac_func (); below.
72283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72284     <limits.h> exists even on freestanding compilers.  */
72285
72286 #ifdef __STDC__
72287 # include <limits.h>
72288 #else
72289 # include <assert.h>
72290 #endif
72291
72292 #undef $ac_func
72293
72294 /* Override any gcc2 internal prototype to avoid an error.  */
72295 #ifdef __cplusplus
72296 extern "C"
72297 {
72298 #endif
72299 /* We use char because int might match the return type of a gcc2
72300    builtin and then its argument prototype would still apply.  */
72301 char $ac_func ();
72302 /* The GNU C library defines this for functions which it implements
72303     to always fail with ENOSYS.  Some functions are actually named
72304     something starting with __ and the normal name is an alias.  */
72305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72306 choke me
72307 #else
72308 char (*f) () = $ac_func;
72309 #endif
72310 #ifdef __cplusplus
72311 }
72312 #endif
72313
72314 int
72315 main ()
72316 {
72317 return f != $ac_func;
72318   ;
72319   return 0;
72320 }
72321 _ACEOF
72322 rm -f conftest.$ac_objext conftest$ac_exeext
72323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72324   (eval $ac_link) 2>conftest.er1
72325   ac_status=$?
72326   grep -v '^ *+' conftest.er1 >conftest.err
72327   rm -f conftest.er1
72328   cat conftest.err >&5
72329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330   (exit $ac_status); } &&
72331          { ac_try='test -z "$ac_c_werror_flag"
72332                          || test ! -s conftest.err'
72333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334   (eval $ac_try) 2>&5
72335   ac_status=$?
72336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337   (exit $ac_status); }; } &&
72338          { ac_try='test -s conftest$ac_exeext'
72339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340   (eval $ac_try) 2>&5
72341   ac_status=$?
72342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343   (exit $ac_status); }; }; then
72344   eval "$as_ac_var=yes"
72345 else
72346   echo "$as_me: failed program was:" >&5
72347 sed 's/^/| /' conftest.$ac_ext >&5
72348
72349 eval "$as_ac_var=no"
72350 fi
72351 rm -f conftest.err conftest.$ac_objext \
72352       conftest$ac_exeext conftest.$ac_ext
72353 fi
72354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72356 if test `eval echo '${'$as_ac_var'}'` = yes; then
72357   cat >>confdefs.h <<_ACEOF
72358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72359 _ACEOF
72360
72361 fi
72362 done
72363
72364     fi
72365   fi
72366
72367
72368
72369
72370
72371
72372   echo "$as_me:$LINENO: checking for log10f declaration" >&5
72373 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72374   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72375     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72376   echo $ECHO_N "(cached) $ECHO_C" >&6
72377 else
72378
72379
72380
72381       ac_ext=cc
72382 ac_cpp='$CXXCPP $CPPFLAGS'
72383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72386
72387       cat >conftest.$ac_ext <<_ACEOF
72388 /* confdefs.h.  */
72389 _ACEOF
72390 cat confdefs.h >>conftest.$ac_ext
72391 cat >>conftest.$ac_ext <<_ACEOF
72392 /* end confdefs.h.  */
72393 #include <math.h>
72394                       #ifdef HAVE_IEEEFP_H
72395                       #include <ieeefp.h>
72396                       #endif
72397
72398 int
72399 main ()
72400 {
72401  log10f(0);
72402   ;
72403   return 0;
72404 }
72405 _ACEOF
72406 rm -f conftest.$ac_objext
72407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72408   (eval $ac_compile) 2>conftest.er1
72409   ac_status=$?
72410   grep -v '^ *+' conftest.er1 >conftest.err
72411   rm -f conftest.er1
72412   cat conftest.err >&5
72413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72414   (exit $ac_status); } &&
72415          { ac_try='test -z "$ac_cxx_werror_flag"
72416                          || test ! -s conftest.err'
72417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72418   (eval $ac_try) 2>&5
72419   ac_status=$?
72420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72421   (exit $ac_status); }; } &&
72422          { ac_try='test -s conftest.$ac_objext'
72423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72424   (eval $ac_try) 2>&5
72425   ac_status=$?
72426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72427   (exit $ac_status); }; }; then
72428   glibcxx_cv_func_log10f_use=yes
72429 else
72430   echo "$as_me: failed program was:" >&5
72431 sed 's/^/| /' conftest.$ac_ext >&5
72432
72433 glibcxx_cv_func_log10f_use=no
72434 fi
72435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72436       ac_ext=c
72437 ac_cpp='$CPP $CPPFLAGS'
72438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72441
72442
72443 fi
72444
72445   fi
72446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72447 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72448
72449   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72450
72451 for ac_func in log10f
72452 do
72453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72454 echo "$as_me:$LINENO: checking for $ac_func" >&5
72455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72456 if eval "test \"\${$as_ac_var+set}\" = set"; then
72457   echo $ECHO_N "(cached) $ECHO_C" >&6
72458 else
72459   if test x$gcc_no_link = xyes; then
72460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72462    { (exit 1); exit 1; }; }
72463 fi
72464 cat >conftest.$ac_ext <<_ACEOF
72465 /* confdefs.h.  */
72466 _ACEOF
72467 cat confdefs.h >>conftest.$ac_ext
72468 cat >>conftest.$ac_ext <<_ACEOF
72469 /* end confdefs.h.  */
72470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72472 #define $ac_func innocuous_$ac_func
72473
72474 /* System header to define __stub macros and hopefully few prototypes,
72475     which can conflict with char $ac_func (); below.
72476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72477     <limits.h> exists even on freestanding compilers.  */
72478
72479 #ifdef __STDC__
72480 # include <limits.h>
72481 #else
72482 # include <assert.h>
72483 #endif
72484
72485 #undef $ac_func
72486
72487 /* Override any gcc2 internal prototype to avoid an error.  */
72488 #ifdef __cplusplus
72489 extern "C"
72490 {
72491 #endif
72492 /* We use char because int might match the return type of a gcc2
72493    builtin and then its argument prototype would still apply.  */
72494 char $ac_func ();
72495 /* The GNU C library defines this for functions which it implements
72496     to always fail with ENOSYS.  Some functions are actually named
72497     something starting with __ and the normal name is an alias.  */
72498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72499 choke me
72500 #else
72501 char (*f) () = $ac_func;
72502 #endif
72503 #ifdef __cplusplus
72504 }
72505 #endif
72506
72507 int
72508 main ()
72509 {
72510 return f != $ac_func;
72511   ;
72512   return 0;
72513 }
72514 _ACEOF
72515 rm -f conftest.$ac_objext conftest$ac_exeext
72516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72517   (eval $ac_link) 2>conftest.er1
72518   ac_status=$?
72519   grep -v '^ *+' conftest.er1 >conftest.err
72520   rm -f conftest.er1
72521   cat conftest.err >&5
72522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72523   (exit $ac_status); } &&
72524          { ac_try='test -z "$ac_c_werror_flag"
72525                          || test ! -s conftest.err'
72526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72527   (eval $ac_try) 2>&5
72528   ac_status=$?
72529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530   (exit $ac_status); }; } &&
72531          { ac_try='test -s conftest$ac_exeext'
72532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72533   (eval $ac_try) 2>&5
72534   ac_status=$?
72535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536   (exit $ac_status); }; }; then
72537   eval "$as_ac_var=yes"
72538 else
72539   echo "$as_me: failed program was:" >&5
72540 sed 's/^/| /' conftest.$ac_ext >&5
72541
72542 eval "$as_ac_var=no"
72543 fi
72544 rm -f conftest.err conftest.$ac_objext \
72545       conftest$ac_exeext conftest.$ac_ext
72546 fi
72547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72549 if test `eval echo '${'$as_ac_var'}'` = yes; then
72550   cat >>confdefs.h <<_ACEOF
72551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72552 _ACEOF
72553
72554 fi
72555 done
72556
72557   else
72558
72559   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72560 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72561   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72562     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72563   echo $ECHO_N "(cached) $ECHO_C" >&6
72564 else
72565
72566
72567
72568       ac_ext=cc
72569 ac_cpp='$CXXCPP $CPPFLAGS'
72570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72573
72574       cat >conftest.$ac_ext <<_ACEOF
72575 /* confdefs.h.  */
72576 _ACEOF
72577 cat confdefs.h >>conftest.$ac_ext
72578 cat >>conftest.$ac_ext <<_ACEOF
72579 /* end confdefs.h.  */
72580 #include <math.h>
72581                       #ifdef HAVE_IEEEFP_H
72582                       #include <ieeefp.h>
72583                       #endif
72584
72585 int
72586 main ()
72587 {
72588  _log10f(0);
72589   ;
72590   return 0;
72591 }
72592 _ACEOF
72593 rm -f conftest.$ac_objext
72594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72595   (eval $ac_compile) 2>conftest.er1
72596   ac_status=$?
72597   grep -v '^ *+' conftest.er1 >conftest.err
72598   rm -f conftest.er1
72599   cat conftest.err >&5
72600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72601   (exit $ac_status); } &&
72602          { ac_try='test -z "$ac_cxx_werror_flag"
72603                          || test ! -s conftest.err'
72604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605   (eval $ac_try) 2>&5
72606   ac_status=$?
72607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608   (exit $ac_status); }; } &&
72609          { ac_try='test -s conftest.$ac_objext'
72610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611   (eval $ac_try) 2>&5
72612   ac_status=$?
72613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614   (exit $ac_status); }; }; then
72615   glibcxx_cv_func__log10f_use=yes
72616 else
72617   echo "$as_me: failed program was:" >&5
72618 sed 's/^/| /' conftest.$ac_ext >&5
72619
72620 glibcxx_cv_func__log10f_use=no
72621 fi
72622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72623       ac_ext=c
72624 ac_cpp='$CPP $CPPFLAGS'
72625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72628
72629
72630 fi
72631
72632   fi
72633   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72634 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72635
72636     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72637
72638 for ac_func in _log10f
72639 do
72640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72641 echo "$as_me:$LINENO: checking for $ac_func" >&5
72642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72643 if eval "test \"\${$as_ac_var+set}\" = set"; then
72644   echo $ECHO_N "(cached) $ECHO_C" >&6
72645 else
72646   if test x$gcc_no_link = xyes; then
72647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72649    { (exit 1); exit 1; }; }
72650 fi
72651 cat >conftest.$ac_ext <<_ACEOF
72652 /* confdefs.h.  */
72653 _ACEOF
72654 cat confdefs.h >>conftest.$ac_ext
72655 cat >>conftest.$ac_ext <<_ACEOF
72656 /* end confdefs.h.  */
72657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72659 #define $ac_func innocuous_$ac_func
72660
72661 /* System header to define __stub macros and hopefully few prototypes,
72662     which can conflict with char $ac_func (); below.
72663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72664     <limits.h> exists even on freestanding compilers.  */
72665
72666 #ifdef __STDC__
72667 # include <limits.h>
72668 #else
72669 # include <assert.h>
72670 #endif
72671
72672 #undef $ac_func
72673
72674 /* Override any gcc2 internal prototype to avoid an error.  */
72675 #ifdef __cplusplus
72676 extern "C"
72677 {
72678 #endif
72679 /* We use char because int might match the return type of a gcc2
72680    builtin and then its argument prototype would still apply.  */
72681 char $ac_func ();
72682 /* The GNU C library defines this for functions which it implements
72683     to always fail with ENOSYS.  Some functions are actually named
72684     something starting with __ and the normal name is an alias.  */
72685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72686 choke me
72687 #else
72688 char (*f) () = $ac_func;
72689 #endif
72690 #ifdef __cplusplus
72691 }
72692 #endif
72693
72694 int
72695 main ()
72696 {
72697 return f != $ac_func;
72698   ;
72699   return 0;
72700 }
72701 _ACEOF
72702 rm -f conftest.$ac_objext conftest$ac_exeext
72703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72704   (eval $ac_link) 2>conftest.er1
72705   ac_status=$?
72706   grep -v '^ *+' conftest.er1 >conftest.err
72707   rm -f conftest.er1
72708   cat conftest.err >&5
72709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72710   (exit $ac_status); } &&
72711          { ac_try='test -z "$ac_c_werror_flag"
72712                          || test ! -s conftest.err'
72713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72714   (eval $ac_try) 2>&5
72715   ac_status=$?
72716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717   (exit $ac_status); }; } &&
72718          { ac_try='test -s conftest$ac_exeext'
72719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72720   (eval $ac_try) 2>&5
72721   ac_status=$?
72722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723   (exit $ac_status); }; }; then
72724   eval "$as_ac_var=yes"
72725 else
72726   echo "$as_me: failed program was:" >&5
72727 sed 's/^/| /' conftest.$ac_ext >&5
72728
72729 eval "$as_ac_var=no"
72730 fi
72731 rm -f conftest.err conftest.$ac_objext \
72732       conftest$ac_exeext conftest.$ac_ext
72733 fi
72734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72736 if test `eval echo '${'$as_ac_var'}'` = yes; then
72737   cat >>confdefs.h <<_ACEOF
72738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72739 _ACEOF
72740
72741 fi
72742 done
72743
72744     fi
72745   fi
72746
72747
72748
72749
72750
72751
72752   echo "$as_me:$LINENO: checking for modff declaration" >&5
72753 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72754   if test x${glibcxx_cv_func_modff_use+set} != xset; then
72755     if test "${glibcxx_cv_func_modff_use+set}" = set; then
72756   echo $ECHO_N "(cached) $ECHO_C" >&6
72757 else
72758
72759
72760
72761       ac_ext=cc
72762 ac_cpp='$CXXCPP $CPPFLAGS'
72763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72766
72767       cat >conftest.$ac_ext <<_ACEOF
72768 /* confdefs.h.  */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h.  */
72773 #include <math.h>
72774 int
72775 main ()
72776 {
72777  modff(0, 0);
72778   ;
72779   return 0;
72780 }
72781 _ACEOF
72782 rm -f conftest.$ac_objext
72783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72784   (eval $ac_compile) 2>conftest.er1
72785   ac_status=$?
72786   grep -v '^ *+' conftest.er1 >conftest.err
72787   rm -f conftest.er1
72788   cat conftest.err >&5
72789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72790   (exit $ac_status); } &&
72791          { ac_try='test -z "$ac_cxx_werror_flag"
72792                          || test ! -s conftest.err'
72793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72794   (eval $ac_try) 2>&5
72795   ac_status=$?
72796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72797   (exit $ac_status); }; } &&
72798          { ac_try='test -s conftest.$ac_objext'
72799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72800   (eval $ac_try) 2>&5
72801   ac_status=$?
72802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72803   (exit $ac_status); }; }; then
72804   glibcxx_cv_func_modff_use=yes
72805 else
72806   echo "$as_me: failed program was:" >&5
72807 sed 's/^/| /' conftest.$ac_ext >&5
72808
72809 glibcxx_cv_func_modff_use=no
72810 fi
72811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72812       ac_ext=c
72813 ac_cpp='$CPP $CPPFLAGS'
72814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72817
72818
72819 fi
72820
72821   fi
72822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72823 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72824
72825   if test x$glibcxx_cv_func_modff_use = x"yes"; then
72826
72827 for ac_func in modff
72828 do
72829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72830 echo "$as_me:$LINENO: checking for $ac_func" >&5
72831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72832 if eval "test \"\${$as_ac_var+set}\" = set"; then
72833   echo $ECHO_N "(cached) $ECHO_C" >&6
72834 else
72835   if test x$gcc_no_link = xyes; then
72836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72838    { (exit 1); exit 1; }; }
72839 fi
72840 cat >conftest.$ac_ext <<_ACEOF
72841 /* confdefs.h.  */
72842 _ACEOF
72843 cat confdefs.h >>conftest.$ac_ext
72844 cat >>conftest.$ac_ext <<_ACEOF
72845 /* end confdefs.h.  */
72846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72848 #define $ac_func innocuous_$ac_func
72849
72850 /* System header to define __stub macros and hopefully few prototypes,
72851     which can conflict with char $ac_func (); below.
72852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72853     <limits.h> exists even on freestanding compilers.  */
72854
72855 #ifdef __STDC__
72856 # include <limits.h>
72857 #else
72858 # include <assert.h>
72859 #endif
72860
72861 #undef $ac_func
72862
72863 /* Override any gcc2 internal prototype to avoid an error.  */
72864 #ifdef __cplusplus
72865 extern "C"
72866 {
72867 #endif
72868 /* We use char because int might match the return type of a gcc2
72869    builtin and then its argument prototype would still apply.  */
72870 char $ac_func ();
72871 /* The GNU C library defines this for functions which it implements
72872     to always fail with ENOSYS.  Some functions are actually named
72873     something starting with __ and the normal name is an alias.  */
72874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72875 choke me
72876 #else
72877 char (*f) () = $ac_func;
72878 #endif
72879 #ifdef __cplusplus
72880 }
72881 #endif
72882
72883 int
72884 main ()
72885 {
72886 return f != $ac_func;
72887   ;
72888   return 0;
72889 }
72890 _ACEOF
72891 rm -f conftest.$ac_objext conftest$ac_exeext
72892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72893   (eval $ac_link) 2>conftest.er1
72894   ac_status=$?
72895   grep -v '^ *+' conftest.er1 >conftest.err
72896   rm -f conftest.er1
72897   cat conftest.err >&5
72898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72899   (exit $ac_status); } &&
72900          { ac_try='test -z "$ac_c_werror_flag"
72901                          || test ! -s conftest.err'
72902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72903   (eval $ac_try) 2>&5
72904   ac_status=$?
72905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72906   (exit $ac_status); }; } &&
72907          { ac_try='test -s conftest$ac_exeext'
72908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72909   (eval $ac_try) 2>&5
72910   ac_status=$?
72911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72912   (exit $ac_status); }; }; then
72913   eval "$as_ac_var=yes"
72914 else
72915   echo "$as_me: failed program was:" >&5
72916 sed 's/^/| /' conftest.$ac_ext >&5
72917
72918 eval "$as_ac_var=no"
72919 fi
72920 rm -f conftest.err conftest.$ac_objext \
72921       conftest$ac_exeext conftest.$ac_ext
72922 fi
72923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72925 if test `eval echo '${'$as_ac_var'}'` = yes; then
72926   cat >>confdefs.h <<_ACEOF
72927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72928 _ACEOF
72929
72930 fi
72931 done
72932
72933   else
72934
72935   echo "$as_me:$LINENO: checking for _modff declaration" >&5
72936 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72937   if test x${glibcxx_cv_func__modff_use+set} != xset; then
72938     if test "${glibcxx_cv_func__modff_use+set}" = set; then
72939   echo $ECHO_N "(cached) $ECHO_C" >&6
72940 else
72941
72942
72943
72944       ac_ext=cc
72945 ac_cpp='$CXXCPP $CPPFLAGS'
72946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72949
72950       cat >conftest.$ac_ext <<_ACEOF
72951 /* confdefs.h.  */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h.  */
72956 #include <math.h>
72957 int
72958 main ()
72959 {
72960  _modff(0, 0);
72961   ;
72962   return 0;
72963 }
72964 _ACEOF
72965 rm -f conftest.$ac_objext
72966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72967   (eval $ac_compile) 2>conftest.er1
72968   ac_status=$?
72969   grep -v '^ *+' conftest.er1 >conftest.err
72970   rm -f conftest.er1
72971   cat conftest.err >&5
72972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72973   (exit $ac_status); } &&
72974          { ac_try='test -z "$ac_cxx_werror_flag"
72975                          || test ! -s conftest.err'
72976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72977   (eval $ac_try) 2>&5
72978   ac_status=$?
72979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72980   (exit $ac_status); }; } &&
72981          { ac_try='test -s conftest.$ac_objext'
72982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72983   (eval $ac_try) 2>&5
72984   ac_status=$?
72985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72986   (exit $ac_status); }; }; then
72987   glibcxx_cv_func__modff_use=yes
72988 else
72989   echo "$as_me: failed program was:" >&5
72990 sed 's/^/| /' conftest.$ac_ext >&5
72991
72992 glibcxx_cv_func__modff_use=no
72993 fi
72994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72995       ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73000
73001
73002 fi
73003
73004   fi
73005   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73006 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73007
73008     if test x$glibcxx_cv_func__modff_use = x"yes"; then
73009
73010 for ac_func in _modff
73011 do
73012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73013 echo "$as_me:$LINENO: checking for $ac_func" >&5
73014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73015 if eval "test \"\${$as_ac_var+set}\" = set"; then
73016   echo $ECHO_N "(cached) $ECHO_C" >&6
73017 else
73018   if test x$gcc_no_link = xyes; then
73019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73021    { (exit 1); exit 1; }; }
73022 fi
73023 cat >conftest.$ac_ext <<_ACEOF
73024 /* confdefs.h.  */
73025 _ACEOF
73026 cat confdefs.h >>conftest.$ac_ext
73027 cat >>conftest.$ac_ext <<_ACEOF
73028 /* end confdefs.h.  */
73029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73031 #define $ac_func innocuous_$ac_func
73032
73033 /* System header to define __stub macros and hopefully few prototypes,
73034     which can conflict with char $ac_func (); below.
73035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73036     <limits.h> exists even on freestanding compilers.  */
73037
73038 #ifdef __STDC__
73039 # include <limits.h>
73040 #else
73041 # include <assert.h>
73042 #endif
73043
73044 #undef $ac_func
73045
73046 /* Override any gcc2 internal prototype to avoid an error.  */
73047 #ifdef __cplusplus
73048 extern "C"
73049 {
73050 #endif
73051 /* We use char because int might match the return type of a gcc2
73052    builtin and then its argument prototype would still apply.  */
73053 char $ac_func ();
73054 /* The GNU C library defines this for functions which it implements
73055     to always fail with ENOSYS.  Some functions are actually named
73056     something starting with __ and the normal name is an alias.  */
73057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73058 choke me
73059 #else
73060 char (*f) () = $ac_func;
73061 #endif
73062 #ifdef __cplusplus
73063 }
73064 #endif
73065
73066 int
73067 main ()
73068 {
73069 return f != $ac_func;
73070   ;
73071   return 0;
73072 }
73073 _ACEOF
73074 rm -f conftest.$ac_objext conftest$ac_exeext
73075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73076   (eval $ac_link) 2>conftest.er1
73077   ac_status=$?
73078   grep -v '^ *+' conftest.er1 >conftest.err
73079   rm -f conftest.er1
73080   cat conftest.err >&5
73081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73082   (exit $ac_status); } &&
73083          { ac_try='test -z "$ac_c_werror_flag"
73084                          || test ! -s conftest.err'
73085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73086   (eval $ac_try) 2>&5
73087   ac_status=$?
73088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73089   (exit $ac_status); }; } &&
73090          { ac_try='test -s conftest$ac_exeext'
73091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73092   (eval $ac_try) 2>&5
73093   ac_status=$?
73094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73095   (exit $ac_status); }; }; then
73096   eval "$as_ac_var=yes"
73097 else
73098   echo "$as_me: failed program was:" >&5
73099 sed 's/^/| /' conftest.$ac_ext >&5
73100
73101 eval "$as_ac_var=no"
73102 fi
73103 rm -f conftest.err conftest.$ac_objext \
73104       conftest$ac_exeext conftest.$ac_ext
73105 fi
73106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73108 if test `eval echo '${'$as_ac_var'}'` = yes; then
73109   cat >>confdefs.h <<_ACEOF
73110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73111 _ACEOF
73112
73113 fi
73114 done
73115
73116     fi
73117   fi
73118
73119
73120
73121
73122
73123
73124   echo "$as_me:$LINENO: checking for modf declaration" >&5
73125 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73126   if test x${glibcxx_cv_func_modf_use+set} != xset; then
73127     if test "${glibcxx_cv_func_modf_use+set}" = set; then
73128   echo $ECHO_N "(cached) $ECHO_C" >&6
73129 else
73130
73131
73132
73133       ac_ext=cc
73134 ac_cpp='$CXXCPP $CPPFLAGS'
73135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73138
73139       cat >conftest.$ac_ext <<_ACEOF
73140 /* confdefs.h.  */
73141 _ACEOF
73142 cat confdefs.h >>conftest.$ac_ext
73143 cat >>conftest.$ac_ext <<_ACEOF
73144 /* end confdefs.h.  */
73145 #include <math.h>
73146 int
73147 main ()
73148 {
73149  modf(0, 0);
73150   ;
73151   return 0;
73152 }
73153 _ACEOF
73154 rm -f conftest.$ac_objext
73155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73156   (eval $ac_compile) 2>conftest.er1
73157   ac_status=$?
73158   grep -v '^ *+' conftest.er1 >conftest.err
73159   rm -f conftest.er1
73160   cat conftest.err >&5
73161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162   (exit $ac_status); } &&
73163          { ac_try='test -z "$ac_cxx_werror_flag"
73164                          || test ! -s conftest.err'
73165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73166   (eval $ac_try) 2>&5
73167   ac_status=$?
73168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73169   (exit $ac_status); }; } &&
73170          { ac_try='test -s conftest.$ac_objext'
73171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73172   (eval $ac_try) 2>&5
73173   ac_status=$?
73174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73175   (exit $ac_status); }; }; then
73176   glibcxx_cv_func_modf_use=yes
73177 else
73178   echo "$as_me: failed program was:" >&5
73179 sed 's/^/| /' conftest.$ac_ext >&5
73180
73181 glibcxx_cv_func_modf_use=no
73182 fi
73183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73184       ac_ext=c
73185 ac_cpp='$CPP $CPPFLAGS'
73186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73189
73190
73191 fi
73192
73193   fi
73194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73195 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73196
73197   if test x$glibcxx_cv_func_modf_use = x"yes"; then
73198
73199 for ac_func in modf
73200 do
73201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73202 echo "$as_me:$LINENO: checking for $ac_func" >&5
73203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73204 if eval "test \"\${$as_ac_var+set}\" = set"; then
73205   echo $ECHO_N "(cached) $ECHO_C" >&6
73206 else
73207   if test x$gcc_no_link = xyes; then
73208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73210    { (exit 1); exit 1; }; }
73211 fi
73212 cat >conftest.$ac_ext <<_ACEOF
73213 /* confdefs.h.  */
73214 _ACEOF
73215 cat confdefs.h >>conftest.$ac_ext
73216 cat >>conftest.$ac_ext <<_ACEOF
73217 /* end confdefs.h.  */
73218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73220 #define $ac_func innocuous_$ac_func
73221
73222 /* System header to define __stub macros and hopefully few prototypes,
73223     which can conflict with char $ac_func (); below.
73224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73225     <limits.h> exists even on freestanding compilers.  */
73226
73227 #ifdef __STDC__
73228 # include <limits.h>
73229 #else
73230 # include <assert.h>
73231 #endif
73232
73233 #undef $ac_func
73234
73235 /* Override any gcc2 internal prototype to avoid an error.  */
73236 #ifdef __cplusplus
73237 extern "C"
73238 {
73239 #endif
73240 /* We use char because int might match the return type of a gcc2
73241    builtin and then its argument prototype would still apply.  */
73242 char $ac_func ();
73243 /* The GNU C library defines this for functions which it implements
73244     to always fail with ENOSYS.  Some functions are actually named
73245     something starting with __ and the normal name is an alias.  */
73246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73247 choke me
73248 #else
73249 char (*f) () = $ac_func;
73250 #endif
73251 #ifdef __cplusplus
73252 }
73253 #endif
73254
73255 int
73256 main ()
73257 {
73258 return f != $ac_func;
73259   ;
73260   return 0;
73261 }
73262 _ACEOF
73263 rm -f conftest.$ac_objext conftest$ac_exeext
73264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73265   (eval $ac_link) 2>conftest.er1
73266   ac_status=$?
73267   grep -v '^ *+' conftest.er1 >conftest.err
73268   rm -f conftest.er1
73269   cat conftest.err >&5
73270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73271   (exit $ac_status); } &&
73272          { ac_try='test -z "$ac_c_werror_flag"
73273                          || test ! -s conftest.err'
73274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73275   (eval $ac_try) 2>&5
73276   ac_status=$?
73277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73278   (exit $ac_status); }; } &&
73279          { ac_try='test -s conftest$ac_exeext'
73280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73281   (eval $ac_try) 2>&5
73282   ac_status=$?
73283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73284   (exit $ac_status); }; }; then
73285   eval "$as_ac_var=yes"
73286 else
73287   echo "$as_me: failed program was:" >&5
73288 sed 's/^/| /' conftest.$ac_ext >&5
73289
73290 eval "$as_ac_var=no"
73291 fi
73292 rm -f conftest.err conftest.$ac_objext \
73293       conftest$ac_exeext conftest.$ac_ext
73294 fi
73295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73297 if test `eval echo '${'$as_ac_var'}'` = yes; then
73298   cat >>confdefs.h <<_ACEOF
73299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73300 _ACEOF
73301
73302 fi
73303 done
73304
73305   else
73306
73307   echo "$as_me:$LINENO: checking for _modf declaration" >&5
73308 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73309   if test x${glibcxx_cv_func__modf_use+set} != xset; then
73310     if test "${glibcxx_cv_func__modf_use+set}" = set; then
73311   echo $ECHO_N "(cached) $ECHO_C" >&6
73312 else
73313
73314
73315
73316       ac_ext=cc
73317 ac_cpp='$CXXCPP $CPPFLAGS'
73318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73321
73322       cat >conftest.$ac_ext <<_ACEOF
73323 /* confdefs.h.  */
73324 _ACEOF
73325 cat confdefs.h >>conftest.$ac_ext
73326 cat >>conftest.$ac_ext <<_ACEOF
73327 /* end confdefs.h.  */
73328 #include <math.h>
73329 int
73330 main ()
73331 {
73332  _modf(0, 0);
73333   ;
73334   return 0;
73335 }
73336 _ACEOF
73337 rm -f conftest.$ac_objext
73338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73339   (eval $ac_compile) 2>conftest.er1
73340   ac_status=$?
73341   grep -v '^ *+' conftest.er1 >conftest.err
73342   rm -f conftest.er1
73343   cat conftest.err >&5
73344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73345   (exit $ac_status); } &&
73346          { ac_try='test -z "$ac_cxx_werror_flag"
73347                          || test ! -s conftest.err'
73348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73349   (eval $ac_try) 2>&5
73350   ac_status=$?
73351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352   (exit $ac_status); }; } &&
73353          { ac_try='test -s conftest.$ac_objext'
73354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73355   (eval $ac_try) 2>&5
73356   ac_status=$?
73357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73358   (exit $ac_status); }; }; then
73359   glibcxx_cv_func__modf_use=yes
73360 else
73361   echo "$as_me: failed program was:" >&5
73362 sed 's/^/| /' conftest.$ac_ext >&5
73363
73364 glibcxx_cv_func__modf_use=no
73365 fi
73366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73367       ac_ext=c
73368 ac_cpp='$CPP $CPPFLAGS'
73369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73372
73373
73374 fi
73375
73376   fi
73377   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73378 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73379
73380     if test x$glibcxx_cv_func__modf_use = x"yes"; then
73381
73382 for ac_func in _modf
73383 do
73384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73385 echo "$as_me:$LINENO: checking for $ac_func" >&5
73386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73387 if eval "test \"\${$as_ac_var+set}\" = set"; then
73388   echo $ECHO_N "(cached) $ECHO_C" >&6
73389 else
73390   if test x$gcc_no_link = xyes; then
73391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73393    { (exit 1); exit 1; }; }
73394 fi
73395 cat >conftest.$ac_ext <<_ACEOF
73396 /* confdefs.h.  */
73397 _ACEOF
73398 cat confdefs.h >>conftest.$ac_ext
73399 cat >>conftest.$ac_ext <<_ACEOF
73400 /* end confdefs.h.  */
73401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73403 #define $ac_func innocuous_$ac_func
73404
73405 /* System header to define __stub macros and hopefully few prototypes,
73406     which can conflict with char $ac_func (); below.
73407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73408     <limits.h> exists even on freestanding compilers.  */
73409
73410 #ifdef __STDC__
73411 # include <limits.h>
73412 #else
73413 # include <assert.h>
73414 #endif
73415
73416 #undef $ac_func
73417
73418 /* Override any gcc2 internal prototype to avoid an error.  */
73419 #ifdef __cplusplus
73420 extern "C"
73421 {
73422 #endif
73423 /* We use char because int might match the return type of a gcc2
73424    builtin and then its argument prototype would still apply.  */
73425 char $ac_func ();
73426 /* The GNU C library defines this for functions which it implements
73427     to always fail with ENOSYS.  Some functions are actually named
73428     something starting with __ and the normal name is an alias.  */
73429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73430 choke me
73431 #else
73432 char (*f) () = $ac_func;
73433 #endif
73434 #ifdef __cplusplus
73435 }
73436 #endif
73437
73438 int
73439 main ()
73440 {
73441 return f != $ac_func;
73442   ;
73443   return 0;
73444 }
73445 _ACEOF
73446 rm -f conftest.$ac_objext conftest$ac_exeext
73447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73448   (eval $ac_link) 2>conftest.er1
73449   ac_status=$?
73450   grep -v '^ *+' conftest.er1 >conftest.err
73451   rm -f conftest.er1
73452   cat conftest.err >&5
73453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73454   (exit $ac_status); } &&
73455          { ac_try='test -z "$ac_c_werror_flag"
73456                          || test ! -s conftest.err'
73457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73458   (eval $ac_try) 2>&5
73459   ac_status=$?
73460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461   (exit $ac_status); }; } &&
73462          { ac_try='test -s conftest$ac_exeext'
73463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73464   (eval $ac_try) 2>&5
73465   ac_status=$?
73466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73467   (exit $ac_status); }; }; then
73468   eval "$as_ac_var=yes"
73469 else
73470   echo "$as_me: failed program was:" >&5
73471 sed 's/^/| /' conftest.$ac_ext >&5
73472
73473 eval "$as_ac_var=no"
73474 fi
73475 rm -f conftest.err conftest.$ac_objext \
73476       conftest$ac_exeext conftest.$ac_ext
73477 fi
73478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73480 if test `eval echo '${'$as_ac_var'}'` = yes; then
73481   cat >>confdefs.h <<_ACEOF
73482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73483 _ACEOF
73484
73485 fi
73486 done
73487
73488     fi
73489   fi
73490
73491
73492
73493
73494
73495
73496   echo "$as_me:$LINENO: checking for powf declaration" >&5
73497 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
73498   if test x${glibcxx_cv_func_powf_use+set} != xset; then
73499     if test "${glibcxx_cv_func_powf_use+set}" = set; then
73500   echo $ECHO_N "(cached) $ECHO_C" >&6
73501 else
73502
73503
73504
73505       ac_ext=cc
73506 ac_cpp='$CXXCPP $CPPFLAGS'
73507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73510
73511       cat >conftest.$ac_ext <<_ACEOF
73512 /* confdefs.h.  */
73513 _ACEOF
73514 cat confdefs.h >>conftest.$ac_ext
73515 cat >>conftest.$ac_ext <<_ACEOF
73516 /* end confdefs.h.  */
73517 #include <math.h>
73518 int
73519 main ()
73520 {
73521  powf(0, 0);
73522   ;
73523   return 0;
73524 }
73525 _ACEOF
73526 rm -f conftest.$ac_objext
73527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73528   (eval $ac_compile) 2>conftest.er1
73529   ac_status=$?
73530   grep -v '^ *+' conftest.er1 >conftest.err
73531   rm -f conftest.er1
73532   cat conftest.err >&5
73533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73534   (exit $ac_status); } &&
73535          { ac_try='test -z "$ac_cxx_werror_flag"
73536                          || test ! -s conftest.err'
73537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73538   (eval $ac_try) 2>&5
73539   ac_status=$?
73540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541   (exit $ac_status); }; } &&
73542          { ac_try='test -s conftest.$ac_objext'
73543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73544   (eval $ac_try) 2>&5
73545   ac_status=$?
73546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73547   (exit $ac_status); }; }; then
73548   glibcxx_cv_func_powf_use=yes
73549 else
73550   echo "$as_me: failed program was:" >&5
73551 sed 's/^/| /' conftest.$ac_ext >&5
73552
73553 glibcxx_cv_func_powf_use=no
73554 fi
73555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73556       ac_ext=c
73557 ac_cpp='$CPP $CPPFLAGS'
73558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73561
73562
73563 fi
73564
73565   fi
73566   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73567 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73568
73569   if test x$glibcxx_cv_func_powf_use = x"yes"; then
73570
73571 for ac_func in powf
73572 do
73573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73574 echo "$as_me:$LINENO: checking for $ac_func" >&5
73575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73576 if eval "test \"\${$as_ac_var+set}\" = set"; then
73577   echo $ECHO_N "(cached) $ECHO_C" >&6
73578 else
73579   if test x$gcc_no_link = xyes; then
73580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73582    { (exit 1); exit 1; }; }
73583 fi
73584 cat >conftest.$ac_ext <<_ACEOF
73585 /* confdefs.h.  */
73586 _ACEOF
73587 cat confdefs.h >>conftest.$ac_ext
73588 cat >>conftest.$ac_ext <<_ACEOF
73589 /* end confdefs.h.  */
73590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73592 #define $ac_func innocuous_$ac_func
73593
73594 /* System header to define __stub macros and hopefully few prototypes,
73595     which can conflict with char $ac_func (); below.
73596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73597     <limits.h> exists even on freestanding compilers.  */
73598
73599 #ifdef __STDC__
73600 # include <limits.h>
73601 #else
73602 # include <assert.h>
73603 #endif
73604
73605 #undef $ac_func
73606
73607 /* Override any gcc2 internal prototype to avoid an error.  */
73608 #ifdef __cplusplus
73609 extern "C"
73610 {
73611 #endif
73612 /* We use char because int might match the return type of a gcc2
73613    builtin and then its argument prototype would still apply.  */
73614 char $ac_func ();
73615 /* The GNU C library defines this for functions which it implements
73616     to always fail with ENOSYS.  Some functions are actually named
73617     something starting with __ and the normal name is an alias.  */
73618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73619 choke me
73620 #else
73621 char (*f) () = $ac_func;
73622 #endif
73623 #ifdef __cplusplus
73624 }
73625 #endif
73626
73627 int
73628 main ()
73629 {
73630 return f != $ac_func;
73631   ;
73632   return 0;
73633 }
73634 _ACEOF
73635 rm -f conftest.$ac_objext conftest$ac_exeext
73636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73637   (eval $ac_link) 2>conftest.er1
73638   ac_status=$?
73639   grep -v '^ *+' conftest.er1 >conftest.err
73640   rm -f conftest.er1
73641   cat conftest.err >&5
73642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73643   (exit $ac_status); } &&
73644          { ac_try='test -z "$ac_c_werror_flag"
73645                          || test ! -s conftest.err'
73646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73647   (eval $ac_try) 2>&5
73648   ac_status=$?
73649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73650   (exit $ac_status); }; } &&
73651          { ac_try='test -s conftest$ac_exeext'
73652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73653   (eval $ac_try) 2>&5
73654   ac_status=$?
73655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73656   (exit $ac_status); }; }; then
73657   eval "$as_ac_var=yes"
73658 else
73659   echo "$as_me: failed program was:" >&5
73660 sed 's/^/| /' conftest.$ac_ext >&5
73661
73662 eval "$as_ac_var=no"
73663 fi
73664 rm -f conftest.err conftest.$ac_objext \
73665       conftest$ac_exeext conftest.$ac_ext
73666 fi
73667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73669 if test `eval echo '${'$as_ac_var'}'` = yes; then
73670   cat >>confdefs.h <<_ACEOF
73671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73672 _ACEOF
73673
73674 fi
73675 done
73676
73677   else
73678
73679   echo "$as_me:$LINENO: checking for _powf declaration" >&5
73680 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73681   if test x${glibcxx_cv_func__powf_use+set} != xset; then
73682     if test "${glibcxx_cv_func__powf_use+set}" = set; then
73683   echo $ECHO_N "(cached) $ECHO_C" >&6
73684 else
73685
73686
73687
73688       ac_ext=cc
73689 ac_cpp='$CXXCPP $CPPFLAGS'
73690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73693
73694       cat >conftest.$ac_ext <<_ACEOF
73695 /* confdefs.h.  */
73696 _ACEOF
73697 cat confdefs.h >>conftest.$ac_ext
73698 cat >>conftest.$ac_ext <<_ACEOF
73699 /* end confdefs.h.  */
73700 #include <math.h>
73701 int
73702 main ()
73703 {
73704  _powf(0, 0);
73705   ;
73706   return 0;
73707 }
73708 _ACEOF
73709 rm -f conftest.$ac_objext
73710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73711   (eval $ac_compile) 2>conftest.er1
73712   ac_status=$?
73713   grep -v '^ *+' conftest.er1 >conftest.err
73714   rm -f conftest.er1
73715   cat conftest.err >&5
73716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73717   (exit $ac_status); } &&
73718          { ac_try='test -z "$ac_cxx_werror_flag"
73719                          || test ! -s conftest.err'
73720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73721   (eval $ac_try) 2>&5
73722   ac_status=$?
73723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724   (exit $ac_status); }; } &&
73725          { ac_try='test -s conftest.$ac_objext'
73726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73727   (eval $ac_try) 2>&5
73728   ac_status=$?
73729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73730   (exit $ac_status); }; }; then
73731   glibcxx_cv_func__powf_use=yes
73732 else
73733   echo "$as_me: failed program was:" >&5
73734 sed 's/^/| /' conftest.$ac_ext >&5
73735
73736 glibcxx_cv_func__powf_use=no
73737 fi
73738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73739       ac_ext=c
73740 ac_cpp='$CPP $CPPFLAGS'
73741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73744
73745
73746 fi
73747
73748   fi
73749   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73750 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73751
73752     if test x$glibcxx_cv_func__powf_use = x"yes"; then
73753
73754 for ac_func in _powf
73755 do
73756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73757 echo "$as_me:$LINENO: checking for $ac_func" >&5
73758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73759 if eval "test \"\${$as_ac_var+set}\" = set"; then
73760   echo $ECHO_N "(cached) $ECHO_C" >&6
73761 else
73762   if test x$gcc_no_link = xyes; then
73763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73765    { (exit 1); exit 1; }; }
73766 fi
73767 cat >conftest.$ac_ext <<_ACEOF
73768 /* confdefs.h.  */
73769 _ACEOF
73770 cat confdefs.h >>conftest.$ac_ext
73771 cat >>conftest.$ac_ext <<_ACEOF
73772 /* end confdefs.h.  */
73773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73775 #define $ac_func innocuous_$ac_func
73776
73777 /* System header to define __stub macros and hopefully few prototypes,
73778     which can conflict with char $ac_func (); below.
73779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73780     <limits.h> exists even on freestanding compilers.  */
73781
73782 #ifdef __STDC__
73783 # include <limits.h>
73784 #else
73785 # include <assert.h>
73786 #endif
73787
73788 #undef $ac_func
73789
73790 /* Override any gcc2 internal prototype to avoid an error.  */
73791 #ifdef __cplusplus
73792 extern "C"
73793 {
73794 #endif
73795 /* We use char because int might match the return type of a gcc2
73796    builtin and then its argument prototype would still apply.  */
73797 char $ac_func ();
73798 /* The GNU C library defines this for functions which it implements
73799     to always fail with ENOSYS.  Some functions are actually named
73800     something starting with __ and the normal name is an alias.  */
73801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73802 choke me
73803 #else
73804 char (*f) () = $ac_func;
73805 #endif
73806 #ifdef __cplusplus
73807 }
73808 #endif
73809
73810 int
73811 main ()
73812 {
73813 return f != $ac_func;
73814   ;
73815   return 0;
73816 }
73817 _ACEOF
73818 rm -f conftest.$ac_objext conftest$ac_exeext
73819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73820   (eval $ac_link) 2>conftest.er1
73821   ac_status=$?
73822   grep -v '^ *+' conftest.er1 >conftest.err
73823   rm -f conftest.er1
73824   cat conftest.err >&5
73825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826   (exit $ac_status); } &&
73827          { ac_try='test -z "$ac_c_werror_flag"
73828                          || test ! -s conftest.err'
73829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73830   (eval $ac_try) 2>&5
73831   ac_status=$?
73832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73833   (exit $ac_status); }; } &&
73834          { ac_try='test -s conftest$ac_exeext'
73835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73836   (eval $ac_try) 2>&5
73837   ac_status=$?
73838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73839   (exit $ac_status); }; }; then
73840   eval "$as_ac_var=yes"
73841 else
73842   echo "$as_me: failed program was:" >&5
73843 sed 's/^/| /' conftest.$ac_ext >&5
73844
73845 eval "$as_ac_var=no"
73846 fi
73847 rm -f conftest.err conftest.$ac_objext \
73848       conftest$ac_exeext conftest.$ac_ext
73849 fi
73850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73852 if test `eval echo '${'$as_ac_var'}'` = yes; then
73853   cat >>confdefs.h <<_ACEOF
73854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73855 _ACEOF
73856
73857 fi
73858 done
73859
73860     fi
73861   fi
73862
73863
73864
73865
73866
73867
73868   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73869 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73870   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73871     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73872   echo $ECHO_N "(cached) $ECHO_C" >&6
73873 else
73874
73875
73876
73877       ac_ext=cc
73878 ac_cpp='$CXXCPP $CPPFLAGS'
73879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73882
73883       cat >conftest.$ac_ext <<_ACEOF
73884 /* confdefs.h.  */
73885 _ACEOF
73886 cat confdefs.h >>conftest.$ac_ext
73887 cat >>conftest.$ac_ext <<_ACEOF
73888 /* end confdefs.h.  */
73889 #include <math.h>
73890                       #ifdef HAVE_IEEEFP_H
73891                       #include <ieeefp.h>
73892                       #endif
73893
73894 int
73895 main ()
73896 {
73897  sqrtf(0);
73898   ;
73899   return 0;
73900 }
73901 _ACEOF
73902 rm -f conftest.$ac_objext
73903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73904   (eval $ac_compile) 2>conftest.er1
73905   ac_status=$?
73906   grep -v '^ *+' conftest.er1 >conftest.err
73907   rm -f conftest.er1
73908   cat conftest.err >&5
73909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73910   (exit $ac_status); } &&
73911          { ac_try='test -z "$ac_cxx_werror_flag"
73912                          || test ! -s conftest.err'
73913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73914   (eval $ac_try) 2>&5
73915   ac_status=$?
73916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73917   (exit $ac_status); }; } &&
73918          { ac_try='test -s conftest.$ac_objext'
73919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73920   (eval $ac_try) 2>&5
73921   ac_status=$?
73922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73923   (exit $ac_status); }; }; then
73924   glibcxx_cv_func_sqrtf_use=yes
73925 else
73926   echo "$as_me: failed program was:" >&5
73927 sed 's/^/| /' conftest.$ac_ext >&5
73928
73929 glibcxx_cv_func_sqrtf_use=no
73930 fi
73931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73932       ac_ext=c
73933 ac_cpp='$CPP $CPPFLAGS'
73934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73937
73938
73939 fi
73940
73941   fi
73942   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73943 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73944
73945   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73946
73947 for ac_func in sqrtf
73948 do
73949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73950 echo "$as_me:$LINENO: checking for $ac_func" >&5
73951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73952 if eval "test \"\${$as_ac_var+set}\" = set"; then
73953   echo $ECHO_N "(cached) $ECHO_C" >&6
73954 else
73955   if test x$gcc_no_link = xyes; then
73956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73958    { (exit 1); exit 1; }; }
73959 fi
73960 cat >conftest.$ac_ext <<_ACEOF
73961 /* confdefs.h.  */
73962 _ACEOF
73963 cat confdefs.h >>conftest.$ac_ext
73964 cat >>conftest.$ac_ext <<_ACEOF
73965 /* end confdefs.h.  */
73966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73968 #define $ac_func innocuous_$ac_func
73969
73970 /* System header to define __stub macros and hopefully few prototypes,
73971     which can conflict with char $ac_func (); below.
73972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73973     <limits.h> exists even on freestanding compilers.  */
73974
73975 #ifdef __STDC__
73976 # include <limits.h>
73977 #else
73978 # include <assert.h>
73979 #endif
73980
73981 #undef $ac_func
73982
73983 /* Override any gcc2 internal prototype to avoid an error.  */
73984 #ifdef __cplusplus
73985 extern "C"
73986 {
73987 #endif
73988 /* We use char because int might match the return type of a gcc2
73989    builtin and then its argument prototype would still apply.  */
73990 char $ac_func ();
73991 /* The GNU C library defines this for functions which it implements
73992     to always fail with ENOSYS.  Some functions are actually named
73993     something starting with __ and the normal name is an alias.  */
73994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73995 choke me
73996 #else
73997 char (*f) () = $ac_func;
73998 #endif
73999 #ifdef __cplusplus
74000 }
74001 #endif
74002
74003 int
74004 main ()
74005 {
74006 return f != $ac_func;
74007   ;
74008   return 0;
74009 }
74010 _ACEOF
74011 rm -f conftest.$ac_objext conftest$ac_exeext
74012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74013   (eval $ac_link) 2>conftest.er1
74014   ac_status=$?
74015   grep -v '^ *+' conftest.er1 >conftest.err
74016   rm -f conftest.er1
74017   cat conftest.err >&5
74018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74019   (exit $ac_status); } &&
74020          { ac_try='test -z "$ac_c_werror_flag"
74021                          || test ! -s conftest.err'
74022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74023   (eval $ac_try) 2>&5
74024   ac_status=$?
74025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74026   (exit $ac_status); }; } &&
74027          { ac_try='test -s conftest$ac_exeext'
74028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74029   (eval $ac_try) 2>&5
74030   ac_status=$?
74031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74032   (exit $ac_status); }; }; then
74033   eval "$as_ac_var=yes"
74034 else
74035   echo "$as_me: failed program was:" >&5
74036 sed 's/^/| /' conftest.$ac_ext >&5
74037
74038 eval "$as_ac_var=no"
74039 fi
74040 rm -f conftest.err conftest.$ac_objext \
74041       conftest$ac_exeext conftest.$ac_ext
74042 fi
74043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74045 if test `eval echo '${'$as_ac_var'}'` = yes; then
74046   cat >>confdefs.h <<_ACEOF
74047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74048 _ACEOF
74049
74050 fi
74051 done
74052
74053   else
74054
74055   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74056 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74057   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74058     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74059   echo $ECHO_N "(cached) $ECHO_C" >&6
74060 else
74061
74062
74063
74064       ac_ext=cc
74065 ac_cpp='$CXXCPP $CPPFLAGS'
74066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74069
74070       cat >conftest.$ac_ext <<_ACEOF
74071 /* confdefs.h.  */
74072 _ACEOF
74073 cat confdefs.h >>conftest.$ac_ext
74074 cat >>conftest.$ac_ext <<_ACEOF
74075 /* end confdefs.h.  */
74076 #include <math.h>
74077                       #ifdef HAVE_IEEEFP_H
74078                       #include <ieeefp.h>
74079                       #endif
74080
74081 int
74082 main ()
74083 {
74084  _sqrtf(0);
74085   ;
74086   return 0;
74087 }
74088 _ACEOF
74089 rm -f conftest.$ac_objext
74090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74091   (eval $ac_compile) 2>conftest.er1
74092   ac_status=$?
74093   grep -v '^ *+' conftest.er1 >conftest.err
74094   rm -f conftest.er1
74095   cat conftest.err >&5
74096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74097   (exit $ac_status); } &&
74098          { ac_try='test -z "$ac_cxx_werror_flag"
74099                          || test ! -s conftest.err'
74100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74101   (eval $ac_try) 2>&5
74102   ac_status=$?
74103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74104   (exit $ac_status); }; } &&
74105          { ac_try='test -s conftest.$ac_objext'
74106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74107   (eval $ac_try) 2>&5
74108   ac_status=$?
74109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74110   (exit $ac_status); }; }; then
74111   glibcxx_cv_func__sqrtf_use=yes
74112 else
74113   echo "$as_me: failed program was:" >&5
74114 sed 's/^/| /' conftest.$ac_ext >&5
74115
74116 glibcxx_cv_func__sqrtf_use=no
74117 fi
74118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74119       ac_ext=c
74120 ac_cpp='$CPP $CPPFLAGS'
74121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74124
74125
74126 fi
74127
74128   fi
74129   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74130 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74131
74132     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74133
74134 for ac_func in _sqrtf
74135 do
74136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74137 echo "$as_me:$LINENO: checking for $ac_func" >&5
74138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74139 if eval "test \"\${$as_ac_var+set}\" = set"; then
74140   echo $ECHO_N "(cached) $ECHO_C" >&6
74141 else
74142   if test x$gcc_no_link = xyes; then
74143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74145    { (exit 1); exit 1; }; }
74146 fi
74147 cat >conftest.$ac_ext <<_ACEOF
74148 /* confdefs.h.  */
74149 _ACEOF
74150 cat confdefs.h >>conftest.$ac_ext
74151 cat >>conftest.$ac_ext <<_ACEOF
74152 /* end confdefs.h.  */
74153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74155 #define $ac_func innocuous_$ac_func
74156
74157 /* System header to define __stub macros and hopefully few prototypes,
74158     which can conflict with char $ac_func (); below.
74159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74160     <limits.h> exists even on freestanding compilers.  */
74161
74162 #ifdef __STDC__
74163 # include <limits.h>
74164 #else
74165 # include <assert.h>
74166 #endif
74167
74168 #undef $ac_func
74169
74170 /* Override any gcc2 internal prototype to avoid an error.  */
74171 #ifdef __cplusplus
74172 extern "C"
74173 {
74174 #endif
74175 /* We use char because int might match the return type of a gcc2
74176    builtin and then its argument prototype would still apply.  */
74177 char $ac_func ();
74178 /* The GNU C library defines this for functions which it implements
74179     to always fail with ENOSYS.  Some functions are actually named
74180     something starting with __ and the normal name is an alias.  */
74181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74182 choke me
74183 #else
74184 char (*f) () = $ac_func;
74185 #endif
74186 #ifdef __cplusplus
74187 }
74188 #endif
74189
74190 int
74191 main ()
74192 {
74193 return f != $ac_func;
74194   ;
74195   return 0;
74196 }
74197 _ACEOF
74198 rm -f conftest.$ac_objext conftest$ac_exeext
74199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74200   (eval $ac_link) 2>conftest.er1
74201   ac_status=$?
74202   grep -v '^ *+' conftest.er1 >conftest.err
74203   rm -f conftest.er1
74204   cat conftest.err >&5
74205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74206   (exit $ac_status); } &&
74207          { ac_try='test -z "$ac_c_werror_flag"
74208                          || test ! -s conftest.err'
74209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74210   (eval $ac_try) 2>&5
74211   ac_status=$?
74212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74213   (exit $ac_status); }; } &&
74214          { ac_try='test -s conftest$ac_exeext'
74215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74216   (eval $ac_try) 2>&5
74217   ac_status=$?
74218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74219   (exit $ac_status); }; }; then
74220   eval "$as_ac_var=yes"
74221 else
74222   echo "$as_me: failed program was:" >&5
74223 sed 's/^/| /' conftest.$ac_ext >&5
74224
74225 eval "$as_ac_var=no"
74226 fi
74227 rm -f conftest.err conftest.$ac_objext \
74228       conftest$ac_exeext conftest.$ac_ext
74229 fi
74230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74232 if test `eval echo '${'$as_ac_var'}'` = yes; then
74233   cat >>confdefs.h <<_ACEOF
74234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74235 _ACEOF
74236
74237 fi
74238 done
74239
74240     fi
74241   fi
74242
74243
74244
74245
74246
74247
74248   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74249 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74250   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74251     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74252   echo $ECHO_N "(cached) $ECHO_C" >&6
74253 else
74254
74255
74256
74257       ac_ext=cc
74258 ac_cpp='$CXXCPP $CPPFLAGS'
74259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74262
74263       cat >conftest.$ac_ext <<_ACEOF
74264 /* confdefs.h.  */
74265 _ACEOF
74266 cat confdefs.h >>conftest.$ac_ext
74267 cat >>conftest.$ac_ext <<_ACEOF
74268 /* end confdefs.h.  */
74269 #include <math.h>
74270 int
74271 main ()
74272 {
74273  sincosf(0, 0, 0);
74274   ;
74275   return 0;
74276 }
74277 _ACEOF
74278 rm -f conftest.$ac_objext
74279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74280   (eval $ac_compile) 2>conftest.er1
74281   ac_status=$?
74282   grep -v '^ *+' conftest.er1 >conftest.err
74283   rm -f conftest.er1
74284   cat conftest.err >&5
74285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74286   (exit $ac_status); } &&
74287          { ac_try='test -z "$ac_cxx_werror_flag"
74288                          || test ! -s conftest.err'
74289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74290   (eval $ac_try) 2>&5
74291   ac_status=$?
74292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74293   (exit $ac_status); }; } &&
74294          { ac_try='test -s conftest.$ac_objext'
74295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74296   (eval $ac_try) 2>&5
74297   ac_status=$?
74298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74299   (exit $ac_status); }; }; then
74300   glibcxx_cv_func_sincosf_use=yes
74301 else
74302   echo "$as_me: failed program was:" >&5
74303 sed 's/^/| /' conftest.$ac_ext >&5
74304
74305 glibcxx_cv_func_sincosf_use=no
74306 fi
74307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74308       ac_ext=c
74309 ac_cpp='$CPP $CPPFLAGS'
74310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74313
74314
74315 fi
74316
74317   fi
74318   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74319 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74320
74321   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74322
74323 for ac_func in sincosf
74324 do
74325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74326 echo "$as_me:$LINENO: checking for $ac_func" >&5
74327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74328 if eval "test \"\${$as_ac_var+set}\" = set"; then
74329   echo $ECHO_N "(cached) $ECHO_C" >&6
74330 else
74331   if test x$gcc_no_link = xyes; then
74332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74334    { (exit 1); exit 1; }; }
74335 fi
74336 cat >conftest.$ac_ext <<_ACEOF
74337 /* confdefs.h.  */
74338 _ACEOF
74339 cat confdefs.h >>conftest.$ac_ext
74340 cat >>conftest.$ac_ext <<_ACEOF
74341 /* end confdefs.h.  */
74342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74344 #define $ac_func innocuous_$ac_func
74345
74346 /* System header to define __stub macros and hopefully few prototypes,
74347     which can conflict with char $ac_func (); below.
74348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74349     <limits.h> exists even on freestanding compilers.  */
74350
74351 #ifdef __STDC__
74352 # include <limits.h>
74353 #else
74354 # include <assert.h>
74355 #endif
74356
74357 #undef $ac_func
74358
74359 /* Override any gcc2 internal prototype to avoid an error.  */
74360 #ifdef __cplusplus
74361 extern "C"
74362 {
74363 #endif
74364 /* We use char because int might match the return type of a gcc2
74365    builtin and then its argument prototype would still apply.  */
74366 char $ac_func ();
74367 /* The GNU C library defines this for functions which it implements
74368     to always fail with ENOSYS.  Some functions are actually named
74369     something starting with __ and the normal name is an alias.  */
74370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74371 choke me
74372 #else
74373 char (*f) () = $ac_func;
74374 #endif
74375 #ifdef __cplusplus
74376 }
74377 #endif
74378
74379 int
74380 main ()
74381 {
74382 return f != $ac_func;
74383   ;
74384   return 0;
74385 }
74386 _ACEOF
74387 rm -f conftest.$ac_objext conftest$ac_exeext
74388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74389   (eval $ac_link) 2>conftest.er1
74390   ac_status=$?
74391   grep -v '^ *+' conftest.er1 >conftest.err
74392   rm -f conftest.er1
74393   cat conftest.err >&5
74394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74395   (exit $ac_status); } &&
74396          { ac_try='test -z "$ac_c_werror_flag"
74397                          || test ! -s conftest.err'
74398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74399   (eval $ac_try) 2>&5
74400   ac_status=$?
74401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74402   (exit $ac_status); }; } &&
74403          { ac_try='test -s conftest$ac_exeext'
74404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74405   (eval $ac_try) 2>&5
74406   ac_status=$?
74407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74408   (exit $ac_status); }; }; then
74409   eval "$as_ac_var=yes"
74410 else
74411   echo "$as_me: failed program was:" >&5
74412 sed 's/^/| /' conftest.$ac_ext >&5
74413
74414 eval "$as_ac_var=no"
74415 fi
74416 rm -f conftest.err conftest.$ac_objext \
74417       conftest$ac_exeext conftest.$ac_ext
74418 fi
74419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74421 if test `eval echo '${'$as_ac_var'}'` = yes; then
74422   cat >>confdefs.h <<_ACEOF
74423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74424 _ACEOF
74425
74426 fi
74427 done
74428
74429   else
74430
74431   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74432 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74433   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74434     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74435   echo $ECHO_N "(cached) $ECHO_C" >&6
74436 else
74437
74438
74439
74440       ac_ext=cc
74441 ac_cpp='$CXXCPP $CPPFLAGS'
74442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74445
74446       cat >conftest.$ac_ext <<_ACEOF
74447 /* confdefs.h.  */
74448 _ACEOF
74449 cat confdefs.h >>conftest.$ac_ext
74450 cat >>conftest.$ac_ext <<_ACEOF
74451 /* end confdefs.h.  */
74452 #include <math.h>
74453 int
74454 main ()
74455 {
74456  _sincosf(0, 0, 0);
74457   ;
74458   return 0;
74459 }
74460 _ACEOF
74461 rm -f conftest.$ac_objext
74462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74463   (eval $ac_compile) 2>conftest.er1
74464   ac_status=$?
74465   grep -v '^ *+' conftest.er1 >conftest.err
74466   rm -f conftest.er1
74467   cat conftest.err >&5
74468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469   (exit $ac_status); } &&
74470          { ac_try='test -z "$ac_cxx_werror_flag"
74471                          || test ! -s conftest.err'
74472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74473   (eval $ac_try) 2>&5
74474   ac_status=$?
74475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74476   (exit $ac_status); }; } &&
74477          { ac_try='test -s conftest.$ac_objext'
74478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74479   (eval $ac_try) 2>&5
74480   ac_status=$?
74481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74482   (exit $ac_status); }; }; then
74483   glibcxx_cv_func__sincosf_use=yes
74484 else
74485   echo "$as_me: failed program was:" >&5
74486 sed 's/^/| /' conftest.$ac_ext >&5
74487
74488 glibcxx_cv_func__sincosf_use=no
74489 fi
74490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74491       ac_ext=c
74492 ac_cpp='$CPP $CPPFLAGS'
74493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74496
74497
74498 fi
74499
74500   fi
74501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
74502 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
74503
74504     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74505
74506 for ac_func in _sincosf
74507 do
74508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74509 echo "$as_me:$LINENO: checking for $ac_func" >&5
74510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74511 if eval "test \"\${$as_ac_var+set}\" = set"; then
74512   echo $ECHO_N "(cached) $ECHO_C" >&6
74513 else
74514   if test x$gcc_no_link = xyes; then
74515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74517    { (exit 1); exit 1; }; }
74518 fi
74519 cat >conftest.$ac_ext <<_ACEOF
74520 /* confdefs.h.  */
74521 _ACEOF
74522 cat confdefs.h >>conftest.$ac_ext
74523 cat >>conftest.$ac_ext <<_ACEOF
74524 /* end confdefs.h.  */
74525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74527 #define $ac_func innocuous_$ac_func
74528
74529 /* System header to define __stub macros and hopefully few prototypes,
74530     which can conflict with char $ac_func (); below.
74531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74532     <limits.h> exists even on freestanding compilers.  */
74533
74534 #ifdef __STDC__
74535 # include <limits.h>
74536 #else
74537 # include <assert.h>
74538 #endif
74539
74540 #undef $ac_func
74541
74542 /* Override any gcc2 internal prototype to avoid an error.  */
74543 #ifdef __cplusplus
74544 extern "C"
74545 {
74546 #endif
74547 /* We use char because int might match the return type of a gcc2
74548    builtin and then its argument prototype would still apply.  */
74549 char $ac_func ();
74550 /* The GNU C library defines this for functions which it implements
74551     to always fail with ENOSYS.  Some functions are actually named
74552     something starting with __ and the normal name is an alias.  */
74553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74554 choke me
74555 #else
74556 char (*f) () = $ac_func;
74557 #endif
74558 #ifdef __cplusplus
74559 }
74560 #endif
74561
74562 int
74563 main ()
74564 {
74565 return f != $ac_func;
74566   ;
74567   return 0;
74568 }
74569 _ACEOF
74570 rm -f conftest.$ac_objext conftest$ac_exeext
74571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74572   (eval $ac_link) 2>conftest.er1
74573   ac_status=$?
74574   grep -v '^ *+' conftest.er1 >conftest.err
74575   rm -f conftest.er1
74576   cat conftest.err >&5
74577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74578   (exit $ac_status); } &&
74579          { ac_try='test -z "$ac_c_werror_flag"
74580                          || test ! -s conftest.err'
74581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74582   (eval $ac_try) 2>&5
74583   ac_status=$?
74584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74585   (exit $ac_status); }; } &&
74586          { ac_try='test -s conftest$ac_exeext'
74587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588   (eval $ac_try) 2>&5
74589   ac_status=$?
74590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591   (exit $ac_status); }; }; then
74592   eval "$as_ac_var=yes"
74593 else
74594   echo "$as_me: failed program was:" >&5
74595 sed 's/^/| /' conftest.$ac_ext >&5
74596
74597 eval "$as_ac_var=no"
74598 fi
74599 rm -f conftest.err conftest.$ac_objext \
74600       conftest$ac_exeext conftest.$ac_ext
74601 fi
74602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74604 if test `eval echo '${'$as_ac_var'}'` = yes; then
74605   cat >>confdefs.h <<_ACEOF
74606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74607 _ACEOF
74608
74609 fi
74610 done
74611
74612     fi
74613   fi
74614
74615
74616
74617
74618
74619
74620   echo "$as_me:$LINENO: checking for finitef declaration" >&5
74621 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74622   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74623     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74624   echo $ECHO_N "(cached) $ECHO_C" >&6
74625 else
74626
74627
74628
74629       ac_ext=cc
74630 ac_cpp='$CXXCPP $CPPFLAGS'
74631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74634
74635       cat >conftest.$ac_ext <<_ACEOF
74636 /* confdefs.h.  */
74637 _ACEOF
74638 cat confdefs.h >>conftest.$ac_ext
74639 cat >>conftest.$ac_ext <<_ACEOF
74640 /* end confdefs.h.  */
74641 #include <math.h>
74642                       #ifdef HAVE_IEEEFP_H
74643                       #include <ieeefp.h>
74644                       #endif
74645
74646 int
74647 main ()
74648 {
74649  finitef(0);
74650   ;
74651   return 0;
74652 }
74653 _ACEOF
74654 rm -f conftest.$ac_objext
74655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74656   (eval $ac_compile) 2>conftest.er1
74657   ac_status=$?
74658   grep -v '^ *+' conftest.er1 >conftest.err
74659   rm -f conftest.er1
74660   cat conftest.err >&5
74661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74662   (exit $ac_status); } &&
74663          { ac_try='test -z "$ac_cxx_werror_flag"
74664                          || test ! -s conftest.err'
74665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74666   (eval $ac_try) 2>&5
74667   ac_status=$?
74668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74669   (exit $ac_status); }; } &&
74670          { ac_try='test -s conftest.$ac_objext'
74671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74672   (eval $ac_try) 2>&5
74673   ac_status=$?
74674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74675   (exit $ac_status); }; }; then
74676   glibcxx_cv_func_finitef_use=yes
74677 else
74678   echo "$as_me: failed program was:" >&5
74679 sed 's/^/| /' conftest.$ac_ext >&5
74680
74681 glibcxx_cv_func_finitef_use=no
74682 fi
74683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74684       ac_ext=c
74685 ac_cpp='$CPP $CPPFLAGS'
74686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74689
74690
74691 fi
74692
74693   fi
74694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74695 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74696
74697   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74698
74699 for ac_func in finitef
74700 do
74701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74702 echo "$as_me:$LINENO: checking for $ac_func" >&5
74703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74704 if eval "test \"\${$as_ac_var+set}\" = set"; then
74705   echo $ECHO_N "(cached) $ECHO_C" >&6
74706 else
74707   if test x$gcc_no_link = xyes; then
74708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74710    { (exit 1); exit 1; }; }
74711 fi
74712 cat >conftest.$ac_ext <<_ACEOF
74713 /* confdefs.h.  */
74714 _ACEOF
74715 cat confdefs.h >>conftest.$ac_ext
74716 cat >>conftest.$ac_ext <<_ACEOF
74717 /* end confdefs.h.  */
74718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74720 #define $ac_func innocuous_$ac_func
74721
74722 /* System header to define __stub macros and hopefully few prototypes,
74723     which can conflict with char $ac_func (); below.
74724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74725     <limits.h> exists even on freestanding compilers.  */
74726
74727 #ifdef __STDC__
74728 # include <limits.h>
74729 #else
74730 # include <assert.h>
74731 #endif
74732
74733 #undef $ac_func
74734
74735 /* Override any gcc2 internal prototype to avoid an error.  */
74736 #ifdef __cplusplus
74737 extern "C"
74738 {
74739 #endif
74740 /* We use char because int might match the return type of a gcc2
74741    builtin and then its argument prototype would still apply.  */
74742 char $ac_func ();
74743 /* The GNU C library defines this for functions which it implements
74744     to always fail with ENOSYS.  Some functions are actually named
74745     something starting with __ and the normal name is an alias.  */
74746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74747 choke me
74748 #else
74749 char (*f) () = $ac_func;
74750 #endif
74751 #ifdef __cplusplus
74752 }
74753 #endif
74754
74755 int
74756 main ()
74757 {
74758 return f != $ac_func;
74759   ;
74760   return 0;
74761 }
74762 _ACEOF
74763 rm -f conftest.$ac_objext conftest$ac_exeext
74764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74765   (eval $ac_link) 2>conftest.er1
74766   ac_status=$?
74767   grep -v '^ *+' conftest.er1 >conftest.err
74768   rm -f conftest.er1
74769   cat conftest.err >&5
74770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74771   (exit $ac_status); } &&
74772          { ac_try='test -z "$ac_c_werror_flag"
74773                          || test ! -s conftest.err'
74774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74775   (eval $ac_try) 2>&5
74776   ac_status=$?
74777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74778   (exit $ac_status); }; } &&
74779          { ac_try='test -s conftest$ac_exeext'
74780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74781   (eval $ac_try) 2>&5
74782   ac_status=$?
74783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74784   (exit $ac_status); }; }; then
74785   eval "$as_ac_var=yes"
74786 else
74787   echo "$as_me: failed program was:" >&5
74788 sed 's/^/| /' conftest.$ac_ext >&5
74789
74790 eval "$as_ac_var=no"
74791 fi
74792 rm -f conftest.err conftest.$ac_objext \
74793       conftest$ac_exeext conftest.$ac_ext
74794 fi
74795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74797 if test `eval echo '${'$as_ac_var'}'` = yes; then
74798   cat >>confdefs.h <<_ACEOF
74799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74800 _ACEOF
74801
74802 fi
74803 done
74804
74805   else
74806
74807   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74808 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74809   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74810     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74811   echo $ECHO_N "(cached) $ECHO_C" >&6
74812 else
74813
74814
74815
74816       ac_ext=cc
74817 ac_cpp='$CXXCPP $CPPFLAGS'
74818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74821
74822       cat >conftest.$ac_ext <<_ACEOF
74823 /* confdefs.h.  */
74824 _ACEOF
74825 cat confdefs.h >>conftest.$ac_ext
74826 cat >>conftest.$ac_ext <<_ACEOF
74827 /* end confdefs.h.  */
74828 #include <math.h>
74829                       #ifdef HAVE_IEEEFP_H
74830                       #include <ieeefp.h>
74831                       #endif
74832
74833 int
74834 main ()
74835 {
74836  _finitef(0);
74837   ;
74838   return 0;
74839 }
74840 _ACEOF
74841 rm -f conftest.$ac_objext
74842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74843   (eval $ac_compile) 2>conftest.er1
74844   ac_status=$?
74845   grep -v '^ *+' conftest.er1 >conftest.err
74846   rm -f conftest.er1
74847   cat conftest.err >&5
74848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74849   (exit $ac_status); } &&
74850          { ac_try='test -z "$ac_cxx_werror_flag"
74851                          || test ! -s conftest.err'
74852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74853   (eval $ac_try) 2>&5
74854   ac_status=$?
74855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74856   (exit $ac_status); }; } &&
74857          { ac_try='test -s conftest.$ac_objext'
74858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74859   (eval $ac_try) 2>&5
74860   ac_status=$?
74861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74862   (exit $ac_status); }; }; then
74863   glibcxx_cv_func__finitef_use=yes
74864 else
74865   echo "$as_me: failed program was:" >&5
74866 sed 's/^/| /' conftest.$ac_ext >&5
74867
74868 glibcxx_cv_func__finitef_use=no
74869 fi
74870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74871       ac_ext=c
74872 ac_cpp='$CPP $CPPFLAGS'
74873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74876
74877
74878 fi
74879
74880   fi
74881   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74882 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74883
74884     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74885
74886 for ac_func in _finitef
74887 do
74888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74889 echo "$as_me:$LINENO: checking for $ac_func" >&5
74890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74891 if eval "test \"\${$as_ac_var+set}\" = set"; then
74892   echo $ECHO_N "(cached) $ECHO_C" >&6
74893 else
74894   if test x$gcc_no_link = xyes; then
74895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74897    { (exit 1); exit 1; }; }
74898 fi
74899 cat >conftest.$ac_ext <<_ACEOF
74900 /* confdefs.h.  */
74901 _ACEOF
74902 cat confdefs.h >>conftest.$ac_ext
74903 cat >>conftest.$ac_ext <<_ACEOF
74904 /* end confdefs.h.  */
74905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74907 #define $ac_func innocuous_$ac_func
74908
74909 /* System header to define __stub macros and hopefully few prototypes,
74910     which can conflict with char $ac_func (); below.
74911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74912     <limits.h> exists even on freestanding compilers.  */
74913
74914 #ifdef __STDC__
74915 # include <limits.h>
74916 #else
74917 # include <assert.h>
74918 #endif
74919
74920 #undef $ac_func
74921
74922 /* Override any gcc2 internal prototype to avoid an error.  */
74923 #ifdef __cplusplus
74924 extern "C"
74925 {
74926 #endif
74927 /* We use char because int might match the return type of a gcc2
74928    builtin and then its argument prototype would still apply.  */
74929 char $ac_func ();
74930 /* The GNU C library defines this for functions which it implements
74931     to always fail with ENOSYS.  Some functions are actually named
74932     something starting with __ and the normal name is an alias.  */
74933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74934 choke me
74935 #else
74936 char (*f) () = $ac_func;
74937 #endif
74938 #ifdef __cplusplus
74939 }
74940 #endif
74941
74942 int
74943 main ()
74944 {
74945 return f != $ac_func;
74946   ;
74947   return 0;
74948 }
74949 _ACEOF
74950 rm -f conftest.$ac_objext conftest$ac_exeext
74951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74952   (eval $ac_link) 2>conftest.er1
74953   ac_status=$?
74954   grep -v '^ *+' conftest.er1 >conftest.err
74955   rm -f conftest.er1
74956   cat conftest.err >&5
74957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74958   (exit $ac_status); } &&
74959          { ac_try='test -z "$ac_c_werror_flag"
74960                          || test ! -s conftest.err'
74961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74962   (eval $ac_try) 2>&5
74963   ac_status=$?
74964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74965   (exit $ac_status); }; } &&
74966          { ac_try='test -s conftest$ac_exeext'
74967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74968   (eval $ac_try) 2>&5
74969   ac_status=$?
74970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74971   (exit $ac_status); }; }; then
74972   eval "$as_ac_var=yes"
74973 else
74974   echo "$as_me: failed program was:" >&5
74975 sed 's/^/| /' conftest.$ac_ext >&5
74976
74977 eval "$as_ac_var=no"
74978 fi
74979 rm -f conftest.err conftest.$ac_objext \
74980       conftest$ac_exeext conftest.$ac_ext
74981 fi
74982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74984 if test `eval echo '${'$as_ac_var'}'` = yes; then
74985   cat >>confdefs.h <<_ACEOF
74986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74987 _ACEOF
74988
74989 fi
74990 done
74991
74992     fi
74993   fi
74994
74995
74996
74997
74998
74999
75000     echo "$as_me:$LINENO: checking for long double trig functions" >&5
75001 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75002   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75003   echo $ECHO_N "(cached) $ECHO_C" >&6
75004 else
75005
75006
75007
75008     ac_ext=cc
75009 ac_cpp='$CXXCPP $CPPFLAGS'
75010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75013
75014     cat >conftest.$ac_ext <<_ACEOF
75015 /* confdefs.h.  */
75016 _ACEOF
75017 cat confdefs.h >>conftest.$ac_ext
75018 cat >>conftest.$ac_ext <<_ACEOF
75019 /* end confdefs.h.  */
75020 #include <math.h>
75021 int
75022 main ()
75023 {
75024 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75025   ;
75026   return 0;
75027 }
75028 _ACEOF
75029 rm -f conftest.$ac_objext
75030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75031   (eval $ac_compile) 2>conftest.er1
75032   ac_status=$?
75033   grep -v '^ *+' conftest.er1 >conftest.err
75034   rm -f conftest.er1
75035   cat conftest.err >&5
75036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75037   (exit $ac_status); } &&
75038          { ac_try='test -z "$ac_cxx_werror_flag"
75039                          || test ! -s conftest.err'
75040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75041   (eval $ac_try) 2>&5
75042   ac_status=$?
75043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75044   (exit $ac_status); }; } &&
75045          { ac_try='test -s conftest.$ac_objext'
75046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75047   (eval $ac_try) 2>&5
75048   ac_status=$?
75049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75050   (exit $ac_status); }; }; then
75051   glibcxx_cv_func_long_double_trig_use=yes
75052 else
75053   echo "$as_me: failed program was:" >&5
75054 sed 's/^/| /' conftest.$ac_ext >&5
75055
75056 glibcxx_cv_func_long_double_trig_use=no
75057 fi
75058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75059     ac_ext=c
75060 ac_cpp='$CPP $CPPFLAGS'
75061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75064
75065 fi
75066
75067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75068 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75069   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75070
75071
75072
75073
75074
75075
75076
75077
75078
75079 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75080 do
75081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75082 echo "$as_me:$LINENO: checking for $ac_func" >&5
75083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75084 if eval "test \"\${$as_ac_var+set}\" = set"; then
75085   echo $ECHO_N "(cached) $ECHO_C" >&6
75086 else
75087   if test x$gcc_no_link = xyes; then
75088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75090    { (exit 1); exit 1; }; }
75091 fi
75092 cat >conftest.$ac_ext <<_ACEOF
75093 /* confdefs.h.  */
75094 _ACEOF
75095 cat confdefs.h >>conftest.$ac_ext
75096 cat >>conftest.$ac_ext <<_ACEOF
75097 /* end confdefs.h.  */
75098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75100 #define $ac_func innocuous_$ac_func
75101
75102 /* System header to define __stub macros and hopefully few prototypes,
75103     which can conflict with char $ac_func (); below.
75104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75105     <limits.h> exists even on freestanding compilers.  */
75106
75107 #ifdef __STDC__
75108 # include <limits.h>
75109 #else
75110 # include <assert.h>
75111 #endif
75112
75113 #undef $ac_func
75114
75115 /* Override any gcc2 internal prototype to avoid an error.  */
75116 #ifdef __cplusplus
75117 extern "C"
75118 {
75119 #endif
75120 /* We use char because int might match the return type of a gcc2
75121    builtin and then its argument prototype would still apply.  */
75122 char $ac_func ();
75123 /* The GNU C library defines this for functions which it implements
75124     to always fail with ENOSYS.  Some functions are actually named
75125     something starting with __ and the normal name is an alias.  */
75126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75127 choke me
75128 #else
75129 char (*f) () = $ac_func;
75130 #endif
75131 #ifdef __cplusplus
75132 }
75133 #endif
75134
75135 int
75136 main ()
75137 {
75138 return f != $ac_func;
75139   ;
75140   return 0;
75141 }
75142 _ACEOF
75143 rm -f conftest.$ac_objext conftest$ac_exeext
75144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75145   (eval $ac_link) 2>conftest.er1
75146   ac_status=$?
75147   grep -v '^ *+' conftest.er1 >conftest.err
75148   rm -f conftest.er1
75149   cat conftest.err >&5
75150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75151   (exit $ac_status); } &&
75152          { ac_try='test -z "$ac_c_werror_flag"
75153                          || test ! -s conftest.err'
75154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75155   (eval $ac_try) 2>&5
75156   ac_status=$?
75157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75158   (exit $ac_status); }; } &&
75159          { ac_try='test -s conftest$ac_exeext'
75160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75161   (eval $ac_try) 2>&5
75162   ac_status=$?
75163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75164   (exit $ac_status); }; }; then
75165   eval "$as_ac_var=yes"
75166 else
75167   echo "$as_me: failed program was:" >&5
75168 sed 's/^/| /' conftest.$ac_ext >&5
75169
75170 eval "$as_ac_var=no"
75171 fi
75172 rm -f conftest.err conftest.$ac_objext \
75173       conftest$ac_exeext conftest.$ac_ext
75174 fi
75175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75177 if test `eval echo '${'$as_ac_var'}'` = yes; then
75178   cat >>confdefs.h <<_ACEOF
75179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75180 _ACEOF
75181
75182 fi
75183 done
75184
75185   else
75186     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75187 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75188     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75189   echo $ECHO_N "(cached) $ECHO_C" >&6
75190 else
75191
75192
75193
75194       ac_ext=cc
75195 ac_cpp='$CXXCPP $CPPFLAGS'
75196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75199
75200       cat >conftest.$ac_ext <<_ACEOF
75201 /* confdefs.h.  */
75202 _ACEOF
75203 cat confdefs.h >>conftest.$ac_ext
75204 cat >>conftest.$ac_ext <<_ACEOF
75205 /* end confdefs.h.  */
75206 #include <math.h>
75207 int
75208 main ()
75209 {
75210 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75211   ;
75212   return 0;
75213 }
75214 _ACEOF
75215 rm -f conftest.$ac_objext
75216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75217   (eval $ac_compile) 2>conftest.er1
75218   ac_status=$?
75219   grep -v '^ *+' conftest.er1 >conftest.err
75220   rm -f conftest.er1
75221   cat conftest.err >&5
75222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75223   (exit $ac_status); } &&
75224          { ac_try='test -z "$ac_cxx_werror_flag"
75225                          || test ! -s conftest.err'
75226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75227   (eval $ac_try) 2>&5
75228   ac_status=$?
75229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75230   (exit $ac_status); }; } &&
75231          { ac_try='test -s conftest.$ac_objext'
75232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75233   (eval $ac_try) 2>&5
75234   ac_status=$?
75235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75236   (exit $ac_status); }; }; then
75237   glibcxx_cv_func__long_double_trig_use=yes
75238 else
75239   echo "$as_me: failed program was:" >&5
75240 sed 's/^/| /' conftest.$ac_ext >&5
75241
75242 glibcxx_cv_func__long_double_trig_use=no
75243 fi
75244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75245       ac_ext=c
75246 ac_cpp='$CPP $CPPFLAGS'
75247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75250
75251 fi
75252
75253     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75254 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75255     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75256
75257
75258
75259
75260
75261
75262
75263
75264
75265 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75266 do
75267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75268 echo "$as_me:$LINENO: checking for $ac_func" >&5
75269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75270 if eval "test \"\${$as_ac_var+set}\" = set"; then
75271   echo $ECHO_N "(cached) $ECHO_C" >&6
75272 else
75273   if test x$gcc_no_link = xyes; then
75274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75276    { (exit 1); exit 1; }; }
75277 fi
75278 cat >conftest.$ac_ext <<_ACEOF
75279 /* confdefs.h.  */
75280 _ACEOF
75281 cat confdefs.h >>conftest.$ac_ext
75282 cat >>conftest.$ac_ext <<_ACEOF
75283 /* end confdefs.h.  */
75284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75286 #define $ac_func innocuous_$ac_func
75287
75288 /* System header to define __stub macros and hopefully few prototypes,
75289     which can conflict with char $ac_func (); below.
75290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75291     <limits.h> exists even on freestanding compilers.  */
75292
75293 #ifdef __STDC__
75294 # include <limits.h>
75295 #else
75296 # include <assert.h>
75297 #endif
75298
75299 #undef $ac_func
75300
75301 /* Override any gcc2 internal prototype to avoid an error.  */
75302 #ifdef __cplusplus
75303 extern "C"
75304 {
75305 #endif
75306 /* We use char because int might match the return type of a gcc2
75307    builtin and then its argument prototype would still apply.  */
75308 char $ac_func ();
75309 /* The GNU C library defines this for functions which it implements
75310     to always fail with ENOSYS.  Some functions are actually named
75311     something starting with __ and the normal name is an alias.  */
75312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75313 choke me
75314 #else
75315 char (*f) () = $ac_func;
75316 #endif
75317 #ifdef __cplusplus
75318 }
75319 #endif
75320
75321 int
75322 main ()
75323 {
75324 return f != $ac_func;
75325   ;
75326   return 0;
75327 }
75328 _ACEOF
75329 rm -f conftest.$ac_objext conftest$ac_exeext
75330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75331   (eval $ac_link) 2>conftest.er1
75332   ac_status=$?
75333   grep -v '^ *+' conftest.er1 >conftest.err
75334   rm -f conftest.er1
75335   cat conftest.err >&5
75336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75337   (exit $ac_status); } &&
75338          { ac_try='test -z "$ac_c_werror_flag"
75339                          || test ! -s conftest.err'
75340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75341   (eval $ac_try) 2>&5
75342   ac_status=$?
75343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75344   (exit $ac_status); }; } &&
75345          { ac_try='test -s conftest$ac_exeext'
75346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75347   (eval $ac_try) 2>&5
75348   ac_status=$?
75349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75350   (exit $ac_status); }; }; then
75351   eval "$as_ac_var=yes"
75352 else
75353   echo "$as_me: failed program was:" >&5
75354 sed 's/^/| /' conftest.$ac_ext >&5
75355
75356 eval "$as_ac_var=no"
75357 fi
75358 rm -f conftest.err conftest.$ac_objext \
75359       conftest$ac_exeext conftest.$ac_ext
75360 fi
75361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75363 if test `eval echo '${'$as_ac_var'}'` = yes; then
75364   cat >>confdefs.h <<_ACEOF
75365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75366 _ACEOF
75367
75368 fi
75369 done
75370
75371     fi
75372   fi
75373
75374
75375
75376
75377
75378
75379
75380
75381
75382
75383
75384
75385
75386
75387     echo "$as_me:$LINENO: checking for long double round functions" >&5
75388 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75389   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75390   echo $ECHO_N "(cached) $ECHO_C" >&6
75391 else
75392
75393
75394
75395     ac_ext=cc
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75400
75401     cat >conftest.$ac_ext <<_ACEOF
75402 /* confdefs.h.  */
75403 _ACEOF
75404 cat confdefs.h >>conftest.$ac_ext
75405 cat >>conftest.$ac_ext <<_ACEOF
75406 /* end confdefs.h.  */
75407 #include <math.h>
75408 int
75409 main ()
75410 {
75411 ceill (0); floorl (0);
75412   ;
75413   return 0;
75414 }
75415 _ACEOF
75416 rm -f conftest.$ac_objext
75417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75418   (eval $ac_compile) 2>conftest.er1
75419   ac_status=$?
75420   grep -v '^ *+' conftest.er1 >conftest.err
75421   rm -f conftest.er1
75422   cat conftest.err >&5
75423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75424   (exit $ac_status); } &&
75425          { ac_try='test -z "$ac_cxx_werror_flag"
75426                          || test ! -s conftest.err'
75427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75428   (eval $ac_try) 2>&5
75429   ac_status=$?
75430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75431   (exit $ac_status); }; } &&
75432          { ac_try='test -s conftest.$ac_objext'
75433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75434   (eval $ac_try) 2>&5
75435   ac_status=$?
75436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75437   (exit $ac_status); }; }; then
75438   glibcxx_cv_func_long_double_round_use=yes
75439 else
75440   echo "$as_me: failed program was:" >&5
75441 sed 's/^/| /' conftest.$ac_ext >&5
75442
75443 glibcxx_cv_func_long_double_round_use=no
75444 fi
75445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75446     ac_ext=c
75447 ac_cpp='$CPP $CPPFLAGS'
75448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75451
75452 fi
75453
75454   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75455 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75456   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75457
75458
75459 for ac_func in ceill floorl
75460 do
75461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75462 echo "$as_me:$LINENO: checking for $ac_func" >&5
75463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75464 if eval "test \"\${$as_ac_var+set}\" = set"; then
75465   echo $ECHO_N "(cached) $ECHO_C" >&6
75466 else
75467   if test x$gcc_no_link = xyes; then
75468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75470    { (exit 1); exit 1; }; }
75471 fi
75472 cat >conftest.$ac_ext <<_ACEOF
75473 /* confdefs.h.  */
75474 _ACEOF
75475 cat confdefs.h >>conftest.$ac_ext
75476 cat >>conftest.$ac_ext <<_ACEOF
75477 /* end confdefs.h.  */
75478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75480 #define $ac_func innocuous_$ac_func
75481
75482 /* System header to define __stub macros and hopefully few prototypes,
75483     which can conflict with char $ac_func (); below.
75484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75485     <limits.h> exists even on freestanding compilers.  */
75486
75487 #ifdef __STDC__
75488 # include <limits.h>
75489 #else
75490 # include <assert.h>
75491 #endif
75492
75493 #undef $ac_func
75494
75495 /* Override any gcc2 internal prototype to avoid an error.  */
75496 #ifdef __cplusplus
75497 extern "C"
75498 {
75499 #endif
75500 /* We use char because int might match the return type of a gcc2
75501    builtin and then its argument prototype would still apply.  */
75502 char $ac_func ();
75503 /* The GNU C library defines this for functions which it implements
75504     to always fail with ENOSYS.  Some functions are actually named
75505     something starting with __ and the normal name is an alias.  */
75506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75507 choke me
75508 #else
75509 char (*f) () = $ac_func;
75510 #endif
75511 #ifdef __cplusplus
75512 }
75513 #endif
75514
75515 int
75516 main ()
75517 {
75518 return f != $ac_func;
75519   ;
75520   return 0;
75521 }
75522 _ACEOF
75523 rm -f conftest.$ac_objext conftest$ac_exeext
75524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75525   (eval $ac_link) 2>conftest.er1
75526   ac_status=$?
75527   grep -v '^ *+' conftest.er1 >conftest.err
75528   rm -f conftest.er1
75529   cat conftest.err >&5
75530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75531   (exit $ac_status); } &&
75532          { ac_try='test -z "$ac_c_werror_flag"
75533                          || test ! -s conftest.err'
75534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75535   (eval $ac_try) 2>&5
75536   ac_status=$?
75537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75538   (exit $ac_status); }; } &&
75539          { ac_try='test -s conftest$ac_exeext'
75540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75541   (eval $ac_try) 2>&5
75542   ac_status=$?
75543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75544   (exit $ac_status); }; }; then
75545   eval "$as_ac_var=yes"
75546 else
75547   echo "$as_me: failed program was:" >&5
75548 sed 's/^/| /' conftest.$ac_ext >&5
75549
75550 eval "$as_ac_var=no"
75551 fi
75552 rm -f conftest.err conftest.$ac_objext \
75553       conftest$ac_exeext conftest.$ac_ext
75554 fi
75555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75557 if test `eval echo '${'$as_ac_var'}'` = yes; then
75558   cat >>confdefs.h <<_ACEOF
75559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75560 _ACEOF
75561
75562 fi
75563 done
75564
75565   else
75566     echo "$as_me:$LINENO: checking for _long double round functions" >&5
75567 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75568     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75569   echo $ECHO_N "(cached) $ECHO_C" >&6
75570 else
75571
75572
75573
75574       ac_ext=cc
75575 ac_cpp='$CXXCPP $CPPFLAGS'
75576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75579
75580       cat >conftest.$ac_ext <<_ACEOF
75581 /* confdefs.h.  */
75582 _ACEOF
75583 cat confdefs.h >>conftest.$ac_ext
75584 cat >>conftest.$ac_ext <<_ACEOF
75585 /* end confdefs.h.  */
75586 #include <math.h>
75587 int
75588 main ()
75589 {
75590 _ceill (0); _floorl (0);
75591   ;
75592   return 0;
75593 }
75594 _ACEOF
75595 rm -f conftest.$ac_objext
75596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75597   (eval $ac_compile) 2>conftest.er1
75598   ac_status=$?
75599   grep -v '^ *+' conftest.er1 >conftest.err
75600   rm -f conftest.er1
75601   cat conftest.err >&5
75602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75603   (exit $ac_status); } &&
75604          { ac_try='test -z "$ac_cxx_werror_flag"
75605                          || test ! -s conftest.err'
75606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75607   (eval $ac_try) 2>&5
75608   ac_status=$?
75609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75610   (exit $ac_status); }; } &&
75611          { ac_try='test -s conftest.$ac_objext'
75612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75613   (eval $ac_try) 2>&5
75614   ac_status=$?
75615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75616   (exit $ac_status); }; }; then
75617   glibcxx_cv_func__long_double_round_use=yes
75618 else
75619   echo "$as_me: failed program was:" >&5
75620 sed 's/^/| /' conftest.$ac_ext >&5
75621
75622 glibcxx_cv_func__long_double_round_use=no
75623 fi
75624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75625       ac_ext=c
75626 ac_cpp='$CPP $CPPFLAGS'
75627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75630
75631 fi
75632
75633     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75634 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75635     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75636
75637
75638 for ac_func in _ceill _floorl
75639 do
75640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75641 echo "$as_me:$LINENO: checking for $ac_func" >&5
75642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75643 if eval "test \"\${$as_ac_var+set}\" = set"; then
75644   echo $ECHO_N "(cached) $ECHO_C" >&6
75645 else
75646   if test x$gcc_no_link = xyes; then
75647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75649    { (exit 1); exit 1; }; }
75650 fi
75651 cat >conftest.$ac_ext <<_ACEOF
75652 /* confdefs.h.  */
75653 _ACEOF
75654 cat confdefs.h >>conftest.$ac_ext
75655 cat >>conftest.$ac_ext <<_ACEOF
75656 /* end confdefs.h.  */
75657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75659 #define $ac_func innocuous_$ac_func
75660
75661 /* System header to define __stub macros and hopefully few prototypes,
75662     which can conflict with char $ac_func (); below.
75663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75664     <limits.h> exists even on freestanding compilers.  */
75665
75666 #ifdef __STDC__
75667 # include <limits.h>
75668 #else
75669 # include <assert.h>
75670 #endif
75671
75672 #undef $ac_func
75673
75674 /* Override any gcc2 internal prototype to avoid an error.  */
75675 #ifdef __cplusplus
75676 extern "C"
75677 {
75678 #endif
75679 /* We use char because int might match the return type of a gcc2
75680    builtin and then its argument prototype would still apply.  */
75681 char $ac_func ();
75682 /* The GNU C library defines this for functions which it implements
75683     to always fail with ENOSYS.  Some functions are actually named
75684     something starting with __ and the normal name is an alias.  */
75685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75686 choke me
75687 #else
75688 char (*f) () = $ac_func;
75689 #endif
75690 #ifdef __cplusplus
75691 }
75692 #endif
75693
75694 int
75695 main ()
75696 {
75697 return f != $ac_func;
75698   ;
75699   return 0;
75700 }
75701 _ACEOF
75702 rm -f conftest.$ac_objext conftest$ac_exeext
75703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75704   (eval $ac_link) 2>conftest.er1
75705   ac_status=$?
75706   grep -v '^ *+' conftest.er1 >conftest.err
75707   rm -f conftest.er1
75708   cat conftest.err >&5
75709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75710   (exit $ac_status); } &&
75711          { ac_try='test -z "$ac_c_werror_flag"
75712                          || test ! -s conftest.err'
75713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75714   (eval $ac_try) 2>&5
75715   ac_status=$?
75716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717   (exit $ac_status); }; } &&
75718          { ac_try='test -s conftest$ac_exeext'
75719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75720   (eval $ac_try) 2>&5
75721   ac_status=$?
75722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75723   (exit $ac_status); }; }; then
75724   eval "$as_ac_var=yes"
75725 else
75726   echo "$as_me: failed program was:" >&5
75727 sed 's/^/| /' conftest.$ac_ext >&5
75728
75729 eval "$as_ac_var=no"
75730 fi
75731 rm -f conftest.err conftest.$ac_objext \
75732       conftest$ac_exeext conftest.$ac_ext
75733 fi
75734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75736 if test `eval echo '${'$as_ac_var'}'` = yes; then
75737   cat >>confdefs.h <<_ACEOF
75738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75739 _ACEOF
75740
75741 fi
75742 done
75743
75744     fi
75745   fi
75746
75747
75748
75749
75750
75751
75752
75753
75754   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75755 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75756   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75757     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75758   echo $ECHO_N "(cached) $ECHO_C" >&6
75759 else
75760
75761
75762
75763       ac_ext=cc
75764 ac_cpp='$CXXCPP $CPPFLAGS'
75765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75768
75769       cat >conftest.$ac_ext <<_ACEOF
75770 /* confdefs.h.  */
75771 _ACEOF
75772 cat confdefs.h >>conftest.$ac_ext
75773 cat >>conftest.$ac_ext <<_ACEOF
75774 /* end confdefs.h.  */
75775 #include <math.h>
75776                       #ifdef HAVE_IEEEFP_H
75777                       #include <ieeefp.h>
75778                       #endif
75779
75780 int
75781 main ()
75782 {
75783  isnanl(0);
75784   ;
75785   return 0;
75786 }
75787 _ACEOF
75788 rm -f conftest.$ac_objext
75789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75790   (eval $ac_compile) 2>conftest.er1
75791   ac_status=$?
75792   grep -v '^ *+' conftest.er1 >conftest.err
75793   rm -f conftest.er1
75794   cat conftest.err >&5
75795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75796   (exit $ac_status); } &&
75797          { ac_try='test -z "$ac_cxx_werror_flag"
75798                          || test ! -s conftest.err'
75799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75800   (eval $ac_try) 2>&5
75801   ac_status=$?
75802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75803   (exit $ac_status); }; } &&
75804          { ac_try='test -s conftest.$ac_objext'
75805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75806   (eval $ac_try) 2>&5
75807   ac_status=$?
75808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75809   (exit $ac_status); }; }; then
75810   glibcxx_cv_func_isnanl_use=yes
75811 else
75812   echo "$as_me: failed program was:" >&5
75813 sed 's/^/| /' conftest.$ac_ext >&5
75814
75815 glibcxx_cv_func_isnanl_use=no
75816 fi
75817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75818       ac_ext=c
75819 ac_cpp='$CPP $CPPFLAGS'
75820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75823
75824
75825 fi
75826
75827   fi
75828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75829 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75830
75831   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75832
75833 for ac_func in isnanl
75834 do
75835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75836 echo "$as_me:$LINENO: checking for $ac_func" >&5
75837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75838 if eval "test \"\${$as_ac_var+set}\" = set"; then
75839   echo $ECHO_N "(cached) $ECHO_C" >&6
75840 else
75841   if test x$gcc_no_link = xyes; then
75842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75844    { (exit 1); exit 1; }; }
75845 fi
75846 cat >conftest.$ac_ext <<_ACEOF
75847 /* confdefs.h.  */
75848 _ACEOF
75849 cat confdefs.h >>conftest.$ac_ext
75850 cat >>conftest.$ac_ext <<_ACEOF
75851 /* end confdefs.h.  */
75852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75854 #define $ac_func innocuous_$ac_func
75855
75856 /* System header to define __stub macros and hopefully few prototypes,
75857     which can conflict with char $ac_func (); below.
75858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75859     <limits.h> exists even on freestanding compilers.  */
75860
75861 #ifdef __STDC__
75862 # include <limits.h>
75863 #else
75864 # include <assert.h>
75865 #endif
75866
75867 #undef $ac_func
75868
75869 /* Override any gcc2 internal prototype to avoid an error.  */
75870 #ifdef __cplusplus
75871 extern "C"
75872 {
75873 #endif
75874 /* We use char because int might match the return type of a gcc2
75875    builtin and then its argument prototype would still apply.  */
75876 char $ac_func ();
75877 /* The GNU C library defines this for functions which it implements
75878     to always fail with ENOSYS.  Some functions are actually named
75879     something starting with __ and the normal name is an alias.  */
75880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75881 choke me
75882 #else
75883 char (*f) () = $ac_func;
75884 #endif
75885 #ifdef __cplusplus
75886 }
75887 #endif
75888
75889 int
75890 main ()
75891 {
75892 return f != $ac_func;
75893   ;
75894   return 0;
75895 }
75896 _ACEOF
75897 rm -f conftest.$ac_objext conftest$ac_exeext
75898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75899   (eval $ac_link) 2>conftest.er1
75900   ac_status=$?
75901   grep -v '^ *+' conftest.er1 >conftest.err
75902   rm -f conftest.er1
75903   cat conftest.err >&5
75904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75905   (exit $ac_status); } &&
75906          { ac_try='test -z "$ac_c_werror_flag"
75907                          || test ! -s conftest.err'
75908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75909   (eval $ac_try) 2>&5
75910   ac_status=$?
75911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75912   (exit $ac_status); }; } &&
75913          { ac_try='test -s conftest$ac_exeext'
75914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75915   (eval $ac_try) 2>&5
75916   ac_status=$?
75917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75918   (exit $ac_status); }; }; then
75919   eval "$as_ac_var=yes"
75920 else
75921   echo "$as_me: failed program was:" >&5
75922 sed 's/^/| /' conftest.$ac_ext >&5
75923
75924 eval "$as_ac_var=no"
75925 fi
75926 rm -f conftest.err conftest.$ac_objext \
75927       conftest$ac_exeext conftest.$ac_ext
75928 fi
75929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75931 if test `eval echo '${'$as_ac_var'}'` = yes; then
75932   cat >>confdefs.h <<_ACEOF
75933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75934 _ACEOF
75935
75936 fi
75937 done
75938
75939   else
75940
75941   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75942 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75943   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75944     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75945   echo $ECHO_N "(cached) $ECHO_C" >&6
75946 else
75947
75948
75949
75950       ac_ext=cc
75951 ac_cpp='$CXXCPP $CPPFLAGS'
75952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75955
75956       cat >conftest.$ac_ext <<_ACEOF
75957 /* confdefs.h.  */
75958 _ACEOF
75959 cat confdefs.h >>conftest.$ac_ext
75960 cat >>conftest.$ac_ext <<_ACEOF
75961 /* end confdefs.h.  */
75962 #include <math.h>
75963                       #ifdef HAVE_IEEEFP_H
75964                       #include <ieeefp.h>
75965                       #endif
75966
75967 int
75968 main ()
75969 {
75970  _isnanl(0);
75971   ;
75972   return 0;
75973 }
75974 _ACEOF
75975 rm -f conftest.$ac_objext
75976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75977   (eval $ac_compile) 2>conftest.er1
75978   ac_status=$?
75979   grep -v '^ *+' conftest.er1 >conftest.err
75980   rm -f conftest.er1
75981   cat conftest.err >&5
75982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75983   (exit $ac_status); } &&
75984          { ac_try='test -z "$ac_cxx_werror_flag"
75985                          || test ! -s conftest.err'
75986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75987   (eval $ac_try) 2>&5
75988   ac_status=$?
75989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75990   (exit $ac_status); }; } &&
75991          { ac_try='test -s conftest.$ac_objext'
75992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75993   (eval $ac_try) 2>&5
75994   ac_status=$?
75995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75996   (exit $ac_status); }; }; then
75997   glibcxx_cv_func__isnanl_use=yes
75998 else
75999   echo "$as_me: failed program was:" >&5
76000 sed 's/^/| /' conftest.$ac_ext >&5
76001
76002 glibcxx_cv_func__isnanl_use=no
76003 fi
76004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76005       ac_ext=c
76006 ac_cpp='$CPP $CPPFLAGS'
76007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76010
76011
76012 fi
76013
76014   fi
76015   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76016 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76017
76018     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76019
76020 for ac_func in _isnanl
76021 do
76022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76023 echo "$as_me:$LINENO: checking for $ac_func" >&5
76024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76025 if eval "test \"\${$as_ac_var+set}\" = set"; then
76026   echo $ECHO_N "(cached) $ECHO_C" >&6
76027 else
76028   if test x$gcc_no_link = xyes; then
76029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76031    { (exit 1); exit 1; }; }
76032 fi
76033 cat >conftest.$ac_ext <<_ACEOF
76034 /* confdefs.h.  */
76035 _ACEOF
76036 cat confdefs.h >>conftest.$ac_ext
76037 cat >>conftest.$ac_ext <<_ACEOF
76038 /* end confdefs.h.  */
76039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76041 #define $ac_func innocuous_$ac_func
76042
76043 /* System header to define __stub macros and hopefully few prototypes,
76044     which can conflict with char $ac_func (); below.
76045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76046     <limits.h> exists even on freestanding compilers.  */
76047
76048 #ifdef __STDC__
76049 # include <limits.h>
76050 #else
76051 # include <assert.h>
76052 #endif
76053
76054 #undef $ac_func
76055
76056 /* Override any gcc2 internal prototype to avoid an error.  */
76057 #ifdef __cplusplus
76058 extern "C"
76059 {
76060 #endif
76061 /* We use char because int might match the return type of a gcc2
76062    builtin and then its argument prototype would still apply.  */
76063 char $ac_func ();
76064 /* The GNU C library defines this for functions which it implements
76065     to always fail with ENOSYS.  Some functions are actually named
76066     something starting with __ and the normal name is an alias.  */
76067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76068 choke me
76069 #else
76070 char (*f) () = $ac_func;
76071 #endif
76072 #ifdef __cplusplus
76073 }
76074 #endif
76075
76076 int
76077 main ()
76078 {
76079 return f != $ac_func;
76080   ;
76081   return 0;
76082 }
76083 _ACEOF
76084 rm -f conftest.$ac_objext conftest$ac_exeext
76085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76086   (eval $ac_link) 2>conftest.er1
76087   ac_status=$?
76088   grep -v '^ *+' conftest.er1 >conftest.err
76089   rm -f conftest.er1
76090   cat conftest.err >&5
76091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76092   (exit $ac_status); } &&
76093          { ac_try='test -z "$ac_c_werror_flag"
76094                          || test ! -s conftest.err'
76095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76096   (eval $ac_try) 2>&5
76097   ac_status=$?
76098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76099   (exit $ac_status); }; } &&
76100          { ac_try='test -s conftest$ac_exeext'
76101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76102   (eval $ac_try) 2>&5
76103   ac_status=$?
76104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76105   (exit $ac_status); }; }; then
76106   eval "$as_ac_var=yes"
76107 else
76108   echo "$as_me: failed program was:" >&5
76109 sed 's/^/| /' conftest.$ac_ext >&5
76110
76111 eval "$as_ac_var=no"
76112 fi
76113 rm -f conftest.err conftest.$ac_objext \
76114       conftest$ac_exeext conftest.$ac_ext
76115 fi
76116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76118 if test `eval echo '${'$as_ac_var'}'` = yes; then
76119   cat >>confdefs.h <<_ACEOF
76120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76121 _ACEOF
76122
76123 fi
76124 done
76125
76126     fi
76127   fi
76128
76129
76130
76131
76132
76133
76134   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76135 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76136   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76137     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76138   echo $ECHO_N "(cached) $ECHO_C" >&6
76139 else
76140
76141
76142
76143       ac_ext=cc
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76148
76149       cat >conftest.$ac_ext <<_ACEOF
76150 /* confdefs.h.  */
76151 _ACEOF
76152 cat confdefs.h >>conftest.$ac_ext
76153 cat >>conftest.$ac_ext <<_ACEOF
76154 /* end confdefs.h.  */
76155 #include <math.h>
76156                       #ifdef HAVE_IEEEFP_H
76157                       #include <ieeefp.h>
76158                       #endif
76159
76160 int
76161 main ()
76162 {
76163  isinfl(0);
76164   ;
76165   return 0;
76166 }
76167 _ACEOF
76168 rm -f conftest.$ac_objext
76169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76170   (eval $ac_compile) 2>conftest.er1
76171   ac_status=$?
76172   grep -v '^ *+' conftest.er1 >conftest.err
76173   rm -f conftest.er1
76174   cat conftest.err >&5
76175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76176   (exit $ac_status); } &&
76177          { ac_try='test -z "$ac_cxx_werror_flag"
76178                          || test ! -s conftest.err'
76179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76180   (eval $ac_try) 2>&5
76181   ac_status=$?
76182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76183   (exit $ac_status); }; } &&
76184          { ac_try='test -s conftest.$ac_objext'
76185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76186   (eval $ac_try) 2>&5
76187   ac_status=$?
76188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76189   (exit $ac_status); }; }; then
76190   glibcxx_cv_func_isinfl_use=yes
76191 else
76192   echo "$as_me: failed program was:" >&5
76193 sed 's/^/| /' conftest.$ac_ext >&5
76194
76195 glibcxx_cv_func_isinfl_use=no
76196 fi
76197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76198       ac_ext=c
76199 ac_cpp='$CPP $CPPFLAGS'
76200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76203
76204
76205 fi
76206
76207   fi
76208   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76209 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76210
76211   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76212
76213 for ac_func in isinfl
76214 do
76215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76216 echo "$as_me:$LINENO: checking for $ac_func" >&5
76217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76218 if eval "test \"\${$as_ac_var+set}\" = set"; then
76219   echo $ECHO_N "(cached) $ECHO_C" >&6
76220 else
76221   if test x$gcc_no_link = xyes; then
76222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76224    { (exit 1); exit 1; }; }
76225 fi
76226 cat >conftest.$ac_ext <<_ACEOF
76227 /* confdefs.h.  */
76228 _ACEOF
76229 cat confdefs.h >>conftest.$ac_ext
76230 cat >>conftest.$ac_ext <<_ACEOF
76231 /* end confdefs.h.  */
76232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76234 #define $ac_func innocuous_$ac_func
76235
76236 /* System header to define __stub macros and hopefully few prototypes,
76237     which can conflict with char $ac_func (); below.
76238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76239     <limits.h> exists even on freestanding compilers.  */
76240
76241 #ifdef __STDC__
76242 # include <limits.h>
76243 #else
76244 # include <assert.h>
76245 #endif
76246
76247 #undef $ac_func
76248
76249 /* Override any gcc2 internal prototype to avoid an error.  */
76250 #ifdef __cplusplus
76251 extern "C"
76252 {
76253 #endif
76254 /* We use char because int might match the return type of a gcc2
76255    builtin and then its argument prototype would still apply.  */
76256 char $ac_func ();
76257 /* The GNU C library defines this for functions which it implements
76258     to always fail with ENOSYS.  Some functions are actually named
76259     something starting with __ and the normal name is an alias.  */
76260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76261 choke me
76262 #else
76263 char (*f) () = $ac_func;
76264 #endif
76265 #ifdef __cplusplus
76266 }
76267 #endif
76268
76269 int
76270 main ()
76271 {
76272 return f != $ac_func;
76273   ;
76274   return 0;
76275 }
76276 _ACEOF
76277 rm -f conftest.$ac_objext conftest$ac_exeext
76278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76279   (eval $ac_link) 2>conftest.er1
76280   ac_status=$?
76281   grep -v '^ *+' conftest.er1 >conftest.err
76282   rm -f conftest.er1
76283   cat conftest.err >&5
76284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76285   (exit $ac_status); } &&
76286          { ac_try='test -z "$ac_c_werror_flag"
76287                          || test ! -s conftest.err'
76288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76289   (eval $ac_try) 2>&5
76290   ac_status=$?
76291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76292   (exit $ac_status); }; } &&
76293          { ac_try='test -s conftest$ac_exeext'
76294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76295   (eval $ac_try) 2>&5
76296   ac_status=$?
76297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76298   (exit $ac_status); }; }; then
76299   eval "$as_ac_var=yes"
76300 else
76301   echo "$as_me: failed program was:" >&5
76302 sed 's/^/| /' conftest.$ac_ext >&5
76303
76304 eval "$as_ac_var=no"
76305 fi
76306 rm -f conftest.err conftest.$ac_objext \
76307       conftest$ac_exeext conftest.$ac_ext
76308 fi
76309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76311 if test `eval echo '${'$as_ac_var'}'` = yes; then
76312   cat >>confdefs.h <<_ACEOF
76313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76314 _ACEOF
76315
76316 fi
76317 done
76318
76319   else
76320
76321   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76322 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76323   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76324     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76325   echo $ECHO_N "(cached) $ECHO_C" >&6
76326 else
76327
76328
76329
76330       ac_ext=cc
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76335
76336       cat >conftest.$ac_ext <<_ACEOF
76337 /* confdefs.h.  */
76338 _ACEOF
76339 cat confdefs.h >>conftest.$ac_ext
76340 cat >>conftest.$ac_ext <<_ACEOF
76341 /* end confdefs.h.  */
76342 #include <math.h>
76343                       #ifdef HAVE_IEEEFP_H
76344                       #include <ieeefp.h>
76345                       #endif
76346
76347 int
76348 main ()
76349 {
76350  _isinfl(0);
76351   ;
76352   return 0;
76353 }
76354 _ACEOF
76355 rm -f conftest.$ac_objext
76356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76357   (eval $ac_compile) 2>conftest.er1
76358   ac_status=$?
76359   grep -v '^ *+' conftest.er1 >conftest.err
76360   rm -f conftest.er1
76361   cat conftest.err >&5
76362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76363   (exit $ac_status); } &&
76364          { ac_try='test -z "$ac_cxx_werror_flag"
76365                          || test ! -s conftest.err'
76366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76367   (eval $ac_try) 2>&5
76368   ac_status=$?
76369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76370   (exit $ac_status); }; } &&
76371          { ac_try='test -s conftest.$ac_objext'
76372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76373   (eval $ac_try) 2>&5
76374   ac_status=$?
76375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76376   (exit $ac_status); }; }; then
76377   glibcxx_cv_func__isinfl_use=yes
76378 else
76379   echo "$as_me: failed program was:" >&5
76380 sed 's/^/| /' conftest.$ac_ext >&5
76381
76382 glibcxx_cv_func__isinfl_use=no
76383 fi
76384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76385       ac_ext=c
76386 ac_cpp='$CPP $CPPFLAGS'
76387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76390
76391
76392 fi
76393
76394   fi
76395   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76396 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76397
76398     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76399
76400 for ac_func in _isinfl
76401 do
76402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76403 echo "$as_me:$LINENO: checking for $ac_func" >&5
76404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76405 if eval "test \"\${$as_ac_var+set}\" = set"; then
76406   echo $ECHO_N "(cached) $ECHO_C" >&6
76407 else
76408   if test x$gcc_no_link = xyes; then
76409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76411    { (exit 1); exit 1; }; }
76412 fi
76413 cat >conftest.$ac_ext <<_ACEOF
76414 /* confdefs.h.  */
76415 _ACEOF
76416 cat confdefs.h >>conftest.$ac_ext
76417 cat >>conftest.$ac_ext <<_ACEOF
76418 /* end confdefs.h.  */
76419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76421 #define $ac_func innocuous_$ac_func
76422
76423 /* System header to define __stub macros and hopefully few prototypes,
76424     which can conflict with char $ac_func (); below.
76425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76426     <limits.h> exists even on freestanding compilers.  */
76427
76428 #ifdef __STDC__
76429 # include <limits.h>
76430 #else
76431 # include <assert.h>
76432 #endif
76433
76434 #undef $ac_func
76435
76436 /* Override any gcc2 internal prototype to avoid an error.  */
76437 #ifdef __cplusplus
76438 extern "C"
76439 {
76440 #endif
76441 /* We use char because int might match the return type of a gcc2
76442    builtin and then its argument prototype would still apply.  */
76443 char $ac_func ();
76444 /* The GNU C library defines this for functions which it implements
76445     to always fail with ENOSYS.  Some functions are actually named
76446     something starting with __ and the normal name is an alias.  */
76447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76448 choke me
76449 #else
76450 char (*f) () = $ac_func;
76451 #endif
76452 #ifdef __cplusplus
76453 }
76454 #endif
76455
76456 int
76457 main ()
76458 {
76459 return f != $ac_func;
76460   ;
76461   return 0;
76462 }
76463 _ACEOF
76464 rm -f conftest.$ac_objext conftest$ac_exeext
76465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76466   (eval $ac_link) 2>conftest.er1
76467   ac_status=$?
76468   grep -v '^ *+' conftest.er1 >conftest.err
76469   rm -f conftest.er1
76470   cat conftest.err >&5
76471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76472   (exit $ac_status); } &&
76473          { ac_try='test -z "$ac_c_werror_flag"
76474                          || test ! -s conftest.err'
76475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76476   (eval $ac_try) 2>&5
76477   ac_status=$?
76478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76479   (exit $ac_status); }; } &&
76480          { ac_try='test -s conftest$ac_exeext'
76481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76482   (eval $ac_try) 2>&5
76483   ac_status=$?
76484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76485   (exit $ac_status); }; }; then
76486   eval "$as_ac_var=yes"
76487 else
76488   echo "$as_me: failed program was:" >&5
76489 sed 's/^/| /' conftest.$ac_ext >&5
76490
76491 eval "$as_ac_var=no"
76492 fi
76493 rm -f conftest.err conftest.$ac_objext \
76494       conftest$ac_exeext conftest.$ac_ext
76495 fi
76496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76498 if test `eval echo '${'$as_ac_var'}'` = yes; then
76499   cat >>confdefs.h <<_ACEOF
76500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76501 _ACEOF
76502
76503 fi
76504 done
76505
76506     fi
76507   fi
76508
76509
76510
76511
76512
76513
76514   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
76515 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
76516   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
76517     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
76518   echo $ECHO_N "(cached) $ECHO_C" >&6
76519 else
76520
76521
76522
76523       ac_ext=cc
76524 ac_cpp='$CXXCPP $CPPFLAGS'
76525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76528
76529       cat >conftest.$ac_ext <<_ACEOF
76530 /* confdefs.h.  */
76531 _ACEOF
76532 cat confdefs.h >>conftest.$ac_ext
76533 cat >>conftest.$ac_ext <<_ACEOF
76534 /* end confdefs.h.  */
76535 #include <math.h>
76536 int
76537 main ()
76538 {
76539  copysignl(0, 0);
76540   ;
76541   return 0;
76542 }
76543 _ACEOF
76544 rm -f conftest.$ac_objext
76545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76546   (eval $ac_compile) 2>conftest.er1
76547   ac_status=$?
76548   grep -v '^ *+' conftest.er1 >conftest.err
76549   rm -f conftest.er1
76550   cat conftest.err >&5
76551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76552   (exit $ac_status); } &&
76553          { ac_try='test -z "$ac_cxx_werror_flag"
76554                          || test ! -s conftest.err'
76555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76556   (eval $ac_try) 2>&5
76557   ac_status=$?
76558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76559   (exit $ac_status); }; } &&
76560          { ac_try='test -s conftest.$ac_objext'
76561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76562   (eval $ac_try) 2>&5
76563   ac_status=$?
76564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76565   (exit $ac_status); }; }; then
76566   glibcxx_cv_func_copysignl_use=yes
76567 else
76568   echo "$as_me: failed program was:" >&5
76569 sed 's/^/| /' conftest.$ac_ext >&5
76570
76571 glibcxx_cv_func_copysignl_use=no
76572 fi
76573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76574       ac_ext=c
76575 ac_cpp='$CPP $CPPFLAGS'
76576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76579
76580
76581 fi
76582
76583   fi
76584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76585 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76586
76587   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76588
76589 for ac_func in copysignl
76590 do
76591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76592 echo "$as_me:$LINENO: checking for $ac_func" >&5
76593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76594 if eval "test \"\${$as_ac_var+set}\" = set"; then
76595   echo $ECHO_N "(cached) $ECHO_C" >&6
76596 else
76597   if test x$gcc_no_link = xyes; then
76598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76600    { (exit 1); exit 1; }; }
76601 fi
76602 cat >conftest.$ac_ext <<_ACEOF
76603 /* confdefs.h.  */
76604 _ACEOF
76605 cat confdefs.h >>conftest.$ac_ext
76606 cat >>conftest.$ac_ext <<_ACEOF
76607 /* end confdefs.h.  */
76608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76610 #define $ac_func innocuous_$ac_func
76611
76612 /* System header to define __stub macros and hopefully few prototypes,
76613     which can conflict with char $ac_func (); below.
76614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76615     <limits.h> exists even on freestanding compilers.  */
76616
76617 #ifdef __STDC__
76618 # include <limits.h>
76619 #else
76620 # include <assert.h>
76621 #endif
76622
76623 #undef $ac_func
76624
76625 /* Override any gcc2 internal prototype to avoid an error.  */
76626 #ifdef __cplusplus
76627 extern "C"
76628 {
76629 #endif
76630 /* We use char because int might match the return type of a gcc2
76631    builtin and then its argument prototype would still apply.  */
76632 char $ac_func ();
76633 /* The GNU C library defines this for functions which it implements
76634     to always fail with ENOSYS.  Some functions are actually named
76635     something starting with __ and the normal name is an alias.  */
76636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76637 choke me
76638 #else
76639 char (*f) () = $ac_func;
76640 #endif
76641 #ifdef __cplusplus
76642 }
76643 #endif
76644
76645 int
76646 main ()
76647 {
76648 return f != $ac_func;
76649   ;
76650   return 0;
76651 }
76652 _ACEOF
76653 rm -f conftest.$ac_objext conftest$ac_exeext
76654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76655   (eval $ac_link) 2>conftest.er1
76656   ac_status=$?
76657   grep -v '^ *+' conftest.er1 >conftest.err
76658   rm -f conftest.er1
76659   cat conftest.err >&5
76660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76661   (exit $ac_status); } &&
76662          { ac_try='test -z "$ac_c_werror_flag"
76663                          || test ! -s conftest.err'
76664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76665   (eval $ac_try) 2>&5
76666   ac_status=$?
76667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76668   (exit $ac_status); }; } &&
76669          { ac_try='test -s conftest$ac_exeext'
76670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76671   (eval $ac_try) 2>&5
76672   ac_status=$?
76673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76674   (exit $ac_status); }; }; then
76675   eval "$as_ac_var=yes"
76676 else
76677   echo "$as_me: failed program was:" >&5
76678 sed 's/^/| /' conftest.$ac_ext >&5
76679
76680 eval "$as_ac_var=no"
76681 fi
76682 rm -f conftest.err conftest.$ac_objext \
76683       conftest$ac_exeext conftest.$ac_ext
76684 fi
76685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76687 if test `eval echo '${'$as_ac_var'}'` = yes; then
76688   cat >>confdefs.h <<_ACEOF
76689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76690 _ACEOF
76691
76692 fi
76693 done
76694
76695   else
76696
76697   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76698 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76699   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76700     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76701   echo $ECHO_N "(cached) $ECHO_C" >&6
76702 else
76703
76704
76705
76706       ac_ext=cc
76707 ac_cpp='$CXXCPP $CPPFLAGS'
76708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76711
76712       cat >conftest.$ac_ext <<_ACEOF
76713 /* confdefs.h.  */
76714 _ACEOF
76715 cat confdefs.h >>conftest.$ac_ext
76716 cat >>conftest.$ac_ext <<_ACEOF
76717 /* end confdefs.h.  */
76718 #include <math.h>
76719 int
76720 main ()
76721 {
76722  _copysignl(0, 0);
76723   ;
76724   return 0;
76725 }
76726 _ACEOF
76727 rm -f conftest.$ac_objext
76728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76729   (eval $ac_compile) 2>conftest.er1
76730   ac_status=$?
76731   grep -v '^ *+' conftest.er1 >conftest.err
76732   rm -f conftest.er1
76733   cat conftest.err >&5
76734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76735   (exit $ac_status); } &&
76736          { ac_try='test -z "$ac_cxx_werror_flag"
76737                          || test ! -s conftest.err'
76738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76739   (eval $ac_try) 2>&5
76740   ac_status=$?
76741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76742   (exit $ac_status); }; } &&
76743          { ac_try='test -s conftest.$ac_objext'
76744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76745   (eval $ac_try) 2>&5
76746   ac_status=$?
76747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748   (exit $ac_status); }; }; then
76749   glibcxx_cv_func__copysignl_use=yes
76750 else
76751   echo "$as_me: failed program was:" >&5
76752 sed 's/^/| /' conftest.$ac_ext >&5
76753
76754 glibcxx_cv_func__copysignl_use=no
76755 fi
76756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76757       ac_ext=c
76758 ac_cpp='$CPP $CPPFLAGS'
76759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76762
76763
76764 fi
76765
76766   fi
76767   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76768 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76769
76770     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76771
76772 for ac_func in _copysignl
76773 do
76774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76775 echo "$as_me:$LINENO: checking for $ac_func" >&5
76776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76777 if eval "test \"\${$as_ac_var+set}\" = set"; then
76778   echo $ECHO_N "(cached) $ECHO_C" >&6
76779 else
76780   if test x$gcc_no_link = xyes; then
76781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76783    { (exit 1); exit 1; }; }
76784 fi
76785 cat >conftest.$ac_ext <<_ACEOF
76786 /* confdefs.h.  */
76787 _ACEOF
76788 cat confdefs.h >>conftest.$ac_ext
76789 cat >>conftest.$ac_ext <<_ACEOF
76790 /* end confdefs.h.  */
76791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76793 #define $ac_func innocuous_$ac_func
76794
76795 /* System header to define __stub macros and hopefully few prototypes,
76796     which can conflict with char $ac_func (); below.
76797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76798     <limits.h> exists even on freestanding compilers.  */
76799
76800 #ifdef __STDC__
76801 # include <limits.h>
76802 #else
76803 # include <assert.h>
76804 #endif
76805
76806 #undef $ac_func
76807
76808 /* Override any gcc2 internal prototype to avoid an error.  */
76809 #ifdef __cplusplus
76810 extern "C"
76811 {
76812 #endif
76813 /* We use char because int might match the return type of a gcc2
76814    builtin and then its argument prototype would still apply.  */
76815 char $ac_func ();
76816 /* The GNU C library defines this for functions which it implements
76817     to always fail with ENOSYS.  Some functions are actually named
76818     something starting with __ and the normal name is an alias.  */
76819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76820 choke me
76821 #else
76822 char (*f) () = $ac_func;
76823 #endif
76824 #ifdef __cplusplus
76825 }
76826 #endif
76827
76828 int
76829 main ()
76830 {
76831 return f != $ac_func;
76832   ;
76833   return 0;
76834 }
76835 _ACEOF
76836 rm -f conftest.$ac_objext conftest$ac_exeext
76837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76838   (eval $ac_link) 2>conftest.er1
76839   ac_status=$?
76840   grep -v '^ *+' conftest.er1 >conftest.err
76841   rm -f conftest.er1
76842   cat conftest.err >&5
76843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76844   (exit $ac_status); } &&
76845          { ac_try='test -z "$ac_c_werror_flag"
76846                          || test ! -s conftest.err'
76847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848   (eval $ac_try) 2>&5
76849   ac_status=$?
76850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851   (exit $ac_status); }; } &&
76852          { ac_try='test -s conftest$ac_exeext'
76853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76854   (eval $ac_try) 2>&5
76855   ac_status=$?
76856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76857   (exit $ac_status); }; }; then
76858   eval "$as_ac_var=yes"
76859 else
76860   echo "$as_me: failed program was:" >&5
76861 sed 's/^/| /' conftest.$ac_ext >&5
76862
76863 eval "$as_ac_var=no"
76864 fi
76865 rm -f conftest.err conftest.$ac_objext \
76866       conftest$ac_exeext conftest.$ac_ext
76867 fi
76868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76870 if test `eval echo '${'$as_ac_var'}'` = yes; then
76871   cat >>confdefs.h <<_ACEOF
76872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76873 _ACEOF
76874
76875 fi
76876 done
76877
76878     fi
76879   fi
76880
76881
76882
76883
76884
76885
76886   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76887 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76888   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76889     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76890   echo $ECHO_N "(cached) $ECHO_C" >&6
76891 else
76892
76893
76894
76895       ac_ext=cc
76896 ac_cpp='$CXXCPP $CPPFLAGS'
76897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76900
76901       cat >conftest.$ac_ext <<_ACEOF
76902 /* confdefs.h.  */
76903 _ACEOF
76904 cat confdefs.h >>conftest.$ac_ext
76905 cat >>conftest.$ac_ext <<_ACEOF
76906 /* end confdefs.h.  */
76907 #include <math.h>
76908 int
76909 main ()
76910 {
76911  atan2l(0, 0);
76912   ;
76913   return 0;
76914 }
76915 _ACEOF
76916 rm -f conftest.$ac_objext
76917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76918   (eval $ac_compile) 2>conftest.er1
76919   ac_status=$?
76920   grep -v '^ *+' conftest.er1 >conftest.err
76921   rm -f conftest.er1
76922   cat conftest.err >&5
76923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76924   (exit $ac_status); } &&
76925          { ac_try='test -z "$ac_cxx_werror_flag"
76926                          || test ! -s conftest.err'
76927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76928   (eval $ac_try) 2>&5
76929   ac_status=$?
76930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76931   (exit $ac_status); }; } &&
76932          { ac_try='test -s conftest.$ac_objext'
76933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76934   (eval $ac_try) 2>&5
76935   ac_status=$?
76936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76937   (exit $ac_status); }; }; then
76938   glibcxx_cv_func_atan2l_use=yes
76939 else
76940   echo "$as_me: failed program was:" >&5
76941 sed 's/^/| /' conftest.$ac_ext >&5
76942
76943 glibcxx_cv_func_atan2l_use=no
76944 fi
76945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76946       ac_ext=c
76947 ac_cpp='$CPP $CPPFLAGS'
76948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76951
76952
76953 fi
76954
76955   fi
76956   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76957 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76958
76959   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76960
76961 for ac_func in atan2l
76962 do
76963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76964 echo "$as_me:$LINENO: checking for $ac_func" >&5
76965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76966 if eval "test \"\${$as_ac_var+set}\" = set"; then
76967   echo $ECHO_N "(cached) $ECHO_C" >&6
76968 else
76969   if test x$gcc_no_link = xyes; then
76970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76972    { (exit 1); exit 1; }; }
76973 fi
76974 cat >conftest.$ac_ext <<_ACEOF
76975 /* confdefs.h.  */
76976 _ACEOF
76977 cat confdefs.h >>conftest.$ac_ext
76978 cat >>conftest.$ac_ext <<_ACEOF
76979 /* end confdefs.h.  */
76980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76982 #define $ac_func innocuous_$ac_func
76983
76984 /* System header to define __stub macros and hopefully few prototypes,
76985     which can conflict with char $ac_func (); below.
76986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76987     <limits.h> exists even on freestanding compilers.  */
76988
76989 #ifdef __STDC__
76990 # include <limits.h>
76991 #else
76992 # include <assert.h>
76993 #endif
76994
76995 #undef $ac_func
76996
76997 /* Override any gcc2 internal prototype to avoid an error.  */
76998 #ifdef __cplusplus
76999 extern "C"
77000 {
77001 #endif
77002 /* We use char because int might match the return type of a gcc2
77003    builtin and then its argument prototype would still apply.  */
77004 char $ac_func ();
77005 /* The GNU C library defines this for functions which it implements
77006     to always fail with ENOSYS.  Some functions are actually named
77007     something starting with __ and the normal name is an alias.  */
77008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77009 choke me
77010 #else
77011 char (*f) () = $ac_func;
77012 #endif
77013 #ifdef __cplusplus
77014 }
77015 #endif
77016
77017 int
77018 main ()
77019 {
77020 return f != $ac_func;
77021   ;
77022   return 0;
77023 }
77024 _ACEOF
77025 rm -f conftest.$ac_objext conftest$ac_exeext
77026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77027   (eval $ac_link) 2>conftest.er1
77028   ac_status=$?
77029   grep -v '^ *+' conftest.er1 >conftest.err
77030   rm -f conftest.er1
77031   cat conftest.err >&5
77032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77033   (exit $ac_status); } &&
77034          { ac_try='test -z "$ac_c_werror_flag"
77035                          || test ! -s conftest.err'
77036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77037   (eval $ac_try) 2>&5
77038   ac_status=$?
77039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77040   (exit $ac_status); }; } &&
77041          { ac_try='test -s conftest$ac_exeext'
77042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77043   (eval $ac_try) 2>&5
77044   ac_status=$?
77045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77046   (exit $ac_status); }; }; then
77047   eval "$as_ac_var=yes"
77048 else
77049   echo "$as_me: failed program was:" >&5
77050 sed 's/^/| /' conftest.$ac_ext >&5
77051
77052 eval "$as_ac_var=no"
77053 fi
77054 rm -f conftest.err conftest.$ac_objext \
77055       conftest$ac_exeext conftest.$ac_ext
77056 fi
77057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77059 if test `eval echo '${'$as_ac_var'}'` = yes; then
77060   cat >>confdefs.h <<_ACEOF
77061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77062 _ACEOF
77063
77064 fi
77065 done
77066
77067   else
77068
77069   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77070 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77071   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77072     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77073   echo $ECHO_N "(cached) $ECHO_C" >&6
77074 else
77075
77076
77077
77078       ac_ext=cc
77079 ac_cpp='$CXXCPP $CPPFLAGS'
77080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77083
77084       cat >conftest.$ac_ext <<_ACEOF
77085 /* confdefs.h.  */
77086 _ACEOF
77087 cat confdefs.h >>conftest.$ac_ext
77088 cat >>conftest.$ac_ext <<_ACEOF
77089 /* end confdefs.h.  */
77090 #include <math.h>
77091 int
77092 main ()
77093 {
77094  _atan2l(0, 0);
77095   ;
77096   return 0;
77097 }
77098 _ACEOF
77099 rm -f conftest.$ac_objext
77100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77101   (eval $ac_compile) 2>conftest.er1
77102   ac_status=$?
77103   grep -v '^ *+' conftest.er1 >conftest.err
77104   rm -f conftest.er1
77105   cat conftest.err >&5
77106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77107   (exit $ac_status); } &&
77108          { ac_try='test -z "$ac_cxx_werror_flag"
77109                          || test ! -s conftest.err'
77110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77111   (eval $ac_try) 2>&5
77112   ac_status=$?
77113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77114   (exit $ac_status); }; } &&
77115          { ac_try='test -s conftest.$ac_objext'
77116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77117   (eval $ac_try) 2>&5
77118   ac_status=$?
77119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77120   (exit $ac_status); }; }; then
77121   glibcxx_cv_func__atan2l_use=yes
77122 else
77123   echo "$as_me: failed program was:" >&5
77124 sed 's/^/| /' conftest.$ac_ext >&5
77125
77126 glibcxx_cv_func__atan2l_use=no
77127 fi
77128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77129       ac_ext=c
77130 ac_cpp='$CPP $CPPFLAGS'
77131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77134
77135
77136 fi
77137
77138   fi
77139   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77140 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77141
77142     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77143
77144 for ac_func in _atan2l
77145 do
77146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77147 echo "$as_me:$LINENO: checking for $ac_func" >&5
77148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77149 if eval "test \"\${$as_ac_var+set}\" = set"; then
77150   echo $ECHO_N "(cached) $ECHO_C" >&6
77151 else
77152   if test x$gcc_no_link = xyes; then
77153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77155    { (exit 1); exit 1; }; }
77156 fi
77157 cat >conftest.$ac_ext <<_ACEOF
77158 /* confdefs.h.  */
77159 _ACEOF
77160 cat confdefs.h >>conftest.$ac_ext
77161 cat >>conftest.$ac_ext <<_ACEOF
77162 /* end confdefs.h.  */
77163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77165 #define $ac_func innocuous_$ac_func
77166
77167 /* System header to define __stub macros and hopefully few prototypes,
77168     which can conflict with char $ac_func (); below.
77169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77170     <limits.h> exists even on freestanding compilers.  */
77171
77172 #ifdef __STDC__
77173 # include <limits.h>
77174 #else
77175 # include <assert.h>
77176 #endif
77177
77178 #undef $ac_func
77179
77180 /* Override any gcc2 internal prototype to avoid an error.  */
77181 #ifdef __cplusplus
77182 extern "C"
77183 {
77184 #endif
77185 /* We use char because int might match the return type of a gcc2
77186    builtin and then its argument prototype would still apply.  */
77187 char $ac_func ();
77188 /* The GNU C library defines this for functions which it implements
77189     to always fail with ENOSYS.  Some functions are actually named
77190     something starting with __ and the normal name is an alias.  */
77191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77192 choke me
77193 #else
77194 char (*f) () = $ac_func;
77195 #endif
77196 #ifdef __cplusplus
77197 }
77198 #endif
77199
77200 int
77201 main ()
77202 {
77203 return f != $ac_func;
77204   ;
77205   return 0;
77206 }
77207 _ACEOF
77208 rm -f conftest.$ac_objext conftest$ac_exeext
77209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77210   (eval $ac_link) 2>conftest.er1
77211   ac_status=$?
77212   grep -v '^ *+' conftest.er1 >conftest.err
77213   rm -f conftest.er1
77214   cat conftest.err >&5
77215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77216   (exit $ac_status); } &&
77217          { ac_try='test -z "$ac_c_werror_flag"
77218                          || test ! -s conftest.err'
77219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77220   (eval $ac_try) 2>&5
77221   ac_status=$?
77222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77223   (exit $ac_status); }; } &&
77224          { ac_try='test -s conftest$ac_exeext'
77225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77226   (eval $ac_try) 2>&5
77227   ac_status=$?
77228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77229   (exit $ac_status); }; }; then
77230   eval "$as_ac_var=yes"
77231 else
77232   echo "$as_me: failed program was:" >&5
77233 sed 's/^/| /' conftest.$ac_ext >&5
77234
77235 eval "$as_ac_var=no"
77236 fi
77237 rm -f conftest.err conftest.$ac_objext \
77238       conftest$ac_exeext conftest.$ac_ext
77239 fi
77240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77242 if test `eval echo '${'$as_ac_var'}'` = yes; then
77243   cat >>confdefs.h <<_ACEOF
77244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77245 _ACEOF
77246
77247 fi
77248 done
77249
77250     fi
77251   fi
77252
77253
77254
77255
77256
77257
77258   echo "$as_me:$LINENO: checking for expl declaration" >&5
77259 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77260   if test x${glibcxx_cv_func_expl_use+set} != xset; then
77261     if test "${glibcxx_cv_func_expl_use+set}" = set; then
77262   echo $ECHO_N "(cached) $ECHO_C" >&6
77263 else
77264
77265
77266
77267       ac_ext=cc
77268 ac_cpp='$CXXCPP $CPPFLAGS'
77269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77272
77273       cat >conftest.$ac_ext <<_ACEOF
77274 /* confdefs.h.  */
77275 _ACEOF
77276 cat confdefs.h >>conftest.$ac_ext
77277 cat >>conftest.$ac_ext <<_ACEOF
77278 /* end confdefs.h.  */
77279 #include <math.h>
77280                       #ifdef HAVE_IEEEFP_H
77281                       #include <ieeefp.h>
77282                       #endif
77283
77284 int
77285 main ()
77286 {
77287  expl(0);
77288   ;
77289   return 0;
77290 }
77291 _ACEOF
77292 rm -f conftest.$ac_objext
77293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77294   (eval $ac_compile) 2>conftest.er1
77295   ac_status=$?
77296   grep -v '^ *+' conftest.er1 >conftest.err
77297   rm -f conftest.er1
77298   cat conftest.err >&5
77299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77300   (exit $ac_status); } &&
77301          { ac_try='test -z "$ac_cxx_werror_flag"
77302                          || test ! -s conftest.err'
77303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77304   (eval $ac_try) 2>&5
77305   ac_status=$?
77306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77307   (exit $ac_status); }; } &&
77308          { ac_try='test -s conftest.$ac_objext'
77309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77310   (eval $ac_try) 2>&5
77311   ac_status=$?
77312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77313   (exit $ac_status); }; }; then
77314   glibcxx_cv_func_expl_use=yes
77315 else
77316   echo "$as_me: failed program was:" >&5
77317 sed 's/^/| /' conftest.$ac_ext >&5
77318
77319 glibcxx_cv_func_expl_use=no
77320 fi
77321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77322       ac_ext=c
77323 ac_cpp='$CPP $CPPFLAGS'
77324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77327
77328
77329 fi
77330
77331   fi
77332   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77333 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77334
77335   if test x$glibcxx_cv_func_expl_use = x"yes"; then
77336
77337 for ac_func in expl
77338 do
77339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77340 echo "$as_me:$LINENO: checking for $ac_func" >&5
77341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77342 if eval "test \"\${$as_ac_var+set}\" = set"; then
77343   echo $ECHO_N "(cached) $ECHO_C" >&6
77344 else
77345   if test x$gcc_no_link = xyes; then
77346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77348    { (exit 1); exit 1; }; }
77349 fi
77350 cat >conftest.$ac_ext <<_ACEOF
77351 /* confdefs.h.  */
77352 _ACEOF
77353 cat confdefs.h >>conftest.$ac_ext
77354 cat >>conftest.$ac_ext <<_ACEOF
77355 /* end confdefs.h.  */
77356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77358 #define $ac_func innocuous_$ac_func
77359
77360 /* System header to define __stub macros and hopefully few prototypes,
77361     which can conflict with char $ac_func (); below.
77362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77363     <limits.h> exists even on freestanding compilers.  */
77364
77365 #ifdef __STDC__
77366 # include <limits.h>
77367 #else
77368 # include <assert.h>
77369 #endif
77370
77371 #undef $ac_func
77372
77373 /* Override any gcc2 internal prototype to avoid an error.  */
77374 #ifdef __cplusplus
77375 extern "C"
77376 {
77377 #endif
77378 /* We use char because int might match the return type of a gcc2
77379    builtin and then its argument prototype would still apply.  */
77380 char $ac_func ();
77381 /* The GNU C library defines this for functions which it implements
77382     to always fail with ENOSYS.  Some functions are actually named
77383     something starting with __ and the normal name is an alias.  */
77384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77385 choke me
77386 #else
77387 char (*f) () = $ac_func;
77388 #endif
77389 #ifdef __cplusplus
77390 }
77391 #endif
77392
77393 int
77394 main ()
77395 {
77396 return f != $ac_func;
77397   ;
77398   return 0;
77399 }
77400 _ACEOF
77401 rm -f conftest.$ac_objext conftest$ac_exeext
77402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77403   (eval $ac_link) 2>conftest.er1
77404   ac_status=$?
77405   grep -v '^ *+' conftest.er1 >conftest.err
77406   rm -f conftest.er1
77407   cat conftest.err >&5
77408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77409   (exit $ac_status); } &&
77410          { ac_try='test -z "$ac_c_werror_flag"
77411                          || test ! -s conftest.err'
77412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77413   (eval $ac_try) 2>&5
77414   ac_status=$?
77415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77416   (exit $ac_status); }; } &&
77417          { ac_try='test -s conftest$ac_exeext'
77418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77419   (eval $ac_try) 2>&5
77420   ac_status=$?
77421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77422   (exit $ac_status); }; }; then
77423   eval "$as_ac_var=yes"
77424 else
77425   echo "$as_me: failed program was:" >&5
77426 sed 's/^/| /' conftest.$ac_ext >&5
77427
77428 eval "$as_ac_var=no"
77429 fi
77430 rm -f conftest.err conftest.$ac_objext \
77431       conftest$ac_exeext conftest.$ac_ext
77432 fi
77433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77435 if test `eval echo '${'$as_ac_var'}'` = yes; then
77436   cat >>confdefs.h <<_ACEOF
77437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77438 _ACEOF
77439
77440 fi
77441 done
77442
77443   else
77444
77445   echo "$as_me:$LINENO: checking for _expl declaration" >&5
77446 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77447   if test x${glibcxx_cv_func__expl_use+set} != xset; then
77448     if test "${glibcxx_cv_func__expl_use+set}" = set; then
77449   echo $ECHO_N "(cached) $ECHO_C" >&6
77450 else
77451
77452
77453
77454       ac_ext=cc
77455 ac_cpp='$CXXCPP $CPPFLAGS'
77456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77459
77460       cat >conftest.$ac_ext <<_ACEOF
77461 /* confdefs.h.  */
77462 _ACEOF
77463 cat confdefs.h >>conftest.$ac_ext
77464 cat >>conftest.$ac_ext <<_ACEOF
77465 /* end confdefs.h.  */
77466 #include <math.h>
77467                       #ifdef HAVE_IEEEFP_H
77468                       #include <ieeefp.h>
77469                       #endif
77470
77471 int
77472 main ()
77473 {
77474  _expl(0);
77475   ;
77476   return 0;
77477 }
77478 _ACEOF
77479 rm -f conftest.$ac_objext
77480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77481   (eval $ac_compile) 2>conftest.er1
77482   ac_status=$?
77483   grep -v '^ *+' conftest.er1 >conftest.err
77484   rm -f conftest.er1
77485   cat conftest.err >&5
77486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77487   (exit $ac_status); } &&
77488          { ac_try='test -z "$ac_cxx_werror_flag"
77489                          || test ! -s conftest.err'
77490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77491   (eval $ac_try) 2>&5
77492   ac_status=$?
77493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77494   (exit $ac_status); }; } &&
77495          { ac_try='test -s conftest.$ac_objext'
77496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77497   (eval $ac_try) 2>&5
77498   ac_status=$?
77499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77500   (exit $ac_status); }; }; then
77501   glibcxx_cv_func__expl_use=yes
77502 else
77503   echo "$as_me: failed program was:" >&5
77504 sed 's/^/| /' conftest.$ac_ext >&5
77505
77506 glibcxx_cv_func__expl_use=no
77507 fi
77508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77509       ac_ext=c
77510 ac_cpp='$CPP $CPPFLAGS'
77511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77514
77515
77516 fi
77517
77518   fi
77519   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
77520 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
77521
77522     if test x$glibcxx_cv_func__expl_use = x"yes"; then
77523
77524 for ac_func in _expl
77525 do
77526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77527 echo "$as_me:$LINENO: checking for $ac_func" >&5
77528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77529 if eval "test \"\${$as_ac_var+set}\" = set"; then
77530   echo $ECHO_N "(cached) $ECHO_C" >&6
77531 else
77532   if test x$gcc_no_link = xyes; then
77533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77535    { (exit 1); exit 1; }; }
77536 fi
77537 cat >conftest.$ac_ext <<_ACEOF
77538 /* confdefs.h.  */
77539 _ACEOF
77540 cat confdefs.h >>conftest.$ac_ext
77541 cat >>conftest.$ac_ext <<_ACEOF
77542 /* end confdefs.h.  */
77543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77545 #define $ac_func innocuous_$ac_func
77546
77547 /* System header to define __stub macros and hopefully few prototypes,
77548     which can conflict with char $ac_func (); below.
77549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77550     <limits.h> exists even on freestanding compilers.  */
77551
77552 #ifdef __STDC__
77553 # include <limits.h>
77554 #else
77555 # include <assert.h>
77556 #endif
77557
77558 #undef $ac_func
77559
77560 /* Override any gcc2 internal prototype to avoid an error.  */
77561 #ifdef __cplusplus
77562 extern "C"
77563 {
77564 #endif
77565 /* We use char because int might match the return type of a gcc2
77566    builtin and then its argument prototype would still apply.  */
77567 char $ac_func ();
77568 /* The GNU C library defines this for functions which it implements
77569     to always fail with ENOSYS.  Some functions are actually named
77570     something starting with __ and the normal name is an alias.  */
77571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77572 choke me
77573 #else
77574 char (*f) () = $ac_func;
77575 #endif
77576 #ifdef __cplusplus
77577 }
77578 #endif
77579
77580 int
77581 main ()
77582 {
77583 return f != $ac_func;
77584   ;
77585   return 0;
77586 }
77587 _ACEOF
77588 rm -f conftest.$ac_objext conftest$ac_exeext
77589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77590   (eval $ac_link) 2>conftest.er1
77591   ac_status=$?
77592   grep -v '^ *+' conftest.er1 >conftest.err
77593   rm -f conftest.er1
77594   cat conftest.err >&5
77595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77596   (exit $ac_status); } &&
77597          { ac_try='test -z "$ac_c_werror_flag"
77598                          || test ! -s conftest.err'
77599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77600   (eval $ac_try) 2>&5
77601   ac_status=$?
77602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77603   (exit $ac_status); }; } &&
77604          { ac_try='test -s conftest$ac_exeext'
77605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77606   (eval $ac_try) 2>&5
77607   ac_status=$?
77608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77609   (exit $ac_status); }; }; then
77610   eval "$as_ac_var=yes"
77611 else
77612   echo "$as_me: failed program was:" >&5
77613 sed 's/^/| /' conftest.$ac_ext >&5
77614
77615 eval "$as_ac_var=no"
77616 fi
77617 rm -f conftest.err conftest.$ac_objext \
77618       conftest$ac_exeext conftest.$ac_ext
77619 fi
77620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77622 if test `eval echo '${'$as_ac_var'}'` = yes; then
77623   cat >>confdefs.h <<_ACEOF
77624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77625 _ACEOF
77626
77627 fi
77628 done
77629
77630     fi
77631   fi
77632
77633
77634
77635
77636
77637
77638   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77639 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77640   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77641     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77642   echo $ECHO_N "(cached) $ECHO_C" >&6
77643 else
77644
77645
77646
77647       ac_ext=cc
77648 ac_cpp='$CXXCPP $CPPFLAGS'
77649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77652
77653       cat >conftest.$ac_ext <<_ACEOF
77654 /* confdefs.h.  */
77655 _ACEOF
77656 cat confdefs.h >>conftest.$ac_ext
77657 cat >>conftest.$ac_ext <<_ACEOF
77658 /* end confdefs.h.  */
77659 #include <math.h>
77660                       #ifdef HAVE_IEEEFP_H
77661                       #include <ieeefp.h>
77662                       #endif
77663
77664 int
77665 main ()
77666 {
77667  fabsl(0);
77668   ;
77669   return 0;
77670 }
77671 _ACEOF
77672 rm -f conftest.$ac_objext
77673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77674   (eval $ac_compile) 2>conftest.er1
77675   ac_status=$?
77676   grep -v '^ *+' conftest.er1 >conftest.err
77677   rm -f conftest.er1
77678   cat conftest.err >&5
77679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77680   (exit $ac_status); } &&
77681          { ac_try='test -z "$ac_cxx_werror_flag"
77682                          || test ! -s conftest.err'
77683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77684   (eval $ac_try) 2>&5
77685   ac_status=$?
77686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77687   (exit $ac_status); }; } &&
77688          { ac_try='test -s conftest.$ac_objext'
77689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77690   (eval $ac_try) 2>&5
77691   ac_status=$?
77692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77693   (exit $ac_status); }; }; then
77694   glibcxx_cv_func_fabsl_use=yes
77695 else
77696   echo "$as_me: failed program was:" >&5
77697 sed 's/^/| /' conftest.$ac_ext >&5
77698
77699 glibcxx_cv_func_fabsl_use=no
77700 fi
77701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77702       ac_ext=c
77703 ac_cpp='$CPP $CPPFLAGS'
77704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77707
77708
77709 fi
77710
77711   fi
77712   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77713 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77714
77715   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77716
77717 for ac_func in fabsl
77718 do
77719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77720 echo "$as_me:$LINENO: checking for $ac_func" >&5
77721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77722 if eval "test \"\${$as_ac_var+set}\" = set"; then
77723   echo $ECHO_N "(cached) $ECHO_C" >&6
77724 else
77725   if test x$gcc_no_link = xyes; then
77726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77728    { (exit 1); exit 1; }; }
77729 fi
77730 cat >conftest.$ac_ext <<_ACEOF
77731 /* confdefs.h.  */
77732 _ACEOF
77733 cat confdefs.h >>conftest.$ac_ext
77734 cat >>conftest.$ac_ext <<_ACEOF
77735 /* end confdefs.h.  */
77736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77738 #define $ac_func innocuous_$ac_func
77739
77740 /* System header to define __stub macros and hopefully few prototypes,
77741     which can conflict with char $ac_func (); below.
77742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77743     <limits.h> exists even on freestanding compilers.  */
77744
77745 #ifdef __STDC__
77746 # include <limits.h>
77747 #else
77748 # include <assert.h>
77749 #endif
77750
77751 #undef $ac_func
77752
77753 /* Override any gcc2 internal prototype to avoid an error.  */
77754 #ifdef __cplusplus
77755 extern "C"
77756 {
77757 #endif
77758 /* We use char because int might match the return type of a gcc2
77759    builtin and then its argument prototype would still apply.  */
77760 char $ac_func ();
77761 /* The GNU C library defines this for functions which it implements
77762     to always fail with ENOSYS.  Some functions are actually named
77763     something starting with __ and the normal name is an alias.  */
77764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77765 choke me
77766 #else
77767 char (*f) () = $ac_func;
77768 #endif
77769 #ifdef __cplusplus
77770 }
77771 #endif
77772
77773 int
77774 main ()
77775 {
77776 return f != $ac_func;
77777   ;
77778   return 0;
77779 }
77780 _ACEOF
77781 rm -f conftest.$ac_objext conftest$ac_exeext
77782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77783   (eval $ac_link) 2>conftest.er1
77784   ac_status=$?
77785   grep -v '^ *+' conftest.er1 >conftest.err
77786   rm -f conftest.er1
77787   cat conftest.err >&5
77788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77789   (exit $ac_status); } &&
77790          { ac_try='test -z "$ac_c_werror_flag"
77791                          || test ! -s conftest.err'
77792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77793   (eval $ac_try) 2>&5
77794   ac_status=$?
77795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77796   (exit $ac_status); }; } &&
77797          { ac_try='test -s conftest$ac_exeext'
77798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77799   (eval $ac_try) 2>&5
77800   ac_status=$?
77801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77802   (exit $ac_status); }; }; then
77803   eval "$as_ac_var=yes"
77804 else
77805   echo "$as_me: failed program was:" >&5
77806 sed 's/^/| /' conftest.$ac_ext >&5
77807
77808 eval "$as_ac_var=no"
77809 fi
77810 rm -f conftest.err conftest.$ac_objext \
77811       conftest$ac_exeext conftest.$ac_ext
77812 fi
77813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77815 if test `eval echo '${'$as_ac_var'}'` = yes; then
77816   cat >>confdefs.h <<_ACEOF
77817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77818 _ACEOF
77819
77820 fi
77821 done
77822
77823   else
77824
77825   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77826 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77827   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77828     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77829   echo $ECHO_N "(cached) $ECHO_C" >&6
77830 else
77831
77832
77833
77834       ac_ext=cc
77835 ac_cpp='$CXXCPP $CPPFLAGS'
77836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77839
77840       cat >conftest.$ac_ext <<_ACEOF
77841 /* confdefs.h.  */
77842 _ACEOF
77843 cat confdefs.h >>conftest.$ac_ext
77844 cat >>conftest.$ac_ext <<_ACEOF
77845 /* end confdefs.h.  */
77846 #include <math.h>
77847                       #ifdef HAVE_IEEEFP_H
77848                       #include <ieeefp.h>
77849                       #endif
77850
77851 int
77852 main ()
77853 {
77854  _fabsl(0);
77855   ;
77856   return 0;
77857 }
77858 _ACEOF
77859 rm -f conftest.$ac_objext
77860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77861   (eval $ac_compile) 2>conftest.er1
77862   ac_status=$?
77863   grep -v '^ *+' conftest.er1 >conftest.err
77864   rm -f conftest.er1
77865   cat conftest.err >&5
77866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77867   (exit $ac_status); } &&
77868          { ac_try='test -z "$ac_cxx_werror_flag"
77869                          || test ! -s conftest.err'
77870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77871   (eval $ac_try) 2>&5
77872   ac_status=$?
77873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77874   (exit $ac_status); }; } &&
77875          { ac_try='test -s conftest.$ac_objext'
77876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77877   (eval $ac_try) 2>&5
77878   ac_status=$?
77879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77880   (exit $ac_status); }; }; then
77881   glibcxx_cv_func__fabsl_use=yes
77882 else
77883   echo "$as_me: failed program was:" >&5
77884 sed 's/^/| /' conftest.$ac_ext >&5
77885
77886 glibcxx_cv_func__fabsl_use=no
77887 fi
77888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77889       ac_ext=c
77890 ac_cpp='$CPP $CPPFLAGS'
77891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77894
77895
77896 fi
77897
77898   fi
77899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77900 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77901
77902     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77903
77904 for ac_func in _fabsl
77905 do
77906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77907 echo "$as_me:$LINENO: checking for $ac_func" >&5
77908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77909 if eval "test \"\${$as_ac_var+set}\" = set"; then
77910   echo $ECHO_N "(cached) $ECHO_C" >&6
77911 else
77912   if test x$gcc_no_link = xyes; then
77913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77915    { (exit 1); exit 1; }; }
77916 fi
77917 cat >conftest.$ac_ext <<_ACEOF
77918 /* confdefs.h.  */
77919 _ACEOF
77920 cat confdefs.h >>conftest.$ac_ext
77921 cat >>conftest.$ac_ext <<_ACEOF
77922 /* end confdefs.h.  */
77923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77925 #define $ac_func innocuous_$ac_func
77926
77927 /* System header to define __stub macros and hopefully few prototypes,
77928     which can conflict with char $ac_func (); below.
77929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77930     <limits.h> exists even on freestanding compilers.  */
77931
77932 #ifdef __STDC__
77933 # include <limits.h>
77934 #else
77935 # include <assert.h>
77936 #endif
77937
77938 #undef $ac_func
77939
77940 /* Override any gcc2 internal prototype to avoid an error.  */
77941 #ifdef __cplusplus
77942 extern "C"
77943 {
77944 #endif
77945 /* We use char because int might match the return type of a gcc2
77946    builtin and then its argument prototype would still apply.  */
77947 char $ac_func ();
77948 /* The GNU C library defines this for functions which it implements
77949     to always fail with ENOSYS.  Some functions are actually named
77950     something starting with __ and the normal name is an alias.  */
77951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77952 choke me
77953 #else
77954 char (*f) () = $ac_func;
77955 #endif
77956 #ifdef __cplusplus
77957 }
77958 #endif
77959
77960 int
77961 main ()
77962 {
77963 return f != $ac_func;
77964   ;
77965   return 0;
77966 }
77967 _ACEOF
77968 rm -f conftest.$ac_objext conftest$ac_exeext
77969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77970   (eval $ac_link) 2>conftest.er1
77971   ac_status=$?
77972   grep -v '^ *+' conftest.er1 >conftest.err
77973   rm -f conftest.er1
77974   cat conftest.err >&5
77975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976   (exit $ac_status); } &&
77977          { ac_try='test -z "$ac_c_werror_flag"
77978                          || test ! -s conftest.err'
77979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77980   (eval $ac_try) 2>&5
77981   ac_status=$?
77982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77983   (exit $ac_status); }; } &&
77984          { ac_try='test -s conftest$ac_exeext'
77985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77986   (eval $ac_try) 2>&5
77987   ac_status=$?
77988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77989   (exit $ac_status); }; }; then
77990   eval "$as_ac_var=yes"
77991 else
77992   echo "$as_me: failed program was:" >&5
77993 sed 's/^/| /' conftest.$ac_ext >&5
77994
77995 eval "$as_ac_var=no"
77996 fi
77997 rm -f conftest.err conftest.$ac_objext \
77998       conftest$ac_exeext conftest.$ac_ext
77999 fi
78000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78002 if test `eval echo '${'$as_ac_var'}'` = yes; then
78003   cat >>confdefs.h <<_ACEOF
78004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78005 _ACEOF
78006
78007 fi
78008 done
78009
78010     fi
78011   fi
78012
78013
78014
78015
78016
78017
78018   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78019 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78020   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78021     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78022   echo $ECHO_N "(cached) $ECHO_C" >&6
78023 else
78024
78025
78026
78027       ac_ext=cc
78028 ac_cpp='$CXXCPP $CPPFLAGS'
78029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78032
78033       cat >conftest.$ac_ext <<_ACEOF
78034 /* confdefs.h.  */
78035 _ACEOF
78036 cat confdefs.h >>conftest.$ac_ext
78037 cat >>conftest.$ac_ext <<_ACEOF
78038 /* end confdefs.h.  */
78039 #include <math.h>
78040 int
78041 main ()
78042 {
78043  fmodl(0, 0);
78044   ;
78045   return 0;
78046 }
78047 _ACEOF
78048 rm -f conftest.$ac_objext
78049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78050   (eval $ac_compile) 2>conftest.er1
78051   ac_status=$?
78052   grep -v '^ *+' conftest.er1 >conftest.err
78053   rm -f conftest.er1
78054   cat conftest.err >&5
78055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78056   (exit $ac_status); } &&
78057          { ac_try='test -z "$ac_cxx_werror_flag"
78058                          || test ! -s conftest.err'
78059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78060   (eval $ac_try) 2>&5
78061   ac_status=$?
78062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78063   (exit $ac_status); }; } &&
78064          { ac_try='test -s conftest.$ac_objext'
78065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78066   (eval $ac_try) 2>&5
78067   ac_status=$?
78068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78069   (exit $ac_status); }; }; then
78070   glibcxx_cv_func_fmodl_use=yes
78071 else
78072   echo "$as_me: failed program was:" >&5
78073 sed 's/^/| /' conftest.$ac_ext >&5
78074
78075 glibcxx_cv_func_fmodl_use=no
78076 fi
78077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78078       ac_ext=c
78079 ac_cpp='$CPP $CPPFLAGS'
78080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78083
78084
78085 fi
78086
78087   fi
78088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78089 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78090
78091   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78092
78093 for ac_func in fmodl
78094 do
78095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78096 echo "$as_me:$LINENO: checking for $ac_func" >&5
78097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78098 if eval "test \"\${$as_ac_var+set}\" = set"; then
78099   echo $ECHO_N "(cached) $ECHO_C" >&6
78100 else
78101   if test x$gcc_no_link = xyes; then
78102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78104    { (exit 1); exit 1; }; }
78105 fi
78106 cat >conftest.$ac_ext <<_ACEOF
78107 /* confdefs.h.  */
78108 _ACEOF
78109 cat confdefs.h >>conftest.$ac_ext
78110 cat >>conftest.$ac_ext <<_ACEOF
78111 /* end confdefs.h.  */
78112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78114 #define $ac_func innocuous_$ac_func
78115
78116 /* System header to define __stub macros and hopefully few prototypes,
78117     which can conflict with char $ac_func (); below.
78118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78119     <limits.h> exists even on freestanding compilers.  */
78120
78121 #ifdef __STDC__
78122 # include <limits.h>
78123 #else
78124 # include <assert.h>
78125 #endif
78126
78127 #undef $ac_func
78128
78129 /* Override any gcc2 internal prototype to avoid an error.  */
78130 #ifdef __cplusplus
78131 extern "C"
78132 {
78133 #endif
78134 /* We use char because int might match the return type of a gcc2
78135    builtin and then its argument prototype would still apply.  */
78136 char $ac_func ();
78137 /* The GNU C library defines this for functions which it implements
78138     to always fail with ENOSYS.  Some functions are actually named
78139     something starting with __ and the normal name is an alias.  */
78140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78141 choke me
78142 #else
78143 char (*f) () = $ac_func;
78144 #endif
78145 #ifdef __cplusplus
78146 }
78147 #endif
78148
78149 int
78150 main ()
78151 {
78152 return f != $ac_func;
78153   ;
78154   return 0;
78155 }
78156 _ACEOF
78157 rm -f conftest.$ac_objext conftest$ac_exeext
78158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78159   (eval $ac_link) 2>conftest.er1
78160   ac_status=$?
78161   grep -v '^ *+' conftest.er1 >conftest.err
78162   rm -f conftest.er1
78163   cat conftest.err >&5
78164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165   (exit $ac_status); } &&
78166          { ac_try='test -z "$ac_c_werror_flag"
78167                          || test ! -s conftest.err'
78168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78169   (eval $ac_try) 2>&5
78170   ac_status=$?
78171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78172   (exit $ac_status); }; } &&
78173          { ac_try='test -s conftest$ac_exeext'
78174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78175   (eval $ac_try) 2>&5
78176   ac_status=$?
78177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78178   (exit $ac_status); }; }; then
78179   eval "$as_ac_var=yes"
78180 else
78181   echo "$as_me: failed program was:" >&5
78182 sed 's/^/| /' conftest.$ac_ext >&5
78183
78184 eval "$as_ac_var=no"
78185 fi
78186 rm -f conftest.err conftest.$ac_objext \
78187       conftest$ac_exeext conftest.$ac_ext
78188 fi
78189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78191 if test `eval echo '${'$as_ac_var'}'` = yes; then
78192   cat >>confdefs.h <<_ACEOF
78193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78194 _ACEOF
78195
78196 fi
78197 done
78198
78199   else
78200
78201   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78202 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78203   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78204     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78205   echo $ECHO_N "(cached) $ECHO_C" >&6
78206 else
78207
78208
78209
78210       ac_ext=cc
78211 ac_cpp='$CXXCPP $CPPFLAGS'
78212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78215
78216       cat >conftest.$ac_ext <<_ACEOF
78217 /* confdefs.h.  */
78218 _ACEOF
78219 cat confdefs.h >>conftest.$ac_ext
78220 cat >>conftest.$ac_ext <<_ACEOF
78221 /* end confdefs.h.  */
78222 #include <math.h>
78223 int
78224 main ()
78225 {
78226  _fmodl(0, 0);
78227   ;
78228   return 0;
78229 }
78230 _ACEOF
78231 rm -f conftest.$ac_objext
78232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78233   (eval $ac_compile) 2>conftest.er1
78234   ac_status=$?
78235   grep -v '^ *+' conftest.er1 >conftest.err
78236   rm -f conftest.er1
78237   cat conftest.err >&5
78238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78239   (exit $ac_status); } &&
78240          { ac_try='test -z "$ac_cxx_werror_flag"
78241                          || test ! -s conftest.err'
78242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78243   (eval $ac_try) 2>&5
78244   ac_status=$?
78245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78246   (exit $ac_status); }; } &&
78247          { ac_try='test -s conftest.$ac_objext'
78248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78249   (eval $ac_try) 2>&5
78250   ac_status=$?
78251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78252   (exit $ac_status); }; }; then
78253   glibcxx_cv_func__fmodl_use=yes
78254 else
78255   echo "$as_me: failed program was:" >&5
78256 sed 's/^/| /' conftest.$ac_ext >&5
78257
78258 glibcxx_cv_func__fmodl_use=no
78259 fi
78260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78261       ac_ext=c
78262 ac_cpp='$CPP $CPPFLAGS'
78263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78266
78267
78268 fi
78269
78270   fi
78271   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78272 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78273
78274     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78275
78276 for ac_func in _fmodl
78277 do
78278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78279 echo "$as_me:$LINENO: checking for $ac_func" >&5
78280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78281 if eval "test \"\${$as_ac_var+set}\" = set"; then
78282   echo $ECHO_N "(cached) $ECHO_C" >&6
78283 else
78284   if test x$gcc_no_link = xyes; then
78285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78287    { (exit 1); exit 1; }; }
78288 fi
78289 cat >conftest.$ac_ext <<_ACEOF
78290 /* confdefs.h.  */
78291 _ACEOF
78292 cat confdefs.h >>conftest.$ac_ext
78293 cat >>conftest.$ac_ext <<_ACEOF
78294 /* end confdefs.h.  */
78295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78297 #define $ac_func innocuous_$ac_func
78298
78299 /* System header to define __stub macros and hopefully few prototypes,
78300     which can conflict with char $ac_func (); below.
78301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78302     <limits.h> exists even on freestanding compilers.  */
78303
78304 #ifdef __STDC__
78305 # include <limits.h>
78306 #else
78307 # include <assert.h>
78308 #endif
78309
78310 #undef $ac_func
78311
78312 /* Override any gcc2 internal prototype to avoid an error.  */
78313 #ifdef __cplusplus
78314 extern "C"
78315 {
78316 #endif
78317 /* We use char because int might match the return type of a gcc2
78318    builtin and then its argument prototype would still apply.  */
78319 char $ac_func ();
78320 /* The GNU C library defines this for functions which it implements
78321     to always fail with ENOSYS.  Some functions are actually named
78322     something starting with __ and the normal name is an alias.  */
78323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78324 choke me
78325 #else
78326 char (*f) () = $ac_func;
78327 #endif
78328 #ifdef __cplusplus
78329 }
78330 #endif
78331
78332 int
78333 main ()
78334 {
78335 return f != $ac_func;
78336   ;
78337   return 0;
78338 }
78339 _ACEOF
78340 rm -f conftest.$ac_objext conftest$ac_exeext
78341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78342   (eval $ac_link) 2>conftest.er1
78343   ac_status=$?
78344   grep -v '^ *+' conftest.er1 >conftest.err
78345   rm -f conftest.er1
78346   cat conftest.err >&5
78347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78348   (exit $ac_status); } &&
78349          { ac_try='test -z "$ac_c_werror_flag"
78350                          || test ! -s conftest.err'
78351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78352   (eval $ac_try) 2>&5
78353   ac_status=$?
78354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78355   (exit $ac_status); }; } &&
78356          { ac_try='test -s conftest$ac_exeext'
78357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78358   (eval $ac_try) 2>&5
78359   ac_status=$?
78360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361   (exit $ac_status); }; }; then
78362   eval "$as_ac_var=yes"
78363 else
78364   echo "$as_me: failed program was:" >&5
78365 sed 's/^/| /' conftest.$ac_ext >&5
78366
78367 eval "$as_ac_var=no"
78368 fi
78369 rm -f conftest.err conftest.$ac_objext \
78370       conftest$ac_exeext conftest.$ac_ext
78371 fi
78372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78374 if test `eval echo '${'$as_ac_var'}'` = yes; then
78375   cat >>confdefs.h <<_ACEOF
78376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78377 _ACEOF
78378
78379 fi
78380 done
78381
78382     fi
78383   fi
78384
78385
78386
78387
78388
78389
78390   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78391 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78392   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78393     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78394   echo $ECHO_N "(cached) $ECHO_C" >&6
78395 else
78396
78397
78398
78399       ac_ext=cc
78400 ac_cpp='$CXXCPP $CPPFLAGS'
78401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78404
78405       cat >conftest.$ac_ext <<_ACEOF
78406 /* confdefs.h.  */
78407 _ACEOF
78408 cat confdefs.h >>conftest.$ac_ext
78409 cat >>conftest.$ac_ext <<_ACEOF
78410 /* end confdefs.h.  */
78411 #include <math.h>
78412 int
78413 main ()
78414 {
78415  frexpl(0, 0);
78416   ;
78417   return 0;
78418 }
78419 _ACEOF
78420 rm -f conftest.$ac_objext
78421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78422   (eval $ac_compile) 2>conftest.er1
78423   ac_status=$?
78424   grep -v '^ *+' conftest.er1 >conftest.err
78425   rm -f conftest.er1
78426   cat conftest.err >&5
78427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428   (exit $ac_status); } &&
78429          { ac_try='test -z "$ac_cxx_werror_flag"
78430                          || test ! -s conftest.err'
78431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78432   (eval $ac_try) 2>&5
78433   ac_status=$?
78434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78435   (exit $ac_status); }; } &&
78436          { ac_try='test -s conftest.$ac_objext'
78437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438   (eval $ac_try) 2>&5
78439   ac_status=$?
78440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441   (exit $ac_status); }; }; then
78442   glibcxx_cv_func_frexpl_use=yes
78443 else
78444   echo "$as_me: failed program was:" >&5
78445 sed 's/^/| /' conftest.$ac_ext >&5
78446
78447 glibcxx_cv_func_frexpl_use=no
78448 fi
78449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78450       ac_ext=c
78451 ac_cpp='$CPP $CPPFLAGS'
78452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78455
78456
78457 fi
78458
78459   fi
78460   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78461 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78462
78463   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78464
78465 for ac_func in frexpl
78466 do
78467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78468 echo "$as_me:$LINENO: checking for $ac_func" >&5
78469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78470 if eval "test \"\${$as_ac_var+set}\" = set"; then
78471   echo $ECHO_N "(cached) $ECHO_C" >&6
78472 else
78473   if test x$gcc_no_link = xyes; then
78474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78476    { (exit 1); exit 1; }; }
78477 fi
78478 cat >conftest.$ac_ext <<_ACEOF
78479 /* confdefs.h.  */
78480 _ACEOF
78481 cat confdefs.h >>conftest.$ac_ext
78482 cat >>conftest.$ac_ext <<_ACEOF
78483 /* end confdefs.h.  */
78484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78486 #define $ac_func innocuous_$ac_func
78487
78488 /* System header to define __stub macros and hopefully few prototypes,
78489     which can conflict with char $ac_func (); below.
78490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78491     <limits.h> exists even on freestanding compilers.  */
78492
78493 #ifdef __STDC__
78494 # include <limits.h>
78495 #else
78496 # include <assert.h>
78497 #endif
78498
78499 #undef $ac_func
78500
78501 /* Override any gcc2 internal prototype to avoid an error.  */
78502 #ifdef __cplusplus
78503 extern "C"
78504 {
78505 #endif
78506 /* We use char because int might match the return type of a gcc2
78507    builtin and then its argument prototype would still apply.  */
78508 char $ac_func ();
78509 /* The GNU C library defines this for functions which it implements
78510     to always fail with ENOSYS.  Some functions are actually named
78511     something starting with __ and the normal name is an alias.  */
78512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78513 choke me
78514 #else
78515 char (*f) () = $ac_func;
78516 #endif
78517 #ifdef __cplusplus
78518 }
78519 #endif
78520
78521 int
78522 main ()
78523 {
78524 return f != $ac_func;
78525   ;
78526   return 0;
78527 }
78528 _ACEOF
78529 rm -f conftest.$ac_objext conftest$ac_exeext
78530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78531   (eval $ac_link) 2>conftest.er1
78532   ac_status=$?
78533   grep -v '^ *+' conftest.er1 >conftest.err
78534   rm -f conftest.er1
78535   cat conftest.err >&5
78536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78537   (exit $ac_status); } &&
78538          { ac_try='test -z "$ac_c_werror_flag"
78539                          || test ! -s conftest.err'
78540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78541   (eval $ac_try) 2>&5
78542   ac_status=$?
78543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78544   (exit $ac_status); }; } &&
78545          { ac_try='test -s conftest$ac_exeext'
78546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78547   (eval $ac_try) 2>&5
78548   ac_status=$?
78549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78550   (exit $ac_status); }; }; then
78551   eval "$as_ac_var=yes"
78552 else
78553   echo "$as_me: failed program was:" >&5
78554 sed 's/^/| /' conftest.$ac_ext >&5
78555
78556 eval "$as_ac_var=no"
78557 fi
78558 rm -f conftest.err conftest.$ac_objext \
78559       conftest$ac_exeext conftest.$ac_ext
78560 fi
78561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78563 if test `eval echo '${'$as_ac_var'}'` = yes; then
78564   cat >>confdefs.h <<_ACEOF
78565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78566 _ACEOF
78567
78568 fi
78569 done
78570
78571   else
78572
78573   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78574 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78575   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78576     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78577   echo $ECHO_N "(cached) $ECHO_C" >&6
78578 else
78579
78580
78581
78582       ac_ext=cc
78583 ac_cpp='$CXXCPP $CPPFLAGS'
78584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78587
78588       cat >conftest.$ac_ext <<_ACEOF
78589 /* confdefs.h.  */
78590 _ACEOF
78591 cat confdefs.h >>conftest.$ac_ext
78592 cat >>conftest.$ac_ext <<_ACEOF
78593 /* end confdefs.h.  */
78594 #include <math.h>
78595 int
78596 main ()
78597 {
78598  _frexpl(0, 0);
78599   ;
78600   return 0;
78601 }
78602 _ACEOF
78603 rm -f conftest.$ac_objext
78604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78605   (eval $ac_compile) 2>conftest.er1
78606   ac_status=$?
78607   grep -v '^ *+' conftest.er1 >conftest.err
78608   rm -f conftest.er1
78609   cat conftest.err >&5
78610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78611   (exit $ac_status); } &&
78612          { ac_try='test -z "$ac_cxx_werror_flag"
78613                          || test ! -s conftest.err'
78614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78615   (eval $ac_try) 2>&5
78616   ac_status=$?
78617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78618   (exit $ac_status); }; } &&
78619          { ac_try='test -s conftest.$ac_objext'
78620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78621   (eval $ac_try) 2>&5
78622   ac_status=$?
78623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78624   (exit $ac_status); }; }; then
78625   glibcxx_cv_func__frexpl_use=yes
78626 else
78627   echo "$as_me: failed program was:" >&5
78628 sed 's/^/| /' conftest.$ac_ext >&5
78629
78630 glibcxx_cv_func__frexpl_use=no
78631 fi
78632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78633       ac_ext=c
78634 ac_cpp='$CPP $CPPFLAGS'
78635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78638
78639
78640 fi
78641
78642   fi
78643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78644 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78645
78646     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78647
78648 for ac_func in _frexpl
78649 do
78650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78651 echo "$as_me:$LINENO: checking for $ac_func" >&5
78652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78653 if eval "test \"\${$as_ac_var+set}\" = set"; then
78654   echo $ECHO_N "(cached) $ECHO_C" >&6
78655 else
78656   if test x$gcc_no_link = xyes; then
78657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78659    { (exit 1); exit 1; }; }
78660 fi
78661 cat >conftest.$ac_ext <<_ACEOF
78662 /* confdefs.h.  */
78663 _ACEOF
78664 cat confdefs.h >>conftest.$ac_ext
78665 cat >>conftest.$ac_ext <<_ACEOF
78666 /* end confdefs.h.  */
78667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78669 #define $ac_func innocuous_$ac_func
78670
78671 /* System header to define __stub macros and hopefully few prototypes,
78672     which can conflict with char $ac_func (); below.
78673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78674     <limits.h> exists even on freestanding compilers.  */
78675
78676 #ifdef __STDC__
78677 # include <limits.h>
78678 #else
78679 # include <assert.h>
78680 #endif
78681
78682 #undef $ac_func
78683
78684 /* Override any gcc2 internal prototype to avoid an error.  */
78685 #ifdef __cplusplus
78686 extern "C"
78687 {
78688 #endif
78689 /* We use char because int might match the return type of a gcc2
78690    builtin and then its argument prototype would still apply.  */
78691 char $ac_func ();
78692 /* The GNU C library defines this for functions which it implements
78693     to always fail with ENOSYS.  Some functions are actually named
78694     something starting with __ and the normal name is an alias.  */
78695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78696 choke me
78697 #else
78698 char (*f) () = $ac_func;
78699 #endif
78700 #ifdef __cplusplus
78701 }
78702 #endif
78703
78704 int
78705 main ()
78706 {
78707 return f != $ac_func;
78708   ;
78709   return 0;
78710 }
78711 _ACEOF
78712 rm -f conftest.$ac_objext conftest$ac_exeext
78713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78714   (eval $ac_link) 2>conftest.er1
78715   ac_status=$?
78716   grep -v '^ *+' conftest.er1 >conftest.err
78717   rm -f conftest.er1
78718   cat conftest.err >&5
78719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78720   (exit $ac_status); } &&
78721          { ac_try='test -z "$ac_c_werror_flag"
78722                          || test ! -s conftest.err'
78723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78724   (eval $ac_try) 2>&5
78725   ac_status=$?
78726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727   (exit $ac_status); }; } &&
78728          { ac_try='test -s conftest$ac_exeext'
78729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78730   (eval $ac_try) 2>&5
78731   ac_status=$?
78732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78733   (exit $ac_status); }; }; then
78734   eval "$as_ac_var=yes"
78735 else
78736   echo "$as_me: failed program was:" >&5
78737 sed 's/^/| /' conftest.$ac_ext >&5
78738
78739 eval "$as_ac_var=no"
78740 fi
78741 rm -f conftest.err conftest.$ac_objext \
78742       conftest$ac_exeext conftest.$ac_ext
78743 fi
78744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78746 if test `eval echo '${'$as_ac_var'}'` = yes; then
78747   cat >>confdefs.h <<_ACEOF
78748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78749 _ACEOF
78750
78751 fi
78752 done
78753
78754     fi
78755   fi
78756
78757
78758
78759
78760
78761
78762   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78763 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78764   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78765     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78766   echo $ECHO_N "(cached) $ECHO_C" >&6
78767 else
78768
78769
78770
78771       ac_ext=cc
78772 ac_cpp='$CXXCPP $CPPFLAGS'
78773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78776
78777       cat >conftest.$ac_ext <<_ACEOF
78778 /* confdefs.h.  */
78779 _ACEOF
78780 cat confdefs.h >>conftest.$ac_ext
78781 cat >>conftest.$ac_ext <<_ACEOF
78782 /* end confdefs.h.  */
78783 #include <math.h>
78784 int
78785 main ()
78786 {
78787  hypotl(0, 0);
78788   ;
78789   return 0;
78790 }
78791 _ACEOF
78792 rm -f conftest.$ac_objext
78793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78794   (eval $ac_compile) 2>conftest.er1
78795   ac_status=$?
78796   grep -v '^ *+' conftest.er1 >conftest.err
78797   rm -f conftest.er1
78798   cat conftest.err >&5
78799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78800   (exit $ac_status); } &&
78801          { ac_try='test -z "$ac_cxx_werror_flag"
78802                          || test ! -s conftest.err'
78803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78804   (eval $ac_try) 2>&5
78805   ac_status=$?
78806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78807   (exit $ac_status); }; } &&
78808          { ac_try='test -s conftest.$ac_objext'
78809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78810   (eval $ac_try) 2>&5
78811   ac_status=$?
78812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78813   (exit $ac_status); }; }; then
78814   glibcxx_cv_func_hypotl_use=yes
78815 else
78816   echo "$as_me: failed program was:" >&5
78817 sed 's/^/| /' conftest.$ac_ext >&5
78818
78819 glibcxx_cv_func_hypotl_use=no
78820 fi
78821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78822       ac_ext=c
78823 ac_cpp='$CPP $CPPFLAGS'
78824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78827
78828
78829 fi
78830
78831   fi
78832   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78833 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78834
78835   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78836
78837 for ac_func in hypotl
78838 do
78839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78840 echo "$as_me:$LINENO: checking for $ac_func" >&5
78841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78842 if eval "test \"\${$as_ac_var+set}\" = set"; then
78843   echo $ECHO_N "(cached) $ECHO_C" >&6
78844 else
78845   if test x$gcc_no_link = xyes; then
78846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78848    { (exit 1); exit 1; }; }
78849 fi
78850 cat >conftest.$ac_ext <<_ACEOF
78851 /* confdefs.h.  */
78852 _ACEOF
78853 cat confdefs.h >>conftest.$ac_ext
78854 cat >>conftest.$ac_ext <<_ACEOF
78855 /* end confdefs.h.  */
78856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78858 #define $ac_func innocuous_$ac_func
78859
78860 /* System header to define __stub macros and hopefully few prototypes,
78861     which can conflict with char $ac_func (); below.
78862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78863     <limits.h> exists even on freestanding compilers.  */
78864
78865 #ifdef __STDC__
78866 # include <limits.h>
78867 #else
78868 # include <assert.h>
78869 #endif
78870
78871 #undef $ac_func
78872
78873 /* Override any gcc2 internal prototype to avoid an error.  */
78874 #ifdef __cplusplus
78875 extern "C"
78876 {
78877 #endif
78878 /* We use char because int might match the return type of a gcc2
78879    builtin and then its argument prototype would still apply.  */
78880 char $ac_func ();
78881 /* The GNU C library defines this for functions which it implements
78882     to always fail with ENOSYS.  Some functions are actually named
78883     something starting with __ and the normal name is an alias.  */
78884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78885 choke me
78886 #else
78887 char (*f) () = $ac_func;
78888 #endif
78889 #ifdef __cplusplus
78890 }
78891 #endif
78892
78893 int
78894 main ()
78895 {
78896 return f != $ac_func;
78897   ;
78898   return 0;
78899 }
78900 _ACEOF
78901 rm -f conftest.$ac_objext conftest$ac_exeext
78902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78903   (eval $ac_link) 2>conftest.er1
78904   ac_status=$?
78905   grep -v '^ *+' conftest.er1 >conftest.err
78906   rm -f conftest.er1
78907   cat conftest.err >&5
78908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78909   (exit $ac_status); } &&
78910          { ac_try='test -z "$ac_c_werror_flag"
78911                          || test ! -s conftest.err'
78912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78913   (eval $ac_try) 2>&5
78914   ac_status=$?
78915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78916   (exit $ac_status); }; } &&
78917          { ac_try='test -s conftest$ac_exeext'
78918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78919   (eval $ac_try) 2>&5
78920   ac_status=$?
78921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78922   (exit $ac_status); }; }; then
78923   eval "$as_ac_var=yes"
78924 else
78925   echo "$as_me: failed program was:" >&5
78926 sed 's/^/| /' conftest.$ac_ext >&5
78927
78928 eval "$as_ac_var=no"
78929 fi
78930 rm -f conftest.err conftest.$ac_objext \
78931       conftest$ac_exeext conftest.$ac_ext
78932 fi
78933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78935 if test `eval echo '${'$as_ac_var'}'` = yes; then
78936   cat >>confdefs.h <<_ACEOF
78937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78938 _ACEOF
78939
78940 fi
78941 done
78942
78943   else
78944
78945   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78946 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78947   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78948     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78949   echo $ECHO_N "(cached) $ECHO_C" >&6
78950 else
78951
78952
78953
78954       ac_ext=cc
78955 ac_cpp='$CXXCPP $CPPFLAGS'
78956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78959
78960       cat >conftest.$ac_ext <<_ACEOF
78961 /* confdefs.h.  */
78962 _ACEOF
78963 cat confdefs.h >>conftest.$ac_ext
78964 cat >>conftest.$ac_ext <<_ACEOF
78965 /* end confdefs.h.  */
78966 #include <math.h>
78967 int
78968 main ()
78969 {
78970  _hypotl(0, 0);
78971   ;
78972   return 0;
78973 }
78974 _ACEOF
78975 rm -f conftest.$ac_objext
78976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78977   (eval $ac_compile) 2>conftest.er1
78978   ac_status=$?
78979   grep -v '^ *+' conftest.er1 >conftest.err
78980   rm -f conftest.er1
78981   cat conftest.err >&5
78982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983   (exit $ac_status); } &&
78984          { ac_try='test -z "$ac_cxx_werror_flag"
78985                          || test ! -s conftest.err'
78986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78987   (eval $ac_try) 2>&5
78988   ac_status=$?
78989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78990   (exit $ac_status); }; } &&
78991          { ac_try='test -s conftest.$ac_objext'
78992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78993   (eval $ac_try) 2>&5
78994   ac_status=$?
78995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78996   (exit $ac_status); }; }; then
78997   glibcxx_cv_func__hypotl_use=yes
78998 else
78999   echo "$as_me: failed program was:" >&5
79000 sed 's/^/| /' conftest.$ac_ext >&5
79001
79002 glibcxx_cv_func__hypotl_use=no
79003 fi
79004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79005       ac_ext=c
79006 ac_cpp='$CPP $CPPFLAGS'
79007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79010
79011
79012 fi
79013
79014   fi
79015   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79016 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79017
79018     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79019
79020 for ac_func in _hypotl
79021 do
79022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79023 echo "$as_me:$LINENO: checking for $ac_func" >&5
79024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79025 if eval "test \"\${$as_ac_var+set}\" = set"; then
79026   echo $ECHO_N "(cached) $ECHO_C" >&6
79027 else
79028   if test x$gcc_no_link = xyes; then
79029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79031    { (exit 1); exit 1; }; }
79032 fi
79033 cat >conftest.$ac_ext <<_ACEOF
79034 /* confdefs.h.  */
79035 _ACEOF
79036 cat confdefs.h >>conftest.$ac_ext
79037 cat >>conftest.$ac_ext <<_ACEOF
79038 /* end confdefs.h.  */
79039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79041 #define $ac_func innocuous_$ac_func
79042
79043 /* System header to define __stub macros and hopefully few prototypes,
79044     which can conflict with char $ac_func (); below.
79045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79046     <limits.h> exists even on freestanding compilers.  */
79047
79048 #ifdef __STDC__
79049 # include <limits.h>
79050 #else
79051 # include <assert.h>
79052 #endif
79053
79054 #undef $ac_func
79055
79056 /* Override any gcc2 internal prototype to avoid an error.  */
79057 #ifdef __cplusplus
79058 extern "C"
79059 {
79060 #endif
79061 /* We use char because int might match the return type of a gcc2
79062    builtin and then its argument prototype would still apply.  */
79063 char $ac_func ();
79064 /* The GNU C library defines this for functions which it implements
79065     to always fail with ENOSYS.  Some functions are actually named
79066     something starting with __ and the normal name is an alias.  */
79067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79068 choke me
79069 #else
79070 char (*f) () = $ac_func;
79071 #endif
79072 #ifdef __cplusplus
79073 }
79074 #endif
79075
79076 int
79077 main ()
79078 {
79079 return f != $ac_func;
79080   ;
79081   return 0;
79082 }
79083 _ACEOF
79084 rm -f conftest.$ac_objext conftest$ac_exeext
79085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79086   (eval $ac_link) 2>conftest.er1
79087   ac_status=$?
79088   grep -v '^ *+' conftest.er1 >conftest.err
79089   rm -f conftest.er1
79090   cat conftest.err >&5
79091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092   (exit $ac_status); } &&
79093          { ac_try='test -z "$ac_c_werror_flag"
79094                          || test ! -s conftest.err'
79095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79096   (eval $ac_try) 2>&5
79097   ac_status=$?
79098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79099   (exit $ac_status); }; } &&
79100          { ac_try='test -s conftest$ac_exeext'
79101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79102   (eval $ac_try) 2>&5
79103   ac_status=$?
79104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79105   (exit $ac_status); }; }; then
79106   eval "$as_ac_var=yes"
79107 else
79108   echo "$as_me: failed program was:" >&5
79109 sed 's/^/| /' conftest.$ac_ext >&5
79110
79111 eval "$as_ac_var=no"
79112 fi
79113 rm -f conftest.err conftest.$ac_objext \
79114       conftest$ac_exeext conftest.$ac_ext
79115 fi
79116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79118 if test `eval echo '${'$as_ac_var'}'` = yes; then
79119   cat >>confdefs.h <<_ACEOF
79120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79121 _ACEOF
79122
79123 fi
79124 done
79125
79126     fi
79127   fi
79128
79129
79130
79131
79132
79133
79134   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79135 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79136   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79137     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79138   echo $ECHO_N "(cached) $ECHO_C" >&6
79139 else
79140
79141
79142
79143       ac_ext=cc
79144 ac_cpp='$CXXCPP $CPPFLAGS'
79145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79148
79149       cat >conftest.$ac_ext <<_ACEOF
79150 /* confdefs.h.  */
79151 _ACEOF
79152 cat confdefs.h >>conftest.$ac_ext
79153 cat >>conftest.$ac_ext <<_ACEOF
79154 /* end confdefs.h.  */
79155 #include <math.h>
79156 int
79157 main ()
79158 {
79159  ldexpl(0, 0);
79160   ;
79161   return 0;
79162 }
79163 _ACEOF
79164 rm -f conftest.$ac_objext
79165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79166   (eval $ac_compile) 2>conftest.er1
79167   ac_status=$?
79168   grep -v '^ *+' conftest.er1 >conftest.err
79169   rm -f conftest.er1
79170   cat conftest.err >&5
79171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172   (exit $ac_status); } &&
79173          { ac_try='test -z "$ac_cxx_werror_flag"
79174                          || test ! -s conftest.err'
79175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79176   (eval $ac_try) 2>&5
79177   ac_status=$?
79178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79179   (exit $ac_status); }; } &&
79180          { ac_try='test -s conftest.$ac_objext'
79181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79182   (eval $ac_try) 2>&5
79183   ac_status=$?
79184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79185   (exit $ac_status); }; }; then
79186   glibcxx_cv_func_ldexpl_use=yes
79187 else
79188   echo "$as_me: failed program was:" >&5
79189 sed 's/^/| /' conftest.$ac_ext >&5
79190
79191 glibcxx_cv_func_ldexpl_use=no
79192 fi
79193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79194       ac_ext=c
79195 ac_cpp='$CPP $CPPFLAGS'
79196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79199
79200
79201 fi
79202
79203   fi
79204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79205 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79206
79207   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79208
79209 for ac_func in ldexpl
79210 do
79211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79212 echo "$as_me:$LINENO: checking for $ac_func" >&5
79213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79214 if eval "test \"\${$as_ac_var+set}\" = set"; then
79215   echo $ECHO_N "(cached) $ECHO_C" >&6
79216 else
79217   if test x$gcc_no_link = xyes; then
79218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79220    { (exit 1); exit 1; }; }
79221 fi
79222 cat >conftest.$ac_ext <<_ACEOF
79223 /* confdefs.h.  */
79224 _ACEOF
79225 cat confdefs.h >>conftest.$ac_ext
79226 cat >>conftest.$ac_ext <<_ACEOF
79227 /* end confdefs.h.  */
79228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79230 #define $ac_func innocuous_$ac_func
79231
79232 /* System header to define __stub macros and hopefully few prototypes,
79233     which can conflict with char $ac_func (); below.
79234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79235     <limits.h> exists even on freestanding compilers.  */
79236
79237 #ifdef __STDC__
79238 # include <limits.h>
79239 #else
79240 # include <assert.h>
79241 #endif
79242
79243 #undef $ac_func
79244
79245 /* Override any gcc2 internal prototype to avoid an error.  */
79246 #ifdef __cplusplus
79247 extern "C"
79248 {
79249 #endif
79250 /* We use char because int might match the return type of a gcc2
79251    builtin and then its argument prototype would still apply.  */
79252 char $ac_func ();
79253 /* The GNU C library defines this for functions which it implements
79254     to always fail with ENOSYS.  Some functions are actually named
79255     something starting with __ and the normal name is an alias.  */
79256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79257 choke me
79258 #else
79259 char (*f) () = $ac_func;
79260 #endif
79261 #ifdef __cplusplus
79262 }
79263 #endif
79264
79265 int
79266 main ()
79267 {
79268 return f != $ac_func;
79269   ;
79270   return 0;
79271 }
79272 _ACEOF
79273 rm -f conftest.$ac_objext conftest$ac_exeext
79274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79275   (eval $ac_link) 2>conftest.er1
79276   ac_status=$?
79277   grep -v '^ *+' conftest.er1 >conftest.err
79278   rm -f conftest.er1
79279   cat conftest.err >&5
79280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79281   (exit $ac_status); } &&
79282          { ac_try='test -z "$ac_c_werror_flag"
79283                          || test ! -s conftest.err'
79284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79285   (eval $ac_try) 2>&5
79286   ac_status=$?
79287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79288   (exit $ac_status); }; } &&
79289          { ac_try='test -s conftest$ac_exeext'
79290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79291   (eval $ac_try) 2>&5
79292   ac_status=$?
79293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79294   (exit $ac_status); }; }; then
79295   eval "$as_ac_var=yes"
79296 else
79297   echo "$as_me: failed program was:" >&5
79298 sed 's/^/| /' conftest.$ac_ext >&5
79299
79300 eval "$as_ac_var=no"
79301 fi
79302 rm -f conftest.err conftest.$ac_objext \
79303       conftest$ac_exeext conftest.$ac_ext
79304 fi
79305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79307 if test `eval echo '${'$as_ac_var'}'` = yes; then
79308   cat >>confdefs.h <<_ACEOF
79309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79310 _ACEOF
79311
79312 fi
79313 done
79314
79315   else
79316
79317   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79318 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79319   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79320     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79321   echo $ECHO_N "(cached) $ECHO_C" >&6
79322 else
79323
79324
79325
79326       ac_ext=cc
79327 ac_cpp='$CXXCPP $CPPFLAGS'
79328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79331
79332       cat >conftest.$ac_ext <<_ACEOF
79333 /* confdefs.h.  */
79334 _ACEOF
79335 cat confdefs.h >>conftest.$ac_ext
79336 cat >>conftest.$ac_ext <<_ACEOF
79337 /* end confdefs.h.  */
79338 #include <math.h>
79339 int
79340 main ()
79341 {
79342  _ldexpl(0, 0);
79343   ;
79344   return 0;
79345 }
79346 _ACEOF
79347 rm -f conftest.$ac_objext
79348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79349   (eval $ac_compile) 2>conftest.er1
79350   ac_status=$?
79351   grep -v '^ *+' conftest.er1 >conftest.err
79352   rm -f conftest.er1
79353   cat conftest.err >&5
79354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79355   (exit $ac_status); } &&
79356          { ac_try='test -z "$ac_cxx_werror_flag"
79357                          || test ! -s conftest.err'
79358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79359   (eval $ac_try) 2>&5
79360   ac_status=$?
79361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79362   (exit $ac_status); }; } &&
79363          { ac_try='test -s conftest.$ac_objext'
79364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79365   (eval $ac_try) 2>&5
79366   ac_status=$?
79367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79368   (exit $ac_status); }; }; then
79369   glibcxx_cv_func__ldexpl_use=yes
79370 else
79371   echo "$as_me: failed program was:" >&5
79372 sed 's/^/| /' conftest.$ac_ext >&5
79373
79374 glibcxx_cv_func__ldexpl_use=no
79375 fi
79376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79377       ac_ext=c
79378 ac_cpp='$CPP $CPPFLAGS'
79379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79382
79383
79384 fi
79385
79386   fi
79387   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79388 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79389
79390     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79391
79392 for ac_func in _ldexpl
79393 do
79394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79395 echo "$as_me:$LINENO: checking for $ac_func" >&5
79396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79397 if eval "test \"\${$as_ac_var+set}\" = set"; then
79398   echo $ECHO_N "(cached) $ECHO_C" >&6
79399 else
79400   if test x$gcc_no_link = xyes; then
79401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79403    { (exit 1); exit 1; }; }
79404 fi
79405 cat >conftest.$ac_ext <<_ACEOF
79406 /* confdefs.h.  */
79407 _ACEOF
79408 cat confdefs.h >>conftest.$ac_ext
79409 cat >>conftest.$ac_ext <<_ACEOF
79410 /* end confdefs.h.  */
79411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79413 #define $ac_func innocuous_$ac_func
79414
79415 /* System header to define __stub macros and hopefully few prototypes,
79416     which can conflict with char $ac_func (); below.
79417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79418     <limits.h> exists even on freestanding compilers.  */
79419
79420 #ifdef __STDC__
79421 # include <limits.h>
79422 #else
79423 # include <assert.h>
79424 #endif
79425
79426 #undef $ac_func
79427
79428 /* Override any gcc2 internal prototype to avoid an error.  */
79429 #ifdef __cplusplus
79430 extern "C"
79431 {
79432 #endif
79433 /* We use char because int might match the return type of a gcc2
79434    builtin and then its argument prototype would still apply.  */
79435 char $ac_func ();
79436 /* The GNU C library defines this for functions which it implements
79437     to always fail with ENOSYS.  Some functions are actually named
79438     something starting with __ and the normal name is an alias.  */
79439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79440 choke me
79441 #else
79442 char (*f) () = $ac_func;
79443 #endif
79444 #ifdef __cplusplus
79445 }
79446 #endif
79447
79448 int
79449 main ()
79450 {
79451 return f != $ac_func;
79452   ;
79453   return 0;
79454 }
79455 _ACEOF
79456 rm -f conftest.$ac_objext conftest$ac_exeext
79457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79458   (eval $ac_link) 2>conftest.er1
79459   ac_status=$?
79460   grep -v '^ *+' conftest.er1 >conftest.err
79461   rm -f conftest.er1
79462   cat conftest.err >&5
79463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79464   (exit $ac_status); } &&
79465          { ac_try='test -z "$ac_c_werror_flag"
79466                          || test ! -s conftest.err'
79467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79468   (eval $ac_try) 2>&5
79469   ac_status=$?
79470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79471   (exit $ac_status); }; } &&
79472          { ac_try='test -s conftest$ac_exeext'
79473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79474   (eval $ac_try) 2>&5
79475   ac_status=$?
79476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79477   (exit $ac_status); }; }; then
79478   eval "$as_ac_var=yes"
79479 else
79480   echo "$as_me: failed program was:" >&5
79481 sed 's/^/| /' conftest.$ac_ext >&5
79482
79483 eval "$as_ac_var=no"
79484 fi
79485 rm -f conftest.err conftest.$ac_objext \
79486       conftest$ac_exeext conftest.$ac_ext
79487 fi
79488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79490 if test `eval echo '${'$as_ac_var'}'` = yes; then
79491   cat >>confdefs.h <<_ACEOF
79492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79493 _ACEOF
79494
79495 fi
79496 done
79497
79498     fi
79499   fi
79500
79501
79502
79503
79504
79505
79506   echo "$as_me:$LINENO: checking for logl declaration" >&5
79507 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
79508   if test x${glibcxx_cv_func_logl_use+set} != xset; then
79509     if test "${glibcxx_cv_func_logl_use+set}" = set; then
79510   echo $ECHO_N "(cached) $ECHO_C" >&6
79511 else
79512
79513
79514
79515       ac_ext=cc
79516 ac_cpp='$CXXCPP $CPPFLAGS'
79517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79520
79521       cat >conftest.$ac_ext <<_ACEOF
79522 /* confdefs.h.  */
79523 _ACEOF
79524 cat confdefs.h >>conftest.$ac_ext
79525 cat >>conftest.$ac_ext <<_ACEOF
79526 /* end confdefs.h.  */
79527 #include <math.h>
79528                       #ifdef HAVE_IEEEFP_H
79529                       #include <ieeefp.h>
79530                       #endif
79531
79532 int
79533 main ()
79534 {
79535  logl(0);
79536   ;
79537   return 0;
79538 }
79539 _ACEOF
79540 rm -f conftest.$ac_objext
79541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79542   (eval $ac_compile) 2>conftest.er1
79543   ac_status=$?
79544   grep -v '^ *+' conftest.er1 >conftest.err
79545   rm -f conftest.er1
79546   cat conftest.err >&5
79547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79548   (exit $ac_status); } &&
79549          { ac_try='test -z "$ac_cxx_werror_flag"
79550                          || test ! -s conftest.err'
79551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79552   (eval $ac_try) 2>&5
79553   ac_status=$?
79554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555   (exit $ac_status); }; } &&
79556          { ac_try='test -s conftest.$ac_objext'
79557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79558   (eval $ac_try) 2>&5
79559   ac_status=$?
79560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79561   (exit $ac_status); }; }; then
79562   glibcxx_cv_func_logl_use=yes
79563 else
79564   echo "$as_me: failed program was:" >&5
79565 sed 's/^/| /' conftest.$ac_ext >&5
79566
79567 glibcxx_cv_func_logl_use=no
79568 fi
79569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79570       ac_ext=c
79571 ac_cpp='$CPP $CPPFLAGS'
79572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79575
79576
79577 fi
79578
79579   fi
79580   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79581 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79582
79583   if test x$glibcxx_cv_func_logl_use = x"yes"; then
79584
79585 for ac_func in logl
79586 do
79587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79588 echo "$as_me:$LINENO: checking for $ac_func" >&5
79589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79590 if eval "test \"\${$as_ac_var+set}\" = set"; then
79591   echo $ECHO_N "(cached) $ECHO_C" >&6
79592 else
79593   if test x$gcc_no_link = xyes; then
79594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79596    { (exit 1); exit 1; }; }
79597 fi
79598 cat >conftest.$ac_ext <<_ACEOF
79599 /* confdefs.h.  */
79600 _ACEOF
79601 cat confdefs.h >>conftest.$ac_ext
79602 cat >>conftest.$ac_ext <<_ACEOF
79603 /* end confdefs.h.  */
79604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79605    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79606 #define $ac_func innocuous_$ac_func
79607
79608 /* System header to define __stub macros and hopefully few prototypes,
79609     which can conflict with char $ac_func (); below.
79610     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79611     <limits.h> exists even on freestanding compilers.  */
79612
79613 #ifdef __STDC__
79614 # include <limits.h>
79615 #else
79616 # include <assert.h>
79617 #endif
79618
79619 #undef $ac_func
79620
79621 /* Override any gcc2 internal prototype to avoid an error.  */
79622 #ifdef __cplusplus
79623 extern "C"
79624 {
79625 #endif
79626 /* We use char because int might match the return type of a gcc2
79627    builtin and then its argument prototype would still apply.  */
79628 char $ac_func ();
79629 /* The GNU C library defines this for functions which it implements
79630     to always fail with ENOSYS.  Some functions are actually named
79631     something starting with __ and the normal name is an alias.  */
79632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79633 choke me
79634 #else
79635 char (*f) () = $ac_func;
79636 #endif
79637 #ifdef __cplusplus
79638 }
79639 #endif
79640
79641 int
79642 main ()
79643 {
79644 return f != $ac_func;
79645   ;
79646   return 0;
79647 }
79648 _ACEOF
79649 rm -f conftest.$ac_objext conftest$ac_exeext
79650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79651   (eval $ac_link) 2>conftest.er1
79652   ac_status=$?
79653   grep -v '^ *+' conftest.er1 >conftest.err
79654   rm -f conftest.er1
79655   cat conftest.err >&5
79656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79657   (exit $ac_status); } &&
79658          { ac_try='test -z "$ac_c_werror_flag"
79659                          || test ! -s conftest.err'
79660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79661   (eval $ac_try) 2>&5
79662   ac_status=$?
79663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79664   (exit $ac_status); }; } &&
79665          { ac_try='test -s conftest$ac_exeext'
79666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79667   (eval $ac_try) 2>&5
79668   ac_status=$?
79669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79670   (exit $ac_status); }; }; then
79671   eval "$as_ac_var=yes"
79672 else
79673   echo "$as_me: failed program was:" >&5
79674 sed 's/^/| /' conftest.$ac_ext >&5
79675
79676 eval "$as_ac_var=no"
79677 fi
79678 rm -f conftest.err conftest.$ac_objext \
79679       conftest$ac_exeext conftest.$ac_ext
79680 fi
79681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79683 if test `eval echo '${'$as_ac_var'}'` = yes; then
79684   cat >>confdefs.h <<_ACEOF
79685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79686 _ACEOF
79687
79688 fi
79689 done
79690
79691   else
79692
79693   echo "$as_me:$LINENO: checking for _logl declaration" >&5
79694 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79695   if test x${glibcxx_cv_func__logl_use+set} != xset; then
79696     if test "${glibcxx_cv_func__logl_use+set}" = set; then
79697   echo $ECHO_N "(cached) $ECHO_C" >&6
79698 else
79699
79700
79701
79702       ac_ext=cc
79703 ac_cpp='$CXXCPP $CPPFLAGS'
79704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79707
79708       cat >conftest.$ac_ext <<_ACEOF
79709 /* confdefs.h.  */
79710 _ACEOF
79711 cat confdefs.h >>conftest.$ac_ext
79712 cat >>conftest.$ac_ext <<_ACEOF
79713 /* end confdefs.h.  */
79714 #include <math.h>
79715                       #ifdef HAVE_IEEEFP_H
79716                       #include <ieeefp.h>
79717                       #endif
79718
79719 int
79720 main ()
79721 {
79722  _logl(0);
79723   ;
79724   return 0;
79725 }
79726 _ACEOF
79727 rm -f conftest.$ac_objext
79728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79729   (eval $ac_compile) 2>conftest.er1
79730   ac_status=$?
79731   grep -v '^ *+' conftest.er1 >conftest.err
79732   rm -f conftest.er1
79733   cat conftest.err >&5
79734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79735   (exit $ac_status); } &&
79736          { ac_try='test -z "$ac_cxx_werror_flag"
79737                          || test ! -s conftest.err'
79738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79739   (eval $ac_try) 2>&5
79740   ac_status=$?
79741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79742   (exit $ac_status); }; } &&
79743          { ac_try='test -s conftest.$ac_objext'
79744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79745   (eval $ac_try) 2>&5
79746   ac_status=$?
79747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79748   (exit $ac_status); }; }; then
79749   glibcxx_cv_func__logl_use=yes
79750 else
79751   echo "$as_me: failed program was:" >&5
79752 sed 's/^/| /' conftest.$ac_ext >&5
79753
79754 glibcxx_cv_func__logl_use=no
79755 fi
79756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79757       ac_ext=c
79758 ac_cpp='$CPP $CPPFLAGS'
79759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79762
79763
79764 fi
79765
79766   fi
79767   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79768 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79769
79770     if test x$glibcxx_cv_func__logl_use = x"yes"; then
79771
79772 for ac_func in _logl
79773 do
79774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79775 echo "$as_me:$LINENO: checking for $ac_func" >&5
79776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79777 if eval "test \"\${$as_ac_var+set}\" = set"; then
79778   echo $ECHO_N "(cached) $ECHO_C" >&6
79779 else
79780   if test x$gcc_no_link = xyes; then
79781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79783    { (exit 1); exit 1; }; }
79784 fi
79785 cat >conftest.$ac_ext <<_ACEOF
79786 /* confdefs.h.  */
79787 _ACEOF
79788 cat confdefs.h >>conftest.$ac_ext
79789 cat >>conftest.$ac_ext <<_ACEOF
79790 /* end confdefs.h.  */
79791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79793 #define $ac_func innocuous_$ac_func
79794
79795 /* System header to define __stub macros and hopefully few prototypes,
79796     which can conflict with char $ac_func (); below.
79797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79798     <limits.h> exists even on freestanding compilers.  */
79799
79800 #ifdef __STDC__
79801 # include <limits.h>
79802 #else
79803 # include <assert.h>
79804 #endif
79805
79806 #undef $ac_func
79807
79808 /* Override any gcc2 internal prototype to avoid an error.  */
79809 #ifdef __cplusplus
79810 extern "C"
79811 {
79812 #endif
79813 /* We use char because int might match the return type of a gcc2
79814    builtin and then its argument prototype would still apply.  */
79815 char $ac_func ();
79816 /* The GNU C library defines this for functions which it implements
79817     to always fail with ENOSYS.  Some functions are actually named
79818     something starting with __ and the normal name is an alias.  */
79819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79820 choke me
79821 #else
79822 char (*f) () = $ac_func;
79823 #endif
79824 #ifdef __cplusplus
79825 }
79826 #endif
79827
79828 int
79829 main ()
79830 {
79831 return f != $ac_func;
79832   ;
79833   return 0;
79834 }
79835 _ACEOF
79836 rm -f conftest.$ac_objext conftest$ac_exeext
79837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79838   (eval $ac_link) 2>conftest.er1
79839   ac_status=$?
79840   grep -v '^ *+' conftest.er1 >conftest.err
79841   rm -f conftest.er1
79842   cat conftest.err >&5
79843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79844   (exit $ac_status); } &&
79845          { ac_try='test -z "$ac_c_werror_flag"
79846                          || test ! -s conftest.err'
79847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79848   (eval $ac_try) 2>&5
79849   ac_status=$?
79850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79851   (exit $ac_status); }; } &&
79852          { ac_try='test -s conftest$ac_exeext'
79853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79854   (eval $ac_try) 2>&5
79855   ac_status=$?
79856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79857   (exit $ac_status); }; }; then
79858   eval "$as_ac_var=yes"
79859 else
79860   echo "$as_me: failed program was:" >&5
79861 sed 's/^/| /' conftest.$ac_ext >&5
79862
79863 eval "$as_ac_var=no"
79864 fi
79865 rm -f conftest.err conftest.$ac_objext \
79866       conftest$ac_exeext conftest.$ac_ext
79867 fi
79868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79870 if test `eval echo '${'$as_ac_var'}'` = yes; then
79871   cat >>confdefs.h <<_ACEOF
79872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79873 _ACEOF
79874
79875 fi
79876 done
79877
79878     fi
79879   fi
79880
79881
79882
79883
79884
79885
79886   echo "$as_me:$LINENO: checking for log10l declaration" >&5
79887 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79888   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79889     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79890   echo $ECHO_N "(cached) $ECHO_C" >&6
79891 else
79892
79893
79894
79895       ac_ext=cc
79896 ac_cpp='$CXXCPP $CPPFLAGS'
79897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79900
79901       cat >conftest.$ac_ext <<_ACEOF
79902 /* confdefs.h.  */
79903 _ACEOF
79904 cat confdefs.h >>conftest.$ac_ext
79905 cat >>conftest.$ac_ext <<_ACEOF
79906 /* end confdefs.h.  */
79907 #include <math.h>
79908                       #ifdef HAVE_IEEEFP_H
79909                       #include <ieeefp.h>
79910                       #endif
79911
79912 int
79913 main ()
79914 {
79915  log10l(0);
79916   ;
79917   return 0;
79918 }
79919 _ACEOF
79920 rm -f conftest.$ac_objext
79921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79922   (eval $ac_compile) 2>conftest.er1
79923   ac_status=$?
79924   grep -v '^ *+' conftest.er1 >conftest.err
79925   rm -f conftest.er1
79926   cat conftest.err >&5
79927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79928   (exit $ac_status); } &&
79929          { ac_try='test -z "$ac_cxx_werror_flag"
79930                          || test ! -s conftest.err'
79931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79932   (eval $ac_try) 2>&5
79933   ac_status=$?
79934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79935   (exit $ac_status); }; } &&
79936          { ac_try='test -s conftest.$ac_objext'
79937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79938   (eval $ac_try) 2>&5
79939   ac_status=$?
79940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79941   (exit $ac_status); }; }; then
79942   glibcxx_cv_func_log10l_use=yes
79943 else
79944   echo "$as_me: failed program was:" >&5
79945 sed 's/^/| /' conftest.$ac_ext >&5
79946
79947 glibcxx_cv_func_log10l_use=no
79948 fi
79949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79950       ac_ext=c
79951 ac_cpp='$CPP $CPPFLAGS'
79952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79955
79956
79957 fi
79958
79959   fi
79960   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79961 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79962
79963   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79964
79965 for ac_func in log10l
79966 do
79967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79968 echo "$as_me:$LINENO: checking for $ac_func" >&5
79969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79970 if eval "test \"\${$as_ac_var+set}\" = set"; then
79971   echo $ECHO_N "(cached) $ECHO_C" >&6
79972 else
79973   if test x$gcc_no_link = xyes; then
79974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79976    { (exit 1); exit 1; }; }
79977 fi
79978 cat >conftest.$ac_ext <<_ACEOF
79979 /* confdefs.h.  */
79980 _ACEOF
79981 cat confdefs.h >>conftest.$ac_ext
79982 cat >>conftest.$ac_ext <<_ACEOF
79983 /* end confdefs.h.  */
79984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79986 #define $ac_func innocuous_$ac_func
79987
79988 /* System header to define __stub macros and hopefully few prototypes,
79989     which can conflict with char $ac_func (); below.
79990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79991     <limits.h> exists even on freestanding compilers.  */
79992
79993 #ifdef __STDC__
79994 # include <limits.h>
79995 #else
79996 # include <assert.h>
79997 #endif
79998
79999 #undef $ac_func
80000
80001 /* Override any gcc2 internal prototype to avoid an error.  */
80002 #ifdef __cplusplus
80003 extern "C"
80004 {
80005 #endif
80006 /* We use char because int might match the return type of a gcc2
80007    builtin and then its argument prototype would still apply.  */
80008 char $ac_func ();
80009 /* The GNU C library defines this for functions which it implements
80010     to always fail with ENOSYS.  Some functions are actually named
80011     something starting with __ and the normal name is an alias.  */
80012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80013 choke me
80014 #else
80015 char (*f) () = $ac_func;
80016 #endif
80017 #ifdef __cplusplus
80018 }
80019 #endif
80020
80021 int
80022 main ()
80023 {
80024 return f != $ac_func;
80025   ;
80026   return 0;
80027 }
80028 _ACEOF
80029 rm -f conftest.$ac_objext conftest$ac_exeext
80030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80031   (eval $ac_link) 2>conftest.er1
80032   ac_status=$?
80033   grep -v '^ *+' conftest.er1 >conftest.err
80034   rm -f conftest.er1
80035   cat conftest.err >&5
80036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80037   (exit $ac_status); } &&
80038          { ac_try='test -z "$ac_c_werror_flag"
80039                          || test ! -s conftest.err'
80040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80041   (eval $ac_try) 2>&5
80042   ac_status=$?
80043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80044   (exit $ac_status); }; } &&
80045          { ac_try='test -s conftest$ac_exeext'
80046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80047   (eval $ac_try) 2>&5
80048   ac_status=$?
80049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80050   (exit $ac_status); }; }; then
80051   eval "$as_ac_var=yes"
80052 else
80053   echo "$as_me: failed program was:" >&5
80054 sed 's/^/| /' conftest.$ac_ext >&5
80055
80056 eval "$as_ac_var=no"
80057 fi
80058 rm -f conftest.err conftest.$ac_objext \
80059       conftest$ac_exeext conftest.$ac_ext
80060 fi
80061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80063 if test `eval echo '${'$as_ac_var'}'` = yes; then
80064   cat >>confdefs.h <<_ACEOF
80065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80066 _ACEOF
80067
80068 fi
80069 done
80070
80071   else
80072
80073   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80074 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80075   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80076     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80077   echo $ECHO_N "(cached) $ECHO_C" >&6
80078 else
80079
80080
80081
80082       ac_ext=cc
80083 ac_cpp='$CXXCPP $CPPFLAGS'
80084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80087
80088       cat >conftest.$ac_ext <<_ACEOF
80089 /* confdefs.h.  */
80090 _ACEOF
80091 cat confdefs.h >>conftest.$ac_ext
80092 cat >>conftest.$ac_ext <<_ACEOF
80093 /* end confdefs.h.  */
80094 #include <math.h>
80095                       #ifdef HAVE_IEEEFP_H
80096                       #include <ieeefp.h>
80097                       #endif
80098
80099 int
80100 main ()
80101 {
80102  _log10l(0);
80103   ;
80104   return 0;
80105 }
80106 _ACEOF
80107 rm -f conftest.$ac_objext
80108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80109   (eval $ac_compile) 2>conftest.er1
80110   ac_status=$?
80111   grep -v '^ *+' conftest.er1 >conftest.err
80112   rm -f conftest.er1
80113   cat conftest.err >&5
80114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80115   (exit $ac_status); } &&
80116          { ac_try='test -z "$ac_cxx_werror_flag"
80117                          || test ! -s conftest.err'
80118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80119   (eval $ac_try) 2>&5
80120   ac_status=$?
80121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80122   (exit $ac_status); }; } &&
80123          { ac_try='test -s conftest.$ac_objext'
80124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80125   (eval $ac_try) 2>&5
80126   ac_status=$?
80127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80128   (exit $ac_status); }; }; then
80129   glibcxx_cv_func__log10l_use=yes
80130 else
80131   echo "$as_me: failed program was:" >&5
80132 sed 's/^/| /' conftest.$ac_ext >&5
80133
80134 glibcxx_cv_func__log10l_use=no
80135 fi
80136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80137       ac_ext=c
80138 ac_cpp='$CPP $CPPFLAGS'
80139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80142
80143
80144 fi
80145
80146   fi
80147   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80148 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80149
80150     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80151
80152 for ac_func in _log10l
80153 do
80154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80155 echo "$as_me:$LINENO: checking for $ac_func" >&5
80156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80157 if eval "test \"\${$as_ac_var+set}\" = set"; then
80158   echo $ECHO_N "(cached) $ECHO_C" >&6
80159 else
80160   if test x$gcc_no_link = xyes; then
80161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80163    { (exit 1); exit 1; }; }
80164 fi
80165 cat >conftest.$ac_ext <<_ACEOF
80166 /* confdefs.h.  */
80167 _ACEOF
80168 cat confdefs.h >>conftest.$ac_ext
80169 cat >>conftest.$ac_ext <<_ACEOF
80170 /* end confdefs.h.  */
80171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80173 #define $ac_func innocuous_$ac_func
80174
80175 /* System header to define __stub macros and hopefully few prototypes,
80176     which can conflict with char $ac_func (); below.
80177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80178     <limits.h> exists even on freestanding compilers.  */
80179
80180 #ifdef __STDC__
80181 # include <limits.h>
80182 #else
80183 # include <assert.h>
80184 #endif
80185
80186 #undef $ac_func
80187
80188 /* Override any gcc2 internal prototype to avoid an error.  */
80189 #ifdef __cplusplus
80190 extern "C"
80191 {
80192 #endif
80193 /* We use char because int might match the return type of a gcc2
80194    builtin and then its argument prototype would still apply.  */
80195 char $ac_func ();
80196 /* The GNU C library defines this for functions which it implements
80197     to always fail with ENOSYS.  Some functions are actually named
80198     something starting with __ and the normal name is an alias.  */
80199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80200 choke me
80201 #else
80202 char (*f) () = $ac_func;
80203 #endif
80204 #ifdef __cplusplus
80205 }
80206 #endif
80207
80208 int
80209 main ()
80210 {
80211 return f != $ac_func;
80212   ;
80213   return 0;
80214 }
80215 _ACEOF
80216 rm -f conftest.$ac_objext conftest$ac_exeext
80217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80218   (eval $ac_link) 2>conftest.er1
80219   ac_status=$?
80220   grep -v '^ *+' conftest.er1 >conftest.err
80221   rm -f conftest.er1
80222   cat conftest.err >&5
80223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80224   (exit $ac_status); } &&
80225          { ac_try='test -z "$ac_c_werror_flag"
80226                          || test ! -s conftest.err'
80227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80228   (eval $ac_try) 2>&5
80229   ac_status=$?
80230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80231   (exit $ac_status); }; } &&
80232          { ac_try='test -s conftest$ac_exeext'
80233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80234   (eval $ac_try) 2>&5
80235   ac_status=$?
80236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80237   (exit $ac_status); }; }; then
80238   eval "$as_ac_var=yes"
80239 else
80240   echo "$as_me: failed program was:" >&5
80241 sed 's/^/| /' conftest.$ac_ext >&5
80242
80243 eval "$as_ac_var=no"
80244 fi
80245 rm -f conftest.err conftest.$ac_objext \
80246       conftest$ac_exeext conftest.$ac_ext
80247 fi
80248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80250 if test `eval echo '${'$as_ac_var'}'` = yes; then
80251   cat >>confdefs.h <<_ACEOF
80252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80253 _ACEOF
80254
80255 fi
80256 done
80257
80258     fi
80259   fi
80260
80261
80262
80263
80264
80265
80266   echo "$as_me:$LINENO: checking for modfl declaration" >&5
80267 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80268   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80269     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80270   echo $ECHO_N "(cached) $ECHO_C" >&6
80271 else
80272
80273
80274
80275       ac_ext=cc
80276 ac_cpp='$CXXCPP $CPPFLAGS'
80277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80280
80281       cat >conftest.$ac_ext <<_ACEOF
80282 /* confdefs.h.  */
80283 _ACEOF
80284 cat confdefs.h >>conftest.$ac_ext
80285 cat >>conftest.$ac_ext <<_ACEOF
80286 /* end confdefs.h.  */
80287 #include <math.h>
80288 int
80289 main ()
80290 {
80291  modfl(0, 0);
80292   ;
80293   return 0;
80294 }
80295 _ACEOF
80296 rm -f conftest.$ac_objext
80297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80298   (eval $ac_compile) 2>conftest.er1
80299   ac_status=$?
80300   grep -v '^ *+' conftest.er1 >conftest.err
80301   rm -f conftest.er1
80302   cat conftest.err >&5
80303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80304   (exit $ac_status); } &&
80305          { ac_try='test -z "$ac_cxx_werror_flag"
80306                          || test ! -s conftest.err'
80307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80308   (eval $ac_try) 2>&5
80309   ac_status=$?
80310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80311   (exit $ac_status); }; } &&
80312          { ac_try='test -s conftest.$ac_objext'
80313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80314   (eval $ac_try) 2>&5
80315   ac_status=$?
80316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80317   (exit $ac_status); }; }; then
80318   glibcxx_cv_func_modfl_use=yes
80319 else
80320   echo "$as_me: failed program was:" >&5
80321 sed 's/^/| /' conftest.$ac_ext >&5
80322
80323 glibcxx_cv_func_modfl_use=no
80324 fi
80325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80326       ac_ext=c
80327 ac_cpp='$CPP $CPPFLAGS'
80328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80331
80332
80333 fi
80334
80335   fi
80336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80337 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80338
80339   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80340
80341 for ac_func in modfl
80342 do
80343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80344 echo "$as_me:$LINENO: checking for $ac_func" >&5
80345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80346 if eval "test \"\${$as_ac_var+set}\" = set"; then
80347   echo $ECHO_N "(cached) $ECHO_C" >&6
80348 else
80349   if test x$gcc_no_link = xyes; then
80350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80352    { (exit 1); exit 1; }; }
80353 fi
80354 cat >conftest.$ac_ext <<_ACEOF
80355 /* confdefs.h.  */
80356 _ACEOF
80357 cat confdefs.h >>conftest.$ac_ext
80358 cat >>conftest.$ac_ext <<_ACEOF
80359 /* end confdefs.h.  */
80360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80362 #define $ac_func innocuous_$ac_func
80363
80364 /* System header to define __stub macros and hopefully few prototypes,
80365     which can conflict with char $ac_func (); below.
80366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80367     <limits.h> exists even on freestanding compilers.  */
80368
80369 #ifdef __STDC__
80370 # include <limits.h>
80371 #else
80372 # include <assert.h>
80373 #endif
80374
80375 #undef $ac_func
80376
80377 /* Override any gcc2 internal prototype to avoid an error.  */
80378 #ifdef __cplusplus
80379 extern "C"
80380 {
80381 #endif
80382 /* We use char because int might match the return type of a gcc2
80383    builtin and then its argument prototype would still apply.  */
80384 char $ac_func ();
80385 /* The GNU C library defines this for functions which it implements
80386     to always fail with ENOSYS.  Some functions are actually named
80387     something starting with __ and the normal name is an alias.  */
80388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80389 choke me
80390 #else
80391 char (*f) () = $ac_func;
80392 #endif
80393 #ifdef __cplusplus
80394 }
80395 #endif
80396
80397 int
80398 main ()
80399 {
80400 return f != $ac_func;
80401   ;
80402   return 0;
80403 }
80404 _ACEOF
80405 rm -f conftest.$ac_objext conftest$ac_exeext
80406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80407   (eval $ac_link) 2>conftest.er1
80408   ac_status=$?
80409   grep -v '^ *+' conftest.er1 >conftest.err
80410   rm -f conftest.er1
80411   cat conftest.err >&5
80412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80413   (exit $ac_status); } &&
80414          { ac_try='test -z "$ac_c_werror_flag"
80415                          || test ! -s conftest.err'
80416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80417   (eval $ac_try) 2>&5
80418   ac_status=$?
80419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80420   (exit $ac_status); }; } &&
80421          { ac_try='test -s conftest$ac_exeext'
80422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80423   (eval $ac_try) 2>&5
80424   ac_status=$?
80425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426   (exit $ac_status); }; }; then
80427   eval "$as_ac_var=yes"
80428 else
80429   echo "$as_me: failed program was:" >&5
80430 sed 's/^/| /' conftest.$ac_ext >&5
80431
80432 eval "$as_ac_var=no"
80433 fi
80434 rm -f conftest.err conftest.$ac_objext \
80435       conftest$ac_exeext conftest.$ac_ext
80436 fi
80437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80439 if test `eval echo '${'$as_ac_var'}'` = yes; then
80440   cat >>confdefs.h <<_ACEOF
80441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80442 _ACEOF
80443
80444 fi
80445 done
80446
80447   else
80448
80449   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80450 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80451   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80452     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80453   echo $ECHO_N "(cached) $ECHO_C" >&6
80454 else
80455
80456
80457
80458       ac_ext=cc
80459 ac_cpp='$CXXCPP $CPPFLAGS'
80460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80463
80464       cat >conftest.$ac_ext <<_ACEOF
80465 /* confdefs.h.  */
80466 _ACEOF
80467 cat confdefs.h >>conftest.$ac_ext
80468 cat >>conftest.$ac_ext <<_ACEOF
80469 /* end confdefs.h.  */
80470 #include <math.h>
80471 int
80472 main ()
80473 {
80474  _modfl(0, 0);
80475   ;
80476   return 0;
80477 }
80478 _ACEOF
80479 rm -f conftest.$ac_objext
80480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80481   (eval $ac_compile) 2>conftest.er1
80482   ac_status=$?
80483   grep -v '^ *+' conftest.er1 >conftest.err
80484   rm -f conftest.er1
80485   cat conftest.err >&5
80486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487   (exit $ac_status); } &&
80488          { ac_try='test -z "$ac_cxx_werror_flag"
80489                          || test ! -s conftest.err'
80490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491   (eval $ac_try) 2>&5
80492   ac_status=$?
80493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494   (exit $ac_status); }; } &&
80495          { ac_try='test -s conftest.$ac_objext'
80496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497   (eval $ac_try) 2>&5
80498   ac_status=$?
80499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500   (exit $ac_status); }; }; then
80501   glibcxx_cv_func__modfl_use=yes
80502 else
80503   echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80505
80506 glibcxx_cv_func__modfl_use=no
80507 fi
80508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80509       ac_ext=c
80510 ac_cpp='$CPP $CPPFLAGS'
80511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80514
80515
80516 fi
80517
80518   fi
80519   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
80520 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
80521
80522     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
80523
80524 for ac_func in _modfl
80525 do
80526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80527 echo "$as_me:$LINENO: checking for $ac_func" >&5
80528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80529 if eval "test \"\${$as_ac_var+set}\" = set"; then
80530   echo $ECHO_N "(cached) $ECHO_C" >&6
80531 else
80532   if test x$gcc_no_link = xyes; then
80533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80535    { (exit 1); exit 1; }; }
80536 fi
80537 cat >conftest.$ac_ext <<_ACEOF
80538 /* confdefs.h.  */
80539 _ACEOF
80540 cat confdefs.h >>conftest.$ac_ext
80541 cat >>conftest.$ac_ext <<_ACEOF
80542 /* end confdefs.h.  */
80543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80545 #define $ac_func innocuous_$ac_func
80546
80547 /* System header to define __stub macros and hopefully few prototypes,
80548     which can conflict with char $ac_func (); below.
80549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80550     <limits.h> exists even on freestanding compilers.  */
80551
80552 #ifdef __STDC__
80553 # include <limits.h>
80554 #else
80555 # include <assert.h>
80556 #endif
80557
80558 #undef $ac_func
80559
80560 /* Override any gcc2 internal prototype to avoid an error.  */
80561 #ifdef __cplusplus
80562 extern "C"
80563 {
80564 #endif
80565 /* We use char because int might match the return type of a gcc2
80566    builtin and then its argument prototype would still apply.  */
80567 char $ac_func ();
80568 /* The GNU C library defines this for functions which it implements
80569     to always fail with ENOSYS.  Some functions are actually named
80570     something starting with __ and the normal name is an alias.  */
80571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80572 choke me
80573 #else
80574 char (*f) () = $ac_func;
80575 #endif
80576 #ifdef __cplusplus
80577 }
80578 #endif
80579
80580 int
80581 main ()
80582 {
80583 return f != $ac_func;
80584   ;
80585   return 0;
80586 }
80587 _ACEOF
80588 rm -f conftest.$ac_objext conftest$ac_exeext
80589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80590   (eval $ac_link) 2>conftest.er1
80591   ac_status=$?
80592   grep -v '^ *+' conftest.er1 >conftest.err
80593   rm -f conftest.er1
80594   cat conftest.err >&5
80595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80596   (exit $ac_status); } &&
80597          { ac_try='test -z "$ac_c_werror_flag"
80598                          || test ! -s conftest.err'
80599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80600   (eval $ac_try) 2>&5
80601   ac_status=$?
80602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80603   (exit $ac_status); }; } &&
80604          { ac_try='test -s conftest$ac_exeext'
80605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80606   (eval $ac_try) 2>&5
80607   ac_status=$?
80608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80609   (exit $ac_status); }; }; then
80610   eval "$as_ac_var=yes"
80611 else
80612   echo "$as_me: failed program was:" >&5
80613 sed 's/^/| /' conftest.$ac_ext >&5
80614
80615 eval "$as_ac_var=no"
80616 fi
80617 rm -f conftest.err conftest.$ac_objext \
80618       conftest$ac_exeext conftest.$ac_ext
80619 fi
80620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80622 if test `eval echo '${'$as_ac_var'}'` = yes; then
80623   cat >>confdefs.h <<_ACEOF
80624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80625 _ACEOF
80626
80627 fi
80628 done
80629
80630     fi
80631   fi
80632
80633
80634
80635
80636
80637
80638   echo "$as_me:$LINENO: checking for powl declaration" >&5
80639 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80640   if test x${glibcxx_cv_func_powl_use+set} != xset; then
80641     if test "${glibcxx_cv_func_powl_use+set}" = set; then
80642   echo $ECHO_N "(cached) $ECHO_C" >&6
80643 else
80644
80645
80646
80647       ac_ext=cc
80648 ac_cpp='$CXXCPP $CPPFLAGS'
80649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80652
80653       cat >conftest.$ac_ext <<_ACEOF
80654 /* confdefs.h.  */
80655 _ACEOF
80656 cat confdefs.h >>conftest.$ac_ext
80657 cat >>conftest.$ac_ext <<_ACEOF
80658 /* end confdefs.h.  */
80659 #include <math.h>
80660 int
80661 main ()
80662 {
80663  powl(0, 0);
80664   ;
80665   return 0;
80666 }
80667 _ACEOF
80668 rm -f conftest.$ac_objext
80669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80670   (eval $ac_compile) 2>conftest.er1
80671   ac_status=$?
80672   grep -v '^ *+' conftest.er1 >conftest.err
80673   rm -f conftest.er1
80674   cat conftest.err >&5
80675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80676   (exit $ac_status); } &&
80677          { ac_try='test -z "$ac_cxx_werror_flag"
80678                          || test ! -s conftest.err'
80679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80680   (eval $ac_try) 2>&5
80681   ac_status=$?
80682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80683   (exit $ac_status); }; } &&
80684          { ac_try='test -s conftest.$ac_objext'
80685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80686   (eval $ac_try) 2>&5
80687   ac_status=$?
80688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80689   (exit $ac_status); }; }; then
80690   glibcxx_cv_func_powl_use=yes
80691 else
80692   echo "$as_me: failed program was:" >&5
80693 sed 's/^/| /' conftest.$ac_ext >&5
80694
80695 glibcxx_cv_func_powl_use=no
80696 fi
80697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80698       ac_ext=c
80699 ac_cpp='$CPP $CPPFLAGS'
80700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80703
80704
80705 fi
80706
80707   fi
80708   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80709 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80710
80711   if test x$glibcxx_cv_func_powl_use = x"yes"; then
80712
80713 for ac_func in powl
80714 do
80715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80716 echo "$as_me:$LINENO: checking for $ac_func" >&5
80717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80718 if eval "test \"\${$as_ac_var+set}\" = set"; then
80719   echo $ECHO_N "(cached) $ECHO_C" >&6
80720 else
80721   if test x$gcc_no_link = xyes; then
80722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80724    { (exit 1); exit 1; }; }
80725 fi
80726 cat >conftest.$ac_ext <<_ACEOF
80727 /* confdefs.h.  */
80728 _ACEOF
80729 cat confdefs.h >>conftest.$ac_ext
80730 cat >>conftest.$ac_ext <<_ACEOF
80731 /* end confdefs.h.  */
80732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80734 #define $ac_func innocuous_$ac_func
80735
80736 /* System header to define __stub macros and hopefully few prototypes,
80737     which can conflict with char $ac_func (); below.
80738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80739     <limits.h> exists even on freestanding compilers.  */
80740
80741 #ifdef __STDC__
80742 # include <limits.h>
80743 #else
80744 # include <assert.h>
80745 #endif
80746
80747 #undef $ac_func
80748
80749 /* Override any gcc2 internal prototype to avoid an error.  */
80750 #ifdef __cplusplus
80751 extern "C"
80752 {
80753 #endif
80754 /* We use char because int might match the return type of a gcc2
80755    builtin and then its argument prototype would still apply.  */
80756 char $ac_func ();
80757 /* The GNU C library defines this for functions which it implements
80758     to always fail with ENOSYS.  Some functions are actually named
80759     something starting with __ and the normal name is an alias.  */
80760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80761 choke me
80762 #else
80763 char (*f) () = $ac_func;
80764 #endif
80765 #ifdef __cplusplus
80766 }
80767 #endif
80768
80769 int
80770 main ()
80771 {
80772 return f != $ac_func;
80773   ;
80774   return 0;
80775 }
80776 _ACEOF
80777 rm -f conftest.$ac_objext conftest$ac_exeext
80778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80779   (eval $ac_link) 2>conftest.er1
80780   ac_status=$?
80781   grep -v '^ *+' conftest.er1 >conftest.err
80782   rm -f conftest.er1
80783   cat conftest.err >&5
80784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80785   (exit $ac_status); } &&
80786          { ac_try='test -z "$ac_c_werror_flag"
80787                          || test ! -s conftest.err'
80788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80789   (eval $ac_try) 2>&5
80790   ac_status=$?
80791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80792   (exit $ac_status); }; } &&
80793          { ac_try='test -s conftest$ac_exeext'
80794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80795   (eval $ac_try) 2>&5
80796   ac_status=$?
80797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80798   (exit $ac_status); }; }; then
80799   eval "$as_ac_var=yes"
80800 else
80801   echo "$as_me: failed program was:" >&5
80802 sed 's/^/| /' conftest.$ac_ext >&5
80803
80804 eval "$as_ac_var=no"
80805 fi
80806 rm -f conftest.err conftest.$ac_objext \
80807       conftest$ac_exeext conftest.$ac_ext
80808 fi
80809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80811 if test `eval echo '${'$as_ac_var'}'` = yes; then
80812   cat >>confdefs.h <<_ACEOF
80813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80814 _ACEOF
80815
80816 fi
80817 done
80818
80819   else
80820
80821   echo "$as_me:$LINENO: checking for _powl declaration" >&5
80822 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80823   if test x${glibcxx_cv_func__powl_use+set} != xset; then
80824     if test "${glibcxx_cv_func__powl_use+set}" = set; then
80825   echo $ECHO_N "(cached) $ECHO_C" >&6
80826 else
80827
80828
80829
80830       ac_ext=cc
80831 ac_cpp='$CXXCPP $CPPFLAGS'
80832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80835
80836       cat >conftest.$ac_ext <<_ACEOF
80837 /* confdefs.h.  */
80838 _ACEOF
80839 cat confdefs.h >>conftest.$ac_ext
80840 cat >>conftest.$ac_ext <<_ACEOF
80841 /* end confdefs.h.  */
80842 #include <math.h>
80843 int
80844 main ()
80845 {
80846  _powl(0, 0);
80847   ;
80848   return 0;
80849 }
80850 _ACEOF
80851 rm -f conftest.$ac_objext
80852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80853   (eval $ac_compile) 2>conftest.er1
80854   ac_status=$?
80855   grep -v '^ *+' conftest.er1 >conftest.err
80856   rm -f conftest.er1
80857   cat conftest.err >&5
80858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859   (exit $ac_status); } &&
80860          { ac_try='test -z "$ac_cxx_werror_flag"
80861                          || test ! -s conftest.err'
80862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80863   (eval $ac_try) 2>&5
80864   ac_status=$?
80865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866   (exit $ac_status); }; } &&
80867          { ac_try='test -s conftest.$ac_objext'
80868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80869   (eval $ac_try) 2>&5
80870   ac_status=$?
80871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80872   (exit $ac_status); }; }; then
80873   glibcxx_cv_func__powl_use=yes
80874 else
80875   echo "$as_me: failed program was:" >&5
80876 sed 's/^/| /' conftest.$ac_ext >&5
80877
80878 glibcxx_cv_func__powl_use=no
80879 fi
80880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80881       ac_ext=c
80882 ac_cpp='$CPP $CPPFLAGS'
80883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80886
80887
80888 fi
80889
80890   fi
80891   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80892 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80893
80894     if test x$glibcxx_cv_func__powl_use = x"yes"; then
80895
80896 for ac_func in _powl
80897 do
80898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80899 echo "$as_me:$LINENO: checking for $ac_func" >&5
80900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80901 if eval "test \"\${$as_ac_var+set}\" = set"; then
80902   echo $ECHO_N "(cached) $ECHO_C" >&6
80903 else
80904   if test x$gcc_no_link = xyes; then
80905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80907    { (exit 1); exit 1; }; }
80908 fi
80909 cat >conftest.$ac_ext <<_ACEOF
80910 /* confdefs.h.  */
80911 _ACEOF
80912 cat confdefs.h >>conftest.$ac_ext
80913 cat >>conftest.$ac_ext <<_ACEOF
80914 /* end confdefs.h.  */
80915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80917 #define $ac_func innocuous_$ac_func
80918
80919 /* System header to define __stub macros and hopefully few prototypes,
80920     which can conflict with char $ac_func (); below.
80921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80922     <limits.h> exists even on freestanding compilers.  */
80923
80924 #ifdef __STDC__
80925 # include <limits.h>
80926 #else
80927 # include <assert.h>
80928 #endif
80929
80930 #undef $ac_func
80931
80932 /* Override any gcc2 internal prototype to avoid an error.  */
80933 #ifdef __cplusplus
80934 extern "C"
80935 {
80936 #endif
80937 /* We use char because int might match the return type of a gcc2
80938    builtin and then its argument prototype would still apply.  */
80939 char $ac_func ();
80940 /* The GNU C library defines this for functions which it implements
80941     to always fail with ENOSYS.  Some functions are actually named
80942     something starting with __ and the normal name is an alias.  */
80943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80944 choke me
80945 #else
80946 char (*f) () = $ac_func;
80947 #endif
80948 #ifdef __cplusplus
80949 }
80950 #endif
80951
80952 int
80953 main ()
80954 {
80955 return f != $ac_func;
80956   ;
80957   return 0;
80958 }
80959 _ACEOF
80960 rm -f conftest.$ac_objext conftest$ac_exeext
80961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80962   (eval $ac_link) 2>conftest.er1
80963   ac_status=$?
80964   grep -v '^ *+' conftest.er1 >conftest.err
80965   rm -f conftest.er1
80966   cat conftest.err >&5
80967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80968   (exit $ac_status); } &&
80969          { ac_try='test -z "$ac_c_werror_flag"
80970                          || test ! -s conftest.err'
80971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80972   (eval $ac_try) 2>&5
80973   ac_status=$?
80974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80975   (exit $ac_status); }; } &&
80976          { ac_try='test -s conftest$ac_exeext'
80977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80978   (eval $ac_try) 2>&5
80979   ac_status=$?
80980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80981   (exit $ac_status); }; }; then
80982   eval "$as_ac_var=yes"
80983 else
80984   echo "$as_me: failed program was:" >&5
80985 sed 's/^/| /' conftest.$ac_ext >&5
80986
80987 eval "$as_ac_var=no"
80988 fi
80989 rm -f conftest.err conftest.$ac_objext \
80990       conftest$ac_exeext conftest.$ac_ext
80991 fi
80992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80994 if test `eval echo '${'$as_ac_var'}'` = yes; then
80995   cat >>confdefs.h <<_ACEOF
80996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80997 _ACEOF
80998
80999 fi
81000 done
81001
81002     fi
81003   fi
81004
81005
81006
81007
81008
81009
81010   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81011 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81012   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81013     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81014   echo $ECHO_N "(cached) $ECHO_C" >&6
81015 else
81016
81017
81018
81019       ac_ext=cc
81020 ac_cpp='$CXXCPP $CPPFLAGS'
81021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81024
81025       cat >conftest.$ac_ext <<_ACEOF
81026 /* confdefs.h.  */
81027 _ACEOF
81028 cat confdefs.h >>conftest.$ac_ext
81029 cat >>conftest.$ac_ext <<_ACEOF
81030 /* end confdefs.h.  */
81031 #include <math.h>
81032                       #ifdef HAVE_IEEEFP_H
81033                       #include <ieeefp.h>
81034                       #endif
81035
81036 int
81037 main ()
81038 {
81039  sqrtl(0);
81040   ;
81041   return 0;
81042 }
81043 _ACEOF
81044 rm -f conftest.$ac_objext
81045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81046   (eval $ac_compile) 2>conftest.er1
81047   ac_status=$?
81048   grep -v '^ *+' conftest.er1 >conftest.err
81049   rm -f conftest.er1
81050   cat conftest.err >&5
81051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81052   (exit $ac_status); } &&
81053          { ac_try='test -z "$ac_cxx_werror_flag"
81054                          || test ! -s conftest.err'
81055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81056   (eval $ac_try) 2>&5
81057   ac_status=$?
81058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81059   (exit $ac_status); }; } &&
81060          { ac_try='test -s conftest.$ac_objext'
81061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81062   (eval $ac_try) 2>&5
81063   ac_status=$?
81064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81065   (exit $ac_status); }; }; then
81066   glibcxx_cv_func_sqrtl_use=yes
81067 else
81068   echo "$as_me: failed program was:" >&5
81069 sed 's/^/| /' conftest.$ac_ext >&5
81070
81071 glibcxx_cv_func_sqrtl_use=no
81072 fi
81073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81074       ac_ext=c
81075 ac_cpp='$CPP $CPPFLAGS'
81076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81079
81080
81081 fi
81082
81083   fi
81084   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81085 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81086
81087   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81088
81089 for ac_func in sqrtl
81090 do
81091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81092 echo "$as_me:$LINENO: checking for $ac_func" >&5
81093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81094 if eval "test \"\${$as_ac_var+set}\" = set"; then
81095   echo $ECHO_N "(cached) $ECHO_C" >&6
81096 else
81097   if test x$gcc_no_link = xyes; then
81098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81100    { (exit 1); exit 1; }; }
81101 fi
81102 cat >conftest.$ac_ext <<_ACEOF
81103 /* confdefs.h.  */
81104 _ACEOF
81105 cat confdefs.h >>conftest.$ac_ext
81106 cat >>conftest.$ac_ext <<_ACEOF
81107 /* end confdefs.h.  */
81108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81110 #define $ac_func innocuous_$ac_func
81111
81112 /* System header to define __stub macros and hopefully few prototypes,
81113     which can conflict with char $ac_func (); below.
81114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81115     <limits.h> exists even on freestanding compilers.  */
81116
81117 #ifdef __STDC__
81118 # include <limits.h>
81119 #else
81120 # include <assert.h>
81121 #endif
81122
81123 #undef $ac_func
81124
81125 /* Override any gcc2 internal prototype to avoid an error.  */
81126 #ifdef __cplusplus
81127 extern "C"
81128 {
81129 #endif
81130 /* We use char because int might match the return type of a gcc2
81131    builtin and then its argument prototype would still apply.  */
81132 char $ac_func ();
81133 /* The GNU C library defines this for functions which it implements
81134     to always fail with ENOSYS.  Some functions are actually named
81135     something starting with __ and the normal name is an alias.  */
81136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81137 choke me
81138 #else
81139 char (*f) () = $ac_func;
81140 #endif
81141 #ifdef __cplusplus
81142 }
81143 #endif
81144
81145 int
81146 main ()
81147 {
81148 return f != $ac_func;
81149   ;
81150   return 0;
81151 }
81152 _ACEOF
81153 rm -f conftest.$ac_objext conftest$ac_exeext
81154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81155   (eval $ac_link) 2>conftest.er1
81156   ac_status=$?
81157   grep -v '^ *+' conftest.er1 >conftest.err
81158   rm -f conftest.er1
81159   cat conftest.err >&5
81160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81161   (exit $ac_status); } &&
81162          { ac_try='test -z "$ac_c_werror_flag"
81163                          || test ! -s conftest.err'
81164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81165   (eval $ac_try) 2>&5
81166   ac_status=$?
81167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81168   (exit $ac_status); }; } &&
81169          { ac_try='test -s conftest$ac_exeext'
81170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81171   (eval $ac_try) 2>&5
81172   ac_status=$?
81173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81174   (exit $ac_status); }; }; then
81175   eval "$as_ac_var=yes"
81176 else
81177   echo "$as_me: failed program was:" >&5
81178 sed 's/^/| /' conftest.$ac_ext >&5
81179
81180 eval "$as_ac_var=no"
81181 fi
81182 rm -f conftest.err conftest.$ac_objext \
81183       conftest$ac_exeext conftest.$ac_ext
81184 fi
81185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81187 if test `eval echo '${'$as_ac_var'}'` = yes; then
81188   cat >>confdefs.h <<_ACEOF
81189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81190 _ACEOF
81191
81192 fi
81193 done
81194
81195   else
81196
81197   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81198 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81199   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81200     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81201   echo $ECHO_N "(cached) $ECHO_C" >&6
81202 else
81203
81204
81205
81206       ac_ext=cc
81207 ac_cpp='$CXXCPP $CPPFLAGS'
81208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81211
81212       cat >conftest.$ac_ext <<_ACEOF
81213 /* confdefs.h.  */
81214 _ACEOF
81215 cat confdefs.h >>conftest.$ac_ext
81216 cat >>conftest.$ac_ext <<_ACEOF
81217 /* end confdefs.h.  */
81218 #include <math.h>
81219                       #ifdef HAVE_IEEEFP_H
81220                       #include <ieeefp.h>
81221                       #endif
81222
81223 int
81224 main ()
81225 {
81226  _sqrtl(0);
81227   ;
81228   return 0;
81229 }
81230 _ACEOF
81231 rm -f conftest.$ac_objext
81232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81233   (eval $ac_compile) 2>conftest.er1
81234   ac_status=$?
81235   grep -v '^ *+' conftest.er1 >conftest.err
81236   rm -f conftest.er1
81237   cat conftest.err >&5
81238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81239   (exit $ac_status); } &&
81240          { ac_try='test -z "$ac_cxx_werror_flag"
81241                          || test ! -s conftest.err'
81242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81243   (eval $ac_try) 2>&5
81244   ac_status=$?
81245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81246   (exit $ac_status); }; } &&
81247          { ac_try='test -s conftest.$ac_objext'
81248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81249   (eval $ac_try) 2>&5
81250   ac_status=$?
81251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81252   (exit $ac_status); }; }; then
81253   glibcxx_cv_func__sqrtl_use=yes
81254 else
81255   echo "$as_me: failed program was:" >&5
81256 sed 's/^/| /' conftest.$ac_ext >&5
81257
81258 glibcxx_cv_func__sqrtl_use=no
81259 fi
81260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81261       ac_ext=c
81262 ac_cpp='$CPP $CPPFLAGS'
81263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81266
81267
81268 fi
81269
81270   fi
81271   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81272 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81273
81274     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81275
81276 for ac_func in _sqrtl
81277 do
81278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81279 echo "$as_me:$LINENO: checking for $ac_func" >&5
81280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81281 if eval "test \"\${$as_ac_var+set}\" = set"; then
81282   echo $ECHO_N "(cached) $ECHO_C" >&6
81283 else
81284   if test x$gcc_no_link = xyes; then
81285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81287    { (exit 1); exit 1; }; }
81288 fi
81289 cat >conftest.$ac_ext <<_ACEOF
81290 /* confdefs.h.  */
81291 _ACEOF
81292 cat confdefs.h >>conftest.$ac_ext
81293 cat >>conftest.$ac_ext <<_ACEOF
81294 /* end confdefs.h.  */
81295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81297 #define $ac_func innocuous_$ac_func
81298
81299 /* System header to define __stub macros and hopefully few prototypes,
81300     which can conflict with char $ac_func (); below.
81301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81302     <limits.h> exists even on freestanding compilers.  */
81303
81304 #ifdef __STDC__
81305 # include <limits.h>
81306 #else
81307 # include <assert.h>
81308 #endif
81309
81310 #undef $ac_func
81311
81312 /* Override any gcc2 internal prototype to avoid an error.  */
81313 #ifdef __cplusplus
81314 extern "C"
81315 {
81316 #endif
81317 /* We use char because int might match the return type of a gcc2
81318    builtin and then its argument prototype would still apply.  */
81319 char $ac_func ();
81320 /* The GNU C library defines this for functions which it implements
81321     to always fail with ENOSYS.  Some functions are actually named
81322     something starting with __ and the normal name is an alias.  */
81323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81324 choke me
81325 #else
81326 char (*f) () = $ac_func;
81327 #endif
81328 #ifdef __cplusplus
81329 }
81330 #endif
81331
81332 int
81333 main ()
81334 {
81335 return f != $ac_func;
81336   ;
81337   return 0;
81338 }
81339 _ACEOF
81340 rm -f conftest.$ac_objext conftest$ac_exeext
81341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81342   (eval $ac_link) 2>conftest.er1
81343   ac_status=$?
81344   grep -v '^ *+' conftest.er1 >conftest.err
81345   rm -f conftest.er1
81346   cat conftest.err >&5
81347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81348   (exit $ac_status); } &&
81349          { ac_try='test -z "$ac_c_werror_flag"
81350                          || test ! -s conftest.err'
81351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81352   (eval $ac_try) 2>&5
81353   ac_status=$?
81354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81355   (exit $ac_status); }; } &&
81356          { ac_try='test -s conftest$ac_exeext'
81357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81358   (eval $ac_try) 2>&5
81359   ac_status=$?
81360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81361   (exit $ac_status); }; }; then
81362   eval "$as_ac_var=yes"
81363 else
81364   echo "$as_me: failed program was:" >&5
81365 sed 's/^/| /' conftest.$ac_ext >&5
81366
81367 eval "$as_ac_var=no"
81368 fi
81369 rm -f conftest.err conftest.$ac_objext \
81370       conftest$ac_exeext conftest.$ac_ext
81371 fi
81372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81374 if test `eval echo '${'$as_ac_var'}'` = yes; then
81375   cat >>confdefs.h <<_ACEOF
81376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81377 _ACEOF
81378
81379 fi
81380 done
81381
81382     fi
81383   fi
81384
81385
81386
81387
81388
81389
81390   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81391 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81392   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81393     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81394   echo $ECHO_N "(cached) $ECHO_C" >&6
81395 else
81396
81397
81398
81399       ac_ext=cc
81400 ac_cpp='$CXXCPP $CPPFLAGS'
81401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81404
81405       cat >conftest.$ac_ext <<_ACEOF
81406 /* confdefs.h.  */
81407 _ACEOF
81408 cat confdefs.h >>conftest.$ac_ext
81409 cat >>conftest.$ac_ext <<_ACEOF
81410 /* end confdefs.h.  */
81411 #include <math.h>
81412 int
81413 main ()
81414 {
81415  sincosl(0, 0, 0);
81416   ;
81417   return 0;
81418 }
81419 _ACEOF
81420 rm -f conftest.$ac_objext
81421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81422   (eval $ac_compile) 2>conftest.er1
81423   ac_status=$?
81424   grep -v '^ *+' conftest.er1 >conftest.err
81425   rm -f conftest.er1
81426   cat conftest.err >&5
81427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81428   (exit $ac_status); } &&
81429          { ac_try='test -z "$ac_cxx_werror_flag"
81430                          || test ! -s conftest.err'
81431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81432   (eval $ac_try) 2>&5
81433   ac_status=$?
81434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81435   (exit $ac_status); }; } &&
81436          { ac_try='test -s conftest.$ac_objext'
81437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81438   (eval $ac_try) 2>&5
81439   ac_status=$?
81440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81441   (exit $ac_status); }; }; then
81442   glibcxx_cv_func_sincosl_use=yes
81443 else
81444   echo "$as_me: failed program was:" >&5
81445 sed 's/^/| /' conftest.$ac_ext >&5
81446
81447 glibcxx_cv_func_sincosl_use=no
81448 fi
81449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81450       ac_ext=c
81451 ac_cpp='$CPP $CPPFLAGS'
81452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81455
81456
81457 fi
81458
81459   fi
81460   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81461 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81462
81463   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81464
81465 for ac_func in sincosl
81466 do
81467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81468 echo "$as_me:$LINENO: checking for $ac_func" >&5
81469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81470 if eval "test \"\${$as_ac_var+set}\" = set"; then
81471   echo $ECHO_N "(cached) $ECHO_C" >&6
81472 else
81473   if test x$gcc_no_link = xyes; then
81474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81476    { (exit 1); exit 1; }; }
81477 fi
81478 cat >conftest.$ac_ext <<_ACEOF
81479 /* confdefs.h.  */
81480 _ACEOF
81481 cat confdefs.h >>conftest.$ac_ext
81482 cat >>conftest.$ac_ext <<_ACEOF
81483 /* end confdefs.h.  */
81484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81486 #define $ac_func innocuous_$ac_func
81487
81488 /* System header to define __stub macros and hopefully few prototypes,
81489     which can conflict with char $ac_func (); below.
81490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81491     <limits.h> exists even on freestanding compilers.  */
81492
81493 #ifdef __STDC__
81494 # include <limits.h>
81495 #else
81496 # include <assert.h>
81497 #endif
81498
81499 #undef $ac_func
81500
81501 /* Override any gcc2 internal prototype to avoid an error.  */
81502 #ifdef __cplusplus
81503 extern "C"
81504 {
81505 #endif
81506 /* We use char because int might match the return type of a gcc2
81507    builtin and then its argument prototype would still apply.  */
81508 char $ac_func ();
81509 /* The GNU C library defines this for functions which it implements
81510     to always fail with ENOSYS.  Some functions are actually named
81511     something starting with __ and the normal name is an alias.  */
81512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81513 choke me
81514 #else
81515 char (*f) () = $ac_func;
81516 #endif
81517 #ifdef __cplusplus
81518 }
81519 #endif
81520
81521 int
81522 main ()
81523 {
81524 return f != $ac_func;
81525   ;
81526   return 0;
81527 }
81528 _ACEOF
81529 rm -f conftest.$ac_objext conftest$ac_exeext
81530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81531   (eval $ac_link) 2>conftest.er1
81532   ac_status=$?
81533   grep -v '^ *+' conftest.er1 >conftest.err
81534   rm -f conftest.er1
81535   cat conftest.err >&5
81536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537   (exit $ac_status); } &&
81538          { ac_try='test -z "$ac_c_werror_flag"
81539                          || test ! -s conftest.err'
81540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81541   (eval $ac_try) 2>&5
81542   ac_status=$?
81543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81544   (exit $ac_status); }; } &&
81545          { ac_try='test -s conftest$ac_exeext'
81546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81547   (eval $ac_try) 2>&5
81548   ac_status=$?
81549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81550   (exit $ac_status); }; }; then
81551   eval "$as_ac_var=yes"
81552 else
81553   echo "$as_me: failed program was:" >&5
81554 sed 's/^/| /' conftest.$ac_ext >&5
81555
81556 eval "$as_ac_var=no"
81557 fi
81558 rm -f conftest.err conftest.$ac_objext \
81559       conftest$ac_exeext conftest.$ac_ext
81560 fi
81561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81563 if test `eval echo '${'$as_ac_var'}'` = yes; then
81564   cat >>confdefs.h <<_ACEOF
81565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81566 _ACEOF
81567
81568 fi
81569 done
81570
81571   else
81572
81573   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81574 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81575   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81576     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81577   echo $ECHO_N "(cached) $ECHO_C" >&6
81578 else
81579
81580
81581
81582       ac_ext=cc
81583 ac_cpp='$CXXCPP $CPPFLAGS'
81584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81587
81588       cat >conftest.$ac_ext <<_ACEOF
81589 /* confdefs.h.  */
81590 _ACEOF
81591 cat confdefs.h >>conftest.$ac_ext
81592 cat >>conftest.$ac_ext <<_ACEOF
81593 /* end confdefs.h.  */
81594 #include <math.h>
81595 int
81596 main ()
81597 {
81598  _sincosl(0, 0, 0);
81599   ;
81600   return 0;
81601 }
81602 _ACEOF
81603 rm -f conftest.$ac_objext
81604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81605   (eval $ac_compile) 2>conftest.er1
81606   ac_status=$?
81607   grep -v '^ *+' conftest.er1 >conftest.err
81608   rm -f conftest.er1
81609   cat conftest.err >&5
81610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81611   (exit $ac_status); } &&
81612          { ac_try='test -z "$ac_cxx_werror_flag"
81613                          || test ! -s conftest.err'
81614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81615   (eval $ac_try) 2>&5
81616   ac_status=$?
81617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81618   (exit $ac_status); }; } &&
81619          { ac_try='test -s conftest.$ac_objext'
81620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81621   (eval $ac_try) 2>&5
81622   ac_status=$?
81623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81624   (exit $ac_status); }; }; then
81625   glibcxx_cv_func__sincosl_use=yes
81626 else
81627   echo "$as_me: failed program was:" >&5
81628 sed 's/^/| /' conftest.$ac_ext >&5
81629
81630 glibcxx_cv_func__sincosl_use=no
81631 fi
81632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81633       ac_ext=c
81634 ac_cpp='$CPP $CPPFLAGS'
81635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81638
81639
81640 fi
81641
81642   fi
81643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81644 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81645
81646     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81647
81648 for ac_func in _sincosl
81649 do
81650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81651 echo "$as_me:$LINENO: checking for $ac_func" >&5
81652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81653 if eval "test \"\${$as_ac_var+set}\" = set"; then
81654   echo $ECHO_N "(cached) $ECHO_C" >&6
81655 else
81656   if test x$gcc_no_link = xyes; then
81657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81659    { (exit 1); exit 1; }; }
81660 fi
81661 cat >conftest.$ac_ext <<_ACEOF
81662 /* confdefs.h.  */
81663 _ACEOF
81664 cat confdefs.h >>conftest.$ac_ext
81665 cat >>conftest.$ac_ext <<_ACEOF
81666 /* end confdefs.h.  */
81667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81669 #define $ac_func innocuous_$ac_func
81670
81671 /* System header to define __stub macros and hopefully few prototypes,
81672     which can conflict with char $ac_func (); below.
81673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81674     <limits.h> exists even on freestanding compilers.  */
81675
81676 #ifdef __STDC__
81677 # include <limits.h>
81678 #else
81679 # include <assert.h>
81680 #endif
81681
81682 #undef $ac_func
81683
81684 /* Override any gcc2 internal prototype to avoid an error.  */
81685 #ifdef __cplusplus
81686 extern "C"
81687 {
81688 #endif
81689 /* We use char because int might match the return type of a gcc2
81690    builtin and then its argument prototype would still apply.  */
81691 char $ac_func ();
81692 /* The GNU C library defines this for functions which it implements
81693     to always fail with ENOSYS.  Some functions are actually named
81694     something starting with __ and the normal name is an alias.  */
81695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81696 choke me
81697 #else
81698 char (*f) () = $ac_func;
81699 #endif
81700 #ifdef __cplusplus
81701 }
81702 #endif
81703
81704 int
81705 main ()
81706 {
81707 return f != $ac_func;
81708   ;
81709   return 0;
81710 }
81711 _ACEOF
81712 rm -f conftest.$ac_objext conftest$ac_exeext
81713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81714   (eval $ac_link) 2>conftest.er1
81715   ac_status=$?
81716   grep -v '^ *+' conftest.er1 >conftest.err
81717   rm -f conftest.er1
81718   cat conftest.err >&5
81719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81720   (exit $ac_status); } &&
81721          { ac_try='test -z "$ac_c_werror_flag"
81722                          || test ! -s conftest.err'
81723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81724   (eval $ac_try) 2>&5
81725   ac_status=$?
81726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81727   (exit $ac_status); }; } &&
81728          { ac_try='test -s conftest$ac_exeext'
81729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81730   (eval $ac_try) 2>&5
81731   ac_status=$?
81732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81733   (exit $ac_status); }; }; then
81734   eval "$as_ac_var=yes"
81735 else
81736   echo "$as_me: failed program was:" >&5
81737 sed 's/^/| /' conftest.$ac_ext >&5
81738
81739 eval "$as_ac_var=no"
81740 fi
81741 rm -f conftest.err conftest.$ac_objext \
81742       conftest$ac_exeext conftest.$ac_ext
81743 fi
81744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81746 if test `eval echo '${'$as_ac_var'}'` = yes; then
81747   cat >>confdefs.h <<_ACEOF
81748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81749 _ACEOF
81750
81751 fi
81752 done
81753
81754     fi
81755   fi
81756
81757
81758
81759
81760
81761
81762   echo "$as_me:$LINENO: checking for finitel declaration" >&5
81763 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81764   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81765     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81766   echo $ECHO_N "(cached) $ECHO_C" >&6
81767 else
81768
81769
81770
81771       ac_ext=cc
81772 ac_cpp='$CXXCPP $CPPFLAGS'
81773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81776
81777       cat >conftest.$ac_ext <<_ACEOF
81778 /* confdefs.h.  */
81779 _ACEOF
81780 cat confdefs.h >>conftest.$ac_ext
81781 cat >>conftest.$ac_ext <<_ACEOF
81782 /* end confdefs.h.  */
81783 #include <math.h>
81784                       #ifdef HAVE_IEEEFP_H
81785                       #include <ieeefp.h>
81786                       #endif
81787
81788 int
81789 main ()
81790 {
81791  finitel(0);
81792   ;
81793   return 0;
81794 }
81795 _ACEOF
81796 rm -f conftest.$ac_objext
81797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81798   (eval $ac_compile) 2>conftest.er1
81799   ac_status=$?
81800   grep -v '^ *+' conftest.er1 >conftest.err
81801   rm -f conftest.er1
81802   cat conftest.err >&5
81803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81804   (exit $ac_status); } &&
81805          { ac_try='test -z "$ac_cxx_werror_flag"
81806                          || test ! -s conftest.err'
81807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81808   (eval $ac_try) 2>&5
81809   ac_status=$?
81810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81811   (exit $ac_status); }; } &&
81812          { ac_try='test -s conftest.$ac_objext'
81813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81814   (eval $ac_try) 2>&5
81815   ac_status=$?
81816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81817   (exit $ac_status); }; }; then
81818   glibcxx_cv_func_finitel_use=yes
81819 else
81820   echo "$as_me: failed program was:" >&5
81821 sed 's/^/| /' conftest.$ac_ext >&5
81822
81823 glibcxx_cv_func_finitel_use=no
81824 fi
81825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81826       ac_ext=c
81827 ac_cpp='$CPP $CPPFLAGS'
81828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81831
81832
81833 fi
81834
81835   fi
81836   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81837 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81838
81839   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81840
81841 for ac_func in finitel
81842 do
81843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81844 echo "$as_me:$LINENO: checking for $ac_func" >&5
81845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81846 if eval "test \"\${$as_ac_var+set}\" = set"; then
81847   echo $ECHO_N "(cached) $ECHO_C" >&6
81848 else
81849   if test x$gcc_no_link = xyes; then
81850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81852    { (exit 1); exit 1; }; }
81853 fi
81854 cat >conftest.$ac_ext <<_ACEOF
81855 /* confdefs.h.  */
81856 _ACEOF
81857 cat confdefs.h >>conftest.$ac_ext
81858 cat >>conftest.$ac_ext <<_ACEOF
81859 /* end confdefs.h.  */
81860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81862 #define $ac_func innocuous_$ac_func
81863
81864 /* System header to define __stub macros and hopefully few prototypes,
81865     which can conflict with char $ac_func (); below.
81866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81867     <limits.h> exists even on freestanding compilers.  */
81868
81869 #ifdef __STDC__
81870 # include <limits.h>
81871 #else
81872 # include <assert.h>
81873 #endif
81874
81875 #undef $ac_func
81876
81877 /* Override any gcc2 internal prototype to avoid an error.  */
81878 #ifdef __cplusplus
81879 extern "C"
81880 {
81881 #endif
81882 /* We use char because int might match the return type of a gcc2
81883    builtin and then its argument prototype would still apply.  */
81884 char $ac_func ();
81885 /* The GNU C library defines this for functions which it implements
81886     to always fail with ENOSYS.  Some functions are actually named
81887     something starting with __ and the normal name is an alias.  */
81888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81889 choke me
81890 #else
81891 char (*f) () = $ac_func;
81892 #endif
81893 #ifdef __cplusplus
81894 }
81895 #endif
81896
81897 int
81898 main ()
81899 {
81900 return f != $ac_func;
81901   ;
81902   return 0;
81903 }
81904 _ACEOF
81905 rm -f conftest.$ac_objext conftest$ac_exeext
81906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81907   (eval $ac_link) 2>conftest.er1
81908   ac_status=$?
81909   grep -v '^ *+' conftest.er1 >conftest.err
81910   rm -f conftest.er1
81911   cat conftest.err >&5
81912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81913   (exit $ac_status); } &&
81914          { ac_try='test -z "$ac_c_werror_flag"
81915                          || test ! -s conftest.err'
81916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81917   (eval $ac_try) 2>&5
81918   ac_status=$?
81919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81920   (exit $ac_status); }; } &&
81921          { ac_try='test -s conftest$ac_exeext'
81922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81923   (eval $ac_try) 2>&5
81924   ac_status=$?
81925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81926   (exit $ac_status); }; }; then
81927   eval "$as_ac_var=yes"
81928 else
81929   echo "$as_me: failed program was:" >&5
81930 sed 's/^/| /' conftest.$ac_ext >&5
81931
81932 eval "$as_ac_var=no"
81933 fi
81934 rm -f conftest.err conftest.$ac_objext \
81935       conftest$ac_exeext conftest.$ac_ext
81936 fi
81937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81939 if test `eval echo '${'$as_ac_var'}'` = yes; then
81940   cat >>confdefs.h <<_ACEOF
81941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81942 _ACEOF
81943
81944 fi
81945 done
81946
81947   else
81948
81949   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81950 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81951   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81952     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81953   echo $ECHO_N "(cached) $ECHO_C" >&6
81954 else
81955
81956
81957
81958       ac_ext=cc
81959 ac_cpp='$CXXCPP $CPPFLAGS'
81960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81963
81964       cat >conftest.$ac_ext <<_ACEOF
81965 /* confdefs.h.  */
81966 _ACEOF
81967 cat confdefs.h >>conftest.$ac_ext
81968 cat >>conftest.$ac_ext <<_ACEOF
81969 /* end confdefs.h.  */
81970 #include <math.h>
81971                       #ifdef HAVE_IEEEFP_H
81972                       #include <ieeefp.h>
81973                       #endif
81974
81975 int
81976 main ()
81977 {
81978  _finitel(0);
81979   ;
81980   return 0;
81981 }
81982 _ACEOF
81983 rm -f conftest.$ac_objext
81984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81985   (eval $ac_compile) 2>conftest.er1
81986   ac_status=$?
81987   grep -v '^ *+' conftest.er1 >conftest.err
81988   rm -f conftest.er1
81989   cat conftest.err >&5
81990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81991   (exit $ac_status); } &&
81992          { ac_try='test -z "$ac_cxx_werror_flag"
81993                          || test ! -s conftest.err'
81994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81995   (eval $ac_try) 2>&5
81996   ac_status=$?
81997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81998   (exit $ac_status); }; } &&
81999          { ac_try='test -s conftest.$ac_objext'
82000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82001   (eval $ac_try) 2>&5
82002   ac_status=$?
82003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82004   (exit $ac_status); }; }; then
82005   glibcxx_cv_func__finitel_use=yes
82006 else
82007   echo "$as_me: failed program was:" >&5
82008 sed 's/^/| /' conftest.$ac_ext >&5
82009
82010 glibcxx_cv_func__finitel_use=no
82011 fi
82012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82013       ac_ext=c
82014 ac_cpp='$CPP $CPPFLAGS'
82015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82018
82019
82020 fi
82021
82022   fi
82023   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82024 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82025
82026     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82027
82028 for ac_func in _finitel
82029 do
82030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82031 echo "$as_me:$LINENO: checking for $ac_func" >&5
82032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82033 if eval "test \"\${$as_ac_var+set}\" = set"; then
82034   echo $ECHO_N "(cached) $ECHO_C" >&6
82035 else
82036   if test x$gcc_no_link = xyes; then
82037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82039    { (exit 1); exit 1; }; }
82040 fi
82041 cat >conftest.$ac_ext <<_ACEOF
82042 /* confdefs.h.  */
82043 _ACEOF
82044 cat confdefs.h >>conftest.$ac_ext
82045 cat >>conftest.$ac_ext <<_ACEOF
82046 /* end confdefs.h.  */
82047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82049 #define $ac_func innocuous_$ac_func
82050
82051 /* System header to define __stub macros and hopefully few prototypes,
82052     which can conflict with char $ac_func (); below.
82053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82054     <limits.h> exists even on freestanding compilers.  */
82055
82056 #ifdef __STDC__
82057 # include <limits.h>
82058 #else
82059 # include <assert.h>
82060 #endif
82061
82062 #undef $ac_func
82063
82064 /* Override any gcc2 internal prototype to avoid an error.  */
82065 #ifdef __cplusplus
82066 extern "C"
82067 {
82068 #endif
82069 /* We use char because int might match the return type of a gcc2
82070    builtin and then its argument prototype would still apply.  */
82071 char $ac_func ();
82072 /* The GNU C library defines this for functions which it implements
82073     to always fail with ENOSYS.  Some functions are actually named
82074     something starting with __ and the normal name is an alias.  */
82075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82076 choke me
82077 #else
82078 char (*f) () = $ac_func;
82079 #endif
82080 #ifdef __cplusplus
82081 }
82082 #endif
82083
82084 int
82085 main ()
82086 {
82087 return f != $ac_func;
82088   ;
82089   return 0;
82090 }
82091 _ACEOF
82092 rm -f conftest.$ac_objext conftest$ac_exeext
82093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82094   (eval $ac_link) 2>conftest.er1
82095   ac_status=$?
82096   grep -v '^ *+' conftest.er1 >conftest.err
82097   rm -f conftest.er1
82098   cat conftest.err >&5
82099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100   (exit $ac_status); } &&
82101          { ac_try='test -z "$ac_c_werror_flag"
82102                          || test ! -s conftest.err'
82103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82104   (eval $ac_try) 2>&5
82105   ac_status=$?
82106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82107   (exit $ac_status); }; } &&
82108          { ac_try='test -s conftest$ac_exeext'
82109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82110   (eval $ac_try) 2>&5
82111   ac_status=$?
82112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82113   (exit $ac_status); }; }; then
82114   eval "$as_ac_var=yes"
82115 else
82116   echo "$as_me: failed program was:" >&5
82117 sed 's/^/| /' conftest.$ac_ext >&5
82118
82119 eval "$as_ac_var=no"
82120 fi
82121 rm -f conftest.err conftest.$ac_objext \
82122       conftest$ac_exeext conftest.$ac_ext
82123 fi
82124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82126 if test `eval echo '${'$as_ac_var'}'` = yes; then
82127   cat >>confdefs.h <<_ACEOF
82128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82129 _ACEOF
82130
82131 fi
82132 done
82133
82134     fi
82135   fi
82136
82137
82138
82139
82140
82141   LIBS="$ac_save_LIBS"
82142   CXXFLAGS="$ac_save_CXXFLAGS"
82143
82144
82145
82146   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82147 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82148   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82149     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82150   echo $ECHO_N "(cached) $ECHO_C" >&6
82151 else
82152
82153
82154
82155       ac_ext=cc
82156 ac_cpp='$CXXCPP $CPPFLAGS'
82157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82160
82161       cat >conftest.$ac_ext <<_ACEOF
82162 /* confdefs.h.  */
82163 _ACEOF
82164 cat confdefs.h >>conftest.$ac_ext
82165 cat >>conftest.$ac_ext <<_ACEOF
82166 /* end confdefs.h.  */
82167 #include <math.h>
82168 int
82169 main ()
82170 {
82171  __builtin_abs(0);
82172   ;
82173   return 0;
82174 }
82175 _ACEOF
82176 rm -f conftest.$ac_objext
82177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82178   (eval $ac_compile) 2>conftest.er1
82179   ac_status=$?
82180   grep -v '^ *+' conftest.er1 >conftest.err
82181   rm -f conftest.er1
82182   cat conftest.err >&5
82183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82184   (exit $ac_status); } &&
82185          { ac_try='test -z "$ac_cxx_werror_flag"
82186                          || test ! -s conftest.err'
82187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82188   (eval $ac_try) 2>&5
82189   ac_status=$?
82190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191   (exit $ac_status); }; } &&
82192          { ac_try='test -s conftest.$ac_objext'
82193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82194   (eval $ac_try) 2>&5
82195   ac_status=$?
82196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82197   (exit $ac_status); }; }; then
82198   glibcxx_cv_func___builtin_abs_use=yes
82199 else
82200   echo "$as_me: failed program was:" >&5
82201 sed 's/^/| /' conftest.$ac_ext >&5
82202
82203 glibcxx_cv_func___builtin_abs_use=no
82204 fi
82205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82206       ac_ext=c
82207 ac_cpp='$CPP $CPPFLAGS'
82208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82211
82212
82213 fi
82214
82215   fi
82216   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82217 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82218   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82219     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82220 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82221     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82222       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82223   echo $ECHO_N "(cached) $ECHO_C" >&6
82224 else
82225
82226         if test x$gcc_no_link = xyes; then
82227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82229    { (exit 1); exit 1; }; }
82230 fi
82231 cat >conftest.$ac_ext <<_ACEOF
82232 /* confdefs.h.  */
82233 _ACEOF
82234 cat confdefs.h >>conftest.$ac_ext
82235 cat >>conftest.$ac_ext <<_ACEOF
82236 /* end confdefs.h.  */
82237 #include <math.h>
82238 int
82239 main ()
82240 {
82241  __builtin_abs(0);
82242   ;
82243   return 0;
82244 }
82245 _ACEOF
82246 rm -f conftest.$ac_objext conftest$ac_exeext
82247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82248   (eval $ac_link) 2>conftest.er1
82249   ac_status=$?
82250   grep -v '^ *+' conftest.er1 >conftest.err
82251   rm -f conftest.er1
82252   cat conftest.err >&5
82253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82254   (exit $ac_status); } &&
82255          { ac_try='test -z "$ac_c_werror_flag"
82256                          || test ! -s conftest.err'
82257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82258   (eval $ac_try) 2>&5
82259   ac_status=$?
82260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261   (exit $ac_status); }; } &&
82262          { ac_try='test -s conftest$ac_exeext'
82263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82264   (eval $ac_try) 2>&5
82265   ac_status=$?
82266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82267   (exit $ac_status); }; }; then
82268   glibcxx_cv_func___builtin_abs_link=yes
82269 else
82270   echo "$as_me: failed program was:" >&5
82271 sed 's/^/| /' conftest.$ac_ext >&5
82272
82273 glibcxx_cv_func___builtin_abs_link=no
82274 fi
82275 rm -f conftest.err conftest.$ac_objext \
82276       conftest$ac_exeext conftest.$ac_ext
82277
82278 fi
82279
82280     fi
82281     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82282 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82283
82284     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82285
82286 cat >>confdefs.h <<\_ACEOF
82287 #define HAVE___BUILTIN_ABS 1
82288 _ACEOF
82289
82290     fi
82291
82292   fi
82293
82294
82295   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82296 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82297   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82298     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82299   echo $ECHO_N "(cached) $ECHO_C" >&6
82300 else
82301
82302
82303
82304       ac_ext=cc
82305 ac_cpp='$CXXCPP $CPPFLAGS'
82306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82309
82310       cat >conftest.$ac_ext <<_ACEOF
82311 /* confdefs.h.  */
82312 _ACEOF
82313 cat confdefs.h >>conftest.$ac_ext
82314 cat >>conftest.$ac_ext <<_ACEOF
82315 /* end confdefs.h.  */
82316 #include <math.h>
82317 int
82318 main ()
82319 {
82320  __builtin_fabsf(0);
82321   ;
82322   return 0;
82323 }
82324 _ACEOF
82325 rm -f conftest.$ac_objext
82326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82327   (eval $ac_compile) 2>conftest.er1
82328   ac_status=$?
82329   grep -v '^ *+' conftest.er1 >conftest.err
82330   rm -f conftest.er1
82331   cat conftest.err >&5
82332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82333   (exit $ac_status); } &&
82334          { ac_try='test -z "$ac_cxx_werror_flag"
82335                          || test ! -s conftest.err'
82336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82337   (eval $ac_try) 2>&5
82338   ac_status=$?
82339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82340   (exit $ac_status); }; } &&
82341          { ac_try='test -s conftest.$ac_objext'
82342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82343   (eval $ac_try) 2>&5
82344   ac_status=$?
82345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82346   (exit $ac_status); }; }; then
82347   glibcxx_cv_func___builtin_fabsf_use=yes
82348 else
82349   echo "$as_me: failed program was:" >&5
82350 sed 's/^/| /' conftest.$ac_ext >&5
82351
82352 glibcxx_cv_func___builtin_fabsf_use=no
82353 fi
82354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82355       ac_ext=c
82356 ac_cpp='$CPP $CPPFLAGS'
82357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82360
82361
82362 fi
82363
82364   fi
82365   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82366 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82367   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82368     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82369 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82370     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82371       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82372   echo $ECHO_N "(cached) $ECHO_C" >&6
82373 else
82374
82375         if test x$gcc_no_link = xyes; then
82376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82378    { (exit 1); exit 1; }; }
82379 fi
82380 cat >conftest.$ac_ext <<_ACEOF
82381 /* confdefs.h.  */
82382 _ACEOF
82383 cat confdefs.h >>conftest.$ac_ext
82384 cat >>conftest.$ac_ext <<_ACEOF
82385 /* end confdefs.h.  */
82386 #include <math.h>
82387 int
82388 main ()
82389 {
82390  __builtin_fabsf(0);
82391   ;
82392   return 0;
82393 }
82394 _ACEOF
82395 rm -f conftest.$ac_objext conftest$ac_exeext
82396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82397   (eval $ac_link) 2>conftest.er1
82398   ac_status=$?
82399   grep -v '^ *+' conftest.er1 >conftest.err
82400   rm -f conftest.er1
82401   cat conftest.err >&5
82402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403   (exit $ac_status); } &&
82404          { ac_try='test -z "$ac_c_werror_flag"
82405                          || test ! -s conftest.err'
82406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82407   (eval $ac_try) 2>&5
82408   ac_status=$?
82409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82410   (exit $ac_status); }; } &&
82411          { ac_try='test -s conftest$ac_exeext'
82412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82413   (eval $ac_try) 2>&5
82414   ac_status=$?
82415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82416   (exit $ac_status); }; }; then
82417   glibcxx_cv_func___builtin_fabsf_link=yes
82418 else
82419   echo "$as_me: failed program was:" >&5
82420 sed 's/^/| /' conftest.$ac_ext >&5
82421
82422 glibcxx_cv_func___builtin_fabsf_link=no
82423 fi
82424 rm -f conftest.err conftest.$ac_objext \
82425       conftest$ac_exeext conftest.$ac_ext
82426
82427 fi
82428
82429     fi
82430     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82431 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82432
82433     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82434
82435 cat >>confdefs.h <<\_ACEOF
82436 #define HAVE___BUILTIN_FABSF 1
82437 _ACEOF
82438
82439     fi
82440
82441   fi
82442
82443
82444   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82445 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82446   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82447     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82448   echo $ECHO_N "(cached) $ECHO_C" >&6
82449 else
82450
82451
82452
82453       ac_ext=cc
82454 ac_cpp='$CXXCPP $CPPFLAGS'
82455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82458
82459       cat >conftest.$ac_ext <<_ACEOF
82460 /* confdefs.h.  */
82461 _ACEOF
82462 cat confdefs.h >>conftest.$ac_ext
82463 cat >>conftest.$ac_ext <<_ACEOF
82464 /* end confdefs.h.  */
82465 #include <math.h>
82466 int
82467 main ()
82468 {
82469  __builtin_fabs(0);
82470   ;
82471   return 0;
82472 }
82473 _ACEOF
82474 rm -f conftest.$ac_objext
82475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82476   (eval $ac_compile) 2>conftest.er1
82477   ac_status=$?
82478   grep -v '^ *+' conftest.er1 >conftest.err
82479   rm -f conftest.er1
82480   cat conftest.err >&5
82481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82482   (exit $ac_status); } &&
82483          { ac_try='test -z "$ac_cxx_werror_flag"
82484                          || test ! -s conftest.err'
82485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82486   (eval $ac_try) 2>&5
82487   ac_status=$?
82488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82489   (exit $ac_status); }; } &&
82490          { ac_try='test -s conftest.$ac_objext'
82491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82492   (eval $ac_try) 2>&5
82493   ac_status=$?
82494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82495   (exit $ac_status); }; }; then
82496   glibcxx_cv_func___builtin_fabs_use=yes
82497 else
82498   echo "$as_me: failed program was:" >&5
82499 sed 's/^/| /' conftest.$ac_ext >&5
82500
82501 glibcxx_cv_func___builtin_fabs_use=no
82502 fi
82503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82504       ac_ext=c
82505 ac_cpp='$CPP $CPPFLAGS'
82506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82509
82510
82511 fi
82512
82513   fi
82514   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
82515 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
82516   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
82517     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
82518 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
82519     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
82520       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
82521   echo $ECHO_N "(cached) $ECHO_C" >&6
82522 else
82523
82524         if test x$gcc_no_link = xyes; then
82525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82527    { (exit 1); exit 1; }; }
82528 fi
82529 cat >conftest.$ac_ext <<_ACEOF
82530 /* confdefs.h.  */
82531 _ACEOF
82532 cat confdefs.h >>conftest.$ac_ext
82533 cat >>conftest.$ac_ext <<_ACEOF
82534 /* end confdefs.h.  */
82535 #include <math.h>
82536 int
82537 main ()
82538 {
82539  __builtin_fabs(0);
82540   ;
82541   return 0;
82542 }
82543 _ACEOF
82544 rm -f conftest.$ac_objext conftest$ac_exeext
82545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82546   (eval $ac_link) 2>conftest.er1
82547   ac_status=$?
82548   grep -v '^ *+' conftest.er1 >conftest.err
82549   rm -f conftest.er1
82550   cat conftest.err >&5
82551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82552   (exit $ac_status); } &&
82553          { ac_try='test -z "$ac_c_werror_flag"
82554                          || test ! -s conftest.err'
82555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82556   (eval $ac_try) 2>&5
82557   ac_status=$?
82558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82559   (exit $ac_status); }; } &&
82560          { ac_try='test -s conftest$ac_exeext'
82561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82562   (eval $ac_try) 2>&5
82563   ac_status=$?
82564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82565   (exit $ac_status); }; }; then
82566   glibcxx_cv_func___builtin_fabs_link=yes
82567 else
82568   echo "$as_me: failed program was:" >&5
82569 sed 's/^/| /' conftest.$ac_ext >&5
82570
82571 glibcxx_cv_func___builtin_fabs_link=no
82572 fi
82573 rm -f conftest.err conftest.$ac_objext \
82574       conftest$ac_exeext conftest.$ac_ext
82575
82576 fi
82577
82578     fi
82579     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82580 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82581
82582     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82583
82584 cat >>confdefs.h <<\_ACEOF
82585 #define HAVE___BUILTIN_FABS 1
82586 _ACEOF
82587
82588     fi
82589
82590   fi
82591
82592
82593   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82594 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82595   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82596     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82597   echo $ECHO_N "(cached) $ECHO_C" >&6
82598 else
82599
82600
82601
82602       ac_ext=cc
82603 ac_cpp='$CXXCPP $CPPFLAGS'
82604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82607
82608       cat >conftest.$ac_ext <<_ACEOF
82609 /* confdefs.h.  */
82610 _ACEOF
82611 cat confdefs.h >>conftest.$ac_ext
82612 cat >>conftest.$ac_ext <<_ACEOF
82613 /* end confdefs.h.  */
82614 #include <math.h>
82615 int
82616 main ()
82617 {
82618  __builtin_fabsl(0);
82619   ;
82620   return 0;
82621 }
82622 _ACEOF
82623 rm -f conftest.$ac_objext
82624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82625   (eval $ac_compile) 2>conftest.er1
82626   ac_status=$?
82627   grep -v '^ *+' conftest.er1 >conftest.err
82628   rm -f conftest.er1
82629   cat conftest.err >&5
82630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631   (exit $ac_status); } &&
82632          { ac_try='test -z "$ac_cxx_werror_flag"
82633                          || test ! -s conftest.err'
82634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82635   (eval $ac_try) 2>&5
82636   ac_status=$?
82637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82638   (exit $ac_status); }; } &&
82639          { ac_try='test -s conftest.$ac_objext'
82640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82641   (eval $ac_try) 2>&5
82642   ac_status=$?
82643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82644   (exit $ac_status); }; }; then
82645   glibcxx_cv_func___builtin_fabsl_use=yes
82646 else
82647   echo "$as_me: failed program was:" >&5
82648 sed 's/^/| /' conftest.$ac_ext >&5
82649
82650 glibcxx_cv_func___builtin_fabsl_use=no
82651 fi
82652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82653       ac_ext=c
82654 ac_cpp='$CPP $CPPFLAGS'
82655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82658
82659
82660 fi
82661
82662   fi
82663   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82665   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82666     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82667 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82668     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82669       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82670   echo $ECHO_N "(cached) $ECHO_C" >&6
82671 else
82672
82673         if test x$gcc_no_link = xyes; then
82674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82676    { (exit 1); exit 1; }; }
82677 fi
82678 cat >conftest.$ac_ext <<_ACEOF
82679 /* confdefs.h.  */
82680 _ACEOF
82681 cat confdefs.h >>conftest.$ac_ext
82682 cat >>conftest.$ac_ext <<_ACEOF
82683 /* end confdefs.h.  */
82684 #include <math.h>
82685 int
82686 main ()
82687 {
82688  __builtin_fabsl(0);
82689   ;
82690   return 0;
82691 }
82692 _ACEOF
82693 rm -f conftest.$ac_objext conftest$ac_exeext
82694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82695   (eval $ac_link) 2>conftest.er1
82696   ac_status=$?
82697   grep -v '^ *+' conftest.er1 >conftest.err
82698   rm -f conftest.er1
82699   cat conftest.err >&5
82700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82701   (exit $ac_status); } &&
82702          { ac_try='test -z "$ac_c_werror_flag"
82703                          || test ! -s conftest.err'
82704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82705   (eval $ac_try) 2>&5
82706   ac_status=$?
82707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708   (exit $ac_status); }; } &&
82709          { ac_try='test -s conftest$ac_exeext'
82710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82711   (eval $ac_try) 2>&5
82712   ac_status=$?
82713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82714   (exit $ac_status); }; }; then
82715   glibcxx_cv_func___builtin_fabsl_link=yes
82716 else
82717   echo "$as_me: failed program was:" >&5
82718 sed 's/^/| /' conftest.$ac_ext >&5
82719
82720 glibcxx_cv_func___builtin_fabsl_link=no
82721 fi
82722 rm -f conftest.err conftest.$ac_objext \
82723       conftest$ac_exeext conftest.$ac_ext
82724
82725 fi
82726
82727     fi
82728     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82729 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82730
82731     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82732
82733 cat >>confdefs.h <<\_ACEOF
82734 #define HAVE___BUILTIN_FABSL 1
82735 _ACEOF
82736
82737     fi
82738
82739   fi
82740
82741
82742   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82743 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82744   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82745     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82746   echo $ECHO_N "(cached) $ECHO_C" >&6
82747 else
82748
82749
82750
82751       ac_ext=cc
82752 ac_cpp='$CXXCPP $CPPFLAGS'
82753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82756
82757       cat >conftest.$ac_ext <<_ACEOF
82758 /* confdefs.h.  */
82759 _ACEOF
82760 cat confdefs.h >>conftest.$ac_ext
82761 cat >>conftest.$ac_ext <<_ACEOF
82762 /* end confdefs.h.  */
82763 #include <math.h>
82764 int
82765 main ()
82766 {
82767  __builtin_labs(0);
82768   ;
82769   return 0;
82770 }
82771 _ACEOF
82772 rm -f conftest.$ac_objext
82773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82774   (eval $ac_compile) 2>conftest.er1
82775   ac_status=$?
82776   grep -v '^ *+' conftest.er1 >conftest.err
82777   rm -f conftest.er1
82778   cat conftest.err >&5
82779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780   (exit $ac_status); } &&
82781          { ac_try='test -z "$ac_cxx_werror_flag"
82782                          || test ! -s conftest.err'
82783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784   (eval $ac_try) 2>&5
82785   ac_status=$?
82786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787   (exit $ac_status); }; } &&
82788          { ac_try='test -s conftest.$ac_objext'
82789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790   (eval $ac_try) 2>&5
82791   ac_status=$?
82792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793   (exit $ac_status); }; }; then
82794   glibcxx_cv_func___builtin_labs_use=yes
82795 else
82796   echo "$as_me: failed program was:" >&5
82797 sed 's/^/| /' conftest.$ac_ext >&5
82798
82799 glibcxx_cv_func___builtin_labs_use=no
82800 fi
82801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82802       ac_ext=c
82803 ac_cpp='$CPP $CPPFLAGS'
82804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82807
82808
82809 fi
82810
82811   fi
82812   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82813 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82814   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82815     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82816 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82817     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82818       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82819   echo $ECHO_N "(cached) $ECHO_C" >&6
82820 else
82821
82822         if test x$gcc_no_link = xyes; then
82823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82825    { (exit 1); exit 1; }; }
82826 fi
82827 cat >conftest.$ac_ext <<_ACEOF
82828 /* confdefs.h.  */
82829 _ACEOF
82830 cat confdefs.h >>conftest.$ac_ext
82831 cat >>conftest.$ac_ext <<_ACEOF
82832 /* end confdefs.h.  */
82833 #include <math.h>
82834 int
82835 main ()
82836 {
82837  __builtin_labs(0);
82838   ;
82839   return 0;
82840 }
82841 _ACEOF
82842 rm -f conftest.$ac_objext conftest$ac_exeext
82843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82844   (eval $ac_link) 2>conftest.er1
82845   ac_status=$?
82846   grep -v '^ *+' conftest.er1 >conftest.err
82847   rm -f conftest.er1
82848   cat conftest.err >&5
82849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82850   (exit $ac_status); } &&
82851          { ac_try='test -z "$ac_c_werror_flag"
82852                          || test ! -s conftest.err'
82853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82854   (eval $ac_try) 2>&5
82855   ac_status=$?
82856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82857   (exit $ac_status); }; } &&
82858          { ac_try='test -s conftest$ac_exeext'
82859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82860   (eval $ac_try) 2>&5
82861   ac_status=$?
82862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82863   (exit $ac_status); }; }; then
82864   glibcxx_cv_func___builtin_labs_link=yes
82865 else
82866   echo "$as_me: failed program was:" >&5
82867 sed 's/^/| /' conftest.$ac_ext >&5
82868
82869 glibcxx_cv_func___builtin_labs_link=no
82870 fi
82871 rm -f conftest.err conftest.$ac_objext \
82872       conftest$ac_exeext conftest.$ac_ext
82873
82874 fi
82875
82876     fi
82877     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82878 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82879
82880     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82881
82882 cat >>confdefs.h <<\_ACEOF
82883 #define HAVE___BUILTIN_LABS 1
82884 _ACEOF
82885
82886     fi
82887
82888   fi
82889
82890
82891
82892   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82893 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82894   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82895     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82896   echo $ECHO_N "(cached) $ECHO_C" >&6
82897 else
82898
82899
82900
82901       ac_ext=cc
82902 ac_cpp='$CXXCPP $CPPFLAGS'
82903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82906
82907       cat >conftest.$ac_ext <<_ACEOF
82908 /* confdefs.h.  */
82909 _ACEOF
82910 cat confdefs.h >>conftest.$ac_ext
82911 cat >>conftest.$ac_ext <<_ACEOF
82912 /* end confdefs.h.  */
82913 #include <math.h>
82914 int
82915 main ()
82916 {
82917  __builtin_sqrtf(0);
82918   ;
82919   return 0;
82920 }
82921 _ACEOF
82922 rm -f conftest.$ac_objext
82923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82924   (eval $ac_compile) 2>conftest.er1
82925   ac_status=$?
82926   grep -v '^ *+' conftest.er1 >conftest.err
82927   rm -f conftest.er1
82928   cat conftest.err >&5
82929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82930   (exit $ac_status); } &&
82931          { ac_try='test -z "$ac_cxx_werror_flag"
82932                          || test ! -s conftest.err'
82933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82934   (eval $ac_try) 2>&5
82935   ac_status=$?
82936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82937   (exit $ac_status); }; } &&
82938          { ac_try='test -s conftest.$ac_objext'
82939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82940   (eval $ac_try) 2>&5
82941   ac_status=$?
82942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82943   (exit $ac_status); }; }; then
82944   glibcxx_cv_func___builtin_sqrtf_use=yes
82945 else
82946   echo "$as_me: failed program was:" >&5
82947 sed 's/^/| /' conftest.$ac_ext >&5
82948
82949 glibcxx_cv_func___builtin_sqrtf_use=no
82950 fi
82951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82952       ac_ext=c
82953 ac_cpp='$CPP $CPPFLAGS'
82954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82957
82958
82959 fi
82960
82961   fi
82962   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82963 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82964   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82965     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82966 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82967     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82968       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82969   echo $ECHO_N "(cached) $ECHO_C" >&6
82970 else
82971
82972         if test x$gcc_no_link = xyes; then
82973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82975    { (exit 1); exit 1; }; }
82976 fi
82977 cat >conftest.$ac_ext <<_ACEOF
82978 /* confdefs.h.  */
82979 _ACEOF
82980 cat confdefs.h >>conftest.$ac_ext
82981 cat >>conftest.$ac_ext <<_ACEOF
82982 /* end confdefs.h.  */
82983 #include <math.h>
82984 int
82985 main ()
82986 {
82987  __builtin_sqrtf(0);
82988   ;
82989   return 0;
82990 }
82991 _ACEOF
82992 rm -f conftest.$ac_objext conftest$ac_exeext
82993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82994   (eval $ac_link) 2>conftest.er1
82995   ac_status=$?
82996   grep -v '^ *+' conftest.er1 >conftest.err
82997   rm -f conftest.er1
82998   cat conftest.err >&5
82999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83000   (exit $ac_status); } &&
83001          { ac_try='test -z "$ac_c_werror_flag"
83002                          || test ! -s conftest.err'
83003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83004   (eval $ac_try) 2>&5
83005   ac_status=$?
83006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83007   (exit $ac_status); }; } &&
83008          { ac_try='test -s conftest$ac_exeext'
83009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83010   (eval $ac_try) 2>&5
83011   ac_status=$?
83012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83013   (exit $ac_status); }; }; then
83014   glibcxx_cv_func___builtin_sqrtf_link=yes
83015 else
83016   echo "$as_me: failed program was:" >&5
83017 sed 's/^/| /' conftest.$ac_ext >&5
83018
83019 glibcxx_cv_func___builtin_sqrtf_link=no
83020 fi
83021 rm -f conftest.err conftest.$ac_objext \
83022       conftest$ac_exeext conftest.$ac_ext
83023
83024 fi
83025
83026     fi
83027     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83028 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83029
83030     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83031
83032 cat >>confdefs.h <<\_ACEOF
83033 #define HAVE___BUILTIN_SQRTF 1
83034 _ACEOF
83035
83036     fi
83037
83038   fi
83039
83040
83041   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83042 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83043   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83044     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83045   echo $ECHO_N "(cached) $ECHO_C" >&6
83046 else
83047
83048
83049
83050       ac_ext=cc
83051 ac_cpp='$CXXCPP $CPPFLAGS'
83052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83055
83056       cat >conftest.$ac_ext <<_ACEOF
83057 /* confdefs.h.  */
83058 _ACEOF
83059 cat confdefs.h >>conftest.$ac_ext
83060 cat >>conftest.$ac_ext <<_ACEOF
83061 /* end confdefs.h.  */
83062 #include <math.h>
83063 int
83064 main ()
83065 {
83066  __builtin_sqrt(0);
83067   ;
83068   return 0;
83069 }
83070 _ACEOF
83071 rm -f conftest.$ac_objext
83072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83073   (eval $ac_compile) 2>conftest.er1
83074   ac_status=$?
83075   grep -v '^ *+' conftest.er1 >conftest.err
83076   rm -f conftest.er1
83077   cat conftest.err >&5
83078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83079   (exit $ac_status); } &&
83080          { ac_try='test -z "$ac_cxx_werror_flag"
83081                          || test ! -s conftest.err'
83082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83083   (eval $ac_try) 2>&5
83084   ac_status=$?
83085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83086   (exit $ac_status); }; } &&
83087          { ac_try='test -s conftest.$ac_objext'
83088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83089   (eval $ac_try) 2>&5
83090   ac_status=$?
83091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83092   (exit $ac_status); }; }; then
83093   glibcxx_cv_func___builtin_sqrt_use=yes
83094 else
83095   echo "$as_me: failed program was:" >&5
83096 sed 's/^/| /' conftest.$ac_ext >&5
83097
83098 glibcxx_cv_func___builtin_sqrt_use=no
83099 fi
83100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83101       ac_ext=c
83102 ac_cpp='$CPP $CPPFLAGS'
83103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83106
83107
83108 fi
83109
83110   fi
83111   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83112 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83113   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83114     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83115 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83116     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83117       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83118   echo $ECHO_N "(cached) $ECHO_C" >&6
83119 else
83120
83121         if test x$gcc_no_link = xyes; then
83122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83124    { (exit 1); exit 1; }; }
83125 fi
83126 cat >conftest.$ac_ext <<_ACEOF
83127 /* confdefs.h.  */
83128 _ACEOF
83129 cat confdefs.h >>conftest.$ac_ext
83130 cat >>conftest.$ac_ext <<_ACEOF
83131 /* end confdefs.h.  */
83132 #include <math.h>
83133 int
83134 main ()
83135 {
83136  __builtin_sqrt(0);
83137   ;
83138   return 0;
83139 }
83140 _ACEOF
83141 rm -f conftest.$ac_objext conftest$ac_exeext
83142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83143   (eval $ac_link) 2>conftest.er1
83144   ac_status=$?
83145   grep -v '^ *+' conftest.er1 >conftest.err
83146   rm -f conftest.er1
83147   cat conftest.err >&5
83148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149   (exit $ac_status); } &&
83150          { ac_try='test -z "$ac_c_werror_flag"
83151                          || test ! -s conftest.err'
83152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83153   (eval $ac_try) 2>&5
83154   ac_status=$?
83155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83156   (exit $ac_status); }; } &&
83157          { ac_try='test -s conftest$ac_exeext'
83158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83159   (eval $ac_try) 2>&5
83160   ac_status=$?
83161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83162   (exit $ac_status); }; }; then
83163   glibcxx_cv_func___builtin_sqrt_link=yes
83164 else
83165   echo "$as_me: failed program was:" >&5
83166 sed 's/^/| /' conftest.$ac_ext >&5
83167
83168 glibcxx_cv_func___builtin_sqrt_link=no
83169 fi
83170 rm -f conftest.err conftest.$ac_objext \
83171       conftest$ac_exeext conftest.$ac_ext
83172
83173 fi
83174
83175     fi
83176     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83177 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83178
83179     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83180
83181 cat >>confdefs.h <<\_ACEOF
83182 #define HAVE___BUILTIN_SQRT 1
83183 _ACEOF
83184
83185     fi
83186
83187   fi
83188
83189
83190   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83191 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83192   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83193     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83194   echo $ECHO_N "(cached) $ECHO_C" >&6
83195 else
83196
83197
83198
83199       ac_ext=cc
83200 ac_cpp='$CXXCPP $CPPFLAGS'
83201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83204
83205       cat >conftest.$ac_ext <<_ACEOF
83206 /* confdefs.h.  */
83207 _ACEOF
83208 cat confdefs.h >>conftest.$ac_ext
83209 cat >>conftest.$ac_ext <<_ACEOF
83210 /* end confdefs.h.  */
83211 #include <math.h>
83212 int
83213 main ()
83214 {
83215  __builtin_sqrtl(0);
83216   ;
83217   return 0;
83218 }
83219 _ACEOF
83220 rm -f conftest.$ac_objext
83221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83222   (eval $ac_compile) 2>conftest.er1
83223   ac_status=$?
83224   grep -v '^ *+' conftest.er1 >conftest.err
83225   rm -f conftest.er1
83226   cat conftest.err >&5
83227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228   (exit $ac_status); } &&
83229          { ac_try='test -z "$ac_cxx_werror_flag"
83230                          || test ! -s conftest.err'
83231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83232   (eval $ac_try) 2>&5
83233   ac_status=$?
83234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83235   (exit $ac_status); }; } &&
83236          { ac_try='test -s conftest.$ac_objext'
83237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83238   (eval $ac_try) 2>&5
83239   ac_status=$?
83240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83241   (exit $ac_status); }; }; then
83242   glibcxx_cv_func___builtin_sqrtl_use=yes
83243 else
83244   echo "$as_me: failed program was:" >&5
83245 sed 's/^/| /' conftest.$ac_ext >&5
83246
83247 glibcxx_cv_func___builtin_sqrtl_use=no
83248 fi
83249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83250       ac_ext=c
83251 ac_cpp='$CPP $CPPFLAGS'
83252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83255
83256
83257 fi
83258
83259   fi
83260   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83262   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83263     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83264 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83265     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83266       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83267   echo $ECHO_N "(cached) $ECHO_C" >&6
83268 else
83269
83270         if test x$gcc_no_link = xyes; then
83271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83273    { (exit 1); exit 1; }; }
83274 fi
83275 cat >conftest.$ac_ext <<_ACEOF
83276 /* confdefs.h.  */
83277 _ACEOF
83278 cat confdefs.h >>conftest.$ac_ext
83279 cat >>conftest.$ac_ext <<_ACEOF
83280 /* end confdefs.h.  */
83281 #include <math.h>
83282 int
83283 main ()
83284 {
83285  __builtin_sqrtl(0);
83286   ;
83287   return 0;
83288 }
83289 _ACEOF
83290 rm -f conftest.$ac_objext conftest$ac_exeext
83291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83292   (eval $ac_link) 2>conftest.er1
83293   ac_status=$?
83294   grep -v '^ *+' conftest.er1 >conftest.err
83295   rm -f conftest.er1
83296   cat conftest.err >&5
83297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298   (exit $ac_status); } &&
83299          { ac_try='test -z "$ac_c_werror_flag"
83300                          || test ! -s conftest.err'
83301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83302   (eval $ac_try) 2>&5
83303   ac_status=$?
83304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305   (exit $ac_status); }; } &&
83306          { ac_try='test -s conftest$ac_exeext'
83307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83308   (eval $ac_try) 2>&5
83309   ac_status=$?
83310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83311   (exit $ac_status); }; }; then
83312   glibcxx_cv_func___builtin_sqrtl_link=yes
83313 else
83314   echo "$as_me: failed program was:" >&5
83315 sed 's/^/| /' conftest.$ac_ext >&5
83316
83317 glibcxx_cv_func___builtin_sqrtl_link=no
83318 fi
83319 rm -f conftest.err conftest.$ac_objext \
83320       conftest$ac_exeext conftest.$ac_ext
83321
83322 fi
83323
83324     fi
83325     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83327
83328     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83329
83330 cat >>confdefs.h <<\_ACEOF
83331 #define HAVE___BUILTIN_SQRTL 1
83332 _ACEOF
83333
83334     fi
83335
83336   fi
83337
83338
83339
83340   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83341 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83342   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83343     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83344   echo $ECHO_N "(cached) $ECHO_C" >&6
83345 else
83346
83347
83348
83349       ac_ext=cc
83350 ac_cpp='$CXXCPP $CPPFLAGS'
83351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83354
83355       cat >conftest.$ac_ext <<_ACEOF
83356 /* confdefs.h.  */
83357 _ACEOF
83358 cat confdefs.h >>conftest.$ac_ext
83359 cat >>conftest.$ac_ext <<_ACEOF
83360 /* end confdefs.h.  */
83361 #include <math.h>
83362 int
83363 main ()
83364 {
83365  __builtin_sinf(0);
83366   ;
83367   return 0;
83368 }
83369 _ACEOF
83370 rm -f conftest.$ac_objext
83371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83372   (eval $ac_compile) 2>conftest.er1
83373   ac_status=$?
83374   grep -v '^ *+' conftest.er1 >conftest.err
83375   rm -f conftest.er1
83376   cat conftest.err >&5
83377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378   (exit $ac_status); } &&
83379          { ac_try='test -z "$ac_cxx_werror_flag"
83380                          || test ! -s conftest.err'
83381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382   (eval $ac_try) 2>&5
83383   ac_status=$?
83384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385   (exit $ac_status); }; } &&
83386          { ac_try='test -s conftest.$ac_objext'
83387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388   (eval $ac_try) 2>&5
83389   ac_status=$?
83390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391   (exit $ac_status); }; }; then
83392   glibcxx_cv_func___builtin_sinf_use=yes
83393 else
83394   echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83396
83397 glibcxx_cv_func___builtin_sinf_use=no
83398 fi
83399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83400       ac_ext=c
83401 ac_cpp='$CPP $CPPFLAGS'
83402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83405
83406
83407 fi
83408
83409   fi
83410   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83411 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83412   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83413     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83414 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83415     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83416       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83417   echo $ECHO_N "(cached) $ECHO_C" >&6
83418 else
83419
83420         if test x$gcc_no_link = xyes; then
83421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83423    { (exit 1); exit 1; }; }
83424 fi
83425 cat >conftest.$ac_ext <<_ACEOF
83426 /* confdefs.h.  */
83427 _ACEOF
83428 cat confdefs.h >>conftest.$ac_ext
83429 cat >>conftest.$ac_ext <<_ACEOF
83430 /* end confdefs.h.  */
83431 #include <math.h>
83432 int
83433 main ()
83434 {
83435  __builtin_sinf(0);
83436   ;
83437   return 0;
83438 }
83439 _ACEOF
83440 rm -f conftest.$ac_objext conftest$ac_exeext
83441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83442   (eval $ac_link) 2>conftest.er1
83443   ac_status=$?
83444   grep -v '^ *+' conftest.er1 >conftest.err
83445   rm -f conftest.er1
83446   cat conftest.err >&5
83447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83448   (exit $ac_status); } &&
83449          { ac_try='test -z "$ac_c_werror_flag"
83450                          || test ! -s conftest.err'
83451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83452   (eval $ac_try) 2>&5
83453   ac_status=$?
83454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83455   (exit $ac_status); }; } &&
83456          { ac_try='test -s conftest$ac_exeext'
83457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83458   (eval $ac_try) 2>&5
83459   ac_status=$?
83460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83461   (exit $ac_status); }; }; then
83462   glibcxx_cv_func___builtin_sinf_link=yes
83463 else
83464   echo "$as_me: failed program was:" >&5
83465 sed 's/^/| /' conftest.$ac_ext >&5
83466
83467 glibcxx_cv_func___builtin_sinf_link=no
83468 fi
83469 rm -f conftest.err conftest.$ac_objext \
83470       conftest$ac_exeext conftest.$ac_ext
83471
83472 fi
83473
83474     fi
83475     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
83477
83478     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
83479
83480 cat >>confdefs.h <<\_ACEOF
83481 #define HAVE___BUILTIN_SINF 1
83482 _ACEOF
83483
83484     fi
83485
83486   fi
83487
83488
83489   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
83490 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
83491   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
83492     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
83493   echo $ECHO_N "(cached) $ECHO_C" >&6
83494 else
83495
83496
83497
83498       ac_ext=cc
83499 ac_cpp='$CXXCPP $CPPFLAGS'
83500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83503
83504       cat >conftest.$ac_ext <<_ACEOF
83505 /* confdefs.h.  */
83506 _ACEOF
83507 cat confdefs.h >>conftest.$ac_ext
83508 cat >>conftest.$ac_ext <<_ACEOF
83509 /* end confdefs.h.  */
83510 #include <math.h>
83511 int
83512 main ()
83513 {
83514  __builtin_sin(0);
83515   ;
83516   return 0;
83517 }
83518 _ACEOF
83519 rm -f conftest.$ac_objext
83520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83521   (eval $ac_compile) 2>conftest.er1
83522   ac_status=$?
83523   grep -v '^ *+' conftest.er1 >conftest.err
83524   rm -f conftest.er1
83525   cat conftest.err >&5
83526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527   (exit $ac_status); } &&
83528          { ac_try='test -z "$ac_cxx_werror_flag"
83529                          || test ! -s conftest.err'
83530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83531   (eval $ac_try) 2>&5
83532   ac_status=$?
83533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83534   (exit $ac_status); }; } &&
83535          { ac_try='test -s conftest.$ac_objext'
83536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83537   (eval $ac_try) 2>&5
83538   ac_status=$?
83539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83540   (exit $ac_status); }; }; then
83541   glibcxx_cv_func___builtin_sin_use=yes
83542 else
83543   echo "$as_me: failed program was:" >&5
83544 sed 's/^/| /' conftest.$ac_ext >&5
83545
83546 glibcxx_cv_func___builtin_sin_use=no
83547 fi
83548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83549       ac_ext=c
83550 ac_cpp='$CPP $CPPFLAGS'
83551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83554
83555
83556 fi
83557
83558   fi
83559   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83560 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83561   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83562     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83563 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83564     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83565       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83566   echo $ECHO_N "(cached) $ECHO_C" >&6
83567 else
83568
83569         if test x$gcc_no_link = xyes; then
83570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83572    { (exit 1); exit 1; }; }
83573 fi
83574 cat >conftest.$ac_ext <<_ACEOF
83575 /* confdefs.h.  */
83576 _ACEOF
83577 cat confdefs.h >>conftest.$ac_ext
83578 cat >>conftest.$ac_ext <<_ACEOF
83579 /* end confdefs.h.  */
83580 #include <math.h>
83581 int
83582 main ()
83583 {
83584  __builtin_sin(0);
83585   ;
83586   return 0;
83587 }
83588 _ACEOF
83589 rm -f conftest.$ac_objext conftest$ac_exeext
83590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83591   (eval $ac_link) 2>conftest.er1
83592   ac_status=$?
83593   grep -v '^ *+' conftest.er1 >conftest.err
83594   rm -f conftest.er1
83595   cat conftest.err >&5
83596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83597   (exit $ac_status); } &&
83598          { ac_try='test -z "$ac_c_werror_flag"
83599                          || test ! -s conftest.err'
83600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83601   (eval $ac_try) 2>&5
83602   ac_status=$?
83603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83604   (exit $ac_status); }; } &&
83605          { ac_try='test -s conftest$ac_exeext'
83606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83607   (eval $ac_try) 2>&5
83608   ac_status=$?
83609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610   (exit $ac_status); }; }; then
83611   glibcxx_cv_func___builtin_sin_link=yes
83612 else
83613   echo "$as_me: failed program was:" >&5
83614 sed 's/^/| /' conftest.$ac_ext >&5
83615
83616 glibcxx_cv_func___builtin_sin_link=no
83617 fi
83618 rm -f conftest.err conftest.$ac_objext \
83619       conftest$ac_exeext conftest.$ac_ext
83620
83621 fi
83622
83623     fi
83624     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83625 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83626
83627     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83628
83629 cat >>confdefs.h <<\_ACEOF
83630 #define HAVE___BUILTIN_SIN 1
83631 _ACEOF
83632
83633     fi
83634
83635   fi
83636
83637
83638   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83639 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83640   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83641     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83642   echo $ECHO_N "(cached) $ECHO_C" >&6
83643 else
83644
83645
83646
83647       ac_ext=cc
83648 ac_cpp='$CXXCPP $CPPFLAGS'
83649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83652
83653       cat >conftest.$ac_ext <<_ACEOF
83654 /* confdefs.h.  */
83655 _ACEOF
83656 cat confdefs.h >>conftest.$ac_ext
83657 cat >>conftest.$ac_ext <<_ACEOF
83658 /* end confdefs.h.  */
83659 #include <math.h>
83660 int
83661 main ()
83662 {
83663  __builtin_sinl(0);
83664   ;
83665   return 0;
83666 }
83667 _ACEOF
83668 rm -f conftest.$ac_objext
83669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83670   (eval $ac_compile) 2>conftest.er1
83671   ac_status=$?
83672   grep -v '^ *+' conftest.er1 >conftest.err
83673   rm -f conftest.er1
83674   cat conftest.err >&5
83675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83676   (exit $ac_status); } &&
83677          { ac_try='test -z "$ac_cxx_werror_flag"
83678                          || test ! -s conftest.err'
83679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83680   (eval $ac_try) 2>&5
83681   ac_status=$?
83682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83683   (exit $ac_status); }; } &&
83684          { ac_try='test -s conftest.$ac_objext'
83685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83686   (eval $ac_try) 2>&5
83687   ac_status=$?
83688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83689   (exit $ac_status); }; }; then
83690   glibcxx_cv_func___builtin_sinl_use=yes
83691 else
83692   echo "$as_me: failed program was:" >&5
83693 sed 's/^/| /' conftest.$ac_ext >&5
83694
83695 glibcxx_cv_func___builtin_sinl_use=no
83696 fi
83697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83698       ac_ext=c
83699 ac_cpp='$CPP $CPPFLAGS'
83700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83703
83704
83705 fi
83706
83707   fi
83708   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83710   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83711     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83712 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83713     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83714       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83715   echo $ECHO_N "(cached) $ECHO_C" >&6
83716 else
83717
83718         if test x$gcc_no_link = xyes; then
83719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83721    { (exit 1); exit 1; }; }
83722 fi
83723 cat >conftest.$ac_ext <<_ACEOF
83724 /* confdefs.h.  */
83725 _ACEOF
83726 cat confdefs.h >>conftest.$ac_ext
83727 cat >>conftest.$ac_ext <<_ACEOF
83728 /* end confdefs.h.  */
83729 #include <math.h>
83730 int
83731 main ()
83732 {
83733  __builtin_sinl(0);
83734   ;
83735   return 0;
83736 }
83737 _ACEOF
83738 rm -f conftest.$ac_objext conftest$ac_exeext
83739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83740   (eval $ac_link) 2>conftest.er1
83741   ac_status=$?
83742   grep -v '^ *+' conftest.er1 >conftest.err
83743   rm -f conftest.er1
83744   cat conftest.err >&5
83745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83746   (exit $ac_status); } &&
83747          { ac_try='test -z "$ac_c_werror_flag"
83748                          || test ! -s conftest.err'
83749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83750   (eval $ac_try) 2>&5
83751   ac_status=$?
83752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83753   (exit $ac_status); }; } &&
83754          { ac_try='test -s conftest$ac_exeext'
83755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83756   (eval $ac_try) 2>&5
83757   ac_status=$?
83758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83759   (exit $ac_status); }; }; then
83760   glibcxx_cv_func___builtin_sinl_link=yes
83761 else
83762   echo "$as_me: failed program was:" >&5
83763 sed 's/^/| /' conftest.$ac_ext >&5
83764
83765 glibcxx_cv_func___builtin_sinl_link=no
83766 fi
83767 rm -f conftest.err conftest.$ac_objext \
83768       conftest$ac_exeext conftest.$ac_ext
83769
83770 fi
83771
83772     fi
83773     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83774 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83775
83776     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83777
83778 cat >>confdefs.h <<\_ACEOF
83779 #define HAVE___BUILTIN_SINL 1
83780 _ACEOF
83781
83782     fi
83783
83784   fi
83785
83786
83787
83788   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83789 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83790   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83791     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83792   echo $ECHO_N "(cached) $ECHO_C" >&6
83793 else
83794
83795
83796
83797       ac_ext=cc
83798 ac_cpp='$CXXCPP $CPPFLAGS'
83799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83802
83803       cat >conftest.$ac_ext <<_ACEOF
83804 /* confdefs.h.  */
83805 _ACEOF
83806 cat confdefs.h >>conftest.$ac_ext
83807 cat >>conftest.$ac_ext <<_ACEOF
83808 /* end confdefs.h.  */
83809 #include <math.h>
83810 int
83811 main ()
83812 {
83813  __builtin_cosf(0);
83814   ;
83815   return 0;
83816 }
83817 _ACEOF
83818 rm -f conftest.$ac_objext
83819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83820   (eval $ac_compile) 2>conftest.er1
83821   ac_status=$?
83822   grep -v '^ *+' conftest.er1 >conftest.err
83823   rm -f conftest.er1
83824   cat conftest.err >&5
83825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83826   (exit $ac_status); } &&
83827          { ac_try='test -z "$ac_cxx_werror_flag"
83828                          || test ! -s conftest.err'
83829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83830   (eval $ac_try) 2>&5
83831   ac_status=$?
83832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83833   (exit $ac_status); }; } &&
83834          { ac_try='test -s conftest.$ac_objext'
83835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83836   (eval $ac_try) 2>&5
83837   ac_status=$?
83838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83839   (exit $ac_status); }; }; then
83840   glibcxx_cv_func___builtin_cosf_use=yes
83841 else
83842   echo "$as_me: failed program was:" >&5
83843 sed 's/^/| /' conftest.$ac_ext >&5
83844
83845 glibcxx_cv_func___builtin_cosf_use=no
83846 fi
83847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83848       ac_ext=c
83849 ac_cpp='$CPP $CPPFLAGS'
83850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83853
83854
83855 fi
83856
83857   fi
83858   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83859 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83860   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83861     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83862 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83863     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83864       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83865   echo $ECHO_N "(cached) $ECHO_C" >&6
83866 else
83867
83868         if test x$gcc_no_link = xyes; then
83869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83871    { (exit 1); exit 1; }; }
83872 fi
83873 cat >conftest.$ac_ext <<_ACEOF
83874 /* confdefs.h.  */
83875 _ACEOF
83876 cat confdefs.h >>conftest.$ac_ext
83877 cat >>conftest.$ac_ext <<_ACEOF
83878 /* end confdefs.h.  */
83879 #include <math.h>
83880 int
83881 main ()
83882 {
83883  __builtin_cosf(0);
83884   ;
83885   return 0;
83886 }
83887 _ACEOF
83888 rm -f conftest.$ac_objext conftest$ac_exeext
83889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83890   (eval $ac_link) 2>conftest.er1
83891   ac_status=$?
83892   grep -v '^ *+' conftest.er1 >conftest.err
83893   rm -f conftest.er1
83894   cat conftest.err >&5
83895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83896   (exit $ac_status); } &&
83897          { ac_try='test -z "$ac_c_werror_flag"
83898                          || test ! -s conftest.err'
83899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83900   (eval $ac_try) 2>&5
83901   ac_status=$?
83902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83903   (exit $ac_status); }; } &&
83904          { ac_try='test -s conftest$ac_exeext'
83905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83906   (eval $ac_try) 2>&5
83907   ac_status=$?
83908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83909   (exit $ac_status); }; }; then
83910   glibcxx_cv_func___builtin_cosf_link=yes
83911 else
83912   echo "$as_me: failed program was:" >&5
83913 sed 's/^/| /' conftest.$ac_ext >&5
83914
83915 glibcxx_cv_func___builtin_cosf_link=no
83916 fi
83917 rm -f conftest.err conftest.$ac_objext \
83918       conftest$ac_exeext conftest.$ac_ext
83919
83920 fi
83921
83922     fi
83923     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83924 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83925
83926     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83927
83928 cat >>confdefs.h <<\_ACEOF
83929 #define HAVE___BUILTIN_COSF 1
83930 _ACEOF
83931
83932     fi
83933
83934   fi
83935
83936
83937   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83938 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83939   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83940     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83941   echo $ECHO_N "(cached) $ECHO_C" >&6
83942 else
83943
83944
83945
83946       ac_ext=cc
83947 ac_cpp='$CXXCPP $CPPFLAGS'
83948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83951
83952       cat >conftest.$ac_ext <<_ACEOF
83953 /* confdefs.h.  */
83954 _ACEOF
83955 cat confdefs.h >>conftest.$ac_ext
83956 cat >>conftest.$ac_ext <<_ACEOF
83957 /* end confdefs.h.  */
83958 #include <math.h>
83959 int
83960 main ()
83961 {
83962  __builtin_cos(0);
83963   ;
83964   return 0;
83965 }
83966 _ACEOF
83967 rm -f conftest.$ac_objext
83968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83969   (eval $ac_compile) 2>conftest.er1
83970   ac_status=$?
83971   grep -v '^ *+' conftest.er1 >conftest.err
83972   rm -f conftest.er1
83973   cat conftest.err >&5
83974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975   (exit $ac_status); } &&
83976          { ac_try='test -z "$ac_cxx_werror_flag"
83977                          || test ! -s conftest.err'
83978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83979   (eval $ac_try) 2>&5
83980   ac_status=$?
83981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83982   (exit $ac_status); }; } &&
83983          { ac_try='test -s conftest.$ac_objext'
83984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83985   (eval $ac_try) 2>&5
83986   ac_status=$?
83987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83988   (exit $ac_status); }; }; then
83989   glibcxx_cv_func___builtin_cos_use=yes
83990 else
83991   echo "$as_me: failed program was:" >&5
83992 sed 's/^/| /' conftest.$ac_ext >&5
83993
83994 glibcxx_cv_func___builtin_cos_use=no
83995 fi
83996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83997       ac_ext=c
83998 ac_cpp='$CPP $CPPFLAGS'
83999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84002
84003
84004 fi
84005
84006   fi
84007   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84008 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84009   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84010     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84011 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84012     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84013       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84014   echo $ECHO_N "(cached) $ECHO_C" >&6
84015 else
84016
84017         if test x$gcc_no_link = xyes; then
84018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84020    { (exit 1); exit 1; }; }
84021 fi
84022 cat >conftest.$ac_ext <<_ACEOF
84023 /* confdefs.h.  */
84024 _ACEOF
84025 cat confdefs.h >>conftest.$ac_ext
84026 cat >>conftest.$ac_ext <<_ACEOF
84027 /* end confdefs.h.  */
84028 #include <math.h>
84029 int
84030 main ()
84031 {
84032  __builtin_cos(0);
84033   ;
84034   return 0;
84035 }
84036 _ACEOF
84037 rm -f conftest.$ac_objext conftest$ac_exeext
84038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84039   (eval $ac_link) 2>conftest.er1
84040   ac_status=$?
84041   grep -v '^ *+' conftest.er1 >conftest.err
84042   rm -f conftest.er1
84043   cat conftest.err >&5
84044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84045   (exit $ac_status); } &&
84046          { ac_try='test -z "$ac_c_werror_flag"
84047                          || test ! -s conftest.err'
84048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84049   (eval $ac_try) 2>&5
84050   ac_status=$?
84051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84052   (exit $ac_status); }; } &&
84053          { ac_try='test -s conftest$ac_exeext'
84054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84055   (eval $ac_try) 2>&5
84056   ac_status=$?
84057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84058   (exit $ac_status); }; }; then
84059   glibcxx_cv_func___builtin_cos_link=yes
84060 else
84061   echo "$as_me: failed program was:" >&5
84062 sed 's/^/| /' conftest.$ac_ext >&5
84063
84064 glibcxx_cv_func___builtin_cos_link=no
84065 fi
84066 rm -f conftest.err conftest.$ac_objext \
84067       conftest$ac_exeext conftest.$ac_ext
84068
84069 fi
84070
84071     fi
84072     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84073 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84074
84075     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84076
84077 cat >>confdefs.h <<\_ACEOF
84078 #define HAVE___BUILTIN_COS 1
84079 _ACEOF
84080
84081     fi
84082
84083   fi
84084
84085
84086   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84087 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84088   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84089     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84090   echo $ECHO_N "(cached) $ECHO_C" >&6
84091 else
84092
84093
84094
84095       ac_ext=cc
84096 ac_cpp='$CXXCPP $CPPFLAGS'
84097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84100
84101       cat >conftest.$ac_ext <<_ACEOF
84102 /* confdefs.h.  */
84103 _ACEOF
84104 cat confdefs.h >>conftest.$ac_ext
84105 cat >>conftest.$ac_ext <<_ACEOF
84106 /* end confdefs.h.  */
84107 #include <math.h>
84108 int
84109 main ()
84110 {
84111  __builtin_cosl(0);
84112   ;
84113   return 0;
84114 }
84115 _ACEOF
84116 rm -f conftest.$ac_objext
84117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84118   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func___builtin_cosl_use=yes
84139 else
84140   echo "$as_me: failed program was:" >&5
84141 sed 's/^/| /' conftest.$ac_ext >&5
84142
84143 glibcxx_cv_func___builtin_cosl_use=no
84144 fi
84145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84146       ac_ext=c
84147 ac_cpp='$CPP $CPPFLAGS'
84148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84151
84152
84153 fi
84154
84155   fi
84156   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84157 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84158   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84159     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84160 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84161     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84162       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84163   echo $ECHO_N "(cached) $ECHO_C" >&6
84164 else
84165
84166         if test x$gcc_no_link = xyes; then
84167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84169    { (exit 1); exit 1; }; }
84170 fi
84171 cat >conftest.$ac_ext <<_ACEOF
84172 /* confdefs.h.  */
84173 _ACEOF
84174 cat confdefs.h >>conftest.$ac_ext
84175 cat >>conftest.$ac_ext <<_ACEOF
84176 /* end confdefs.h.  */
84177 #include <math.h>
84178 int
84179 main ()
84180 {
84181  __builtin_cosl(0);
84182   ;
84183   return 0;
84184 }
84185 _ACEOF
84186 rm -f conftest.$ac_objext conftest$ac_exeext
84187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84188   (eval $ac_link) 2>conftest.er1
84189   ac_status=$?
84190   grep -v '^ *+' conftest.er1 >conftest.err
84191   rm -f conftest.er1
84192   cat conftest.err >&5
84193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194   (exit $ac_status); } &&
84195          { ac_try='test -z "$ac_c_werror_flag"
84196                          || test ! -s conftest.err'
84197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84198   (eval $ac_try) 2>&5
84199   ac_status=$?
84200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84201   (exit $ac_status); }; } &&
84202          { ac_try='test -s conftest$ac_exeext'
84203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204   (eval $ac_try) 2>&5
84205   ac_status=$?
84206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207   (exit $ac_status); }; }; then
84208   glibcxx_cv_func___builtin_cosl_link=yes
84209 else
84210   echo "$as_me: failed program was:" >&5
84211 sed 's/^/| /' conftest.$ac_ext >&5
84212
84213 glibcxx_cv_func___builtin_cosl_link=no
84214 fi
84215 rm -f conftest.err conftest.$ac_objext \
84216       conftest$ac_exeext conftest.$ac_ext
84217
84218 fi
84219
84220     fi
84221     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84222 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84223
84224     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84225
84226 cat >>confdefs.h <<\_ACEOF
84227 #define HAVE___BUILTIN_COSL 1
84228 _ACEOF
84229
84230     fi
84231
84232   fi
84233
84234
84235
84236
84237 echo "$as_me:$LINENO: checking for main in -lm" >&5
84238 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84239 if test "${ac_cv_lib_m_main+set}" = set; then
84240   echo $ECHO_N "(cached) $ECHO_C" >&6
84241 else
84242   ac_check_lib_save_LIBS=$LIBS
84243 LIBS="-lm  $LIBS"
84244 if test x$gcc_no_link = xyes; then
84245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84247    { (exit 1); exit 1; }; }
84248 fi
84249 cat >conftest.$ac_ext <<_ACEOF
84250 /* confdefs.h.  */
84251 _ACEOF
84252 cat confdefs.h >>conftest.$ac_ext
84253 cat >>conftest.$ac_ext <<_ACEOF
84254 /* end confdefs.h.  */
84255
84256
84257 int
84258 main ()
84259 {
84260 main ();
84261   ;
84262   return 0;
84263 }
84264 _ACEOF
84265 rm -f conftest.$ac_objext conftest$ac_exeext
84266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84267   (eval $ac_link) 2>conftest.er1
84268   ac_status=$?
84269   grep -v '^ *+' conftest.er1 >conftest.err
84270   rm -f conftest.er1
84271   cat conftest.err >&5
84272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84273   (exit $ac_status); } &&
84274          { ac_try='test -z "$ac_c_werror_flag"
84275                          || test ! -s conftest.err'
84276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84277   (eval $ac_try) 2>&5
84278   ac_status=$?
84279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84280   (exit $ac_status); }; } &&
84281          { ac_try='test -s conftest$ac_exeext'
84282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84283   (eval $ac_try) 2>&5
84284   ac_status=$?
84285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84286   (exit $ac_status); }; }; then
84287   ac_cv_lib_m_main=yes
84288 else
84289   echo "$as_me: failed program was:" >&5
84290 sed 's/^/| /' conftest.$ac_ext >&5
84291
84292 ac_cv_lib_m_main=no
84293 fi
84294 rm -f conftest.err conftest.$ac_objext \
84295       conftest$ac_exeext conftest.$ac_ext
84296 LIBS=$ac_check_lib_save_LIBS
84297 fi
84298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84299 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84300 if test $ac_cv_lib_m_main = yes; then
84301   cat >>confdefs.h <<_ACEOF
84302 #define HAVE_LIBM 1
84303 _ACEOF
84304
84305   LIBS="-lm $LIBS"
84306
84307 fi
84308
84309
84310 for ac_func in copysignf
84311 do
84312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84313 echo "$as_me:$LINENO: checking for $ac_func" >&5
84314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84315 if eval "test \"\${$as_ac_var+set}\" = set"; then
84316   echo $ECHO_N "(cached) $ECHO_C" >&6
84317 else
84318   if test x$gcc_no_link = xyes; then
84319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84321    { (exit 1); exit 1; }; }
84322 fi
84323 cat >conftest.$ac_ext <<_ACEOF
84324 /* confdefs.h.  */
84325 _ACEOF
84326 cat confdefs.h >>conftest.$ac_ext
84327 cat >>conftest.$ac_ext <<_ACEOF
84328 /* end confdefs.h.  */
84329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84331 #define $ac_func innocuous_$ac_func
84332
84333 /* System header to define __stub macros and hopefully few prototypes,
84334     which can conflict with char $ac_func (); below.
84335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84336     <limits.h> exists even on freestanding compilers.  */
84337
84338 #ifdef __STDC__
84339 # include <limits.h>
84340 #else
84341 # include <assert.h>
84342 #endif
84343
84344 #undef $ac_func
84345
84346 /* Override any gcc2 internal prototype to avoid an error.  */
84347 #ifdef __cplusplus
84348 extern "C"
84349 {
84350 #endif
84351 /* We use char because int might match the return type of a gcc2
84352    builtin and then its argument prototype would still apply.  */
84353 char $ac_func ();
84354 /* The GNU C library defines this for functions which it implements
84355     to always fail with ENOSYS.  Some functions are actually named
84356     something starting with __ and the normal name is an alias.  */
84357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84358 choke me
84359 #else
84360 char (*f) () = $ac_func;
84361 #endif
84362 #ifdef __cplusplus
84363 }
84364 #endif
84365
84366 int
84367 main ()
84368 {
84369 return f != $ac_func;
84370   ;
84371   return 0;
84372 }
84373 _ACEOF
84374 rm -f conftest.$ac_objext conftest$ac_exeext
84375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84376   (eval $ac_link) 2>conftest.er1
84377   ac_status=$?
84378   grep -v '^ *+' conftest.er1 >conftest.err
84379   rm -f conftest.er1
84380   cat conftest.err >&5
84381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84382   (exit $ac_status); } &&
84383          { ac_try='test -z "$ac_c_werror_flag"
84384                          || test ! -s conftest.err'
84385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84386   (eval $ac_try) 2>&5
84387   ac_status=$?
84388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84389   (exit $ac_status); }; } &&
84390          { ac_try='test -s conftest$ac_exeext'
84391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84392   (eval $ac_try) 2>&5
84393   ac_status=$?
84394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84395   (exit $ac_status); }; }; then
84396   eval "$as_ac_var=yes"
84397 else
84398   echo "$as_me: failed program was:" >&5
84399 sed 's/^/| /' conftest.$ac_ext >&5
84400
84401 eval "$as_ac_var=no"
84402 fi
84403 rm -f conftest.err conftest.$ac_objext \
84404       conftest$ac_exeext conftest.$ac_ext
84405 fi
84406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84408 if test `eval echo '${'$as_ac_var'}'` = yes; then
84409   cat >>confdefs.h <<_ACEOF
84410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84411 _ACEOF
84412
84413 else
84414   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84415 fi
84416 done
84417
84418
84419
84420 for ac_func in __signbit
84421 do
84422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84423 echo "$as_me:$LINENO: checking for $ac_func" >&5
84424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84425 if eval "test \"\${$as_ac_var+set}\" = set"; then
84426   echo $ECHO_N "(cached) $ECHO_C" >&6
84427 else
84428   if test x$gcc_no_link = xyes; then
84429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84431    { (exit 1); exit 1; }; }
84432 fi
84433 cat >conftest.$ac_ext <<_ACEOF
84434 /* confdefs.h.  */
84435 _ACEOF
84436 cat confdefs.h >>conftest.$ac_ext
84437 cat >>conftest.$ac_ext <<_ACEOF
84438 /* end confdefs.h.  */
84439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84441 #define $ac_func innocuous_$ac_func
84442
84443 /* System header to define __stub macros and hopefully few prototypes,
84444     which can conflict with char $ac_func (); below.
84445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84446     <limits.h> exists even on freestanding compilers.  */
84447
84448 #ifdef __STDC__
84449 # include <limits.h>
84450 #else
84451 # include <assert.h>
84452 #endif
84453
84454 #undef $ac_func
84455
84456 /* Override any gcc2 internal prototype to avoid an error.  */
84457 #ifdef __cplusplus
84458 extern "C"
84459 {
84460 #endif
84461 /* We use char because int might match the return type of a gcc2
84462    builtin and then its argument prototype would still apply.  */
84463 char $ac_func ();
84464 /* The GNU C library defines this for functions which it implements
84465     to always fail with ENOSYS.  Some functions are actually named
84466     something starting with __ and the normal name is an alias.  */
84467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84468 choke me
84469 #else
84470 char (*f) () = $ac_func;
84471 #endif
84472 #ifdef __cplusplus
84473 }
84474 #endif
84475
84476 int
84477 main ()
84478 {
84479 return f != $ac_func;
84480   ;
84481   return 0;
84482 }
84483 _ACEOF
84484 rm -f conftest.$ac_objext conftest$ac_exeext
84485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84486   (eval $ac_link) 2>conftest.er1
84487   ac_status=$?
84488   grep -v '^ *+' conftest.er1 >conftest.err
84489   rm -f conftest.er1
84490   cat conftest.err >&5
84491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492   (exit $ac_status); } &&
84493          { ac_try='test -z "$ac_c_werror_flag"
84494                          || test ! -s conftest.err'
84495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84496   (eval $ac_try) 2>&5
84497   ac_status=$?
84498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84499   (exit $ac_status); }; } &&
84500          { ac_try='test -s conftest$ac_exeext'
84501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84502   (eval $ac_try) 2>&5
84503   ac_status=$?
84504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84505   (exit $ac_status); }; }; then
84506   eval "$as_ac_var=yes"
84507 else
84508   echo "$as_me: failed program was:" >&5
84509 sed 's/^/| /' conftest.$ac_ext >&5
84510
84511 eval "$as_ac_var=no"
84512 fi
84513 rm -f conftest.err conftest.$ac_objext \
84514       conftest$ac_exeext conftest.$ac_ext
84515 fi
84516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84518 if test `eval echo '${'$as_ac_var'}'` = yes; then
84519   cat >>confdefs.h <<_ACEOF
84520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84521 _ACEOF
84522
84523 else
84524   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84525 fi
84526 done
84527
84528
84529
84530 for ac_func in __signbitf
84531 do
84532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84533 echo "$as_me:$LINENO: checking for $ac_func" >&5
84534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84535 if eval "test \"\${$as_ac_var+set}\" = set"; then
84536   echo $ECHO_N "(cached) $ECHO_C" >&6
84537 else
84538   if test x$gcc_no_link = xyes; then
84539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84541    { (exit 1); exit 1; }; }
84542 fi
84543 cat >conftest.$ac_ext <<_ACEOF
84544 /* confdefs.h.  */
84545 _ACEOF
84546 cat confdefs.h >>conftest.$ac_ext
84547 cat >>conftest.$ac_ext <<_ACEOF
84548 /* end confdefs.h.  */
84549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84551 #define $ac_func innocuous_$ac_func
84552
84553 /* System header to define __stub macros and hopefully few prototypes,
84554     which can conflict with char $ac_func (); below.
84555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84556     <limits.h> exists even on freestanding compilers.  */
84557
84558 #ifdef __STDC__
84559 # include <limits.h>
84560 #else
84561 # include <assert.h>
84562 #endif
84563
84564 #undef $ac_func
84565
84566 /* Override any gcc2 internal prototype to avoid an error.  */
84567 #ifdef __cplusplus
84568 extern "C"
84569 {
84570 #endif
84571 /* We use char because int might match the return type of a gcc2
84572    builtin and then its argument prototype would still apply.  */
84573 char $ac_func ();
84574 /* The GNU C library defines this for functions which it implements
84575     to always fail with ENOSYS.  Some functions are actually named
84576     something starting with __ and the normal name is an alias.  */
84577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84578 choke me
84579 #else
84580 char (*f) () = $ac_func;
84581 #endif
84582 #ifdef __cplusplus
84583 }
84584 #endif
84585
84586 int
84587 main ()
84588 {
84589 return f != $ac_func;
84590   ;
84591   return 0;
84592 }
84593 _ACEOF
84594 rm -f conftest.$ac_objext conftest$ac_exeext
84595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84596   (eval $ac_link) 2>conftest.er1
84597   ac_status=$?
84598   grep -v '^ *+' conftest.er1 >conftest.err
84599   rm -f conftest.er1
84600   cat conftest.err >&5
84601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602   (exit $ac_status); } &&
84603          { ac_try='test -z "$ac_c_werror_flag"
84604                          || test ! -s conftest.err'
84605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84606   (eval $ac_try) 2>&5
84607   ac_status=$?
84608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84609   (exit $ac_status); }; } &&
84610          { ac_try='test -s conftest$ac_exeext'
84611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612   (eval $ac_try) 2>&5
84613   ac_status=$?
84614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615   (exit $ac_status); }; }; then
84616   eval "$as_ac_var=yes"
84617 else
84618   echo "$as_me: failed program was:" >&5
84619 sed 's/^/| /' conftest.$ac_ext >&5
84620
84621 eval "$as_ac_var=no"
84622 fi
84623 rm -f conftest.err conftest.$ac_objext \
84624       conftest$ac_exeext conftest.$ac_ext
84625 fi
84626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84628 if test `eval echo '${'$as_ac_var'}'` = yes; then
84629   cat >>confdefs.h <<_ACEOF
84630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84631 _ACEOF
84632
84633 else
84634   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84635 fi
84636 done
84637
84638
84639           if test x$ac_cv_func_copysignl = x"yes"; then
84640
84641 for ac_func in __signbitl
84642 do
84643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84644 echo "$as_me:$LINENO: checking for $ac_func" >&5
84645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84646 if eval "test \"\${$as_ac_var+set}\" = set"; then
84647   echo $ECHO_N "(cached) $ECHO_C" >&6
84648 else
84649   if test x$gcc_no_link = xyes; then
84650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84652    { (exit 1); exit 1; }; }
84653 fi
84654 cat >conftest.$ac_ext <<_ACEOF
84655 /* confdefs.h.  */
84656 _ACEOF
84657 cat confdefs.h >>conftest.$ac_ext
84658 cat >>conftest.$ac_ext <<_ACEOF
84659 /* end confdefs.h.  */
84660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84662 #define $ac_func innocuous_$ac_func
84663
84664 /* System header to define __stub macros and hopefully few prototypes,
84665     which can conflict with char $ac_func (); below.
84666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84667     <limits.h> exists even on freestanding compilers.  */
84668
84669 #ifdef __STDC__
84670 # include <limits.h>
84671 #else
84672 # include <assert.h>
84673 #endif
84674
84675 #undef $ac_func
84676
84677 /* Override any gcc2 internal prototype to avoid an error.  */
84678 #ifdef __cplusplus
84679 extern "C"
84680 {
84681 #endif
84682 /* We use char because int might match the return type of a gcc2
84683    builtin and then its argument prototype would still apply.  */
84684 char $ac_func ();
84685 /* The GNU C library defines this for functions which it implements
84686     to always fail with ENOSYS.  Some functions are actually named
84687     something starting with __ and the normal name is an alias.  */
84688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84689 choke me
84690 #else
84691 char (*f) () = $ac_func;
84692 #endif
84693 #ifdef __cplusplus
84694 }
84695 #endif
84696
84697 int
84698 main ()
84699 {
84700 return f != $ac_func;
84701   ;
84702   return 0;
84703 }
84704 _ACEOF
84705 rm -f conftest.$ac_objext conftest$ac_exeext
84706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84707   (eval $ac_link) 2>conftest.er1
84708   ac_status=$?
84709   grep -v '^ *+' conftest.er1 >conftest.err
84710   rm -f conftest.er1
84711   cat conftest.err >&5
84712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84713   (exit $ac_status); } &&
84714          { ac_try='test -z "$ac_c_werror_flag"
84715                          || test ! -s conftest.err'
84716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84717   (eval $ac_try) 2>&5
84718   ac_status=$?
84719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84720   (exit $ac_status); }; } &&
84721          { ac_try='test -s conftest$ac_exeext'
84722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84723   (eval $ac_try) 2>&5
84724   ac_status=$?
84725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84726   (exit $ac_status); }; }; then
84727   eval "$as_ac_var=yes"
84728 else
84729   echo "$as_me: failed program was:" >&5
84730 sed 's/^/| /' conftest.$ac_ext >&5
84731
84732 eval "$as_ac_var=no"
84733 fi
84734 rm -f conftest.err conftest.$ac_objext \
84735       conftest$ac_exeext conftest.$ac_ext
84736 fi
84737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84739 if test `eval echo '${'$as_ac_var'}'` = yes; then
84740   cat >>confdefs.h <<_ACEOF
84741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84742 _ACEOF
84743
84744 else
84745   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84746 fi
84747 done
84748
84749   fi
84750
84751   # Used in libmath/Makefile.am.
84752   if test -n "$LIBMATHOBJS"; then
84753     need_libmath=yes
84754   fi
84755
84756
84757
84758   ac_test_CXXFLAGS="${CXXFLAGS+set}"
84759   ac_save_CXXFLAGS="$CXXFLAGS"
84760   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84761
84762
84763   echo "$as_me:$LINENO: checking for strtold declaration" >&5
84764 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84765   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84766     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84767   echo $ECHO_N "(cached) $ECHO_C" >&6
84768 else
84769
84770
84771
84772       ac_ext=cc
84773 ac_cpp='$CXXCPP $CPPFLAGS'
84774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84777
84778       cat >conftest.$ac_ext <<_ACEOF
84779 /* confdefs.h.  */
84780 _ACEOF
84781 cat confdefs.h >>conftest.$ac_ext
84782 cat >>conftest.$ac_ext <<_ACEOF
84783 /* end confdefs.h.  */
84784 #include <stdlib.h>
84785 int
84786 main ()
84787 {
84788  strtold(0, 0);
84789   ;
84790   return 0;
84791 }
84792 _ACEOF
84793 rm -f conftest.$ac_objext
84794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84795   (eval $ac_compile) 2>conftest.er1
84796   ac_status=$?
84797   grep -v '^ *+' conftest.er1 >conftest.err
84798   rm -f conftest.er1
84799   cat conftest.err >&5
84800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801   (exit $ac_status); } &&
84802          { ac_try='test -z "$ac_cxx_werror_flag"
84803                          || test ! -s conftest.err'
84804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84805   (eval $ac_try) 2>&5
84806   ac_status=$?
84807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84808   (exit $ac_status); }; } &&
84809          { ac_try='test -s conftest.$ac_objext'
84810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84811   (eval $ac_try) 2>&5
84812   ac_status=$?
84813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84814   (exit $ac_status); }; }; then
84815   glibcxx_cv_func_strtold_use=yes
84816 else
84817   echo "$as_me: failed program was:" >&5
84818 sed 's/^/| /' conftest.$ac_ext >&5
84819
84820 glibcxx_cv_func_strtold_use=no
84821 fi
84822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84823       ac_ext=c
84824 ac_cpp='$CPP $CPPFLAGS'
84825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84828
84829
84830 fi
84831
84832   fi
84833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84834 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84835   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84836
84837 for ac_func in strtold
84838 do
84839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84840 echo "$as_me:$LINENO: checking for $ac_func" >&5
84841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84842 if eval "test \"\${$as_ac_var+set}\" = set"; then
84843   echo $ECHO_N "(cached) $ECHO_C" >&6
84844 else
84845   if test x$gcc_no_link = xyes; then
84846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84848    { (exit 1); exit 1; }; }
84849 fi
84850 cat >conftest.$ac_ext <<_ACEOF
84851 /* confdefs.h.  */
84852 _ACEOF
84853 cat confdefs.h >>conftest.$ac_ext
84854 cat >>conftest.$ac_ext <<_ACEOF
84855 /* end confdefs.h.  */
84856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84858 #define $ac_func innocuous_$ac_func
84859
84860 /* System header to define __stub macros and hopefully few prototypes,
84861     which can conflict with char $ac_func (); below.
84862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84863     <limits.h> exists even on freestanding compilers.  */
84864
84865 #ifdef __STDC__
84866 # include <limits.h>
84867 #else
84868 # include <assert.h>
84869 #endif
84870
84871 #undef $ac_func
84872
84873 /* Override any gcc2 internal prototype to avoid an error.  */
84874 #ifdef __cplusplus
84875 extern "C"
84876 {
84877 #endif
84878 /* We use char because int might match the return type of a gcc2
84879    builtin and then its argument prototype would still apply.  */
84880 char $ac_func ();
84881 /* The GNU C library defines this for functions which it implements
84882     to always fail with ENOSYS.  Some functions are actually named
84883     something starting with __ and the normal name is an alias.  */
84884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84885 choke me
84886 #else
84887 char (*f) () = $ac_func;
84888 #endif
84889 #ifdef __cplusplus
84890 }
84891 #endif
84892
84893 int
84894 main ()
84895 {
84896 return f != $ac_func;
84897   ;
84898   return 0;
84899 }
84900 _ACEOF
84901 rm -f conftest.$ac_objext conftest$ac_exeext
84902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84903   (eval $ac_link) 2>conftest.er1
84904   ac_status=$?
84905   grep -v '^ *+' conftest.er1 >conftest.err
84906   rm -f conftest.er1
84907   cat conftest.err >&5
84908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84909   (exit $ac_status); } &&
84910          { ac_try='test -z "$ac_c_werror_flag"
84911                          || test ! -s conftest.err'
84912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84913   (eval $ac_try) 2>&5
84914   ac_status=$?
84915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84916   (exit $ac_status); }; } &&
84917          { ac_try='test -s conftest$ac_exeext'
84918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84919   (eval $ac_try) 2>&5
84920   ac_status=$?
84921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84922   (exit $ac_status); }; }; then
84923   eval "$as_ac_var=yes"
84924 else
84925   echo "$as_me: failed program was:" >&5
84926 sed 's/^/| /' conftest.$ac_ext >&5
84927
84928 eval "$as_ac_var=no"
84929 fi
84930 rm -f conftest.err conftest.$ac_objext \
84931       conftest$ac_exeext conftest.$ac_ext
84932 fi
84933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84935 if test `eval echo '${'$as_ac_var'}'` = yes; then
84936   cat >>confdefs.h <<_ACEOF
84937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84938 _ACEOF
84939
84940 fi
84941 done
84942
84943   fi
84944
84945
84946
84947
84948
84949   echo "$as_me:$LINENO: checking for strtof declaration" >&5
84950 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84951   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84952     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84953   echo $ECHO_N "(cached) $ECHO_C" >&6
84954 else
84955
84956
84957
84958       ac_ext=cc
84959 ac_cpp='$CXXCPP $CPPFLAGS'
84960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84963
84964       cat >conftest.$ac_ext <<_ACEOF
84965 /* confdefs.h.  */
84966 _ACEOF
84967 cat confdefs.h >>conftest.$ac_ext
84968 cat >>conftest.$ac_ext <<_ACEOF
84969 /* end confdefs.h.  */
84970 #include <stdlib.h>
84971 int
84972 main ()
84973 {
84974  strtof(0, 0);
84975   ;
84976   return 0;
84977 }
84978 _ACEOF
84979 rm -f conftest.$ac_objext
84980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84981   (eval $ac_compile) 2>conftest.er1
84982   ac_status=$?
84983   grep -v '^ *+' conftest.er1 >conftest.err
84984   rm -f conftest.er1
84985   cat conftest.err >&5
84986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84987   (exit $ac_status); } &&
84988          { ac_try='test -z "$ac_cxx_werror_flag"
84989                          || test ! -s conftest.err'
84990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84991   (eval $ac_try) 2>&5
84992   ac_status=$?
84993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84994   (exit $ac_status); }; } &&
84995          { ac_try='test -s conftest.$ac_objext'
84996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84997   (eval $ac_try) 2>&5
84998   ac_status=$?
84999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000   (exit $ac_status); }; }; then
85001   glibcxx_cv_func_strtof_use=yes
85002 else
85003   echo "$as_me: failed program was:" >&5
85004 sed 's/^/| /' conftest.$ac_ext >&5
85005
85006 glibcxx_cv_func_strtof_use=no
85007 fi
85008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85009       ac_ext=c
85010 ac_cpp='$CPP $CPPFLAGS'
85011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85014
85015
85016 fi
85017
85018   fi
85019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85020 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85021   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85022
85023 for ac_func in strtof
85024 do
85025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85026 echo "$as_me:$LINENO: checking for $ac_func" >&5
85027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85028 if eval "test \"\${$as_ac_var+set}\" = set"; then
85029   echo $ECHO_N "(cached) $ECHO_C" >&6
85030 else
85031   if test x$gcc_no_link = xyes; then
85032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85034    { (exit 1); exit 1; }; }
85035 fi
85036 cat >conftest.$ac_ext <<_ACEOF
85037 /* confdefs.h.  */
85038 _ACEOF
85039 cat confdefs.h >>conftest.$ac_ext
85040 cat >>conftest.$ac_ext <<_ACEOF
85041 /* end confdefs.h.  */
85042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85044 #define $ac_func innocuous_$ac_func
85045
85046 /* System header to define __stub macros and hopefully few prototypes,
85047     which can conflict with char $ac_func (); below.
85048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85049     <limits.h> exists even on freestanding compilers.  */
85050
85051 #ifdef __STDC__
85052 # include <limits.h>
85053 #else
85054 # include <assert.h>
85055 #endif
85056
85057 #undef $ac_func
85058
85059 /* Override any gcc2 internal prototype to avoid an error.  */
85060 #ifdef __cplusplus
85061 extern "C"
85062 {
85063 #endif
85064 /* We use char because int might match the return type of a gcc2
85065    builtin and then its argument prototype would still apply.  */
85066 char $ac_func ();
85067 /* The GNU C library defines this for functions which it implements
85068     to always fail with ENOSYS.  Some functions are actually named
85069     something starting with __ and the normal name is an alias.  */
85070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85071 choke me
85072 #else
85073 char (*f) () = $ac_func;
85074 #endif
85075 #ifdef __cplusplus
85076 }
85077 #endif
85078
85079 int
85080 main ()
85081 {
85082 return f != $ac_func;
85083   ;
85084   return 0;
85085 }
85086 _ACEOF
85087 rm -f conftest.$ac_objext conftest$ac_exeext
85088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85089   (eval $ac_link) 2>conftest.er1
85090   ac_status=$?
85091   grep -v '^ *+' conftest.er1 >conftest.err
85092   rm -f conftest.er1
85093   cat conftest.err >&5
85094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85095   (exit $ac_status); } &&
85096          { ac_try='test -z "$ac_c_werror_flag"
85097                          || test ! -s conftest.err'
85098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85099   (eval $ac_try) 2>&5
85100   ac_status=$?
85101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85102   (exit $ac_status); }; } &&
85103          { ac_try='test -s conftest$ac_exeext'
85104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85105   (eval $ac_try) 2>&5
85106   ac_status=$?
85107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85108   (exit $ac_status); }; }; then
85109   eval "$as_ac_var=yes"
85110 else
85111   echo "$as_me: failed program was:" >&5
85112 sed 's/^/| /' conftest.$ac_ext >&5
85113
85114 eval "$as_ac_var=no"
85115 fi
85116 rm -f conftest.err conftest.$ac_objext \
85117       conftest$ac_exeext conftest.$ac_ext
85118 fi
85119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85121 if test `eval echo '${'$as_ac_var'}'` = yes; then
85122   cat >>confdefs.h <<_ACEOF
85123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85124 _ACEOF
85125
85126 fi
85127 done
85128
85129   fi
85130
85131
85132
85133
85134
85135   CXXFLAGS="$ac_save_CXXFLAGS"
85136
85137
85138     # For showmanyc_helper().
85139
85140
85141 for ac_header in sys/ioctl.h sys/filio.h
85142 do
85143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85145   echo "$as_me:$LINENO: checking for $ac_header" >&5
85146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85148   echo $ECHO_N "(cached) $ECHO_C" >&6
85149 fi
85150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85152 else
85153   # Is the header compilable?
85154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85156 cat >conftest.$ac_ext <<_ACEOF
85157 /* confdefs.h.  */
85158 _ACEOF
85159 cat confdefs.h >>conftest.$ac_ext
85160 cat >>conftest.$ac_ext <<_ACEOF
85161 /* end confdefs.h.  */
85162 $ac_includes_default
85163 #include <$ac_header>
85164 _ACEOF
85165 rm -f conftest.$ac_objext
85166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85167   (eval $ac_compile) 2>conftest.er1
85168   ac_status=$?
85169   grep -v '^ *+' conftest.er1 >conftest.err
85170   rm -f conftest.er1
85171   cat conftest.err >&5
85172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85173   (exit $ac_status); } &&
85174          { ac_try='test -z "$ac_c_werror_flag"
85175                          || test ! -s conftest.err'
85176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85177   (eval $ac_try) 2>&5
85178   ac_status=$?
85179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85180   (exit $ac_status); }; } &&
85181          { ac_try='test -s conftest.$ac_objext'
85182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85183   (eval $ac_try) 2>&5
85184   ac_status=$?
85185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85186   (exit $ac_status); }; }; then
85187   ac_header_compiler=yes
85188 else
85189   echo "$as_me: failed program was:" >&5
85190 sed 's/^/| /' conftest.$ac_ext >&5
85191
85192 ac_header_compiler=no
85193 fi
85194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85196 echo "${ECHO_T}$ac_header_compiler" >&6
85197
85198 # Is the header present?
85199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85201 cat >conftest.$ac_ext <<_ACEOF
85202 /* confdefs.h.  */
85203 _ACEOF
85204 cat confdefs.h >>conftest.$ac_ext
85205 cat >>conftest.$ac_ext <<_ACEOF
85206 /* end confdefs.h.  */
85207 #include <$ac_header>
85208 _ACEOF
85209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85210   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85211   ac_status=$?
85212   grep -v '^ *+' conftest.er1 >conftest.err
85213   rm -f conftest.er1
85214   cat conftest.err >&5
85215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216   (exit $ac_status); } >/dev/null; then
85217   if test -s conftest.err; then
85218     ac_cpp_err=$ac_c_preproc_warn_flag
85219     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85220   else
85221     ac_cpp_err=
85222   fi
85223 else
85224   ac_cpp_err=yes
85225 fi
85226 if test -z "$ac_cpp_err"; then
85227   ac_header_preproc=yes
85228 else
85229   echo "$as_me: failed program was:" >&5
85230 sed 's/^/| /' conftest.$ac_ext >&5
85231
85232   ac_header_preproc=no
85233 fi
85234 rm -f conftest.err conftest.$ac_ext
85235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85236 echo "${ECHO_T}$ac_header_preproc" >&6
85237
85238 # So?  What about this header?
85239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85240   yes:no: )
85241     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85243     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85245     ac_header_preproc=yes
85246     ;;
85247   no:yes:* )
85248     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85250     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85251 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85252     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85254     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85255 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85256     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85258     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85260     (
85261       cat <<\_ASBOX
85262 ## ----------------------------------------- ##
85263 ## Report this to the package-unused lists.  ##
85264 ## ----------------------------------------- ##
85265 _ASBOX
85266     ) |
85267       sed "s/^/$as_me: WARNING:     /" >&2
85268     ;;
85269 esac
85270 echo "$as_me:$LINENO: checking for $ac_header" >&5
85271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85273   echo $ECHO_N "(cached) $ECHO_C" >&6
85274 else
85275   eval "$as_ac_Header=\$ac_header_preproc"
85276 fi
85277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85279
85280 fi
85281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85282   cat >>confdefs.h <<_ACEOF
85283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85284 _ACEOF
85285
85286 fi
85287
85288 done
85289
85290
85291   echo "$as_me:$LINENO: checking for poll" >&5
85292 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85293   if test "${glibcxx_cv_POLL+set}" = set; then
85294   echo $ECHO_N "(cached) $ECHO_C" >&6
85295 else
85296
85297     if test x$gcc_no_link = xyes; then
85298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85300    { (exit 1); exit 1; }; }
85301 fi
85302 cat >conftest.$ac_ext <<_ACEOF
85303 /* confdefs.h.  */
85304 _ACEOF
85305 cat confdefs.h >>conftest.$ac_ext
85306 cat >>conftest.$ac_ext <<_ACEOF
85307 /* end confdefs.h.  */
85308 #include <poll.h>
85309 int
85310 main ()
85311 {
85312 struct pollfd pfd[1];
85313        pfd[0].events = POLLIN;
85314        poll(pfd, 1, 0);
85315   ;
85316   return 0;
85317 }
85318 _ACEOF
85319 rm -f conftest.$ac_objext conftest$ac_exeext
85320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85321   (eval $ac_link) 2>conftest.er1
85322   ac_status=$?
85323   grep -v '^ *+' conftest.er1 >conftest.err
85324   rm -f conftest.er1
85325   cat conftest.err >&5
85326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85327   (exit $ac_status); } &&
85328          { ac_try='test -z "$ac_c_werror_flag"
85329                          || test ! -s conftest.err'
85330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85331   (eval $ac_try) 2>&5
85332   ac_status=$?
85333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85334   (exit $ac_status); }; } &&
85335          { ac_try='test -s conftest$ac_exeext'
85336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85337   (eval $ac_try) 2>&5
85338   ac_status=$?
85339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85340   (exit $ac_status); }; }; then
85341   glibcxx_cv_POLL=yes
85342 else
85343   echo "$as_me: failed program was:" >&5
85344 sed 's/^/| /' conftest.$ac_ext >&5
85345
85346 glibcxx_cv_POLL=no
85347 fi
85348 rm -f conftest.err conftest.$ac_objext \
85349       conftest$ac_exeext conftest.$ac_ext
85350
85351 fi
85352
85353   if test $glibcxx_cv_POLL = yes; then
85354
85355 cat >>confdefs.h <<\_ACEOF
85356 #define HAVE_POLL 1
85357 _ACEOF
85358
85359   fi
85360   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85361 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85362
85363
85364   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85365 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85366   if test "${glibcxx_cv_S_ISREG+set}" = set; then
85367   echo $ECHO_N "(cached) $ECHO_C" >&6
85368 else
85369
85370     if test x$gcc_no_link = xyes; then
85371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85373    { (exit 1); exit 1; }; }
85374 fi
85375 cat >conftest.$ac_ext <<_ACEOF
85376 /* confdefs.h.  */
85377 _ACEOF
85378 cat confdefs.h >>conftest.$ac_ext
85379 cat >>conftest.$ac_ext <<_ACEOF
85380 /* end confdefs.h.  */
85381 #include <sys/stat.h>
85382 int
85383 main ()
85384 {
85385 struct stat buffer;
85386        fstat(0, &buffer);
85387        S_ISREG(buffer.st_mode);
85388   ;
85389   return 0;
85390 }
85391 _ACEOF
85392 rm -f conftest.$ac_objext conftest$ac_exeext
85393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85394   (eval $ac_link) 2>conftest.er1
85395   ac_status=$?
85396   grep -v '^ *+' conftest.er1 >conftest.err
85397   rm -f conftest.er1
85398   cat conftest.err >&5
85399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85400   (exit $ac_status); } &&
85401          { ac_try='test -z "$ac_c_werror_flag"
85402                          || test ! -s conftest.err'
85403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85404   (eval $ac_try) 2>&5
85405   ac_status=$?
85406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85407   (exit $ac_status); }; } &&
85408          { ac_try='test -s conftest$ac_exeext'
85409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85410   (eval $ac_try) 2>&5
85411   ac_status=$?
85412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85413   (exit $ac_status); }; }; then
85414   glibcxx_cv_S_ISREG=yes
85415 else
85416   echo "$as_me: failed program was:" >&5
85417 sed 's/^/| /' conftest.$ac_ext >&5
85418
85419 glibcxx_cv_S_ISREG=no
85420 fi
85421 rm -f conftest.err conftest.$ac_objext \
85422       conftest$ac_exeext conftest.$ac_ext
85423
85424 fi
85425
85426   if test "${glibcxx_cv_S_IFREG+set}" = set; then
85427   echo $ECHO_N "(cached) $ECHO_C" >&6
85428 else
85429
85430     if test x$gcc_no_link = xyes; then
85431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85433    { (exit 1); exit 1; }; }
85434 fi
85435 cat >conftest.$ac_ext <<_ACEOF
85436 /* confdefs.h.  */
85437 _ACEOF
85438 cat confdefs.h >>conftest.$ac_ext
85439 cat >>conftest.$ac_ext <<_ACEOF
85440 /* end confdefs.h.  */
85441 #include <sys/stat.h>
85442 int
85443 main ()
85444 {
85445 struct stat buffer;
85446        fstat(0, &buffer);
85447        S_IFREG & buffer.st_mode;
85448   ;
85449   return 0;
85450 }
85451 _ACEOF
85452 rm -f conftest.$ac_objext conftest$ac_exeext
85453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85454   (eval $ac_link) 2>conftest.er1
85455   ac_status=$?
85456   grep -v '^ *+' conftest.er1 >conftest.err
85457   rm -f conftest.er1
85458   cat conftest.err >&5
85459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85460   (exit $ac_status); } &&
85461          { ac_try='test -z "$ac_c_werror_flag"
85462                          || test ! -s conftest.err'
85463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85464   (eval $ac_try) 2>&5
85465   ac_status=$?
85466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85467   (exit $ac_status); }; } &&
85468          { ac_try='test -s conftest$ac_exeext'
85469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85470   (eval $ac_try) 2>&5
85471   ac_status=$?
85472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85473   (exit $ac_status); }; }; then
85474   glibcxx_cv_S_IFREG=yes
85475 else
85476   echo "$as_me: failed program was:" >&5
85477 sed 's/^/| /' conftest.$ac_ext >&5
85478
85479 glibcxx_cv_S_IFREG=no
85480 fi
85481 rm -f conftest.err conftest.$ac_objext \
85482       conftest$ac_exeext conftest.$ac_ext
85483
85484 fi
85485
85486   res=no
85487   if test $glibcxx_cv_S_ISREG = yes; then
85488
85489 cat >>confdefs.h <<\_ACEOF
85490 #define HAVE_S_ISREG 1
85491 _ACEOF
85492
85493     res=S_ISREG
85494   elif test $glibcxx_cv_S_IFREG = yes; then
85495
85496 cat >>confdefs.h <<\_ACEOF
85497 #define HAVE_S_IFREG 1
85498 _ACEOF
85499
85500     res=S_IFREG
85501   fi
85502   echo "$as_me:$LINENO: result: $res" >&5
85503 echo "${ECHO_T}$res" >&6
85504
85505
85506     # For xsputn_2().
85507
85508 for ac_header in sys/uio.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
85658   echo "$as_me:$LINENO: checking for writev" >&5
85659 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85660   if test "${glibcxx_cv_WRITEV+set}" = set; then
85661   echo $ECHO_N "(cached) $ECHO_C" >&6
85662 else
85663
85664     if test x$gcc_no_link = xyes; then
85665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85667    { (exit 1); exit 1; }; }
85668 fi
85669 cat >conftest.$ac_ext <<_ACEOF
85670 /* confdefs.h.  */
85671 _ACEOF
85672 cat confdefs.h >>conftest.$ac_ext
85673 cat >>conftest.$ac_ext <<_ACEOF
85674 /* end confdefs.h.  */
85675 #include <sys/uio.h>
85676 int
85677 main ()
85678 {
85679 struct iovec iov[2];
85680        writev(0, iov, 0);
85681   ;
85682   return 0;
85683 }
85684 _ACEOF
85685 rm -f conftest.$ac_objext conftest$ac_exeext
85686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85687   (eval $ac_link) 2>conftest.er1
85688   ac_status=$?
85689   grep -v '^ *+' conftest.er1 >conftest.err
85690   rm -f conftest.er1
85691   cat conftest.err >&5
85692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693   (exit $ac_status); } &&
85694          { ac_try='test -z "$ac_c_werror_flag"
85695                          || test ! -s conftest.err'
85696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85697   (eval $ac_try) 2>&5
85698   ac_status=$?
85699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85700   (exit $ac_status); }; } &&
85701          { ac_try='test -s conftest$ac_exeext'
85702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703   (eval $ac_try) 2>&5
85704   ac_status=$?
85705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706   (exit $ac_status); }; }; then
85707   glibcxx_cv_WRITEV=yes
85708 else
85709   echo "$as_me: failed program was:" >&5
85710 sed 's/^/| /' conftest.$ac_ext >&5
85711
85712 glibcxx_cv_WRITEV=no
85713 fi
85714 rm -f conftest.err conftest.$ac_objext \
85715       conftest$ac_exeext conftest.$ac_ext
85716
85717 fi
85718
85719   if test $glibcxx_cv_WRITEV = yes; then
85720
85721 cat >>confdefs.h <<\_ACEOF
85722 #define HAVE_WRITEV 1
85723 _ACEOF
85724
85725   fi
85726   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85727 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85728
85729
85730     cat >>confdefs.h <<\_ACEOF
85731 #define HAVE_LC_MESSAGES 1
85732 _ACEOF
85733
85734
85735     cat >conftest.$ac_ext <<_ACEOF
85736 /* confdefs.h.  */
85737 _ACEOF
85738 cat confdefs.h >>conftest.$ac_ext
85739 cat >>conftest.$ac_ext <<_ACEOF
85740 /* end confdefs.h.  */
85741 #include <setjmp.h>
85742 int
85743 main ()
85744 {
85745 sigjmp_buf env;
85746        while (! sigsetjmp (env, 1))
85747          siglongjmp (env, 1);
85748
85749   ;
85750   return 0;
85751 }
85752 _ACEOF
85753 rm -f conftest.$ac_objext
85754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85755   (eval $ac_compile) 2>conftest.er1
85756   ac_status=$?
85757   grep -v '^ *+' conftest.er1 >conftest.err
85758   rm -f conftest.er1
85759   cat conftest.err >&5
85760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85761   (exit $ac_status); } &&
85762          { ac_try='test -z "$ac_c_werror_flag"
85763                          || test ! -s conftest.err'
85764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85765   (eval $ac_try) 2>&5
85766   ac_status=$?
85767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85768   (exit $ac_status); }; } &&
85769          { ac_try='test -s conftest.$ac_objext'
85770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85771   (eval $ac_try) 2>&5
85772   ac_status=$?
85773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85774   (exit $ac_status); }; }; then
85775
85776 cat >>confdefs.h <<\_ACEOF
85777 #define HAVE_SIGSETJMP 1
85778 _ACEOF
85779
85780 else
85781   echo "$as_me: failed program was:" >&5
85782 sed 's/^/| /' conftest.$ac_ext >&5
85783
85784 fi
85785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85786
85787     cat >>confdefs.h <<\_ACEOF
85788 #define HAVE_MMAP 1
85789 _ACEOF
85790
85791     ;;
85792
85793   *djgpp)
85794
85795
85796
85797
85798
85799
85800
85801
85802
85803
85804
85805
85806
85807
85808
85809
85810
85811
85812
85813
85814 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85815       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85816       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85817       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85818 do
85819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85821   echo "$as_me:$LINENO: checking for $ac_header" >&5
85822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85824   echo $ECHO_N "(cached) $ECHO_C" >&6
85825 fi
85826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85828 else
85829   # Is the header compilable?
85830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85832 cat >conftest.$ac_ext <<_ACEOF
85833 /* confdefs.h.  */
85834 _ACEOF
85835 cat confdefs.h >>conftest.$ac_ext
85836 cat >>conftest.$ac_ext <<_ACEOF
85837 /* end confdefs.h.  */
85838 $ac_includes_default
85839 #include <$ac_header>
85840 _ACEOF
85841 rm -f conftest.$ac_objext
85842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85843   (eval $ac_compile) 2>conftest.er1
85844   ac_status=$?
85845   grep -v '^ *+' conftest.er1 >conftest.err
85846   rm -f conftest.er1
85847   cat conftest.err >&5
85848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85849   (exit $ac_status); } &&
85850          { ac_try='test -z "$ac_c_werror_flag"
85851                          || test ! -s conftest.err'
85852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85853   (eval $ac_try) 2>&5
85854   ac_status=$?
85855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85856   (exit $ac_status); }; } &&
85857          { ac_try='test -s conftest.$ac_objext'
85858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85859   (eval $ac_try) 2>&5
85860   ac_status=$?
85861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85862   (exit $ac_status); }; }; then
85863   ac_header_compiler=yes
85864 else
85865   echo "$as_me: failed program was:" >&5
85866 sed 's/^/| /' conftest.$ac_ext >&5
85867
85868 ac_header_compiler=no
85869 fi
85870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85872 echo "${ECHO_T}$ac_header_compiler" >&6
85873
85874 # Is the header present?
85875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85877 cat >conftest.$ac_ext <<_ACEOF
85878 /* confdefs.h.  */
85879 _ACEOF
85880 cat confdefs.h >>conftest.$ac_ext
85881 cat >>conftest.$ac_ext <<_ACEOF
85882 /* end confdefs.h.  */
85883 #include <$ac_header>
85884 _ACEOF
85885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85886   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85887   ac_status=$?
85888   grep -v '^ *+' conftest.er1 >conftest.err
85889   rm -f conftest.er1
85890   cat conftest.err >&5
85891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85892   (exit $ac_status); } >/dev/null; then
85893   if test -s conftest.err; then
85894     ac_cpp_err=$ac_c_preproc_warn_flag
85895     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85896   else
85897     ac_cpp_err=
85898   fi
85899 else
85900   ac_cpp_err=yes
85901 fi
85902 if test -z "$ac_cpp_err"; then
85903   ac_header_preproc=yes
85904 else
85905   echo "$as_me: failed program was:" >&5
85906 sed 's/^/| /' conftest.$ac_ext >&5
85907
85908   ac_header_preproc=no
85909 fi
85910 rm -f conftest.err conftest.$ac_ext
85911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85912 echo "${ECHO_T}$ac_header_preproc" >&6
85913
85914 # So?  What about this header?
85915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85916   yes:no: )
85917     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85919     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85921     ac_header_preproc=yes
85922     ;;
85923   no:yes:* )
85924     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85926     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85927 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85928     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85930     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85931 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85932     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85934     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85936     (
85937       cat <<\_ASBOX
85938 ## ----------------------------------------- ##
85939 ## Report this to the package-unused lists.  ##
85940 ## ----------------------------------------- ##
85941 _ASBOX
85942     ) |
85943       sed "s/^/$as_me: WARNING:     /" >&2
85944     ;;
85945 esac
85946 echo "$as_me:$LINENO: checking for $ac_header" >&5
85947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85949   echo $ECHO_N "(cached) $ECHO_C" >&6
85950 else
85951   eval "$as_ac_Header=\$ac_header_preproc"
85952 fi
85953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85955
85956 fi
85957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85958   cat >>confdefs.h <<_ACEOF
85959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85960 _ACEOF
85961
85962 fi
85963
85964 done
85965
85966     # GLIBCXX_CHECK_MATH_SUPPORT
85967     cat >>confdefs.h <<\_ACEOF
85968 #define HAVE_LIBM 1
85969 _ACEOF
85970
85971     cat >>confdefs.h <<\_ACEOF
85972 #define HAVE_ISINF 1
85973 _ACEOF
85974
85975     cat >>confdefs.h <<\_ACEOF
85976 #define HAVE_ISNAN 1
85977 _ACEOF
85978
85979     cat >>confdefs.h <<\_ACEOF
85980 #define HAVE_FINITE 1
85981 _ACEOF
85982
85983     cat >>confdefs.h <<\_ACEOF
85984 #define HAVE_COPYSIGN 1
85985 _ACEOF
85986
85987     cat >>confdefs.h <<\_ACEOF
85988 #define HAVE_SINCOS 1
85989 _ACEOF
85990
85991     cat >>confdefs.h <<\_ACEOF
85992 #define HAVE_HYPOT 1
85993 _ACEOF
85994
85995     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85996     cat >>confdefs.h <<\_ACEOF
85997 #define HAVE___BUILTIN_ABS 1
85998 _ACEOF
85999
86000     cat >>confdefs.h <<\_ACEOF
86001 #define HAVE___BUILTIN_FABSF 1
86002 _ACEOF
86003
86004     cat >>confdefs.h <<\_ACEOF
86005 #define HAVE___BUILTIN_FABS 1
86006 _ACEOF
86007
86008     cat >>confdefs.h <<\_ACEOF
86009 #define HAVE___BUILTIN_FABSL 1
86010 _ACEOF
86011
86012     cat >>confdefs.h <<\_ACEOF
86013 #define HAVE___BUILTIN_LABS 1
86014 _ACEOF
86015
86016     cat >>confdefs.h <<\_ACEOF
86017 #define HAVE___BUILTIN_SQRTF 1
86018 _ACEOF
86019
86020     cat >>confdefs.h <<\_ACEOF
86021 #define HAVE___BUILTIN_SQRT 1
86022 _ACEOF
86023
86024     cat >>confdefs.h <<\_ACEOF
86025 #define HAVE___BUILTIN_SQRTL 1
86026 _ACEOF
86027
86028     cat >>confdefs.h <<\_ACEOF
86029 #define HAVE___BUILTIN_SINF 1
86030 _ACEOF
86031
86032     cat >>confdefs.h <<\_ACEOF
86033 #define HAVE___BUILTIN_SIN 1
86034 _ACEOF
86035
86036     cat >>confdefs.h <<\_ACEOF
86037 #define HAVE___BUILTIN_SINL 1
86038 _ACEOF
86039
86040     cat >>confdefs.h <<\_ACEOF
86041 #define HAVE___BUILTIN_COSF 1
86042 _ACEOF
86043
86044     cat >>confdefs.h <<\_ACEOF
86045 #define HAVE___BUILTIN_COS 1
86046 _ACEOF
86047
86048     cat >>confdefs.h <<\_ACEOF
86049 #define HAVE___BUILTIN_COSL 1
86050 _ACEOF
86051
86052     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
86053     # GLIBCXX_CHECK_STDLIB_SUPPORT
86054     cat >>confdefs.h <<\_ACEOF
86055 #define HAVE_COPYSIGN 1
86056 _ACEOF
86057
86058     cat >>confdefs.h <<\_ACEOF
86059 #define HAVE_COPYSIGNF 1
86060 _ACEOF
86061
86062     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
86063     cat >>confdefs.h <<\_ACEOF
86064 #define HAVE_S_ISREG 1
86065 _ACEOF
86066
86067     cat >>confdefs.h <<\_ACEOF
86068 #define HAVE_S_IFREG 1
86069 _ACEOF
86070
86071     cat >>confdefs.h <<\_ACEOF
86072 #define HAVE_WRITEV 1
86073 _ACEOF
86074
86075     ;;
86076
86077   *-freebsd*)
86078
86079
86080
86081
86082
86083
86084
86085
86086
86087
86088
86089
86090
86091
86092
86093
86094 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86095       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86096       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
86097       sys/time.h unistd.h
86098 do
86099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86101   echo "$as_me:$LINENO: checking for $ac_header" >&5
86102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86104   echo $ECHO_N "(cached) $ECHO_C" >&6
86105 fi
86106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86108 else
86109   # Is the header compilable?
86110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86112 cat >conftest.$ac_ext <<_ACEOF
86113 /* confdefs.h.  */
86114 _ACEOF
86115 cat confdefs.h >>conftest.$ac_ext
86116 cat >>conftest.$ac_ext <<_ACEOF
86117 /* end confdefs.h.  */
86118 $ac_includes_default
86119 #include <$ac_header>
86120 _ACEOF
86121 rm -f conftest.$ac_objext
86122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86123   (eval $ac_compile) 2>conftest.er1
86124   ac_status=$?
86125   grep -v '^ *+' conftest.er1 >conftest.err
86126   rm -f conftest.er1
86127   cat conftest.err >&5
86128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129   (exit $ac_status); } &&
86130          { ac_try='test -z "$ac_c_werror_flag"
86131                          || test ! -s conftest.err'
86132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86133   (eval $ac_try) 2>&5
86134   ac_status=$?
86135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86136   (exit $ac_status); }; } &&
86137          { ac_try='test -s conftest.$ac_objext'
86138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86139   (eval $ac_try) 2>&5
86140   ac_status=$?
86141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142   (exit $ac_status); }; }; then
86143   ac_header_compiler=yes
86144 else
86145   echo "$as_me: failed program was:" >&5
86146 sed 's/^/| /' conftest.$ac_ext >&5
86147
86148 ac_header_compiler=no
86149 fi
86150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86152 echo "${ECHO_T}$ac_header_compiler" >&6
86153
86154 # Is the header present?
86155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86157 cat >conftest.$ac_ext <<_ACEOF
86158 /* confdefs.h.  */
86159 _ACEOF
86160 cat confdefs.h >>conftest.$ac_ext
86161 cat >>conftest.$ac_ext <<_ACEOF
86162 /* end confdefs.h.  */
86163 #include <$ac_header>
86164 _ACEOF
86165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86166   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86167   ac_status=$?
86168   grep -v '^ *+' conftest.er1 >conftest.err
86169   rm -f conftest.er1
86170   cat conftest.err >&5
86171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86172   (exit $ac_status); } >/dev/null; then
86173   if test -s conftest.err; then
86174     ac_cpp_err=$ac_c_preproc_warn_flag
86175     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86176   else
86177     ac_cpp_err=
86178   fi
86179 else
86180   ac_cpp_err=yes
86181 fi
86182 if test -z "$ac_cpp_err"; then
86183   ac_header_preproc=yes
86184 else
86185   echo "$as_me: failed program was:" >&5
86186 sed 's/^/| /' conftest.$ac_ext >&5
86187
86188   ac_header_preproc=no
86189 fi
86190 rm -f conftest.err conftest.$ac_ext
86191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86192 echo "${ECHO_T}$ac_header_preproc" >&6
86193
86194 # So?  What about this header?
86195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86196   yes:no: )
86197     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86201     ac_header_preproc=yes
86202     ;;
86203   no:yes:* )
86204     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86206     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86207 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86208     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86210     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86211 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86214     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86216     (
86217       cat <<\_ASBOX
86218 ## ----------------------------------------- ##
86219 ## Report this to the package-unused lists.  ##
86220 ## ----------------------------------------- ##
86221 _ASBOX
86222     ) |
86223       sed "s/^/$as_me: WARNING:     /" >&2
86224     ;;
86225 esac
86226 echo "$as_me:$LINENO: checking for $ac_header" >&5
86227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86229   echo $ECHO_N "(cached) $ECHO_C" >&6
86230 else
86231   eval "$as_ac_Header=\$ac_header_preproc"
86232 fi
86233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86235
86236 fi
86237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86238   cat >>confdefs.h <<_ACEOF
86239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86240 _ACEOF
86241
86242 fi
86243
86244 done
86245
86246     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86247
86248
86249   # If we're not using GNU ld, then there's no point in even trying these
86250   # tests.  Check for that first.  We should have already tested for gld
86251   # by now (in libtool), but require it now just to be safe...
86252   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86253   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86254
86255
86256
86257   # The name set by libtool depends on the version of libtool.  Shame on us
86258   # for depending on an impl detail, but c'est la vie.  Older versions used
86259   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86260   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86261   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86262   # set (hence we're using an older libtool), then set it.
86263   if test x${with_gnu_ld+set} != xset; then
86264     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86265       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86266       with_gnu_ld=no
86267     else
86268       with_gnu_ld=$ac_cv_prog_gnu_ld
86269     fi
86270   fi
86271
86272   # Start by getting the version number.  I think the libtool test already
86273   # does some of this, but throws away the result.
86274   glibcxx_ld_is_gold=no
86275   if test x"$with_gnu_ld" = x"yes"; then
86276     echo "$as_me:$LINENO: checking for ld version" >&5
86277 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86278
86279     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86280       glibcxx_ld_is_gold=yes
86281     fi
86282     ldver=`$LD --version 2>/dev/null | head -1 | \
86283            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86284
86285     glibcxx_gnu_ld_version=`echo $ldver | \
86286            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86287     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86288 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86289   fi
86290
86291   # Set --gc-sections.
86292   glibcxx_have_gc_sections=no
86293   if test "$glibcxx_ld_is_gold" = "yes"; then
86294     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86295       glibcxx_have_gc_sections=yes
86296     fi
86297   else
86298     glibcxx_gcsections_min_ld=21602
86299     if test x"$with_gnu_ld" = x"yes" &&
86300         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86301       glibcxx_have_gc_sections=yes
86302     fi
86303   fi
86304   if test "$glibcxx_have_gc_sections" = "yes"; then
86305     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86306     # NB: This flag only works reliably after 2.16.1. Configure tests
86307     # for this are difficult, so hard wire a value that should work.
86308
86309     ac_test_CFLAGS="${CFLAGS+set}"
86310     ac_save_CFLAGS="$CFLAGS"
86311     CFLAGS='-Wl,--gc-sections'
86312
86313     # Check for -Wl,--gc-sections
86314     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86315 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86316     if test x$gcc_no_link = xyes; then
86317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86319    { (exit 1); exit 1; }; }
86320 fi
86321 cat >conftest.$ac_ext <<_ACEOF
86322 /* confdefs.h.  */
86323 _ACEOF
86324 cat confdefs.h >>conftest.$ac_ext
86325 cat >>conftest.$ac_ext <<_ACEOF
86326 /* end confdefs.h.  */
86327  int one(void) { return 1; }
86328      int two(void) { return 2; }
86329
86330 int
86331 main ()
86332 {
86333  two();
86334   ;
86335   return 0;
86336 }
86337 _ACEOF
86338 rm -f conftest.$ac_objext conftest$ac_exeext
86339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86340   (eval $ac_link) 2>conftest.er1
86341   ac_status=$?
86342   grep -v '^ *+' conftest.er1 >conftest.err
86343   rm -f conftest.er1
86344   cat conftest.err >&5
86345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86346   (exit $ac_status); } &&
86347          { ac_try='test -z "$ac_c_werror_flag"
86348                          || test ! -s conftest.err'
86349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86350   (eval $ac_try) 2>&5
86351   ac_status=$?
86352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86353   (exit $ac_status); }; } &&
86354          { ac_try='test -s conftest$ac_exeext'
86355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86356   (eval $ac_try) 2>&5
86357   ac_status=$?
86358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86359   (exit $ac_status); }; }; then
86360   ac_gcsections=yes
86361 else
86362   echo "$as_me: failed program was:" >&5
86363 sed 's/^/| /' conftest.$ac_ext >&5
86364
86365 ac_gcsections=no
86366 fi
86367 rm -f conftest.err conftest.$ac_objext \
86368       conftest$ac_exeext conftest.$ac_ext
86369     if test "$ac_gcsections" = "yes"; then
86370       rm -f conftest.c
86371       touch conftest.c
86372       if $CC -c conftest.c; then
86373         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86374            grep "Warning: gc-sections option ignored" > /dev/null; then
86375           ac_gcsections=no
86376         fi
86377       fi
86378       rm -f conftest.c conftest.o conftest
86379     fi
86380     if test "$ac_gcsections" = "yes"; then
86381       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86382     fi
86383     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86384 echo "${ECHO_T}$ac_gcsections" >&6
86385
86386     if test "$ac_test_CFLAGS" = set; then
86387       CFLAGS="$ac_save_CFLAGS"
86388     else
86389       # this is the suspicious part
86390       CFLAGS=''
86391     fi
86392   fi
86393
86394   # Set -z,relro.
86395   # Note this is only for shared objects.
86396   ac_ld_relro=no
86397   if test x"$with_gnu_ld" = x"yes"; then
86398     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86399 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86400     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86401     if test -n "$cxx_z_relo"; then
86402       OPT_LDFLAGS="-Wl,-z,relro"
86403       ac_ld_relro=yes
86404     fi
86405     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86406 echo "${ECHO_T}$ac_ld_relro" >&6
86407   fi
86408
86409   # Set linker optimization flags.
86410   if test x"$with_gnu_ld" = x"yes"; then
86411     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86412   fi
86413
86414
86415
86416
86417
86418
86419 echo "$as_me:$LINENO: checking for main in -lm" >&5
86420 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86421 if test "${ac_cv_lib_m_main+set}" = set; then
86422   echo $ECHO_N "(cached) $ECHO_C" >&6
86423 else
86424   ac_check_lib_save_LIBS=$LIBS
86425 LIBS="-lm  $LIBS"
86426 if test x$gcc_no_link = xyes; then
86427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86429    { (exit 1); exit 1; }; }
86430 fi
86431 cat >conftest.$ac_ext <<_ACEOF
86432 /* confdefs.h.  */
86433 _ACEOF
86434 cat confdefs.h >>conftest.$ac_ext
86435 cat >>conftest.$ac_ext <<_ACEOF
86436 /* end confdefs.h.  */
86437
86438
86439 int
86440 main ()
86441 {
86442 main ();
86443   ;
86444   return 0;
86445 }
86446 _ACEOF
86447 rm -f conftest.$ac_objext conftest$ac_exeext
86448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86449   (eval $ac_link) 2>conftest.er1
86450   ac_status=$?
86451   grep -v '^ *+' conftest.er1 >conftest.err
86452   rm -f conftest.er1
86453   cat conftest.err >&5
86454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86455   (exit $ac_status); } &&
86456          { ac_try='test -z "$ac_c_werror_flag"
86457                          || test ! -s conftest.err'
86458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86459   (eval $ac_try) 2>&5
86460   ac_status=$?
86461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86462   (exit $ac_status); }; } &&
86463          { ac_try='test -s conftest$ac_exeext'
86464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86465   (eval $ac_try) 2>&5
86466   ac_status=$?
86467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86468   (exit $ac_status); }; }; then
86469   ac_cv_lib_m_main=yes
86470 else
86471   echo "$as_me: failed program was:" >&5
86472 sed 's/^/| /' conftest.$ac_ext >&5
86473
86474 ac_cv_lib_m_main=no
86475 fi
86476 rm -f conftest.err conftest.$ac_objext \
86477       conftest$ac_exeext conftest.$ac_ext
86478 LIBS=$ac_check_lib_save_LIBS
86479 fi
86480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86481 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86482 if test $ac_cv_lib_m_main = yes; then
86483   cat >>confdefs.h <<_ACEOF
86484 #define HAVE_LIBM 1
86485 _ACEOF
86486
86487   LIBS="-lm $LIBS"
86488
86489 fi
86490
86491
86492 for ac_func in copysignf
86493 do
86494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86495 echo "$as_me:$LINENO: checking for $ac_func" >&5
86496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86497 if eval "test \"\${$as_ac_var+set}\" = set"; then
86498   echo $ECHO_N "(cached) $ECHO_C" >&6
86499 else
86500   if test x$gcc_no_link = xyes; then
86501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86503    { (exit 1); exit 1; }; }
86504 fi
86505 cat >conftest.$ac_ext <<_ACEOF
86506 /* confdefs.h.  */
86507 _ACEOF
86508 cat confdefs.h >>conftest.$ac_ext
86509 cat >>conftest.$ac_ext <<_ACEOF
86510 /* end confdefs.h.  */
86511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86513 #define $ac_func innocuous_$ac_func
86514
86515 /* System header to define __stub macros and hopefully few prototypes,
86516     which can conflict with char $ac_func (); below.
86517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86518     <limits.h> exists even on freestanding compilers.  */
86519
86520 #ifdef __STDC__
86521 # include <limits.h>
86522 #else
86523 # include <assert.h>
86524 #endif
86525
86526 #undef $ac_func
86527
86528 /* Override any gcc2 internal prototype to avoid an error.  */
86529 #ifdef __cplusplus
86530 extern "C"
86531 {
86532 #endif
86533 /* We use char because int might match the return type of a gcc2
86534    builtin and then its argument prototype would still apply.  */
86535 char $ac_func ();
86536 /* The GNU C library defines this for functions which it implements
86537     to always fail with ENOSYS.  Some functions are actually named
86538     something starting with __ and the normal name is an alias.  */
86539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86540 choke me
86541 #else
86542 char (*f) () = $ac_func;
86543 #endif
86544 #ifdef __cplusplus
86545 }
86546 #endif
86547
86548 int
86549 main ()
86550 {
86551 return f != $ac_func;
86552   ;
86553   return 0;
86554 }
86555 _ACEOF
86556 rm -f conftest.$ac_objext conftest$ac_exeext
86557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86558   (eval $ac_link) 2>conftest.er1
86559   ac_status=$?
86560   grep -v '^ *+' conftest.er1 >conftest.err
86561   rm -f conftest.er1
86562   cat conftest.err >&5
86563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86564   (exit $ac_status); } &&
86565          { ac_try='test -z "$ac_c_werror_flag"
86566                          || test ! -s conftest.err'
86567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86568   (eval $ac_try) 2>&5
86569   ac_status=$?
86570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571   (exit $ac_status); }; } &&
86572          { ac_try='test -s conftest$ac_exeext'
86573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86574   (eval $ac_try) 2>&5
86575   ac_status=$?
86576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86577   (exit $ac_status); }; }; then
86578   eval "$as_ac_var=yes"
86579 else
86580   echo "$as_me: failed program was:" >&5
86581 sed 's/^/| /' conftest.$ac_ext >&5
86582
86583 eval "$as_ac_var=no"
86584 fi
86585 rm -f conftest.err conftest.$ac_objext \
86586       conftest$ac_exeext conftest.$ac_ext
86587 fi
86588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86590 if test `eval echo '${'$as_ac_var'}'` = yes; then
86591   cat >>confdefs.h <<_ACEOF
86592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86593 _ACEOF
86594
86595 else
86596   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86597 fi
86598 done
86599
86600
86601
86602 for ac_func in __signbit
86603 do
86604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86605 echo "$as_me:$LINENO: checking for $ac_func" >&5
86606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86607 if eval "test \"\${$as_ac_var+set}\" = set"; then
86608   echo $ECHO_N "(cached) $ECHO_C" >&6
86609 else
86610   if test x$gcc_no_link = xyes; then
86611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86613    { (exit 1); exit 1; }; }
86614 fi
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h.  */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h.  */
86621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86623 #define $ac_func innocuous_$ac_func
86624
86625 /* System header to define __stub macros and hopefully few prototypes,
86626     which can conflict with char $ac_func (); below.
86627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86628     <limits.h> exists even on freestanding compilers.  */
86629
86630 #ifdef __STDC__
86631 # include <limits.h>
86632 #else
86633 # include <assert.h>
86634 #endif
86635
86636 #undef $ac_func
86637
86638 /* Override any gcc2 internal prototype to avoid an error.  */
86639 #ifdef __cplusplus
86640 extern "C"
86641 {
86642 #endif
86643 /* We use char because int might match the return type of a gcc2
86644    builtin and then its argument prototype would still apply.  */
86645 char $ac_func ();
86646 /* The GNU C library defines this for functions which it implements
86647     to always fail with ENOSYS.  Some functions are actually named
86648     something starting with __ and the normal name is an alias.  */
86649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86650 choke me
86651 #else
86652 char (*f) () = $ac_func;
86653 #endif
86654 #ifdef __cplusplus
86655 }
86656 #endif
86657
86658 int
86659 main ()
86660 {
86661 return f != $ac_func;
86662   ;
86663   return 0;
86664 }
86665 _ACEOF
86666 rm -f conftest.$ac_objext conftest$ac_exeext
86667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86668   (eval $ac_link) 2>conftest.er1
86669   ac_status=$?
86670   grep -v '^ *+' conftest.er1 >conftest.err
86671   rm -f conftest.er1
86672   cat conftest.err >&5
86673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86674   (exit $ac_status); } &&
86675          { ac_try='test -z "$ac_c_werror_flag"
86676                          || test ! -s conftest.err'
86677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86678   (eval $ac_try) 2>&5
86679   ac_status=$?
86680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86681   (exit $ac_status); }; } &&
86682          { ac_try='test -s conftest$ac_exeext'
86683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86684   (eval $ac_try) 2>&5
86685   ac_status=$?
86686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86687   (exit $ac_status); }; }; then
86688   eval "$as_ac_var=yes"
86689 else
86690   echo "$as_me: failed program was:" >&5
86691 sed 's/^/| /' conftest.$ac_ext >&5
86692
86693 eval "$as_ac_var=no"
86694 fi
86695 rm -f conftest.err conftest.$ac_objext \
86696       conftest$ac_exeext conftest.$ac_ext
86697 fi
86698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86700 if test `eval echo '${'$as_ac_var'}'` = yes; then
86701   cat >>confdefs.h <<_ACEOF
86702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86703 _ACEOF
86704
86705 else
86706   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86707 fi
86708 done
86709
86710
86711
86712 for ac_func in __signbitf
86713 do
86714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86715 echo "$as_me:$LINENO: checking for $ac_func" >&5
86716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86717 if eval "test \"\${$as_ac_var+set}\" = set"; then
86718   echo $ECHO_N "(cached) $ECHO_C" >&6
86719 else
86720   if test x$gcc_no_link = xyes; then
86721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86723    { (exit 1); exit 1; }; }
86724 fi
86725 cat >conftest.$ac_ext <<_ACEOF
86726 /* confdefs.h.  */
86727 _ACEOF
86728 cat confdefs.h >>conftest.$ac_ext
86729 cat >>conftest.$ac_ext <<_ACEOF
86730 /* end confdefs.h.  */
86731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86733 #define $ac_func innocuous_$ac_func
86734
86735 /* System header to define __stub macros and hopefully few prototypes,
86736     which can conflict with char $ac_func (); below.
86737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86738     <limits.h> exists even on freestanding compilers.  */
86739
86740 #ifdef __STDC__
86741 # include <limits.h>
86742 #else
86743 # include <assert.h>
86744 #endif
86745
86746 #undef $ac_func
86747
86748 /* Override any gcc2 internal prototype to avoid an error.  */
86749 #ifdef __cplusplus
86750 extern "C"
86751 {
86752 #endif
86753 /* We use char because int might match the return type of a gcc2
86754    builtin and then its argument prototype would still apply.  */
86755 char $ac_func ();
86756 /* The GNU C library defines this for functions which it implements
86757     to always fail with ENOSYS.  Some functions are actually named
86758     something starting with __ and the normal name is an alias.  */
86759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86760 choke me
86761 #else
86762 char (*f) () = $ac_func;
86763 #endif
86764 #ifdef __cplusplus
86765 }
86766 #endif
86767
86768 int
86769 main ()
86770 {
86771 return f != $ac_func;
86772   ;
86773   return 0;
86774 }
86775 _ACEOF
86776 rm -f conftest.$ac_objext conftest$ac_exeext
86777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86778   (eval $ac_link) 2>conftest.er1
86779   ac_status=$?
86780   grep -v '^ *+' conftest.er1 >conftest.err
86781   rm -f conftest.er1
86782   cat conftest.err >&5
86783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86784   (exit $ac_status); } &&
86785          { ac_try='test -z "$ac_c_werror_flag"
86786                          || test ! -s conftest.err'
86787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86788   (eval $ac_try) 2>&5
86789   ac_status=$?
86790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86791   (exit $ac_status); }; } &&
86792          { ac_try='test -s conftest$ac_exeext'
86793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86794   (eval $ac_try) 2>&5
86795   ac_status=$?
86796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86797   (exit $ac_status); }; }; then
86798   eval "$as_ac_var=yes"
86799 else
86800   echo "$as_me: failed program was:" >&5
86801 sed 's/^/| /' conftest.$ac_ext >&5
86802
86803 eval "$as_ac_var=no"
86804 fi
86805 rm -f conftest.err conftest.$ac_objext \
86806       conftest$ac_exeext conftest.$ac_ext
86807 fi
86808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86810 if test `eval echo '${'$as_ac_var'}'` = yes; then
86811   cat >>confdefs.h <<_ACEOF
86812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86813 _ACEOF
86814
86815 else
86816   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86817 fi
86818 done
86819
86820
86821           if test x$ac_cv_func_copysignl = x"yes"; then
86822
86823 for ac_func in __signbitl
86824 do
86825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86826 echo "$as_me:$LINENO: checking for $ac_func" >&5
86827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86828 if eval "test \"\${$as_ac_var+set}\" = set"; then
86829   echo $ECHO_N "(cached) $ECHO_C" >&6
86830 else
86831   if test x$gcc_no_link = xyes; then
86832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86834    { (exit 1); exit 1; }; }
86835 fi
86836 cat >conftest.$ac_ext <<_ACEOF
86837 /* confdefs.h.  */
86838 _ACEOF
86839 cat confdefs.h >>conftest.$ac_ext
86840 cat >>conftest.$ac_ext <<_ACEOF
86841 /* end confdefs.h.  */
86842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86844 #define $ac_func innocuous_$ac_func
86845
86846 /* System header to define __stub macros and hopefully few prototypes,
86847     which can conflict with char $ac_func (); below.
86848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86849     <limits.h> exists even on freestanding compilers.  */
86850
86851 #ifdef __STDC__
86852 # include <limits.h>
86853 #else
86854 # include <assert.h>
86855 #endif
86856
86857 #undef $ac_func
86858
86859 /* Override any gcc2 internal prototype to avoid an error.  */
86860 #ifdef __cplusplus
86861 extern "C"
86862 {
86863 #endif
86864 /* We use char because int might match the return type of a gcc2
86865    builtin and then its argument prototype would still apply.  */
86866 char $ac_func ();
86867 /* The GNU C library defines this for functions which it implements
86868     to always fail with ENOSYS.  Some functions are actually named
86869     something starting with __ and the normal name is an alias.  */
86870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86871 choke me
86872 #else
86873 char (*f) () = $ac_func;
86874 #endif
86875 #ifdef __cplusplus
86876 }
86877 #endif
86878
86879 int
86880 main ()
86881 {
86882 return f != $ac_func;
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   eval "$as_ac_var=yes"
86910 else
86911   echo "$as_me: failed program was:" >&5
86912 sed 's/^/| /' conftest.$ac_ext >&5
86913
86914 eval "$as_ac_var=no"
86915 fi
86916 rm -f conftest.err conftest.$ac_objext \
86917       conftest$ac_exeext conftest.$ac_ext
86918 fi
86919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86921 if test `eval echo '${'$as_ac_var'}'` = yes; then
86922   cat >>confdefs.h <<_ACEOF
86923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86924 _ACEOF
86925
86926 else
86927   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86928 fi
86929 done
86930
86931   fi
86932
86933   # Used in libmath/Makefile.am.
86934   if test -n "$LIBMATHOBJS"; then
86935     need_libmath=yes
86936   fi
86937
86938
86939     cat >>confdefs.h <<\_ACEOF
86940 #define HAVE_LC_MESSAGES 1
86941 _ACEOF
86942
86943     cat >>confdefs.h <<\_ACEOF
86944 #define HAVE_GETPAGESIZE 1
86945 _ACEOF
86946
86947     cat >>confdefs.h <<\_ACEOF
86948 #define HAVE_SETENV 1
86949 _ACEOF
86950
86951     cat >>confdefs.h <<\_ACEOF
86952 #define HAVE_SIGSETJMP 1
86953 _ACEOF
86954
86955     cat >>confdefs.h <<\_ACEOF
86956 #define HAVE_COPYSIGN 1
86957 _ACEOF
86958
86959     cat >>confdefs.h <<\_ACEOF
86960 #define HAVE_COPYSIGNF 1
86961 _ACEOF
86962
86963     cat >>confdefs.h <<\_ACEOF
86964 #define HAVE_FINITEF 1
86965 _ACEOF
86966
86967     cat >>confdefs.h <<\_ACEOF
86968 #define HAVE_FINITE 1
86969 _ACEOF
86970
86971     cat >>confdefs.h <<\_ACEOF
86972 #define HAVE_FREXPF 1
86973 _ACEOF
86974
86975     cat >>confdefs.h <<\_ACEOF
86976 #define HAVE_HYPOT 1
86977 _ACEOF
86978
86979     cat >>confdefs.h <<\_ACEOF
86980 #define HAVE_HYPOTF 1
86981 _ACEOF
86982
86983     cat >>confdefs.h <<\_ACEOF
86984 #define HAVE_ISINF 1
86985 _ACEOF
86986
86987     cat >>confdefs.h <<\_ACEOF
86988 #define HAVE_ISNAN 1
86989 _ACEOF
86990
86991     cat >>confdefs.h <<\_ACEOF
86992 #define HAVE_ISNANF 1
86993 _ACEOF
86994
86995
86996     cat >>confdefs.h <<\_ACEOF
86997 #define HAVE_MMAP 1
86998 _ACEOF
86999
87000     cat >>confdefs.h <<\_ACEOF
87001 #define HAVE_ACOSF 1
87002 _ACEOF
87003
87004     cat >>confdefs.h <<\_ACEOF
87005 #define HAVE_ASINF 1
87006 _ACEOF
87007
87008     cat >>confdefs.h <<\_ACEOF
87009 #define HAVE_ATAN2F 1
87010 _ACEOF
87011
87012     cat >>confdefs.h <<\_ACEOF
87013 #define HAVE_ATANF 1
87014 _ACEOF
87015
87016     cat >>confdefs.h <<\_ACEOF
87017 #define HAVE_CEILF 1
87018 _ACEOF
87019
87020     cat >>confdefs.h <<\_ACEOF
87021 #define HAVE_COPYSIGN 1
87022 _ACEOF
87023
87024     cat >>confdefs.h <<\_ACEOF
87025 #define HAVE_COPYSIGNF 1
87026 _ACEOF
87027
87028     cat >>confdefs.h <<\_ACEOF
87029 #define HAVE_COSF 1
87030 _ACEOF
87031
87032     cat >>confdefs.h <<\_ACEOF
87033 #define HAVE_COSHF 1
87034 _ACEOF
87035
87036     cat >>confdefs.h <<\_ACEOF
87037 #define HAVE_EXPF 1
87038 _ACEOF
87039
87040     cat >>confdefs.h <<\_ACEOF
87041 #define HAVE_FABSF 1
87042 _ACEOF
87043
87044     cat >>confdefs.h <<\_ACEOF
87045 #define HAVE_FLOORF 1
87046 _ACEOF
87047
87048     cat >>confdefs.h <<\_ACEOF
87049 #define HAVE_FMODF 1
87050 _ACEOF
87051
87052     cat >>confdefs.h <<\_ACEOF
87053 #define HAVE_FREXPF 1
87054 _ACEOF
87055
87056     cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_LDEXPF 1
87058 _ACEOF
87059
87060     cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_LOG10F 1
87062 _ACEOF
87063
87064     cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_LOGF 1
87066 _ACEOF
87067
87068     cat >>confdefs.h <<\_ACEOF
87069 #define HAVE_MODFF 1
87070 _ACEOF
87071
87072     cat >>confdefs.h <<\_ACEOF
87073 #define HAVE_POWF 1
87074 _ACEOF
87075
87076     cat >>confdefs.h <<\_ACEOF
87077 #define HAVE_SINF 1
87078 _ACEOF
87079
87080     cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_SINHF 1
87082 _ACEOF
87083
87084     cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_SQRTF 1
87086 _ACEOF
87087
87088     cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_TANF 1
87090 _ACEOF
87091
87092     cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_TANHF 1
87094 _ACEOF
87095
87096     if test x"long_double_math_on_this_cpu" = x"yes"; then
87097       cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_FINITEL 1
87099 _ACEOF
87100
87101       cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISINFL 1
87103 _ACEOF
87104
87105       cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_ISNANL 1
87107 _ACEOF
87108
87109     fi
87110     ;;
87111   *-hpux*)
87112
87113
87114
87115
87116
87117
87118
87119
87120
87121
87122
87123
87124 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87125       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87126       fp.h locale.h float.h inttypes.h
87127 do
87128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87130   echo "$as_me:$LINENO: checking for $ac_header" >&5
87131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87133   echo $ECHO_N "(cached) $ECHO_C" >&6
87134 fi
87135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87137 else
87138   # Is the header compilable?
87139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87141 cat >conftest.$ac_ext <<_ACEOF
87142 /* confdefs.h.  */
87143 _ACEOF
87144 cat confdefs.h >>conftest.$ac_ext
87145 cat >>conftest.$ac_ext <<_ACEOF
87146 /* end confdefs.h.  */
87147 $ac_includes_default
87148 #include <$ac_header>
87149 _ACEOF
87150 rm -f conftest.$ac_objext
87151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87152   (eval $ac_compile) 2>conftest.er1
87153   ac_status=$?
87154   grep -v '^ *+' conftest.er1 >conftest.err
87155   rm -f conftest.er1
87156   cat conftest.err >&5
87157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87158   (exit $ac_status); } &&
87159          { ac_try='test -z "$ac_c_werror_flag"
87160                          || test ! -s conftest.err'
87161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87162   (eval $ac_try) 2>&5
87163   ac_status=$?
87164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87165   (exit $ac_status); }; } &&
87166          { ac_try='test -s conftest.$ac_objext'
87167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87168   (eval $ac_try) 2>&5
87169   ac_status=$?
87170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87171   (exit $ac_status); }; }; then
87172   ac_header_compiler=yes
87173 else
87174   echo "$as_me: failed program was:" >&5
87175 sed 's/^/| /' conftest.$ac_ext >&5
87176
87177 ac_header_compiler=no
87178 fi
87179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87181 echo "${ECHO_T}$ac_header_compiler" >&6
87182
87183 # Is the header present?
87184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87186 cat >conftest.$ac_ext <<_ACEOF
87187 /* confdefs.h.  */
87188 _ACEOF
87189 cat confdefs.h >>conftest.$ac_ext
87190 cat >>conftest.$ac_ext <<_ACEOF
87191 /* end confdefs.h.  */
87192 #include <$ac_header>
87193 _ACEOF
87194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87195   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87196   ac_status=$?
87197   grep -v '^ *+' conftest.er1 >conftest.err
87198   rm -f conftest.er1
87199   cat conftest.err >&5
87200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201   (exit $ac_status); } >/dev/null; then
87202   if test -s conftest.err; then
87203     ac_cpp_err=$ac_c_preproc_warn_flag
87204     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87205   else
87206     ac_cpp_err=
87207   fi
87208 else
87209   ac_cpp_err=yes
87210 fi
87211 if test -z "$ac_cpp_err"; then
87212   ac_header_preproc=yes
87213 else
87214   echo "$as_me: failed program was:" >&5
87215 sed 's/^/| /' conftest.$ac_ext >&5
87216
87217   ac_header_preproc=no
87218 fi
87219 rm -f conftest.err conftest.$ac_ext
87220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87221 echo "${ECHO_T}$ac_header_preproc" >&6
87222
87223 # So?  What about this header?
87224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87225   yes:no: )
87226     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87230     ac_header_preproc=yes
87231     ;;
87232   no:yes:* )
87233     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87235     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87236 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87237     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87239     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87240 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87241     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87243     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87245     (
87246       cat <<\_ASBOX
87247 ## ----------------------------------------- ##
87248 ## Report this to the package-unused lists.  ##
87249 ## ----------------------------------------- ##
87250 _ASBOX
87251     ) |
87252       sed "s/^/$as_me: WARNING:     /" >&2
87253     ;;
87254 esac
87255 echo "$as_me:$LINENO: checking for $ac_header" >&5
87256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87258   echo $ECHO_N "(cached) $ECHO_C" >&6
87259 else
87260   eval "$as_ac_Header=\$ac_header_preproc"
87261 fi
87262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87264
87265 fi
87266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87267   cat >>confdefs.h <<_ACEOF
87268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87269 _ACEOF
87270
87271 fi
87272
87273 done
87274
87275     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87276
87277
87278   # If we're not using GNU ld, then there's no point in even trying these
87279   # tests.  Check for that first.  We should have already tested for gld
87280   # by now (in libtool), but require it now just to be safe...
87281   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87282   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87283
87284
87285
87286   # The name set by libtool depends on the version of libtool.  Shame on us
87287   # for depending on an impl detail, but c'est la vie.  Older versions used
87288   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87289   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87290   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87291   # set (hence we're using an older libtool), then set it.
87292   if test x${with_gnu_ld+set} != xset; then
87293     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87294       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87295       with_gnu_ld=no
87296     else
87297       with_gnu_ld=$ac_cv_prog_gnu_ld
87298     fi
87299   fi
87300
87301   # Start by getting the version number.  I think the libtool test already
87302   # does some of this, but throws away the result.
87303   glibcxx_ld_is_gold=no
87304   if test x"$with_gnu_ld" = x"yes"; then
87305     echo "$as_me:$LINENO: checking for ld version" >&5
87306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87307
87308     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87309       glibcxx_ld_is_gold=yes
87310     fi
87311     ldver=`$LD --version 2>/dev/null | head -1 | \
87312            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87313
87314     glibcxx_gnu_ld_version=`echo $ldver | \
87315            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87316     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87317 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87318   fi
87319
87320   # Set --gc-sections.
87321   glibcxx_have_gc_sections=no
87322   if test "$glibcxx_ld_is_gold" = "yes"; then
87323     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87324       glibcxx_have_gc_sections=yes
87325     fi
87326   else
87327     glibcxx_gcsections_min_ld=21602
87328     if test x"$with_gnu_ld" = x"yes" &&
87329         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87330       glibcxx_have_gc_sections=yes
87331     fi
87332   fi
87333   if test "$glibcxx_have_gc_sections" = "yes"; then
87334     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87335     # NB: This flag only works reliably after 2.16.1. Configure tests
87336     # for this are difficult, so hard wire a value that should work.
87337
87338     ac_test_CFLAGS="${CFLAGS+set}"
87339     ac_save_CFLAGS="$CFLAGS"
87340     CFLAGS='-Wl,--gc-sections'
87341
87342     # Check for -Wl,--gc-sections
87343     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87345     if test x$gcc_no_link = xyes; then
87346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87348    { (exit 1); exit 1; }; }
87349 fi
87350 cat >conftest.$ac_ext <<_ACEOF
87351 /* confdefs.h.  */
87352 _ACEOF
87353 cat confdefs.h >>conftest.$ac_ext
87354 cat >>conftest.$ac_ext <<_ACEOF
87355 /* end confdefs.h.  */
87356  int one(void) { return 1; }
87357      int two(void) { return 2; }
87358
87359 int
87360 main ()
87361 {
87362  two();
87363   ;
87364   return 0;
87365 }
87366 _ACEOF
87367 rm -f conftest.$ac_objext conftest$ac_exeext
87368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87369   (eval $ac_link) 2>conftest.er1
87370   ac_status=$?
87371   grep -v '^ *+' conftest.er1 >conftest.err
87372   rm -f conftest.er1
87373   cat conftest.err >&5
87374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375   (exit $ac_status); } &&
87376          { ac_try='test -z "$ac_c_werror_flag"
87377                          || test ! -s conftest.err'
87378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87379   (eval $ac_try) 2>&5
87380   ac_status=$?
87381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87382   (exit $ac_status); }; } &&
87383          { ac_try='test -s conftest$ac_exeext'
87384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87385   (eval $ac_try) 2>&5
87386   ac_status=$?
87387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388   (exit $ac_status); }; }; then
87389   ac_gcsections=yes
87390 else
87391   echo "$as_me: failed program was:" >&5
87392 sed 's/^/| /' conftest.$ac_ext >&5
87393
87394 ac_gcsections=no
87395 fi
87396 rm -f conftest.err conftest.$ac_objext \
87397       conftest$ac_exeext conftest.$ac_ext
87398     if test "$ac_gcsections" = "yes"; then
87399       rm -f conftest.c
87400       touch conftest.c
87401       if $CC -c conftest.c; then
87402         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87403            grep "Warning: gc-sections option ignored" > /dev/null; then
87404           ac_gcsections=no
87405         fi
87406       fi
87407       rm -f conftest.c conftest.o conftest
87408     fi
87409     if test "$ac_gcsections" = "yes"; then
87410       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87411     fi
87412     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87413 echo "${ECHO_T}$ac_gcsections" >&6
87414
87415     if test "$ac_test_CFLAGS" = set; then
87416       CFLAGS="$ac_save_CFLAGS"
87417     else
87418       # this is the suspicious part
87419       CFLAGS=''
87420     fi
87421   fi
87422
87423   # Set -z,relro.
87424   # Note this is only for shared objects.
87425   ac_ld_relro=no
87426   if test x"$with_gnu_ld" = x"yes"; then
87427     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87428 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87429     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87430     if test -n "$cxx_z_relo"; then
87431       OPT_LDFLAGS="-Wl,-z,relro"
87432       ac_ld_relro=yes
87433     fi
87434     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87435 echo "${ECHO_T}$ac_ld_relro" >&6
87436   fi
87437
87438   # Set linker optimization flags.
87439   if test x"$with_gnu_ld" = x"yes"; then
87440     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87441   fi
87442
87443
87444
87445
87446
87447
87448 echo "$as_me:$LINENO: checking for main in -lm" >&5
87449 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87450 if test "${ac_cv_lib_m_main+set}" = set; then
87451   echo $ECHO_N "(cached) $ECHO_C" >&6
87452 else
87453   ac_check_lib_save_LIBS=$LIBS
87454 LIBS="-lm  $LIBS"
87455 if test x$gcc_no_link = xyes; then
87456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87458    { (exit 1); exit 1; }; }
87459 fi
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
87467
87468 int
87469 main ()
87470 {
87471 main ();
87472   ;
87473   return 0;
87474 }
87475 _ACEOF
87476 rm -f conftest.$ac_objext conftest$ac_exeext
87477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87478   (eval $ac_link) 2>conftest.er1
87479   ac_status=$?
87480   grep -v '^ *+' conftest.er1 >conftest.err
87481   rm -f conftest.er1
87482   cat conftest.err >&5
87483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87484   (exit $ac_status); } &&
87485          { ac_try='test -z "$ac_c_werror_flag"
87486                          || test ! -s conftest.err'
87487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87488   (eval $ac_try) 2>&5
87489   ac_status=$?
87490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87491   (exit $ac_status); }; } &&
87492          { ac_try='test -s conftest$ac_exeext'
87493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87494   (eval $ac_try) 2>&5
87495   ac_status=$?
87496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87497   (exit $ac_status); }; }; then
87498   ac_cv_lib_m_main=yes
87499 else
87500   echo "$as_me: failed program was:" >&5
87501 sed 's/^/| /' conftest.$ac_ext >&5
87502
87503 ac_cv_lib_m_main=no
87504 fi
87505 rm -f conftest.err conftest.$ac_objext \
87506       conftest$ac_exeext conftest.$ac_ext
87507 LIBS=$ac_check_lib_save_LIBS
87508 fi
87509 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87510 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87511 if test $ac_cv_lib_m_main = yes; then
87512   cat >>confdefs.h <<_ACEOF
87513 #define HAVE_LIBM 1
87514 _ACEOF
87515
87516   LIBS="-lm $LIBS"
87517
87518 fi
87519
87520
87521 for ac_func in copysignf
87522 do
87523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87524 echo "$as_me:$LINENO: checking for $ac_func" >&5
87525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87526 if eval "test \"\${$as_ac_var+set}\" = set"; then
87527   echo $ECHO_N "(cached) $ECHO_C" >&6
87528 else
87529   if test x$gcc_no_link = xyes; then
87530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87532    { (exit 1); exit 1; }; }
87533 fi
87534 cat >conftest.$ac_ext <<_ACEOF
87535 /* confdefs.h.  */
87536 _ACEOF
87537 cat confdefs.h >>conftest.$ac_ext
87538 cat >>conftest.$ac_ext <<_ACEOF
87539 /* end confdefs.h.  */
87540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87542 #define $ac_func innocuous_$ac_func
87543
87544 /* System header to define __stub macros and hopefully few prototypes,
87545     which can conflict with char $ac_func (); below.
87546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87547     <limits.h> exists even on freestanding compilers.  */
87548
87549 #ifdef __STDC__
87550 # include <limits.h>
87551 #else
87552 # include <assert.h>
87553 #endif
87554
87555 #undef $ac_func
87556
87557 /* Override any gcc2 internal prototype to avoid an error.  */
87558 #ifdef __cplusplus
87559 extern "C"
87560 {
87561 #endif
87562 /* We use char because int might match the return type of a gcc2
87563    builtin and then its argument prototype would still apply.  */
87564 char $ac_func ();
87565 /* The GNU C library defines this for functions which it implements
87566     to always fail with ENOSYS.  Some functions are actually named
87567     something starting with __ and the normal name is an alias.  */
87568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87569 choke me
87570 #else
87571 char (*f) () = $ac_func;
87572 #endif
87573 #ifdef __cplusplus
87574 }
87575 #endif
87576
87577 int
87578 main ()
87579 {
87580 return f != $ac_func;
87581   ;
87582   return 0;
87583 }
87584 _ACEOF
87585 rm -f conftest.$ac_objext conftest$ac_exeext
87586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87587   (eval $ac_link) 2>conftest.er1
87588   ac_status=$?
87589   grep -v '^ *+' conftest.er1 >conftest.err
87590   rm -f conftest.er1
87591   cat conftest.err >&5
87592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87593   (exit $ac_status); } &&
87594          { ac_try='test -z "$ac_c_werror_flag"
87595                          || test ! -s conftest.err'
87596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87597   (eval $ac_try) 2>&5
87598   ac_status=$?
87599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87600   (exit $ac_status); }; } &&
87601          { ac_try='test -s conftest$ac_exeext'
87602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87603   (eval $ac_try) 2>&5
87604   ac_status=$?
87605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87606   (exit $ac_status); }; }; then
87607   eval "$as_ac_var=yes"
87608 else
87609   echo "$as_me: failed program was:" >&5
87610 sed 's/^/| /' conftest.$ac_ext >&5
87611
87612 eval "$as_ac_var=no"
87613 fi
87614 rm -f conftest.err conftest.$ac_objext \
87615       conftest$ac_exeext conftest.$ac_ext
87616 fi
87617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87619 if test `eval echo '${'$as_ac_var'}'` = yes; then
87620   cat >>confdefs.h <<_ACEOF
87621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87622 _ACEOF
87623
87624 else
87625   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87626 fi
87627 done
87628
87629
87630
87631 for ac_func in __signbit
87632 do
87633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87634 echo "$as_me:$LINENO: checking for $ac_func" >&5
87635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87636 if eval "test \"\${$as_ac_var+set}\" = set"; then
87637   echo $ECHO_N "(cached) $ECHO_C" >&6
87638 else
87639   if test x$gcc_no_link = xyes; then
87640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87642    { (exit 1); exit 1; }; }
87643 fi
87644 cat >conftest.$ac_ext <<_ACEOF
87645 /* confdefs.h.  */
87646 _ACEOF
87647 cat confdefs.h >>conftest.$ac_ext
87648 cat >>conftest.$ac_ext <<_ACEOF
87649 /* end confdefs.h.  */
87650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87652 #define $ac_func innocuous_$ac_func
87653
87654 /* System header to define __stub macros and hopefully few prototypes,
87655     which can conflict with char $ac_func (); below.
87656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87657     <limits.h> exists even on freestanding compilers.  */
87658
87659 #ifdef __STDC__
87660 # include <limits.h>
87661 #else
87662 # include <assert.h>
87663 #endif
87664
87665 #undef $ac_func
87666
87667 /* Override any gcc2 internal prototype to avoid an error.  */
87668 #ifdef __cplusplus
87669 extern "C"
87670 {
87671 #endif
87672 /* We use char because int might match the return type of a gcc2
87673    builtin and then its argument prototype would still apply.  */
87674 char $ac_func ();
87675 /* The GNU C library defines this for functions which it implements
87676     to always fail with ENOSYS.  Some functions are actually named
87677     something starting with __ and the normal name is an alias.  */
87678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87679 choke me
87680 #else
87681 char (*f) () = $ac_func;
87682 #endif
87683 #ifdef __cplusplus
87684 }
87685 #endif
87686
87687 int
87688 main ()
87689 {
87690 return f != $ac_func;
87691   ;
87692   return 0;
87693 }
87694 _ACEOF
87695 rm -f conftest.$ac_objext conftest$ac_exeext
87696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87697   (eval $ac_link) 2>conftest.er1
87698   ac_status=$?
87699   grep -v '^ *+' conftest.er1 >conftest.err
87700   rm -f conftest.er1
87701   cat conftest.err >&5
87702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87703   (exit $ac_status); } &&
87704          { ac_try='test -z "$ac_c_werror_flag"
87705                          || test ! -s conftest.err'
87706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87707   (eval $ac_try) 2>&5
87708   ac_status=$?
87709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710   (exit $ac_status); }; } &&
87711          { ac_try='test -s conftest$ac_exeext'
87712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87713   (eval $ac_try) 2>&5
87714   ac_status=$?
87715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87716   (exit $ac_status); }; }; then
87717   eval "$as_ac_var=yes"
87718 else
87719   echo "$as_me: failed program was:" >&5
87720 sed 's/^/| /' conftest.$ac_ext >&5
87721
87722 eval "$as_ac_var=no"
87723 fi
87724 rm -f conftest.err conftest.$ac_objext \
87725       conftest$ac_exeext conftest.$ac_ext
87726 fi
87727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87729 if test `eval echo '${'$as_ac_var'}'` = yes; then
87730   cat >>confdefs.h <<_ACEOF
87731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87732 _ACEOF
87733
87734 else
87735   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87736 fi
87737 done
87738
87739
87740
87741 for ac_func in __signbitf
87742 do
87743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87744 echo "$as_me:$LINENO: checking for $ac_func" >&5
87745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87746 if eval "test \"\${$as_ac_var+set}\" = set"; then
87747   echo $ECHO_N "(cached) $ECHO_C" >&6
87748 else
87749   if test x$gcc_no_link = xyes; then
87750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87752    { (exit 1); exit 1; }; }
87753 fi
87754 cat >conftest.$ac_ext <<_ACEOF
87755 /* confdefs.h.  */
87756 _ACEOF
87757 cat confdefs.h >>conftest.$ac_ext
87758 cat >>conftest.$ac_ext <<_ACEOF
87759 /* end confdefs.h.  */
87760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87762 #define $ac_func innocuous_$ac_func
87763
87764 /* System header to define __stub macros and hopefully few prototypes,
87765     which can conflict with char $ac_func (); below.
87766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87767     <limits.h> exists even on freestanding compilers.  */
87768
87769 #ifdef __STDC__
87770 # include <limits.h>
87771 #else
87772 # include <assert.h>
87773 #endif
87774
87775 #undef $ac_func
87776
87777 /* Override any gcc2 internal prototype to avoid an error.  */
87778 #ifdef __cplusplus
87779 extern "C"
87780 {
87781 #endif
87782 /* We use char because int might match the return type of a gcc2
87783    builtin and then its argument prototype would still apply.  */
87784 char $ac_func ();
87785 /* The GNU C library defines this for functions which it implements
87786     to always fail with ENOSYS.  Some functions are actually named
87787     something starting with __ and the normal name is an alias.  */
87788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87789 choke me
87790 #else
87791 char (*f) () = $ac_func;
87792 #endif
87793 #ifdef __cplusplus
87794 }
87795 #endif
87796
87797 int
87798 main ()
87799 {
87800 return f != $ac_func;
87801   ;
87802   return 0;
87803 }
87804 _ACEOF
87805 rm -f conftest.$ac_objext conftest$ac_exeext
87806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87807   (eval $ac_link) 2>conftest.er1
87808   ac_status=$?
87809   grep -v '^ *+' conftest.er1 >conftest.err
87810   rm -f conftest.er1
87811   cat conftest.err >&5
87812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87813   (exit $ac_status); } &&
87814          { ac_try='test -z "$ac_c_werror_flag"
87815                          || test ! -s conftest.err'
87816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87817   (eval $ac_try) 2>&5
87818   ac_status=$?
87819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87820   (exit $ac_status); }; } &&
87821          { ac_try='test -s conftest$ac_exeext'
87822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87823   (eval $ac_try) 2>&5
87824   ac_status=$?
87825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87826   (exit $ac_status); }; }; then
87827   eval "$as_ac_var=yes"
87828 else
87829   echo "$as_me: failed program was:" >&5
87830 sed 's/^/| /' conftest.$ac_ext >&5
87831
87832 eval "$as_ac_var=no"
87833 fi
87834 rm -f conftest.err conftest.$ac_objext \
87835       conftest$ac_exeext conftest.$ac_ext
87836 fi
87837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87839 if test `eval echo '${'$as_ac_var'}'` = yes; then
87840   cat >>confdefs.h <<_ACEOF
87841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87842 _ACEOF
87843
87844 else
87845   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87846 fi
87847 done
87848
87849
87850           if test x$ac_cv_func_copysignl = x"yes"; then
87851
87852 for ac_func in __signbitl
87853 do
87854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87855 echo "$as_me:$LINENO: checking for $ac_func" >&5
87856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87857 if eval "test \"\${$as_ac_var+set}\" = set"; then
87858   echo $ECHO_N "(cached) $ECHO_C" >&6
87859 else
87860   if test x$gcc_no_link = xyes; then
87861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87863    { (exit 1); exit 1; }; }
87864 fi
87865 cat >conftest.$ac_ext <<_ACEOF
87866 /* confdefs.h.  */
87867 _ACEOF
87868 cat confdefs.h >>conftest.$ac_ext
87869 cat >>conftest.$ac_ext <<_ACEOF
87870 /* end confdefs.h.  */
87871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87873 #define $ac_func innocuous_$ac_func
87874
87875 /* System header to define __stub macros and hopefully few prototypes,
87876     which can conflict with char $ac_func (); below.
87877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87878     <limits.h> exists even on freestanding compilers.  */
87879
87880 #ifdef __STDC__
87881 # include <limits.h>
87882 #else
87883 # include <assert.h>
87884 #endif
87885
87886 #undef $ac_func
87887
87888 /* Override any gcc2 internal prototype to avoid an error.  */
87889 #ifdef __cplusplus
87890 extern "C"
87891 {
87892 #endif
87893 /* We use char because int might match the return type of a gcc2
87894    builtin and then its argument prototype would still apply.  */
87895 char $ac_func ();
87896 /* The GNU C library defines this for functions which it implements
87897     to always fail with ENOSYS.  Some functions are actually named
87898     something starting with __ and the normal name is an alias.  */
87899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87900 choke me
87901 #else
87902 char (*f) () = $ac_func;
87903 #endif
87904 #ifdef __cplusplus
87905 }
87906 #endif
87907
87908 int
87909 main ()
87910 {
87911 return f != $ac_func;
87912   ;
87913   return 0;
87914 }
87915 _ACEOF
87916 rm -f conftest.$ac_objext conftest$ac_exeext
87917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87918   (eval $ac_link) 2>conftest.er1
87919   ac_status=$?
87920   grep -v '^ *+' conftest.er1 >conftest.err
87921   rm -f conftest.er1
87922   cat conftest.err >&5
87923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87924   (exit $ac_status); } &&
87925          { ac_try='test -z "$ac_c_werror_flag"
87926                          || test ! -s conftest.err'
87927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87928   (eval $ac_try) 2>&5
87929   ac_status=$?
87930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87931   (exit $ac_status); }; } &&
87932          { ac_try='test -s conftest$ac_exeext'
87933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87934   (eval $ac_try) 2>&5
87935   ac_status=$?
87936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87937   (exit $ac_status); }; }; then
87938   eval "$as_ac_var=yes"
87939 else
87940   echo "$as_me: failed program was:" >&5
87941 sed 's/^/| /' conftest.$ac_ext >&5
87942
87943 eval "$as_ac_var=no"
87944 fi
87945 rm -f conftest.err conftest.$ac_objext \
87946       conftest$ac_exeext conftest.$ac_ext
87947 fi
87948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87950 if test `eval echo '${'$as_ac_var'}'` = yes; then
87951   cat >>confdefs.h <<_ACEOF
87952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87953 _ACEOF
87954
87955 else
87956   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87957 fi
87958 done
87959
87960   fi
87961
87962   # Used in libmath/Makefile.am.
87963   if test -n "$LIBMATHOBJS"; then
87964     need_libmath=yes
87965   fi
87966
87967
87968     cat >>confdefs.h <<\_ACEOF
87969 #define HAVE_COPYSIGN 1
87970 _ACEOF
87971
87972     cat >>confdefs.h <<\_ACEOF
87973 #define HAVE_COPYSIGNF 1
87974 _ACEOF
87975
87976     cat >>confdefs.h <<\_ACEOF
87977 #define HAVE_FREXPF 1
87978 _ACEOF
87979
87980     cat >>confdefs.h <<\_ACEOF
87981 #define HAVE_HYPOT 1
87982 _ACEOF
87983
87984     case "$target" in
87985       *-hpux10*)
87986         cat >>confdefs.h <<\_ACEOF
87987 #define HAVE_FINITE 1
87988 _ACEOF
87989
87990         cat >>confdefs.h <<\_ACEOF
87991 #define HAVE_FINITEF 1
87992 _ACEOF
87993
87994         cat >>confdefs.h <<\_ACEOF
87995 #define HAVE_ISINF 1
87996 _ACEOF
87997
87998         cat >>confdefs.h <<\_ACEOF
87999 #define HAVE_ISINFF 1
88000 _ACEOF
88001
88002         cat >>confdefs.h <<\_ACEOF
88003 #define HAVE_ISNAN 1
88004 _ACEOF
88005
88006         cat >>confdefs.h <<\_ACEOF
88007 #define HAVE_ISNANF 1
88008 _ACEOF
88009
88010         ;;
88011     esac
88012     ;;
88013   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
88014
88015
88016
88017
88018
88019
88020
88021
88022
88023
88024
88025
88026
88027
88028
88029
88030
88031 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
88032       machine/endian.h machine/param.h sys/machine.h sys/types.h \
88033       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
88034       sys/ipc.h sys/sem.h
88035 do
88036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88038   echo "$as_me:$LINENO: checking for $ac_header" >&5
88039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88041   echo $ECHO_N "(cached) $ECHO_C" >&6
88042 fi
88043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88045 else
88046   # Is the header compilable?
88047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88049 cat >conftest.$ac_ext <<_ACEOF
88050 /* confdefs.h.  */
88051 _ACEOF
88052 cat confdefs.h >>conftest.$ac_ext
88053 cat >>conftest.$ac_ext <<_ACEOF
88054 /* end confdefs.h.  */
88055 $ac_includes_default
88056 #include <$ac_header>
88057 _ACEOF
88058 rm -f conftest.$ac_objext
88059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88060   (eval $ac_compile) 2>conftest.er1
88061   ac_status=$?
88062   grep -v '^ *+' conftest.er1 >conftest.err
88063   rm -f conftest.er1
88064   cat conftest.err >&5
88065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88066   (exit $ac_status); } &&
88067          { ac_try='test -z "$ac_c_werror_flag"
88068                          || test ! -s conftest.err'
88069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88070   (eval $ac_try) 2>&5
88071   ac_status=$?
88072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88073   (exit $ac_status); }; } &&
88074          { ac_try='test -s conftest.$ac_objext'
88075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88076   (eval $ac_try) 2>&5
88077   ac_status=$?
88078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88079   (exit $ac_status); }; }; then
88080   ac_header_compiler=yes
88081 else
88082   echo "$as_me: failed program was:" >&5
88083 sed 's/^/| /' conftest.$ac_ext >&5
88084
88085 ac_header_compiler=no
88086 fi
88087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88089 echo "${ECHO_T}$ac_header_compiler" >&6
88090
88091 # Is the header present?
88092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88094 cat >conftest.$ac_ext <<_ACEOF
88095 /* confdefs.h.  */
88096 _ACEOF
88097 cat confdefs.h >>conftest.$ac_ext
88098 cat >>conftest.$ac_ext <<_ACEOF
88099 /* end confdefs.h.  */
88100 #include <$ac_header>
88101 _ACEOF
88102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88103   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88104   ac_status=$?
88105   grep -v '^ *+' conftest.er1 >conftest.err
88106   rm -f conftest.er1
88107   cat conftest.err >&5
88108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88109   (exit $ac_status); } >/dev/null; then
88110   if test -s conftest.err; then
88111     ac_cpp_err=$ac_c_preproc_warn_flag
88112     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88113   else
88114     ac_cpp_err=
88115   fi
88116 else
88117   ac_cpp_err=yes
88118 fi
88119 if test -z "$ac_cpp_err"; then
88120   ac_header_preproc=yes
88121 else
88122   echo "$as_me: failed program was:" >&5
88123 sed 's/^/| /' conftest.$ac_ext >&5
88124
88125   ac_header_preproc=no
88126 fi
88127 rm -f conftest.err conftest.$ac_ext
88128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88129 echo "${ECHO_T}$ac_header_preproc" >&6
88130
88131 # So?  What about this header?
88132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88133   yes:no: )
88134     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88136     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88138     ac_header_preproc=yes
88139     ;;
88140   no:yes:* )
88141     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88143     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88144 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88145     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88147     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88148 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88149     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88151     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88153     (
88154       cat <<\_ASBOX
88155 ## ----------------------------------------- ##
88156 ## Report this to the package-unused lists.  ##
88157 ## ----------------------------------------- ##
88158 _ASBOX
88159     ) |
88160       sed "s/^/$as_me: WARNING:     /" >&2
88161     ;;
88162 esac
88163 echo "$as_me:$LINENO: checking for $ac_header" >&5
88164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88166   echo $ECHO_N "(cached) $ECHO_C" >&6
88167 else
88168   eval "$as_ac_Header=\$ac_header_preproc"
88169 fi
88170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88172
88173 fi
88174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88175   cat >>confdefs.h <<_ACEOF
88176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88177 _ACEOF
88178
88179 fi
88180
88181 done
88182
88183     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88184
88185
88186   # All these tests are for C++; save the language and the compiler flags.
88187   # The CXXFLAGS thing is suspicious, but based on similar bits previously
88188   # found in GLIBCXX_CONFIGURE.
88189
88190
88191   ac_ext=cc
88192 ac_cpp='$CXXCPP $CPPFLAGS'
88193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88196
88197   ac_test_CXXFLAGS="${CXXFLAGS+set}"
88198   ac_save_CXXFLAGS="$CXXFLAGS"
88199
88200   # Check for maintainer-mode bits.
88201   if test x"$USE_MAINTAINER_MODE" = xno; then
88202     WERROR=''
88203   else
88204     WERROR='-Werror'
88205   fi
88206
88207   # Check for -ffunction-sections -fdata-sections
88208   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
88209 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
88210   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
88211   cat >conftest.$ac_ext <<_ACEOF
88212 /* confdefs.h.  */
88213 _ACEOF
88214 cat confdefs.h >>conftest.$ac_ext
88215 cat >>conftest.$ac_ext <<_ACEOF
88216 /* end confdefs.h.  */
88217 int foo; void bar() { };
88218 int
88219 main ()
88220 {
88221
88222   ;
88223   return 0;
88224 }
88225 _ACEOF
88226 rm -f conftest.$ac_objext
88227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88228   (eval $ac_compile) 2>conftest.er1
88229   ac_status=$?
88230   grep -v '^ *+' conftest.er1 >conftest.err
88231   rm -f conftest.er1
88232   cat conftest.err >&5
88233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88234   (exit $ac_status); } &&
88235          { ac_try='test -z "$ac_cxx_werror_flag"
88236                          || test ! -s conftest.err'
88237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88238   (eval $ac_try) 2>&5
88239   ac_status=$?
88240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241   (exit $ac_status); }; } &&
88242          { ac_try='test -s conftest.$ac_objext'
88243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244   (eval $ac_try) 2>&5
88245   ac_status=$?
88246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247   (exit $ac_status); }; }; then
88248   ac_fdsections=yes
88249 else
88250   echo "$as_me: failed program was:" >&5
88251 sed 's/^/| /' conftest.$ac_ext >&5
88252
88253 ac_fdsections=no
88254 fi
88255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88256   if test "$ac_test_CXXFLAGS" = set; then
88257     CXXFLAGS="$ac_save_CXXFLAGS"
88258   else
88259     # this is the suspicious part
88260     CXXFLAGS=''
88261   fi
88262   if test x"$ac_fdsections" = x"yes"; then
88263     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88264   fi
88265   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
88266 echo "${ECHO_T}$ac_fdsections" >&6
88267
88268   ac_ext=c
88269 ac_cpp='$CPP $CPPFLAGS'
88270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88273
88274
88275
88276
88277
88278   # If we're not using GNU ld, then there's no point in even trying these
88279   # tests.  Check for that first.  We should have already tested for gld
88280   # by now (in libtool), but require it now just to be safe...
88281   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88282   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88283
88284
88285
88286   # The name set by libtool depends on the version of libtool.  Shame on us
88287   # for depending on an impl detail, but c'est la vie.  Older versions used
88288   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88289   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88290   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
88291   # set (hence we're using an older libtool), then set it.
88292   if test x${with_gnu_ld+set} != xset; then
88293     if test x${ac_cv_prog_gnu_ld+set} != xset; then
88294       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
88295       with_gnu_ld=no
88296     else
88297       with_gnu_ld=$ac_cv_prog_gnu_ld
88298     fi
88299   fi
88300
88301   # Start by getting the version number.  I think the libtool test already
88302   # does some of this, but throws away the result.
88303   glibcxx_ld_is_gold=no
88304   if test x"$with_gnu_ld" = x"yes"; then
88305     echo "$as_me:$LINENO: checking for ld version" >&5
88306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88307
88308     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
88309       glibcxx_ld_is_gold=yes
88310     fi
88311     ldver=`$LD --version 2>/dev/null | head -1 | \
88312            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
88313
88314     glibcxx_gnu_ld_version=`echo $ldver | \
88315            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88316     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88317 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88318   fi
88319
88320   # Set --gc-sections.
88321   glibcxx_have_gc_sections=no
88322   if test "$glibcxx_ld_is_gold" = "yes"; then
88323     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
88324       glibcxx_have_gc_sections=yes
88325     fi
88326   else
88327     glibcxx_gcsections_min_ld=21602
88328     if test x"$with_gnu_ld" = x"yes" &&
88329         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88330       glibcxx_have_gc_sections=yes
88331     fi
88332   fi
88333   if test "$glibcxx_have_gc_sections" = "yes"; then
88334     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
88335     # NB: This flag only works reliably after 2.16.1. Configure tests
88336     # for this are difficult, so hard wire a value that should work.
88337
88338     ac_test_CFLAGS="${CFLAGS+set}"
88339     ac_save_CFLAGS="$CFLAGS"
88340     CFLAGS='-Wl,--gc-sections'
88341
88342     # Check for -Wl,--gc-sections
88343     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88345     if test x$gcc_no_link = xyes; then
88346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88348    { (exit 1); exit 1; }; }
88349 fi
88350 cat >conftest.$ac_ext <<_ACEOF
88351 /* confdefs.h.  */
88352 _ACEOF
88353 cat confdefs.h >>conftest.$ac_ext
88354 cat >>conftest.$ac_ext <<_ACEOF
88355 /* end confdefs.h.  */
88356  int one(void) { return 1; }
88357      int two(void) { return 2; }
88358
88359 int
88360 main ()
88361 {
88362  two();
88363   ;
88364   return 0;
88365 }
88366 _ACEOF
88367 rm -f conftest.$ac_objext conftest$ac_exeext
88368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88369   (eval $ac_link) 2>conftest.er1
88370   ac_status=$?
88371   grep -v '^ *+' conftest.er1 >conftest.err
88372   rm -f conftest.er1
88373   cat conftest.err >&5
88374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375   (exit $ac_status); } &&
88376          { ac_try='test -z "$ac_c_werror_flag"
88377                          || test ! -s conftest.err'
88378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88379   (eval $ac_try) 2>&5
88380   ac_status=$?
88381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88382   (exit $ac_status); }; } &&
88383          { ac_try='test -s conftest$ac_exeext'
88384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88385   (eval $ac_try) 2>&5
88386   ac_status=$?
88387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388   (exit $ac_status); }; }; then
88389   ac_gcsections=yes
88390 else
88391   echo "$as_me: failed program was:" >&5
88392 sed 's/^/| /' conftest.$ac_ext >&5
88393
88394 ac_gcsections=no
88395 fi
88396 rm -f conftest.err conftest.$ac_objext \
88397       conftest$ac_exeext conftest.$ac_ext
88398     if test "$ac_gcsections" = "yes"; then
88399       rm -f conftest.c
88400       touch conftest.c
88401       if $CC -c conftest.c; then
88402         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88403            grep "Warning: gc-sections option ignored" > /dev/null; then
88404           ac_gcsections=no
88405         fi
88406       fi
88407       rm -f conftest.c conftest.o conftest
88408     fi
88409     if test "$ac_gcsections" = "yes"; then
88410       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88411     fi
88412     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88413 echo "${ECHO_T}$ac_gcsections" >&6
88414
88415     if test "$ac_test_CFLAGS" = set; then
88416       CFLAGS="$ac_save_CFLAGS"
88417     else
88418       # this is the suspicious part
88419       CFLAGS=''
88420     fi
88421   fi
88422
88423   # Set -z,relro.
88424   # Note this is only for shared objects.
88425   ac_ld_relro=no
88426   if test x"$with_gnu_ld" = x"yes"; then
88427     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88428 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88429     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88430     if test -n "$cxx_z_relo"; then
88431       OPT_LDFLAGS="-Wl,-z,relro"
88432       ac_ld_relro=yes
88433     fi
88434     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88435 echo "${ECHO_T}$ac_ld_relro" >&6
88436   fi
88437
88438   # Set linker optimization flags.
88439   if test x"$with_gnu_ld" = x"yes"; then
88440     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88441   fi
88442
88443
88444
88445
88446
88447   ac_test_CXXFLAGS="${CXXFLAGS+set}"
88448   ac_save_CXXFLAGS="$CXXFLAGS"
88449   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
88450
88451     echo "$as_me:$LINENO: checking for sin in -lm" >&5
88452 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
88453 if test "${ac_cv_lib_m_sin+set}" = set; then
88454   echo $ECHO_N "(cached) $ECHO_C" >&6
88455 else
88456   ac_check_lib_save_LIBS=$LIBS
88457 LIBS="-lm  $LIBS"
88458 if test x$gcc_no_link = xyes; then
88459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88461    { (exit 1); exit 1; }; }
88462 fi
88463 cat >conftest.$ac_ext <<_ACEOF
88464 /* confdefs.h.  */
88465 _ACEOF
88466 cat confdefs.h >>conftest.$ac_ext
88467 cat >>conftest.$ac_ext <<_ACEOF
88468 /* end confdefs.h.  */
88469
88470 /* Override any gcc2 internal prototype to avoid an error.  */
88471 #ifdef __cplusplus
88472 extern "C"
88473 #endif
88474 /* We use char because int might match the return type of a gcc2
88475    builtin and then its argument prototype would still apply.  */
88476 char sin ();
88477 int
88478 main ()
88479 {
88480 sin ();
88481   ;
88482   return 0;
88483 }
88484 _ACEOF
88485 rm -f conftest.$ac_objext conftest$ac_exeext
88486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88487   (eval $ac_link) 2>conftest.er1
88488   ac_status=$?
88489   grep -v '^ *+' conftest.er1 >conftest.err
88490   rm -f conftest.er1
88491   cat conftest.err >&5
88492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88493   (exit $ac_status); } &&
88494          { ac_try='test -z "$ac_c_werror_flag"
88495                          || test ! -s conftest.err'
88496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88497   (eval $ac_try) 2>&5
88498   ac_status=$?
88499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500   (exit $ac_status); }; } &&
88501          { ac_try='test -s conftest$ac_exeext'
88502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88503   (eval $ac_try) 2>&5
88504   ac_status=$?
88505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88506   (exit $ac_status); }; }; then
88507   ac_cv_lib_m_sin=yes
88508 else
88509   echo "$as_me: failed program was:" >&5
88510 sed 's/^/| /' conftest.$ac_ext >&5
88511
88512 ac_cv_lib_m_sin=no
88513 fi
88514 rm -f conftest.err conftest.$ac_objext \
88515       conftest$ac_exeext conftest.$ac_ext
88516 LIBS=$ac_check_lib_save_LIBS
88517 fi
88518 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
88519 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
88520 if test $ac_cv_lib_m_sin = yes; then
88521   libm="-lm"
88522 fi
88523
88524   ac_save_LIBS="$LIBS"
88525   LIBS="$LIBS $libm"
88526
88527
88528
88529   echo "$as_me:$LINENO: checking for isinf declaration" >&5
88530 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88531   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88532     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88533   echo $ECHO_N "(cached) $ECHO_C" >&6
88534 else
88535
88536
88537
88538       ac_ext=cc
88539 ac_cpp='$CXXCPP $CPPFLAGS'
88540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88543
88544       cat >conftest.$ac_ext <<_ACEOF
88545 /* confdefs.h.  */
88546 _ACEOF
88547 cat confdefs.h >>conftest.$ac_ext
88548 cat >>conftest.$ac_ext <<_ACEOF
88549 /* end confdefs.h.  */
88550 #include <math.h>
88551                       #ifdef HAVE_IEEEFP_H
88552                       #include <ieeefp.h>
88553                       #endif
88554
88555 int
88556 main ()
88557 {
88558  isinf(0);
88559   ;
88560   return 0;
88561 }
88562 _ACEOF
88563 rm -f conftest.$ac_objext
88564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88565   (eval $ac_compile) 2>conftest.er1
88566   ac_status=$?
88567   grep -v '^ *+' conftest.er1 >conftest.err
88568   rm -f conftest.er1
88569   cat conftest.err >&5
88570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571   (exit $ac_status); } &&
88572          { ac_try='test -z "$ac_cxx_werror_flag"
88573                          || test ! -s conftest.err'
88574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88575   (eval $ac_try) 2>&5
88576   ac_status=$?
88577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88578   (exit $ac_status); }; } &&
88579          { ac_try='test -s conftest.$ac_objext'
88580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581   (eval $ac_try) 2>&5
88582   ac_status=$?
88583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584   (exit $ac_status); }; }; then
88585   glibcxx_cv_func_isinf_use=yes
88586 else
88587   echo "$as_me: failed program was:" >&5
88588 sed 's/^/| /' conftest.$ac_ext >&5
88589
88590 glibcxx_cv_func_isinf_use=no
88591 fi
88592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88593       ac_ext=c
88594 ac_cpp='$CPP $CPPFLAGS'
88595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88598
88599
88600 fi
88601
88602   fi
88603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88604 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88605
88606   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88607
88608 for ac_func in isinf
88609 do
88610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88611 echo "$as_me:$LINENO: checking for $ac_func" >&5
88612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88613 if eval "test \"\${$as_ac_var+set}\" = set"; then
88614   echo $ECHO_N "(cached) $ECHO_C" >&6
88615 else
88616   if test x$gcc_no_link = xyes; then
88617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88619    { (exit 1); exit 1; }; }
88620 fi
88621 cat >conftest.$ac_ext <<_ACEOF
88622 /* confdefs.h.  */
88623 _ACEOF
88624 cat confdefs.h >>conftest.$ac_ext
88625 cat >>conftest.$ac_ext <<_ACEOF
88626 /* end confdefs.h.  */
88627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88629 #define $ac_func innocuous_$ac_func
88630
88631 /* System header to define __stub macros and hopefully few prototypes,
88632     which can conflict with char $ac_func (); below.
88633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88634     <limits.h> exists even on freestanding compilers.  */
88635
88636 #ifdef __STDC__
88637 # include <limits.h>
88638 #else
88639 # include <assert.h>
88640 #endif
88641
88642 #undef $ac_func
88643
88644 /* Override any gcc2 internal prototype to avoid an error.  */
88645 #ifdef __cplusplus
88646 extern "C"
88647 {
88648 #endif
88649 /* We use char because int might match the return type of a gcc2
88650    builtin and then its argument prototype would still apply.  */
88651 char $ac_func ();
88652 /* The GNU C library defines this for functions which it implements
88653     to always fail with ENOSYS.  Some functions are actually named
88654     something starting with __ and the normal name is an alias.  */
88655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88656 choke me
88657 #else
88658 char (*f) () = $ac_func;
88659 #endif
88660 #ifdef __cplusplus
88661 }
88662 #endif
88663
88664 int
88665 main ()
88666 {
88667 return f != $ac_func;
88668   ;
88669   return 0;
88670 }
88671 _ACEOF
88672 rm -f conftest.$ac_objext conftest$ac_exeext
88673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88674   (eval $ac_link) 2>conftest.er1
88675   ac_status=$?
88676   grep -v '^ *+' conftest.er1 >conftest.err
88677   rm -f conftest.er1
88678   cat conftest.err >&5
88679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88680   (exit $ac_status); } &&
88681          { ac_try='test -z "$ac_c_werror_flag"
88682                          || test ! -s conftest.err'
88683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88684   (eval $ac_try) 2>&5
88685   ac_status=$?
88686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88687   (exit $ac_status); }; } &&
88688          { ac_try='test -s conftest$ac_exeext'
88689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88690   (eval $ac_try) 2>&5
88691   ac_status=$?
88692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693   (exit $ac_status); }; }; then
88694   eval "$as_ac_var=yes"
88695 else
88696   echo "$as_me: failed program was:" >&5
88697 sed 's/^/| /' conftest.$ac_ext >&5
88698
88699 eval "$as_ac_var=no"
88700 fi
88701 rm -f conftest.err conftest.$ac_objext \
88702       conftest$ac_exeext conftest.$ac_ext
88703 fi
88704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88706 if test `eval echo '${'$as_ac_var'}'` = yes; then
88707   cat >>confdefs.h <<_ACEOF
88708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88709 _ACEOF
88710
88711 fi
88712 done
88713
88714   else
88715
88716   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88717 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88718   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88719     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88720   echo $ECHO_N "(cached) $ECHO_C" >&6
88721 else
88722
88723
88724
88725       ac_ext=cc
88726 ac_cpp='$CXXCPP $CPPFLAGS'
88727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88730
88731       cat >conftest.$ac_ext <<_ACEOF
88732 /* confdefs.h.  */
88733 _ACEOF
88734 cat confdefs.h >>conftest.$ac_ext
88735 cat >>conftest.$ac_ext <<_ACEOF
88736 /* end confdefs.h.  */
88737 #include <math.h>
88738                       #ifdef HAVE_IEEEFP_H
88739                       #include <ieeefp.h>
88740                       #endif
88741
88742 int
88743 main ()
88744 {
88745  _isinf(0);
88746   ;
88747   return 0;
88748 }
88749 _ACEOF
88750 rm -f conftest.$ac_objext
88751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88752   (eval $ac_compile) 2>conftest.er1
88753   ac_status=$?
88754   grep -v '^ *+' conftest.er1 >conftest.err
88755   rm -f conftest.er1
88756   cat conftest.err >&5
88757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88758   (exit $ac_status); } &&
88759          { ac_try='test -z "$ac_cxx_werror_flag"
88760                          || test ! -s conftest.err'
88761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88762   (eval $ac_try) 2>&5
88763   ac_status=$?
88764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765   (exit $ac_status); }; } &&
88766          { ac_try='test -s conftest.$ac_objext'
88767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88768   (eval $ac_try) 2>&5
88769   ac_status=$?
88770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771   (exit $ac_status); }; }; then
88772   glibcxx_cv_func__isinf_use=yes
88773 else
88774   echo "$as_me: failed program was:" >&5
88775 sed 's/^/| /' conftest.$ac_ext >&5
88776
88777 glibcxx_cv_func__isinf_use=no
88778 fi
88779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88780       ac_ext=c
88781 ac_cpp='$CPP $CPPFLAGS'
88782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88785
88786
88787 fi
88788
88789   fi
88790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88791 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88792
88793     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88794
88795 for ac_func in _isinf
88796 do
88797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88798 echo "$as_me:$LINENO: checking for $ac_func" >&5
88799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88800 if eval "test \"\${$as_ac_var+set}\" = set"; then
88801   echo $ECHO_N "(cached) $ECHO_C" >&6
88802 else
88803   if test x$gcc_no_link = xyes; then
88804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88806    { (exit 1); exit 1; }; }
88807 fi
88808 cat >conftest.$ac_ext <<_ACEOF
88809 /* confdefs.h.  */
88810 _ACEOF
88811 cat confdefs.h >>conftest.$ac_ext
88812 cat >>conftest.$ac_ext <<_ACEOF
88813 /* end confdefs.h.  */
88814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88816 #define $ac_func innocuous_$ac_func
88817
88818 /* System header to define __stub macros and hopefully few prototypes,
88819     which can conflict with char $ac_func (); below.
88820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88821     <limits.h> exists even on freestanding compilers.  */
88822
88823 #ifdef __STDC__
88824 # include <limits.h>
88825 #else
88826 # include <assert.h>
88827 #endif
88828
88829 #undef $ac_func
88830
88831 /* Override any gcc2 internal prototype to avoid an error.  */
88832 #ifdef __cplusplus
88833 extern "C"
88834 {
88835 #endif
88836 /* We use char because int might match the return type of a gcc2
88837    builtin and then its argument prototype would still apply.  */
88838 char $ac_func ();
88839 /* The GNU C library defines this for functions which it implements
88840     to always fail with ENOSYS.  Some functions are actually named
88841     something starting with __ and the normal name is an alias.  */
88842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88843 choke me
88844 #else
88845 char (*f) () = $ac_func;
88846 #endif
88847 #ifdef __cplusplus
88848 }
88849 #endif
88850
88851 int
88852 main ()
88853 {
88854 return f != $ac_func;
88855   ;
88856   return 0;
88857 }
88858 _ACEOF
88859 rm -f conftest.$ac_objext conftest$ac_exeext
88860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88861   (eval $ac_link) 2>conftest.er1
88862   ac_status=$?
88863   grep -v '^ *+' conftest.er1 >conftest.err
88864   rm -f conftest.er1
88865   cat conftest.err >&5
88866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88867   (exit $ac_status); } &&
88868          { ac_try='test -z "$ac_c_werror_flag"
88869                          || test ! -s conftest.err'
88870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88871   (eval $ac_try) 2>&5
88872   ac_status=$?
88873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88874   (exit $ac_status); }; } &&
88875          { ac_try='test -s conftest$ac_exeext'
88876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88877   (eval $ac_try) 2>&5
88878   ac_status=$?
88879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880   (exit $ac_status); }; }; then
88881   eval "$as_ac_var=yes"
88882 else
88883   echo "$as_me: failed program was:" >&5
88884 sed 's/^/| /' conftest.$ac_ext >&5
88885
88886 eval "$as_ac_var=no"
88887 fi
88888 rm -f conftest.err conftest.$ac_objext \
88889       conftest$ac_exeext conftest.$ac_ext
88890 fi
88891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88893 if test `eval echo '${'$as_ac_var'}'` = yes; then
88894   cat >>confdefs.h <<_ACEOF
88895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88896 _ACEOF
88897
88898 fi
88899 done
88900
88901     fi
88902   fi
88903
88904
88905
88906
88907
88908
88909   echo "$as_me:$LINENO: checking for isnan declaration" >&5
88910 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88911   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88912     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88913   echo $ECHO_N "(cached) $ECHO_C" >&6
88914 else
88915
88916
88917
88918       ac_ext=cc
88919 ac_cpp='$CXXCPP $CPPFLAGS'
88920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88923
88924       cat >conftest.$ac_ext <<_ACEOF
88925 /* confdefs.h.  */
88926 _ACEOF
88927 cat confdefs.h >>conftest.$ac_ext
88928 cat >>conftest.$ac_ext <<_ACEOF
88929 /* end confdefs.h.  */
88930 #include <math.h>
88931                       #ifdef HAVE_IEEEFP_H
88932                       #include <ieeefp.h>
88933                       #endif
88934
88935 int
88936 main ()
88937 {
88938  isnan(0);
88939   ;
88940   return 0;
88941 }
88942 _ACEOF
88943 rm -f conftest.$ac_objext
88944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88945   (eval $ac_compile) 2>conftest.er1
88946   ac_status=$?
88947   grep -v '^ *+' conftest.er1 >conftest.err
88948   rm -f conftest.er1
88949   cat conftest.err >&5
88950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88951   (exit $ac_status); } &&
88952          { ac_try='test -z "$ac_cxx_werror_flag"
88953                          || test ! -s conftest.err'
88954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88955   (eval $ac_try) 2>&5
88956   ac_status=$?
88957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88958   (exit $ac_status); }; } &&
88959          { ac_try='test -s conftest.$ac_objext'
88960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88961   (eval $ac_try) 2>&5
88962   ac_status=$?
88963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964   (exit $ac_status); }; }; then
88965   glibcxx_cv_func_isnan_use=yes
88966 else
88967   echo "$as_me: failed program was:" >&5
88968 sed 's/^/| /' conftest.$ac_ext >&5
88969
88970 glibcxx_cv_func_isnan_use=no
88971 fi
88972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88973       ac_ext=c
88974 ac_cpp='$CPP $CPPFLAGS'
88975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88978
88979
88980 fi
88981
88982   fi
88983   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88984 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88985
88986   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88987
88988 for ac_func in isnan
88989 do
88990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88991 echo "$as_me:$LINENO: checking for $ac_func" >&5
88992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88993 if eval "test \"\${$as_ac_var+set}\" = set"; then
88994   echo $ECHO_N "(cached) $ECHO_C" >&6
88995 else
88996   if test x$gcc_no_link = xyes; then
88997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88999    { (exit 1); exit 1; }; }
89000 fi
89001 cat >conftest.$ac_ext <<_ACEOF
89002 /* confdefs.h.  */
89003 _ACEOF
89004 cat confdefs.h >>conftest.$ac_ext
89005 cat >>conftest.$ac_ext <<_ACEOF
89006 /* end confdefs.h.  */
89007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89009 #define $ac_func innocuous_$ac_func
89010
89011 /* System header to define __stub macros and hopefully few prototypes,
89012     which can conflict with char $ac_func (); below.
89013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89014     <limits.h> exists even on freestanding compilers.  */
89015
89016 #ifdef __STDC__
89017 # include <limits.h>
89018 #else
89019 # include <assert.h>
89020 #endif
89021
89022 #undef $ac_func
89023
89024 /* Override any gcc2 internal prototype to avoid an error.  */
89025 #ifdef __cplusplus
89026 extern "C"
89027 {
89028 #endif
89029 /* We use char because int might match the return type of a gcc2
89030    builtin and then its argument prototype would still apply.  */
89031 char $ac_func ();
89032 /* The GNU C library defines this for functions which it implements
89033     to always fail with ENOSYS.  Some functions are actually named
89034     something starting with __ and the normal name is an alias.  */
89035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89036 choke me
89037 #else
89038 char (*f) () = $ac_func;
89039 #endif
89040 #ifdef __cplusplus
89041 }
89042 #endif
89043
89044 int
89045 main ()
89046 {
89047 return f != $ac_func;
89048   ;
89049   return 0;
89050 }
89051 _ACEOF
89052 rm -f conftest.$ac_objext conftest$ac_exeext
89053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89054   (eval $ac_link) 2>conftest.er1
89055   ac_status=$?
89056   grep -v '^ *+' conftest.er1 >conftest.err
89057   rm -f conftest.er1
89058   cat conftest.err >&5
89059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89060   (exit $ac_status); } &&
89061          { ac_try='test -z "$ac_c_werror_flag"
89062                          || test ! -s conftest.err'
89063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064   (eval $ac_try) 2>&5
89065   ac_status=$?
89066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067   (exit $ac_status); }; } &&
89068          { ac_try='test -s conftest$ac_exeext'
89069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89070   (eval $ac_try) 2>&5
89071   ac_status=$?
89072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89073   (exit $ac_status); }; }; then
89074   eval "$as_ac_var=yes"
89075 else
89076   echo "$as_me: failed program was:" >&5
89077 sed 's/^/| /' conftest.$ac_ext >&5
89078
89079 eval "$as_ac_var=no"
89080 fi
89081 rm -f conftest.err conftest.$ac_objext \
89082       conftest$ac_exeext conftest.$ac_ext
89083 fi
89084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89086 if test `eval echo '${'$as_ac_var'}'` = yes; then
89087   cat >>confdefs.h <<_ACEOF
89088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89089 _ACEOF
89090
89091 fi
89092 done
89093
89094   else
89095
89096   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
89097 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
89098   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
89099     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
89100   echo $ECHO_N "(cached) $ECHO_C" >&6
89101 else
89102
89103
89104
89105       ac_ext=cc
89106 ac_cpp='$CXXCPP $CPPFLAGS'
89107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89110
89111       cat >conftest.$ac_ext <<_ACEOF
89112 /* confdefs.h.  */
89113 _ACEOF
89114 cat confdefs.h >>conftest.$ac_ext
89115 cat >>conftest.$ac_ext <<_ACEOF
89116 /* end confdefs.h.  */
89117 #include <math.h>
89118                       #ifdef HAVE_IEEEFP_H
89119                       #include <ieeefp.h>
89120                       #endif
89121
89122 int
89123 main ()
89124 {
89125  _isnan(0);
89126   ;
89127   return 0;
89128 }
89129 _ACEOF
89130 rm -f conftest.$ac_objext
89131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89132   (eval $ac_compile) 2>conftest.er1
89133   ac_status=$?
89134   grep -v '^ *+' conftest.er1 >conftest.err
89135   rm -f conftest.er1
89136   cat conftest.err >&5
89137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89138   (exit $ac_status); } &&
89139          { ac_try='test -z "$ac_cxx_werror_flag"
89140                          || test ! -s conftest.err'
89141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89142   (eval $ac_try) 2>&5
89143   ac_status=$?
89144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89145   (exit $ac_status); }; } &&
89146          { ac_try='test -s conftest.$ac_objext'
89147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89148   (eval $ac_try) 2>&5
89149   ac_status=$?
89150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89151   (exit $ac_status); }; }; then
89152   glibcxx_cv_func__isnan_use=yes
89153 else
89154   echo "$as_me: failed program was:" >&5
89155 sed 's/^/| /' conftest.$ac_ext >&5
89156
89157 glibcxx_cv_func__isnan_use=no
89158 fi
89159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89160       ac_ext=c
89161 ac_cpp='$CPP $CPPFLAGS'
89162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89165
89166
89167 fi
89168
89169   fi
89170   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
89171 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
89172
89173     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
89174
89175 for ac_func in _isnan
89176 do
89177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89178 echo "$as_me:$LINENO: checking for $ac_func" >&5
89179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89180 if eval "test \"\${$as_ac_var+set}\" = set"; then
89181   echo $ECHO_N "(cached) $ECHO_C" >&6
89182 else
89183   if test x$gcc_no_link = xyes; then
89184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89186    { (exit 1); exit 1; }; }
89187 fi
89188 cat >conftest.$ac_ext <<_ACEOF
89189 /* confdefs.h.  */
89190 _ACEOF
89191 cat confdefs.h >>conftest.$ac_ext
89192 cat >>conftest.$ac_ext <<_ACEOF
89193 /* end confdefs.h.  */
89194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89196 #define $ac_func innocuous_$ac_func
89197
89198 /* System header to define __stub macros and hopefully few prototypes,
89199     which can conflict with char $ac_func (); below.
89200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89201     <limits.h> exists even on freestanding compilers.  */
89202
89203 #ifdef __STDC__
89204 # include <limits.h>
89205 #else
89206 # include <assert.h>
89207 #endif
89208
89209 #undef $ac_func
89210
89211 /* Override any gcc2 internal prototype to avoid an error.  */
89212 #ifdef __cplusplus
89213 extern "C"
89214 {
89215 #endif
89216 /* We use char because int might match the return type of a gcc2
89217    builtin and then its argument prototype would still apply.  */
89218 char $ac_func ();
89219 /* The GNU C library defines this for functions which it implements
89220     to always fail with ENOSYS.  Some functions are actually named
89221     something starting with __ and the normal name is an alias.  */
89222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89223 choke me
89224 #else
89225 char (*f) () = $ac_func;
89226 #endif
89227 #ifdef __cplusplus
89228 }
89229 #endif
89230
89231 int
89232 main ()
89233 {
89234 return f != $ac_func;
89235   ;
89236   return 0;
89237 }
89238 _ACEOF
89239 rm -f conftest.$ac_objext conftest$ac_exeext
89240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89241   (eval $ac_link) 2>conftest.er1
89242   ac_status=$?
89243   grep -v '^ *+' conftest.er1 >conftest.err
89244   rm -f conftest.er1
89245   cat conftest.err >&5
89246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89247   (exit $ac_status); } &&
89248          { ac_try='test -z "$ac_c_werror_flag"
89249                          || test ! -s conftest.err'
89250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89251   (eval $ac_try) 2>&5
89252   ac_status=$?
89253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89254   (exit $ac_status); }; } &&
89255          { ac_try='test -s conftest$ac_exeext'
89256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89257   (eval $ac_try) 2>&5
89258   ac_status=$?
89259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89260   (exit $ac_status); }; }; then
89261   eval "$as_ac_var=yes"
89262 else
89263   echo "$as_me: failed program was:" >&5
89264 sed 's/^/| /' conftest.$ac_ext >&5
89265
89266 eval "$as_ac_var=no"
89267 fi
89268 rm -f conftest.err conftest.$ac_objext \
89269       conftest$ac_exeext conftest.$ac_ext
89270 fi
89271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89273 if test `eval echo '${'$as_ac_var'}'` = yes; then
89274   cat >>confdefs.h <<_ACEOF
89275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89276 _ACEOF
89277
89278 fi
89279 done
89280
89281     fi
89282   fi
89283
89284
89285
89286
89287
89288
89289   echo "$as_me:$LINENO: checking for finite declaration" >&5
89290 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
89291   if test x${glibcxx_cv_func_finite_use+set} != xset; then
89292     if test "${glibcxx_cv_func_finite_use+set}" = set; then
89293   echo $ECHO_N "(cached) $ECHO_C" >&6
89294 else
89295
89296
89297
89298       ac_ext=cc
89299 ac_cpp='$CXXCPP $CPPFLAGS'
89300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89303
89304       cat >conftest.$ac_ext <<_ACEOF
89305 /* confdefs.h.  */
89306 _ACEOF
89307 cat confdefs.h >>conftest.$ac_ext
89308 cat >>conftest.$ac_ext <<_ACEOF
89309 /* end confdefs.h.  */
89310 #include <math.h>
89311                       #ifdef HAVE_IEEEFP_H
89312                       #include <ieeefp.h>
89313                       #endif
89314
89315 int
89316 main ()
89317 {
89318  finite(0);
89319   ;
89320   return 0;
89321 }
89322 _ACEOF
89323 rm -f conftest.$ac_objext
89324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89325   (eval $ac_compile) 2>conftest.er1
89326   ac_status=$?
89327   grep -v '^ *+' conftest.er1 >conftest.err
89328   rm -f conftest.er1
89329   cat conftest.err >&5
89330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89331   (exit $ac_status); } &&
89332          { ac_try='test -z "$ac_cxx_werror_flag"
89333                          || test ! -s conftest.err'
89334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89335   (eval $ac_try) 2>&5
89336   ac_status=$?
89337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89338   (exit $ac_status); }; } &&
89339          { ac_try='test -s conftest.$ac_objext'
89340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89341   (eval $ac_try) 2>&5
89342   ac_status=$?
89343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89344   (exit $ac_status); }; }; then
89345   glibcxx_cv_func_finite_use=yes
89346 else
89347   echo "$as_me: failed program was:" >&5
89348 sed 's/^/| /' conftest.$ac_ext >&5
89349
89350 glibcxx_cv_func_finite_use=no
89351 fi
89352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89353       ac_ext=c
89354 ac_cpp='$CPP $CPPFLAGS'
89355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89358
89359
89360 fi
89361
89362   fi
89363   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
89364 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
89365
89366   if test x$glibcxx_cv_func_finite_use = x"yes"; then
89367
89368 for ac_func in finite
89369 do
89370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89371 echo "$as_me:$LINENO: checking for $ac_func" >&5
89372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89373 if eval "test \"\${$as_ac_var+set}\" = set"; then
89374   echo $ECHO_N "(cached) $ECHO_C" >&6
89375 else
89376   if test x$gcc_no_link = xyes; then
89377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89379    { (exit 1); exit 1; }; }
89380 fi
89381 cat >conftest.$ac_ext <<_ACEOF
89382 /* confdefs.h.  */
89383 _ACEOF
89384 cat confdefs.h >>conftest.$ac_ext
89385 cat >>conftest.$ac_ext <<_ACEOF
89386 /* end confdefs.h.  */
89387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89389 #define $ac_func innocuous_$ac_func
89390
89391 /* System header to define __stub macros and hopefully few prototypes,
89392     which can conflict with char $ac_func (); below.
89393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89394     <limits.h> exists even on freestanding compilers.  */
89395
89396 #ifdef __STDC__
89397 # include <limits.h>
89398 #else
89399 # include <assert.h>
89400 #endif
89401
89402 #undef $ac_func
89403
89404 /* Override any gcc2 internal prototype to avoid an error.  */
89405 #ifdef __cplusplus
89406 extern "C"
89407 {
89408 #endif
89409 /* We use char because int might match the return type of a gcc2
89410    builtin and then its argument prototype would still apply.  */
89411 char $ac_func ();
89412 /* The GNU C library defines this for functions which it implements
89413     to always fail with ENOSYS.  Some functions are actually named
89414     something starting with __ and the normal name is an alias.  */
89415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89416 choke me
89417 #else
89418 char (*f) () = $ac_func;
89419 #endif
89420 #ifdef __cplusplus
89421 }
89422 #endif
89423
89424 int
89425 main ()
89426 {
89427 return f != $ac_func;
89428   ;
89429   return 0;
89430 }
89431 _ACEOF
89432 rm -f conftest.$ac_objext conftest$ac_exeext
89433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89434   (eval $ac_link) 2>conftest.er1
89435   ac_status=$?
89436   grep -v '^ *+' conftest.er1 >conftest.err
89437   rm -f conftest.er1
89438   cat conftest.err >&5
89439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89440   (exit $ac_status); } &&
89441          { ac_try='test -z "$ac_c_werror_flag"
89442                          || test ! -s conftest.err'
89443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89444   (eval $ac_try) 2>&5
89445   ac_status=$?
89446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89447   (exit $ac_status); }; } &&
89448          { ac_try='test -s conftest$ac_exeext'
89449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89450   (eval $ac_try) 2>&5
89451   ac_status=$?
89452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89453   (exit $ac_status); }; }; then
89454   eval "$as_ac_var=yes"
89455 else
89456   echo "$as_me: failed program was:" >&5
89457 sed 's/^/| /' conftest.$ac_ext >&5
89458
89459 eval "$as_ac_var=no"
89460 fi
89461 rm -f conftest.err conftest.$ac_objext \
89462       conftest$ac_exeext conftest.$ac_ext
89463 fi
89464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89466 if test `eval echo '${'$as_ac_var'}'` = yes; then
89467   cat >>confdefs.h <<_ACEOF
89468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89469 _ACEOF
89470
89471 fi
89472 done
89473
89474   else
89475
89476   echo "$as_me:$LINENO: checking for _finite declaration" >&5
89477 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
89478   if test x${glibcxx_cv_func__finite_use+set} != xset; then
89479     if test "${glibcxx_cv_func__finite_use+set}" = set; then
89480   echo $ECHO_N "(cached) $ECHO_C" >&6
89481 else
89482
89483
89484
89485       ac_ext=cc
89486 ac_cpp='$CXXCPP $CPPFLAGS'
89487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89490
89491       cat >conftest.$ac_ext <<_ACEOF
89492 /* confdefs.h.  */
89493 _ACEOF
89494 cat confdefs.h >>conftest.$ac_ext
89495 cat >>conftest.$ac_ext <<_ACEOF
89496 /* end confdefs.h.  */
89497 #include <math.h>
89498                       #ifdef HAVE_IEEEFP_H
89499                       #include <ieeefp.h>
89500                       #endif
89501
89502 int
89503 main ()
89504 {
89505  _finite(0);
89506   ;
89507   return 0;
89508 }
89509 _ACEOF
89510 rm -f conftest.$ac_objext
89511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89512   (eval $ac_compile) 2>conftest.er1
89513   ac_status=$?
89514   grep -v '^ *+' conftest.er1 >conftest.err
89515   rm -f conftest.er1
89516   cat conftest.err >&5
89517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89518   (exit $ac_status); } &&
89519          { ac_try='test -z "$ac_cxx_werror_flag"
89520                          || test ! -s conftest.err'
89521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89522   (eval $ac_try) 2>&5
89523   ac_status=$?
89524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89525   (exit $ac_status); }; } &&
89526          { ac_try='test -s conftest.$ac_objext'
89527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89528   (eval $ac_try) 2>&5
89529   ac_status=$?
89530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89531   (exit $ac_status); }; }; then
89532   glibcxx_cv_func__finite_use=yes
89533 else
89534   echo "$as_me: failed program was:" >&5
89535 sed 's/^/| /' conftest.$ac_ext >&5
89536
89537 glibcxx_cv_func__finite_use=no
89538 fi
89539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89540       ac_ext=c
89541 ac_cpp='$CPP $CPPFLAGS'
89542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89545
89546
89547 fi
89548
89549   fi
89550   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89551 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89552
89553     if test x$glibcxx_cv_func__finite_use = x"yes"; then
89554
89555 for ac_func in _finite
89556 do
89557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89558 echo "$as_me:$LINENO: checking for $ac_func" >&5
89559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89560 if eval "test \"\${$as_ac_var+set}\" = set"; then
89561   echo $ECHO_N "(cached) $ECHO_C" >&6
89562 else
89563   if test x$gcc_no_link = xyes; then
89564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89566    { (exit 1); exit 1; }; }
89567 fi
89568 cat >conftest.$ac_ext <<_ACEOF
89569 /* confdefs.h.  */
89570 _ACEOF
89571 cat confdefs.h >>conftest.$ac_ext
89572 cat >>conftest.$ac_ext <<_ACEOF
89573 /* end confdefs.h.  */
89574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89576 #define $ac_func innocuous_$ac_func
89577
89578 /* System header to define __stub macros and hopefully few prototypes,
89579     which can conflict with char $ac_func (); below.
89580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89581     <limits.h> exists even on freestanding compilers.  */
89582
89583 #ifdef __STDC__
89584 # include <limits.h>
89585 #else
89586 # include <assert.h>
89587 #endif
89588
89589 #undef $ac_func
89590
89591 /* Override any gcc2 internal prototype to avoid an error.  */
89592 #ifdef __cplusplus
89593 extern "C"
89594 {
89595 #endif
89596 /* We use char because int might match the return type of a gcc2
89597    builtin and then its argument prototype would still apply.  */
89598 char $ac_func ();
89599 /* The GNU C library defines this for functions which it implements
89600     to always fail with ENOSYS.  Some functions are actually named
89601     something starting with __ and the normal name is an alias.  */
89602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89603 choke me
89604 #else
89605 char (*f) () = $ac_func;
89606 #endif
89607 #ifdef __cplusplus
89608 }
89609 #endif
89610
89611 int
89612 main ()
89613 {
89614 return f != $ac_func;
89615   ;
89616   return 0;
89617 }
89618 _ACEOF
89619 rm -f conftest.$ac_objext conftest$ac_exeext
89620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89621   (eval $ac_link) 2>conftest.er1
89622   ac_status=$?
89623   grep -v '^ *+' conftest.er1 >conftest.err
89624   rm -f conftest.er1
89625   cat conftest.err >&5
89626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89627   (exit $ac_status); } &&
89628          { ac_try='test -z "$ac_c_werror_flag"
89629                          || test ! -s conftest.err'
89630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89631   (eval $ac_try) 2>&5
89632   ac_status=$?
89633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634   (exit $ac_status); }; } &&
89635          { ac_try='test -s conftest$ac_exeext'
89636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89637   (eval $ac_try) 2>&5
89638   ac_status=$?
89639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89640   (exit $ac_status); }; }; then
89641   eval "$as_ac_var=yes"
89642 else
89643   echo "$as_me: failed program was:" >&5
89644 sed 's/^/| /' conftest.$ac_ext >&5
89645
89646 eval "$as_ac_var=no"
89647 fi
89648 rm -f conftest.err conftest.$ac_objext \
89649       conftest$ac_exeext conftest.$ac_ext
89650 fi
89651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89653 if test `eval echo '${'$as_ac_var'}'` = yes; then
89654   cat >>confdefs.h <<_ACEOF
89655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89656 _ACEOF
89657
89658 fi
89659 done
89660
89661     fi
89662   fi
89663
89664
89665
89666
89667
89668
89669   echo "$as_me:$LINENO: checking for copysign declaration" >&5
89670 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89671   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89672     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89673   echo $ECHO_N "(cached) $ECHO_C" >&6
89674 else
89675
89676
89677
89678       ac_ext=cc
89679 ac_cpp='$CXXCPP $CPPFLAGS'
89680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89683
89684       cat >conftest.$ac_ext <<_ACEOF
89685 /* confdefs.h.  */
89686 _ACEOF
89687 cat confdefs.h >>conftest.$ac_ext
89688 cat >>conftest.$ac_ext <<_ACEOF
89689 /* end confdefs.h.  */
89690 #include <math.h>
89691 int
89692 main ()
89693 {
89694  copysign(0, 0);
89695   ;
89696   return 0;
89697 }
89698 _ACEOF
89699 rm -f conftest.$ac_objext
89700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89701   (eval $ac_compile) 2>conftest.er1
89702   ac_status=$?
89703   grep -v '^ *+' conftest.er1 >conftest.err
89704   rm -f conftest.er1
89705   cat conftest.err >&5
89706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89707   (exit $ac_status); } &&
89708          { ac_try='test -z "$ac_cxx_werror_flag"
89709                          || test ! -s conftest.err'
89710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89711   (eval $ac_try) 2>&5
89712   ac_status=$?
89713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89714   (exit $ac_status); }; } &&
89715          { ac_try='test -s conftest.$ac_objext'
89716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89717   (eval $ac_try) 2>&5
89718   ac_status=$?
89719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89720   (exit $ac_status); }; }; then
89721   glibcxx_cv_func_copysign_use=yes
89722 else
89723   echo "$as_me: failed program was:" >&5
89724 sed 's/^/| /' conftest.$ac_ext >&5
89725
89726 glibcxx_cv_func_copysign_use=no
89727 fi
89728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89729       ac_ext=c
89730 ac_cpp='$CPP $CPPFLAGS'
89731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89734
89735
89736 fi
89737
89738   fi
89739   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89740 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89741
89742   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89743
89744 for ac_func in copysign
89745 do
89746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89747 echo "$as_me:$LINENO: checking for $ac_func" >&5
89748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89749 if eval "test \"\${$as_ac_var+set}\" = set"; then
89750   echo $ECHO_N "(cached) $ECHO_C" >&6
89751 else
89752   if test x$gcc_no_link = xyes; then
89753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89755    { (exit 1); exit 1; }; }
89756 fi
89757 cat >conftest.$ac_ext <<_ACEOF
89758 /* confdefs.h.  */
89759 _ACEOF
89760 cat confdefs.h >>conftest.$ac_ext
89761 cat >>conftest.$ac_ext <<_ACEOF
89762 /* end confdefs.h.  */
89763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89765 #define $ac_func innocuous_$ac_func
89766
89767 /* System header to define __stub macros and hopefully few prototypes,
89768     which can conflict with char $ac_func (); below.
89769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89770     <limits.h> exists even on freestanding compilers.  */
89771
89772 #ifdef __STDC__
89773 # include <limits.h>
89774 #else
89775 # include <assert.h>
89776 #endif
89777
89778 #undef $ac_func
89779
89780 /* Override any gcc2 internal prototype to avoid an error.  */
89781 #ifdef __cplusplus
89782 extern "C"
89783 {
89784 #endif
89785 /* We use char because int might match the return type of a gcc2
89786    builtin and then its argument prototype would still apply.  */
89787 char $ac_func ();
89788 /* The GNU C library defines this for functions which it implements
89789     to always fail with ENOSYS.  Some functions are actually named
89790     something starting with __ and the normal name is an alias.  */
89791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89792 choke me
89793 #else
89794 char (*f) () = $ac_func;
89795 #endif
89796 #ifdef __cplusplus
89797 }
89798 #endif
89799
89800 int
89801 main ()
89802 {
89803 return f != $ac_func;
89804   ;
89805   return 0;
89806 }
89807 _ACEOF
89808 rm -f conftest.$ac_objext conftest$ac_exeext
89809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89810   (eval $ac_link) 2>conftest.er1
89811   ac_status=$?
89812   grep -v '^ *+' conftest.er1 >conftest.err
89813   rm -f conftest.er1
89814   cat conftest.err >&5
89815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89816   (exit $ac_status); } &&
89817          { ac_try='test -z "$ac_c_werror_flag"
89818                          || test ! -s conftest.err'
89819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89820   (eval $ac_try) 2>&5
89821   ac_status=$?
89822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89823   (exit $ac_status); }; } &&
89824          { ac_try='test -s conftest$ac_exeext'
89825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89826   (eval $ac_try) 2>&5
89827   ac_status=$?
89828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89829   (exit $ac_status); }; }; then
89830   eval "$as_ac_var=yes"
89831 else
89832   echo "$as_me: failed program was:" >&5
89833 sed 's/^/| /' conftest.$ac_ext >&5
89834
89835 eval "$as_ac_var=no"
89836 fi
89837 rm -f conftest.err conftest.$ac_objext \
89838       conftest$ac_exeext conftest.$ac_ext
89839 fi
89840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89842 if test `eval echo '${'$as_ac_var'}'` = yes; then
89843   cat >>confdefs.h <<_ACEOF
89844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89845 _ACEOF
89846
89847 fi
89848 done
89849
89850   else
89851
89852   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89853 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89854   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89855     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89856   echo $ECHO_N "(cached) $ECHO_C" >&6
89857 else
89858
89859
89860
89861       ac_ext=cc
89862 ac_cpp='$CXXCPP $CPPFLAGS'
89863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89866
89867       cat >conftest.$ac_ext <<_ACEOF
89868 /* confdefs.h.  */
89869 _ACEOF
89870 cat confdefs.h >>conftest.$ac_ext
89871 cat >>conftest.$ac_ext <<_ACEOF
89872 /* end confdefs.h.  */
89873 #include <math.h>
89874 int
89875 main ()
89876 {
89877  _copysign(0, 0);
89878   ;
89879   return 0;
89880 }
89881 _ACEOF
89882 rm -f conftest.$ac_objext
89883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89884   (eval $ac_compile) 2>conftest.er1
89885   ac_status=$?
89886   grep -v '^ *+' conftest.er1 >conftest.err
89887   rm -f conftest.er1
89888   cat conftest.err >&5
89889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89890   (exit $ac_status); } &&
89891          { ac_try='test -z "$ac_cxx_werror_flag"
89892                          || test ! -s conftest.err'
89893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89894   (eval $ac_try) 2>&5
89895   ac_status=$?
89896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89897   (exit $ac_status); }; } &&
89898          { ac_try='test -s conftest.$ac_objext'
89899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89900   (eval $ac_try) 2>&5
89901   ac_status=$?
89902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89903   (exit $ac_status); }; }; then
89904   glibcxx_cv_func__copysign_use=yes
89905 else
89906   echo "$as_me: failed program was:" >&5
89907 sed 's/^/| /' conftest.$ac_ext >&5
89908
89909 glibcxx_cv_func__copysign_use=no
89910 fi
89911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89912       ac_ext=c
89913 ac_cpp='$CPP $CPPFLAGS'
89914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89917
89918
89919 fi
89920
89921   fi
89922   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89923 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89924
89925     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89926
89927 for ac_func in _copysign
89928 do
89929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89930 echo "$as_me:$LINENO: checking for $ac_func" >&5
89931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89932 if eval "test \"\${$as_ac_var+set}\" = set"; then
89933   echo $ECHO_N "(cached) $ECHO_C" >&6
89934 else
89935   if test x$gcc_no_link = xyes; then
89936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89938    { (exit 1); exit 1; }; }
89939 fi
89940 cat >conftest.$ac_ext <<_ACEOF
89941 /* confdefs.h.  */
89942 _ACEOF
89943 cat confdefs.h >>conftest.$ac_ext
89944 cat >>conftest.$ac_ext <<_ACEOF
89945 /* end confdefs.h.  */
89946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89948 #define $ac_func innocuous_$ac_func
89949
89950 /* System header to define __stub macros and hopefully few prototypes,
89951     which can conflict with char $ac_func (); below.
89952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89953     <limits.h> exists even on freestanding compilers.  */
89954
89955 #ifdef __STDC__
89956 # include <limits.h>
89957 #else
89958 # include <assert.h>
89959 #endif
89960
89961 #undef $ac_func
89962
89963 /* Override any gcc2 internal prototype to avoid an error.  */
89964 #ifdef __cplusplus
89965 extern "C"
89966 {
89967 #endif
89968 /* We use char because int might match the return type of a gcc2
89969    builtin and then its argument prototype would still apply.  */
89970 char $ac_func ();
89971 /* The GNU C library defines this for functions which it implements
89972     to always fail with ENOSYS.  Some functions are actually named
89973     something starting with __ and the normal name is an alias.  */
89974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89975 choke me
89976 #else
89977 char (*f) () = $ac_func;
89978 #endif
89979 #ifdef __cplusplus
89980 }
89981 #endif
89982
89983 int
89984 main ()
89985 {
89986 return f != $ac_func;
89987   ;
89988   return 0;
89989 }
89990 _ACEOF
89991 rm -f conftest.$ac_objext conftest$ac_exeext
89992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89993   (eval $ac_link) 2>conftest.er1
89994   ac_status=$?
89995   grep -v '^ *+' conftest.er1 >conftest.err
89996   rm -f conftest.er1
89997   cat conftest.err >&5
89998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89999   (exit $ac_status); } &&
90000          { ac_try='test -z "$ac_c_werror_flag"
90001                          || test ! -s conftest.err'
90002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90003   (eval $ac_try) 2>&5
90004   ac_status=$?
90005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90006   (exit $ac_status); }; } &&
90007          { ac_try='test -s conftest$ac_exeext'
90008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90009   (eval $ac_try) 2>&5
90010   ac_status=$?
90011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90012   (exit $ac_status); }; }; then
90013   eval "$as_ac_var=yes"
90014 else
90015   echo "$as_me: failed program was:" >&5
90016 sed 's/^/| /' conftest.$ac_ext >&5
90017
90018 eval "$as_ac_var=no"
90019 fi
90020 rm -f conftest.err conftest.$ac_objext \
90021       conftest$ac_exeext conftest.$ac_ext
90022 fi
90023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90025 if test `eval echo '${'$as_ac_var'}'` = yes; then
90026   cat >>confdefs.h <<_ACEOF
90027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90028 _ACEOF
90029
90030 fi
90031 done
90032
90033     fi
90034   fi
90035
90036
90037
90038
90039
90040
90041   echo "$as_me:$LINENO: checking for sincos declaration" >&5
90042 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
90043   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
90044     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
90045   echo $ECHO_N "(cached) $ECHO_C" >&6
90046 else
90047
90048
90049
90050       ac_ext=cc
90051 ac_cpp='$CXXCPP $CPPFLAGS'
90052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90055
90056       cat >conftest.$ac_ext <<_ACEOF
90057 /* confdefs.h.  */
90058 _ACEOF
90059 cat confdefs.h >>conftest.$ac_ext
90060 cat >>conftest.$ac_ext <<_ACEOF
90061 /* end confdefs.h.  */
90062 #include <math.h>
90063 int
90064 main ()
90065 {
90066  sincos(0, 0, 0);
90067   ;
90068   return 0;
90069 }
90070 _ACEOF
90071 rm -f conftest.$ac_objext
90072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90073   (eval $ac_compile) 2>conftest.er1
90074   ac_status=$?
90075   grep -v '^ *+' conftest.er1 >conftest.err
90076   rm -f conftest.er1
90077   cat conftest.err >&5
90078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90079   (exit $ac_status); } &&
90080          { ac_try='test -z "$ac_cxx_werror_flag"
90081                          || test ! -s conftest.err'
90082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90083   (eval $ac_try) 2>&5
90084   ac_status=$?
90085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90086   (exit $ac_status); }; } &&
90087          { ac_try='test -s conftest.$ac_objext'
90088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90089   (eval $ac_try) 2>&5
90090   ac_status=$?
90091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90092   (exit $ac_status); }; }; then
90093   glibcxx_cv_func_sincos_use=yes
90094 else
90095   echo "$as_me: failed program was:" >&5
90096 sed 's/^/| /' conftest.$ac_ext >&5
90097
90098 glibcxx_cv_func_sincos_use=no
90099 fi
90100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90101       ac_ext=c
90102 ac_cpp='$CPP $CPPFLAGS'
90103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90106
90107
90108 fi
90109
90110   fi
90111   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
90112 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
90113
90114   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
90115
90116 for ac_func in sincos
90117 do
90118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90119 echo "$as_me:$LINENO: checking for $ac_func" >&5
90120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90121 if eval "test \"\${$as_ac_var+set}\" = set"; then
90122   echo $ECHO_N "(cached) $ECHO_C" >&6
90123 else
90124   if test x$gcc_no_link = xyes; then
90125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90127    { (exit 1); exit 1; }; }
90128 fi
90129 cat >conftest.$ac_ext <<_ACEOF
90130 /* confdefs.h.  */
90131 _ACEOF
90132 cat confdefs.h >>conftest.$ac_ext
90133 cat >>conftest.$ac_ext <<_ACEOF
90134 /* end confdefs.h.  */
90135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90137 #define $ac_func innocuous_$ac_func
90138
90139 /* System header to define __stub macros and hopefully few prototypes,
90140     which can conflict with char $ac_func (); below.
90141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90142     <limits.h> exists even on freestanding compilers.  */
90143
90144 #ifdef __STDC__
90145 # include <limits.h>
90146 #else
90147 # include <assert.h>
90148 #endif
90149
90150 #undef $ac_func
90151
90152 /* Override any gcc2 internal prototype to avoid an error.  */
90153 #ifdef __cplusplus
90154 extern "C"
90155 {
90156 #endif
90157 /* We use char because int might match the return type of a gcc2
90158    builtin and then its argument prototype would still apply.  */
90159 char $ac_func ();
90160 /* The GNU C library defines this for functions which it implements
90161     to always fail with ENOSYS.  Some functions are actually named
90162     something starting with __ and the normal name is an alias.  */
90163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90164 choke me
90165 #else
90166 char (*f) () = $ac_func;
90167 #endif
90168 #ifdef __cplusplus
90169 }
90170 #endif
90171
90172 int
90173 main ()
90174 {
90175 return f != $ac_func;
90176   ;
90177   return 0;
90178 }
90179 _ACEOF
90180 rm -f conftest.$ac_objext conftest$ac_exeext
90181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90182   (eval $ac_link) 2>conftest.er1
90183   ac_status=$?
90184   grep -v '^ *+' conftest.er1 >conftest.err
90185   rm -f conftest.er1
90186   cat conftest.err >&5
90187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188   (exit $ac_status); } &&
90189          { ac_try='test -z "$ac_c_werror_flag"
90190                          || test ! -s conftest.err'
90191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90192   (eval $ac_try) 2>&5
90193   ac_status=$?
90194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90195   (exit $ac_status); }; } &&
90196          { ac_try='test -s conftest$ac_exeext'
90197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90198   (eval $ac_try) 2>&5
90199   ac_status=$?
90200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90201   (exit $ac_status); }; }; then
90202   eval "$as_ac_var=yes"
90203 else
90204   echo "$as_me: failed program was:" >&5
90205 sed 's/^/| /' conftest.$ac_ext >&5
90206
90207 eval "$as_ac_var=no"
90208 fi
90209 rm -f conftest.err conftest.$ac_objext \
90210       conftest$ac_exeext conftest.$ac_ext
90211 fi
90212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90214 if test `eval echo '${'$as_ac_var'}'` = yes; then
90215   cat >>confdefs.h <<_ACEOF
90216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90217 _ACEOF
90218
90219 fi
90220 done
90221
90222   else
90223
90224   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
90225 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
90226   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
90227     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
90228   echo $ECHO_N "(cached) $ECHO_C" >&6
90229 else
90230
90231
90232
90233       ac_ext=cc
90234 ac_cpp='$CXXCPP $CPPFLAGS'
90235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90238
90239       cat >conftest.$ac_ext <<_ACEOF
90240 /* confdefs.h.  */
90241 _ACEOF
90242 cat confdefs.h >>conftest.$ac_ext
90243 cat >>conftest.$ac_ext <<_ACEOF
90244 /* end confdefs.h.  */
90245 #include <math.h>
90246 int
90247 main ()
90248 {
90249  _sincos(0, 0, 0);
90250   ;
90251   return 0;
90252 }
90253 _ACEOF
90254 rm -f conftest.$ac_objext
90255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90256   (eval $ac_compile) 2>conftest.er1
90257   ac_status=$?
90258   grep -v '^ *+' conftest.er1 >conftest.err
90259   rm -f conftest.er1
90260   cat conftest.err >&5
90261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90262   (exit $ac_status); } &&
90263          { ac_try='test -z "$ac_cxx_werror_flag"
90264                          || test ! -s conftest.err'
90265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266   (eval $ac_try) 2>&5
90267   ac_status=$?
90268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269   (exit $ac_status); }; } &&
90270          { ac_try='test -s conftest.$ac_objext'
90271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90272   (eval $ac_try) 2>&5
90273   ac_status=$?
90274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275   (exit $ac_status); }; }; then
90276   glibcxx_cv_func__sincos_use=yes
90277 else
90278   echo "$as_me: failed program was:" >&5
90279 sed 's/^/| /' conftest.$ac_ext >&5
90280
90281 glibcxx_cv_func__sincos_use=no
90282 fi
90283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90284       ac_ext=c
90285 ac_cpp='$CPP $CPPFLAGS'
90286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90289
90290
90291 fi
90292
90293   fi
90294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
90295 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
90296
90297     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
90298
90299 for ac_func in _sincos
90300 do
90301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90302 echo "$as_me:$LINENO: checking for $ac_func" >&5
90303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90304 if eval "test \"\${$as_ac_var+set}\" = set"; then
90305   echo $ECHO_N "(cached) $ECHO_C" >&6
90306 else
90307   if test x$gcc_no_link = xyes; then
90308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90310    { (exit 1); exit 1; }; }
90311 fi
90312 cat >conftest.$ac_ext <<_ACEOF
90313 /* confdefs.h.  */
90314 _ACEOF
90315 cat confdefs.h >>conftest.$ac_ext
90316 cat >>conftest.$ac_ext <<_ACEOF
90317 /* end confdefs.h.  */
90318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90320 #define $ac_func innocuous_$ac_func
90321
90322 /* System header to define __stub macros and hopefully few prototypes,
90323     which can conflict with char $ac_func (); below.
90324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90325     <limits.h> exists even on freestanding compilers.  */
90326
90327 #ifdef __STDC__
90328 # include <limits.h>
90329 #else
90330 # include <assert.h>
90331 #endif
90332
90333 #undef $ac_func
90334
90335 /* Override any gcc2 internal prototype to avoid an error.  */
90336 #ifdef __cplusplus
90337 extern "C"
90338 {
90339 #endif
90340 /* We use char because int might match the return type of a gcc2
90341    builtin and then its argument prototype would still apply.  */
90342 char $ac_func ();
90343 /* The GNU C library defines this for functions which it implements
90344     to always fail with ENOSYS.  Some functions are actually named
90345     something starting with __ and the normal name is an alias.  */
90346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90347 choke me
90348 #else
90349 char (*f) () = $ac_func;
90350 #endif
90351 #ifdef __cplusplus
90352 }
90353 #endif
90354
90355 int
90356 main ()
90357 {
90358 return f != $ac_func;
90359   ;
90360   return 0;
90361 }
90362 _ACEOF
90363 rm -f conftest.$ac_objext conftest$ac_exeext
90364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90365   (eval $ac_link) 2>conftest.er1
90366   ac_status=$?
90367   grep -v '^ *+' conftest.er1 >conftest.err
90368   rm -f conftest.er1
90369   cat conftest.err >&5
90370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371   (exit $ac_status); } &&
90372          { ac_try='test -z "$ac_c_werror_flag"
90373                          || test ! -s conftest.err'
90374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375   (eval $ac_try) 2>&5
90376   ac_status=$?
90377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378   (exit $ac_status); }; } &&
90379          { ac_try='test -s conftest$ac_exeext'
90380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381   (eval $ac_try) 2>&5
90382   ac_status=$?
90383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384   (exit $ac_status); }; }; then
90385   eval "$as_ac_var=yes"
90386 else
90387   echo "$as_me: failed program was:" >&5
90388 sed 's/^/| /' conftest.$ac_ext >&5
90389
90390 eval "$as_ac_var=no"
90391 fi
90392 rm -f conftest.err conftest.$ac_objext \
90393       conftest$ac_exeext conftest.$ac_ext
90394 fi
90395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90397 if test `eval echo '${'$as_ac_var'}'` = yes; then
90398   cat >>confdefs.h <<_ACEOF
90399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90400 _ACEOF
90401
90402 fi
90403 done
90404
90405     fi
90406   fi
90407
90408
90409
90410
90411
90412
90413   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
90414 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
90415   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
90416     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
90417   echo $ECHO_N "(cached) $ECHO_C" >&6
90418 else
90419
90420
90421
90422       ac_ext=cc
90423 ac_cpp='$CXXCPP $CPPFLAGS'
90424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90427
90428       cat >conftest.$ac_ext <<_ACEOF
90429 /* confdefs.h.  */
90430 _ACEOF
90431 cat confdefs.h >>conftest.$ac_ext
90432 cat >>conftest.$ac_ext <<_ACEOF
90433 /* end confdefs.h.  */
90434 #include <math.h>
90435                       #ifdef HAVE_IEEEFP_H
90436                       #include <ieeefp.h>
90437                       #endif
90438
90439 int
90440 main ()
90441 {
90442  fpclass(0);
90443   ;
90444   return 0;
90445 }
90446 _ACEOF
90447 rm -f conftest.$ac_objext
90448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90449   (eval $ac_compile) 2>conftest.er1
90450   ac_status=$?
90451   grep -v '^ *+' conftest.er1 >conftest.err
90452   rm -f conftest.er1
90453   cat conftest.err >&5
90454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90455   (exit $ac_status); } &&
90456          { ac_try='test -z "$ac_cxx_werror_flag"
90457                          || test ! -s conftest.err'
90458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90459   (eval $ac_try) 2>&5
90460   ac_status=$?
90461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90462   (exit $ac_status); }; } &&
90463          { ac_try='test -s conftest.$ac_objext'
90464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90465   (eval $ac_try) 2>&5
90466   ac_status=$?
90467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90468   (exit $ac_status); }; }; then
90469   glibcxx_cv_func_fpclass_use=yes
90470 else
90471   echo "$as_me: failed program was:" >&5
90472 sed 's/^/| /' conftest.$ac_ext >&5
90473
90474 glibcxx_cv_func_fpclass_use=no
90475 fi
90476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90477       ac_ext=c
90478 ac_cpp='$CPP $CPPFLAGS'
90479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90482
90483
90484 fi
90485
90486   fi
90487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
90488 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
90489
90490   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
90491
90492 for ac_func in fpclass
90493 do
90494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90495 echo "$as_me:$LINENO: checking for $ac_func" >&5
90496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90497 if eval "test \"\${$as_ac_var+set}\" = set"; then
90498   echo $ECHO_N "(cached) $ECHO_C" >&6
90499 else
90500   if test x$gcc_no_link = xyes; then
90501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90503    { (exit 1); exit 1; }; }
90504 fi
90505 cat >conftest.$ac_ext <<_ACEOF
90506 /* confdefs.h.  */
90507 _ACEOF
90508 cat confdefs.h >>conftest.$ac_ext
90509 cat >>conftest.$ac_ext <<_ACEOF
90510 /* end confdefs.h.  */
90511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90513 #define $ac_func innocuous_$ac_func
90514
90515 /* System header to define __stub macros and hopefully few prototypes,
90516     which can conflict with char $ac_func (); below.
90517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90518     <limits.h> exists even on freestanding compilers.  */
90519
90520 #ifdef __STDC__
90521 # include <limits.h>
90522 #else
90523 # include <assert.h>
90524 #endif
90525
90526 #undef $ac_func
90527
90528 /* Override any gcc2 internal prototype to avoid an error.  */
90529 #ifdef __cplusplus
90530 extern "C"
90531 {
90532 #endif
90533 /* We use char because int might match the return type of a gcc2
90534    builtin and then its argument prototype would still apply.  */
90535 char $ac_func ();
90536 /* The GNU C library defines this for functions which it implements
90537     to always fail with ENOSYS.  Some functions are actually named
90538     something starting with __ and the normal name is an alias.  */
90539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90540 choke me
90541 #else
90542 char (*f) () = $ac_func;
90543 #endif
90544 #ifdef __cplusplus
90545 }
90546 #endif
90547
90548 int
90549 main ()
90550 {
90551 return f != $ac_func;
90552   ;
90553   return 0;
90554 }
90555 _ACEOF
90556 rm -f conftest.$ac_objext conftest$ac_exeext
90557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90558   (eval $ac_link) 2>conftest.er1
90559   ac_status=$?
90560   grep -v '^ *+' conftest.er1 >conftest.err
90561   rm -f conftest.er1
90562   cat conftest.err >&5
90563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90564   (exit $ac_status); } &&
90565          { ac_try='test -z "$ac_c_werror_flag"
90566                          || test ! -s conftest.err'
90567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568   (eval $ac_try) 2>&5
90569   ac_status=$?
90570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571   (exit $ac_status); }; } &&
90572          { ac_try='test -s conftest$ac_exeext'
90573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90574   (eval $ac_try) 2>&5
90575   ac_status=$?
90576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90577   (exit $ac_status); }; }; then
90578   eval "$as_ac_var=yes"
90579 else
90580   echo "$as_me: failed program was:" >&5
90581 sed 's/^/| /' conftest.$ac_ext >&5
90582
90583 eval "$as_ac_var=no"
90584 fi
90585 rm -f conftest.err conftest.$ac_objext \
90586       conftest$ac_exeext conftest.$ac_ext
90587 fi
90588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90590 if test `eval echo '${'$as_ac_var'}'` = yes; then
90591   cat >>confdefs.h <<_ACEOF
90592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90593 _ACEOF
90594
90595 fi
90596 done
90597
90598   else
90599
90600   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90601 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90602   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90603     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90604   echo $ECHO_N "(cached) $ECHO_C" >&6
90605 else
90606
90607
90608
90609       ac_ext=cc
90610 ac_cpp='$CXXCPP $CPPFLAGS'
90611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90614
90615       cat >conftest.$ac_ext <<_ACEOF
90616 /* confdefs.h.  */
90617 _ACEOF
90618 cat confdefs.h >>conftest.$ac_ext
90619 cat >>conftest.$ac_ext <<_ACEOF
90620 /* end confdefs.h.  */
90621 #include <math.h>
90622                       #ifdef HAVE_IEEEFP_H
90623                       #include <ieeefp.h>
90624                       #endif
90625
90626 int
90627 main ()
90628 {
90629  _fpclass(0);
90630   ;
90631   return 0;
90632 }
90633 _ACEOF
90634 rm -f conftest.$ac_objext
90635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90636   (eval $ac_compile) 2>conftest.er1
90637   ac_status=$?
90638   grep -v '^ *+' conftest.er1 >conftest.err
90639   rm -f conftest.er1
90640   cat conftest.err >&5
90641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90642   (exit $ac_status); } &&
90643          { ac_try='test -z "$ac_cxx_werror_flag"
90644                          || test ! -s conftest.err'
90645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90646   (eval $ac_try) 2>&5
90647   ac_status=$?
90648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90649   (exit $ac_status); }; } &&
90650          { ac_try='test -s conftest.$ac_objext'
90651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90652   (eval $ac_try) 2>&5
90653   ac_status=$?
90654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90655   (exit $ac_status); }; }; then
90656   glibcxx_cv_func__fpclass_use=yes
90657 else
90658   echo "$as_me: failed program was:" >&5
90659 sed 's/^/| /' conftest.$ac_ext >&5
90660
90661 glibcxx_cv_func__fpclass_use=no
90662 fi
90663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90664       ac_ext=c
90665 ac_cpp='$CPP $CPPFLAGS'
90666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90669
90670
90671 fi
90672
90673   fi
90674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90675 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90676
90677     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90678
90679 for ac_func in _fpclass
90680 do
90681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90682 echo "$as_me:$LINENO: checking for $ac_func" >&5
90683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90684 if eval "test \"\${$as_ac_var+set}\" = set"; then
90685   echo $ECHO_N "(cached) $ECHO_C" >&6
90686 else
90687   if test x$gcc_no_link = xyes; then
90688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90690    { (exit 1); exit 1; }; }
90691 fi
90692 cat >conftest.$ac_ext <<_ACEOF
90693 /* confdefs.h.  */
90694 _ACEOF
90695 cat confdefs.h >>conftest.$ac_ext
90696 cat >>conftest.$ac_ext <<_ACEOF
90697 /* end confdefs.h.  */
90698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90700 #define $ac_func innocuous_$ac_func
90701
90702 /* System header to define __stub macros and hopefully few prototypes,
90703     which can conflict with char $ac_func (); below.
90704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90705     <limits.h> exists even on freestanding compilers.  */
90706
90707 #ifdef __STDC__
90708 # include <limits.h>
90709 #else
90710 # include <assert.h>
90711 #endif
90712
90713 #undef $ac_func
90714
90715 /* Override any gcc2 internal prototype to avoid an error.  */
90716 #ifdef __cplusplus
90717 extern "C"
90718 {
90719 #endif
90720 /* We use char because int might match the return type of a gcc2
90721    builtin and then its argument prototype would still apply.  */
90722 char $ac_func ();
90723 /* The GNU C library defines this for functions which it implements
90724     to always fail with ENOSYS.  Some functions are actually named
90725     something starting with __ and the normal name is an alias.  */
90726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90727 choke me
90728 #else
90729 char (*f) () = $ac_func;
90730 #endif
90731 #ifdef __cplusplus
90732 }
90733 #endif
90734
90735 int
90736 main ()
90737 {
90738 return f != $ac_func;
90739   ;
90740   return 0;
90741 }
90742 _ACEOF
90743 rm -f conftest.$ac_objext conftest$ac_exeext
90744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90745   (eval $ac_link) 2>conftest.er1
90746   ac_status=$?
90747   grep -v '^ *+' conftest.er1 >conftest.err
90748   rm -f conftest.er1
90749   cat conftest.err >&5
90750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90751   (exit $ac_status); } &&
90752          { ac_try='test -z "$ac_c_werror_flag"
90753                          || test ! -s conftest.err'
90754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90755   (eval $ac_try) 2>&5
90756   ac_status=$?
90757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90758   (exit $ac_status); }; } &&
90759          { ac_try='test -s conftest$ac_exeext'
90760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90761   (eval $ac_try) 2>&5
90762   ac_status=$?
90763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90764   (exit $ac_status); }; }; then
90765   eval "$as_ac_var=yes"
90766 else
90767   echo "$as_me: failed program was:" >&5
90768 sed 's/^/| /' conftest.$ac_ext >&5
90769
90770 eval "$as_ac_var=no"
90771 fi
90772 rm -f conftest.err conftest.$ac_objext \
90773       conftest$ac_exeext conftest.$ac_ext
90774 fi
90775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90777 if test `eval echo '${'$as_ac_var'}'` = yes; then
90778   cat >>confdefs.h <<_ACEOF
90779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90780 _ACEOF
90781
90782 fi
90783 done
90784
90785     fi
90786   fi
90787
90788
90789
90790
90791
90792
90793   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90794 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90795   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90796     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90797   echo $ECHO_N "(cached) $ECHO_C" >&6
90798 else
90799
90800
90801
90802       ac_ext=cc
90803 ac_cpp='$CXXCPP $CPPFLAGS'
90804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90807
90808       cat >conftest.$ac_ext <<_ACEOF
90809 /* confdefs.h.  */
90810 _ACEOF
90811 cat confdefs.h >>conftest.$ac_ext
90812 cat >>conftest.$ac_ext <<_ACEOF
90813 /* end confdefs.h.  */
90814 #include <math.h>
90815                       #ifdef HAVE_IEEEFP_H
90816                       #include <ieeefp.h>
90817                       #endif
90818
90819 int
90820 main ()
90821 {
90822  qfpclass(0);
90823   ;
90824   return 0;
90825 }
90826 _ACEOF
90827 rm -f conftest.$ac_objext
90828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90829   (eval $ac_compile) 2>conftest.er1
90830   ac_status=$?
90831   grep -v '^ *+' conftest.er1 >conftest.err
90832   rm -f conftest.er1
90833   cat conftest.err >&5
90834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835   (exit $ac_status); } &&
90836          { ac_try='test -z "$ac_cxx_werror_flag"
90837                          || test ! -s conftest.err'
90838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90839   (eval $ac_try) 2>&5
90840   ac_status=$?
90841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90842   (exit $ac_status); }; } &&
90843          { ac_try='test -s conftest.$ac_objext'
90844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90845   (eval $ac_try) 2>&5
90846   ac_status=$?
90847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90848   (exit $ac_status); }; }; then
90849   glibcxx_cv_func_qfpclass_use=yes
90850 else
90851   echo "$as_me: failed program was:" >&5
90852 sed 's/^/| /' conftest.$ac_ext >&5
90853
90854 glibcxx_cv_func_qfpclass_use=no
90855 fi
90856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90857       ac_ext=c
90858 ac_cpp='$CPP $CPPFLAGS'
90859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90862
90863
90864 fi
90865
90866   fi
90867   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90868 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90869
90870   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90871
90872 for ac_func in qfpclass
90873 do
90874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90875 echo "$as_me:$LINENO: checking for $ac_func" >&5
90876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90877 if eval "test \"\${$as_ac_var+set}\" = set"; then
90878   echo $ECHO_N "(cached) $ECHO_C" >&6
90879 else
90880   if test x$gcc_no_link = xyes; then
90881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90883    { (exit 1); exit 1; }; }
90884 fi
90885 cat >conftest.$ac_ext <<_ACEOF
90886 /* confdefs.h.  */
90887 _ACEOF
90888 cat confdefs.h >>conftest.$ac_ext
90889 cat >>conftest.$ac_ext <<_ACEOF
90890 /* end confdefs.h.  */
90891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90893 #define $ac_func innocuous_$ac_func
90894
90895 /* System header to define __stub macros and hopefully few prototypes,
90896     which can conflict with char $ac_func (); below.
90897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90898     <limits.h> exists even on freestanding compilers.  */
90899
90900 #ifdef __STDC__
90901 # include <limits.h>
90902 #else
90903 # include <assert.h>
90904 #endif
90905
90906 #undef $ac_func
90907
90908 /* Override any gcc2 internal prototype to avoid an error.  */
90909 #ifdef __cplusplus
90910 extern "C"
90911 {
90912 #endif
90913 /* We use char because int might match the return type of a gcc2
90914    builtin and then its argument prototype would still apply.  */
90915 char $ac_func ();
90916 /* The GNU C library defines this for functions which it implements
90917     to always fail with ENOSYS.  Some functions are actually named
90918     something starting with __ and the normal name is an alias.  */
90919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90920 choke me
90921 #else
90922 char (*f) () = $ac_func;
90923 #endif
90924 #ifdef __cplusplus
90925 }
90926 #endif
90927
90928 int
90929 main ()
90930 {
90931 return f != $ac_func;
90932   ;
90933   return 0;
90934 }
90935 _ACEOF
90936 rm -f conftest.$ac_objext conftest$ac_exeext
90937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90938   (eval $ac_link) 2>conftest.er1
90939   ac_status=$?
90940   grep -v '^ *+' conftest.er1 >conftest.err
90941   rm -f conftest.er1
90942   cat conftest.err >&5
90943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90944   (exit $ac_status); } &&
90945          { ac_try='test -z "$ac_c_werror_flag"
90946                          || test ! -s conftest.err'
90947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90948   (eval $ac_try) 2>&5
90949   ac_status=$?
90950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90951   (exit $ac_status); }; } &&
90952          { ac_try='test -s conftest$ac_exeext'
90953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90954   (eval $ac_try) 2>&5
90955   ac_status=$?
90956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90957   (exit $ac_status); }; }; then
90958   eval "$as_ac_var=yes"
90959 else
90960   echo "$as_me: failed program was:" >&5
90961 sed 's/^/| /' conftest.$ac_ext >&5
90962
90963 eval "$as_ac_var=no"
90964 fi
90965 rm -f conftest.err conftest.$ac_objext \
90966       conftest$ac_exeext conftest.$ac_ext
90967 fi
90968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90970 if test `eval echo '${'$as_ac_var'}'` = yes; then
90971   cat >>confdefs.h <<_ACEOF
90972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90973 _ACEOF
90974
90975 fi
90976 done
90977
90978   else
90979
90980   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90981 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90982   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90983     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90984   echo $ECHO_N "(cached) $ECHO_C" >&6
90985 else
90986
90987
90988
90989       ac_ext=cc
90990 ac_cpp='$CXXCPP $CPPFLAGS'
90991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90994
90995       cat >conftest.$ac_ext <<_ACEOF
90996 /* confdefs.h.  */
90997 _ACEOF
90998 cat confdefs.h >>conftest.$ac_ext
90999 cat >>conftest.$ac_ext <<_ACEOF
91000 /* end confdefs.h.  */
91001 #include <math.h>
91002                       #ifdef HAVE_IEEEFP_H
91003                       #include <ieeefp.h>
91004                       #endif
91005
91006 int
91007 main ()
91008 {
91009  _qfpclass(0);
91010   ;
91011   return 0;
91012 }
91013 _ACEOF
91014 rm -f conftest.$ac_objext
91015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91016   (eval $ac_compile) 2>conftest.er1
91017   ac_status=$?
91018   grep -v '^ *+' conftest.er1 >conftest.err
91019   rm -f conftest.er1
91020   cat conftest.err >&5
91021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91022   (exit $ac_status); } &&
91023          { ac_try='test -z "$ac_cxx_werror_flag"
91024                          || test ! -s conftest.err'
91025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91026   (eval $ac_try) 2>&5
91027   ac_status=$?
91028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91029   (exit $ac_status); }; } &&
91030          { ac_try='test -s conftest.$ac_objext'
91031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91032   (eval $ac_try) 2>&5
91033   ac_status=$?
91034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91035   (exit $ac_status); }; }; then
91036   glibcxx_cv_func__qfpclass_use=yes
91037 else
91038   echo "$as_me: failed program was:" >&5
91039 sed 's/^/| /' conftest.$ac_ext >&5
91040
91041 glibcxx_cv_func__qfpclass_use=no
91042 fi
91043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91044       ac_ext=c
91045 ac_cpp='$CPP $CPPFLAGS'
91046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91049
91050
91051 fi
91052
91053   fi
91054   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
91055 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
91056
91057     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
91058
91059 for ac_func in _qfpclass
91060 do
91061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91062 echo "$as_me:$LINENO: checking for $ac_func" >&5
91063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91064 if eval "test \"\${$as_ac_var+set}\" = set"; then
91065   echo $ECHO_N "(cached) $ECHO_C" >&6
91066 else
91067   if test x$gcc_no_link = xyes; then
91068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91070    { (exit 1); exit 1; }; }
91071 fi
91072 cat >conftest.$ac_ext <<_ACEOF
91073 /* confdefs.h.  */
91074 _ACEOF
91075 cat confdefs.h >>conftest.$ac_ext
91076 cat >>conftest.$ac_ext <<_ACEOF
91077 /* end confdefs.h.  */
91078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91080 #define $ac_func innocuous_$ac_func
91081
91082 /* System header to define __stub macros and hopefully few prototypes,
91083     which can conflict with char $ac_func (); below.
91084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91085     <limits.h> exists even on freestanding compilers.  */
91086
91087 #ifdef __STDC__
91088 # include <limits.h>
91089 #else
91090 # include <assert.h>
91091 #endif
91092
91093 #undef $ac_func
91094
91095 /* Override any gcc2 internal prototype to avoid an error.  */
91096 #ifdef __cplusplus
91097 extern "C"
91098 {
91099 #endif
91100 /* We use char because int might match the return type of a gcc2
91101    builtin and then its argument prototype would still apply.  */
91102 char $ac_func ();
91103 /* The GNU C library defines this for functions which it implements
91104     to always fail with ENOSYS.  Some functions are actually named
91105     something starting with __ and the normal name is an alias.  */
91106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91107 choke me
91108 #else
91109 char (*f) () = $ac_func;
91110 #endif
91111 #ifdef __cplusplus
91112 }
91113 #endif
91114
91115 int
91116 main ()
91117 {
91118 return f != $ac_func;
91119   ;
91120   return 0;
91121 }
91122 _ACEOF
91123 rm -f conftest.$ac_objext conftest$ac_exeext
91124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91125   (eval $ac_link) 2>conftest.er1
91126   ac_status=$?
91127   grep -v '^ *+' conftest.er1 >conftest.err
91128   rm -f conftest.er1
91129   cat conftest.err >&5
91130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91131   (exit $ac_status); } &&
91132          { ac_try='test -z "$ac_c_werror_flag"
91133                          || test ! -s conftest.err'
91134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91135   (eval $ac_try) 2>&5
91136   ac_status=$?
91137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91138   (exit $ac_status); }; } &&
91139          { ac_try='test -s conftest$ac_exeext'
91140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91141   (eval $ac_try) 2>&5
91142   ac_status=$?
91143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91144   (exit $ac_status); }; }; then
91145   eval "$as_ac_var=yes"
91146 else
91147   echo "$as_me: failed program was:" >&5
91148 sed 's/^/| /' conftest.$ac_ext >&5
91149
91150 eval "$as_ac_var=no"
91151 fi
91152 rm -f conftest.err conftest.$ac_objext \
91153       conftest$ac_exeext conftest.$ac_ext
91154 fi
91155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91157 if test `eval echo '${'$as_ac_var'}'` = yes; then
91158   cat >>confdefs.h <<_ACEOF
91159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91160 _ACEOF
91161
91162 fi
91163 done
91164
91165     fi
91166   fi
91167
91168
91169
91170
91171
91172
91173   echo "$as_me:$LINENO: checking for hypot declaration" >&5
91174 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
91175   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
91176     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
91177   echo $ECHO_N "(cached) $ECHO_C" >&6
91178 else
91179
91180
91181
91182       ac_ext=cc
91183 ac_cpp='$CXXCPP $CPPFLAGS'
91184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91187
91188       cat >conftest.$ac_ext <<_ACEOF
91189 /* confdefs.h.  */
91190 _ACEOF
91191 cat confdefs.h >>conftest.$ac_ext
91192 cat >>conftest.$ac_ext <<_ACEOF
91193 /* end confdefs.h.  */
91194 #include <math.h>
91195 int
91196 main ()
91197 {
91198  hypot(0, 0);
91199   ;
91200   return 0;
91201 }
91202 _ACEOF
91203 rm -f conftest.$ac_objext
91204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91205   (eval $ac_compile) 2>conftest.er1
91206   ac_status=$?
91207   grep -v '^ *+' conftest.er1 >conftest.err
91208   rm -f conftest.er1
91209   cat conftest.err >&5
91210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91211   (exit $ac_status); } &&
91212          { ac_try='test -z "$ac_cxx_werror_flag"
91213                          || test ! -s conftest.err'
91214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91215   (eval $ac_try) 2>&5
91216   ac_status=$?
91217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91218   (exit $ac_status); }; } &&
91219          { ac_try='test -s conftest.$ac_objext'
91220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91221   (eval $ac_try) 2>&5
91222   ac_status=$?
91223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91224   (exit $ac_status); }; }; then
91225   glibcxx_cv_func_hypot_use=yes
91226 else
91227   echo "$as_me: failed program was:" >&5
91228 sed 's/^/| /' conftest.$ac_ext >&5
91229
91230 glibcxx_cv_func_hypot_use=no
91231 fi
91232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91233       ac_ext=c
91234 ac_cpp='$CPP $CPPFLAGS'
91235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91238
91239
91240 fi
91241
91242   fi
91243   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
91244 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
91245
91246   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
91247
91248 for ac_func in hypot
91249 do
91250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91251 echo "$as_me:$LINENO: checking for $ac_func" >&5
91252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91253 if eval "test \"\${$as_ac_var+set}\" = set"; then
91254   echo $ECHO_N "(cached) $ECHO_C" >&6
91255 else
91256   if test x$gcc_no_link = xyes; then
91257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91259    { (exit 1); exit 1; }; }
91260 fi
91261 cat >conftest.$ac_ext <<_ACEOF
91262 /* confdefs.h.  */
91263 _ACEOF
91264 cat confdefs.h >>conftest.$ac_ext
91265 cat >>conftest.$ac_ext <<_ACEOF
91266 /* end confdefs.h.  */
91267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91269 #define $ac_func innocuous_$ac_func
91270
91271 /* System header to define __stub macros and hopefully few prototypes,
91272     which can conflict with char $ac_func (); below.
91273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91274     <limits.h> exists even on freestanding compilers.  */
91275
91276 #ifdef __STDC__
91277 # include <limits.h>
91278 #else
91279 # include <assert.h>
91280 #endif
91281
91282 #undef $ac_func
91283
91284 /* Override any gcc2 internal prototype to avoid an error.  */
91285 #ifdef __cplusplus
91286 extern "C"
91287 {
91288 #endif
91289 /* We use char because int might match the return type of a gcc2
91290    builtin and then its argument prototype would still apply.  */
91291 char $ac_func ();
91292 /* The GNU C library defines this for functions which it implements
91293     to always fail with ENOSYS.  Some functions are actually named
91294     something starting with __ and the normal name is an alias.  */
91295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91296 choke me
91297 #else
91298 char (*f) () = $ac_func;
91299 #endif
91300 #ifdef __cplusplus
91301 }
91302 #endif
91303
91304 int
91305 main ()
91306 {
91307 return f != $ac_func;
91308   ;
91309   return 0;
91310 }
91311 _ACEOF
91312 rm -f conftest.$ac_objext conftest$ac_exeext
91313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91314   (eval $ac_link) 2>conftest.er1
91315   ac_status=$?
91316   grep -v '^ *+' conftest.er1 >conftest.err
91317   rm -f conftest.er1
91318   cat conftest.err >&5
91319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91320   (exit $ac_status); } &&
91321          { ac_try='test -z "$ac_c_werror_flag"
91322                          || test ! -s conftest.err'
91323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91324   (eval $ac_try) 2>&5
91325   ac_status=$?
91326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91327   (exit $ac_status); }; } &&
91328          { ac_try='test -s conftest$ac_exeext'
91329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91330   (eval $ac_try) 2>&5
91331   ac_status=$?
91332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91333   (exit $ac_status); }; }; then
91334   eval "$as_ac_var=yes"
91335 else
91336   echo "$as_me: failed program was:" >&5
91337 sed 's/^/| /' conftest.$ac_ext >&5
91338
91339 eval "$as_ac_var=no"
91340 fi
91341 rm -f conftest.err conftest.$ac_objext \
91342       conftest$ac_exeext conftest.$ac_ext
91343 fi
91344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91346 if test `eval echo '${'$as_ac_var'}'` = yes; then
91347   cat >>confdefs.h <<_ACEOF
91348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91349 _ACEOF
91350
91351 fi
91352 done
91353
91354   else
91355
91356   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
91357 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
91358   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
91359     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
91360   echo $ECHO_N "(cached) $ECHO_C" >&6
91361 else
91362
91363
91364
91365       ac_ext=cc
91366 ac_cpp='$CXXCPP $CPPFLAGS'
91367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91370
91371       cat >conftest.$ac_ext <<_ACEOF
91372 /* confdefs.h.  */
91373 _ACEOF
91374 cat confdefs.h >>conftest.$ac_ext
91375 cat >>conftest.$ac_ext <<_ACEOF
91376 /* end confdefs.h.  */
91377 #include <math.h>
91378 int
91379 main ()
91380 {
91381  _hypot(0, 0);
91382   ;
91383   return 0;
91384 }
91385 _ACEOF
91386 rm -f conftest.$ac_objext
91387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91388   (eval $ac_compile) 2>conftest.er1
91389   ac_status=$?
91390   grep -v '^ *+' conftest.er1 >conftest.err
91391   rm -f conftest.er1
91392   cat conftest.err >&5
91393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91394   (exit $ac_status); } &&
91395          { ac_try='test -z "$ac_cxx_werror_flag"
91396                          || test ! -s conftest.err'
91397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91398   (eval $ac_try) 2>&5
91399   ac_status=$?
91400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401   (exit $ac_status); }; } &&
91402          { ac_try='test -s conftest.$ac_objext'
91403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91404   (eval $ac_try) 2>&5
91405   ac_status=$?
91406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91407   (exit $ac_status); }; }; then
91408   glibcxx_cv_func__hypot_use=yes
91409 else
91410   echo "$as_me: failed program was:" >&5
91411 sed 's/^/| /' conftest.$ac_ext >&5
91412
91413 glibcxx_cv_func__hypot_use=no
91414 fi
91415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91416       ac_ext=c
91417 ac_cpp='$CPP $CPPFLAGS'
91418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91421
91422
91423 fi
91424
91425   fi
91426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
91427 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
91428
91429     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
91430
91431 for ac_func in _hypot
91432 do
91433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91434 echo "$as_me:$LINENO: checking for $ac_func" >&5
91435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91436 if eval "test \"\${$as_ac_var+set}\" = set"; then
91437   echo $ECHO_N "(cached) $ECHO_C" >&6
91438 else
91439   if test x$gcc_no_link = xyes; then
91440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91442    { (exit 1); exit 1; }; }
91443 fi
91444 cat >conftest.$ac_ext <<_ACEOF
91445 /* confdefs.h.  */
91446 _ACEOF
91447 cat confdefs.h >>conftest.$ac_ext
91448 cat >>conftest.$ac_ext <<_ACEOF
91449 /* end confdefs.h.  */
91450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91452 #define $ac_func innocuous_$ac_func
91453
91454 /* System header to define __stub macros and hopefully few prototypes,
91455     which can conflict with char $ac_func (); below.
91456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91457     <limits.h> exists even on freestanding compilers.  */
91458
91459 #ifdef __STDC__
91460 # include <limits.h>
91461 #else
91462 # include <assert.h>
91463 #endif
91464
91465 #undef $ac_func
91466
91467 /* Override any gcc2 internal prototype to avoid an error.  */
91468 #ifdef __cplusplus
91469 extern "C"
91470 {
91471 #endif
91472 /* We use char because int might match the return type of a gcc2
91473    builtin and then its argument prototype would still apply.  */
91474 char $ac_func ();
91475 /* The GNU C library defines this for functions which it implements
91476     to always fail with ENOSYS.  Some functions are actually named
91477     something starting with __ and the normal name is an alias.  */
91478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91479 choke me
91480 #else
91481 char (*f) () = $ac_func;
91482 #endif
91483 #ifdef __cplusplus
91484 }
91485 #endif
91486
91487 int
91488 main ()
91489 {
91490 return f != $ac_func;
91491   ;
91492   return 0;
91493 }
91494 _ACEOF
91495 rm -f conftest.$ac_objext conftest$ac_exeext
91496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91497   (eval $ac_link) 2>conftest.er1
91498   ac_status=$?
91499   grep -v '^ *+' conftest.er1 >conftest.err
91500   rm -f conftest.er1
91501   cat conftest.err >&5
91502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91503   (exit $ac_status); } &&
91504          { ac_try='test -z "$ac_c_werror_flag"
91505                          || test ! -s conftest.err'
91506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91507   (eval $ac_try) 2>&5
91508   ac_status=$?
91509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91510   (exit $ac_status); }; } &&
91511          { ac_try='test -s conftest$ac_exeext'
91512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91513   (eval $ac_try) 2>&5
91514   ac_status=$?
91515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91516   (exit $ac_status); }; }; then
91517   eval "$as_ac_var=yes"
91518 else
91519   echo "$as_me: failed program was:" >&5
91520 sed 's/^/| /' conftest.$ac_ext >&5
91521
91522 eval "$as_ac_var=no"
91523 fi
91524 rm -f conftest.err conftest.$ac_objext \
91525       conftest$ac_exeext conftest.$ac_ext
91526 fi
91527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91529 if test `eval echo '${'$as_ac_var'}'` = yes; then
91530   cat >>confdefs.h <<_ACEOF
91531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91532 _ACEOF
91533
91534 fi
91535 done
91536
91537     fi
91538   fi
91539
91540
91541
91542
91543
91544
91545     echo "$as_me:$LINENO: checking for float trig functions" >&5
91546 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91547   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
91548   echo $ECHO_N "(cached) $ECHO_C" >&6
91549 else
91550
91551
91552
91553     ac_ext=cc
91554 ac_cpp='$CXXCPP $CPPFLAGS'
91555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91558
91559     cat >conftest.$ac_ext <<_ACEOF
91560 /* confdefs.h.  */
91561 _ACEOF
91562 cat confdefs.h >>conftest.$ac_ext
91563 cat >>conftest.$ac_ext <<_ACEOF
91564 /* end confdefs.h.  */
91565 #include <math.h>
91566 int
91567 main ()
91568 {
91569 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91570   ;
91571   return 0;
91572 }
91573 _ACEOF
91574 rm -f conftest.$ac_objext
91575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91576   (eval $ac_compile) 2>conftest.er1
91577   ac_status=$?
91578   grep -v '^ *+' conftest.er1 >conftest.err
91579   rm -f conftest.er1
91580   cat conftest.err >&5
91581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91582   (exit $ac_status); } &&
91583          { ac_try='test -z "$ac_cxx_werror_flag"
91584                          || test ! -s conftest.err'
91585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91586   (eval $ac_try) 2>&5
91587   ac_status=$?
91588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589   (exit $ac_status); }; } &&
91590          { ac_try='test -s conftest.$ac_objext'
91591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91592   (eval $ac_try) 2>&5
91593   ac_status=$?
91594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91595   (exit $ac_status); }; }; then
91596   glibcxx_cv_func_float_trig_use=yes
91597 else
91598   echo "$as_me: failed program was:" >&5
91599 sed 's/^/| /' conftest.$ac_ext >&5
91600
91601 glibcxx_cv_func_float_trig_use=no
91602 fi
91603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91604     ac_ext=c
91605 ac_cpp='$CPP $CPPFLAGS'
91606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91609
91610 fi
91611
91612   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91613 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91614   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91615
91616
91617
91618
91619
91620
91621
91622
91623
91624 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91625 do
91626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91627 echo "$as_me:$LINENO: checking for $ac_func" >&5
91628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91629 if eval "test \"\${$as_ac_var+set}\" = set"; then
91630   echo $ECHO_N "(cached) $ECHO_C" >&6
91631 else
91632   if test x$gcc_no_link = xyes; then
91633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91635    { (exit 1); exit 1; }; }
91636 fi
91637 cat >conftest.$ac_ext <<_ACEOF
91638 /* confdefs.h.  */
91639 _ACEOF
91640 cat confdefs.h >>conftest.$ac_ext
91641 cat >>conftest.$ac_ext <<_ACEOF
91642 /* end confdefs.h.  */
91643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91645 #define $ac_func innocuous_$ac_func
91646
91647 /* System header to define __stub macros and hopefully few prototypes,
91648     which can conflict with char $ac_func (); below.
91649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91650     <limits.h> exists even on freestanding compilers.  */
91651
91652 #ifdef __STDC__
91653 # include <limits.h>
91654 #else
91655 # include <assert.h>
91656 #endif
91657
91658 #undef $ac_func
91659
91660 /* Override any gcc2 internal prototype to avoid an error.  */
91661 #ifdef __cplusplus
91662 extern "C"
91663 {
91664 #endif
91665 /* We use char because int might match the return type of a gcc2
91666    builtin and then its argument prototype would still apply.  */
91667 char $ac_func ();
91668 /* The GNU C library defines this for functions which it implements
91669     to always fail with ENOSYS.  Some functions are actually named
91670     something starting with __ and the normal name is an alias.  */
91671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91672 choke me
91673 #else
91674 char (*f) () = $ac_func;
91675 #endif
91676 #ifdef __cplusplus
91677 }
91678 #endif
91679
91680 int
91681 main ()
91682 {
91683 return f != $ac_func;
91684   ;
91685   return 0;
91686 }
91687 _ACEOF
91688 rm -f conftest.$ac_objext conftest$ac_exeext
91689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91690   (eval $ac_link) 2>conftest.er1
91691   ac_status=$?
91692   grep -v '^ *+' conftest.er1 >conftest.err
91693   rm -f conftest.er1
91694   cat conftest.err >&5
91695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91696   (exit $ac_status); } &&
91697          { ac_try='test -z "$ac_c_werror_flag"
91698                          || test ! -s conftest.err'
91699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91700   (eval $ac_try) 2>&5
91701   ac_status=$?
91702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703   (exit $ac_status); }; } &&
91704          { ac_try='test -s conftest$ac_exeext'
91705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91706   (eval $ac_try) 2>&5
91707   ac_status=$?
91708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91709   (exit $ac_status); }; }; then
91710   eval "$as_ac_var=yes"
91711 else
91712   echo "$as_me: failed program was:" >&5
91713 sed 's/^/| /' conftest.$ac_ext >&5
91714
91715 eval "$as_ac_var=no"
91716 fi
91717 rm -f conftest.err conftest.$ac_objext \
91718       conftest$ac_exeext conftest.$ac_ext
91719 fi
91720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91722 if test `eval echo '${'$as_ac_var'}'` = yes; then
91723   cat >>confdefs.h <<_ACEOF
91724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91725 _ACEOF
91726
91727 fi
91728 done
91729
91730   else
91731     echo "$as_me:$LINENO: checking for _float trig functions" >&5
91732 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91733     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91734   echo $ECHO_N "(cached) $ECHO_C" >&6
91735 else
91736
91737
91738
91739       ac_ext=cc
91740 ac_cpp='$CXXCPP $CPPFLAGS'
91741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91744
91745       cat >conftest.$ac_ext <<_ACEOF
91746 /* confdefs.h.  */
91747 _ACEOF
91748 cat confdefs.h >>conftest.$ac_ext
91749 cat >>conftest.$ac_ext <<_ACEOF
91750 /* end confdefs.h.  */
91751 #include <math.h>
91752 int
91753 main ()
91754 {
91755 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91756   ;
91757   return 0;
91758 }
91759 _ACEOF
91760 rm -f conftest.$ac_objext
91761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91762   (eval $ac_compile) 2>conftest.er1
91763   ac_status=$?
91764   grep -v '^ *+' conftest.er1 >conftest.err
91765   rm -f conftest.er1
91766   cat conftest.err >&5
91767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768   (exit $ac_status); } &&
91769          { ac_try='test -z "$ac_cxx_werror_flag"
91770                          || test ! -s conftest.err'
91771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91772   (eval $ac_try) 2>&5
91773   ac_status=$?
91774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775   (exit $ac_status); }; } &&
91776          { ac_try='test -s conftest.$ac_objext'
91777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91778   (eval $ac_try) 2>&5
91779   ac_status=$?
91780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781   (exit $ac_status); }; }; then
91782   glibcxx_cv_func__float_trig_use=yes
91783 else
91784   echo "$as_me: failed program was:" >&5
91785 sed 's/^/| /' conftest.$ac_ext >&5
91786
91787 glibcxx_cv_func__float_trig_use=no
91788 fi
91789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91790       ac_ext=c
91791 ac_cpp='$CPP $CPPFLAGS'
91792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91795
91796 fi
91797
91798     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91799 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91800     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91801
91802
91803
91804
91805
91806
91807
91808
91809
91810 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91811 do
91812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91813 echo "$as_me:$LINENO: checking for $ac_func" >&5
91814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91815 if eval "test \"\${$as_ac_var+set}\" = set"; then
91816   echo $ECHO_N "(cached) $ECHO_C" >&6
91817 else
91818   if test x$gcc_no_link = xyes; then
91819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91821    { (exit 1); exit 1; }; }
91822 fi
91823 cat >conftest.$ac_ext <<_ACEOF
91824 /* confdefs.h.  */
91825 _ACEOF
91826 cat confdefs.h >>conftest.$ac_ext
91827 cat >>conftest.$ac_ext <<_ACEOF
91828 /* end confdefs.h.  */
91829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91831 #define $ac_func innocuous_$ac_func
91832
91833 /* System header to define __stub macros and hopefully few prototypes,
91834     which can conflict with char $ac_func (); below.
91835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91836     <limits.h> exists even on freestanding compilers.  */
91837
91838 #ifdef __STDC__
91839 # include <limits.h>
91840 #else
91841 # include <assert.h>
91842 #endif
91843
91844 #undef $ac_func
91845
91846 /* Override any gcc2 internal prototype to avoid an error.  */
91847 #ifdef __cplusplus
91848 extern "C"
91849 {
91850 #endif
91851 /* We use char because int might match the return type of a gcc2
91852    builtin and then its argument prototype would still apply.  */
91853 char $ac_func ();
91854 /* The GNU C library defines this for functions which it implements
91855     to always fail with ENOSYS.  Some functions are actually named
91856     something starting with __ and the normal name is an alias.  */
91857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91858 choke me
91859 #else
91860 char (*f) () = $ac_func;
91861 #endif
91862 #ifdef __cplusplus
91863 }
91864 #endif
91865
91866 int
91867 main ()
91868 {
91869 return f != $ac_func;
91870   ;
91871   return 0;
91872 }
91873 _ACEOF
91874 rm -f conftest.$ac_objext conftest$ac_exeext
91875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91876   (eval $ac_link) 2>conftest.er1
91877   ac_status=$?
91878   grep -v '^ *+' conftest.er1 >conftest.err
91879   rm -f conftest.er1
91880   cat conftest.err >&5
91881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882   (exit $ac_status); } &&
91883          { ac_try='test -z "$ac_c_werror_flag"
91884                          || test ! -s conftest.err'
91885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91886   (eval $ac_try) 2>&5
91887   ac_status=$?
91888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91889   (exit $ac_status); }; } &&
91890          { ac_try='test -s conftest$ac_exeext'
91891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91892   (eval $ac_try) 2>&5
91893   ac_status=$?
91894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91895   (exit $ac_status); }; }; then
91896   eval "$as_ac_var=yes"
91897 else
91898   echo "$as_me: failed program was:" >&5
91899 sed 's/^/| /' conftest.$ac_ext >&5
91900
91901 eval "$as_ac_var=no"
91902 fi
91903 rm -f conftest.err conftest.$ac_objext \
91904       conftest$ac_exeext conftest.$ac_ext
91905 fi
91906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91908 if test `eval echo '${'$as_ac_var'}'` = yes; then
91909   cat >>confdefs.h <<_ACEOF
91910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91911 _ACEOF
91912
91913 fi
91914 done
91915
91916     fi
91917   fi
91918
91919
91920
91921
91922
91923
91924
91925
91926
91927
91928
91929
91930
91931
91932     echo "$as_me:$LINENO: checking for float round functions" >&5
91933 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91934   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91935   echo $ECHO_N "(cached) $ECHO_C" >&6
91936 else
91937
91938
91939
91940     ac_ext=cc
91941 ac_cpp='$CXXCPP $CPPFLAGS'
91942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91945
91946     cat >conftest.$ac_ext <<_ACEOF
91947 /* confdefs.h.  */
91948 _ACEOF
91949 cat confdefs.h >>conftest.$ac_ext
91950 cat >>conftest.$ac_ext <<_ACEOF
91951 /* end confdefs.h.  */
91952 #include <math.h>
91953 int
91954 main ()
91955 {
91956 ceilf (0); floorf (0);
91957   ;
91958   return 0;
91959 }
91960 _ACEOF
91961 rm -f conftest.$ac_objext
91962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91963   (eval $ac_compile) 2>conftest.er1
91964   ac_status=$?
91965   grep -v '^ *+' conftest.er1 >conftest.err
91966   rm -f conftest.er1
91967   cat conftest.err >&5
91968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969   (exit $ac_status); } &&
91970          { ac_try='test -z "$ac_cxx_werror_flag"
91971                          || test ! -s conftest.err'
91972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91973   (eval $ac_try) 2>&5
91974   ac_status=$?
91975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91976   (exit $ac_status); }; } &&
91977          { ac_try='test -s conftest.$ac_objext'
91978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979   (eval $ac_try) 2>&5
91980   ac_status=$?
91981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982   (exit $ac_status); }; }; then
91983   glibcxx_cv_func_float_round_use=yes
91984 else
91985   echo "$as_me: failed program was:" >&5
91986 sed 's/^/| /' conftest.$ac_ext >&5
91987
91988 glibcxx_cv_func_float_round_use=no
91989 fi
91990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91991     ac_ext=c
91992 ac_cpp='$CPP $CPPFLAGS'
91993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91996
91997 fi
91998
91999   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
92000 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
92001   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
92002
92003
92004 for ac_func in ceilf floorf
92005 do
92006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92007 echo "$as_me:$LINENO: checking for $ac_func" >&5
92008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92009 if eval "test \"\${$as_ac_var+set}\" = set"; then
92010   echo $ECHO_N "(cached) $ECHO_C" >&6
92011 else
92012   if test x$gcc_no_link = xyes; then
92013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92015    { (exit 1); exit 1; }; }
92016 fi
92017 cat >conftest.$ac_ext <<_ACEOF
92018 /* confdefs.h.  */
92019 _ACEOF
92020 cat confdefs.h >>conftest.$ac_ext
92021 cat >>conftest.$ac_ext <<_ACEOF
92022 /* end confdefs.h.  */
92023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92025 #define $ac_func innocuous_$ac_func
92026
92027 /* System header to define __stub macros and hopefully few prototypes,
92028     which can conflict with char $ac_func (); below.
92029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92030     <limits.h> exists even on freestanding compilers.  */
92031
92032 #ifdef __STDC__
92033 # include <limits.h>
92034 #else
92035 # include <assert.h>
92036 #endif
92037
92038 #undef $ac_func
92039
92040 /* Override any gcc2 internal prototype to avoid an error.  */
92041 #ifdef __cplusplus
92042 extern "C"
92043 {
92044 #endif
92045 /* We use char because int might match the return type of a gcc2
92046    builtin and then its argument prototype would still apply.  */
92047 char $ac_func ();
92048 /* The GNU C library defines this for functions which it implements
92049     to always fail with ENOSYS.  Some functions are actually named
92050     something starting with __ and the normal name is an alias.  */
92051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92052 choke me
92053 #else
92054 char (*f) () = $ac_func;
92055 #endif
92056 #ifdef __cplusplus
92057 }
92058 #endif
92059
92060 int
92061 main ()
92062 {
92063 return f != $ac_func;
92064   ;
92065   return 0;
92066 }
92067 _ACEOF
92068 rm -f conftest.$ac_objext conftest$ac_exeext
92069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92070   (eval $ac_link) 2>conftest.er1
92071   ac_status=$?
92072   grep -v '^ *+' conftest.er1 >conftest.err
92073   rm -f conftest.er1
92074   cat conftest.err >&5
92075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92076   (exit $ac_status); } &&
92077          { ac_try='test -z "$ac_c_werror_flag"
92078                          || test ! -s conftest.err'
92079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92080   (eval $ac_try) 2>&5
92081   ac_status=$?
92082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92083   (exit $ac_status); }; } &&
92084          { ac_try='test -s conftest$ac_exeext'
92085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92086   (eval $ac_try) 2>&5
92087   ac_status=$?
92088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92089   (exit $ac_status); }; }; then
92090   eval "$as_ac_var=yes"
92091 else
92092   echo "$as_me: failed program was:" >&5
92093 sed 's/^/| /' conftest.$ac_ext >&5
92094
92095 eval "$as_ac_var=no"
92096 fi
92097 rm -f conftest.err conftest.$ac_objext \
92098       conftest$ac_exeext conftest.$ac_ext
92099 fi
92100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92102 if test `eval echo '${'$as_ac_var'}'` = yes; then
92103   cat >>confdefs.h <<_ACEOF
92104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92105 _ACEOF
92106
92107 fi
92108 done
92109
92110   else
92111     echo "$as_me:$LINENO: checking for _float round functions" >&5
92112 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
92113     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
92114   echo $ECHO_N "(cached) $ECHO_C" >&6
92115 else
92116
92117
92118
92119       ac_ext=cc
92120 ac_cpp='$CXXCPP $CPPFLAGS'
92121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92124
92125       cat >conftest.$ac_ext <<_ACEOF
92126 /* confdefs.h.  */
92127 _ACEOF
92128 cat confdefs.h >>conftest.$ac_ext
92129 cat >>conftest.$ac_ext <<_ACEOF
92130 /* end confdefs.h.  */
92131 #include <math.h>
92132 int
92133 main ()
92134 {
92135 _ceilf (0); _floorf (0);
92136   ;
92137   return 0;
92138 }
92139 _ACEOF
92140 rm -f conftest.$ac_objext
92141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92142   (eval $ac_compile) 2>conftest.er1
92143   ac_status=$?
92144   grep -v '^ *+' conftest.er1 >conftest.err
92145   rm -f conftest.er1
92146   cat conftest.err >&5
92147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92148   (exit $ac_status); } &&
92149          { ac_try='test -z "$ac_cxx_werror_flag"
92150                          || test ! -s conftest.err'
92151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92152   (eval $ac_try) 2>&5
92153   ac_status=$?
92154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92155   (exit $ac_status); }; } &&
92156          { ac_try='test -s conftest.$ac_objext'
92157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92158   (eval $ac_try) 2>&5
92159   ac_status=$?
92160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161   (exit $ac_status); }; }; then
92162   glibcxx_cv_func__float_round_use=yes
92163 else
92164   echo "$as_me: failed program was:" >&5
92165 sed 's/^/| /' conftest.$ac_ext >&5
92166
92167 glibcxx_cv_func__float_round_use=no
92168 fi
92169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92170       ac_ext=c
92171 ac_cpp='$CPP $CPPFLAGS'
92172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92175
92176 fi
92177
92178     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
92179 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
92180     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
92181
92182
92183 for ac_func in _ceilf _floorf
92184 do
92185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92186 echo "$as_me:$LINENO: checking for $ac_func" >&5
92187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92188 if eval "test \"\${$as_ac_var+set}\" = set"; then
92189   echo $ECHO_N "(cached) $ECHO_C" >&6
92190 else
92191   if test x$gcc_no_link = xyes; then
92192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92194    { (exit 1); exit 1; }; }
92195 fi
92196 cat >conftest.$ac_ext <<_ACEOF
92197 /* confdefs.h.  */
92198 _ACEOF
92199 cat confdefs.h >>conftest.$ac_ext
92200 cat >>conftest.$ac_ext <<_ACEOF
92201 /* end confdefs.h.  */
92202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92204 #define $ac_func innocuous_$ac_func
92205
92206 /* System header to define __stub macros and hopefully few prototypes,
92207     which can conflict with char $ac_func (); below.
92208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92209     <limits.h> exists even on freestanding compilers.  */
92210
92211 #ifdef __STDC__
92212 # include <limits.h>
92213 #else
92214 # include <assert.h>
92215 #endif
92216
92217 #undef $ac_func
92218
92219 /* Override any gcc2 internal prototype to avoid an error.  */
92220 #ifdef __cplusplus
92221 extern "C"
92222 {
92223 #endif
92224 /* We use char because int might match the return type of a gcc2
92225    builtin and then its argument prototype would still apply.  */
92226 char $ac_func ();
92227 /* The GNU C library defines this for functions which it implements
92228     to always fail with ENOSYS.  Some functions are actually named
92229     something starting with __ and the normal name is an alias.  */
92230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92231 choke me
92232 #else
92233 char (*f) () = $ac_func;
92234 #endif
92235 #ifdef __cplusplus
92236 }
92237 #endif
92238
92239 int
92240 main ()
92241 {
92242 return f != $ac_func;
92243   ;
92244   return 0;
92245 }
92246 _ACEOF
92247 rm -f conftest.$ac_objext conftest$ac_exeext
92248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92249   (eval $ac_link) 2>conftest.er1
92250   ac_status=$?
92251   grep -v '^ *+' conftest.er1 >conftest.err
92252   rm -f conftest.er1
92253   cat conftest.err >&5
92254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255   (exit $ac_status); } &&
92256          { ac_try='test -z "$ac_c_werror_flag"
92257                          || test ! -s conftest.err'
92258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92259   (eval $ac_try) 2>&5
92260   ac_status=$?
92261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92262   (exit $ac_status); }; } &&
92263          { ac_try='test -s conftest$ac_exeext'
92264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265   (eval $ac_try) 2>&5
92266   ac_status=$?
92267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268   (exit $ac_status); }; }; then
92269   eval "$as_ac_var=yes"
92270 else
92271   echo "$as_me: failed program was:" >&5
92272 sed 's/^/| /' conftest.$ac_ext >&5
92273
92274 eval "$as_ac_var=no"
92275 fi
92276 rm -f conftest.err conftest.$ac_objext \
92277       conftest$ac_exeext conftest.$ac_ext
92278 fi
92279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92281 if test `eval echo '${'$as_ac_var'}'` = yes; then
92282   cat >>confdefs.h <<_ACEOF
92283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92284 _ACEOF
92285
92286 fi
92287 done
92288
92289     fi
92290   fi
92291
92292
92293
92294
92295
92296
92297
92298
92299   echo "$as_me:$LINENO: checking for expf declaration" >&5
92300 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
92301   if test x${glibcxx_cv_func_expf_use+set} != xset; then
92302     if test "${glibcxx_cv_func_expf_use+set}" = set; then
92303   echo $ECHO_N "(cached) $ECHO_C" >&6
92304 else
92305
92306
92307
92308       ac_ext=cc
92309 ac_cpp='$CXXCPP $CPPFLAGS'
92310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92313
92314       cat >conftest.$ac_ext <<_ACEOF
92315 /* confdefs.h.  */
92316 _ACEOF
92317 cat confdefs.h >>conftest.$ac_ext
92318 cat >>conftest.$ac_ext <<_ACEOF
92319 /* end confdefs.h.  */
92320 #include <math.h>
92321                       #ifdef HAVE_IEEEFP_H
92322                       #include <ieeefp.h>
92323                       #endif
92324
92325 int
92326 main ()
92327 {
92328  expf(0);
92329   ;
92330   return 0;
92331 }
92332 _ACEOF
92333 rm -f conftest.$ac_objext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92335   (eval $ac_compile) 2>conftest.er1
92336   ac_status=$?
92337   grep -v '^ *+' conftest.er1 >conftest.err
92338   rm -f conftest.er1
92339   cat conftest.err >&5
92340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341   (exit $ac_status); } &&
92342          { ac_try='test -z "$ac_cxx_werror_flag"
92343                          || test ! -s conftest.err'
92344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345   (eval $ac_try) 2>&5
92346   ac_status=$?
92347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348   (exit $ac_status); }; } &&
92349          { ac_try='test -s conftest.$ac_objext'
92350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351   (eval $ac_try) 2>&5
92352   ac_status=$?
92353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354   (exit $ac_status); }; }; then
92355   glibcxx_cv_func_expf_use=yes
92356 else
92357   echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92359
92360 glibcxx_cv_func_expf_use=no
92361 fi
92362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92363       ac_ext=c
92364 ac_cpp='$CPP $CPPFLAGS'
92365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92368
92369
92370 fi
92371
92372   fi
92373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
92374 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
92375
92376   if test x$glibcxx_cv_func_expf_use = x"yes"; then
92377
92378 for ac_func in expf
92379 do
92380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92381 echo "$as_me:$LINENO: checking for $ac_func" >&5
92382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92383 if eval "test \"\${$as_ac_var+set}\" = set"; then
92384   echo $ECHO_N "(cached) $ECHO_C" >&6
92385 else
92386   if test x$gcc_no_link = xyes; then
92387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92389    { (exit 1); exit 1; }; }
92390 fi
92391 cat >conftest.$ac_ext <<_ACEOF
92392 /* confdefs.h.  */
92393 _ACEOF
92394 cat confdefs.h >>conftest.$ac_ext
92395 cat >>conftest.$ac_ext <<_ACEOF
92396 /* end confdefs.h.  */
92397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92399 #define $ac_func innocuous_$ac_func
92400
92401 /* System header to define __stub macros and hopefully few prototypes,
92402     which can conflict with char $ac_func (); below.
92403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92404     <limits.h> exists even on freestanding compilers.  */
92405
92406 #ifdef __STDC__
92407 # include <limits.h>
92408 #else
92409 # include <assert.h>
92410 #endif
92411
92412 #undef $ac_func
92413
92414 /* Override any gcc2 internal prototype to avoid an error.  */
92415 #ifdef __cplusplus
92416 extern "C"
92417 {
92418 #endif
92419 /* We use char because int might match the return type of a gcc2
92420    builtin and then its argument prototype would still apply.  */
92421 char $ac_func ();
92422 /* The GNU C library defines this for functions which it implements
92423     to always fail with ENOSYS.  Some functions are actually named
92424     something starting with __ and the normal name is an alias.  */
92425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92426 choke me
92427 #else
92428 char (*f) () = $ac_func;
92429 #endif
92430 #ifdef __cplusplus
92431 }
92432 #endif
92433
92434 int
92435 main ()
92436 {
92437 return f != $ac_func;
92438   ;
92439   return 0;
92440 }
92441 _ACEOF
92442 rm -f conftest.$ac_objext conftest$ac_exeext
92443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92444   (eval $ac_link) 2>conftest.er1
92445   ac_status=$?
92446   grep -v '^ *+' conftest.er1 >conftest.err
92447   rm -f conftest.er1
92448   cat conftest.err >&5
92449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92450   (exit $ac_status); } &&
92451          { ac_try='test -z "$ac_c_werror_flag"
92452                          || test ! -s conftest.err'
92453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92454   (eval $ac_try) 2>&5
92455   ac_status=$?
92456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92457   (exit $ac_status); }; } &&
92458          { ac_try='test -s conftest$ac_exeext'
92459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92460   (eval $ac_try) 2>&5
92461   ac_status=$?
92462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92463   (exit $ac_status); }; }; then
92464   eval "$as_ac_var=yes"
92465 else
92466   echo "$as_me: failed program was:" >&5
92467 sed 's/^/| /' conftest.$ac_ext >&5
92468
92469 eval "$as_ac_var=no"
92470 fi
92471 rm -f conftest.err conftest.$ac_objext \
92472       conftest$ac_exeext conftest.$ac_ext
92473 fi
92474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92476 if test `eval echo '${'$as_ac_var'}'` = yes; then
92477   cat >>confdefs.h <<_ACEOF
92478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92479 _ACEOF
92480
92481 fi
92482 done
92483
92484   else
92485
92486   echo "$as_me:$LINENO: checking for _expf declaration" >&5
92487 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
92488   if test x${glibcxx_cv_func__expf_use+set} != xset; then
92489     if test "${glibcxx_cv_func__expf_use+set}" = set; then
92490   echo $ECHO_N "(cached) $ECHO_C" >&6
92491 else
92492
92493
92494
92495       ac_ext=cc
92496 ac_cpp='$CXXCPP $CPPFLAGS'
92497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92500
92501       cat >conftest.$ac_ext <<_ACEOF
92502 /* confdefs.h.  */
92503 _ACEOF
92504 cat confdefs.h >>conftest.$ac_ext
92505 cat >>conftest.$ac_ext <<_ACEOF
92506 /* end confdefs.h.  */
92507 #include <math.h>
92508                       #ifdef HAVE_IEEEFP_H
92509                       #include <ieeefp.h>
92510                       #endif
92511
92512 int
92513 main ()
92514 {
92515  _expf(0);
92516   ;
92517   return 0;
92518 }
92519 _ACEOF
92520 rm -f conftest.$ac_objext
92521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92522   (eval $ac_compile) 2>conftest.er1
92523   ac_status=$?
92524   grep -v '^ *+' conftest.er1 >conftest.err
92525   rm -f conftest.er1
92526   cat conftest.err >&5
92527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92528   (exit $ac_status); } &&
92529          { ac_try='test -z "$ac_cxx_werror_flag"
92530                          || test ! -s conftest.err'
92531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92532   (eval $ac_try) 2>&5
92533   ac_status=$?
92534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92535   (exit $ac_status); }; } &&
92536          { ac_try='test -s conftest.$ac_objext'
92537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92538   (eval $ac_try) 2>&5
92539   ac_status=$?
92540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92541   (exit $ac_status); }; }; then
92542   glibcxx_cv_func__expf_use=yes
92543 else
92544   echo "$as_me: failed program was:" >&5
92545 sed 's/^/| /' conftest.$ac_ext >&5
92546
92547 glibcxx_cv_func__expf_use=no
92548 fi
92549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92550       ac_ext=c
92551 ac_cpp='$CPP $CPPFLAGS'
92552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92555
92556
92557 fi
92558
92559   fi
92560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92561 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92562
92563     if test x$glibcxx_cv_func__expf_use = x"yes"; then
92564
92565 for ac_func in _expf
92566 do
92567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92568 echo "$as_me:$LINENO: checking for $ac_func" >&5
92569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92570 if eval "test \"\${$as_ac_var+set}\" = set"; then
92571   echo $ECHO_N "(cached) $ECHO_C" >&6
92572 else
92573   if test x$gcc_no_link = xyes; then
92574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92576    { (exit 1); exit 1; }; }
92577 fi
92578 cat >conftest.$ac_ext <<_ACEOF
92579 /* confdefs.h.  */
92580 _ACEOF
92581 cat confdefs.h >>conftest.$ac_ext
92582 cat >>conftest.$ac_ext <<_ACEOF
92583 /* end confdefs.h.  */
92584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92586 #define $ac_func innocuous_$ac_func
92587
92588 /* System header to define __stub macros and hopefully few prototypes,
92589     which can conflict with char $ac_func (); below.
92590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92591     <limits.h> exists even on freestanding compilers.  */
92592
92593 #ifdef __STDC__
92594 # include <limits.h>
92595 #else
92596 # include <assert.h>
92597 #endif
92598
92599 #undef $ac_func
92600
92601 /* Override any gcc2 internal prototype to avoid an error.  */
92602 #ifdef __cplusplus
92603 extern "C"
92604 {
92605 #endif
92606 /* We use char because int might match the return type of a gcc2
92607    builtin and then its argument prototype would still apply.  */
92608 char $ac_func ();
92609 /* The GNU C library defines this for functions which it implements
92610     to always fail with ENOSYS.  Some functions are actually named
92611     something starting with __ and the normal name is an alias.  */
92612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92613 choke me
92614 #else
92615 char (*f) () = $ac_func;
92616 #endif
92617 #ifdef __cplusplus
92618 }
92619 #endif
92620
92621 int
92622 main ()
92623 {
92624 return f != $ac_func;
92625   ;
92626   return 0;
92627 }
92628 _ACEOF
92629 rm -f conftest.$ac_objext conftest$ac_exeext
92630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92631   (eval $ac_link) 2>conftest.er1
92632   ac_status=$?
92633   grep -v '^ *+' conftest.er1 >conftest.err
92634   rm -f conftest.er1
92635   cat conftest.err >&5
92636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92637   (exit $ac_status); } &&
92638          { ac_try='test -z "$ac_c_werror_flag"
92639                          || test ! -s conftest.err'
92640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641   (eval $ac_try) 2>&5
92642   ac_status=$?
92643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644   (exit $ac_status); }; } &&
92645          { ac_try='test -s conftest$ac_exeext'
92646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92647   (eval $ac_try) 2>&5
92648   ac_status=$?
92649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92650   (exit $ac_status); }; }; then
92651   eval "$as_ac_var=yes"
92652 else
92653   echo "$as_me: failed program was:" >&5
92654 sed 's/^/| /' conftest.$ac_ext >&5
92655
92656 eval "$as_ac_var=no"
92657 fi
92658 rm -f conftest.err conftest.$ac_objext \
92659       conftest$ac_exeext conftest.$ac_ext
92660 fi
92661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92663 if test `eval echo '${'$as_ac_var'}'` = yes; then
92664   cat >>confdefs.h <<_ACEOF
92665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92666 _ACEOF
92667
92668 fi
92669 done
92670
92671     fi
92672   fi
92673
92674
92675
92676
92677
92678
92679   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92680 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92681   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92682     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92683   echo $ECHO_N "(cached) $ECHO_C" >&6
92684 else
92685
92686
92687
92688       ac_ext=cc
92689 ac_cpp='$CXXCPP $CPPFLAGS'
92690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92693
92694       cat >conftest.$ac_ext <<_ACEOF
92695 /* confdefs.h.  */
92696 _ACEOF
92697 cat confdefs.h >>conftest.$ac_ext
92698 cat >>conftest.$ac_ext <<_ACEOF
92699 /* end confdefs.h.  */
92700 #include <math.h>
92701                       #ifdef HAVE_IEEEFP_H
92702                       #include <ieeefp.h>
92703                       #endif
92704
92705 int
92706 main ()
92707 {
92708  isnanf(0);
92709   ;
92710   return 0;
92711 }
92712 _ACEOF
92713 rm -f conftest.$ac_objext
92714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92715   (eval $ac_compile) 2>conftest.er1
92716   ac_status=$?
92717   grep -v '^ *+' conftest.er1 >conftest.err
92718   rm -f conftest.er1
92719   cat conftest.err >&5
92720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92721   (exit $ac_status); } &&
92722          { ac_try='test -z "$ac_cxx_werror_flag"
92723                          || test ! -s conftest.err'
92724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92725   (eval $ac_try) 2>&5
92726   ac_status=$?
92727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92728   (exit $ac_status); }; } &&
92729          { ac_try='test -s conftest.$ac_objext'
92730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92731   (eval $ac_try) 2>&5
92732   ac_status=$?
92733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92734   (exit $ac_status); }; }; then
92735   glibcxx_cv_func_isnanf_use=yes
92736 else
92737   echo "$as_me: failed program was:" >&5
92738 sed 's/^/| /' conftest.$ac_ext >&5
92739
92740 glibcxx_cv_func_isnanf_use=no
92741 fi
92742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92743       ac_ext=c
92744 ac_cpp='$CPP $CPPFLAGS'
92745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92748
92749
92750 fi
92751
92752   fi
92753   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92754 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92755
92756   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92757
92758 for ac_func in isnanf
92759 do
92760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92761 echo "$as_me:$LINENO: checking for $ac_func" >&5
92762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92763 if eval "test \"\${$as_ac_var+set}\" = set"; then
92764   echo $ECHO_N "(cached) $ECHO_C" >&6
92765 else
92766   if test x$gcc_no_link = xyes; then
92767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92769    { (exit 1); exit 1; }; }
92770 fi
92771 cat >conftest.$ac_ext <<_ACEOF
92772 /* confdefs.h.  */
92773 _ACEOF
92774 cat confdefs.h >>conftest.$ac_ext
92775 cat >>conftest.$ac_ext <<_ACEOF
92776 /* end confdefs.h.  */
92777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92779 #define $ac_func innocuous_$ac_func
92780
92781 /* System header to define __stub macros and hopefully few prototypes,
92782     which can conflict with char $ac_func (); below.
92783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92784     <limits.h> exists even on freestanding compilers.  */
92785
92786 #ifdef __STDC__
92787 # include <limits.h>
92788 #else
92789 # include <assert.h>
92790 #endif
92791
92792 #undef $ac_func
92793
92794 /* Override any gcc2 internal prototype to avoid an error.  */
92795 #ifdef __cplusplus
92796 extern "C"
92797 {
92798 #endif
92799 /* We use char because int might match the return type of a gcc2
92800    builtin and then its argument prototype would still apply.  */
92801 char $ac_func ();
92802 /* The GNU C library defines this for functions which it implements
92803     to always fail with ENOSYS.  Some functions are actually named
92804     something starting with __ and the normal name is an alias.  */
92805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92806 choke me
92807 #else
92808 char (*f) () = $ac_func;
92809 #endif
92810 #ifdef __cplusplus
92811 }
92812 #endif
92813
92814 int
92815 main ()
92816 {
92817 return f != $ac_func;
92818   ;
92819   return 0;
92820 }
92821 _ACEOF
92822 rm -f conftest.$ac_objext conftest$ac_exeext
92823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92824   (eval $ac_link) 2>conftest.er1
92825   ac_status=$?
92826   grep -v '^ *+' conftest.er1 >conftest.err
92827   rm -f conftest.er1
92828   cat conftest.err >&5
92829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92830   (exit $ac_status); } &&
92831          { ac_try='test -z "$ac_c_werror_flag"
92832                          || test ! -s conftest.err'
92833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92834   (eval $ac_try) 2>&5
92835   ac_status=$?
92836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837   (exit $ac_status); }; } &&
92838          { ac_try='test -s conftest$ac_exeext'
92839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92840   (eval $ac_try) 2>&5
92841   ac_status=$?
92842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92843   (exit $ac_status); }; }; then
92844   eval "$as_ac_var=yes"
92845 else
92846   echo "$as_me: failed program was:" >&5
92847 sed 's/^/| /' conftest.$ac_ext >&5
92848
92849 eval "$as_ac_var=no"
92850 fi
92851 rm -f conftest.err conftest.$ac_objext \
92852       conftest$ac_exeext conftest.$ac_ext
92853 fi
92854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92856 if test `eval echo '${'$as_ac_var'}'` = yes; then
92857   cat >>confdefs.h <<_ACEOF
92858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92859 _ACEOF
92860
92861 fi
92862 done
92863
92864   else
92865
92866   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92867 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92868   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92869     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92870   echo $ECHO_N "(cached) $ECHO_C" >&6
92871 else
92872
92873
92874
92875       ac_ext=cc
92876 ac_cpp='$CXXCPP $CPPFLAGS'
92877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92880
92881       cat >conftest.$ac_ext <<_ACEOF
92882 /* confdefs.h.  */
92883 _ACEOF
92884 cat confdefs.h >>conftest.$ac_ext
92885 cat >>conftest.$ac_ext <<_ACEOF
92886 /* end confdefs.h.  */
92887 #include <math.h>
92888                       #ifdef HAVE_IEEEFP_H
92889                       #include <ieeefp.h>
92890                       #endif
92891
92892 int
92893 main ()
92894 {
92895  _isnanf(0);
92896   ;
92897   return 0;
92898 }
92899 _ACEOF
92900 rm -f conftest.$ac_objext
92901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92902   (eval $ac_compile) 2>conftest.er1
92903   ac_status=$?
92904   grep -v '^ *+' conftest.er1 >conftest.err
92905   rm -f conftest.er1
92906   cat conftest.err >&5
92907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92908   (exit $ac_status); } &&
92909          { ac_try='test -z "$ac_cxx_werror_flag"
92910                          || test ! -s conftest.err'
92911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92912   (eval $ac_try) 2>&5
92913   ac_status=$?
92914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915   (exit $ac_status); }; } &&
92916          { ac_try='test -s conftest.$ac_objext'
92917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92918   (eval $ac_try) 2>&5
92919   ac_status=$?
92920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921   (exit $ac_status); }; }; then
92922   glibcxx_cv_func__isnanf_use=yes
92923 else
92924   echo "$as_me: failed program was:" >&5
92925 sed 's/^/| /' conftest.$ac_ext >&5
92926
92927 glibcxx_cv_func__isnanf_use=no
92928 fi
92929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92930       ac_ext=c
92931 ac_cpp='$CPP $CPPFLAGS'
92932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92935
92936
92937 fi
92938
92939   fi
92940   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92941 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92942
92943     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92944
92945 for ac_func in _isnanf
92946 do
92947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92948 echo "$as_me:$LINENO: checking for $ac_func" >&5
92949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92950 if eval "test \"\${$as_ac_var+set}\" = set"; then
92951   echo $ECHO_N "(cached) $ECHO_C" >&6
92952 else
92953   if test x$gcc_no_link = xyes; then
92954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92956    { (exit 1); exit 1; }; }
92957 fi
92958 cat >conftest.$ac_ext <<_ACEOF
92959 /* confdefs.h.  */
92960 _ACEOF
92961 cat confdefs.h >>conftest.$ac_ext
92962 cat >>conftest.$ac_ext <<_ACEOF
92963 /* end confdefs.h.  */
92964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92966 #define $ac_func innocuous_$ac_func
92967
92968 /* System header to define __stub macros and hopefully few prototypes,
92969     which can conflict with char $ac_func (); below.
92970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92971     <limits.h> exists even on freestanding compilers.  */
92972
92973 #ifdef __STDC__
92974 # include <limits.h>
92975 #else
92976 # include <assert.h>
92977 #endif
92978
92979 #undef $ac_func
92980
92981 /* Override any gcc2 internal prototype to avoid an error.  */
92982 #ifdef __cplusplus
92983 extern "C"
92984 {
92985 #endif
92986 /* We use char because int might match the return type of a gcc2
92987    builtin and then its argument prototype would still apply.  */
92988 char $ac_func ();
92989 /* The GNU C library defines this for functions which it implements
92990     to always fail with ENOSYS.  Some functions are actually named
92991     something starting with __ and the normal name is an alias.  */
92992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92993 choke me
92994 #else
92995 char (*f) () = $ac_func;
92996 #endif
92997 #ifdef __cplusplus
92998 }
92999 #endif
93000
93001 int
93002 main ()
93003 {
93004 return f != $ac_func;
93005   ;
93006   return 0;
93007 }
93008 _ACEOF
93009 rm -f conftest.$ac_objext conftest$ac_exeext
93010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93011   (eval $ac_link) 2>conftest.er1
93012   ac_status=$?
93013   grep -v '^ *+' conftest.er1 >conftest.err
93014   rm -f conftest.er1
93015   cat conftest.err >&5
93016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93017   (exit $ac_status); } &&
93018          { ac_try='test -z "$ac_c_werror_flag"
93019                          || test ! -s conftest.err'
93020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93021   (eval $ac_try) 2>&5
93022   ac_status=$?
93023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024   (exit $ac_status); }; } &&
93025          { ac_try='test -s conftest$ac_exeext'
93026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93027   (eval $ac_try) 2>&5
93028   ac_status=$?
93029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93030   (exit $ac_status); }; }; then
93031   eval "$as_ac_var=yes"
93032 else
93033   echo "$as_me: failed program was:" >&5
93034 sed 's/^/| /' conftest.$ac_ext >&5
93035
93036 eval "$as_ac_var=no"
93037 fi
93038 rm -f conftest.err conftest.$ac_objext \
93039       conftest$ac_exeext conftest.$ac_ext
93040 fi
93041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93043 if test `eval echo '${'$as_ac_var'}'` = yes; then
93044   cat >>confdefs.h <<_ACEOF
93045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93046 _ACEOF
93047
93048 fi
93049 done
93050
93051     fi
93052   fi
93053
93054
93055
93056
93057
93058
93059   echo "$as_me:$LINENO: checking for isinff declaration" >&5
93060 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
93061   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
93062     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
93063   echo $ECHO_N "(cached) $ECHO_C" >&6
93064 else
93065
93066
93067
93068       ac_ext=cc
93069 ac_cpp='$CXXCPP $CPPFLAGS'
93070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93073
93074       cat >conftest.$ac_ext <<_ACEOF
93075 /* confdefs.h.  */
93076 _ACEOF
93077 cat confdefs.h >>conftest.$ac_ext
93078 cat >>conftest.$ac_ext <<_ACEOF
93079 /* end confdefs.h.  */
93080 #include <math.h>
93081                       #ifdef HAVE_IEEEFP_H
93082                       #include <ieeefp.h>
93083                       #endif
93084
93085 int
93086 main ()
93087 {
93088  isinff(0);
93089   ;
93090   return 0;
93091 }
93092 _ACEOF
93093 rm -f conftest.$ac_objext
93094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93095   (eval $ac_compile) 2>conftest.er1
93096   ac_status=$?
93097   grep -v '^ *+' conftest.er1 >conftest.err
93098   rm -f conftest.er1
93099   cat conftest.err >&5
93100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93101   (exit $ac_status); } &&
93102          { ac_try='test -z "$ac_cxx_werror_flag"
93103                          || test ! -s conftest.err'
93104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93105   (eval $ac_try) 2>&5
93106   ac_status=$?
93107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93108   (exit $ac_status); }; } &&
93109          { ac_try='test -s conftest.$ac_objext'
93110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93111   (eval $ac_try) 2>&5
93112   ac_status=$?
93113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93114   (exit $ac_status); }; }; then
93115   glibcxx_cv_func_isinff_use=yes
93116 else
93117   echo "$as_me: failed program was:" >&5
93118 sed 's/^/| /' conftest.$ac_ext >&5
93119
93120 glibcxx_cv_func_isinff_use=no
93121 fi
93122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93123       ac_ext=c
93124 ac_cpp='$CPP $CPPFLAGS'
93125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93128
93129
93130 fi
93131
93132   fi
93133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
93134 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
93135
93136   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
93137
93138 for ac_func in isinff
93139 do
93140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93141 echo "$as_me:$LINENO: checking for $ac_func" >&5
93142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93143 if eval "test \"\${$as_ac_var+set}\" = set"; then
93144   echo $ECHO_N "(cached) $ECHO_C" >&6
93145 else
93146   if test x$gcc_no_link = xyes; then
93147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93149    { (exit 1); exit 1; }; }
93150 fi
93151 cat >conftest.$ac_ext <<_ACEOF
93152 /* confdefs.h.  */
93153 _ACEOF
93154 cat confdefs.h >>conftest.$ac_ext
93155 cat >>conftest.$ac_ext <<_ACEOF
93156 /* end confdefs.h.  */
93157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93159 #define $ac_func innocuous_$ac_func
93160
93161 /* System header to define __stub macros and hopefully few prototypes,
93162     which can conflict with char $ac_func (); below.
93163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93164     <limits.h> exists even on freestanding compilers.  */
93165
93166 #ifdef __STDC__
93167 # include <limits.h>
93168 #else
93169 # include <assert.h>
93170 #endif
93171
93172 #undef $ac_func
93173
93174 /* Override any gcc2 internal prototype to avoid an error.  */
93175 #ifdef __cplusplus
93176 extern "C"
93177 {
93178 #endif
93179 /* We use char because int might match the return type of a gcc2
93180    builtin and then its argument prototype would still apply.  */
93181 char $ac_func ();
93182 /* The GNU C library defines this for functions which it implements
93183     to always fail with ENOSYS.  Some functions are actually named
93184     something starting with __ and the normal name is an alias.  */
93185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93186 choke me
93187 #else
93188 char (*f) () = $ac_func;
93189 #endif
93190 #ifdef __cplusplus
93191 }
93192 #endif
93193
93194 int
93195 main ()
93196 {
93197 return f != $ac_func;
93198   ;
93199   return 0;
93200 }
93201 _ACEOF
93202 rm -f conftest.$ac_objext conftest$ac_exeext
93203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93204   (eval $ac_link) 2>conftest.er1
93205   ac_status=$?
93206   grep -v '^ *+' conftest.er1 >conftest.err
93207   rm -f conftest.er1
93208   cat conftest.err >&5
93209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93210   (exit $ac_status); } &&
93211          { ac_try='test -z "$ac_c_werror_flag"
93212                          || test ! -s conftest.err'
93213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214   (eval $ac_try) 2>&5
93215   ac_status=$?
93216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217   (exit $ac_status); }; } &&
93218          { ac_try='test -s conftest$ac_exeext'
93219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93220   (eval $ac_try) 2>&5
93221   ac_status=$?
93222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93223   (exit $ac_status); }; }; then
93224   eval "$as_ac_var=yes"
93225 else
93226   echo "$as_me: failed program was:" >&5
93227 sed 's/^/| /' conftest.$ac_ext >&5
93228
93229 eval "$as_ac_var=no"
93230 fi
93231 rm -f conftest.err conftest.$ac_objext \
93232       conftest$ac_exeext conftest.$ac_ext
93233 fi
93234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93236 if test `eval echo '${'$as_ac_var'}'` = yes; then
93237   cat >>confdefs.h <<_ACEOF
93238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93239 _ACEOF
93240
93241 fi
93242 done
93243
93244   else
93245
93246   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
93247 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
93248   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
93249     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
93250   echo $ECHO_N "(cached) $ECHO_C" >&6
93251 else
93252
93253
93254
93255       ac_ext=cc
93256 ac_cpp='$CXXCPP $CPPFLAGS'
93257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93260
93261       cat >conftest.$ac_ext <<_ACEOF
93262 /* confdefs.h.  */
93263 _ACEOF
93264 cat confdefs.h >>conftest.$ac_ext
93265 cat >>conftest.$ac_ext <<_ACEOF
93266 /* end confdefs.h.  */
93267 #include <math.h>
93268                       #ifdef HAVE_IEEEFP_H
93269                       #include <ieeefp.h>
93270                       #endif
93271
93272 int
93273 main ()
93274 {
93275  _isinff(0);
93276   ;
93277   return 0;
93278 }
93279 _ACEOF
93280 rm -f conftest.$ac_objext
93281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93282   (eval $ac_compile) 2>conftest.er1
93283   ac_status=$?
93284   grep -v '^ *+' conftest.er1 >conftest.err
93285   rm -f conftest.er1
93286   cat conftest.err >&5
93287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93288   (exit $ac_status); } &&
93289          { ac_try='test -z "$ac_cxx_werror_flag"
93290                          || test ! -s conftest.err'
93291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93292   (eval $ac_try) 2>&5
93293   ac_status=$?
93294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93295   (exit $ac_status); }; } &&
93296          { ac_try='test -s conftest.$ac_objext'
93297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93298   (eval $ac_try) 2>&5
93299   ac_status=$?
93300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93301   (exit $ac_status); }; }; then
93302   glibcxx_cv_func__isinff_use=yes
93303 else
93304   echo "$as_me: failed program was:" >&5
93305 sed 's/^/| /' conftest.$ac_ext >&5
93306
93307 glibcxx_cv_func__isinff_use=no
93308 fi
93309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93310       ac_ext=c
93311 ac_cpp='$CPP $CPPFLAGS'
93312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93315
93316
93317 fi
93318
93319   fi
93320   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
93321 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
93322
93323     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
93324
93325 for ac_func in _isinff
93326 do
93327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93328 echo "$as_me:$LINENO: checking for $ac_func" >&5
93329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93330 if eval "test \"\${$as_ac_var+set}\" = set"; then
93331   echo $ECHO_N "(cached) $ECHO_C" >&6
93332 else
93333   if test x$gcc_no_link = xyes; then
93334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93336    { (exit 1); exit 1; }; }
93337 fi
93338 cat >conftest.$ac_ext <<_ACEOF
93339 /* confdefs.h.  */
93340 _ACEOF
93341 cat confdefs.h >>conftest.$ac_ext
93342 cat >>conftest.$ac_ext <<_ACEOF
93343 /* end confdefs.h.  */
93344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93346 #define $ac_func innocuous_$ac_func
93347
93348 /* System header to define __stub macros and hopefully few prototypes,
93349     which can conflict with char $ac_func (); below.
93350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93351     <limits.h> exists even on freestanding compilers.  */
93352
93353 #ifdef __STDC__
93354 # include <limits.h>
93355 #else
93356 # include <assert.h>
93357 #endif
93358
93359 #undef $ac_func
93360
93361 /* Override any gcc2 internal prototype to avoid an error.  */
93362 #ifdef __cplusplus
93363 extern "C"
93364 {
93365 #endif
93366 /* We use char because int might match the return type of a gcc2
93367    builtin and then its argument prototype would still apply.  */
93368 char $ac_func ();
93369 /* The GNU C library defines this for functions which it implements
93370     to always fail with ENOSYS.  Some functions are actually named
93371     something starting with __ and the normal name is an alias.  */
93372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93373 choke me
93374 #else
93375 char (*f) () = $ac_func;
93376 #endif
93377 #ifdef __cplusplus
93378 }
93379 #endif
93380
93381 int
93382 main ()
93383 {
93384 return f != $ac_func;
93385   ;
93386   return 0;
93387 }
93388 _ACEOF
93389 rm -f conftest.$ac_objext conftest$ac_exeext
93390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93391   (eval $ac_link) 2>conftest.er1
93392   ac_status=$?
93393   grep -v '^ *+' conftest.er1 >conftest.err
93394   rm -f conftest.er1
93395   cat conftest.err >&5
93396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93397   (exit $ac_status); } &&
93398          { ac_try='test -z "$ac_c_werror_flag"
93399                          || test ! -s conftest.err'
93400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93401   (eval $ac_try) 2>&5
93402   ac_status=$?
93403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93404   (exit $ac_status); }; } &&
93405          { ac_try='test -s conftest$ac_exeext'
93406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93407   (eval $ac_try) 2>&5
93408   ac_status=$?
93409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93410   (exit $ac_status); }; }; then
93411   eval "$as_ac_var=yes"
93412 else
93413   echo "$as_me: failed program was:" >&5
93414 sed 's/^/| /' conftest.$ac_ext >&5
93415
93416 eval "$as_ac_var=no"
93417 fi
93418 rm -f conftest.err conftest.$ac_objext \
93419       conftest$ac_exeext conftest.$ac_ext
93420 fi
93421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93423 if test `eval echo '${'$as_ac_var'}'` = yes; then
93424   cat >>confdefs.h <<_ACEOF
93425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93426 _ACEOF
93427
93428 fi
93429 done
93430
93431     fi
93432   fi
93433
93434
93435
93436
93437
93438
93439   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
93440 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
93441   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
93442     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
93443   echo $ECHO_N "(cached) $ECHO_C" >&6
93444 else
93445
93446
93447
93448       ac_ext=cc
93449 ac_cpp='$CXXCPP $CPPFLAGS'
93450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93453
93454       cat >conftest.$ac_ext <<_ACEOF
93455 /* confdefs.h.  */
93456 _ACEOF
93457 cat confdefs.h >>conftest.$ac_ext
93458 cat >>conftest.$ac_ext <<_ACEOF
93459 /* end confdefs.h.  */
93460 #include <math.h>
93461 int
93462 main ()
93463 {
93464  atan2f(0, 0);
93465   ;
93466   return 0;
93467 }
93468 _ACEOF
93469 rm -f conftest.$ac_objext
93470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93471   (eval $ac_compile) 2>conftest.er1
93472   ac_status=$?
93473   grep -v '^ *+' conftest.er1 >conftest.err
93474   rm -f conftest.er1
93475   cat conftest.err >&5
93476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93477   (exit $ac_status); } &&
93478          { ac_try='test -z "$ac_cxx_werror_flag"
93479                          || test ! -s conftest.err'
93480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93481   (eval $ac_try) 2>&5
93482   ac_status=$?
93483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93484   (exit $ac_status); }; } &&
93485          { ac_try='test -s conftest.$ac_objext'
93486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93487   (eval $ac_try) 2>&5
93488   ac_status=$?
93489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93490   (exit $ac_status); }; }; then
93491   glibcxx_cv_func_atan2f_use=yes
93492 else
93493   echo "$as_me: failed program was:" >&5
93494 sed 's/^/| /' conftest.$ac_ext >&5
93495
93496 glibcxx_cv_func_atan2f_use=no
93497 fi
93498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93499       ac_ext=c
93500 ac_cpp='$CPP $CPPFLAGS'
93501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93504
93505
93506 fi
93507
93508   fi
93509   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
93510 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
93511
93512   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
93513
93514 for ac_func in atan2f
93515 do
93516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93517 echo "$as_me:$LINENO: checking for $ac_func" >&5
93518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93519 if eval "test \"\${$as_ac_var+set}\" = set"; then
93520   echo $ECHO_N "(cached) $ECHO_C" >&6
93521 else
93522   if test x$gcc_no_link = xyes; then
93523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93525    { (exit 1); exit 1; }; }
93526 fi
93527 cat >conftest.$ac_ext <<_ACEOF
93528 /* confdefs.h.  */
93529 _ACEOF
93530 cat confdefs.h >>conftest.$ac_ext
93531 cat >>conftest.$ac_ext <<_ACEOF
93532 /* end confdefs.h.  */
93533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93535 #define $ac_func innocuous_$ac_func
93536
93537 /* System header to define __stub macros and hopefully few prototypes,
93538     which can conflict with char $ac_func (); below.
93539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93540     <limits.h> exists even on freestanding compilers.  */
93541
93542 #ifdef __STDC__
93543 # include <limits.h>
93544 #else
93545 # include <assert.h>
93546 #endif
93547
93548 #undef $ac_func
93549
93550 /* Override any gcc2 internal prototype to avoid an error.  */
93551 #ifdef __cplusplus
93552 extern "C"
93553 {
93554 #endif
93555 /* We use char because int might match the return type of a gcc2
93556    builtin and then its argument prototype would still apply.  */
93557 char $ac_func ();
93558 /* The GNU C library defines this for functions which it implements
93559     to always fail with ENOSYS.  Some functions are actually named
93560     something starting with __ and the normal name is an alias.  */
93561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93562 choke me
93563 #else
93564 char (*f) () = $ac_func;
93565 #endif
93566 #ifdef __cplusplus
93567 }
93568 #endif
93569
93570 int
93571 main ()
93572 {
93573 return f != $ac_func;
93574   ;
93575   return 0;
93576 }
93577 _ACEOF
93578 rm -f conftest.$ac_objext conftest$ac_exeext
93579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93580   (eval $ac_link) 2>conftest.er1
93581   ac_status=$?
93582   grep -v '^ *+' conftest.er1 >conftest.err
93583   rm -f conftest.er1
93584   cat conftest.err >&5
93585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93586   (exit $ac_status); } &&
93587          { ac_try='test -z "$ac_c_werror_flag"
93588                          || test ! -s conftest.err'
93589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93590   (eval $ac_try) 2>&5
93591   ac_status=$?
93592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93593   (exit $ac_status); }; } &&
93594          { ac_try='test -s conftest$ac_exeext'
93595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93596   (eval $ac_try) 2>&5
93597   ac_status=$?
93598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93599   (exit $ac_status); }; }; then
93600   eval "$as_ac_var=yes"
93601 else
93602   echo "$as_me: failed program was:" >&5
93603 sed 's/^/| /' conftest.$ac_ext >&5
93604
93605 eval "$as_ac_var=no"
93606 fi
93607 rm -f conftest.err conftest.$ac_objext \
93608       conftest$ac_exeext conftest.$ac_ext
93609 fi
93610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93612 if test `eval echo '${'$as_ac_var'}'` = yes; then
93613   cat >>confdefs.h <<_ACEOF
93614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93615 _ACEOF
93616
93617 fi
93618 done
93619
93620   else
93621
93622   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93623 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93624   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93625     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93626   echo $ECHO_N "(cached) $ECHO_C" >&6
93627 else
93628
93629
93630
93631       ac_ext=cc
93632 ac_cpp='$CXXCPP $CPPFLAGS'
93633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93636
93637       cat >conftest.$ac_ext <<_ACEOF
93638 /* confdefs.h.  */
93639 _ACEOF
93640 cat confdefs.h >>conftest.$ac_ext
93641 cat >>conftest.$ac_ext <<_ACEOF
93642 /* end confdefs.h.  */
93643 #include <math.h>
93644 int
93645 main ()
93646 {
93647  _atan2f(0, 0);
93648   ;
93649   return 0;
93650 }
93651 _ACEOF
93652 rm -f conftest.$ac_objext
93653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93654   (eval $ac_compile) 2>conftest.er1
93655   ac_status=$?
93656   grep -v '^ *+' conftest.er1 >conftest.err
93657   rm -f conftest.er1
93658   cat conftest.err >&5
93659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93660   (exit $ac_status); } &&
93661          { ac_try='test -z "$ac_cxx_werror_flag"
93662                          || test ! -s conftest.err'
93663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93664   (eval $ac_try) 2>&5
93665   ac_status=$?
93666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93667   (exit $ac_status); }; } &&
93668          { ac_try='test -s conftest.$ac_objext'
93669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93670   (eval $ac_try) 2>&5
93671   ac_status=$?
93672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93673   (exit $ac_status); }; }; then
93674   glibcxx_cv_func__atan2f_use=yes
93675 else
93676   echo "$as_me: failed program was:" >&5
93677 sed 's/^/| /' conftest.$ac_ext >&5
93678
93679 glibcxx_cv_func__atan2f_use=no
93680 fi
93681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93682       ac_ext=c
93683 ac_cpp='$CPP $CPPFLAGS'
93684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93687
93688
93689 fi
93690
93691   fi
93692   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93693 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93694
93695     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93696
93697 for ac_func in _atan2f
93698 do
93699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93700 echo "$as_me:$LINENO: checking for $ac_func" >&5
93701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93702 if eval "test \"\${$as_ac_var+set}\" = set"; then
93703   echo $ECHO_N "(cached) $ECHO_C" >&6
93704 else
93705   if test x$gcc_no_link = xyes; then
93706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93708    { (exit 1); exit 1; }; }
93709 fi
93710 cat >conftest.$ac_ext <<_ACEOF
93711 /* confdefs.h.  */
93712 _ACEOF
93713 cat confdefs.h >>conftest.$ac_ext
93714 cat >>conftest.$ac_ext <<_ACEOF
93715 /* end confdefs.h.  */
93716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93718 #define $ac_func innocuous_$ac_func
93719
93720 /* System header to define __stub macros and hopefully few prototypes,
93721     which can conflict with char $ac_func (); below.
93722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93723     <limits.h> exists even on freestanding compilers.  */
93724
93725 #ifdef __STDC__
93726 # include <limits.h>
93727 #else
93728 # include <assert.h>
93729 #endif
93730
93731 #undef $ac_func
93732
93733 /* Override any gcc2 internal prototype to avoid an error.  */
93734 #ifdef __cplusplus
93735 extern "C"
93736 {
93737 #endif
93738 /* We use char because int might match the return type of a gcc2
93739    builtin and then its argument prototype would still apply.  */
93740 char $ac_func ();
93741 /* The GNU C library defines this for functions which it implements
93742     to always fail with ENOSYS.  Some functions are actually named
93743     something starting with __ and the normal name is an alias.  */
93744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93745 choke me
93746 #else
93747 char (*f) () = $ac_func;
93748 #endif
93749 #ifdef __cplusplus
93750 }
93751 #endif
93752
93753 int
93754 main ()
93755 {
93756 return f != $ac_func;
93757   ;
93758   return 0;
93759 }
93760 _ACEOF
93761 rm -f conftest.$ac_objext conftest$ac_exeext
93762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93763   (eval $ac_link) 2>conftest.er1
93764   ac_status=$?
93765   grep -v '^ *+' conftest.er1 >conftest.err
93766   rm -f conftest.er1
93767   cat conftest.err >&5
93768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93769   (exit $ac_status); } &&
93770          { ac_try='test -z "$ac_c_werror_flag"
93771                          || test ! -s conftest.err'
93772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93773   (eval $ac_try) 2>&5
93774   ac_status=$?
93775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93776   (exit $ac_status); }; } &&
93777          { ac_try='test -s conftest$ac_exeext'
93778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93779   (eval $ac_try) 2>&5
93780   ac_status=$?
93781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93782   (exit $ac_status); }; }; then
93783   eval "$as_ac_var=yes"
93784 else
93785   echo "$as_me: failed program was:" >&5
93786 sed 's/^/| /' conftest.$ac_ext >&5
93787
93788 eval "$as_ac_var=no"
93789 fi
93790 rm -f conftest.err conftest.$ac_objext \
93791       conftest$ac_exeext conftest.$ac_ext
93792 fi
93793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93795 if test `eval echo '${'$as_ac_var'}'` = yes; then
93796   cat >>confdefs.h <<_ACEOF
93797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93798 _ACEOF
93799
93800 fi
93801 done
93802
93803     fi
93804   fi
93805
93806
93807
93808
93809
93810
93811   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93812 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93813   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93814     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93815   echo $ECHO_N "(cached) $ECHO_C" >&6
93816 else
93817
93818
93819
93820       ac_ext=cc
93821 ac_cpp='$CXXCPP $CPPFLAGS'
93822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93825
93826       cat >conftest.$ac_ext <<_ACEOF
93827 /* confdefs.h.  */
93828 _ACEOF
93829 cat confdefs.h >>conftest.$ac_ext
93830 cat >>conftest.$ac_ext <<_ACEOF
93831 /* end confdefs.h.  */
93832 #include <math.h>
93833                       #ifdef HAVE_IEEEFP_H
93834                       #include <ieeefp.h>
93835                       #endif
93836
93837 int
93838 main ()
93839 {
93840  fabsf(0);
93841   ;
93842   return 0;
93843 }
93844 _ACEOF
93845 rm -f conftest.$ac_objext
93846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93847   (eval $ac_compile) 2>conftest.er1
93848   ac_status=$?
93849   grep -v '^ *+' conftest.er1 >conftest.err
93850   rm -f conftest.er1
93851   cat conftest.err >&5
93852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93853   (exit $ac_status); } &&
93854          { ac_try='test -z "$ac_cxx_werror_flag"
93855                          || test ! -s conftest.err'
93856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93857   (eval $ac_try) 2>&5
93858   ac_status=$?
93859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93860   (exit $ac_status); }; } &&
93861          { ac_try='test -s conftest.$ac_objext'
93862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93863   (eval $ac_try) 2>&5
93864   ac_status=$?
93865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93866   (exit $ac_status); }; }; then
93867   glibcxx_cv_func_fabsf_use=yes
93868 else
93869   echo "$as_me: failed program was:" >&5
93870 sed 's/^/| /' conftest.$ac_ext >&5
93871
93872 glibcxx_cv_func_fabsf_use=no
93873 fi
93874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93875       ac_ext=c
93876 ac_cpp='$CPP $CPPFLAGS'
93877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93880
93881
93882 fi
93883
93884   fi
93885   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93886 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93887
93888   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93889
93890 for ac_func in fabsf
93891 do
93892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93893 echo "$as_me:$LINENO: checking for $ac_func" >&5
93894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93895 if eval "test \"\${$as_ac_var+set}\" = set"; then
93896   echo $ECHO_N "(cached) $ECHO_C" >&6
93897 else
93898   if test x$gcc_no_link = xyes; then
93899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93901    { (exit 1); exit 1; }; }
93902 fi
93903 cat >conftest.$ac_ext <<_ACEOF
93904 /* confdefs.h.  */
93905 _ACEOF
93906 cat confdefs.h >>conftest.$ac_ext
93907 cat >>conftest.$ac_ext <<_ACEOF
93908 /* end confdefs.h.  */
93909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93911 #define $ac_func innocuous_$ac_func
93912
93913 /* System header to define __stub macros and hopefully few prototypes,
93914     which can conflict with char $ac_func (); below.
93915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93916     <limits.h> exists even on freestanding compilers.  */
93917
93918 #ifdef __STDC__
93919 # include <limits.h>
93920 #else
93921 # include <assert.h>
93922 #endif
93923
93924 #undef $ac_func
93925
93926 /* Override any gcc2 internal prototype to avoid an error.  */
93927 #ifdef __cplusplus
93928 extern "C"
93929 {
93930 #endif
93931 /* We use char because int might match the return type of a gcc2
93932    builtin and then its argument prototype would still apply.  */
93933 char $ac_func ();
93934 /* The GNU C library defines this for functions which it implements
93935     to always fail with ENOSYS.  Some functions are actually named
93936     something starting with __ and the normal name is an alias.  */
93937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93938 choke me
93939 #else
93940 char (*f) () = $ac_func;
93941 #endif
93942 #ifdef __cplusplus
93943 }
93944 #endif
93945
93946 int
93947 main ()
93948 {
93949 return f != $ac_func;
93950   ;
93951   return 0;
93952 }
93953 _ACEOF
93954 rm -f conftest.$ac_objext conftest$ac_exeext
93955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93956   (eval $ac_link) 2>conftest.er1
93957   ac_status=$?
93958   grep -v '^ *+' conftest.er1 >conftest.err
93959   rm -f conftest.er1
93960   cat conftest.err >&5
93961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93962   (exit $ac_status); } &&
93963          { ac_try='test -z "$ac_c_werror_flag"
93964                          || test ! -s conftest.err'
93965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93966   (eval $ac_try) 2>&5
93967   ac_status=$?
93968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93969   (exit $ac_status); }; } &&
93970          { ac_try='test -s conftest$ac_exeext'
93971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93972   (eval $ac_try) 2>&5
93973   ac_status=$?
93974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93975   (exit $ac_status); }; }; then
93976   eval "$as_ac_var=yes"
93977 else
93978   echo "$as_me: failed program was:" >&5
93979 sed 's/^/| /' conftest.$ac_ext >&5
93980
93981 eval "$as_ac_var=no"
93982 fi
93983 rm -f conftest.err conftest.$ac_objext \
93984       conftest$ac_exeext conftest.$ac_ext
93985 fi
93986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93988 if test `eval echo '${'$as_ac_var'}'` = yes; then
93989   cat >>confdefs.h <<_ACEOF
93990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93991 _ACEOF
93992
93993 fi
93994 done
93995
93996   else
93997
93998   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93999 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
94000   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
94001     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
94002   echo $ECHO_N "(cached) $ECHO_C" >&6
94003 else
94004
94005
94006
94007       ac_ext=cc
94008 ac_cpp='$CXXCPP $CPPFLAGS'
94009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94012
94013       cat >conftest.$ac_ext <<_ACEOF
94014 /* confdefs.h.  */
94015 _ACEOF
94016 cat confdefs.h >>conftest.$ac_ext
94017 cat >>conftest.$ac_ext <<_ACEOF
94018 /* end confdefs.h.  */
94019 #include <math.h>
94020                       #ifdef HAVE_IEEEFP_H
94021                       #include <ieeefp.h>
94022                       #endif
94023
94024 int
94025 main ()
94026 {
94027  _fabsf(0);
94028   ;
94029   return 0;
94030 }
94031 _ACEOF
94032 rm -f conftest.$ac_objext
94033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94034   (eval $ac_compile) 2>conftest.er1
94035   ac_status=$?
94036   grep -v '^ *+' conftest.er1 >conftest.err
94037   rm -f conftest.er1
94038   cat conftest.err >&5
94039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94040   (exit $ac_status); } &&
94041          { ac_try='test -z "$ac_cxx_werror_flag"
94042                          || test ! -s conftest.err'
94043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94044   (eval $ac_try) 2>&5
94045   ac_status=$?
94046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94047   (exit $ac_status); }; } &&
94048          { ac_try='test -s conftest.$ac_objext'
94049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94050   (eval $ac_try) 2>&5
94051   ac_status=$?
94052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94053   (exit $ac_status); }; }; then
94054   glibcxx_cv_func__fabsf_use=yes
94055 else
94056   echo "$as_me: failed program was:" >&5
94057 sed 's/^/| /' conftest.$ac_ext >&5
94058
94059 glibcxx_cv_func__fabsf_use=no
94060 fi
94061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94062       ac_ext=c
94063 ac_cpp='$CPP $CPPFLAGS'
94064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94067
94068
94069 fi
94070
94071   fi
94072   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
94073 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
94074
94075     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
94076
94077 for ac_func in _fabsf
94078 do
94079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94080 echo "$as_me:$LINENO: checking for $ac_func" >&5
94081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94082 if eval "test \"\${$as_ac_var+set}\" = set"; then
94083   echo $ECHO_N "(cached) $ECHO_C" >&6
94084 else
94085   if test x$gcc_no_link = xyes; then
94086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94088    { (exit 1); exit 1; }; }
94089 fi
94090 cat >conftest.$ac_ext <<_ACEOF
94091 /* confdefs.h.  */
94092 _ACEOF
94093 cat confdefs.h >>conftest.$ac_ext
94094 cat >>conftest.$ac_ext <<_ACEOF
94095 /* end confdefs.h.  */
94096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94098 #define $ac_func innocuous_$ac_func
94099
94100 /* System header to define __stub macros and hopefully few prototypes,
94101     which can conflict with char $ac_func (); below.
94102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94103     <limits.h> exists even on freestanding compilers.  */
94104
94105 #ifdef __STDC__
94106 # include <limits.h>
94107 #else
94108 # include <assert.h>
94109 #endif
94110
94111 #undef $ac_func
94112
94113 /* Override any gcc2 internal prototype to avoid an error.  */
94114 #ifdef __cplusplus
94115 extern "C"
94116 {
94117 #endif
94118 /* We use char because int might match the return type of a gcc2
94119    builtin and then its argument prototype would still apply.  */
94120 char $ac_func ();
94121 /* The GNU C library defines this for functions which it implements
94122     to always fail with ENOSYS.  Some functions are actually named
94123     something starting with __ and the normal name is an alias.  */
94124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94125 choke me
94126 #else
94127 char (*f) () = $ac_func;
94128 #endif
94129 #ifdef __cplusplus
94130 }
94131 #endif
94132
94133 int
94134 main ()
94135 {
94136 return f != $ac_func;
94137   ;
94138   return 0;
94139 }
94140 _ACEOF
94141 rm -f conftest.$ac_objext conftest$ac_exeext
94142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94143   (eval $ac_link) 2>conftest.er1
94144   ac_status=$?
94145   grep -v '^ *+' conftest.er1 >conftest.err
94146   rm -f conftest.er1
94147   cat conftest.err >&5
94148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94149   (exit $ac_status); } &&
94150          { ac_try='test -z "$ac_c_werror_flag"
94151                          || test ! -s conftest.err'
94152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94153   (eval $ac_try) 2>&5
94154   ac_status=$?
94155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94156   (exit $ac_status); }; } &&
94157          { ac_try='test -s conftest$ac_exeext'
94158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94159   (eval $ac_try) 2>&5
94160   ac_status=$?
94161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94162   (exit $ac_status); }; }; then
94163   eval "$as_ac_var=yes"
94164 else
94165   echo "$as_me: failed program was:" >&5
94166 sed 's/^/| /' conftest.$ac_ext >&5
94167
94168 eval "$as_ac_var=no"
94169 fi
94170 rm -f conftest.err conftest.$ac_objext \
94171       conftest$ac_exeext conftest.$ac_ext
94172 fi
94173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94175 if test `eval echo '${'$as_ac_var'}'` = yes; then
94176   cat >>confdefs.h <<_ACEOF
94177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94178 _ACEOF
94179
94180 fi
94181 done
94182
94183     fi
94184   fi
94185
94186
94187
94188
94189
94190
94191   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
94192 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
94193   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
94194     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
94195   echo $ECHO_N "(cached) $ECHO_C" >&6
94196 else
94197
94198
94199
94200       ac_ext=cc
94201 ac_cpp='$CXXCPP $CPPFLAGS'
94202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94205
94206       cat >conftest.$ac_ext <<_ACEOF
94207 /* confdefs.h.  */
94208 _ACEOF
94209 cat confdefs.h >>conftest.$ac_ext
94210 cat >>conftest.$ac_ext <<_ACEOF
94211 /* end confdefs.h.  */
94212 #include <math.h>
94213 int
94214 main ()
94215 {
94216  fmodf(0, 0);
94217   ;
94218   return 0;
94219 }
94220 _ACEOF
94221 rm -f conftest.$ac_objext
94222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94223   (eval $ac_compile) 2>conftest.er1
94224   ac_status=$?
94225   grep -v '^ *+' conftest.er1 >conftest.err
94226   rm -f conftest.er1
94227   cat conftest.err >&5
94228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94229   (exit $ac_status); } &&
94230          { ac_try='test -z "$ac_cxx_werror_flag"
94231                          || test ! -s conftest.err'
94232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94233   (eval $ac_try) 2>&5
94234   ac_status=$?
94235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94236   (exit $ac_status); }; } &&
94237          { ac_try='test -s conftest.$ac_objext'
94238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94239   (eval $ac_try) 2>&5
94240   ac_status=$?
94241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94242   (exit $ac_status); }; }; then
94243   glibcxx_cv_func_fmodf_use=yes
94244 else
94245   echo "$as_me: failed program was:" >&5
94246 sed 's/^/| /' conftest.$ac_ext >&5
94247
94248 glibcxx_cv_func_fmodf_use=no
94249 fi
94250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94251       ac_ext=c
94252 ac_cpp='$CPP $CPPFLAGS'
94253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94256
94257
94258 fi
94259
94260   fi
94261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
94262 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
94263
94264   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
94265
94266 for ac_func in fmodf
94267 do
94268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94269 echo "$as_me:$LINENO: checking for $ac_func" >&5
94270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94271 if eval "test \"\${$as_ac_var+set}\" = set"; then
94272   echo $ECHO_N "(cached) $ECHO_C" >&6
94273 else
94274   if test x$gcc_no_link = xyes; then
94275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94277    { (exit 1); exit 1; }; }
94278 fi
94279 cat >conftest.$ac_ext <<_ACEOF
94280 /* confdefs.h.  */
94281 _ACEOF
94282 cat confdefs.h >>conftest.$ac_ext
94283 cat >>conftest.$ac_ext <<_ACEOF
94284 /* end confdefs.h.  */
94285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94287 #define $ac_func innocuous_$ac_func
94288
94289 /* System header to define __stub macros and hopefully few prototypes,
94290     which can conflict with char $ac_func (); below.
94291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94292     <limits.h> exists even on freestanding compilers.  */
94293
94294 #ifdef __STDC__
94295 # include <limits.h>
94296 #else
94297 # include <assert.h>
94298 #endif
94299
94300 #undef $ac_func
94301
94302 /* Override any gcc2 internal prototype to avoid an error.  */
94303 #ifdef __cplusplus
94304 extern "C"
94305 {
94306 #endif
94307 /* We use char because int might match the return type of a gcc2
94308    builtin and then its argument prototype would still apply.  */
94309 char $ac_func ();
94310 /* The GNU C library defines this for functions which it implements
94311     to always fail with ENOSYS.  Some functions are actually named
94312     something starting with __ and the normal name is an alias.  */
94313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94314 choke me
94315 #else
94316 char (*f) () = $ac_func;
94317 #endif
94318 #ifdef __cplusplus
94319 }
94320 #endif
94321
94322 int
94323 main ()
94324 {
94325 return f != $ac_func;
94326   ;
94327   return 0;
94328 }
94329 _ACEOF
94330 rm -f conftest.$ac_objext conftest$ac_exeext
94331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94332   (eval $ac_link) 2>conftest.er1
94333   ac_status=$?
94334   grep -v '^ *+' conftest.er1 >conftest.err
94335   rm -f conftest.er1
94336   cat conftest.err >&5
94337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94338   (exit $ac_status); } &&
94339          { ac_try='test -z "$ac_c_werror_flag"
94340                          || test ! -s conftest.err'
94341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94342   (eval $ac_try) 2>&5
94343   ac_status=$?
94344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94345   (exit $ac_status); }; } &&
94346          { ac_try='test -s conftest$ac_exeext'
94347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94348   (eval $ac_try) 2>&5
94349   ac_status=$?
94350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94351   (exit $ac_status); }; }; then
94352   eval "$as_ac_var=yes"
94353 else
94354   echo "$as_me: failed program was:" >&5
94355 sed 's/^/| /' conftest.$ac_ext >&5
94356
94357 eval "$as_ac_var=no"
94358 fi
94359 rm -f conftest.err conftest.$ac_objext \
94360       conftest$ac_exeext conftest.$ac_ext
94361 fi
94362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94364 if test `eval echo '${'$as_ac_var'}'` = yes; then
94365   cat >>confdefs.h <<_ACEOF
94366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94367 _ACEOF
94368
94369 fi
94370 done
94371
94372   else
94373
94374   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
94375 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
94376   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
94377     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
94378   echo $ECHO_N "(cached) $ECHO_C" >&6
94379 else
94380
94381
94382
94383       ac_ext=cc
94384 ac_cpp='$CXXCPP $CPPFLAGS'
94385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94388
94389       cat >conftest.$ac_ext <<_ACEOF
94390 /* confdefs.h.  */
94391 _ACEOF
94392 cat confdefs.h >>conftest.$ac_ext
94393 cat >>conftest.$ac_ext <<_ACEOF
94394 /* end confdefs.h.  */
94395 #include <math.h>
94396 int
94397 main ()
94398 {
94399  _fmodf(0, 0);
94400   ;
94401   return 0;
94402 }
94403 _ACEOF
94404 rm -f conftest.$ac_objext
94405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94406   (eval $ac_compile) 2>conftest.er1
94407   ac_status=$?
94408   grep -v '^ *+' conftest.er1 >conftest.err
94409   rm -f conftest.er1
94410   cat conftest.err >&5
94411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412   (exit $ac_status); } &&
94413          { ac_try='test -z "$ac_cxx_werror_flag"
94414                          || test ! -s conftest.err'
94415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416   (eval $ac_try) 2>&5
94417   ac_status=$?
94418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419   (exit $ac_status); }; } &&
94420          { ac_try='test -s conftest.$ac_objext'
94421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422   (eval $ac_try) 2>&5
94423   ac_status=$?
94424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425   (exit $ac_status); }; }; then
94426   glibcxx_cv_func__fmodf_use=yes
94427 else
94428   echo "$as_me: failed program was:" >&5
94429 sed 's/^/| /' conftest.$ac_ext >&5
94430
94431 glibcxx_cv_func__fmodf_use=no
94432 fi
94433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94434       ac_ext=c
94435 ac_cpp='$CPP $CPPFLAGS'
94436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94439
94440
94441 fi
94442
94443   fi
94444   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
94445 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
94446
94447     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
94448
94449 for ac_func in _fmodf
94450 do
94451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94452 echo "$as_me:$LINENO: checking for $ac_func" >&5
94453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94454 if eval "test \"\${$as_ac_var+set}\" = set"; then
94455   echo $ECHO_N "(cached) $ECHO_C" >&6
94456 else
94457   if test x$gcc_no_link = xyes; then
94458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94460    { (exit 1); exit 1; }; }
94461 fi
94462 cat >conftest.$ac_ext <<_ACEOF
94463 /* confdefs.h.  */
94464 _ACEOF
94465 cat confdefs.h >>conftest.$ac_ext
94466 cat >>conftest.$ac_ext <<_ACEOF
94467 /* end confdefs.h.  */
94468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94470 #define $ac_func innocuous_$ac_func
94471
94472 /* System header to define __stub macros and hopefully few prototypes,
94473     which can conflict with char $ac_func (); below.
94474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94475     <limits.h> exists even on freestanding compilers.  */
94476
94477 #ifdef __STDC__
94478 # include <limits.h>
94479 #else
94480 # include <assert.h>
94481 #endif
94482
94483 #undef $ac_func
94484
94485 /* Override any gcc2 internal prototype to avoid an error.  */
94486 #ifdef __cplusplus
94487 extern "C"
94488 {
94489 #endif
94490 /* We use char because int might match the return type of a gcc2
94491    builtin and then its argument prototype would still apply.  */
94492 char $ac_func ();
94493 /* The GNU C library defines this for functions which it implements
94494     to always fail with ENOSYS.  Some functions are actually named
94495     something starting with __ and the normal name is an alias.  */
94496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94497 choke me
94498 #else
94499 char (*f) () = $ac_func;
94500 #endif
94501 #ifdef __cplusplus
94502 }
94503 #endif
94504
94505 int
94506 main ()
94507 {
94508 return f != $ac_func;
94509   ;
94510   return 0;
94511 }
94512 _ACEOF
94513 rm -f conftest.$ac_objext conftest$ac_exeext
94514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94515   (eval $ac_link) 2>conftest.er1
94516   ac_status=$?
94517   grep -v '^ *+' conftest.er1 >conftest.err
94518   rm -f conftest.er1
94519   cat conftest.err >&5
94520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94521   (exit $ac_status); } &&
94522          { ac_try='test -z "$ac_c_werror_flag"
94523                          || test ! -s conftest.err'
94524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94525   (eval $ac_try) 2>&5
94526   ac_status=$?
94527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528   (exit $ac_status); }; } &&
94529          { ac_try='test -s conftest$ac_exeext'
94530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94531   (eval $ac_try) 2>&5
94532   ac_status=$?
94533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94534   (exit $ac_status); }; }; then
94535   eval "$as_ac_var=yes"
94536 else
94537   echo "$as_me: failed program was:" >&5
94538 sed 's/^/| /' conftest.$ac_ext >&5
94539
94540 eval "$as_ac_var=no"
94541 fi
94542 rm -f conftest.err conftest.$ac_objext \
94543       conftest$ac_exeext conftest.$ac_ext
94544 fi
94545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94547 if test `eval echo '${'$as_ac_var'}'` = yes; then
94548   cat >>confdefs.h <<_ACEOF
94549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94550 _ACEOF
94551
94552 fi
94553 done
94554
94555     fi
94556   fi
94557
94558
94559
94560
94561
94562
94563   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94564 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94565   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94566     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94567   echo $ECHO_N "(cached) $ECHO_C" >&6
94568 else
94569
94570
94571
94572       ac_ext=cc
94573 ac_cpp='$CXXCPP $CPPFLAGS'
94574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94577
94578       cat >conftest.$ac_ext <<_ACEOF
94579 /* confdefs.h.  */
94580 _ACEOF
94581 cat confdefs.h >>conftest.$ac_ext
94582 cat >>conftest.$ac_ext <<_ACEOF
94583 /* end confdefs.h.  */
94584 #include <math.h>
94585 int
94586 main ()
94587 {
94588  frexpf(0, 0);
94589   ;
94590   return 0;
94591 }
94592 _ACEOF
94593 rm -f conftest.$ac_objext
94594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94595   (eval $ac_compile) 2>conftest.er1
94596   ac_status=$?
94597   grep -v '^ *+' conftest.er1 >conftest.err
94598   rm -f conftest.er1
94599   cat conftest.err >&5
94600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94601   (exit $ac_status); } &&
94602          { ac_try='test -z "$ac_cxx_werror_flag"
94603                          || test ! -s conftest.err'
94604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94605   (eval $ac_try) 2>&5
94606   ac_status=$?
94607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608   (exit $ac_status); }; } &&
94609          { ac_try='test -s conftest.$ac_objext'
94610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94611   (eval $ac_try) 2>&5
94612   ac_status=$?
94613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94614   (exit $ac_status); }; }; then
94615   glibcxx_cv_func_frexpf_use=yes
94616 else
94617   echo "$as_me: failed program was:" >&5
94618 sed 's/^/| /' conftest.$ac_ext >&5
94619
94620 glibcxx_cv_func_frexpf_use=no
94621 fi
94622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94623       ac_ext=c
94624 ac_cpp='$CPP $CPPFLAGS'
94625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94628
94629
94630 fi
94631
94632   fi
94633   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94634 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94635
94636   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94637
94638 for ac_func in frexpf
94639 do
94640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94641 echo "$as_me:$LINENO: checking for $ac_func" >&5
94642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94643 if eval "test \"\${$as_ac_var+set}\" = set"; then
94644   echo $ECHO_N "(cached) $ECHO_C" >&6
94645 else
94646   if test x$gcc_no_link = xyes; then
94647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94649    { (exit 1); exit 1; }; }
94650 fi
94651 cat >conftest.$ac_ext <<_ACEOF
94652 /* confdefs.h.  */
94653 _ACEOF
94654 cat confdefs.h >>conftest.$ac_ext
94655 cat >>conftest.$ac_ext <<_ACEOF
94656 /* end confdefs.h.  */
94657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94659 #define $ac_func innocuous_$ac_func
94660
94661 /* System header to define __stub macros and hopefully few prototypes,
94662     which can conflict with char $ac_func (); below.
94663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94664     <limits.h> exists even on freestanding compilers.  */
94665
94666 #ifdef __STDC__
94667 # include <limits.h>
94668 #else
94669 # include <assert.h>
94670 #endif
94671
94672 #undef $ac_func
94673
94674 /* Override any gcc2 internal prototype to avoid an error.  */
94675 #ifdef __cplusplus
94676 extern "C"
94677 {
94678 #endif
94679 /* We use char because int might match the return type of a gcc2
94680    builtin and then its argument prototype would still apply.  */
94681 char $ac_func ();
94682 /* The GNU C library defines this for functions which it implements
94683     to always fail with ENOSYS.  Some functions are actually named
94684     something starting with __ and the normal name is an alias.  */
94685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94686 choke me
94687 #else
94688 char (*f) () = $ac_func;
94689 #endif
94690 #ifdef __cplusplus
94691 }
94692 #endif
94693
94694 int
94695 main ()
94696 {
94697 return f != $ac_func;
94698   ;
94699   return 0;
94700 }
94701 _ACEOF
94702 rm -f conftest.$ac_objext conftest$ac_exeext
94703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94704   (eval $ac_link) 2>conftest.er1
94705   ac_status=$?
94706   grep -v '^ *+' conftest.er1 >conftest.err
94707   rm -f conftest.er1
94708   cat conftest.err >&5
94709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94710   (exit $ac_status); } &&
94711          { ac_try='test -z "$ac_c_werror_flag"
94712                          || test ! -s conftest.err'
94713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94714   (eval $ac_try) 2>&5
94715   ac_status=$?
94716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94717   (exit $ac_status); }; } &&
94718          { ac_try='test -s conftest$ac_exeext'
94719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94720   (eval $ac_try) 2>&5
94721   ac_status=$?
94722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94723   (exit $ac_status); }; }; then
94724   eval "$as_ac_var=yes"
94725 else
94726   echo "$as_me: failed program was:" >&5
94727 sed 's/^/| /' conftest.$ac_ext >&5
94728
94729 eval "$as_ac_var=no"
94730 fi
94731 rm -f conftest.err conftest.$ac_objext \
94732       conftest$ac_exeext conftest.$ac_ext
94733 fi
94734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94736 if test `eval echo '${'$as_ac_var'}'` = yes; then
94737   cat >>confdefs.h <<_ACEOF
94738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94739 _ACEOF
94740
94741 fi
94742 done
94743
94744   else
94745
94746   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94747 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94748   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94749     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94750   echo $ECHO_N "(cached) $ECHO_C" >&6
94751 else
94752
94753
94754
94755       ac_ext=cc
94756 ac_cpp='$CXXCPP $CPPFLAGS'
94757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94760
94761       cat >conftest.$ac_ext <<_ACEOF
94762 /* confdefs.h.  */
94763 _ACEOF
94764 cat confdefs.h >>conftest.$ac_ext
94765 cat >>conftest.$ac_ext <<_ACEOF
94766 /* end confdefs.h.  */
94767 #include <math.h>
94768 int
94769 main ()
94770 {
94771  _frexpf(0, 0);
94772   ;
94773   return 0;
94774 }
94775 _ACEOF
94776 rm -f conftest.$ac_objext
94777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94778   (eval $ac_compile) 2>conftest.er1
94779   ac_status=$?
94780   grep -v '^ *+' conftest.er1 >conftest.err
94781   rm -f conftest.er1
94782   cat conftest.err >&5
94783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784   (exit $ac_status); } &&
94785          { ac_try='test -z "$ac_cxx_werror_flag"
94786                          || test ! -s conftest.err'
94787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788   (eval $ac_try) 2>&5
94789   ac_status=$?
94790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791   (exit $ac_status); }; } &&
94792          { ac_try='test -s conftest.$ac_objext'
94793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94794   (eval $ac_try) 2>&5
94795   ac_status=$?
94796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94797   (exit $ac_status); }; }; then
94798   glibcxx_cv_func__frexpf_use=yes
94799 else
94800   echo "$as_me: failed program was:" >&5
94801 sed 's/^/| /' conftest.$ac_ext >&5
94802
94803 glibcxx_cv_func__frexpf_use=no
94804 fi
94805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94806       ac_ext=c
94807 ac_cpp='$CPP $CPPFLAGS'
94808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94811
94812
94813 fi
94814
94815   fi
94816   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94817 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94818
94819     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94820
94821 for ac_func in _frexpf
94822 do
94823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94824 echo "$as_me:$LINENO: checking for $ac_func" >&5
94825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94826 if eval "test \"\${$as_ac_var+set}\" = set"; then
94827   echo $ECHO_N "(cached) $ECHO_C" >&6
94828 else
94829   if test x$gcc_no_link = xyes; then
94830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94832    { (exit 1); exit 1; }; }
94833 fi
94834 cat >conftest.$ac_ext <<_ACEOF
94835 /* confdefs.h.  */
94836 _ACEOF
94837 cat confdefs.h >>conftest.$ac_ext
94838 cat >>conftest.$ac_ext <<_ACEOF
94839 /* end confdefs.h.  */
94840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94842 #define $ac_func innocuous_$ac_func
94843
94844 /* System header to define __stub macros and hopefully few prototypes,
94845     which can conflict with char $ac_func (); below.
94846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94847     <limits.h> exists even on freestanding compilers.  */
94848
94849 #ifdef __STDC__
94850 # include <limits.h>
94851 #else
94852 # include <assert.h>
94853 #endif
94854
94855 #undef $ac_func
94856
94857 /* Override any gcc2 internal prototype to avoid an error.  */
94858 #ifdef __cplusplus
94859 extern "C"
94860 {
94861 #endif
94862 /* We use char because int might match the return type of a gcc2
94863    builtin and then its argument prototype would still apply.  */
94864 char $ac_func ();
94865 /* The GNU C library defines this for functions which it implements
94866     to always fail with ENOSYS.  Some functions are actually named
94867     something starting with __ and the normal name is an alias.  */
94868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94869 choke me
94870 #else
94871 char (*f) () = $ac_func;
94872 #endif
94873 #ifdef __cplusplus
94874 }
94875 #endif
94876
94877 int
94878 main ()
94879 {
94880 return f != $ac_func;
94881   ;
94882   return 0;
94883 }
94884 _ACEOF
94885 rm -f conftest.$ac_objext conftest$ac_exeext
94886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94887   (eval $ac_link) 2>conftest.er1
94888   ac_status=$?
94889   grep -v '^ *+' conftest.er1 >conftest.err
94890   rm -f conftest.er1
94891   cat conftest.err >&5
94892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94893   (exit $ac_status); } &&
94894          { ac_try='test -z "$ac_c_werror_flag"
94895                          || test ! -s conftest.err'
94896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94897   (eval $ac_try) 2>&5
94898   ac_status=$?
94899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94900   (exit $ac_status); }; } &&
94901          { ac_try='test -s conftest$ac_exeext'
94902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94903   (eval $ac_try) 2>&5
94904   ac_status=$?
94905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94906   (exit $ac_status); }; }; then
94907   eval "$as_ac_var=yes"
94908 else
94909   echo "$as_me: failed program was:" >&5
94910 sed 's/^/| /' conftest.$ac_ext >&5
94911
94912 eval "$as_ac_var=no"
94913 fi
94914 rm -f conftest.err conftest.$ac_objext \
94915       conftest$ac_exeext conftest.$ac_ext
94916 fi
94917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94919 if test `eval echo '${'$as_ac_var'}'` = yes; then
94920   cat >>confdefs.h <<_ACEOF
94921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94922 _ACEOF
94923
94924 fi
94925 done
94926
94927     fi
94928   fi
94929
94930
94931
94932
94933
94934
94935   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94936 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94937   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94938     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94939   echo $ECHO_N "(cached) $ECHO_C" >&6
94940 else
94941
94942
94943
94944       ac_ext=cc
94945 ac_cpp='$CXXCPP $CPPFLAGS'
94946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94949
94950       cat >conftest.$ac_ext <<_ACEOF
94951 /* confdefs.h.  */
94952 _ACEOF
94953 cat confdefs.h >>conftest.$ac_ext
94954 cat >>conftest.$ac_ext <<_ACEOF
94955 /* end confdefs.h.  */
94956 #include <math.h>
94957 int
94958 main ()
94959 {
94960  hypotf(0, 0);
94961   ;
94962   return 0;
94963 }
94964 _ACEOF
94965 rm -f conftest.$ac_objext
94966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94967   (eval $ac_compile) 2>conftest.er1
94968   ac_status=$?
94969   grep -v '^ *+' conftest.er1 >conftest.err
94970   rm -f conftest.er1
94971   cat conftest.err >&5
94972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94973   (exit $ac_status); } &&
94974          { ac_try='test -z "$ac_cxx_werror_flag"
94975                          || test ! -s conftest.err'
94976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94977   (eval $ac_try) 2>&5
94978   ac_status=$?
94979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980   (exit $ac_status); }; } &&
94981          { ac_try='test -s conftest.$ac_objext'
94982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94983   (eval $ac_try) 2>&5
94984   ac_status=$?
94985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94986   (exit $ac_status); }; }; then
94987   glibcxx_cv_func_hypotf_use=yes
94988 else
94989   echo "$as_me: failed program was:" >&5
94990 sed 's/^/| /' conftest.$ac_ext >&5
94991
94992 glibcxx_cv_func_hypotf_use=no
94993 fi
94994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94995       ac_ext=c
94996 ac_cpp='$CPP $CPPFLAGS'
94997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95000
95001
95002 fi
95003
95004   fi
95005   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
95006 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
95007
95008   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
95009
95010 for ac_func in hypotf
95011 do
95012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95013 echo "$as_me:$LINENO: checking for $ac_func" >&5
95014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95015 if eval "test \"\${$as_ac_var+set}\" = set"; then
95016   echo $ECHO_N "(cached) $ECHO_C" >&6
95017 else
95018   if test x$gcc_no_link = xyes; then
95019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95021    { (exit 1); exit 1; }; }
95022 fi
95023 cat >conftest.$ac_ext <<_ACEOF
95024 /* confdefs.h.  */
95025 _ACEOF
95026 cat confdefs.h >>conftest.$ac_ext
95027 cat >>conftest.$ac_ext <<_ACEOF
95028 /* end confdefs.h.  */
95029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95031 #define $ac_func innocuous_$ac_func
95032
95033 /* System header to define __stub macros and hopefully few prototypes,
95034     which can conflict with char $ac_func (); below.
95035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95036     <limits.h> exists even on freestanding compilers.  */
95037
95038 #ifdef __STDC__
95039 # include <limits.h>
95040 #else
95041 # include <assert.h>
95042 #endif
95043
95044 #undef $ac_func
95045
95046 /* Override any gcc2 internal prototype to avoid an error.  */
95047 #ifdef __cplusplus
95048 extern "C"
95049 {
95050 #endif
95051 /* We use char because int might match the return type of a gcc2
95052    builtin and then its argument prototype would still apply.  */
95053 char $ac_func ();
95054 /* The GNU C library defines this for functions which it implements
95055     to always fail with ENOSYS.  Some functions are actually named
95056     something starting with __ and the normal name is an alias.  */
95057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95058 choke me
95059 #else
95060 char (*f) () = $ac_func;
95061 #endif
95062 #ifdef __cplusplus
95063 }
95064 #endif
95065
95066 int
95067 main ()
95068 {
95069 return f != $ac_func;
95070   ;
95071   return 0;
95072 }
95073 _ACEOF
95074 rm -f conftest.$ac_objext conftest$ac_exeext
95075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95076   (eval $ac_link) 2>conftest.er1
95077   ac_status=$?
95078   grep -v '^ *+' conftest.er1 >conftest.err
95079   rm -f conftest.er1
95080   cat conftest.err >&5
95081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95082   (exit $ac_status); } &&
95083          { ac_try='test -z "$ac_c_werror_flag"
95084                          || test ! -s conftest.err'
95085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95086   (eval $ac_try) 2>&5
95087   ac_status=$?
95088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95089   (exit $ac_status); }; } &&
95090          { ac_try='test -s conftest$ac_exeext'
95091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95092   (eval $ac_try) 2>&5
95093   ac_status=$?
95094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95095   (exit $ac_status); }; }; then
95096   eval "$as_ac_var=yes"
95097 else
95098   echo "$as_me: failed program was:" >&5
95099 sed 's/^/| /' conftest.$ac_ext >&5
95100
95101 eval "$as_ac_var=no"
95102 fi
95103 rm -f conftest.err conftest.$ac_objext \
95104       conftest$ac_exeext conftest.$ac_ext
95105 fi
95106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95108 if test `eval echo '${'$as_ac_var'}'` = yes; then
95109   cat >>confdefs.h <<_ACEOF
95110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95111 _ACEOF
95112
95113 fi
95114 done
95115
95116   else
95117
95118   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
95119 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
95120   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
95121     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
95122   echo $ECHO_N "(cached) $ECHO_C" >&6
95123 else
95124
95125
95126
95127       ac_ext=cc
95128 ac_cpp='$CXXCPP $CPPFLAGS'
95129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95132
95133       cat >conftest.$ac_ext <<_ACEOF
95134 /* confdefs.h.  */
95135 _ACEOF
95136 cat confdefs.h >>conftest.$ac_ext
95137 cat >>conftest.$ac_ext <<_ACEOF
95138 /* end confdefs.h.  */
95139 #include <math.h>
95140 int
95141 main ()
95142 {
95143  _hypotf(0, 0);
95144   ;
95145   return 0;
95146 }
95147 _ACEOF
95148 rm -f conftest.$ac_objext
95149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95150   (eval $ac_compile) 2>conftest.er1
95151   ac_status=$?
95152   grep -v '^ *+' conftest.er1 >conftest.err
95153   rm -f conftest.er1
95154   cat conftest.err >&5
95155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95156   (exit $ac_status); } &&
95157          { ac_try='test -z "$ac_cxx_werror_flag"
95158                          || test ! -s conftest.err'
95159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95160   (eval $ac_try) 2>&5
95161   ac_status=$?
95162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95163   (exit $ac_status); }; } &&
95164          { ac_try='test -s conftest.$ac_objext'
95165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95166   (eval $ac_try) 2>&5
95167   ac_status=$?
95168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95169   (exit $ac_status); }; }; then
95170   glibcxx_cv_func__hypotf_use=yes
95171 else
95172   echo "$as_me: failed program was:" >&5
95173 sed 's/^/| /' conftest.$ac_ext >&5
95174
95175 glibcxx_cv_func__hypotf_use=no
95176 fi
95177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95178       ac_ext=c
95179 ac_cpp='$CPP $CPPFLAGS'
95180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95183
95184
95185 fi
95186
95187   fi
95188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
95189 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
95190
95191     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
95192
95193 for ac_func in _hypotf
95194 do
95195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95196 echo "$as_me:$LINENO: checking for $ac_func" >&5
95197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95198 if eval "test \"\${$as_ac_var+set}\" = set"; then
95199   echo $ECHO_N "(cached) $ECHO_C" >&6
95200 else
95201   if test x$gcc_no_link = xyes; then
95202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95204    { (exit 1); exit 1; }; }
95205 fi
95206 cat >conftest.$ac_ext <<_ACEOF
95207 /* confdefs.h.  */
95208 _ACEOF
95209 cat confdefs.h >>conftest.$ac_ext
95210 cat >>conftest.$ac_ext <<_ACEOF
95211 /* end confdefs.h.  */
95212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95214 #define $ac_func innocuous_$ac_func
95215
95216 /* System header to define __stub macros and hopefully few prototypes,
95217     which can conflict with char $ac_func (); below.
95218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95219     <limits.h> exists even on freestanding compilers.  */
95220
95221 #ifdef __STDC__
95222 # include <limits.h>
95223 #else
95224 # include <assert.h>
95225 #endif
95226
95227 #undef $ac_func
95228
95229 /* Override any gcc2 internal prototype to avoid an error.  */
95230 #ifdef __cplusplus
95231 extern "C"
95232 {
95233 #endif
95234 /* We use char because int might match the return type of a gcc2
95235    builtin and then its argument prototype would still apply.  */
95236 char $ac_func ();
95237 /* The GNU C library defines this for functions which it implements
95238     to always fail with ENOSYS.  Some functions are actually named
95239     something starting with __ and the normal name is an alias.  */
95240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95241 choke me
95242 #else
95243 char (*f) () = $ac_func;
95244 #endif
95245 #ifdef __cplusplus
95246 }
95247 #endif
95248
95249 int
95250 main ()
95251 {
95252 return f != $ac_func;
95253   ;
95254   return 0;
95255 }
95256 _ACEOF
95257 rm -f conftest.$ac_objext conftest$ac_exeext
95258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95259   (eval $ac_link) 2>conftest.er1
95260   ac_status=$?
95261   grep -v '^ *+' conftest.er1 >conftest.err
95262   rm -f conftest.er1
95263   cat conftest.err >&5
95264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95265   (exit $ac_status); } &&
95266          { ac_try='test -z "$ac_c_werror_flag"
95267                          || test ! -s conftest.err'
95268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95269   (eval $ac_try) 2>&5
95270   ac_status=$?
95271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95272   (exit $ac_status); }; } &&
95273          { ac_try='test -s conftest$ac_exeext'
95274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95275   (eval $ac_try) 2>&5
95276   ac_status=$?
95277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95278   (exit $ac_status); }; }; then
95279   eval "$as_ac_var=yes"
95280 else
95281   echo "$as_me: failed program was:" >&5
95282 sed 's/^/| /' conftest.$ac_ext >&5
95283
95284 eval "$as_ac_var=no"
95285 fi
95286 rm -f conftest.err conftest.$ac_objext \
95287       conftest$ac_exeext conftest.$ac_ext
95288 fi
95289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95291 if test `eval echo '${'$as_ac_var'}'` = yes; then
95292   cat >>confdefs.h <<_ACEOF
95293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95294 _ACEOF
95295
95296 fi
95297 done
95298
95299     fi
95300   fi
95301
95302
95303
95304
95305
95306
95307   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
95308 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
95309   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
95310     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
95311   echo $ECHO_N "(cached) $ECHO_C" >&6
95312 else
95313
95314
95315
95316       ac_ext=cc
95317 ac_cpp='$CXXCPP $CPPFLAGS'
95318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95321
95322       cat >conftest.$ac_ext <<_ACEOF
95323 /* confdefs.h.  */
95324 _ACEOF
95325 cat confdefs.h >>conftest.$ac_ext
95326 cat >>conftest.$ac_ext <<_ACEOF
95327 /* end confdefs.h.  */
95328 #include <math.h>
95329 int
95330 main ()
95331 {
95332  ldexpf(0, 0);
95333   ;
95334   return 0;
95335 }
95336 _ACEOF
95337 rm -f conftest.$ac_objext
95338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95339   (eval $ac_compile) 2>conftest.er1
95340   ac_status=$?
95341   grep -v '^ *+' conftest.er1 >conftest.err
95342   rm -f conftest.er1
95343   cat conftest.err >&5
95344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95345   (exit $ac_status); } &&
95346          { ac_try='test -z "$ac_cxx_werror_flag"
95347                          || test ! -s conftest.err'
95348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95349   (eval $ac_try) 2>&5
95350   ac_status=$?
95351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95352   (exit $ac_status); }; } &&
95353          { ac_try='test -s conftest.$ac_objext'
95354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95355   (eval $ac_try) 2>&5
95356   ac_status=$?
95357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95358   (exit $ac_status); }; }; then
95359   glibcxx_cv_func_ldexpf_use=yes
95360 else
95361   echo "$as_me: failed program was:" >&5
95362 sed 's/^/| /' conftest.$ac_ext >&5
95363
95364 glibcxx_cv_func_ldexpf_use=no
95365 fi
95366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95367       ac_ext=c
95368 ac_cpp='$CPP $CPPFLAGS'
95369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95372
95373
95374 fi
95375
95376   fi
95377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
95378 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
95379
95380   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
95381
95382 for ac_func in ldexpf
95383 do
95384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95385 echo "$as_me:$LINENO: checking for $ac_func" >&5
95386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95387 if eval "test \"\${$as_ac_var+set}\" = set"; then
95388   echo $ECHO_N "(cached) $ECHO_C" >&6
95389 else
95390   if test x$gcc_no_link = xyes; then
95391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95393    { (exit 1); exit 1; }; }
95394 fi
95395 cat >conftest.$ac_ext <<_ACEOF
95396 /* confdefs.h.  */
95397 _ACEOF
95398 cat confdefs.h >>conftest.$ac_ext
95399 cat >>conftest.$ac_ext <<_ACEOF
95400 /* end confdefs.h.  */
95401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95403 #define $ac_func innocuous_$ac_func
95404
95405 /* System header to define __stub macros and hopefully few prototypes,
95406     which can conflict with char $ac_func (); below.
95407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95408     <limits.h> exists even on freestanding compilers.  */
95409
95410 #ifdef __STDC__
95411 # include <limits.h>
95412 #else
95413 # include <assert.h>
95414 #endif
95415
95416 #undef $ac_func
95417
95418 /* Override any gcc2 internal prototype to avoid an error.  */
95419 #ifdef __cplusplus
95420 extern "C"
95421 {
95422 #endif
95423 /* We use char because int might match the return type of a gcc2
95424    builtin and then its argument prototype would still apply.  */
95425 char $ac_func ();
95426 /* The GNU C library defines this for functions which it implements
95427     to always fail with ENOSYS.  Some functions are actually named
95428     something starting with __ and the normal name is an alias.  */
95429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95430 choke me
95431 #else
95432 char (*f) () = $ac_func;
95433 #endif
95434 #ifdef __cplusplus
95435 }
95436 #endif
95437
95438 int
95439 main ()
95440 {
95441 return f != $ac_func;
95442   ;
95443   return 0;
95444 }
95445 _ACEOF
95446 rm -f conftest.$ac_objext conftest$ac_exeext
95447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95448   (eval $ac_link) 2>conftest.er1
95449   ac_status=$?
95450   grep -v '^ *+' conftest.er1 >conftest.err
95451   rm -f conftest.er1
95452   cat conftest.err >&5
95453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95454   (exit $ac_status); } &&
95455          { ac_try='test -z "$ac_c_werror_flag"
95456                          || test ! -s conftest.err'
95457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95458   (eval $ac_try) 2>&5
95459   ac_status=$?
95460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95461   (exit $ac_status); }; } &&
95462          { ac_try='test -s conftest$ac_exeext'
95463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95464   (eval $ac_try) 2>&5
95465   ac_status=$?
95466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95467   (exit $ac_status); }; }; then
95468   eval "$as_ac_var=yes"
95469 else
95470   echo "$as_me: failed program was:" >&5
95471 sed 's/^/| /' conftest.$ac_ext >&5
95472
95473 eval "$as_ac_var=no"
95474 fi
95475 rm -f conftest.err conftest.$ac_objext \
95476       conftest$ac_exeext conftest.$ac_ext
95477 fi
95478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95480 if test `eval echo '${'$as_ac_var'}'` = yes; then
95481   cat >>confdefs.h <<_ACEOF
95482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95483 _ACEOF
95484
95485 fi
95486 done
95487
95488   else
95489
95490   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
95491 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
95492   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
95493     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
95494   echo $ECHO_N "(cached) $ECHO_C" >&6
95495 else
95496
95497
95498
95499       ac_ext=cc
95500 ac_cpp='$CXXCPP $CPPFLAGS'
95501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95504
95505       cat >conftest.$ac_ext <<_ACEOF
95506 /* confdefs.h.  */
95507 _ACEOF
95508 cat confdefs.h >>conftest.$ac_ext
95509 cat >>conftest.$ac_ext <<_ACEOF
95510 /* end confdefs.h.  */
95511 #include <math.h>
95512 int
95513 main ()
95514 {
95515  _ldexpf(0, 0);
95516   ;
95517   return 0;
95518 }
95519 _ACEOF
95520 rm -f conftest.$ac_objext
95521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95522   (eval $ac_compile) 2>conftest.er1
95523   ac_status=$?
95524   grep -v '^ *+' conftest.er1 >conftest.err
95525   rm -f conftest.er1
95526   cat conftest.err >&5
95527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95528   (exit $ac_status); } &&
95529          { ac_try='test -z "$ac_cxx_werror_flag"
95530                          || test ! -s conftest.err'
95531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95532   (eval $ac_try) 2>&5
95533   ac_status=$?
95534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95535   (exit $ac_status); }; } &&
95536          { ac_try='test -s conftest.$ac_objext'
95537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95538   (eval $ac_try) 2>&5
95539   ac_status=$?
95540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95541   (exit $ac_status); }; }; then
95542   glibcxx_cv_func__ldexpf_use=yes
95543 else
95544   echo "$as_me: failed program was:" >&5
95545 sed 's/^/| /' conftest.$ac_ext >&5
95546
95547 glibcxx_cv_func__ldexpf_use=no
95548 fi
95549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95550       ac_ext=c
95551 ac_cpp='$CPP $CPPFLAGS'
95552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95555
95556
95557 fi
95558
95559   fi
95560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95561 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95562
95563     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95564
95565 for ac_func in _ldexpf
95566 do
95567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95568 echo "$as_me:$LINENO: checking for $ac_func" >&5
95569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95570 if eval "test \"\${$as_ac_var+set}\" = set"; then
95571   echo $ECHO_N "(cached) $ECHO_C" >&6
95572 else
95573   if test x$gcc_no_link = xyes; then
95574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95576    { (exit 1); exit 1; }; }
95577 fi
95578 cat >conftest.$ac_ext <<_ACEOF
95579 /* confdefs.h.  */
95580 _ACEOF
95581 cat confdefs.h >>conftest.$ac_ext
95582 cat >>conftest.$ac_ext <<_ACEOF
95583 /* end confdefs.h.  */
95584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95586 #define $ac_func innocuous_$ac_func
95587
95588 /* System header to define __stub macros and hopefully few prototypes,
95589     which can conflict with char $ac_func (); below.
95590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95591     <limits.h> exists even on freestanding compilers.  */
95592
95593 #ifdef __STDC__
95594 # include <limits.h>
95595 #else
95596 # include <assert.h>
95597 #endif
95598
95599 #undef $ac_func
95600
95601 /* Override any gcc2 internal prototype to avoid an error.  */
95602 #ifdef __cplusplus
95603 extern "C"
95604 {
95605 #endif
95606 /* We use char because int might match the return type of a gcc2
95607    builtin and then its argument prototype would still apply.  */
95608 char $ac_func ();
95609 /* The GNU C library defines this for functions which it implements
95610     to always fail with ENOSYS.  Some functions are actually named
95611     something starting with __ and the normal name is an alias.  */
95612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95613 choke me
95614 #else
95615 char (*f) () = $ac_func;
95616 #endif
95617 #ifdef __cplusplus
95618 }
95619 #endif
95620
95621 int
95622 main ()
95623 {
95624 return f != $ac_func;
95625   ;
95626   return 0;
95627 }
95628 _ACEOF
95629 rm -f conftest.$ac_objext conftest$ac_exeext
95630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95631   (eval $ac_link) 2>conftest.er1
95632   ac_status=$?
95633   grep -v '^ *+' conftest.er1 >conftest.err
95634   rm -f conftest.er1
95635   cat conftest.err >&5
95636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95637   (exit $ac_status); } &&
95638          { ac_try='test -z "$ac_c_werror_flag"
95639                          || test ! -s conftest.err'
95640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95641   (eval $ac_try) 2>&5
95642   ac_status=$?
95643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95644   (exit $ac_status); }; } &&
95645          { ac_try='test -s conftest$ac_exeext'
95646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95647   (eval $ac_try) 2>&5
95648   ac_status=$?
95649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95650   (exit $ac_status); }; }; then
95651   eval "$as_ac_var=yes"
95652 else
95653   echo "$as_me: failed program was:" >&5
95654 sed 's/^/| /' conftest.$ac_ext >&5
95655
95656 eval "$as_ac_var=no"
95657 fi
95658 rm -f conftest.err conftest.$ac_objext \
95659       conftest$ac_exeext conftest.$ac_ext
95660 fi
95661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95663 if test `eval echo '${'$as_ac_var'}'` = yes; then
95664   cat >>confdefs.h <<_ACEOF
95665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95666 _ACEOF
95667
95668 fi
95669 done
95670
95671     fi
95672   fi
95673
95674
95675
95676
95677
95678
95679   echo "$as_me:$LINENO: checking for logf declaration" >&5
95680 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95681   if test x${glibcxx_cv_func_logf_use+set} != xset; then
95682     if test "${glibcxx_cv_func_logf_use+set}" = set; then
95683   echo $ECHO_N "(cached) $ECHO_C" >&6
95684 else
95685
95686
95687
95688       ac_ext=cc
95689 ac_cpp='$CXXCPP $CPPFLAGS'
95690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95693
95694       cat >conftest.$ac_ext <<_ACEOF
95695 /* confdefs.h.  */
95696 _ACEOF
95697 cat confdefs.h >>conftest.$ac_ext
95698 cat >>conftest.$ac_ext <<_ACEOF
95699 /* end confdefs.h.  */
95700 #include <math.h>
95701                       #ifdef HAVE_IEEEFP_H
95702                       #include <ieeefp.h>
95703                       #endif
95704
95705 int
95706 main ()
95707 {
95708  logf(0);
95709   ;
95710   return 0;
95711 }
95712 _ACEOF
95713 rm -f conftest.$ac_objext
95714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95715   (eval $ac_compile) 2>conftest.er1
95716   ac_status=$?
95717   grep -v '^ *+' conftest.er1 >conftest.err
95718   rm -f conftest.er1
95719   cat conftest.err >&5
95720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95721   (exit $ac_status); } &&
95722          { ac_try='test -z "$ac_cxx_werror_flag"
95723                          || test ! -s conftest.err'
95724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95725   (eval $ac_try) 2>&5
95726   ac_status=$?
95727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95728   (exit $ac_status); }; } &&
95729          { ac_try='test -s conftest.$ac_objext'
95730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95731   (eval $ac_try) 2>&5
95732   ac_status=$?
95733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95734   (exit $ac_status); }; }; then
95735   glibcxx_cv_func_logf_use=yes
95736 else
95737   echo "$as_me: failed program was:" >&5
95738 sed 's/^/| /' conftest.$ac_ext >&5
95739
95740 glibcxx_cv_func_logf_use=no
95741 fi
95742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95743       ac_ext=c
95744 ac_cpp='$CPP $CPPFLAGS'
95745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95748
95749
95750 fi
95751
95752   fi
95753   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95754 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95755
95756   if test x$glibcxx_cv_func_logf_use = x"yes"; then
95757
95758 for ac_func in logf
95759 do
95760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95761 echo "$as_me:$LINENO: checking for $ac_func" >&5
95762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95763 if eval "test \"\${$as_ac_var+set}\" = set"; then
95764   echo $ECHO_N "(cached) $ECHO_C" >&6
95765 else
95766   if test x$gcc_no_link = xyes; then
95767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95769    { (exit 1); exit 1; }; }
95770 fi
95771 cat >conftest.$ac_ext <<_ACEOF
95772 /* confdefs.h.  */
95773 _ACEOF
95774 cat confdefs.h >>conftest.$ac_ext
95775 cat >>conftest.$ac_ext <<_ACEOF
95776 /* end confdefs.h.  */
95777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95779 #define $ac_func innocuous_$ac_func
95780
95781 /* System header to define __stub macros and hopefully few prototypes,
95782     which can conflict with char $ac_func (); below.
95783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95784     <limits.h> exists even on freestanding compilers.  */
95785
95786 #ifdef __STDC__
95787 # include <limits.h>
95788 #else
95789 # include <assert.h>
95790 #endif
95791
95792 #undef $ac_func
95793
95794 /* Override any gcc2 internal prototype to avoid an error.  */
95795 #ifdef __cplusplus
95796 extern "C"
95797 {
95798 #endif
95799 /* We use char because int might match the return type of a gcc2
95800    builtin and then its argument prototype would still apply.  */
95801 char $ac_func ();
95802 /* The GNU C library defines this for functions which it implements
95803     to always fail with ENOSYS.  Some functions are actually named
95804     something starting with __ and the normal name is an alias.  */
95805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95806 choke me
95807 #else
95808 char (*f) () = $ac_func;
95809 #endif
95810 #ifdef __cplusplus
95811 }
95812 #endif
95813
95814 int
95815 main ()
95816 {
95817 return f != $ac_func;
95818   ;
95819   return 0;
95820 }
95821 _ACEOF
95822 rm -f conftest.$ac_objext conftest$ac_exeext
95823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95824   (eval $ac_link) 2>conftest.er1
95825   ac_status=$?
95826   grep -v '^ *+' conftest.er1 >conftest.err
95827   rm -f conftest.er1
95828   cat conftest.err >&5
95829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95830   (exit $ac_status); } &&
95831          { ac_try='test -z "$ac_c_werror_flag"
95832                          || test ! -s conftest.err'
95833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834   (eval $ac_try) 2>&5
95835   ac_status=$?
95836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837   (exit $ac_status); }; } &&
95838          { ac_try='test -s conftest$ac_exeext'
95839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95840   (eval $ac_try) 2>&5
95841   ac_status=$?
95842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95843   (exit $ac_status); }; }; then
95844   eval "$as_ac_var=yes"
95845 else
95846   echo "$as_me: failed program was:" >&5
95847 sed 's/^/| /' conftest.$ac_ext >&5
95848
95849 eval "$as_ac_var=no"
95850 fi
95851 rm -f conftest.err conftest.$ac_objext \
95852       conftest$ac_exeext conftest.$ac_ext
95853 fi
95854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95856 if test `eval echo '${'$as_ac_var'}'` = yes; then
95857   cat >>confdefs.h <<_ACEOF
95858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95859 _ACEOF
95860
95861 fi
95862 done
95863
95864   else
95865
95866   echo "$as_me:$LINENO: checking for _logf declaration" >&5
95867 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95868   if test x${glibcxx_cv_func__logf_use+set} != xset; then
95869     if test "${glibcxx_cv_func__logf_use+set}" = set; then
95870   echo $ECHO_N "(cached) $ECHO_C" >&6
95871 else
95872
95873
95874
95875       ac_ext=cc
95876 ac_cpp='$CXXCPP $CPPFLAGS'
95877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95880
95881       cat >conftest.$ac_ext <<_ACEOF
95882 /* confdefs.h.  */
95883 _ACEOF
95884 cat confdefs.h >>conftest.$ac_ext
95885 cat >>conftest.$ac_ext <<_ACEOF
95886 /* end confdefs.h.  */
95887 #include <math.h>
95888                       #ifdef HAVE_IEEEFP_H
95889                       #include <ieeefp.h>
95890                       #endif
95891
95892 int
95893 main ()
95894 {
95895  _logf(0);
95896   ;
95897   return 0;
95898 }
95899 _ACEOF
95900 rm -f conftest.$ac_objext
95901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95902   (eval $ac_compile) 2>conftest.er1
95903   ac_status=$?
95904   grep -v '^ *+' conftest.er1 >conftest.err
95905   rm -f conftest.er1
95906   cat conftest.err >&5
95907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95908   (exit $ac_status); } &&
95909          { ac_try='test -z "$ac_cxx_werror_flag"
95910                          || test ! -s conftest.err'
95911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95912   (eval $ac_try) 2>&5
95913   ac_status=$?
95914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915   (exit $ac_status); }; } &&
95916          { ac_try='test -s conftest.$ac_objext'
95917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95918   (eval $ac_try) 2>&5
95919   ac_status=$?
95920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95921   (exit $ac_status); }; }; then
95922   glibcxx_cv_func__logf_use=yes
95923 else
95924   echo "$as_me: failed program was:" >&5
95925 sed 's/^/| /' conftest.$ac_ext >&5
95926
95927 glibcxx_cv_func__logf_use=no
95928 fi
95929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95930       ac_ext=c
95931 ac_cpp='$CPP $CPPFLAGS'
95932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95935
95936
95937 fi
95938
95939   fi
95940   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95941 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95942
95943     if test x$glibcxx_cv_func__logf_use = x"yes"; then
95944
95945 for ac_func in _logf
95946 do
95947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95948 echo "$as_me:$LINENO: checking for $ac_func" >&5
95949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95950 if eval "test \"\${$as_ac_var+set}\" = set"; then
95951   echo $ECHO_N "(cached) $ECHO_C" >&6
95952 else
95953   if test x$gcc_no_link = xyes; then
95954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95956    { (exit 1); exit 1; }; }
95957 fi
95958 cat >conftest.$ac_ext <<_ACEOF
95959 /* confdefs.h.  */
95960 _ACEOF
95961 cat confdefs.h >>conftest.$ac_ext
95962 cat >>conftest.$ac_ext <<_ACEOF
95963 /* end confdefs.h.  */
95964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95966 #define $ac_func innocuous_$ac_func
95967
95968 /* System header to define __stub macros and hopefully few prototypes,
95969     which can conflict with char $ac_func (); below.
95970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95971     <limits.h> exists even on freestanding compilers.  */
95972
95973 #ifdef __STDC__
95974 # include <limits.h>
95975 #else
95976 # include <assert.h>
95977 #endif
95978
95979 #undef $ac_func
95980
95981 /* Override any gcc2 internal prototype to avoid an error.  */
95982 #ifdef __cplusplus
95983 extern "C"
95984 {
95985 #endif
95986 /* We use char because int might match the return type of a gcc2
95987    builtin and then its argument prototype would still apply.  */
95988 char $ac_func ();
95989 /* The GNU C library defines this for functions which it implements
95990     to always fail with ENOSYS.  Some functions are actually named
95991     something starting with __ and the normal name is an alias.  */
95992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95993 choke me
95994 #else
95995 char (*f) () = $ac_func;
95996 #endif
95997 #ifdef __cplusplus
95998 }
95999 #endif
96000
96001 int
96002 main ()
96003 {
96004 return f != $ac_func;
96005   ;
96006   return 0;
96007 }
96008 _ACEOF
96009 rm -f conftest.$ac_objext conftest$ac_exeext
96010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96011   (eval $ac_link) 2>conftest.er1
96012   ac_status=$?
96013   grep -v '^ *+' conftest.er1 >conftest.err
96014   rm -f conftest.er1
96015   cat conftest.err >&5
96016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96017   (exit $ac_status); } &&
96018          { ac_try='test -z "$ac_c_werror_flag"
96019                          || test ! -s conftest.err'
96020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96021   (eval $ac_try) 2>&5
96022   ac_status=$?
96023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96024   (exit $ac_status); }; } &&
96025          { ac_try='test -s conftest$ac_exeext'
96026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96027   (eval $ac_try) 2>&5
96028   ac_status=$?
96029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96030   (exit $ac_status); }; }; then
96031   eval "$as_ac_var=yes"
96032 else
96033   echo "$as_me: failed program was:" >&5
96034 sed 's/^/| /' conftest.$ac_ext >&5
96035
96036 eval "$as_ac_var=no"
96037 fi
96038 rm -f conftest.err conftest.$ac_objext \
96039       conftest$ac_exeext conftest.$ac_ext
96040 fi
96041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96043 if test `eval echo '${'$as_ac_var'}'` = yes; then
96044   cat >>confdefs.h <<_ACEOF
96045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96046 _ACEOF
96047
96048 fi
96049 done
96050
96051     fi
96052   fi
96053
96054
96055
96056
96057
96058
96059   echo "$as_me:$LINENO: checking for log10f declaration" >&5
96060 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
96061   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
96062     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
96063   echo $ECHO_N "(cached) $ECHO_C" >&6
96064 else
96065
96066
96067
96068       ac_ext=cc
96069 ac_cpp='$CXXCPP $CPPFLAGS'
96070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96073
96074       cat >conftest.$ac_ext <<_ACEOF
96075 /* confdefs.h.  */
96076 _ACEOF
96077 cat confdefs.h >>conftest.$ac_ext
96078 cat >>conftest.$ac_ext <<_ACEOF
96079 /* end confdefs.h.  */
96080 #include <math.h>
96081                       #ifdef HAVE_IEEEFP_H
96082                       #include <ieeefp.h>
96083                       #endif
96084
96085 int
96086 main ()
96087 {
96088  log10f(0);
96089   ;
96090   return 0;
96091 }
96092 _ACEOF
96093 rm -f conftest.$ac_objext
96094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96095   (eval $ac_compile) 2>conftest.er1
96096   ac_status=$?
96097   grep -v '^ *+' conftest.er1 >conftest.err
96098   rm -f conftest.er1
96099   cat conftest.err >&5
96100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96101   (exit $ac_status); } &&
96102          { ac_try='test -z "$ac_cxx_werror_flag"
96103                          || test ! -s conftest.err'
96104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96105   (eval $ac_try) 2>&5
96106   ac_status=$?
96107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96108   (exit $ac_status); }; } &&
96109          { ac_try='test -s conftest.$ac_objext'
96110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96111   (eval $ac_try) 2>&5
96112   ac_status=$?
96113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96114   (exit $ac_status); }; }; then
96115   glibcxx_cv_func_log10f_use=yes
96116 else
96117   echo "$as_me: failed program was:" >&5
96118 sed 's/^/| /' conftest.$ac_ext >&5
96119
96120 glibcxx_cv_func_log10f_use=no
96121 fi
96122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96123       ac_ext=c
96124 ac_cpp='$CPP $CPPFLAGS'
96125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96128
96129
96130 fi
96131
96132   fi
96133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
96134 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
96135
96136   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
96137
96138 for ac_func in log10f
96139 do
96140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96141 echo "$as_me:$LINENO: checking for $ac_func" >&5
96142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96143 if eval "test \"\${$as_ac_var+set}\" = set"; then
96144   echo $ECHO_N "(cached) $ECHO_C" >&6
96145 else
96146   if test x$gcc_no_link = xyes; then
96147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96149    { (exit 1); exit 1; }; }
96150 fi
96151 cat >conftest.$ac_ext <<_ACEOF
96152 /* confdefs.h.  */
96153 _ACEOF
96154 cat confdefs.h >>conftest.$ac_ext
96155 cat >>conftest.$ac_ext <<_ACEOF
96156 /* end confdefs.h.  */
96157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96159 #define $ac_func innocuous_$ac_func
96160
96161 /* System header to define __stub macros and hopefully few prototypes,
96162     which can conflict with char $ac_func (); below.
96163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96164     <limits.h> exists even on freestanding compilers.  */
96165
96166 #ifdef __STDC__
96167 # include <limits.h>
96168 #else
96169 # include <assert.h>
96170 #endif
96171
96172 #undef $ac_func
96173
96174 /* Override any gcc2 internal prototype to avoid an error.  */
96175 #ifdef __cplusplus
96176 extern "C"
96177 {
96178 #endif
96179 /* We use char because int might match the return type of a gcc2
96180    builtin and then its argument prototype would still apply.  */
96181 char $ac_func ();
96182 /* The GNU C library defines this for functions which it implements
96183     to always fail with ENOSYS.  Some functions are actually named
96184     something starting with __ and the normal name is an alias.  */
96185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96186 choke me
96187 #else
96188 char (*f) () = $ac_func;
96189 #endif
96190 #ifdef __cplusplus
96191 }
96192 #endif
96193
96194 int
96195 main ()
96196 {
96197 return f != $ac_func;
96198   ;
96199   return 0;
96200 }
96201 _ACEOF
96202 rm -f conftest.$ac_objext conftest$ac_exeext
96203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96204   (eval $ac_link) 2>conftest.er1
96205   ac_status=$?
96206   grep -v '^ *+' conftest.er1 >conftest.err
96207   rm -f conftest.er1
96208   cat conftest.err >&5
96209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96210   (exit $ac_status); } &&
96211          { ac_try='test -z "$ac_c_werror_flag"
96212                          || test ! -s conftest.err'
96213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96214   (eval $ac_try) 2>&5
96215   ac_status=$?
96216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96217   (exit $ac_status); }; } &&
96218          { ac_try='test -s conftest$ac_exeext'
96219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96220   (eval $ac_try) 2>&5
96221   ac_status=$?
96222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96223   (exit $ac_status); }; }; then
96224   eval "$as_ac_var=yes"
96225 else
96226   echo "$as_me: failed program was:" >&5
96227 sed 's/^/| /' conftest.$ac_ext >&5
96228
96229 eval "$as_ac_var=no"
96230 fi
96231 rm -f conftest.err conftest.$ac_objext \
96232       conftest$ac_exeext conftest.$ac_ext
96233 fi
96234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96236 if test `eval echo '${'$as_ac_var'}'` = yes; then
96237   cat >>confdefs.h <<_ACEOF
96238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96239 _ACEOF
96240
96241 fi
96242 done
96243
96244   else
96245
96246   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
96247 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
96248   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
96249     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
96250   echo $ECHO_N "(cached) $ECHO_C" >&6
96251 else
96252
96253
96254
96255       ac_ext=cc
96256 ac_cpp='$CXXCPP $CPPFLAGS'
96257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96260
96261       cat >conftest.$ac_ext <<_ACEOF
96262 /* confdefs.h.  */
96263 _ACEOF
96264 cat confdefs.h >>conftest.$ac_ext
96265 cat >>conftest.$ac_ext <<_ACEOF
96266 /* end confdefs.h.  */
96267 #include <math.h>
96268                       #ifdef HAVE_IEEEFP_H
96269                       #include <ieeefp.h>
96270                       #endif
96271
96272 int
96273 main ()
96274 {
96275  _log10f(0);
96276   ;
96277   return 0;
96278 }
96279 _ACEOF
96280 rm -f conftest.$ac_objext
96281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96282   (eval $ac_compile) 2>conftest.er1
96283   ac_status=$?
96284   grep -v '^ *+' conftest.er1 >conftest.err
96285   rm -f conftest.er1
96286   cat conftest.err >&5
96287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96288   (exit $ac_status); } &&
96289          { ac_try='test -z "$ac_cxx_werror_flag"
96290                          || test ! -s conftest.err'
96291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96292   (eval $ac_try) 2>&5
96293   ac_status=$?
96294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295   (exit $ac_status); }; } &&
96296          { ac_try='test -s conftest.$ac_objext'
96297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96298   (eval $ac_try) 2>&5
96299   ac_status=$?
96300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96301   (exit $ac_status); }; }; then
96302   glibcxx_cv_func__log10f_use=yes
96303 else
96304   echo "$as_me: failed program was:" >&5
96305 sed 's/^/| /' conftest.$ac_ext >&5
96306
96307 glibcxx_cv_func__log10f_use=no
96308 fi
96309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96310       ac_ext=c
96311 ac_cpp='$CPP $CPPFLAGS'
96312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96315
96316
96317 fi
96318
96319   fi
96320   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
96321 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
96322
96323     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
96324
96325 for ac_func in _log10f
96326 do
96327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96328 echo "$as_me:$LINENO: checking for $ac_func" >&5
96329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96330 if eval "test \"\${$as_ac_var+set}\" = set"; then
96331   echo $ECHO_N "(cached) $ECHO_C" >&6
96332 else
96333   if test x$gcc_no_link = xyes; then
96334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96336    { (exit 1); exit 1; }; }
96337 fi
96338 cat >conftest.$ac_ext <<_ACEOF
96339 /* confdefs.h.  */
96340 _ACEOF
96341 cat confdefs.h >>conftest.$ac_ext
96342 cat >>conftest.$ac_ext <<_ACEOF
96343 /* end confdefs.h.  */
96344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96346 #define $ac_func innocuous_$ac_func
96347
96348 /* System header to define __stub macros and hopefully few prototypes,
96349     which can conflict with char $ac_func (); below.
96350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96351     <limits.h> exists even on freestanding compilers.  */
96352
96353 #ifdef __STDC__
96354 # include <limits.h>
96355 #else
96356 # include <assert.h>
96357 #endif
96358
96359 #undef $ac_func
96360
96361 /* Override any gcc2 internal prototype to avoid an error.  */
96362 #ifdef __cplusplus
96363 extern "C"
96364 {
96365 #endif
96366 /* We use char because int might match the return type of a gcc2
96367    builtin and then its argument prototype would still apply.  */
96368 char $ac_func ();
96369 /* The GNU C library defines this for functions which it implements
96370     to always fail with ENOSYS.  Some functions are actually named
96371     something starting with __ and the normal name is an alias.  */
96372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96373 choke me
96374 #else
96375 char (*f) () = $ac_func;
96376 #endif
96377 #ifdef __cplusplus
96378 }
96379 #endif
96380
96381 int
96382 main ()
96383 {
96384 return f != $ac_func;
96385   ;
96386   return 0;
96387 }
96388 _ACEOF
96389 rm -f conftest.$ac_objext conftest$ac_exeext
96390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96391   (eval $ac_link) 2>conftest.er1
96392   ac_status=$?
96393   grep -v '^ *+' conftest.er1 >conftest.err
96394   rm -f conftest.er1
96395   cat conftest.err >&5
96396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96397   (exit $ac_status); } &&
96398          { ac_try='test -z "$ac_c_werror_flag"
96399                          || test ! -s conftest.err'
96400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96401   (eval $ac_try) 2>&5
96402   ac_status=$?
96403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96404   (exit $ac_status); }; } &&
96405          { ac_try='test -s conftest$ac_exeext'
96406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96407   (eval $ac_try) 2>&5
96408   ac_status=$?
96409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96410   (exit $ac_status); }; }; then
96411   eval "$as_ac_var=yes"
96412 else
96413   echo "$as_me: failed program was:" >&5
96414 sed 's/^/| /' conftest.$ac_ext >&5
96415
96416 eval "$as_ac_var=no"
96417 fi
96418 rm -f conftest.err conftest.$ac_objext \
96419       conftest$ac_exeext conftest.$ac_ext
96420 fi
96421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96423 if test `eval echo '${'$as_ac_var'}'` = yes; then
96424   cat >>confdefs.h <<_ACEOF
96425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96426 _ACEOF
96427
96428 fi
96429 done
96430
96431     fi
96432   fi
96433
96434
96435
96436
96437
96438
96439   echo "$as_me:$LINENO: checking for modff declaration" >&5
96440 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
96441   if test x${glibcxx_cv_func_modff_use+set} != xset; then
96442     if test "${glibcxx_cv_func_modff_use+set}" = set; then
96443   echo $ECHO_N "(cached) $ECHO_C" >&6
96444 else
96445
96446
96447
96448       ac_ext=cc
96449 ac_cpp='$CXXCPP $CPPFLAGS'
96450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96453
96454       cat >conftest.$ac_ext <<_ACEOF
96455 /* confdefs.h.  */
96456 _ACEOF
96457 cat confdefs.h >>conftest.$ac_ext
96458 cat >>conftest.$ac_ext <<_ACEOF
96459 /* end confdefs.h.  */
96460 #include <math.h>
96461 int
96462 main ()
96463 {
96464  modff(0, 0);
96465   ;
96466   return 0;
96467 }
96468 _ACEOF
96469 rm -f conftest.$ac_objext
96470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96471   (eval $ac_compile) 2>conftest.er1
96472   ac_status=$?
96473   grep -v '^ *+' conftest.er1 >conftest.err
96474   rm -f conftest.er1
96475   cat conftest.err >&5
96476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96477   (exit $ac_status); } &&
96478          { ac_try='test -z "$ac_cxx_werror_flag"
96479                          || test ! -s conftest.err'
96480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96481   (eval $ac_try) 2>&5
96482   ac_status=$?
96483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96484   (exit $ac_status); }; } &&
96485          { ac_try='test -s conftest.$ac_objext'
96486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96487   (eval $ac_try) 2>&5
96488   ac_status=$?
96489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96490   (exit $ac_status); }; }; then
96491   glibcxx_cv_func_modff_use=yes
96492 else
96493   echo "$as_me: failed program was:" >&5
96494 sed 's/^/| /' conftest.$ac_ext >&5
96495
96496 glibcxx_cv_func_modff_use=no
96497 fi
96498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96499       ac_ext=c
96500 ac_cpp='$CPP $CPPFLAGS'
96501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96504
96505
96506 fi
96507
96508   fi
96509   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
96510 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
96511
96512   if test x$glibcxx_cv_func_modff_use = x"yes"; then
96513
96514 for ac_func in modff
96515 do
96516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96517 echo "$as_me:$LINENO: checking for $ac_func" >&5
96518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96519 if eval "test \"\${$as_ac_var+set}\" = set"; then
96520   echo $ECHO_N "(cached) $ECHO_C" >&6
96521 else
96522   if test x$gcc_no_link = xyes; then
96523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96525    { (exit 1); exit 1; }; }
96526 fi
96527 cat >conftest.$ac_ext <<_ACEOF
96528 /* confdefs.h.  */
96529 _ACEOF
96530 cat confdefs.h >>conftest.$ac_ext
96531 cat >>conftest.$ac_ext <<_ACEOF
96532 /* end confdefs.h.  */
96533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96535 #define $ac_func innocuous_$ac_func
96536
96537 /* System header to define __stub macros and hopefully few prototypes,
96538     which can conflict with char $ac_func (); below.
96539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96540     <limits.h> exists even on freestanding compilers.  */
96541
96542 #ifdef __STDC__
96543 # include <limits.h>
96544 #else
96545 # include <assert.h>
96546 #endif
96547
96548 #undef $ac_func
96549
96550 /* Override any gcc2 internal prototype to avoid an error.  */
96551 #ifdef __cplusplus
96552 extern "C"
96553 {
96554 #endif
96555 /* We use char because int might match the return type of a gcc2
96556    builtin and then its argument prototype would still apply.  */
96557 char $ac_func ();
96558 /* The GNU C library defines this for functions which it implements
96559     to always fail with ENOSYS.  Some functions are actually named
96560     something starting with __ and the normal name is an alias.  */
96561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96562 choke me
96563 #else
96564 char (*f) () = $ac_func;
96565 #endif
96566 #ifdef __cplusplus
96567 }
96568 #endif
96569
96570 int
96571 main ()
96572 {
96573 return f != $ac_func;
96574   ;
96575   return 0;
96576 }
96577 _ACEOF
96578 rm -f conftest.$ac_objext conftest$ac_exeext
96579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96580   (eval $ac_link) 2>conftest.er1
96581   ac_status=$?
96582   grep -v '^ *+' conftest.er1 >conftest.err
96583   rm -f conftest.er1
96584   cat conftest.err >&5
96585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96586   (exit $ac_status); } &&
96587          { ac_try='test -z "$ac_c_werror_flag"
96588                          || test ! -s conftest.err'
96589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96590   (eval $ac_try) 2>&5
96591   ac_status=$?
96592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96593   (exit $ac_status); }; } &&
96594          { ac_try='test -s conftest$ac_exeext'
96595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96596   (eval $ac_try) 2>&5
96597   ac_status=$?
96598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96599   (exit $ac_status); }; }; then
96600   eval "$as_ac_var=yes"
96601 else
96602   echo "$as_me: failed program was:" >&5
96603 sed 's/^/| /' conftest.$ac_ext >&5
96604
96605 eval "$as_ac_var=no"
96606 fi
96607 rm -f conftest.err conftest.$ac_objext \
96608       conftest$ac_exeext conftest.$ac_ext
96609 fi
96610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96612 if test `eval echo '${'$as_ac_var'}'` = yes; then
96613   cat >>confdefs.h <<_ACEOF
96614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96615 _ACEOF
96616
96617 fi
96618 done
96619
96620   else
96621
96622   echo "$as_me:$LINENO: checking for _modff declaration" >&5
96623 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96624   if test x${glibcxx_cv_func__modff_use+set} != xset; then
96625     if test "${glibcxx_cv_func__modff_use+set}" = set; then
96626   echo $ECHO_N "(cached) $ECHO_C" >&6
96627 else
96628
96629
96630
96631       ac_ext=cc
96632 ac_cpp='$CXXCPP $CPPFLAGS'
96633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96636
96637       cat >conftest.$ac_ext <<_ACEOF
96638 /* confdefs.h.  */
96639 _ACEOF
96640 cat confdefs.h >>conftest.$ac_ext
96641 cat >>conftest.$ac_ext <<_ACEOF
96642 /* end confdefs.h.  */
96643 #include <math.h>
96644 int
96645 main ()
96646 {
96647  _modff(0, 0);
96648   ;
96649   return 0;
96650 }
96651 _ACEOF
96652 rm -f conftest.$ac_objext
96653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96654   (eval $ac_compile) 2>conftest.er1
96655   ac_status=$?
96656   grep -v '^ *+' conftest.er1 >conftest.err
96657   rm -f conftest.er1
96658   cat conftest.err >&5
96659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96660   (exit $ac_status); } &&
96661          { ac_try='test -z "$ac_cxx_werror_flag"
96662                          || test ! -s conftest.err'
96663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96664   (eval $ac_try) 2>&5
96665   ac_status=$?
96666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96667   (exit $ac_status); }; } &&
96668          { ac_try='test -s conftest.$ac_objext'
96669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96670   (eval $ac_try) 2>&5
96671   ac_status=$?
96672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96673   (exit $ac_status); }; }; then
96674   glibcxx_cv_func__modff_use=yes
96675 else
96676   echo "$as_me: failed program was:" >&5
96677 sed 's/^/| /' conftest.$ac_ext >&5
96678
96679 glibcxx_cv_func__modff_use=no
96680 fi
96681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96682       ac_ext=c
96683 ac_cpp='$CPP $CPPFLAGS'
96684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96687
96688
96689 fi
96690
96691   fi
96692   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96693 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96694
96695     if test x$glibcxx_cv_func__modff_use = x"yes"; then
96696
96697 for ac_func in _modff
96698 do
96699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96700 echo "$as_me:$LINENO: checking for $ac_func" >&5
96701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96702 if eval "test \"\${$as_ac_var+set}\" = set"; then
96703   echo $ECHO_N "(cached) $ECHO_C" >&6
96704 else
96705   if test x$gcc_no_link = xyes; then
96706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96708    { (exit 1); exit 1; }; }
96709 fi
96710 cat >conftest.$ac_ext <<_ACEOF
96711 /* confdefs.h.  */
96712 _ACEOF
96713 cat confdefs.h >>conftest.$ac_ext
96714 cat >>conftest.$ac_ext <<_ACEOF
96715 /* end confdefs.h.  */
96716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96718 #define $ac_func innocuous_$ac_func
96719
96720 /* System header to define __stub macros and hopefully few prototypes,
96721     which can conflict with char $ac_func (); below.
96722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96723     <limits.h> exists even on freestanding compilers.  */
96724
96725 #ifdef __STDC__
96726 # include <limits.h>
96727 #else
96728 # include <assert.h>
96729 #endif
96730
96731 #undef $ac_func
96732
96733 /* Override any gcc2 internal prototype to avoid an error.  */
96734 #ifdef __cplusplus
96735 extern "C"
96736 {
96737 #endif
96738 /* We use char because int might match the return type of a gcc2
96739    builtin and then its argument prototype would still apply.  */
96740 char $ac_func ();
96741 /* The GNU C library defines this for functions which it implements
96742     to always fail with ENOSYS.  Some functions are actually named
96743     something starting with __ and the normal name is an alias.  */
96744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96745 choke me
96746 #else
96747 char (*f) () = $ac_func;
96748 #endif
96749 #ifdef __cplusplus
96750 }
96751 #endif
96752
96753 int
96754 main ()
96755 {
96756 return f != $ac_func;
96757   ;
96758   return 0;
96759 }
96760 _ACEOF
96761 rm -f conftest.$ac_objext conftest$ac_exeext
96762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96763   (eval $ac_link) 2>conftest.er1
96764   ac_status=$?
96765   grep -v '^ *+' conftest.er1 >conftest.err
96766   rm -f conftest.er1
96767   cat conftest.err >&5
96768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96769   (exit $ac_status); } &&
96770          { ac_try='test -z "$ac_c_werror_flag"
96771                          || test ! -s conftest.err'
96772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96773   (eval $ac_try) 2>&5
96774   ac_status=$?
96775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96776   (exit $ac_status); }; } &&
96777          { ac_try='test -s conftest$ac_exeext'
96778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96779   (eval $ac_try) 2>&5
96780   ac_status=$?
96781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96782   (exit $ac_status); }; }; then
96783   eval "$as_ac_var=yes"
96784 else
96785   echo "$as_me: failed program was:" >&5
96786 sed 's/^/| /' conftest.$ac_ext >&5
96787
96788 eval "$as_ac_var=no"
96789 fi
96790 rm -f conftest.err conftest.$ac_objext \
96791       conftest$ac_exeext conftest.$ac_ext
96792 fi
96793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96795 if test `eval echo '${'$as_ac_var'}'` = yes; then
96796   cat >>confdefs.h <<_ACEOF
96797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96798 _ACEOF
96799
96800 fi
96801 done
96802
96803     fi
96804   fi
96805
96806
96807
96808
96809
96810
96811   echo "$as_me:$LINENO: checking for modf declaration" >&5
96812 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96813   if test x${glibcxx_cv_func_modf_use+set} != xset; then
96814     if test "${glibcxx_cv_func_modf_use+set}" = set; then
96815   echo $ECHO_N "(cached) $ECHO_C" >&6
96816 else
96817
96818
96819
96820       ac_ext=cc
96821 ac_cpp='$CXXCPP $CPPFLAGS'
96822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96825
96826       cat >conftest.$ac_ext <<_ACEOF
96827 /* confdefs.h.  */
96828 _ACEOF
96829 cat confdefs.h >>conftest.$ac_ext
96830 cat >>conftest.$ac_ext <<_ACEOF
96831 /* end confdefs.h.  */
96832 #include <math.h>
96833 int
96834 main ()
96835 {
96836  modf(0, 0);
96837   ;
96838   return 0;
96839 }
96840 _ACEOF
96841 rm -f conftest.$ac_objext
96842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96843   (eval $ac_compile) 2>conftest.er1
96844   ac_status=$?
96845   grep -v '^ *+' conftest.er1 >conftest.err
96846   rm -f conftest.er1
96847   cat conftest.err >&5
96848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96849   (exit $ac_status); } &&
96850          { ac_try='test -z "$ac_cxx_werror_flag"
96851                          || test ! -s conftest.err'
96852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853   (eval $ac_try) 2>&5
96854   ac_status=$?
96855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856   (exit $ac_status); }; } &&
96857          { ac_try='test -s conftest.$ac_objext'
96858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859   (eval $ac_try) 2>&5
96860   ac_status=$?
96861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862   (exit $ac_status); }; }; then
96863   glibcxx_cv_func_modf_use=yes
96864 else
96865   echo "$as_me: failed program was:" >&5
96866 sed 's/^/| /' conftest.$ac_ext >&5
96867
96868 glibcxx_cv_func_modf_use=no
96869 fi
96870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96871       ac_ext=c
96872 ac_cpp='$CPP $CPPFLAGS'
96873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96876
96877
96878 fi
96879
96880   fi
96881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96882 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96883
96884   if test x$glibcxx_cv_func_modf_use = x"yes"; then
96885
96886 for ac_func in modf
96887 do
96888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96889 echo "$as_me:$LINENO: checking for $ac_func" >&5
96890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96891 if eval "test \"\${$as_ac_var+set}\" = set"; then
96892   echo $ECHO_N "(cached) $ECHO_C" >&6
96893 else
96894   if test x$gcc_no_link = xyes; then
96895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96897    { (exit 1); exit 1; }; }
96898 fi
96899 cat >conftest.$ac_ext <<_ACEOF
96900 /* confdefs.h.  */
96901 _ACEOF
96902 cat confdefs.h >>conftest.$ac_ext
96903 cat >>conftest.$ac_ext <<_ACEOF
96904 /* end confdefs.h.  */
96905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96907 #define $ac_func innocuous_$ac_func
96908
96909 /* System header to define __stub macros and hopefully few prototypes,
96910     which can conflict with char $ac_func (); below.
96911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96912     <limits.h> exists even on freestanding compilers.  */
96913
96914 #ifdef __STDC__
96915 # include <limits.h>
96916 #else
96917 # include <assert.h>
96918 #endif
96919
96920 #undef $ac_func
96921
96922 /* Override any gcc2 internal prototype to avoid an error.  */
96923 #ifdef __cplusplus
96924 extern "C"
96925 {
96926 #endif
96927 /* We use char because int might match the return type of a gcc2
96928    builtin and then its argument prototype would still apply.  */
96929 char $ac_func ();
96930 /* The GNU C library defines this for functions which it implements
96931     to always fail with ENOSYS.  Some functions are actually named
96932     something starting with __ and the normal name is an alias.  */
96933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96934 choke me
96935 #else
96936 char (*f) () = $ac_func;
96937 #endif
96938 #ifdef __cplusplus
96939 }
96940 #endif
96941
96942 int
96943 main ()
96944 {
96945 return f != $ac_func;
96946   ;
96947   return 0;
96948 }
96949 _ACEOF
96950 rm -f conftest.$ac_objext conftest$ac_exeext
96951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96952   (eval $ac_link) 2>conftest.er1
96953   ac_status=$?
96954   grep -v '^ *+' conftest.er1 >conftest.err
96955   rm -f conftest.er1
96956   cat conftest.err >&5
96957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96958   (exit $ac_status); } &&
96959          { ac_try='test -z "$ac_c_werror_flag"
96960                          || test ! -s conftest.err'
96961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96962   (eval $ac_try) 2>&5
96963   ac_status=$?
96964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96965   (exit $ac_status); }; } &&
96966          { ac_try='test -s conftest$ac_exeext'
96967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96968   (eval $ac_try) 2>&5
96969   ac_status=$?
96970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96971   (exit $ac_status); }; }; then
96972   eval "$as_ac_var=yes"
96973 else
96974   echo "$as_me: failed program was:" >&5
96975 sed 's/^/| /' conftest.$ac_ext >&5
96976
96977 eval "$as_ac_var=no"
96978 fi
96979 rm -f conftest.err conftest.$ac_objext \
96980       conftest$ac_exeext conftest.$ac_ext
96981 fi
96982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96984 if test `eval echo '${'$as_ac_var'}'` = yes; then
96985   cat >>confdefs.h <<_ACEOF
96986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96987 _ACEOF
96988
96989 fi
96990 done
96991
96992   else
96993
96994   echo "$as_me:$LINENO: checking for _modf declaration" >&5
96995 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96996   if test x${glibcxx_cv_func__modf_use+set} != xset; then
96997     if test "${glibcxx_cv_func__modf_use+set}" = set; then
96998   echo $ECHO_N "(cached) $ECHO_C" >&6
96999 else
97000
97001
97002
97003       ac_ext=cc
97004 ac_cpp='$CXXCPP $CPPFLAGS'
97005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97008
97009       cat >conftest.$ac_ext <<_ACEOF
97010 /* confdefs.h.  */
97011 _ACEOF
97012 cat confdefs.h >>conftest.$ac_ext
97013 cat >>conftest.$ac_ext <<_ACEOF
97014 /* end confdefs.h.  */
97015 #include <math.h>
97016 int
97017 main ()
97018 {
97019  _modf(0, 0);
97020   ;
97021   return 0;
97022 }
97023 _ACEOF
97024 rm -f conftest.$ac_objext
97025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97026   (eval $ac_compile) 2>conftest.er1
97027   ac_status=$?
97028   grep -v '^ *+' conftest.er1 >conftest.err
97029   rm -f conftest.er1
97030   cat conftest.err >&5
97031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97032   (exit $ac_status); } &&
97033          { ac_try='test -z "$ac_cxx_werror_flag"
97034                          || test ! -s conftest.err'
97035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97036   (eval $ac_try) 2>&5
97037   ac_status=$?
97038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97039   (exit $ac_status); }; } &&
97040          { ac_try='test -s conftest.$ac_objext'
97041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97042   (eval $ac_try) 2>&5
97043   ac_status=$?
97044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97045   (exit $ac_status); }; }; then
97046   glibcxx_cv_func__modf_use=yes
97047 else
97048   echo "$as_me: failed program was:" >&5
97049 sed 's/^/| /' conftest.$ac_ext >&5
97050
97051 glibcxx_cv_func__modf_use=no
97052 fi
97053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97054       ac_ext=c
97055 ac_cpp='$CPP $CPPFLAGS'
97056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97059
97060
97061 fi
97062
97063   fi
97064   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
97065 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
97066
97067     if test x$glibcxx_cv_func__modf_use = x"yes"; then
97068
97069 for ac_func in _modf
97070 do
97071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97072 echo "$as_me:$LINENO: checking for $ac_func" >&5
97073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97074 if eval "test \"\${$as_ac_var+set}\" = set"; then
97075   echo $ECHO_N "(cached) $ECHO_C" >&6
97076 else
97077   if test x$gcc_no_link = xyes; then
97078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97080    { (exit 1); exit 1; }; }
97081 fi
97082 cat >conftest.$ac_ext <<_ACEOF
97083 /* confdefs.h.  */
97084 _ACEOF
97085 cat confdefs.h >>conftest.$ac_ext
97086 cat >>conftest.$ac_ext <<_ACEOF
97087 /* end confdefs.h.  */
97088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97090 #define $ac_func innocuous_$ac_func
97091
97092 /* System header to define __stub macros and hopefully few prototypes,
97093     which can conflict with char $ac_func (); below.
97094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97095     <limits.h> exists even on freestanding compilers.  */
97096
97097 #ifdef __STDC__
97098 # include <limits.h>
97099 #else
97100 # include <assert.h>
97101 #endif
97102
97103 #undef $ac_func
97104
97105 /* Override any gcc2 internal prototype to avoid an error.  */
97106 #ifdef __cplusplus
97107 extern "C"
97108 {
97109 #endif
97110 /* We use char because int might match the return type of a gcc2
97111    builtin and then its argument prototype would still apply.  */
97112 char $ac_func ();
97113 /* The GNU C library defines this for functions which it implements
97114     to always fail with ENOSYS.  Some functions are actually named
97115     something starting with __ and the normal name is an alias.  */
97116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97117 choke me
97118 #else
97119 char (*f) () = $ac_func;
97120 #endif
97121 #ifdef __cplusplus
97122 }
97123 #endif
97124
97125 int
97126 main ()
97127 {
97128 return f != $ac_func;
97129   ;
97130   return 0;
97131 }
97132 _ACEOF
97133 rm -f conftest.$ac_objext conftest$ac_exeext
97134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97135   (eval $ac_link) 2>conftest.er1
97136   ac_status=$?
97137   grep -v '^ *+' conftest.er1 >conftest.err
97138   rm -f conftest.er1
97139   cat conftest.err >&5
97140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97141   (exit $ac_status); } &&
97142          { ac_try='test -z "$ac_c_werror_flag"
97143                          || test ! -s conftest.err'
97144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97145   (eval $ac_try) 2>&5
97146   ac_status=$?
97147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97148   (exit $ac_status); }; } &&
97149          { ac_try='test -s conftest$ac_exeext'
97150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97151   (eval $ac_try) 2>&5
97152   ac_status=$?
97153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97154   (exit $ac_status); }; }; then
97155   eval "$as_ac_var=yes"
97156 else
97157   echo "$as_me: failed program was:" >&5
97158 sed 's/^/| /' conftest.$ac_ext >&5
97159
97160 eval "$as_ac_var=no"
97161 fi
97162 rm -f conftest.err conftest.$ac_objext \
97163       conftest$ac_exeext conftest.$ac_ext
97164 fi
97165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97167 if test `eval echo '${'$as_ac_var'}'` = yes; then
97168   cat >>confdefs.h <<_ACEOF
97169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97170 _ACEOF
97171
97172 fi
97173 done
97174
97175     fi
97176   fi
97177
97178
97179
97180
97181
97182
97183   echo "$as_me:$LINENO: checking for powf declaration" >&5
97184 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
97185   if test x${glibcxx_cv_func_powf_use+set} != xset; then
97186     if test "${glibcxx_cv_func_powf_use+set}" = set; then
97187   echo $ECHO_N "(cached) $ECHO_C" >&6
97188 else
97189
97190
97191
97192       ac_ext=cc
97193 ac_cpp='$CXXCPP $CPPFLAGS'
97194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97197
97198       cat >conftest.$ac_ext <<_ACEOF
97199 /* confdefs.h.  */
97200 _ACEOF
97201 cat confdefs.h >>conftest.$ac_ext
97202 cat >>conftest.$ac_ext <<_ACEOF
97203 /* end confdefs.h.  */
97204 #include <math.h>
97205 int
97206 main ()
97207 {
97208  powf(0, 0);
97209   ;
97210   return 0;
97211 }
97212 _ACEOF
97213 rm -f conftest.$ac_objext
97214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97215   (eval $ac_compile) 2>conftest.er1
97216   ac_status=$?
97217   grep -v '^ *+' conftest.er1 >conftest.err
97218   rm -f conftest.er1
97219   cat conftest.err >&5
97220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221   (exit $ac_status); } &&
97222          { ac_try='test -z "$ac_cxx_werror_flag"
97223                          || test ! -s conftest.err'
97224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97225   (eval $ac_try) 2>&5
97226   ac_status=$?
97227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97228   (exit $ac_status); }; } &&
97229          { ac_try='test -s conftest.$ac_objext'
97230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97231   (eval $ac_try) 2>&5
97232   ac_status=$?
97233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97234   (exit $ac_status); }; }; then
97235   glibcxx_cv_func_powf_use=yes
97236 else
97237   echo "$as_me: failed program was:" >&5
97238 sed 's/^/| /' conftest.$ac_ext >&5
97239
97240 glibcxx_cv_func_powf_use=no
97241 fi
97242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97243       ac_ext=c
97244 ac_cpp='$CPP $CPPFLAGS'
97245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97248
97249
97250 fi
97251
97252   fi
97253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
97254 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
97255
97256   if test x$glibcxx_cv_func_powf_use = x"yes"; then
97257
97258 for ac_func in powf
97259 do
97260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97261 echo "$as_me:$LINENO: checking for $ac_func" >&5
97262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97263 if eval "test \"\${$as_ac_var+set}\" = set"; then
97264   echo $ECHO_N "(cached) $ECHO_C" >&6
97265 else
97266   if test x$gcc_no_link = xyes; then
97267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97269    { (exit 1); exit 1; }; }
97270 fi
97271 cat >conftest.$ac_ext <<_ACEOF
97272 /* confdefs.h.  */
97273 _ACEOF
97274 cat confdefs.h >>conftest.$ac_ext
97275 cat >>conftest.$ac_ext <<_ACEOF
97276 /* end confdefs.h.  */
97277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97279 #define $ac_func innocuous_$ac_func
97280
97281 /* System header to define __stub macros and hopefully few prototypes,
97282     which can conflict with char $ac_func (); below.
97283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97284     <limits.h> exists even on freestanding compilers.  */
97285
97286 #ifdef __STDC__
97287 # include <limits.h>
97288 #else
97289 # include <assert.h>
97290 #endif
97291
97292 #undef $ac_func
97293
97294 /* Override any gcc2 internal prototype to avoid an error.  */
97295 #ifdef __cplusplus
97296 extern "C"
97297 {
97298 #endif
97299 /* We use char because int might match the return type of a gcc2
97300    builtin and then its argument prototype would still apply.  */
97301 char $ac_func ();
97302 /* The GNU C library defines this for functions which it implements
97303     to always fail with ENOSYS.  Some functions are actually named
97304     something starting with __ and the normal name is an alias.  */
97305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97306 choke me
97307 #else
97308 char (*f) () = $ac_func;
97309 #endif
97310 #ifdef __cplusplus
97311 }
97312 #endif
97313
97314 int
97315 main ()
97316 {
97317 return f != $ac_func;
97318   ;
97319   return 0;
97320 }
97321 _ACEOF
97322 rm -f conftest.$ac_objext conftest$ac_exeext
97323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97324   (eval $ac_link) 2>conftest.er1
97325   ac_status=$?
97326   grep -v '^ *+' conftest.er1 >conftest.err
97327   rm -f conftest.er1
97328   cat conftest.err >&5
97329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330   (exit $ac_status); } &&
97331          { ac_try='test -z "$ac_c_werror_flag"
97332                          || test ! -s conftest.err'
97333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97334   (eval $ac_try) 2>&5
97335   ac_status=$?
97336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97337   (exit $ac_status); }; } &&
97338          { ac_try='test -s conftest$ac_exeext'
97339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97340   (eval $ac_try) 2>&5
97341   ac_status=$?
97342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97343   (exit $ac_status); }; }; then
97344   eval "$as_ac_var=yes"
97345 else
97346   echo "$as_me: failed program was:" >&5
97347 sed 's/^/| /' conftest.$ac_ext >&5
97348
97349 eval "$as_ac_var=no"
97350 fi
97351 rm -f conftest.err conftest.$ac_objext \
97352       conftest$ac_exeext conftest.$ac_ext
97353 fi
97354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97356 if test `eval echo '${'$as_ac_var'}'` = yes; then
97357   cat >>confdefs.h <<_ACEOF
97358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97359 _ACEOF
97360
97361 fi
97362 done
97363
97364   else
97365
97366   echo "$as_me:$LINENO: checking for _powf declaration" >&5
97367 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
97368   if test x${glibcxx_cv_func__powf_use+set} != xset; then
97369     if test "${glibcxx_cv_func__powf_use+set}" = set; then
97370   echo $ECHO_N "(cached) $ECHO_C" >&6
97371 else
97372
97373
97374
97375       ac_ext=cc
97376 ac_cpp='$CXXCPP $CPPFLAGS'
97377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97380
97381       cat >conftest.$ac_ext <<_ACEOF
97382 /* confdefs.h.  */
97383 _ACEOF
97384 cat confdefs.h >>conftest.$ac_ext
97385 cat >>conftest.$ac_ext <<_ACEOF
97386 /* end confdefs.h.  */
97387 #include <math.h>
97388 int
97389 main ()
97390 {
97391  _powf(0, 0);
97392   ;
97393   return 0;
97394 }
97395 _ACEOF
97396 rm -f conftest.$ac_objext
97397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97398   (eval $ac_compile) 2>conftest.er1
97399   ac_status=$?
97400   grep -v '^ *+' conftest.er1 >conftest.err
97401   rm -f conftest.er1
97402   cat conftest.err >&5
97403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97404   (exit $ac_status); } &&
97405          { ac_try='test -z "$ac_cxx_werror_flag"
97406                          || test ! -s conftest.err'
97407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97408   (eval $ac_try) 2>&5
97409   ac_status=$?
97410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97411   (exit $ac_status); }; } &&
97412          { ac_try='test -s conftest.$ac_objext'
97413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97414   (eval $ac_try) 2>&5
97415   ac_status=$?
97416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97417   (exit $ac_status); }; }; then
97418   glibcxx_cv_func__powf_use=yes
97419 else
97420   echo "$as_me: failed program was:" >&5
97421 sed 's/^/| /' conftest.$ac_ext >&5
97422
97423 glibcxx_cv_func__powf_use=no
97424 fi
97425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97426       ac_ext=c
97427 ac_cpp='$CPP $CPPFLAGS'
97428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97431
97432
97433 fi
97434
97435   fi
97436   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
97437 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
97438
97439     if test x$glibcxx_cv_func__powf_use = x"yes"; then
97440
97441 for ac_func in _powf
97442 do
97443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97444 echo "$as_me:$LINENO: checking for $ac_func" >&5
97445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97446 if eval "test \"\${$as_ac_var+set}\" = set"; then
97447   echo $ECHO_N "(cached) $ECHO_C" >&6
97448 else
97449   if test x$gcc_no_link = xyes; then
97450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97452    { (exit 1); exit 1; }; }
97453 fi
97454 cat >conftest.$ac_ext <<_ACEOF
97455 /* confdefs.h.  */
97456 _ACEOF
97457 cat confdefs.h >>conftest.$ac_ext
97458 cat >>conftest.$ac_ext <<_ACEOF
97459 /* end confdefs.h.  */
97460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97462 #define $ac_func innocuous_$ac_func
97463
97464 /* System header to define __stub macros and hopefully few prototypes,
97465     which can conflict with char $ac_func (); below.
97466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97467     <limits.h> exists even on freestanding compilers.  */
97468
97469 #ifdef __STDC__
97470 # include <limits.h>
97471 #else
97472 # include <assert.h>
97473 #endif
97474
97475 #undef $ac_func
97476
97477 /* Override any gcc2 internal prototype to avoid an error.  */
97478 #ifdef __cplusplus
97479 extern "C"
97480 {
97481 #endif
97482 /* We use char because int might match the return type of a gcc2
97483    builtin and then its argument prototype would still apply.  */
97484 char $ac_func ();
97485 /* The GNU C library defines this for functions which it implements
97486     to always fail with ENOSYS.  Some functions are actually named
97487     something starting with __ and the normal name is an alias.  */
97488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97489 choke me
97490 #else
97491 char (*f) () = $ac_func;
97492 #endif
97493 #ifdef __cplusplus
97494 }
97495 #endif
97496
97497 int
97498 main ()
97499 {
97500 return f != $ac_func;
97501   ;
97502   return 0;
97503 }
97504 _ACEOF
97505 rm -f conftest.$ac_objext conftest$ac_exeext
97506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97507   (eval $ac_link) 2>conftest.er1
97508   ac_status=$?
97509   grep -v '^ *+' conftest.er1 >conftest.err
97510   rm -f conftest.er1
97511   cat conftest.err >&5
97512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97513   (exit $ac_status); } &&
97514          { ac_try='test -z "$ac_c_werror_flag"
97515                          || test ! -s conftest.err'
97516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97517   (eval $ac_try) 2>&5
97518   ac_status=$?
97519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97520   (exit $ac_status); }; } &&
97521          { ac_try='test -s conftest$ac_exeext'
97522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97523   (eval $ac_try) 2>&5
97524   ac_status=$?
97525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97526   (exit $ac_status); }; }; then
97527   eval "$as_ac_var=yes"
97528 else
97529   echo "$as_me: failed program was:" >&5
97530 sed 's/^/| /' conftest.$ac_ext >&5
97531
97532 eval "$as_ac_var=no"
97533 fi
97534 rm -f conftest.err conftest.$ac_objext \
97535       conftest$ac_exeext conftest.$ac_ext
97536 fi
97537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97539 if test `eval echo '${'$as_ac_var'}'` = yes; then
97540   cat >>confdefs.h <<_ACEOF
97541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97542 _ACEOF
97543
97544 fi
97545 done
97546
97547     fi
97548   fi
97549
97550
97551
97552
97553
97554
97555   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97556 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97557   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97558     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97559   echo $ECHO_N "(cached) $ECHO_C" >&6
97560 else
97561
97562
97563
97564       ac_ext=cc
97565 ac_cpp='$CXXCPP $CPPFLAGS'
97566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97569
97570       cat >conftest.$ac_ext <<_ACEOF
97571 /* confdefs.h.  */
97572 _ACEOF
97573 cat confdefs.h >>conftest.$ac_ext
97574 cat >>conftest.$ac_ext <<_ACEOF
97575 /* end confdefs.h.  */
97576 #include <math.h>
97577                       #ifdef HAVE_IEEEFP_H
97578                       #include <ieeefp.h>
97579                       #endif
97580
97581 int
97582 main ()
97583 {
97584  sqrtf(0);
97585   ;
97586   return 0;
97587 }
97588 _ACEOF
97589 rm -f conftest.$ac_objext
97590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97591   (eval $ac_compile) 2>conftest.er1
97592   ac_status=$?
97593   grep -v '^ *+' conftest.er1 >conftest.err
97594   rm -f conftest.er1
97595   cat conftest.err >&5
97596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97597   (exit $ac_status); } &&
97598          { ac_try='test -z "$ac_cxx_werror_flag"
97599                          || test ! -s conftest.err'
97600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97601   (eval $ac_try) 2>&5
97602   ac_status=$?
97603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97604   (exit $ac_status); }; } &&
97605          { ac_try='test -s conftest.$ac_objext'
97606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97607   (eval $ac_try) 2>&5
97608   ac_status=$?
97609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97610   (exit $ac_status); }; }; then
97611   glibcxx_cv_func_sqrtf_use=yes
97612 else
97613   echo "$as_me: failed program was:" >&5
97614 sed 's/^/| /' conftest.$ac_ext >&5
97615
97616 glibcxx_cv_func_sqrtf_use=no
97617 fi
97618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97619       ac_ext=c
97620 ac_cpp='$CPP $CPPFLAGS'
97621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97624
97625
97626 fi
97627
97628   fi
97629   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97630 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97631
97632   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97633
97634 for ac_func in sqrtf
97635 do
97636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97637 echo "$as_me:$LINENO: checking for $ac_func" >&5
97638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97639 if eval "test \"\${$as_ac_var+set}\" = set"; then
97640   echo $ECHO_N "(cached) $ECHO_C" >&6
97641 else
97642   if test x$gcc_no_link = xyes; then
97643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97645    { (exit 1); exit 1; }; }
97646 fi
97647 cat >conftest.$ac_ext <<_ACEOF
97648 /* confdefs.h.  */
97649 _ACEOF
97650 cat confdefs.h >>conftest.$ac_ext
97651 cat >>conftest.$ac_ext <<_ACEOF
97652 /* end confdefs.h.  */
97653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97655 #define $ac_func innocuous_$ac_func
97656
97657 /* System header to define __stub macros and hopefully few prototypes,
97658     which can conflict with char $ac_func (); below.
97659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97660     <limits.h> exists even on freestanding compilers.  */
97661
97662 #ifdef __STDC__
97663 # include <limits.h>
97664 #else
97665 # include <assert.h>
97666 #endif
97667
97668 #undef $ac_func
97669
97670 /* Override any gcc2 internal prototype to avoid an error.  */
97671 #ifdef __cplusplus
97672 extern "C"
97673 {
97674 #endif
97675 /* We use char because int might match the return type of a gcc2
97676    builtin and then its argument prototype would still apply.  */
97677 char $ac_func ();
97678 /* The GNU C library defines this for functions which it implements
97679     to always fail with ENOSYS.  Some functions are actually named
97680     something starting with __ and the normal name is an alias.  */
97681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97682 choke me
97683 #else
97684 char (*f) () = $ac_func;
97685 #endif
97686 #ifdef __cplusplus
97687 }
97688 #endif
97689
97690 int
97691 main ()
97692 {
97693 return f != $ac_func;
97694   ;
97695   return 0;
97696 }
97697 _ACEOF
97698 rm -f conftest.$ac_objext conftest$ac_exeext
97699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97700   (eval $ac_link) 2>conftest.er1
97701   ac_status=$?
97702   grep -v '^ *+' conftest.er1 >conftest.err
97703   rm -f conftest.er1
97704   cat conftest.err >&5
97705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97706   (exit $ac_status); } &&
97707          { ac_try='test -z "$ac_c_werror_flag"
97708                          || test ! -s conftest.err'
97709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97710   (eval $ac_try) 2>&5
97711   ac_status=$?
97712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97713   (exit $ac_status); }; } &&
97714          { ac_try='test -s conftest$ac_exeext'
97715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97716   (eval $ac_try) 2>&5
97717   ac_status=$?
97718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97719   (exit $ac_status); }; }; then
97720   eval "$as_ac_var=yes"
97721 else
97722   echo "$as_me: failed program was:" >&5
97723 sed 's/^/| /' conftest.$ac_ext >&5
97724
97725 eval "$as_ac_var=no"
97726 fi
97727 rm -f conftest.err conftest.$ac_objext \
97728       conftest$ac_exeext conftest.$ac_ext
97729 fi
97730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97732 if test `eval echo '${'$as_ac_var'}'` = yes; then
97733   cat >>confdefs.h <<_ACEOF
97734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97735 _ACEOF
97736
97737 fi
97738 done
97739
97740   else
97741
97742   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97743 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97744   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97745     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97746   echo $ECHO_N "(cached) $ECHO_C" >&6
97747 else
97748
97749
97750
97751       ac_ext=cc
97752 ac_cpp='$CXXCPP $CPPFLAGS'
97753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97756
97757       cat >conftest.$ac_ext <<_ACEOF
97758 /* confdefs.h.  */
97759 _ACEOF
97760 cat confdefs.h >>conftest.$ac_ext
97761 cat >>conftest.$ac_ext <<_ACEOF
97762 /* end confdefs.h.  */
97763 #include <math.h>
97764                       #ifdef HAVE_IEEEFP_H
97765                       #include <ieeefp.h>
97766                       #endif
97767
97768 int
97769 main ()
97770 {
97771  _sqrtf(0);
97772   ;
97773   return 0;
97774 }
97775 _ACEOF
97776 rm -f conftest.$ac_objext
97777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97778   (eval $ac_compile) 2>conftest.er1
97779   ac_status=$?
97780   grep -v '^ *+' conftest.er1 >conftest.err
97781   rm -f conftest.er1
97782   cat conftest.err >&5
97783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97784   (exit $ac_status); } &&
97785          { ac_try='test -z "$ac_cxx_werror_flag"
97786                          || test ! -s conftest.err'
97787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97788   (eval $ac_try) 2>&5
97789   ac_status=$?
97790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97791   (exit $ac_status); }; } &&
97792          { ac_try='test -s conftest.$ac_objext'
97793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97794   (eval $ac_try) 2>&5
97795   ac_status=$?
97796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97797   (exit $ac_status); }; }; then
97798   glibcxx_cv_func__sqrtf_use=yes
97799 else
97800   echo "$as_me: failed program was:" >&5
97801 sed 's/^/| /' conftest.$ac_ext >&5
97802
97803 glibcxx_cv_func__sqrtf_use=no
97804 fi
97805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97806       ac_ext=c
97807 ac_cpp='$CPP $CPPFLAGS'
97808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97811
97812
97813 fi
97814
97815   fi
97816   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97817 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97818
97819     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97820
97821 for ac_func in _sqrtf
97822 do
97823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97824 echo "$as_me:$LINENO: checking for $ac_func" >&5
97825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97826 if eval "test \"\${$as_ac_var+set}\" = set"; then
97827   echo $ECHO_N "(cached) $ECHO_C" >&6
97828 else
97829   if test x$gcc_no_link = xyes; then
97830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97832    { (exit 1); exit 1; }; }
97833 fi
97834 cat >conftest.$ac_ext <<_ACEOF
97835 /* confdefs.h.  */
97836 _ACEOF
97837 cat confdefs.h >>conftest.$ac_ext
97838 cat >>conftest.$ac_ext <<_ACEOF
97839 /* end confdefs.h.  */
97840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97842 #define $ac_func innocuous_$ac_func
97843
97844 /* System header to define __stub macros and hopefully few prototypes,
97845     which can conflict with char $ac_func (); below.
97846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97847     <limits.h> exists even on freestanding compilers.  */
97848
97849 #ifdef __STDC__
97850 # include <limits.h>
97851 #else
97852 # include <assert.h>
97853 #endif
97854
97855 #undef $ac_func
97856
97857 /* Override any gcc2 internal prototype to avoid an error.  */
97858 #ifdef __cplusplus
97859 extern "C"
97860 {
97861 #endif
97862 /* We use char because int might match the return type of a gcc2
97863    builtin and then its argument prototype would still apply.  */
97864 char $ac_func ();
97865 /* The GNU C library defines this for functions which it implements
97866     to always fail with ENOSYS.  Some functions are actually named
97867     something starting with __ and the normal name is an alias.  */
97868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97869 choke me
97870 #else
97871 char (*f) () = $ac_func;
97872 #endif
97873 #ifdef __cplusplus
97874 }
97875 #endif
97876
97877 int
97878 main ()
97879 {
97880 return f != $ac_func;
97881   ;
97882   return 0;
97883 }
97884 _ACEOF
97885 rm -f conftest.$ac_objext conftest$ac_exeext
97886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97887   (eval $ac_link) 2>conftest.er1
97888   ac_status=$?
97889   grep -v '^ *+' conftest.er1 >conftest.err
97890   rm -f conftest.er1
97891   cat conftest.err >&5
97892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97893   (exit $ac_status); } &&
97894          { ac_try='test -z "$ac_c_werror_flag"
97895                          || test ! -s conftest.err'
97896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97897   (eval $ac_try) 2>&5
97898   ac_status=$?
97899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97900   (exit $ac_status); }; } &&
97901          { ac_try='test -s conftest$ac_exeext'
97902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97903   (eval $ac_try) 2>&5
97904   ac_status=$?
97905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97906   (exit $ac_status); }; }; then
97907   eval "$as_ac_var=yes"
97908 else
97909   echo "$as_me: failed program was:" >&5
97910 sed 's/^/| /' conftest.$ac_ext >&5
97911
97912 eval "$as_ac_var=no"
97913 fi
97914 rm -f conftest.err conftest.$ac_objext \
97915       conftest$ac_exeext conftest.$ac_ext
97916 fi
97917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97919 if test `eval echo '${'$as_ac_var'}'` = yes; then
97920   cat >>confdefs.h <<_ACEOF
97921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97922 _ACEOF
97923
97924 fi
97925 done
97926
97927     fi
97928   fi
97929
97930
97931
97932
97933
97934
97935   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97936 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97937   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97938     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97939   echo $ECHO_N "(cached) $ECHO_C" >&6
97940 else
97941
97942
97943
97944       ac_ext=cc
97945 ac_cpp='$CXXCPP $CPPFLAGS'
97946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97949
97950       cat >conftest.$ac_ext <<_ACEOF
97951 /* confdefs.h.  */
97952 _ACEOF
97953 cat confdefs.h >>conftest.$ac_ext
97954 cat >>conftest.$ac_ext <<_ACEOF
97955 /* end confdefs.h.  */
97956 #include <math.h>
97957 int
97958 main ()
97959 {
97960  sincosf(0, 0, 0);
97961   ;
97962   return 0;
97963 }
97964 _ACEOF
97965 rm -f conftest.$ac_objext
97966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97967   (eval $ac_compile) 2>conftest.er1
97968   ac_status=$?
97969   grep -v '^ *+' conftest.er1 >conftest.err
97970   rm -f conftest.er1
97971   cat conftest.err >&5
97972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97973   (exit $ac_status); } &&
97974          { ac_try='test -z "$ac_cxx_werror_flag"
97975                          || test ! -s conftest.err'
97976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97977   (eval $ac_try) 2>&5
97978   ac_status=$?
97979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97980   (exit $ac_status); }; } &&
97981          { ac_try='test -s conftest.$ac_objext'
97982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97983   (eval $ac_try) 2>&5
97984   ac_status=$?
97985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97986   (exit $ac_status); }; }; then
97987   glibcxx_cv_func_sincosf_use=yes
97988 else
97989   echo "$as_me: failed program was:" >&5
97990 sed 's/^/| /' conftest.$ac_ext >&5
97991
97992 glibcxx_cv_func_sincosf_use=no
97993 fi
97994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97995       ac_ext=c
97996 ac_cpp='$CPP $CPPFLAGS'
97997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98000
98001
98002 fi
98003
98004   fi
98005   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
98006 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
98007
98008   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
98009
98010 for ac_func in sincosf
98011 do
98012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98013 echo "$as_me:$LINENO: checking for $ac_func" >&5
98014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98015 if eval "test \"\${$as_ac_var+set}\" = set"; then
98016   echo $ECHO_N "(cached) $ECHO_C" >&6
98017 else
98018   if test x$gcc_no_link = xyes; then
98019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98021    { (exit 1); exit 1; }; }
98022 fi
98023 cat >conftest.$ac_ext <<_ACEOF
98024 /* confdefs.h.  */
98025 _ACEOF
98026 cat confdefs.h >>conftest.$ac_ext
98027 cat >>conftest.$ac_ext <<_ACEOF
98028 /* end confdefs.h.  */
98029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98031 #define $ac_func innocuous_$ac_func
98032
98033 /* System header to define __stub macros and hopefully few prototypes,
98034     which can conflict with char $ac_func (); below.
98035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98036     <limits.h> exists even on freestanding compilers.  */
98037
98038 #ifdef __STDC__
98039 # include <limits.h>
98040 #else
98041 # include <assert.h>
98042 #endif
98043
98044 #undef $ac_func
98045
98046 /* Override any gcc2 internal prototype to avoid an error.  */
98047 #ifdef __cplusplus
98048 extern "C"
98049 {
98050 #endif
98051 /* We use char because int might match the return type of a gcc2
98052    builtin and then its argument prototype would still apply.  */
98053 char $ac_func ();
98054 /* The GNU C library defines this for functions which it implements
98055     to always fail with ENOSYS.  Some functions are actually named
98056     something starting with __ and the normal name is an alias.  */
98057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98058 choke me
98059 #else
98060 char (*f) () = $ac_func;
98061 #endif
98062 #ifdef __cplusplus
98063 }
98064 #endif
98065
98066 int
98067 main ()
98068 {
98069 return f != $ac_func;
98070   ;
98071   return 0;
98072 }
98073 _ACEOF
98074 rm -f conftest.$ac_objext conftest$ac_exeext
98075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98076   (eval $ac_link) 2>conftest.er1
98077   ac_status=$?
98078   grep -v '^ *+' conftest.er1 >conftest.err
98079   rm -f conftest.er1
98080   cat conftest.err >&5
98081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082   (exit $ac_status); } &&
98083          { ac_try='test -z "$ac_c_werror_flag"
98084                          || test ! -s conftest.err'
98085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98086   (eval $ac_try) 2>&5
98087   ac_status=$?
98088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98089   (exit $ac_status); }; } &&
98090          { ac_try='test -s conftest$ac_exeext'
98091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98092   (eval $ac_try) 2>&5
98093   ac_status=$?
98094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98095   (exit $ac_status); }; }; then
98096   eval "$as_ac_var=yes"
98097 else
98098   echo "$as_me: failed program was:" >&5
98099 sed 's/^/| /' conftest.$ac_ext >&5
98100
98101 eval "$as_ac_var=no"
98102 fi
98103 rm -f conftest.err conftest.$ac_objext \
98104       conftest$ac_exeext conftest.$ac_ext
98105 fi
98106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98108 if test `eval echo '${'$as_ac_var'}'` = yes; then
98109   cat >>confdefs.h <<_ACEOF
98110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98111 _ACEOF
98112
98113 fi
98114 done
98115
98116   else
98117
98118   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
98119 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
98120   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
98121     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
98122   echo $ECHO_N "(cached) $ECHO_C" >&6
98123 else
98124
98125
98126
98127       ac_ext=cc
98128 ac_cpp='$CXXCPP $CPPFLAGS'
98129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98132
98133       cat >conftest.$ac_ext <<_ACEOF
98134 /* confdefs.h.  */
98135 _ACEOF
98136 cat confdefs.h >>conftest.$ac_ext
98137 cat >>conftest.$ac_ext <<_ACEOF
98138 /* end confdefs.h.  */
98139 #include <math.h>
98140 int
98141 main ()
98142 {
98143  _sincosf(0, 0, 0);
98144   ;
98145   return 0;
98146 }
98147 _ACEOF
98148 rm -f conftest.$ac_objext
98149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98150   (eval $ac_compile) 2>conftest.er1
98151   ac_status=$?
98152   grep -v '^ *+' conftest.er1 >conftest.err
98153   rm -f conftest.er1
98154   cat conftest.err >&5
98155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98156   (exit $ac_status); } &&
98157          { ac_try='test -z "$ac_cxx_werror_flag"
98158                          || test ! -s conftest.err'
98159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160   (eval $ac_try) 2>&5
98161   ac_status=$?
98162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163   (exit $ac_status); }; } &&
98164          { ac_try='test -s conftest.$ac_objext'
98165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98166   (eval $ac_try) 2>&5
98167   ac_status=$?
98168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98169   (exit $ac_status); }; }; then
98170   glibcxx_cv_func__sincosf_use=yes
98171 else
98172   echo "$as_me: failed program was:" >&5
98173 sed 's/^/| /' conftest.$ac_ext >&5
98174
98175 glibcxx_cv_func__sincosf_use=no
98176 fi
98177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98178       ac_ext=c
98179 ac_cpp='$CPP $CPPFLAGS'
98180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98183
98184
98185 fi
98186
98187   fi
98188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
98189 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
98190
98191     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
98192
98193 for ac_func in _sincosf
98194 do
98195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98196 echo "$as_me:$LINENO: checking for $ac_func" >&5
98197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98198 if eval "test \"\${$as_ac_var+set}\" = set"; then
98199   echo $ECHO_N "(cached) $ECHO_C" >&6
98200 else
98201   if test x$gcc_no_link = xyes; then
98202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98204    { (exit 1); exit 1; }; }
98205 fi
98206 cat >conftest.$ac_ext <<_ACEOF
98207 /* confdefs.h.  */
98208 _ACEOF
98209 cat confdefs.h >>conftest.$ac_ext
98210 cat >>conftest.$ac_ext <<_ACEOF
98211 /* end confdefs.h.  */
98212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98214 #define $ac_func innocuous_$ac_func
98215
98216 /* System header to define __stub macros and hopefully few prototypes,
98217     which can conflict with char $ac_func (); below.
98218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98219     <limits.h> exists even on freestanding compilers.  */
98220
98221 #ifdef __STDC__
98222 # include <limits.h>
98223 #else
98224 # include <assert.h>
98225 #endif
98226
98227 #undef $ac_func
98228
98229 /* Override any gcc2 internal prototype to avoid an error.  */
98230 #ifdef __cplusplus
98231 extern "C"
98232 {
98233 #endif
98234 /* We use char because int might match the return type of a gcc2
98235    builtin and then its argument prototype would still apply.  */
98236 char $ac_func ();
98237 /* The GNU C library defines this for functions which it implements
98238     to always fail with ENOSYS.  Some functions are actually named
98239     something starting with __ and the normal name is an alias.  */
98240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98241 choke me
98242 #else
98243 char (*f) () = $ac_func;
98244 #endif
98245 #ifdef __cplusplus
98246 }
98247 #endif
98248
98249 int
98250 main ()
98251 {
98252 return f != $ac_func;
98253   ;
98254   return 0;
98255 }
98256 _ACEOF
98257 rm -f conftest.$ac_objext conftest$ac_exeext
98258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98259   (eval $ac_link) 2>conftest.er1
98260   ac_status=$?
98261   grep -v '^ *+' conftest.er1 >conftest.err
98262   rm -f conftest.er1
98263   cat conftest.err >&5
98264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98265   (exit $ac_status); } &&
98266          { ac_try='test -z "$ac_c_werror_flag"
98267                          || test ! -s conftest.err'
98268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98269   (eval $ac_try) 2>&5
98270   ac_status=$?
98271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98272   (exit $ac_status); }; } &&
98273          { ac_try='test -s conftest$ac_exeext'
98274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98275   (eval $ac_try) 2>&5
98276   ac_status=$?
98277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98278   (exit $ac_status); }; }; then
98279   eval "$as_ac_var=yes"
98280 else
98281   echo "$as_me: failed program was:" >&5
98282 sed 's/^/| /' conftest.$ac_ext >&5
98283
98284 eval "$as_ac_var=no"
98285 fi
98286 rm -f conftest.err conftest.$ac_objext \
98287       conftest$ac_exeext conftest.$ac_ext
98288 fi
98289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98291 if test `eval echo '${'$as_ac_var'}'` = yes; then
98292   cat >>confdefs.h <<_ACEOF
98293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98294 _ACEOF
98295
98296 fi
98297 done
98298
98299     fi
98300   fi
98301
98302
98303
98304
98305
98306
98307   echo "$as_me:$LINENO: checking for finitef declaration" >&5
98308 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
98309   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
98310     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
98311   echo $ECHO_N "(cached) $ECHO_C" >&6
98312 else
98313
98314
98315
98316       ac_ext=cc
98317 ac_cpp='$CXXCPP $CPPFLAGS'
98318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98321
98322       cat >conftest.$ac_ext <<_ACEOF
98323 /* confdefs.h.  */
98324 _ACEOF
98325 cat confdefs.h >>conftest.$ac_ext
98326 cat >>conftest.$ac_ext <<_ACEOF
98327 /* end confdefs.h.  */
98328 #include <math.h>
98329                       #ifdef HAVE_IEEEFP_H
98330                       #include <ieeefp.h>
98331                       #endif
98332
98333 int
98334 main ()
98335 {
98336  finitef(0);
98337   ;
98338   return 0;
98339 }
98340 _ACEOF
98341 rm -f conftest.$ac_objext
98342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98343   (eval $ac_compile) 2>conftest.er1
98344   ac_status=$?
98345   grep -v '^ *+' conftest.er1 >conftest.err
98346   rm -f conftest.er1
98347   cat conftest.err >&5
98348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98349   (exit $ac_status); } &&
98350          { ac_try='test -z "$ac_cxx_werror_flag"
98351                          || test ! -s conftest.err'
98352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98353   (eval $ac_try) 2>&5
98354   ac_status=$?
98355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98356   (exit $ac_status); }; } &&
98357          { ac_try='test -s conftest.$ac_objext'
98358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98359   (eval $ac_try) 2>&5
98360   ac_status=$?
98361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98362   (exit $ac_status); }; }; then
98363   glibcxx_cv_func_finitef_use=yes
98364 else
98365   echo "$as_me: failed program was:" >&5
98366 sed 's/^/| /' conftest.$ac_ext >&5
98367
98368 glibcxx_cv_func_finitef_use=no
98369 fi
98370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98371       ac_ext=c
98372 ac_cpp='$CPP $CPPFLAGS'
98373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98376
98377
98378 fi
98379
98380   fi
98381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
98382 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
98383
98384   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
98385
98386 for ac_func in finitef
98387 do
98388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98389 echo "$as_me:$LINENO: checking for $ac_func" >&5
98390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98391 if eval "test \"\${$as_ac_var+set}\" = set"; then
98392   echo $ECHO_N "(cached) $ECHO_C" >&6
98393 else
98394   if test x$gcc_no_link = xyes; then
98395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98397    { (exit 1); exit 1; }; }
98398 fi
98399 cat >conftest.$ac_ext <<_ACEOF
98400 /* confdefs.h.  */
98401 _ACEOF
98402 cat confdefs.h >>conftest.$ac_ext
98403 cat >>conftest.$ac_ext <<_ACEOF
98404 /* end confdefs.h.  */
98405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98407 #define $ac_func innocuous_$ac_func
98408
98409 /* System header to define __stub macros and hopefully few prototypes,
98410     which can conflict with char $ac_func (); below.
98411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98412     <limits.h> exists even on freestanding compilers.  */
98413
98414 #ifdef __STDC__
98415 # include <limits.h>
98416 #else
98417 # include <assert.h>
98418 #endif
98419
98420 #undef $ac_func
98421
98422 /* Override any gcc2 internal prototype to avoid an error.  */
98423 #ifdef __cplusplus
98424 extern "C"
98425 {
98426 #endif
98427 /* We use char because int might match the return type of a gcc2
98428    builtin and then its argument prototype would still apply.  */
98429 char $ac_func ();
98430 /* The GNU C library defines this for functions which it implements
98431     to always fail with ENOSYS.  Some functions are actually named
98432     something starting with __ and the normal name is an alias.  */
98433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98434 choke me
98435 #else
98436 char (*f) () = $ac_func;
98437 #endif
98438 #ifdef __cplusplus
98439 }
98440 #endif
98441
98442 int
98443 main ()
98444 {
98445 return f != $ac_func;
98446   ;
98447   return 0;
98448 }
98449 _ACEOF
98450 rm -f conftest.$ac_objext conftest$ac_exeext
98451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98452   (eval $ac_link) 2>conftest.er1
98453   ac_status=$?
98454   grep -v '^ *+' conftest.er1 >conftest.err
98455   rm -f conftest.er1
98456   cat conftest.err >&5
98457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98458   (exit $ac_status); } &&
98459          { ac_try='test -z "$ac_c_werror_flag"
98460                          || test ! -s conftest.err'
98461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98462   (eval $ac_try) 2>&5
98463   ac_status=$?
98464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98465   (exit $ac_status); }; } &&
98466          { ac_try='test -s conftest$ac_exeext'
98467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98468   (eval $ac_try) 2>&5
98469   ac_status=$?
98470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471   (exit $ac_status); }; }; then
98472   eval "$as_ac_var=yes"
98473 else
98474   echo "$as_me: failed program was:" >&5
98475 sed 's/^/| /' conftest.$ac_ext >&5
98476
98477 eval "$as_ac_var=no"
98478 fi
98479 rm -f conftest.err conftest.$ac_objext \
98480       conftest$ac_exeext conftest.$ac_ext
98481 fi
98482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98484 if test `eval echo '${'$as_ac_var'}'` = yes; then
98485   cat >>confdefs.h <<_ACEOF
98486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98487 _ACEOF
98488
98489 fi
98490 done
98491
98492   else
98493
98494   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
98495 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
98496   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
98497     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
98498   echo $ECHO_N "(cached) $ECHO_C" >&6
98499 else
98500
98501
98502
98503       ac_ext=cc
98504 ac_cpp='$CXXCPP $CPPFLAGS'
98505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98508
98509       cat >conftest.$ac_ext <<_ACEOF
98510 /* confdefs.h.  */
98511 _ACEOF
98512 cat confdefs.h >>conftest.$ac_ext
98513 cat >>conftest.$ac_ext <<_ACEOF
98514 /* end confdefs.h.  */
98515 #include <math.h>
98516                       #ifdef HAVE_IEEEFP_H
98517                       #include <ieeefp.h>
98518                       #endif
98519
98520 int
98521 main ()
98522 {
98523  _finitef(0);
98524   ;
98525   return 0;
98526 }
98527 _ACEOF
98528 rm -f conftest.$ac_objext
98529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98530   (eval $ac_compile) 2>conftest.er1
98531   ac_status=$?
98532   grep -v '^ *+' conftest.er1 >conftest.err
98533   rm -f conftest.er1
98534   cat conftest.err >&5
98535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98536   (exit $ac_status); } &&
98537          { ac_try='test -z "$ac_cxx_werror_flag"
98538                          || test ! -s conftest.err'
98539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98540   (eval $ac_try) 2>&5
98541   ac_status=$?
98542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98543   (exit $ac_status); }; } &&
98544          { ac_try='test -s conftest.$ac_objext'
98545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98546   (eval $ac_try) 2>&5
98547   ac_status=$?
98548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98549   (exit $ac_status); }; }; then
98550   glibcxx_cv_func__finitef_use=yes
98551 else
98552   echo "$as_me: failed program was:" >&5
98553 sed 's/^/| /' conftest.$ac_ext >&5
98554
98555 glibcxx_cv_func__finitef_use=no
98556 fi
98557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98558       ac_ext=c
98559 ac_cpp='$CPP $CPPFLAGS'
98560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98563
98564
98565 fi
98566
98567   fi
98568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98569 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98570
98571     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98572
98573 for ac_func in _finitef
98574 do
98575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98576 echo "$as_me:$LINENO: checking for $ac_func" >&5
98577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98578 if eval "test \"\${$as_ac_var+set}\" = set"; then
98579   echo $ECHO_N "(cached) $ECHO_C" >&6
98580 else
98581   if test x$gcc_no_link = xyes; then
98582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98584    { (exit 1); exit 1; }; }
98585 fi
98586 cat >conftest.$ac_ext <<_ACEOF
98587 /* confdefs.h.  */
98588 _ACEOF
98589 cat confdefs.h >>conftest.$ac_ext
98590 cat >>conftest.$ac_ext <<_ACEOF
98591 /* end confdefs.h.  */
98592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98594 #define $ac_func innocuous_$ac_func
98595
98596 /* System header to define __stub macros and hopefully few prototypes,
98597     which can conflict with char $ac_func (); below.
98598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98599     <limits.h> exists even on freestanding compilers.  */
98600
98601 #ifdef __STDC__
98602 # include <limits.h>
98603 #else
98604 # include <assert.h>
98605 #endif
98606
98607 #undef $ac_func
98608
98609 /* Override any gcc2 internal prototype to avoid an error.  */
98610 #ifdef __cplusplus
98611 extern "C"
98612 {
98613 #endif
98614 /* We use char because int might match the return type of a gcc2
98615    builtin and then its argument prototype would still apply.  */
98616 char $ac_func ();
98617 /* The GNU C library defines this for functions which it implements
98618     to always fail with ENOSYS.  Some functions are actually named
98619     something starting with __ and the normal name is an alias.  */
98620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98621 choke me
98622 #else
98623 char (*f) () = $ac_func;
98624 #endif
98625 #ifdef __cplusplus
98626 }
98627 #endif
98628
98629 int
98630 main ()
98631 {
98632 return f != $ac_func;
98633   ;
98634   return 0;
98635 }
98636 _ACEOF
98637 rm -f conftest.$ac_objext conftest$ac_exeext
98638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98639   (eval $ac_link) 2>conftest.er1
98640   ac_status=$?
98641   grep -v '^ *+' conftest.er1 >conftest.err
98642   rm -f conftest.er1
98643   cat conftest.err >&5
98644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98645   (exit $ac_status); } &&
98646          { ac_try='test -z "$ac_c_werror_flag"
98647                          || test ! -s conftest.err'
98648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98649   (eval $ac_try) 2>&5
98650   ac_status=$?
98651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98652   (exit $ac_status); }; } &&
98653          { ac_try='test -s conftest$ac_exeext'
98654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98655   (eval $ac_try) 2>&5
98656   ac_status=$?
98657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98658   (exit $ac_status); }; }; then
98659   eval "$as_ac_var=yes"
98660 else
98661   echo "$as_me: failed program was:" >&5
98662 sed 's/^/| /' conftest.$ac_ext >&5
98663
98664 eval "$as_ac_var=no"
98665 fi
98666 rm -f conftest.err conftest.$ac_objext \
98667       conftest$ac_exeext conftest.$ac_ext
98668 fi
98669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98671 if test `eval echo '${'$as_ac_var'}'` = yes; then
98672   cat >>confdefs.h <<_ACEOF
98673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98674 _ACEOF
98675
98676 fi
98677 done
98678
98679     fi
98680   fi
98681
98682
98683
98684
98685
98686
98687     echo "$as_me:$LINENO: checking for long double trig functions" >&5
98688 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98689   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98690   echo $ECHO_N "(cached) $ECHO_C" >&6
98691 else
98692
98693
98694
98695     ac_ext=cc
98696 ac_cpp='$CXXCPP $CPPFLAGS'
98697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98700
98701     cat >conftest.$ac_ext <<_ACEOF
98702 /* confdefs.h.  */
98703 _ACEOF
98704 cat confdefs.h >>conftest.$ac_ext
98705 cat >>conftest.$ac_ext <<_ACEOF
98706 /* end confdefs.h.  */
98707 #include <math.h>
98708 int
98709 main ()
98710 {
98711 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98712   ;
98713   return 0;
98714 }
98715 _ACEOF
98716 rm -f conftest.$ac_objext
98717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98718   (eval $ac_compile) 2>conftest.er1
98719   ac_status=$?
98720   grep -v '^ *+' conftest.er1 >conftest.err
98721   rm -f conftest.er1
98722   cat conftest.err >&5
98723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98724   (exit $ac_status); } &&
98725          { ac_try='test -z "$ac_cxx_werror_flag"
98726                          || test ! -s conftest.err'
98727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98728   (eval $ac_try) 2>&5
98729   ac_status=$?
98730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98731   (exit $ac_status); }; } &&
98732          { ac_try='test -s conftest.$ac_objext'
98733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98734   (eval $ac_try) 2>&5
98735   ac_status=$?
98736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737   (exit $ac_status); }; }; then
98738   glibcxx_cv_func_long_double_trig_use=yes
98739 else
98740   echo "$as_me: failed program was:" >&5
98741 sed 's/^/| /' conftest.$ac_ext >&5
98742
98743 glibcxx_cv_func_long_double_trig_use=no
98744 fi
98745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98746     ac_ext=c
98747 ac_cpp='$CPP $CPPFLAGS'
98748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98751
98752 fi
98753
98754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98755 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98756   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98757
98758
98759
98760
98761
98762
98763
98764
98765
98766 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98767 do
98768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98769 echo "$as_me:$LINENO: checking for $ac_func" >&5
98770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98771 if eval "test \"\${$as_ac_var+set}\" = set"; then
98772   echo $ECHO_N "(cached) $ECHO_C" >&6
98773 else
98774   if test x$gcc_no_link = xyes; then
98775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98777    { (exit 1); exit 1; }; }
98778 fi
98779 cat >conftest.$ac_ext <<_ACEOF
98780 /* confdefs.h.  */
98781 _ACEOF
98782 cat confdefs.h >>conftest.$ac_ext
98783 cat >>conftest.$ac_ext <<_ACEOF
98784 /* end confdefs.h.  */
98785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98787 #define $ac_func innocuous_$ac_func
98788
98789 /* System header to define __stub macros and hopefully few prototypes,
98790     which can conflict with char $ac_func (); below.
98791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98792     <limits.h> exists even on freestanding compilers.  */
98793
98794 #ifdef __STDC__
98795 # include <limits.h>
98796 #else
98797 # include <assert.h>
98798 #endif
98799
98800 #undef $ac_func
98801
98802 /* Override any gcc2 internal prototype to avoid an error.  */
98803 #ifdef __cplusplus
98804 extern "C"
98805 {
98806 #endif
98807 /* We use char because int might match the return type of a gcc2
98808    builtin and then its argument prototype would still apply.  */
98809 char $ac_func ();
98810 /* The GNU C library defines this for functions which it implements
98811     to always fail with ENOSYS.  Some functions are actually named
98812     something starting with __ and the normal name is an alias.  */
98813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98814 choke me
98815 #else
98816 char (*f) () = $ac_func;
98817 #endif
98818 #ifdef __cplusplus
98819 }
98820 #endif
98821
98822 int
98823 main ()
98824 {
98825 return f != $ac_func;
98826   ;
98827   return 0;
98828 }
98829 _ACEOF
98830 rm -f conftest.$ac_objext conftest$ac_exeext
98831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98832   (eval $ac_link) 2>conftest.er1
98833   ac_status=$?
98834   grep -v '^ *+' conftest.er1 >conftest.err
98835   rm -f conftest.er1
98836   cat conftest.err >&5
98837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98838   (exit $ac_status); } &&
98839          { ac_try='test -z "$ac_c_werror_flag"
98840                          || test ! -s conftest.err'
98841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98842   (eval $ac_try) 2>&5
98843   ac_status=$?
98844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98845   (exit $ac_status); }; } &&
98846          { ac_try='test -s conftest$ac_exeext'
98847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98848   (eval $ac_try) 2>&5
98849   ac_status=$?
98850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98851   (exit $ac_status); }; }; then
98852   eval "$as_ac_var=yes"
98853 else
98854   echo "$as_me: failed program was:" >&5
98855 sed 's/^/| /' conftest.$ac_ext >&5
98856
98857 eval "$as_ac_var=no"
98858 fi
98859 rm -f conftest.err conftest.$ac_objext \
98860       conftest$ac_exeext conftest.$ac_ext
98861 fi
98862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98864 if test `eval echo '${'$as_ac_var'}'` = yes; then
98865   cat >>confdefs.h <<_ACEOF
98866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98867 _ACEOF
98868
98869 fi
98870 done
98871
98872   else
98873     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98874 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98875     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98876   echo $ECHO_N "(cached) $ECHO_C" >&6
98877 else
98878
98879
98880
98881       ac_ext=cc
98882 ac_cpp='$CXXCPP $CPPFLAGS'
98883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98886
98887       cat >conftest.$ac_ext <<_ACEOF
98888 /* confdefs.h.  */
98889 _ACEOF
98890 cat confdefs.h >>conftest.$ac_ext
98891 cat >>conftest.$ac_ext <<_ACEOF
98892 /* end confdefs.h.  */
98893 #include <math.h>
98894 int
98895 main ()
98896 {
98897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98898   ;
98899   return 0;
98900 }
98901 _ACEOF
98902 rm -f conftest.$ac_objext
98903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98904   (eval $ac_compile) 2>conftest.er1
98905   ac_status=$?
98906   grep -v '^ *+' conftest.er1 >conftest.err
98907   rm -f conftest.er1
98908   cat conftest.err >&5
98909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98910   (exit $ac_status); } &&
98911          { ac_try='test -z "$ac_cxx_werror_flag"
98912                          || test ! -s conftest.err'
98913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98914   (eval $ac_try) 2>&5
98915   ac_status=$?
98916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98917   (exit $ac_status); }; } &&
98918          { ac_try='test -s conftest.$ac_objext'
98919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98920   (eval $ac_try) 2>&5
98921   ac_status=$?
98922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98923   (exit $ac_status); }; }; then
98924   glibcxx_cv_func__long_double_trig_use=yes
98925 else
98926   echo "$as_me: failed program was:" >&5
98927 sed 's/^/| /' conftest.$ac_ext >&5
98928
98929 glibcxx_cv_func__long_double_trig_use=no
98930 fi
98931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98932       ac_ext=c
98933 ac_cpp='$CPP $CPPFLAGS'
98934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98937
98938 fi
98939
98940     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98941 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98942     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98943
98944
98945
98946
98947
98948
98949
98950
98951
98952 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98953 do
98954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98955 echo "$as_me:$LINENO: checking for $ac_func" >&5
98956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98957 if eval "test \"\${$as_ac_var+set}\" = set"; then
98958   echo $ECHO_N "(cached) $ECHO_C" >&6
98959 else
98960   if test x$gcc_no_link = xyes; then
98961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98963    { (exit 1); exit 1; }; }
98964 fi
98965 cat >conftest.$ac_ext <<_ACEOF
98966 /* confdefs.h.  */
98967 _ACEOF
98968 cat confdefs.h >>conftest.$ac_ext
98969 cat >>conftest.$ac_ext <<_ACEOF
98970 /* end confdefs.h.  */
98971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98973 #define $ac_func innocuous_$ac_func
98974
98975 /* System header to define __stub macros and hopefully few prototypes,
98976     which can conflict with char $ac_func (); below.
98977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98978     <limits.h> exists even on freestanding compilers.  */
98979
98980 #ifdef __STDC__
98981 # include <limits.h>
98982 #else
98983 # include <assert.h>
98984 #endif
98985
98986 #undef $ac_func
98987
98988 /* Override any gcc2 internal prototype to avoid an error.  */
98989 #ifdef __cplusplus
98990 extern "C"
98991 {
98992 #endif
98993 /* We use char because int might match the return type of a gcc2
98994    builtin and then its argument prototype would still apply.  */
98995 char $ac_func ();
98996 /* The GNU C library defines this for functions which it implements
98997     to always fail with ENOSYS.  Some functions are actually named
98998     something starting with __ and the normal name is an alias.  */
98999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99000 choke me
99001 #else
99002 char (*f) () = $ac_func;
99003 #endif
99004 #ifdef __cplusplus
99005 }
99006 #endif
99007
99008 int
99009 main ()
99010 {
99011 return f != $ac_func;
99012   ;
99013   return 0;
99014 }
99015 _ACEOF
99016 rm -f conftest.$ac_objext conftest$ac_exeext
99017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99018   (eval $ac_link) 2>conftest.er1
99019   ac_status=$?
99020   grep -v '^ *+' conftest.er1 >conftest.err
99021   rm -f conftest.er1
99022   cat conftest.err >&5
99023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99024   (exit $ac_status); } &&
99025          { ac_try='test -z "$ac_c_werror_flag"
99026                          || test ! -s conftest.err'
99027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99028   (eval $ac_try) 2>&5
99029   ac_status=$?
99030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99031   (exit $ac_status); }; } &&
99032          { ac_try='test -s conftest$ac_exeext'
99033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99034   (eval $ac_try) 2>&5
99035   ac_status=$?
99036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99037   (exit $ac_status); }; }; then
99038   eval "$as_ac_var=yes"
99039 else
99040   echo "$as_me: failed program was:" >&5
99041 sed 's/^/| /' conftest.$ac_ext >&5
99042
99043 eval "$as_ac_var=no"
99044 fi
99045 rm -f conftest.err conftest.$ac_objext \
99046       conftest$ac_exeext conftest.$ac_ext
99047 fi
99048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99050 if test `eval echo '${'$as_ac_var'}'` = yes; then
99051   cat >>confdefs.h <<_ACEOF
99052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99053 _ACEOF
99054
99055 fi
99056 done
99057
99058     fi
99059   fi
99060
99061
99062
99063
99064
99065
99066
99067
99068
99069
99070
99071
99072
99073
99074     echo "$as_me:$LINENO: checking for long double round functions" >&5
99075 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
99076   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
99077   echo $ECHO_N "(cached) $ECHO_C" >&6
99078 else
99079
99080
99081
99082     ac_ext=cc
99083 ac_cpp='$CXXCPP $CPPFLAGS'
99084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99087
99088     cat >conftest.$ac_ext <<_ACEOF
99089 /* confdefs.h.  */
99090 _ACEOF
99091 cat confdefs.h >>conftest.$ac_ext
99092 cat >>conftest.$ac_ext <<_ACEOF
99093 /* end confdefs.h.  */
99094 #include <math.h>
99095 int
99096 main ()
99097 {
99098 ceill (0); floorl (0);
99099   ;
99100   return 0;
99101 }
99102 _ACEOF
99103 rm -f conftest.$ac_objext
99104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99105   (eval $ac_compile) 2>conftest.er1
99106   ac_status=$?
99107   grep -v '^ *+' conftest.er1 >conftest.err
99108   rm -f conftest.er1
99109   cat conftest.err >&5
99110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99111   (exit $ac_status); } &&
99112          { ac_try='test -z "$ac_cxx_werror_flag"
99113                          || test ! -s conftest.err'
99114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99115   (eval $ac_try) 2>&5
99116   ac_status=$?
99117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99118   (exit $ac_status); }; } &&
99119          { ac_try='test -s conftest.$ac_objext'
99120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99121   (eval $ac_try) 2>&5
99122   ac_status=$?
99123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99124   (exit $ac_status); }; }; then
99125   glibcxx_cv_func_long_double_round_use=yes
99126 else
99127   echo "$as_me: failed program was:" >&5
99128 sed 's/^/| /' conftest.$ac_ext >&5
99129
99130 glibcxx_cv_func_long_double_round_use=no
99131 fi
99132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99133     ac_ext=c
99134 ac_cpp='$CPP $CPPFLAGS'
99135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99138
99139 fi
99140
99141   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
99142 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
99143   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
99144
99145
99146 for ac_func in ceill floorl
99147 do
99148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99149 echo "$as_me:$LINENO: checking for $ac_func" >&5
99150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99151 if eval "test \"\${$as_ac_var+set}\" = set"; then
99152   echo $ECHO_N "(cached) $ECHO_C" >&6
99153 else
99154   if test x$gcc_no_link = xyes; then
99155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99157    { (exit 1); exit 1; }; }
99158 fi
99159 cat >conftest.$ac_ext <<_ACEOF
99160 /* confdefs.h.  */
99161 _ACEOF
99162 cat confdefs.h >>conftest.$ac_ext
99163 cat >>conftest.$ac_ext <<_ACEOF
99164 /* end confdefs.h.  */
99165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99167 #define $ac_func innocuous_$ac_func
99168
99169 /* System header to define __stub macros and hopefully few prototypes,
99170     which can conflict with char $ac_func (); below.
99171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99172     <limits.h> exists even on freestanding compilers.  */
99173
99174 #ifdef __STDC__
99175 # include <limits.h>
99176 #else
99177 # include <assert.h>
99178 #endif
99179
99180 #undef $ac_func
99181
99182 /* Override any gcc2 internal prototype to avoid an error.  */
99183 #ifdef __cplusplus
99184 extern "C"
99185 {
99186 #endif
99187 /* We use char because int might match the return type of a gcc2
99188    builtin and then its argument prototype would still apply.  */
99189 char $ac_func ();
99190 /* The GNU C library defines this for functions which it implements
99191     to always fail with ENOSYS.  Some functions are actually named
99192     something starting with __ and the normal name is an alias.  */
99193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99194 choke me
99195 #else
99196 char (*f) () = $ac_func;
99197 #endif
99198 #ifdef __cplusplus
99199 }
99200 #endif
99201
99202 int
99203 main ()
99204 {
99205 return f != $ac_func;
99206   ;
99207   return 0;
99208 }
99209 _ACEOF
99210 rm -f conftest.$ac_objext conftest$ac_exeext
99211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99212   (eval $ac_link) 2>conftest.er1
99213   ac_status=$?
99214   grep -v '^ *+' conftest.er1 >conftest.err
99215   rm -f conftest.er1
99216   cat conftest.err >&5
99217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99218   (exit $ac_status); } &&
99219          { ac_try='test -z "$ac_c_werror_flag"
99220                          || test ! -s conftest.err'
99221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99222   (eval $ac_try) 2>&5
99223   ac_status=$?
99224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99225   (exit $ac_status); }; } &&
99226          { ac_try='test -s conftest$ac_exeext'
99227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99228   (eval $ac_try) 2>&5
99229   ac_status=$?
99230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99231   (exit $ac_status); }; }; then
99232   eval "$as_ac_var=yes"
99233 else
99234   echo "$as_me: failed program was:" >&5
99235 sed 's/^/| /' conftest.$ac_ext >&5
99236
99237 eval "$as_ac_var=no"
99238 fi
99239 rm -f conftest.err conftest.$ac_objext \
99240       conftest$ac_exeext conftest.$ac_ext
99241 fi
99242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99244 if test `eval echo '${'$as_ac_var'}'` = yes; then
99245   cat >>confdefs.h <<_ACEOF
99246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99247 _ACEOF
99248
99249 fi
99250 done
99251
99252   else
99253     echo "$as_me:$LINENO: checking for _long double round functions" >&5
99254 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
99255     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
99256   echo $ECHO_N "(cached) $ECHO_C" >&6
99257 else
99258
99259
99260
99261       ac_ext=cc
99262 ac_cpp='$CXXCPP $CPPFLAGS'
99263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99266
99267       cat >conftest.$ac_ext <<_ACEOF
99268 /* confdefs.h.  */
99269 _ACEOF
99270 cat confdefs.h >>conftest.$ac_ext
99271 cat >>conftest.$ac_ext <<_ACEOF
99272 /* end confdefs.h.  */
99273 #include <math.h>
99274 int
99275 main ()
99276 {
99277 _ceill (0); _floorl (0);
99278   ;
99279   return 0;
99280 }
99281 _ACEOF
99282 rm -f conftest.$ac_objext
99283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99284   (eval $ac_compile) 2>conftest.er1
99285   ac_status=$?
99286   grep -v '^ *+' conftest.er1 >conftest.err
99287   rm -f conftest.er1
99288   cat conftest.err >&5
99289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99290   (exit $ac_status); } &&
99291          { ac_try='test -z "$ac_cxx_werror_flag"
99292                          || test ! -s conftest.err'
99293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99294   (eval $ac_try) 2>&5
99295   ac_status=$?
99296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99297   (exit $ac_status); }; } &&
99298          { ac_try='test -s conftest.$ac_objext'
99299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99300   (eval $ac_try) 2>&5
99301   ac_status=$?
99302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99303   (exit $ac_status); }; }; then
99304   glibcxx_cv_func__long_double_round_use=yes
99305 else
99306   echo "$as_me: failed program was:" >&5
99307 sed 's/^/| /' conftest.$ac_ext >&5
99308
99309 glibcxx_cv_func__long_double_round_use=no
99310 fi
99311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99312       ac_ext=c
99313 ac_cpp='$CPP $CPPFLAGS'
99314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99317
99318 fi
99319
99320     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
99321 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
99322     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
99323
99324
99325 for ac_func in _ceill _floorl
99326 do
99327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99328 echo "$as_me:$LINENO: checking for $ac_func" >&5
99329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99330 if eval "test \"\${$as_ac_var+set}\" = set"; then
99331   echo $ECHO_N "(cached) $ECHO_C" >&6
99332 else
99333   if test x$gcc_no_link = xyes; then
99334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99336    { (exit 1); exit 1; }; }
99337 fi
99338 cat >conftest.$ac_ext <<_ACEOF
99339 /* confdefs.h.  */
99340 _ACEOF
99341 cat confdefs.h >>conftest.$ac_ext
99342 cat >>conftest.$ac_ext <<_ACEOF
99343 /* end confdefs.h.  */
99344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99346 #define $ac_func innocuous_$ac_func
99347
99348 /* System header to define __stub macros and hopefully few prototypes,
99349     which can conflict with char $ac_func (); below.
99350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99351     <limits.h> exists even on freestanding compilers.  */
99352
99353 #ifdef __STDC__
99354 # include <limits.h>
99355 #else
99356 # include <assert.h>
99357 #endif
99358
99359 #undef $ac_func
99360
99361 /* Override any gcc2 internal prototype to avoid an error.  */
99362 #ifdef __cplusplus
99363 extern "C"
99364 {
99365 #endif
99366 /* We use char because int might match the return type of a gcc2
99367    builtin and then its argument prototype would still apply.  */
99368 char $ac_func ();
99369 /* The GNU C library defines this for functions which it implements
99370     to always fail with ENOSYS.  Some functions are actually named
99371     something starting with __ and the normal name is an alias.  */
99372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99373 choke me
99374 #else
99375 char (*f) () = $ac_func;
99376 #endif
99377 #ifdef __cplusplus
99378 }
99379 #endif
99380
99381 int
99382 main ()
99383 {
99384 return f != $ac_func;
99385   ;
99386   return 0;
99387 }
99388 _ACEOF
99389 rm -f conftest.$ac_objext conftest$ac_exeext
99390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99391   (eval $ac_link) 2>conftest.er1
99392   ac_status=$?
99393   grep -v '^ *+' conftest.er1 >conftest.err
99394   rm -f conftest.er1
99395   cat conftest.err >&5
99396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99397   (exit $ac_status); } &&
99398          { ac_try='test -z "$ac_c_werror_flag"
99399                          || test ! -s conftest.err'
99400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99401   (eval $ac_try) 2>&5
99402   ac_status=$?
99403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99404   (exit $ac_status); }; } &&
99405          { ac_try='test -s conftest$ac_exeext'
99406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99407   (eval $ac_try) 2>&5
99408   ac_status=$?
99409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99410   (exit $ac_status); }; }; then
99411   eval "$as_ac_var=yes"
99412 else
99413   echo "$as_me: failed program was:" >&5
99414 sed 's/^/| /' conftest.$ac_ext >&5
99415
99416 eval "$as_ac_var=no"
99417 fi
99418 rm -f conftest.err conftest.$ac_objext \
99419       conftest$ac_exeext conftest.$ac_ext
99420 fi
99421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99423 if test `eval echo '${'$as_ac_var'}'` = yes; then
99424   cat >>confdefs.h <<_ACEOF
99425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99426 _ACEOF
99427
99428 fi
99429 done
99430
99431     fi
99432   fi
99433
99434
99435
99436
99437
99438
99439
99440
99441   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
99442 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
99443   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
99444     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
99445   echo $ECHO_N "(cached) $ECHO_C" >&6
99446 else
99447
99448
99449
99450       ac_ext=cc
99451 ac_cpp='$CXXCPP $CPPFLAGS'
99452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99455
99456       cat >conftest.$ac_ext <<_ACEOF
99457 /* confdefs.h.  */
99458 _ACEOF
99459 cat confdefs.h >>conftest.$ac_ext
99460 cat >>conftest.$ac_ext <<_ACEOF
99461 /* end confdefs.h.  */
99462 #include <math.h>
99463                       #ifdef HAVE_IEEEFP_H
99464                       #include <ieeefp.h>
99465                       #endif
99466
99467 int
99468 main ()
99469 {
99470  isnanl(0);
99471   ;
99472   return 0;
99473 }
99474 _ACEOF
99475 rm -f conftest.$ac_objext
99476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99477   (eval $ac_compile) 2>conftest.er1
99478   ac_status=$?
99479   grep -v '^ *+' conftest.er1 >conftest.err
99480   rm -f conftest.er1
99481   cat conftest.err >&5
99482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99483   (exit $ac_status); } &&
99484          { ac_try='test -z "$ac_cxx_werror_flag"
99485                          || test ! -s conftest.err'
99486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99487   (eval $ac_try) 2>&5
99488   ac_status=$?
99489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99490   (exit $ac_status); }; } &&
99491          { ac_try='test -s conftest.$ac_objext'
99492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99493   (eval $ac_try) 2>&5
99494   ac_status=$?
99495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99496   (exit $ac_status); }; }; then
99497   glibcxx_cv_func_isnanl_use=yes
99498 else
99499   echo "$as_me: failed program was:" >&5
99500 sed 's/^/| /' conftest.$ac_ext >&5
99501
99502 glibcxx_cv_func_isnanl_use=no
99503 fi
99504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99505       ac_ext=c
99506 ac_cpp='$CPP $CPPFLAGS'
99507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99510
99511
99512 fi
99513
99514   fi
99515   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
99516 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
99517
99518   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
99519
99520 for ac_func in isnanl
99521 do
99522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99523 echo "$as_me:$LINENO: checking for $ac_func" >&5
99524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99525 if eval "test \"\${$as_ac_var+set}\" = set"; then
99526   echo $ECHO_N "(cached) $ECHO_C" >&6
99527 else
99528   if test x$gcc_no_link = xyes; then
99529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99531    { (exit 1); exit 1; }; }
99532 fi
99533 cat >conftest.$ac_ext <<_ACEOF
99534 /* confdefs.h.  */
99535 _ACEOF
99536 cat confdefs.h >>conftest.$ac_ext
99537 cat >>conftest.$ac_ext <<_ACEOF
99538 /* end confdefs.h.  */
99539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99541 #define $ac_func innocuous_$ac_func
99542
99543 /* System header to define __stub macros and hopefully few prototypes,
99544     which can conflict with char $ac_func (); below.
99545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99546     <limits.h> exists even on freestanding compilers.  */
99547
99548 #ifdef __STDC__
99549 # include <limits.h>
99550 #else
99551 # include <assert.h>
99552 #endif
99553
99554 #undef $ac_func
99555
99556 /* Override any gcc2 internal prototype to avoid an error.  */
99557 #ifdef __cplusplus
99558 extern "C"
99559 {
99560 #endif
99561 /* We use char because int might match the return type of a gcc2
99562    builtin and then its argument prototype would still apply.  */
99563 char $ac_func ();
99564 /* The GNU C library defines this for functions which it implements
99565     to always fail with ENOSYS.  Some functions are actually named
99566     something starting with __ and the normal name is an alias.  */
99567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99568 choke me
99569 #else
99570 char (*f) () = $ac_func;
99571 #endif
99572 #ifdef __cplusplus
99573 }
99574 #endif
99575
99576 int
99577 main ()
99578 {
99579 return f != $ac_func;
99580   ;
99581   return 0;
99582 }
99583 _ACEOF
99584 rm -f conftest.$ac_objext conftest$ac_exeext
99585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99586   (eval $ac_link) 2>conftest.er1
99587   ac_status=$?
99588   grep -v '^ *+' conftest.er1 >conftest.err
99589   rm -f conftest.er1
99590   cat conftest.err >&5
99591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99592   (exit $ac_status); } &&
99593          { ac_try='test -z "$ac_c_werror_flag"
99594                          || test ! -s conftest.err'
99595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99596   (eval $ac_try) 2>&5
99597   ac_status=$?
99598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99599   (exit $ac_status); }; } &&
99600          { ac_try='test -s conftest$ac_exeext'
99601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99602   (eval $ac_try) 2>&5
99603   ac_status=$?
99604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99605   (exit $ac_status); }; }; then
99606   eval "$as_ac_var=yes"
99607 else
99608   echo "$as_me: failed program was:" >&5
99609 sed 's/^/| /' conftest.$ac_ext >&5
99610
99611 eval "$as_ac_var=no"
99612 fi
99613 rm -f conftest.err conftest.$ac_objext \
99614       conftest$ac_exeext conftest.$ac_ext
99615 fi
99616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99618 if test `eval echo '${'$as_ac_var'}'` = yes; then
99619   cat >>confdefs.h <<_ACEOF
99620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99621 _ACEOF
99622
99623 fi
99624 done
99625
99626   else
99627
99628   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99629 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99630   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99631     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99632   echo $ECHO_N "(cached) $ECHO_C" >&6
99633 else
99634
99635
99636
99637       ac_ext=cc
99638 ac_cpp='$CXXCPP $CPPFLAGS'
99639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99642
99643       cat >conftest.$ac_ext <<_ACEOF
99644 /* confdefs.h.  */
99645 _ACEOF
99646 cat confdefs.h >>conftest.$ac_ext
99647 cat >>conftest.$ac_ext <<_ACEOF
99648 /* end confdefs.h.  */
99649 #include <math.h>
99650                       #ifdef HAVE_IEEEFP_H
99651                       #include <ieeefp.h>
99652                       #endif
99653
99654 int
99655 main ()
99656 {
99657  _isnanl(0);
99658   ;
99659   return 0;
99660 }
99661 _ACEOF
99662 rm -f conftest.$ac_objext
99663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99664   (eval $ac_compile) 2>conftest.er1
99665   ac_status=$?
99666   grep -v '^ *+' conftest.er1 >conftest.err
99667   rm -f conftest.er1
99668   cat conftest.err >&5
99669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99670   (exit $ac_status); } &&
99671          { ac_try='test -z "$ac_cxx_werror_flag"
99672                          || test ! -s conftest.err'
99673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99674   (eval $ac_try) 2>&5
99675   ac_status=$?
99676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99677   (exit $ac_status); }; } &&
99678          { ac_try='test -s conftest.$ac_objext'
99679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99680   (eval $ac_try) 2>&5
99681   ac_status=$?
99682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99683   (exit $ac_status); }; }; then
99684   glibcxx_cv_func__isnanl_use=yes
99685 else
99686   echo "$as_me: failed program was:" >&5
99687 sed 's/^/| /' conftest.$ac_ext >&5
99688
99689 glibcxx_cv_func__isnanl_use=no
99690 fi
99691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99692       ac_ext=c
99693 ac_cpp='$CPP $CPPFLAGS'
99694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99697
99698
99699 fi
99700
99701   fi
99702   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99703 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99704
99705     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99706
99707 for ac_func in _isnanl
99708 do
99709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99710 echo "$as_me:$LINENO: checking for $ac_func" >&5
99711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99712 if eval "test \"\${$as_ac_var+set}\" = set"; then
99713   echo $ECHO_N "(cached) $ECHO_C" >&6
99714 else
99715   if test x$gcc_no_link = xyes; then
99716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99718    { (exit 1); exit 1; }; }
99719 fi
99720 cat >conftest.$ac_ext <<_ACEOF
99721 /* confdefs.h.  */
99722 _ACEOF
99723 cat confdefs.h >>conftest.$ac_ext
99724 cat >>conftest.$ac_ext <<_ACEOF
99725 /* end confdefs.h.  */
99726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99728 #define $ac_func innocuous_$ac_func
99729
99730 /* System header to define __stub macros and hopefully few prototypes,
99731     which can conflict with char $ac_func (); below.
99732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99733     <limits.h> exists even on freestanding compilers.  */
99734
99735 #ifdef __STDC__
99736 # include <limits.h>
99737 #else
99738 # include <assert.h>
99739 #endif
99740
99741 #undef $ac_func
99742
99743 /* Override any gcc2 internal prototype to avoid an error.  */
99744 #ifdef __cplusplus
99745 extern "C"
99746 {
99747 #endif
99748 /* We use char because int might match the return type of a gcc2
99749    builtin and then its argument prototype would still apply.  */
99750 char $ac_func ();
99751 /* The GNU C library defines this for functions which it implements
99752     to always fail with ENOSYS.  Some functions are actually named
99753     something starting with __ and the normal name is an alias.  */
99754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99755 choke me
99756 #else
99757 char (*f) () = $ac_func;
99758 #endif
99759 #ifdef __cplusplus
99760 }
99761 #endif
99762
99763 int
99764 main ()
99765 {
99766 return f != $ac_func;
99767   ;
99768   return 0;
99769 }
99770 _ACEOF
99771 rm -f conftest.$ac_objext conftest$ac_exeext
99772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99773   (eval $ac_link) 2>conftest.er1
99774   ac_status=$?
99775   grep -v '^ *+' conftest.er1 >conftest.err
99776   rm -f conftest.er1
99777   cat conftest.err >&5
99778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99779   (exit $ac_status); } &&
99780          { ac_try='test -z "$ac_c_werror_flag"
99781                          || test ! -s conftest.err'
99782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99783   (eval $ac_try) 2>&5
99784   ac_status=$?
99785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99786   (exit $ac_status); }; } &&
99787          { ac_try='test -s conftest$ac_exeext'
99788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99789   (eval $ac_try) 2>&5
99790   ac_status=$?
99791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99792   (exit $ac_status); }; }; then
99793   eval "$as_ac_var=yes"
99794 else
99795   echo "$as_me: failed program was:" >&5
99796 sed 's/^/| /' conftest.$ac_ext >&5
99797
99798 eval "$as_ac_var=no"
99799 fi
99800 rm -f conftest.err conftest.$ac_objext \
99801       conftest$ac_exeext conftest.$ac_ext
99802 fi
99803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99805 if test `eval echo '${'$as_ac_var'}'` = yes; then
99806   cat >>confdefs.h <<_ACEOF
99807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99808 _ACEOF
99809
99810 fi
99811 done
99812
99813     fi
99814   fi
99815
99816
99817
99818
99819
99820
99821   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99822 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99823   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99824     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99825   echo $ECHO_N "(cached) $ECHO_C" >&6
99826 else
99827
99828
99829
99830       ac_ext=cc
99831 ac_cpp='$CXXCPP $CPPFLAGS'
99832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99835
99836       cat >conftest.$ac_ext <<_ACEOF
99837 /* confdefs.h.  */
99838 _ACEOF
99839 cat confdefs.h >>conftest.$ac_ext
99840 cat >>conftest.$ac_ext <<_ACEOF
99841 /* end confdefs.h.  */
99842 #include <math.h>
99843                       #ifdef HAVE_IEEEFP_H
99844                       #include <ieeefp.h>
99845                       #endif
99846
99847 int
99848 main ()
99849 {
99850  isinfl(0);
99851   ;
99852   return 0;
99853 }
99854 _ACEOF
99855 rm -f conftest.$ac_objext
99856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99857   (eval $ac_compile) 2>conftest.er1
99858   ac_status=$?
99859   grep -v '^ *+' conftest.er1 >conftest.err
99860   rm -f conftest.er1
99861   cat conftest.err >&5
99862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99863   (exit $ac_status); } &&
99864          { ac_try='test -z "$ac_cxx_werror_flag"
99865                          || test ! -s conftest.err'
99866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99867   (eval $ac_try) 2>&5
99868   ac_status=$?
99869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99870   (exit $ac_status); }; } &&
99871          { ac_try='test -s conftest.$ac_objext'
99872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99873   (eval $ac_try) 2>&5
99874   ac_status=$?
99875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99876   (exit $ac_status); }; }; then
99877   glibcxx_cv_func_isinfl_use=yes
99878 else
99879   echo "$as_me: failed program was:" >&5
99880 sed 's/^/| /' conftest.$ac_ext >&5
99881
99882 glibcxx_cv_func_isinfl_use=no
99883 fi
99884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99885       ac_ext=c
99886 ac_cpp='$CPP $CPPFLAGS'
99887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99890
99891
99892 fi
99893
99894   fi
99895   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99896 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99897
99898   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99899
99900 for ac_func in isinfl
99901 do
99902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99903 echo "$as_me:$LINENO: checking for $ac_func" >&5
99904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99905 if eval "test \"\${$as_ac_var+set}\" = set"; then
99906   echo $ECHO_N "(cached) $ECHO_C" >&6
99907 else
99908   if test x$gcc_no_link = xyes; then
99909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99911    { (exit 1); exit 1; }; }
99912 fi
99913 cat >conftest.$ac_ext <<_ACEOF
99914 /* confdefs.h.  */
99915 _ACEOF
99916 cat confdefs.h >>conftest.$ac_ext
99917 cat >>conftest.$ac_ext <<_ACEOF
99918 /* end confdefs.h.  */
99919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99921 #define $ac_func innocuous_$ac_func
99922
99923 /* System header to define __stub macros and hopefully few prototypes,
99924     which can conflict with char $ac_func (); below.
99925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99926     <limits.h> exists even on freestanding compilers.  */
99927
99928 #ifdef __STDC__
99929 # include <limits.h>
99930 #else
99931 # include <assert.h>
99932 #endif
99933
99934 #undef $ac_func
99935
99936 /* Override any gcc2 internal prototype to avoid an error.  */
99937 #ifdef __cplusplus
99938 extern "C"
99939 {
99940 #endif
99941 /* We use char because int might match the return type of a gcc2
99942    builtin and then its argument prototype would still apply.  */
99943 char $ac_func ();
99944 /* The GNU C library defines this for functions which it implements
99945     to always fail with ENOSYS.  Some functions are actually named
99946     something starting with __ and the normal name is an alias.  */
99947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99948 choke me
99949 #else
99950 char (*f) () = $ac_func;
99951 #endif
99952 #ifdef __cplusplus
99953 }
99954 #endif
99955
99956 int
99957 main ()
99958 {
99959 return f != $ac_func;
99960   ;
99961   return 0;
99962 }
99963 _ACEOF
99964 rm -f conftest.$ac_objext conftest$ac_exeext
99965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99966   (eval $ac_link) 2>conftest.er1
99967   ac_status=$?
99968   grep -v '^ *+' conftest.er1 >conftest.err
99969   rm -f conftest.er1
99970   cat conftest.err >&5
99971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99972   (exit $ac_status); } &&
99973          { ac_try='test -z "$ac_c_werror_flag"
99974                          || test ! -s conftest.err'
99975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99976   (eval $ac_try) 2>&5
99977   ac_status=$?
99978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99979   (exit $ac_status); }; } &&
99980          { ac_try='test -s conftest$ac_exeext'
99981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99982   (eval $ac_try) 2>&5
99983   ac_status=$?
99984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99985   (exit $ac_status); }; }; then
99986   eval "$as_ac_var=yes"
99987 else
99988   echo "$as_me: failed program was:" >&5
99989 sed 's/^/| /' conftest.$ac_ext >&5
99990
99991 eval "$as_ac_var=no"
99992 fi
99993 rm -f conftest.err conftest.$ac_objext \
99994       conftest$ac_exeext conftest.$ac_ext
99995 fi
99996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99998 if test `eval echo '${'$as_ac_var'}'` = yes; then
99999   cat >>confdefs.h <<_ACEOF
100000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100001 _ACEOF
100002
100003 fi
100004 done
100005
100006   else
100007
100008   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
100009 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
100010   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
100011     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
100012   echo $ECHO_N "(cached) $ECHO_C" >&6
100013 else
100014
100015
100016
100017       ac_ext=cc
100018 ac_cpp='$CXXCPP $CPPFLAGS'
100019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100022
100023       cat >conftest.$ac_ext <<_ACEOF
100024 /* confdefs.h.  */
100025 _ACEOF
100026 cat confdefs.h >>conftest.$ac_ext
100027 cat >>conftest.$ac_ext <<_ACEOF
100028 /* end confdefs.h.  */
100029 #include <math.h>
100030                       #ifdef HAVE_IEEEFP_H
100031                       #include <ieeefp.h>
100032                       #endif
100033
100034 int
100035 main ()
100036 {
100037  _isinfl(0);
100038   ;
100039   return 0;
100040 }
100041 _ACEOF
100042 rm -f conftest.$ac_objext
100043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100044   (eval $ac_compile) 2>conftest.er1
100045   ac_status=$?
100046   grep -v '^ *+' conftest.er1 >conftest.err
100047   rm -f conftest.er1
100048   cat conftest.err >&5
100049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100050   (exit $ac_status); } &&
100051          { ac_try='test -z "$ac_cxx_werror_flag"
100052                          || test ! -s conftest.err'
100053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100054   (eval $ac_try) 2>&5
100055   ac_status=$?
100056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100057   (exit $ac_status); }; } &&
100058          { ac_try='test -s conftest.$ac_objext'
100059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100060   (eval $ac_try) 2>&5
100061   ac_status=$?
100062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100063   (exit $ac_status); }; }; then
100064   glibcxx_cv_func__isinfl_use=yes
100065 else
100066   echo "$as_me: failed program was:" >&5
100067 sed 's/^/| /' conftest.$ac_ext >&5
100068
100069 glibcxx_cv_func__isinfl_use=no
100070 fi
100071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100072       ac_ext=c
100073 ac_cpp='$CPP $CPPFLAGS'
100074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100077
100078
100079 fi
100080
100081   fi
100082   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
100083 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
100084
100085     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
100086
100087 for ac_func in _isinfl
100088 do
100089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100090 echo "$as_me:$LINENO: checking for $ac_func" >&5
100091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100092 if eval "test \"\${$as_ac_var+set}\" = set"; then
100093   echo $ECHO_N "(cached) $ECHO_C" >&6
100094 else
100095   if test x$gcc_no_link = xyes; then
100096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100098    { (exit 1); exit 1; }; }
100099 fi
100100 cat >conftest.$ac_ext <<_ACEOF
100101 /* confdefs.h.  */
100102 _ACEOF
100103 cat confdefs.h >>conftest.$ac_ext
100104 cat >>conftest.$ac_ext <<_ACEOF
100105 /* end confdefs.h.  */
100106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100108 #define $ac_func innocuous_$ac_func
100109
100110 /* System header to define __stub macros and hopefully few prototypes,
100111     which can conflict with char $ac_func (); below.
100112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100113     <limits.h> exists even on freestanding compilers.  */
100114
100115 #ifdef __STDC__
100116 # include <limits.h>
100117 #else
100118 # include <assert.h>
100119 #endif
100120
100121 #undef $ac_func
100122
100123 /* Override any gcc2 internal prototype to avoid an error.  */
100124 #ifdef __cplusplus
100125 extern "C"
100126 {
100127 #endif
100128 /* We use char because int might match the return type of a gcc2
100129    builtin and then its argument prototype would still apply.  */
100130 char $ac_func ();
100131 /* The GNU C library defines this for functions which it implements
100132     to always fail with ENOSYS.  Some functions are actually named
100133     something starting with __ and the normal name is an alias.  */
100134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100135 choke me
100136 #else
100137 char (*f) () = $ac_func;
100138 #endif
100139 #ifdef __cplusplus
100140 }
100141 #endif
100142
100143 int
100144 main ()
100145 {
100146 return f != $ac_func;
100147   ;
100148   return 0;
100149 }
100150 _ACEOF
100151 rm -f conftest.$ac_objext conftest$ac_exeext
100152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100153   (eval $ac_link) 2>conftest.er1
100154   ac_status=$?
100155   grep -v '^ *+' conftest.er1 >conftest.err
100156   rm -f conftest.er1
100157   cat conftest.err >&5
100158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100159   (exit $ac_status); } &&
100160          { ac_try='test -z "$ac_c_werror_flag"
100161                          || test ! -s conftest.err'
100162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100163   (eval $ac_try) 2>&5
100164   ac_status=$?
100165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100166   (exit $ac_status); }; } &&
100167          { ac_try='test -s conftest$ac_exeext'
100168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100169   (eval $ac_try) 2>&5
100170   ac_status=$?
100171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100172   (exit $ac_status); }; }; then
100173   eval "$as_ac_var=yes"
100174 else
100175   echo "$as_me: failed program was:" >&5
100176 sed 's/^/| /' conftest.$ac_ext >&5
100177
100178 eval "$as_ac_var=no"
100179 fi
100180 rm -f conftest.err conftest.$ac_objext \
100181       conftest$ac_exeext conftest.$ac_ext
100182 fi
100183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100185 if test `eval echo '${'$as_ac_var'}'` = yes; then
100186   cat >>confdefs.h <<_ACEOF
100187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100188 _ACEOF
100189
100190 fi
100191 done
100192
100193     fi
100194   fi
100195
100196
100197
100198
100199
100200
100201   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
100202 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
100203   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
100204     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
100205   echo $ECHO_N "(cached) $ECHO_C" >&6
100206 else
100207
100208
100209
100210       ac_ext=cc
100211 ac_cpp='$CXXCPP $CPPFLAGS'
100212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100215
100216       cat >conftest.$ac_ext <<_ACEOF
100217 /* confdefs.h.  */
100218 _ACEOF
100219 cat confdefs.h >>conftest.$ac_ext
100220 cat >>conftest.$ac_ext <<_ACEOF
100221 /* end confdefs.h.  */
100222 #include <math.h>
100223 int
100224 main ()
100225 {
100226  copysignl(0, 0);
100227   ;
100228   return 0;
100229 }
100230 _ACEOF
100231 rm -f conftest.$ac_objext
100232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100233   (eval $ac_compile) 2>conftest.er1
100234   ac_status=$?
100235   grep -v '^ *+' conftest.er1 >conftest.err
100236   rm -f conftest.er1
100237   cat conftest.err >&5
100238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100239   (exit $ac_status); } &&
100240          { ac_try='test -z "$ac_cxx_werror_flag"
100241                          || test ! -s conftest.err'
100242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100243   (eval $ac_try) 2>&5
100244   ac_status=$?
100245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100246   (exit $ac_status); }; } &&
100247          { ac_try='test -s conftest.$ac_objext'
100248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100249   (eval $ac_try) 2>&5
100250   ac_status=$?
100251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100252   (exit $ac_status); }; }; then
100253   glibcxx_cv_func_copysignl_use=yes
100254 else
100255   echo "$as_me: failed program was:" >&5
100256 sed 's/^/| /' conftest.$ac_ext >&5
100257
100258 glibcxx_cv_func_copysignl_use=no
100259 fi
100260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100261       ac_ext=c
100262 ac_cpp='$CPP $CPPFLAGS'
100263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100266
100267
100268 fi
100269
100270   fi
100271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
100272 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
100273
100274   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
100275
100276 for ac_func in copysignl
100277 do
100278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100279 echo "$as_me:$LINENO: checking for $ac_func" >&5
100280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100281 if eval "test \"\${$as_ac_var+set}\" = set"; then
100282   echo $ECHO_N "(cached) $ECHO_C" >&6
100283 else
100284   if test x$gcc_no_link = xyes; then
100285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100287    { (exit 1); exit 1; }; }
100288 fi
100289 cat >conftest.$ac_ext <<_ACEOF
100290 /* confdefs.h.  */
100291 _ACEOF
100292 cat confdefs.h >>conftest.$ac_ext
100293 cat >>conftest.$ac_ext <<_ACEOF
100294 /* end confdefs.h.  */
100295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100297 #define $ac_func innocuous_$ac_func
100298
100299 /* System header to define __stub macros and hopefully few prototypes,
100300     which can conflict with char $ac_func (); below.
100301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100302     <limits.h> exists even on freestanding compilers.  */
100303
100304 #ifdef __STDC__
100305 # include <limits.h>
100306 #else
100307 # include <assert.h>
100308 #endif
100309
100310 #undef $ac_func
100311
100312 /* Override any gcc2 internal prototype to avoid an error.  */
100313 #ifdef __cplusplus
100314 extern "C"
100315 {
100316 #endif
100317 /* We use char because int might match the return type of a gcc2
100318    builtin and then its argument prototype would still apply.  */
100319 char $ac_func ();
100320 /* The GNU C library defines this for functions which it implements
100321     to always fail with ENOSYS.  Some functions are actually named
100322     something starting with __ and the normal name is an alias.  */
100323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100324 choke me
100325 #else
100326 char (*f) () = $ac_func;
100327 #endif
100328 #ifdef __cplusplus
100329 }
100330 #endif
100331
100332 int
100333 main ()
100334 {
100335 return f != $ac_func;
100336   ;
100337   return 0;
100338 }
100339 _ACEOF
100340 rm -f conftest.$ac_objext conftest$ac_exeext
100341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100342   (eval $ac_link) 2>conftest.er1
100343   ac_status=$?
100344   grep -v '^ *+' conftest.er1 >conftest.err
100345   rm -f conftest.er1
100346   cat conftest.err >&5
100347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100348   (exit $ac_status); } &&
100349          { ac_try='test -z "$ac_c_werror_flag"
100350                          || test ! -s conftest.err'
100351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100352   (eval $ac_try) 2>&5
100353   ac_status=$?
100354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100355   (exit $ac_status); }; } &&
100356          { ac_try='test -s conftest$ac_exeext'
100357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100358   (eval $ac_try) 2>&5
100359   ac_status=$?
100360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100361   (exit $ac_status); }; }; then
100362   eval "$as_ac_var=yes"
100363 else
100364   echo "$as_me: failed program was:" >&5
100365 sed 's/^/| /' conftest.$ac_ext >&5
100366
100367 eval "$as_ac_var=no"
100368 fi
100369 rm -f conftest.err conftest.$ac_objext \
100370       conftest$ac_exeext conftest.$ac_ext
100371 fi
100372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100374 if test `eval echo '${'$as_ac_var'}'` = yes; then
100375   cat >>confdefs.h <<_ACEOF
100376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100377 _ACEOF
100378
100379 fi
100380 done
100381
100382   else
100383
100384   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
100385 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
100386   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
100387     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
100388   echo $ECHO_N "(cached) $ECHO_C" >&6
100389 else
100390
100391
100392
100393       ac_ext=cc
100394 ac_cpp='$CXXCPP $CPPFLAGS'
100395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100398
100399       cat >conftest.$ac_ext <<_ACEOF
100400 /* confdefs.h.  */
100401 _ACEOF
100402 cat confdefs.h >>conftest.$ac_ext
100403 cat >>conftest.$ac_ext <<_ACEOF
100404 /* end confdefs.h.  */
100405 #include <math.h>
100406 int
100407 main ()
100408 {
100409  _copysignl(0, 0);
100410   ;
100411   return 0;
100412 }
100413 _ACEOF
100414 rm -f conftest.$ac_objext
100415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100416   (eval $ac_compile) 2>conftest.er1
100417   ac_status=$?
100418   grep -v '^ *+' conftest.er1 >conftest.err
100419   rm -f conftest.er1
100420   cat conftest.err >&5
100421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100422   (exit $ac_status); } &&
100423          { ac_try='test -z "$ac_cxx_werror_flag"
100424                          || test ! -s conftest.err'
100425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100426   (eval $ac_try) 2>&5
100427   ac_status=$?
100428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100429   (exit $ac_status); }; } &&
100430          { ac_try='test -s conftest.$ac_objext'
100431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100432   (eval $ac_try) 2>&5
100433   ac_status=$?
100434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100435   (exit $ac_status); }; }; then
100436   glibcxx_cv_func__copysignl_use=yes
100437 else
100438   echo "$as_me: failed program was:" >&5
100439 sed 's/^/| /' conftest.$ac_ext >&5
100440
100441 glibcxx_cv_func__copysignl_use=no
100442 fi
100443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100444       ac_ext=c
100445 ac_cpp='$CPP $CPPFLAGS'
100446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100449
100450
100451 fi
100452
100453   fi
100454   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
100455 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
100456
100457     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
100458
100459 for ac_func in _copysignl
100460 do
100461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100462 echo "$as_me:$LINENO: checking for $ac_func" >&5
100463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100464 if eval "test \"\${$as_ac_var+set}\" = set"; then
100465   echo $ECHO_N "(cached) $ECHO_C" >&6
100466 else
100467   if test x$gcc_no_link = xyes; then
100468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100470    { (exit 1); exit 1; }; }
100471 fi
100472 cat >conftest.$ac_ext <<_ACEOF
100473 /* confdefs.h.  */
100474 _ACEOF
100475 cat confdefs.h >>conftest.$ac_ext
100476 cat >>conftest.$ac_ext <<_ACEOF
100477 /* end confdefs.h.  */
100478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100480 #define $ac_func innocuous_$ac_func
100481
100482 /* System header to define __stub macros and hopefully few prototypes,
100483     which can conflict with char $ac_func (); below.
100484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100485     <limits.h> exists even on freestanding compilers.  */
100486
100487 #ifdef __STDC__
100488 # include <limits.h>
100489 #else
100490 # include <assert.h>
100491 #endif
100492
100493 #undef $ac_func
100494
100495 /* Override any gcc2 internal prototype to avoid an error.  */
100496 #ifdef __cplusplus
100497 extern "C"
100498 {
100499 #endif
100500 /* We use char because int might match the return type of a gcc2
100501    builtin and then its argument prototype would still apply.  */
100502 char $ac_func ();
100503 /* The GNU C library defines this for functions which it implements
100504     to always fail with ENOSYS.  Some functions are actually named
100505     something starting with __ and the normal name is an alias.  */
100506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100507 choke me
100508 #else
100509 char (*f) () = $ac_func;
100510 #endif
100511 #ifdef __cplusplus
100512 }
100513 #endif
100514
100515 int
100516 main ()
100517 {
100518 return f != $ac_func;
100519   ;
100520   return 0;
100521 }
100522 _ACEOF
100523 rm -f conftest.$ac_objext conftest$ac_exeext
100524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100525   (eval $ac_link) 2>conftest.er1
100526   ac_status=$?
100527   grep -v '^ *+' conftest.er1 >conftest.err
100528   rm -f conftest.er1
100529   cat conftest.err >&5
100530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100531   (exit $ac_status); } &&
100532          { ac_try='test -z "$ac_c_werror_flag"
100533                          || test ! -s conftest.err'
100534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100535   (eval $ac_try) 2>&5
100536   ac_status=$?
100537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100538   (exit $ac_status); }; } &&
100539          { ac_try='test -s conftest$ac_exeext'
100540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100541   (eval $ac_try) 2>&5
100542   ac_status=$?
100543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100544   (exit $ac_status); }; }; then
100545   eval "$as_ac_var=yes"
100546 else
100547   echo "$as_me: failed program was:" >&5
100548 sed 's/^/| /' conftest.$ac_ext >&5
100549
100550 eval "$as_ac_var=no"
100551 fi
100552 rm -f conftest.err conftest.$ac_objext \
100553       conftest$ac_exeext conftest.$ac_ext
100554 fi
100555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100557 if test `eval echo '${'$as_ac_var'}'` = yes; then
100558   cat >>confdefs.h <<_ACEOF
100559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100560 _ACEOF
100561
100562 fi
100563 done
100564
100565     fi
100566   fi
100567
100568
100569
100570
100571
100572
100573   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100574 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100575   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100576     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100577   echo $ECHO_N "(cached) $ECHO_C" >&6
100578 else
100579
100580
100581
100582       ac_ext=cc
100583 ac_cpp='$CXXCPP $CPPFLAGS'
100584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100587
100588       cat >conftest.$ac_ext <<_ACEOF
100589 /* confdefs.h.  */
100590 _ACEOF
100591 cat confdefs.h >>conftest.$ac_ext
100592 cat >>conftest.$ac_ext <<_ACEOF
100593 /* end confdefs.h.  */
100594 #include <math.h>
100595 int
100596 main ()
100597 {
100598  atan2l(0, 0);
100599   ;
100600   return 0;
100601 }
100602 _ACEOF
100603 rm -f conftest.$ac_objext
100604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100605   (eval $ac_compile) 2>conftest.er1
100606   ac_status=$?
100607   grep -v '^ *+' conftest.er1 >conftest.err
100608   rm -f conftest.er1
100609   cat conftest.err >&5
100610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100611   (exit $ac_status); } &&
100612          { ac_try='test -z "$ac_cxx_werror_flag"
100613                          || test ! -s conftest.err'
100614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100615   (eval $ac_try) 2>&5
100616   ac_status=$?
100617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100618   (exit $ac_status); }; } &&
100619          { ac_try='test -s conftest.$ac_objext'
100620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100621   (eval $ac_try) 2>&5
100622   ac_status=$?
100623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100624   (exit $ac_status); }; }; then
100625   glibcxx_cv_func_atan2l_use=yes
100626 else
100627   echo "$as_me: failed program was:" >&5
100628 sed 's/^/| /' conftest.$ac_ext >&5
100629
100630 glibcxx_cv_func_atan2l_use=no
100631 fi
100632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100633       ac_ext=c
100634 ac_cpp='$CPP $CPPFLAGS'
100635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100638
100639
100640 fi
100641
100642   fi
100643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100644 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100645
100646   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100647
100648 for ac_func in atan2l
100649 do
100650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100651 echo "$as_me:$LINENO: checking for $ac_func" >&5
100652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100653 if eval "test \"\${$as_ac_var+set}\" = set"; then
100654   echo $ECHO_N "(cached) $ECHO_C" >&6
100655 else
100656   if test x$gcc_no_link = xyes; then
100657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100659    { (exit 1); exit 1; }; }
100660 fi
100661 cat >conftest.$ac_ext <<_ACEOF
100662 /* confdefs.h.  */
100663 _ACEOF
100664 cat confdefs.h >>conftest.$ac_ext
100665 cat >>conftest.$ac_ext <<_ACEOF
100666 /* end confdefs.h.  */
100667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100669 #define $ac_func innocuous_$ac_func
100670
100671 /* System header to define __stub macros and hopefully few prototypes,
100672     which can conflict with char $ac_func (); below.
100673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100674     <limits.h> exists even on freestanding compilers.  */
100675
100676 #ifdef __STDC__
100677 # include <limits.h>
100678 #else
100679 # include <assert.h>
100680 #endif
100681
100682 #undef $ac_func
100683
100684 /* Override any gcc2 internal prototype to avoid an error.  */
100685 #ifdef __cplusplus
100686 extern "C"
100687 {
100688 #endif
100689 /* We use char because int might match the return type of a gcc2
100690    builtin and then its argument prototype would still apply.  */
100691 char $ac_func ();
100692 /* The GNU C library defines this for functions which it implements
100693     to always fail with ENOSYS.  Some functions are actually named
100694     something starting with __ and the normal name is an alias.  */
100695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100696 choke me
100697 #else
100698 char (*f) () = $ac_func;
100699 #endif
100700 #ifdef __cplusplus
100701 }
100702 #endif
100703
100704 int
100705 main ()
100706 {
100707 return f != $ac_func;
100708   ;
100709   return 0;
100710 }
100711 _ACEOF
100712 rm -f conftest.$ac_objext conftest$ac_exeext
100713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100714   (eval $ac_link) 2>conftest.er1
100715   ac_status=$?
100716   grep -v '^ *+' conftest.er1 >conftest.err
100717   rm -f conftest.er1
100718   cat conftest.err >&5
100719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100720   (exit $ac_status); } &&
100721          { ac_try='test -z "$ac_c_werror_flag"
100722                          || test ! -s conftest.err'
100723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100724   (eval $ac_try) 2>&5
100725   ac_status=$?
100726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100727   (exit $ac_status); }; } &&
100728          { ac_try='test -s conftest$ac_exeext'
100729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100730   (eval $ac_try) 2>&5
100731   ac_status=$?
100732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100733   (exit $ac_status); }; }; then
100734   eval "$as_ac_var=yes"
100735 else
100736   echo "$as_me: failed program was:" >&5
100737 sed 's/^/| /' conftest.$ac_ext >&5
100738
100739 eval "$as_ac_var=no"
100740 fi
100741 rm -f conftest.err conftest.$ac_objext \
100742       conftest$ac_exeext conftest.$ac_ext
100743 fi
100744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100746 if test `eval echo '${'$as_ac_var'}'` = yes; then
100747   cat >>confdefs.h <<_ACEOF
100748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100749 _ACEOF
100750
100751 fi
100752 done
100753
100754   else
100755
100756   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100757 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100758   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100759     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100760   echo $ECHO_N "(cached) $ECHO_C" >&6
100761 else
100762
100763
100764
100765       ac_ext=cc
100766 ac_cpp='$CXXCPP $CPPFLAGS'
100767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100770
100771       cat >conftest.$ac_ext <<_ACEOF
100772 /* confdefs.h.  */
100773 _ACEOF
100774 cat confdefs.h >>conftest.$ac_ext
100775 cat >>conftest.$ac_ext <<_ACEOF
100776 /* end confdefs.h.  */
100777 #include <math.h>
100778 int
100779 main ()
100780 {
100781  _atan2l(0, 0);
100782   ;
100783   return 0;
100784 }
100785 _ACEOF
100786 rm -f conftest.$ac_objext
100787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100788   (eval $ac_compile) 2>conftest.er1
100789   ac_status=$?
100790   grep -v '^ *+' conftest.er1 >conftest.err
100791   rm -f conftest.er1
100792   cat conftest.err >&5
100793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100794   (exit $ac_status); } &&
100795          { ac_try='test -z "$ac_cxx_werror_flag"
100796                          || test ! -s conftest.err'
100797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100798   (eval $ac_try) 2>&5
100799   ac_status=$?
100800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100801   (exit $ac_status); }; } &&
100802          { ac_try='test -s conftest.$ac_objext'
100803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100804   (eval $ac_try) 2>&5
100805   ac_status=$?
100806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807   (exit $ac_status); }; }; then
100808   glibcxx_cv_func__atan2l_use=yes
100809 else
100810   echo "$as_me: failed program was:" >&5
100811 sed 's/^/| /' conftest.$ac_ext >&5
100812
100813 glibcxx_cv_func__atan2l_use=no
100814 fi
100815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100816       ac_ext=c
100817 ac_cpp='$CPP $CPPFLAGS'
100818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100821
100822
100823 fi
100824
100825   fi
100826   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100827 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100828
100829     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100830
100831 for ac_func in _atan2l
100832 do
100833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100834 echo "$as_me:$LINENO: checking for $ac_func" >&5
100835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100836 if eval "test \"\${$as_ac_var+set}\" = set"; then
100837   echo $ECHO_N "(cached) $ECHO_C" >&6
100838 else
100839   if test x$gcc_no_link = xyes; then
100840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100842    { (exit 1); exit 1; }; }
100843 fi
100844 cat >conftest.$ac_ext <<_ACEOF
100845 /* confdefs.h.  */
100846 _ACEOF
100847 cat confdefs.h >>conftest.$ac_ext
100848 cat >>conftest.$ac_ext <<_ACEOF
100849 /* end confdefs.h.  */
100850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100852 #define $ac_func innocuous_$ac_func
100853
100854 /* System header to define __stub macros and hopefully few prototypes,
100855     which can conflict with char $ac_func (); below.
100856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100857     <limits.h> exists even on freestanding compilers.  */
100858
100859 #ifdef __STDC__
100860 # include <limits.h>
100861 #else
100862 # include <assert.h>
100863 #endif
100864
100865 #undef $ac_func
100866
100867 /* Override any gcc2 internal prototype to avoid an error.  */
100868 #ifdef __cplusplus
100869 extern "C"
100870 {
100871 #endif
100872 /* We use char because int might match the return type of a gcc2
100873    builtin and then its argument prototype would still apply.  */
100874 char $ac_func ();
100875 /* The GNU C library defines this for functions which it implements
100876     to always fail with ENOSYS.  Some functions are actually named
100877     something starting with __ and the normal name is an alias.  */
100878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100879 choke me
100880 #else
100881 char (*f) () = $ac_func;
100882 #endif
100883 #ifdef __cplusplus
100884 }
100885 #endif
100886
100887 int
100888 main ()
100889 {
100890 return f != $ac_func;
100891   ;
100892   return 0;
100893 }
100894 _ACEOF
100895 rm -f conftest.$ac_objext conftest$ac_exeext
100896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100897   (eval $ac_link) 2>conftest.er1
100898   ac_status=$?
100899   grep -v '^ *+' conftest.er1 >conftest.err
100900   rm -f conftest.er1
100901   cat conftest.err >&5
100902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100903   (exit $ac_status); } &&
100904          { ac_try='test -z "$ac_c_werror_flag"
100905                          || test ! -s conftest.err'
100906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100907   (eval $ac_try) 2>&5
100908   ac_status=$?
100909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100910   (exit $ac_status); }; } &&
100911          { ac_try='test -s conftest$ac_exeext'
100912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100913   (eval $ac_try) 2>&5
100914   ac_status=$?
100915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100916   (exit $ac_status); }; }; then
100917   eval "$as_ac_var=yes"
100918 else
100919   echo "$as_me: failed program was:" >&5
100920 sed 's/^/| /' conftest.$ac_ext >&5
100921
100922 eval "$as_ac_var=no"
100923 fi
100924 rm -f conftest.err conftest.$ac_objext \
100925       conftest$ac_exeext conftest.$ac_ext
100926 fi
100927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100929 if test `eval echo '${'$as_ac_var'}'` = yes; then
100930   cat >>confdefs.h <<_ACEOF
100931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100932 _ACEOF
100933
100934 fi
100935 done
100936
100937     fi
100938   fi
100939
100940
100941
100942
100943
100944
100945   echo "$as_me:$LINENO: checking for expl declaration" >&5
100946 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100947   if test x${glibcxx_cv_func_expl_use+set} != xset; then
100948     if test "${glibcxx_cv_func_expl_use+set}" = set; then
100949   echo $ECHO_N "(cached) $ECHO_C" >&6
100950 else
100951
100952
100953
100954       ac_ext=cc
100955 ac_cpp='$CXXCPP $CPPFLAGS'
100956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100959
100960       cat >conftest.$ac_ext <<_ACEOF
100961 /* confdefs.h.  */
100962 _ACEOF
100963 cat confdefs.h >>conftest.$ac_ext
100964 cat >>conftest.$ac_ext <<_ACEOF
100965 /* end confdefs.h.  */
100966 #include <math.h>
100967                       #ifdef HAVE_IEEEFP_H
100968                       #include <ieeefp.h>
100969                       #endif
100970
100971 int
100972 main ()
100973 {
100974  expl(0);
100975   ;
100976   return 0;
100977 }
100978 _ACEOF
100979 rm -f conftest.$ac_objext
100980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100981   (eval $ac_compile) 2>conftest.er1
100982   ac_status=$?
100983   grep -v '^ *+' conftest.er1 >conftest.err
100984   rm -f conftest.er1
100985   cat conftest.err >&5
100986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100987   (exit $ac_status); } &&
100988          { ac_try='test -z "$ac_cxx_werror_flag"
100989                          || test ! -s conftest.err'
100990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100991   (eval $ac_try) 2>&5
100992   ac_status=$?
100993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100994   (exit $ac_status); }; } &&
100995          { ac_try='test -s conftest.$ac_objext'
100996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100997   (eval $ac_try) 2>&5
100998   ac_status=$?
100999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101000   (exit $ac_status); }; }; then
101001   glibcxx_cv_func_expl_use=yes
101002 else
101003   echo "$as_me: failed program was:" >&5
101004 sed 's/^/| /' conftest.$ac_ext >&5
101005
101006 glibcxx_cv_func_expl_use=no
101007 fi
101008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101009       ac_ext=c
101010 ac_cpp='$CPP $CPPFLAGS'
101011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101014
101015
101016 fi
101017
101018   fi
101019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
101020 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
101021
101022   if test x$glibcxx_cv_func_expl_use = x"yes"; then
101023
101024 for ac_func in expl
101025 do
101026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101027 echo "$as_me:$LINENO: checking for $ac_func" >&5
101028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101029 if eval "test \"\${$as_ac_var+set}\" = set"; then
101030   echo $ECHO_N "(cached) $ECHO_C" >&6
101031 else
101032   if test x$gcc_no_link = xyes; then
101033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101035    { (exit 1); exit 1; }; }
101036 fi
101037 cat >conftest.$ac_ext <<_ACEOF
101038 /* confdefs.h.  */
101039 _ACEOF
101040 cat confdefs.h >>conftest.$ac_ext
101041 cat >>conftest.$ac_ext <<_ACEOF
101042 /* end confdefs.h.  */
101043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101045 #define $ac_func innocuous_$ac_func
101046
101047 /* System header to define __stub macros and hopefully few prototypes,
101048     which can conflict with char $ac_func (); below.
101049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101050     <limits.h> exists even on freestanding compilers.  */
101051
101052 #ifdef __STDC__
101053 # include <limits.h>
101054 #else
101055 # include <assert.h>
101056 #endif
101057
101058 #undef $ac_func
101059
101060 /* Override any gcc2 internal prototype to avoid an error.  */
101061 #ifdef __cplusplus
101062 extern "C"
101063 {
101064 #endif
101065 /* We use char because int might match the return type of a gcc2
101066    builtin and then its argument prototype would still apply.  */
101067 char $ac_func ();
101068 /* The GNU C library defines this for functions which it implements
101069     to always fail with ENOSYS.  Some functions are actually named
101070     something starting with __ and the normal name is an alias.  */
101071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101072 choke me
101073 #else
101074 char (*f) () = $ac_func;
101075 #endif
101076 #ifdef __cplusplus
101077 }
101078 #endif
101079
101080 int
101081 main ()
101082 {
101083 return f != $ac_func;
101084   ;
101085   return 0;
101086 }
101087 _ACEOF
101088 rm -f conftest.$ac_objext conftest$ac_exeext
101089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101090   (eval $ac_link) 2>conftest.er1
101091   ac_status=$?
101092   grep -v '^ *+' conftest.er1 >conftest.err
101093   rm -f conftest.er1
101094   cat conftest.err >&5
101095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101096   (exit $ac_status); } &&
101097          { ac_try='test -z "$ac_c_werror_flag"
101098                          || test ! -s conftest.err'
101099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101100   (eval $ac_try) 2>&5
101101   ac_status=$?
101102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101103   (exit $ac_status); }; } &&
101104          { ac_try='test -s conftest$ac_exeext'
101105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101106   (eval $ac_try) 2>&5
101107   ac_status=$?
101108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101109   (exit $ac_status); }; }; then
101110   eval "$as_ac_var=yes"
101111 else
101112   echo "$as_me: failed program was:" >&5
101113 sed 's/^/| /' conftest.$ac_ext >&5
101114
101115 eval "$as_ac_var=no"
101116 fi
101117 rm -f conftest.err conftest.$ac_objext \
101118       conftest$ac_exeext conftest.$ac_ext
101119 fi
101120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101122 if test `eval echo '${'$as_ac_var'}'` = yes; then
101123   cat >>confdefs.h <<_ACEOF
101124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101125 _ACEOF
101126
101127 fi
101128 done
101129
101130   else
101131
101132   echo "$as_me:$LINENO: checking for _expl declaration" >&5
101133 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
101134   if test x${glibcxx_cv_func__expl_use+set} != xset; then
101135     if test "${glibcxx_cv_func__expl_use+set}" = set; then
101136   echo $ECHO_N "(cached) $ECHO_C" >&6
101137 else
101138
101139
101140
101141       ac_ext=cc
101142 ac_cpp='$CXXCPP $CPPFLAGS'
101143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101146
101147       cat >conftest.$ac_ext <<_ACEOF
101148 /* confdefs.h.  */
101149 _ACEOF
101150 cat confdefs.h >>conftest.$ac_ext
101151 cat >>conftest.$ac_ext <<_ACEOF
101152 /* end confdefs.h.  */
101153 #include <math.h>
101154                       #ifdef HAVE_IEEEFP_H
101155                       #include <ieeefp.h>
101156                       #endif
101157
101158 int
101159 main ()
101160 {
101161  _expl(0);
101162   ;
101163   return 0;
101164 }
101165 _ACEOF
101166 rm -f conftest.$ac_objext
101167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101168   (eval $ac_compile) 2>conftest.er1
101169   ac_status=$?
101170   grep -v '^ *+' conftest.er1 >conftest.err
101171   rm -f conftest.er1
101172   cat conftest.err >&5
101173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101174   (exit $ac_status); } &&
101175          { ac_try='test -z "$ac_cxx_werror_flag"
101176                          || test ! -s conftest.err'
101177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101178   (eval $ac_try) 2>&5
101179   ac_status=$?
101180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101181   (exit $ac_status); }; } &&
101182          { ac_try='test -s conftest.$ac_objext'
101183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101184   (eval $ac_try) 2>&5
101185   ac_status=$?
101186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101187   (exit $ac_status); }; }; then
101188   glibcxx_cv_func__expl_use=yes
101189 else
101190   echo "$as_me: failed program was:" >&5
101191 sed 's/^/| /' conftest.$ac_ext >&5
101192
101193 glibcxx_cv_func__expl_use=no
101194 fi
101195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101196       ac_ext=c
101197 ac_cpp='$CPP $CPPFLAGS'
101198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101201
101202
101203 fi
101204
101205   fi
101206   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
101207 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
101208
101209     if test x$glibcxx_cv_func__expl_use = x"yes"; then
101210
101211 for ac_func in _expl
101212 do
101213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101214 echo "$as_me:$LINENO: checking for $ac_func" >&5
101215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101216 if eval "test \"\${$as_ac_var+set}\" = set"; then
101217   echo $ECHO_N "(cached) $ECHO_C" >&6
101218 else
101219   if test x$gcc_no_link = xyes; then
101220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101222    { (exit 1); exit 1; }; }
101223 fi
101224 cat >conftest.$ac_ext <<_ACEOF
101225 /* confdefs.h.  */
101226 _ACEOF
101227 cat confdefs.h >>conftest.$ac_ext
101228 cat >>conftest.$ac_ext <<_ACEOF
101229 /* end confdefs.h.  */
101230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101232 #define $ac_func innocuous_$ac_func
101233
101234 /* System header to define __stub macros and hopefully few prototypes,
101235     which can conflict with char $ac_func (); below.
101236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101237     <limits.h> exists even on freestanding compilers.  */
101238
101239 #ifdef __STDC__
101240 # include <limits.h>
101241 #else
101242 # include <assert.h>
101243 #endif
101244
101245 #undef $ac_func
101246
101247 /* Override any gcc2 internal prototype to avoid an error.  */
101248 #ifdef __cplusplus
101249 extern "C"
101250 {
101251 #endif
101252 /* We use char because int might match the return type of a gcc2
101253    builtin and then its argument prototype would still apply.  */
101254 char $ac_func ();
101255 /* The GNU C library defines this for functions which it implements
101256     to always fail with ENOSYS.  Some functions are actually named
101257     something starting with __ and the normal name is an alias.  */
101258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101259 choke me
101260 #else
101261 char (*f) () = $ac_func;
101262 #endif
101263 #ifdef __cplusplus
101264 }
101265 #endif
101266
101267 int
101268 main ()
101269 {
101270 return f != $ac_func;
101271   ;
101272   return 0;
101273 }
101274 _ACEOF
101275 rm -f conftest.$ac_objext conftest$ac_exeext
101276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101277   (eval $ac_link) 2>conftest.er1
101278   ac_status=$?
101279   grep -v '^ *+' conftest.er1 >conftest.err
101280   rm -f conftest.er1
101281   cat conftest.err >&5
101282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101283   (exit $ac_status); } &&
101284          { ac_try='test -z "$ac_c_werror_flag"
101285                          || test ! -s conftest.err'
101286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101287   (eval $ac_try) 2>&5
101288   ac_status=$?
101289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101290   (exit $ac_status); }; } &&
101291          { ac_try='test -s conftest$ac_exeext'
101292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101293   (eval $ac_try) 2>&5
101294   ac_status=$?
101295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101296   (exit $ac_status); }; }; then
101297   eval "$as_ac_var=yes"
101298 else
101299   echo "$as_me: failed program was:" >&5
101300 sed 's/^/| /' conftest.$ac_ext >&5
101301
101302 eval "$as_ac_var=no"
101303 fi
101304 rm -f conftest.err conftest.$ac_objext \
101305       conftest$ac_exeext conftest.$ac_ext
101306 fi
101307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101309 if test `eval echo '${'$as_ac_var'}'` = yes; then
101310   cat >>confdefs.h <<_ACEOF
101311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101312 _ACEOF
101313
101314 fi
101315 done
101316
101317     fi
101318   fi
101319
101320
101321
101322
101323
101324
101325   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
101326 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
101327   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
101328     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
101329   echo $ECHO_N "(cached) $ECHO_C" >&6
101330 else
101331
101332
101333
101334       ac_ext=cc
101335 ac_cpp='$CXXCPP $CPPFLAGS'
101336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101339
101340       cat >conftest.$ac_ext <<_ACEOF
101341 /* confdefs.h.  */
101342 _ACEOF
101343 cat confdefs.h >>conftest.$ac_ext
101344 cat >>conftest.$ac_ext <<_ACEOF
101345 /* end confdefs.h.  */
101346 #include <math.h>
101347                       #ifdef HAVE_IEEEFP_H
101348                       #include <ieeefp.h>
101349                       #endif
101350
101351 int
101352 main ()
101353 {
101354  fabsl(0);
101355   ;
101356   return 0;
101357 }
101358 _ACEOF
101359 rm -f conftest.$ac_objext
101360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101361   (eval $ac_compile) 2>conftest.er1
101362   ac_status=$?
101363   grep -v '^ *+' conftest.er1 >conftest.err
101364   rm -f conftest.er1
101365   cat conftest.err >&5
101366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101367   (exit $ac_status); } &&
101368          { ac_try='test -z "$ac_cxx_werror_flag"
101369                          || test ! -s conftest.err'
101370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101371   (eval $ac_try) 2>&5
101372   ac_status=$?
101373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101374   (exit $ac_status); }; } &&
101375          { ac_try='test -s conftest.$ac_objext'
101376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101377   (eval $ac_try) 2>&5
101378   ac_status=$?
101379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101380   (exit $ac_status); }; }; then
101381   glibcxx_cv_func_fabsl_use=yes
101382 else
101383   echo "$as_me: failed program was:" >&5
101384 sed 's/^/| /' conftest.$ac_ext >&5
101385
101386 glibcxx_cv_func_fabsl_use=no
101387 fi
101388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101389       ac_ext=c
101390 ac_cpp='$CPP $CPPFLAGS'
101391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101394
101395
101396 fi
101397
101398   fi
101399   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
101400 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
101401
101402   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
101403
101404 for ac_func in fabsl
101405 do
101406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101407 echo "$as_me:$LINENO: checking for $ac_func" >&5
101408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101409 if eval "test \"\${$as_ac_var+set}\" = set"; then
101410   echo $ECHO_N "(cached) $ECHO_C" >&6
101411 else
101412   if test x$gcc_no_link = xyes; then
101413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101415    { (exit 1); exit 1; }; }
101416 fi
101417 cat >conftest.$ac_ext <<_ACEOF
101418 /* confdefs.h.  */
101419 _ACEOF
101420 cat confdefs.h >>conftest.$ac_ext
101421 cat >>conftest.$ac_ext <<_ACEOF
101422 /* end confdefs.h.  */
101423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101425 #define $ac_func innocuous_$ac_func
101426
101427 /* System header to define __stub macros and hopefully few prototypes,
101428     which can conflict with char $ac_func (); below.
101429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101430     <limits.h> exists even on freestanding compilers.  */
101431
101432 #ifdef __STDC__
101433 # include <limits.h>
101434 #else
101435 # include <assert.h>
101436 #endif
101437
101438 #undef $ac_func
101439
101440 /* Override any gcc2 internal prototype to avoid an error.  */
101441 #ifdef __cplusplus
101442 extern "C"
101443 {
101444 #endif
101445 /* We use char because int might match the return type of a gcc2
101446    builtin and then its argument prototype would still apply.  */
101447 char $ac_func ();
101448 /* The GNU C library defines this for functions which it implements
101449     to always fail with ENOSYS.  Some functions are actually named
101450     something starting with __ and the normal name is an alias.  */
101451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101452 choke me
101453 #else
101454 char (*f) () = $ac_func;
101455 #endif
101456 #ifdef __cplusplus
101457 }
101458 #endif
101459
101460 int
101461 main ()
101462 {
101463 return f != $ac_func;
101464   ;
101465   return 0;
101466 }
101467 _ACEOF
101468 rm -f conftest.$ac_objext conftest$ac_exeext
101469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101470   (eval $ac_link) 2>conftest.er1
101471   ac_status=$?
101472   grep -v '^ *+' conftest.er1 >conftest.err
101473   rm -f conftest.er1
101474   cat conftest.err >&5
101475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101476   (exit $ac_status); } &&
101477          { ac_try='test -z "$ac_c_werror_flag"
101478                          || test ! -s conftest.err'
101479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101480   (eval $ac_try) 2>&5
101481   ac_status=$?
101482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101483   (exit $ac_status); }; } &&
101484          { ac_try='test -s conftest$ac_exeext'
101485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101486   (eval $ac_try) 2>&5
101487   ac_status=$?
101488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101489   (exit $ac_status); }; }; then
101490   eval "$as_ac_var=yes"
101491 else
101492   echo "$as_me: failed program was:" >&5
101493 sed 's/^/| /' conftest.$ac_ext >&5
101494
101495 eval "$as_ac_var=no"
101496 fi
101497 rm -f conftest.err conftest.$ac_objext \
101498       conftest$ac_exeext conftest.$ac_ext
101499 fi
101500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101502 if test `eval echo '${'$as_ac_var'}'` = yes; then
101503   cat >>confdefs.h <<_ACEOF
101504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101505 _ACEOF
101506
101507 fi
101508 done
101509
101510   else
101511
101512   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
101513 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
101514   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
101515     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
101516   echo $ECHO_N "(cached) $ECHO_C" >&6
101517 else
101518
101519
101520
101521       ac_ext=cc
101522 ac_cpp='$CXXCPP $CPPFLAGS'
101523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101526
101527       cat >conftest.$ac_ext <<_ACEOF
101528 /* confdefs.h.  */
101529 _ACEOF
101530 cat confdefs.h >>conftest.$ac_ext
101531 cat >>conftest.$ac_ext <<_ACEOF
101532 /* end confdefs.h.  */
101533 #include <math.h>
101534                       #ifdef HAVE_IEEEFP_H
101535                       #include <ieeefp.h>
101536                       #endif
101537
101538 int
101539 main ()
101540 {
101541  _fabsl(0);
101542   ;
101543   return 0;
101544 }
101545 _ACEOF
101546 rm -f conftest.$ac_objext
101547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101548   (eval $ac_compile) 2>conftest.er1
101549   ac_status=$?
101550   grep -v '^ *+' conftest.er1 >conftest.err
101551   rm -f conftest.er1
101552   cat conftest.err >&5
101553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101554   (exit $ac_status); } &&
101555          { ac_try='test -z "$ac_cxx_werror_flag"
101556                          || test ! -s conftest.err'
101557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101558   (eval $ac_try) 2>&5
101559   ac_status=$?
101560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101561   (exit $ac_status); }; } &&
101562          { ac_try='test -s conftest.$ac_objext'
101563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101564   (eval $ac_try) 2>&5
101565   ac_status=$?
101566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101567   (exit $ac_status); }; }; then
101568   glibcxx_cv_func__fabsl_use=yes
101569 else
101570   echo "$as_me: failed program was:" >&5
101571 sed 's/^/| /' conftest.$ac_ext >&5
101572
101573 glibcxx_cv_func__fabsl_use=no
101574 fi
101575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101576       ac_ext=c
101577 ac_cpp='$CPP $CPPFLAGS'
101578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101581
101582
101583 fi
101584
101585   fi
101586   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101587 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101588
101589     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101590
101591 for ac_func in _fabsl
101592 do
101593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101594 echo "$as_me:$LINENO: checking for $ac_func" >&5
101595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101596 if eval "test \"\${$as_ac_var+set}\" = set"; then
101597   echo $ECHO_N "(cached) $ECHO_C" >&6
101598 else
101599   if test x$gcc_no_link = xyes; then
101600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101602    { (exit 1); exit 1; }; }
101603 fi
101604 cat >conftest.$ac_ext <<_ACEOF
101605 /* confdefs.h.  */
101606 _ACEOF
101607 cat confdefs.h >>conftest.$ac_ext
101608 cat >>conftest.$ac_ext <<_ACEOF
101609 /* end confdefs.h.  */
101610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101612 #define $ac_func innocuous_$ac_func
101613
101614 /* System header to define __stub macros and hopefully few prototypes,
101615     which can conflict with char $ac_func (); below.
101616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101617     <limits.h> exists even on freestanding compilers.  */
101618
101619 #ifdef __STDC__
101620 # include <limits.h>
101621 #else
101622 # include <assert.h>
101623 #endif
101624
101625 #undef $ac_func
101626
101627 /* Override any gcc2 internal prototype to avoid an error.  */
101628 #ifdef __cplusplus
101629 extern "C"
101630 {
101631 #endif
101632 /* We use char because int might match the return type of a gcc2
101633    builtin and then its argument prototype would still apply.  */
101634 char $ac_func ();
101635 /* The GNU C library defines this for functions which it implements
101636     to always fail with ENOSYS.  Some functions are actually named
101637     something starting with __ and the normal name is an alias.  */
101638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101639 choke me
101640 #else
101641 char (*f) () = $ac_func;
101642 #endif
101643 #ifdef __cplusplus
101644 }
101645 #endif
101646
101647 int
101648 main ()
101649 {
101650 return f != $ac_func;
101651   ;
101652   return 0;
101653 }
101654 _ACEOF
101655 rm -f conftest.$ac_objext conftest$ac_exeext
101656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101657   (eval $ac_link) 2>conftest.er1
101658   ac_status=$?
101659   grep -v '^ *+' conftest.er1 >conftest.err
101660   rm -f conftest.er1
101661   cat conftest.err >&5
101662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101663   (exit $ac_status); } &&
101664          { ac_try='test -z "$ac_c_werror_flag"
101665                          || test ! -s conftest.err'
101666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101667   (eval $ac_try) 2>&5
101668   ac_status=$?
101669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101670   (exit $ac_status); }; } &&
101671          { ac_try='test -s conftest$ac_exeext'
101672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101673   (eval $ac_try) 2>&5
101674   ac_status=$?
101675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101676   (exit $ac_status); }; }; then
101677   eval "$as_ac_var=yes"
101678 else
101679   echo "$as_me: failed program was:" >&5
101680 sed 's/^/| /' conftest.$ac_ext >&5
101681
101682 eval "$as_ac_var=no"
101683 fi
101684 rm -f conftest.err conftest.$ac_objext \
101685       conftest$ac_exeext conftest.$ac_ext
101686 fi
101687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101689 if test `eval echo '${'$as_ac_var'}'` = yes; then
101690   cat >>confdefs.h <<_ACEOF
101691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101692 _ACEOF
101693
101694 fi
101695 done
101696
101697     fi
101698   fi
101699
101700
101701
101702
101703
101704
101705   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101706 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101707   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101708     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101709   echo $ECHO_N "(cached) $ECHO_C" >&6
101710 else
101711
101712
101713
101714       ac_ext=cc
101715 ac_cpp='$CXXCPP $CPPFLAGS'
101716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101719
101720       cat >conftest.$ac_ext <<_ACEOF
101721 /* confdefs.h.  */
101722 _ACEOF
101723 cat confdefs.h >>conftest.$ac_ext
101724 cat >>conftest.$ac_ext <<_ACEOF
101725 /* end confdefs.h.  */
101726 #include <math.h>
101727 int
101728 main ()
101729 {
101730  fmodl(0, 0);
101731   ;
101732   return 0;
101733 }
101734 _ACEOF
101735 rm -f conftest.$ac_objext
101736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101737   (eval $ac_compile) 2>conftest.er1
101738   ac_status=$?
101739   grep -v '^ *+' conftest.er1 >conftest.err
101740   rm -f conftest.er1
101741   cat conftest.err >&5
101742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101743   (exit $ac_status); } &&
101744          { ac_try='test -z "$ac_cxx_werror_flag"
101745                          || test ! -s conftest.err'
101746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101747   (eval $ac_try) 2>&5
101748   ac_status=$?
101749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101750   (exit $ac_status); }; } &&
101751          { ac_try='test -s conftest.$ac_objext'
101752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101753   (eval $ac_try) 2>&5
101754   ac_status=$?
101755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101756   (exit $ac_status); }; }; then
101757   glibcxx_cv_func_fmodl_use=yes
101758 else
101759   echo "$as_me: failed program was:" >&5
101760 sed 's/^/| /' conftest.$ac_ext >&5
101761
101762 glibcxx_cv_func_fmodl_use=no
101763 fi
101764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101765       ac_ext=c
101766 ac_cpp='$CPP $CPPFLAGS'
101767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101770
101771
101772 fi
101773
101774   fi
101775   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101776 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101777
101778   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101779
101780 for ac_func in fmodl
101781 do
101782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101783 echo "$as_me:$LINENO: checking for $ac_func" >&5
101784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101785 if eval "test \"\${$as_ac_var+set}\" = set"; then
101786   echo $ECHO_N "(cached) $ECHO_C" >&6
101787 else
101788   if test x$gcc_no_link = xyes; then
101789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101791    { (exit 1); exit 1; }; }
101792 fi
101793 cat >conftest.$ac_ext <<_ACEOF
101794 /* confdefs.h.  */
101795 _ACEOF
101796 cat confdefs.h >>conftest.$ac_ext
101797 cat >>conftest.$ac_ext <<_ACEOF
101798 /* end confdefs.h.  */
101799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101801 #define $ac_func innocuous_$ac_func
101802
101803 /* System header to define __stub macros and hopefully few prototypes,
101804     which can conflict with char $ac_func (); below.
101805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101806     <limits.h> exists even on freestanding compilers.  */
101807
101808 #ifdef __STDC__
101809 # include <limits.h>
101810 #else
101811 # include <assert.h>
101812 #endif
101813
101814 #undef $ac_func
101815
101816 /* Override any gcc2 internal prototype to avoid an error.  */
101817 #ifdef __cplusplus
101818 extern "C"
101819 {
101820 #endif
101821 /* We use char because int might match the return type of a gcc2
101822    builtin and then its argument prototype would still apply.  */
101823 char $ac_func ();
101824 /* The GNU C library defines this for functions which it implements
101825     to always fail with ENOSYS.  Some functions are actually named
101826     something starting with __ and the normal name is an alias.  */
101827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101828 choke me
101829 #else
101830 char (*f) () = $ac_func;
101831 #endif
101832 #ifdef __cplusplus
101833 }
101834 #endif
101835
101836 int
101837 main ()
101838 {
101839 return f != $ac_func;
101840   ;
101841   return 0;
101842 }
101843 _ACEOF
101844 rm -f conftest.$ac_objext conftest$ac_exeext
101845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101846   (eval $ac_link) 2>conftest.er1
101847   ac_status=$?
101848   grep -v '^ *+' conftest.er1 >conftest.err
101849   rm -f conftest.er1
101850   cat conftest.err >&5
101851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101852   (exit $ac_status); } &&
101853          { ac_try='test -z "$ac_c_werror_flag"
101854                          || test ! -s conftest.err'
101855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101856   (eval $ac_try) 2>&5
101857   ac_status=$?
101858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101859   (exit $ac_status); }; } &&
101860          { ac_try='test -s conftest$ac_exeext'
101861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101862   (eval $ac_try) 2>&5
101863   ac_status=$?
101864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101865   (exit $ac_status); }; }; then
101866   eval "$as_ac_var=yes"
101867 else
101868   echo "$as_me: failed program was:" >&5
101869 sed 's/^/| /' conftest.$ac_ext >&5
101870
101871 eval "$as_ac_var=no"
101872 fi
101873 rm -f conftest.err conftest.$ac_objext \
101874       conftest$ac_exeext conftest.$ac_ext
101875 fi
101876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101878 if test `eval echo '${'$as_ac_var'}'` = yes; then
101879   cat >>confdefs.h <<_ACEOF
101880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101881 _ACEOF
101882
101883 fi
101884 done
101885
101886   else
101887
101888   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101889 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101890   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101891     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101892   echo $ECHO_N "(cached) $ECHO_C" >&6
101893 else
101894
101895
101896
101897       ac_ext=cc
101898 ac_cpp='$CXXCPP $CPPFLAGS'
101899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101902
101903       cat >conftest.$ac_ext <<_ACEOF
101904 /* confdefs.h.  */
101905 _ACEOF
101906 cat confdefs.h >>conftest.$ac_ext
101907 cat >>conftest.$ac_ext <<_ACEOF
101908 /* end confdefs.h.  */
101909 #include <math.h>
101910 int
101911 main ()
101912 {
101913  _fmodl(0, 0);
101914   ;
101915   return 0;
101916 }
101917 _ACEOF
101918 rm -f conftest.$ac_objext
101919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101920   (eval $ac_compile) 2>conftest.er1
101921   ac_status=$?
101922   grep -v '^ *+' conftest.er1 >conftest.err
101923   rm -f conftest.er1
101924   cat conftest.err >&5
101925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101926   (exit $ac_status); } &&
101927          { ac_try='test -z "$ac_cxx_werror_flag"
101928                          || test ! -s conftest.err'
101929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101930   (eval $ac_try) 2>&5
101931   ac_status=$?
101932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101933   (exit $ac_status); }; } &&
101934          { ac_try='test -s conftest.$ac_objext'
101935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101936   (eval $ac_try) 2>&5
101937   ac_status=$?
101938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101939   (exit $ac_status); }; }; then
101940   glibcxx_cv_func__fmodl_use=yes
101941 else
101942   echo "$as_me: failed program was:" >&5
101943 sed 's/^/| /' conftest.$ac_ext >&5
101944
101945 glibcxx_cv_func__fmodl_use=no
101946 fi
101947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101948       ac_ext=c
101949 ac_cpp='$CPP $CPPFLAGS'
101950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101953
101954
101955 fi
101956
101957   fi
101958   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101959 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101960
101961     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101962
101963 for ac_func in _fmodl
101964 do
101965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101966 echo "$as_me:$LINENO: checking for $ac_func" >&5
101967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101968 if eval "test \"\${$as_ac_var+set}\" = set"; then
101969   echo $ECHO_N "(cached) $ECHO_C" >&6
101970 else
101971   if test x$gcc_no_link = xyes; then
101972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101974    { (exit 1); exit 1; }; }
101975 fi
101976 cat >conftest.$ac_ext <<_ACEOF
101977 /* confdefs.h.  */
101978 _ACEOF
101979 cat confdefs.h >>conftest.$ac_ext
101980 cat >>conftest.$ac_ext <<_ACEOF
101981 /* end confdefs.h.  */
101982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101984 #define $ac_func innocuous_$ac_func
101985
101986 /* System header to define __stub macros and hopefully few prototypes,
101987     which can conflict with char $ac_func (); below.
101988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101989     <limits.h> exists even on freestanding compilers.  */
101990
101991 #ifdef __STDC__
101992 # include <limits.h>
101993 #else
101994 # include <assert.h>
101995 #endif
101996
101997 #undef $ac_func
101998
101999 /* Override any gcc2 internal prototype to avoid an error.  */
102000 #ifdef __cplusplus
102001 extern "C"
102002 {
102003 #endif
102004 /* We use char because int might match the return type of a gcc2
102005    builtin and then its argument prototype would still apply.  */
102006 char $ac_func ();
102007 /* The GNU C library defines this for functions which it implements
102008     to always fail with ENOSYS.  Some functions are actually named
102009     something starting with __ and the normal name is an alias.  */
102010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102011 choke me
102012 #else
102013 char (*f) () = $ac_func;
102014 #endif
102015 #ifdef __cplusplus
102016 }
102017 #endif
102018
102019 int
102020 main ()
102021 {
102022 return f != $ac_func;
102023   ;
102024   return 0;
102025 }
102026 _ACEOF
102027 rm -f conftest.$ac_objext conftest$ac_exeext
102028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102029   (eval $ac_link) 2>conftest.er1
102030   ac_status=$?
102031   grep -v '^ *+' conftest.er1 >conftest.err
102032   rm -f conftest.er1
102033   cat conftest.err >&5
102034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102035   (exit $ac_status); } &&
102036          { ac_try='test -z "$ac_c_werror_flag"
102037                          || test ! -s conftest.err'
102038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102039   (eval $ac_try) 2>&5
102040   ac_status=$?
102041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102042   (exit $ac_status); }; } &&
102043          { ac_try='test -s conftest$ac_exeext'
102044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102045   (eval $ac_try) 2>&5
102046   ac_status=$?
102047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102048   (exit $ac_status); }; }; then
102049   eval "$as_ac_var=yes"
102050 else
102051   echo "$as_me: failed program was:" >&5
102052 sed 's/^/| /' conftest.$ac_ext >&5
102053
102054 eval "$as_ac_var=no"
102055 fi
102056 rm -f conftest.err conftest.$ac_objext \
102057       conftest$ac_exeext conftest.$ac_ext
102058 fi
102059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102061 if test `eval echo '${'$as_ac_var'}'` = yes; then
102062   cat >>confdefs.h <<_ACEOF
102063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102064 _ACEOF
102065
102066 fi
102067 done
102068
102069     fi
102070   fi
102071
102072
102073
102074
102075
102076
102077   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
102078 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
102079   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
102080     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
102081   echo $ECHO_N "(cached) $ECHO_C" >&6
102082 else
102083
102084
102085
102086       ac_ext=cc
102087 ac_cpp='$CXXCPP $CPPFLAGS'
102088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102091
102092       cat >conftest.$ac_ext <<_ACEOF
102093 /* confdefs.h.  */
102094 _ACEOF
102095 cat confdefs.h >>conftest.$ac_ext
102096 cat >>conftest.$ac_ext <<_ACEOF
102097 /* end confdefs.h.  */
102098 #include <math.h>
102099 int
102100 main ()
102101 {
102102  frexpl(0, 0);
102103   ;
102104   return 0;
102105 }
102106 _ACEOF
102107 rm -f conftest.$ac_objext
102108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102109   (eval $ac_compile) 2>conftest.er1
102110   ac_status=$?
102111   grep -v '^ *+' conftest.er1 >conftest.err
102112   rm -f conftest.er1
102113   cat conftest.err >&5
102114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102115   (exit $ac_status); } &&
102116          { ac_try='test -z "$ac_cxx_werror_flag"
102117                          || test ! -s conftest.err'
102118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102119   (eval $ac_try) 2>&5
102120   ac_status=$?
102121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102122   (exit $ac_status); }; } &&
102123          { ac_try='test -s conftest.$ac_objext'
102124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102125   (eval $ac_try) 2>&5
102126   ac_status=$?
102127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102128   (exit $ac_status); }; }; then
102129   glibcxx_cv_func_frexpl_use=yes
102130 else
102131   echo "$as_me: failed program was:" >&5
102132 sed 's/^/| /' conftest.$ac_ext >&5
102133
102134 glibcxx_cv_func_frexpl_use=no
102135 fi
102136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102137       ac_ext=c
102138 ac_cpp='$CPP $CPPFLAGS'
102139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102142
102143
102144 fi
102145
102146   fi
102147   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
102148 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
102149
102150   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
102151
102152 for ac_func in frexpl
102153 do
102154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102155 echo "$as_me:$LINENO: checking for $ac_func" >&5
102156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102157 if eval "test \"\${$as_ac_var+set}\" = set"; then
102158   echo $ECHO_N "(cached) $ECHO_C" >&6
102159 else
102160   if test x$gcc_no_link = xyes; then
102161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102163    { (exit 1); exit 1; }; }
102164 fi
102165 cat >conftest.$ac_ext <<_ACEOF
102166 /* confdefs.h.  */
102167 _ACEOF
102168 cat confdefs.h >>conftest.$ac_ext
102169 cat >>conftest.$ac_ext <<_ACEOF
102170 /* end confdefs.h.  */
102171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102173 #define $ac_func innocuous_$ac_func
102174
102175 /* System header to define __stub macros and hopefully few prototypes,
102176     which can conflict with char $ac_func (); below.
102177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102178     <limits.h> exists even on freestanding compilers.  */
102179
102180 #ifdef __STDC__
102181 # include <limits.h>
102182 #else
102183 # include <assert.h>
102184 #endif
102185
102186 #undef $ac_func
102187
102188 /* Override any gcc2 internal prototype to avoid an error.  */
102189 #ifdef __cplusplus
102190 extern "C"
102191 {
102192 #endif
102193 /* We use char because int might match the return type of a gcc2
102194    builtin and then its argument prototype would still apply.  */
102195 char $ac_func ();
102196 /* The GNU C library defines this for functions which it implements
102197     to always fail with ENOSYS.  Some functions are actually named
102198     something starting with __ and the normal name is an alias.  */
102199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102200 choke me
102201 #else
102202 char (*f) () = $ac_func;
102203 #endif
102204 #ifdef __cplusplus
102205 }
102206 #endif
102207
102208 int
102209 main ()
102210 {
102211 return f != $ac_func;
102212   ;
102213   return 0;
102214 }
102215 _ACEOF
102216 rm -f conftest.$ac_objext conftest$ac_exeext
102217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102218   (eval $ac_link) 2>conftest.er1
102219   ac_status=$?
102220   grep -v '^ *+' conftest.er1 >conftest.err
102221   rm -f conftest.er1
102222   cat conftest.err >&5
102223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102224   (exit $ac_status); } &&
102225          { ac_try='test -z "$ac_c_werror_flag"
102226                          || test ! -s conftest.err'
102227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102228   (eval $ac_try) 2>&5
102229   ac_status=$?
102230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102231   (exit $ac_status); }; } &&
102232          { ac_try='test -s conftest$ac_exeext'
102233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102234   (eval $ac_try) 2>&5
102235   ac_status=$?
102236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102237   (exit $ac_status); }; }; then
102238   eval "$as_ac_var=yes"
102239 else
102240   echo "$as_me: failed program was:" >&5
102241 sed 's/^/| /' conftest.$ac_ext >&5
102242
102243 eval "$as_ac_var=no"
102244 fi
102245 rm -f conftest.err conftest.$ac_objext \
102246       conftest$ac_exeext conftest.$ac_ext
102247 fi
102248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102250 if test `eval echo '${'$as_ac_var'}'` = yes; then
102251   cat >>confdefs.h <<_ACEOF
102252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102253 _ACEOF
102254
102255 fi
102256 done
102257
102258   else
102259
102260   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
102261 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
102262   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
102263     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
102264   echo $ECHO_N "(cached) $ECHO_C" >&6
102265 else
102266
102267
102268
102269       ac_ext=cc
102270 ac_cpp='$CXXCPP $CPPFLAGS'
102271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102274
102275       cat >conftest.$ac_ext <<_ACEOF
102276 /* confdefs.h.  */
102277 _ACEOF
102278 cat confdefs.h >>conftest.$ac_ext
102279 cat >>conftest.$ac_ext <<_ACEOF
102280 /* end confdefs.h.  */
102281 #include <math.h>
102282 int
102283 main ()
102284 {
102285  _frexpl(0, 0);
102286   ;
102287   return 0;
102288 }
102289 _ACEOF
102290 rm -f conftest.$ac_objext
102291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102292   (eval $ac_compile) 2>conftest.er1
102293   ac_status=$?
102294   grep -v '^ *+' conftest.er1 >conftest.err
102295   rm -f conftest.er1
102296   cat conftest.err >&5
102297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298   (exit $ac_status); } &&
102299          { ac_try='test -z "$ac_cxx_werror_flag"
102300                          || test ! -s conftest.err'
102301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102302   (eval $ac_try) 2>&5
102303   ac_status=$?
102304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102305   (exit $ac_status); }; } &&
102306          { ac_try='test -s conftest.$ac_objext'
102307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102308   (eval $ac_try) 2>&5
102309   ac_status=$?
102310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102311   (exit $ac_status); }; }; then
102312   glibcxx_cv_func__frexpl_use=yes
102313 else
102314   echo "$as_me: failed program was:" >&5
102315 sed 's/^/| /' conftest.$ac_ext >&5
102316
102317 glibcxx_cv_func__frexpl_use=no
102318 fi
102319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102320       ac_ext=c
102321 ac_cpp='$CPP $CPPFLAGS'
102322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102325
102326
102327 fi
102328
102329   fi
102330   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
102331 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
102332
102333     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
102334
102335 for ac_func in _frexpl
102336 do
102337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102338 echo "$as_me:$LINENO: checking for $ac_func" >&5
102339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102340 if eval "test \"\${$as_ac_var+set}\" = set"; then
102341   echo $ECHO_N "(cached) $ECHO_C" >&6
102342 else
102343   if test x$gcc_no_link = xyes; then
102344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102346    { (exit 1); exit 1; }; }
102347 fi
102348 cat >conftest.$ac_ext <<_ACEOF
102349 /* confdefs.h.  */
102350 _ACEOF
102351 cat confdefs.h >>conftest.$ac_ext
102352 cat >>conftest.$ac_ext <<_ACEOF
102353 /* end confdefs.h.  */
102354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102356 #define $ac_func innocuous_$ac_func
102357
102358 /* System header to define __stub macros and hopefully few prototypes,
102359     which can conflict with char $ac_func (); below.
102360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102361     <limits.h> exists even on freestanding compilers.  */
102362
102363 #ifdef __STDC__
102364 # include <limits.h>
102365 #else
102366 # include <assert.h>
102367 #endif
102368
102369 #undef $ac_func
102370
102371 /* Override any gcc2 internal prototype to avoid an error.  */
102372 #ifdef __cplusplus
102373 extern "C"
102374 {
102375 #endif
102376 /* We use char because int might match the return type of a gcc2
102377    builtin and then its argument prototype would still apply.  */
102378 char $ac_func ();
102379 /* The GNU C library defines this for functions which it implements
102380     to always fail with ENOSYS.  Some functions are actually named
102381     something starting with __ and the normal name is an alias.  */
102382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102383 choke me
102384 #else
102385 char (*f) () = $ac_func;
102386 #endif
102387 #ifdef __cplusplus
102388 }
102389 #endif
102390
102391 int
102392 main ()
102393 {
102394 return f != $ac_func;
102395   ;
102396   return 0;
102397 }
102398 _ACEOF
102399 rm -f conftest.$ac_objext conftest$ac_exeext
102400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102401   (eval $ac_link) 2>conftest.er1
102402   ac_status=$?
102403   grep -v '^ *+' conftest.er1 >conftest.err
102404   rm -f conftest.er1
102405   cat conftest.err >&5
102406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102407   (exit $ac_status); } &&
102408          { ac_try='test -z "$ac_c_werror_flag"
102409                          || test ! -s conftest.err'
102410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102411   (eval $ac_try) 2>&5
102412   ac_status=$?
102413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102414   (exit $ac_status); }; } &&
102415          { ac_try='test -s conftest$ac_exeext'
102416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102417   (eval $ac_try) 2>&5
102418   ac_status=$?
102419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102420   (exit $ac_status); }; }; then
102421   eval "$as_ac_var=yes"
102422 else
102423   echo "$as_me: failed program was:" >&5
102424 sed 's/^/| /' conftest.$ac_ext >&5
102425
102426 eval "$as_ac_var=no"
102427 fi
102428 rm -f conftest.err conftest.$ac_objext \
102429       conftest$ac_exeext conftest.$ac_ext
102430 fi
102431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102433 if test `eval echo '${'$as_ac_var'}'` = yes; then
102434   cat >>confdefs.h <<_ACEOF
102435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102436 _ACEOF
102437
102438 fi
102439 done
102440
102441     fi
102442   fi
102443
102444
102445
102446
102447
102448
102449   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
102450 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
102451   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
102452     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
102453   echo $ECHO_N "(cached) $ECHO_C" >&6
102454 else
102455
102456
102457
102458       ac_ext=cc
102459 ac_cpp='$CXXCPP $CPPFLAGS'
102460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102463
102464       cat >conftest.$ac_ext <<_ACEOF
102465 /* confdefs.h.  */
102466 _ACEOF
102467 cat confdefs.h >>conftest.$ac_ext
102468 cat >>conftest.$ac_ext <<_ACEOF
102469 /* end confdefs.h.  */
102470 #include <math.h>
102471 int
102472 main ()
102473 {
102474  hypotl(0, 0);
102475   ;
102476   return 0;
102477 }
102478 _ACEOF
102479 rm -f conftest.$ac_objext
102480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102481   (eval $ac_compile) 2>conftest.er1
102482   ac_status=$?
102483   grep -v '^ *+' conftest.er1 >conftest.err
102484   rm -f conftest.er1
102485   cat conftest.err >&5
102486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102487   (exit $ac_status); } &&
102488          { ac_try='test -z "$ac_cxx_werror_flag"
102489                          || test ! -s conftest.err'
102490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102491   (eval $ac_try) 2>&5
102492   ac_status=$?
102493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102494   (exit $ac_status); }; } &&
102495          { ac_try='test -s conftest.$ac_objext'
102496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102497   (eval $ac_try) 2>&5
102498   ac_status=$?
102499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102500   (exit $ac_status); }; }; then
102501   glibcxx_cv_func_hypotl_use=yes
102502 else
102503   echo "$as_me: failed program was:" >&5
102504 sed 's/^/| /' conftest.$ac_ext >&5
102505
102506 glibcxx_cv_func_hypotl_use=no
102507 fi
102508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102509       ac_ext=c
102510 ac_cpp='$CPP $CPPFLAGS'
102511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102514
102515
102516 fi
102517
102518   fi
102519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
102520 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
102521
102522   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
102523
102524 for ac_func in hypotl
102525 do
102526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102527 echo "$as_me:$LINENO: checking for $ac_func" >&5
102528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102529 if eval "test \"\${$as_ac_var+set}\" = set"; then
102530   echo $ECHO_N "(cached) $ECHO_C" >&6
102531 else
102532   if test x$gcc_no_link = xyes; then
102533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102535    { (exit 1); exit 1; }; }
102536 fi
102537 cat >conftest.$ac_ext <<_ACEOF
102538 /* confdefs.h.  */
102539 _ACEOF
102540 cat confdefs.h >>conftest.$ac_ext
102541 cat >>conftest.$ac_ext <<_ACEOF
102542 /* end confdefs.h.  */
102543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102545 #define $ac_func innocuous_$ac_func
102546
102547 /* System header to define __stub macros and hopefully few prototypes,
102548     which can conflict with char $ac_func (); below.
102549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102550     <limits.h> exists even on freestanding compilers.  */
102551
102552 #ifdef __STDC__
102553 # include <limits.h>
102554 #else
102555 # include <assert.h>
102556 #endif
102557
102558 #undef $ac_func
102559
102560 /* Override any gcc2 internal prototype to avoid an error.  */
102561 #ifdef __cplusplus
102562 extern "C"
102563 {
102564 #endif
102565 /* We use char because int might match the return type of a gcc2
102566    builtin and then its argument prototype would still apply.  */
102567 char $ac_func ();
102568 /* The GNU C library defines this for functions which it implements
102569     to always fail with ENOSYS.  Some functions are actually named
102570     something starting with __ and the normal name is an alias.  */
102571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102572 choke me
102573 #else
102574 char (*f) () = $ac_func;
102575 #endif
102576 #ifdef __cplusplus
102577 }
102578 #endif
102579
102580 int
102581 main ()
102582 {
102583 return f != $ac_func;
102584   ;
102585   return 0;
102586 }
102587 _ACEOF
102588 rm -f conftest.$ac_objext conftest$ac_exeext
102589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102590   (eval $ac_link) 2>conftest.er1
102591   ac_status=$?
102592   grep -v '^ *+' conftest.er1 >conftest.err
102593   rm -f conftest.er1
102594   cat conftest.err >&5
102595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102596   (exit $ac_status); } &&
102597          { ac_try='test -z "$ac_c_werror_flag"
102598                          || test ! -s conftest.err'
102599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102600   (eval $ac_try) 2>&5
102601   ac_status=$?
102602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102603   (exit $ac_status); }; } &&
102604          { ac_try='test -s conftest$ac_exeext'
102605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102606   (eval $ac_try) 2>&5
102607   ac_status=$?
102608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102609   (exit $ac_status); }; }; then
102610   eval "$as_ac_var=yes"
102611 else
102612   echo "$as_me: failed program was:" >&5
102613 sed 's/^/| /' conftest.$ac_ext >&5
102614
102615 eval "$as_ac_var=no"
102616 fi
102617 rm -f conftest.err conftest.$ac_objext \
102618       conftest$ac_exeext conftest.$ac_ext
102619 fi
102620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102622 if test `eval echo '${'$as_ac_var'}'` = yes; then
102623   cat >>confdefs.h <<_ACEOF
102624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102625 _ACEOF
102626
102627 fi
102628 done
102629
102630   else
102631
102632   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102633 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102634   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102635     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102636   echo $ECHO_N "(cached) $ECHO_C" >&6
102637 else
102638
102639
102640
102641       ac_ext=cc
102642 ac_cpp='$CXXCPP $CPPFLAGS'
102643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102646
102647       cat >conftest.$ac_ext <<_ACEOF
102648 /* confdefs.h.  */
102649 _ACEOF
102650 cat confdefs.h >>conftest.$ac_ext
102651 cat >>conftest.$ac_ext <<_ACEOF
102652 /* end confdefs.h.  */
102653 #include <math.h>
102654 int
102655 main ()
102656 {
102657  _hypotl(0, 0);
102658   ;
102659   return 0;
102660 }
102661 _ACEOF
102662 rm -f conftest.$ac_objext
102663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102664   (eval $ac_compile) 2>conftest.er1
102665   ac_status=$?
102666   grep -v '^ *+' conftest.er1 >conftest.err
102667   rm -f conftest.er1
102668   cat conftest.err >&5
102669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102670   (exit $ac_status); } &&
102671          { ac_try='test -z "$ac_cxx_werror_flag"
102672                          || test ! -s conftest.err'
102673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102674   (eval $ac_try) 2>&5
102675   ac_status=$?
102676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102677   (exit $ac_status); }; } &&
102678          { ac_try='test -s conftest.$ac_objext'
102679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102680   (eval $ac_try) 2>&5
102681   ac_status=$?
102682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102683   (exit $ac_status); }; }; then
102684   glibcxx_cv_func__hypotl_use=yes
102685 else
102686   echo "$as_me: failed program was:" >&5
102687 sed 's/^/| /' conftest.$ac_ext >&5
102688
102689 glibcxx_cv_func__hypotl_use=no
102690 fi
102691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102692       ac_ext=c
102693 ac_cpp='$CPP $CPPFLAGS'
102694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102697
102698
102699 fi
102700
102701   fi
102702   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102703 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102704
102705     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102706
102707 for ac_func in _hypotl
102708 do
102709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102710 echo "$as_me:$LINENO: checking for $ac_func" >&5
102711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102712 if eval "test \"\${$as_ac_var+set}\" = set"; then
102713   echo $ECHO_N "(cached) $ECHO_C" >&6
102714 else
102715   if test x$gcc_no_link = xyes; then
102716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102718    { (exit 1); exit 1; }; }
102719 fi
102720 cat >conftest.$ac_ext <<_ACEOF
102721 /* confdefs.h.  */
102722 _ACEOF
102723 cat confdefs.h >>conftest.$ac_ext
102724 cat >>conftest.$ac_ext <<_ACEOF
102725 /* end confdefs.h.  */
102726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102728 #define $ac_func innocuous_$ac_func
102729
102730 /* System header to define __stub macros and hopefully few prototypes,
102731     which can conflict with char $ac_func (); below.
102732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102733     <limits.h> exists even on freestanding compilers.  */
102734
102735 #ifdef __STDC__
102736 # include <limits.h>
102737 #else
102738 # include <assert.h>
102739 #endif
102740
102741 #undef $ac_func
102742
102743 /* Override any gcc2 internal prototype to avoid an error.  */
102744 #ifdef __cplusplus
102745 extern "C"
102746 {
102747 #endif
102748 /* We use char because int might match the return type of a gcc2
102749    builtin and then its argument prototype would still apply.  */
102750 char $ac_func ();
102751 /* The GNU C library defines this for functions which it implements
102752     to always fail with ENOSYS.  Some functions are actually named
102753     something starting with __ and the normal name is an alias.  */
102754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102755 choke me
102756 #else
102757 char (*f) () = $ac_func;
102758 #endif
102759 #ifdef __cplusplus
102760 }
102761 #endif
102762
102763 int
102764 main ()
102765 {
102766 return f != $ac_func;
102767   ;
102768   return 0;
102769 }
102770 _ACEOF
102771 rm -f conftest.$ac_objext conftest$ac_exeext
102772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102773   (eval $ac_link) 2>conftest.er1
102774   ac_status=$?
102775   grep -v '^ *+' conftest.er1 >conftest.err
102776   rm -f conftest.er1
102777   cat conftest.err >&5
102778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102779   (exit $ac_status); } &&
102780          { ac_try='test -z "$ac_c_werror_flag"
102781                          || test ! -s conftest.err'
102782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102783   (eval $ac_try) 2>&5
102784   ac_status=$?
102785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102786   (exit $ac_status); }; } &&
102787          { ac_try='test -s conftest$ac_exeext'
102788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102789   (eval $ac_try) 2>&5
102790   ac_status=$?
102791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102792   (exit $ac_status); }; }; then
102793   eval "$as_ac_var=yes"
102794 else
102795   echo "$as_me: failed program was:" >&5
102796 sed 's/^/| /' conftest.$ac_ext >&5
102797
102798 eval "$as_ac_var=no"
102799 fi
102800 rm -f conftest.err conftest.$ac_objext \
102801       conftest$ac_exeext conftest.$ac_ext
102802 fi
102803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102805 if test `eval echo '${'$as_ac_var'}'` = yes; then
102806   cat >>confdefs.h <<_ACEOF
102807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102808 _ACEOF
102809
102810 fi
102811 done
102812
102813     fi
102814   fi
102815
102816
102817
102818
102819
102820
102821   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102822 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102823   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102824     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102825   echo $ECHO_N "(cached) $ECHO_C" >&6
102826 else
102827
102828
102829
102830       ac_ext=cc
102831 ac_cpp='$CXXCPP $CPPFLAGS'
102832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102835
102836       cat >conftest.$ac_ext <<_ACEOF
102837 /* confdefs.h.  */
102838 _ACEOF
102839 cat confdefs.h >>conftest.$ac_ext
102840 cat >>conftest.$ac_ext <<_ACEOF
102841 /* end confdefs.h.  */
102842 #include <math.h>
102843 int
102844 main ()
102845 {
102846  ldexpl(0, 0);
102847   ;
102848   return 0;
102849 }
102850 _ACEOF
102851 rm -f conftest.$ac_objext
102852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102853   (eval $ac_compile) 2>conftest.er1
102854   ac_status=$?
102855   grep -v '^ *+' conftest.er1 >conftest.err
102856   rm -f conftest.er1
102857   cat conftest.err >&5
102858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102859   (exit $ac_status); } &&
102860          { ac_try='test -z "$ac_cxx_werror_flag"
102861                          || test ! -s conftest.err'
102862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102863   (eval $ac_try) 2>&5
102864   ac_status=$?
102865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102866   (exit $ac_status); }; } &&
102867          { ac_try='test -s conftest.$ac_objext'
102868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102869   (eval $ac_try) 2>&5
102870   ac_status=$?
102871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102872   (exit $ac_status); }; }; then
102873   glibcxx_cv_func_ldexpl_use=yes
102874 else
102875   echo "$as_me: failed program was:" >&5
102876 sed 's/^/| /' conftest.$ac_ext >&5
102877
102878 glibcxx_cv_func_ldexpl_use=no
102879 fi
102880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102881       ac_ext=c
102882 ac_cpp='$CPP $CPPFLAGS'
102883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102886
102887
102888 fi
102889
102890   fi
102891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102892 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102893
102894   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102895
102896 for ac_func in ldexpl
102897 do
102898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102899 echo "$as_me:$LINENO: checking for $ac_func" >&5
102900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102901 if eval "test \"\${$as_ac_var+set}\" = set"; then
102902   echo $ECHO_N "(cached) $ECHO_C" >&6
102903 else
102904   if test x$gcc_no_link = xyes; then
102905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102907    { (exit 1); exit 1; }; }
102908 fi
102909 cat >conftest.$ac_ext <<_ACEOF
102910 /* confdefs.h.  */
102911 _ACEOF
102912 cat confdefs.h >>conftest.$ac_ext
102913 cat >>conftest.$ac_ext <<_ACEOF
102914 /* end confdefs.h.  */
102915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102917 #define $ac_func innocuous_$ac_func
102918
102919 /* System header to define __stub macros and hopefully few prototypes,
102920     which can conflict with char $ac_func (); below.
102921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102922     <limits.h> exists even on freestanding compilers.  */
102923
102924 #ifdef __STDC__
102925 # include <limits.h>
102926 #else
102927 # include <assert.h>
102928 #endif
102929
102930 #undef $ac_func
102931
102932 /* Override any gcc2 internal prototype to avoid an error.  */
102933 #ifdef __cplusplus
102934 extern "C"
102935 {
102936 #endif
102937 /* We use char because int might match the return type of a gcc2
102938    builtin and then its argument prototype would still apply.  */
102939 char $ac_func ();
102940 /* The GNU C library defines this for functions which it implements
102941     to always fail with ENOSYS.  Some functions are actually named
102942     something starting with __ and the normal name is an alias.  */
102943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102944 choke me
102945 #else
102946 char (*f) () = $ac_func;
102947 #endif
102948 #ifdef __cplusplus
102949 }
102950 #endif
102951
102952 int
102953 main ()
102954 {
102955 return f != $ac_func;
102956   ;
102957   return 0;
102958 }
102959 _ACEOF
102960 rm -f conftest.$ac_objext conftest$ac_exeext
102961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102962   (eval $ac_link) 2>conftest.er1
102963   ac_status=$?
102964   grep -v '^ *+' conftest.er1 >conftest.err
102965   rm -f conftest.er1
102966   cat conftest.err >&5
102967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102968   (exit $ac_status); } &&
102969          { ac_try='test -z "$ac_c_werror_flag"
102970                          || test ! -s conftest.err'
102971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102972   (eval $ac_try) 2>&5
102973   ac_status=$?
102974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102975   (exit $ac_status); }; } &&
102976          { ac_try='test -s conftest$ac_exeext'
102977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102978   (eval $ac_try) 2>&5
102979   ac_status=$?
102980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102981   (exit $ac_status); }; }; then
102982   eval "$as_ac_var=yes"
102983 else
102984   echo "$as_me: failed program was:" >&5
102985 sed 's/^/| /' conftest.$ac_ext >&5
102986
102987 eval "$as_ac_var=no"
102988 fi
102989 rm -f conftest.err conftest.$ac_objext \
102990       conftest$ac_exeext conftest.$ac_ext
102991 fi
102992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102994 if test `eval echo '${'$as_ac_var'}'` = yes; then
102995   cat >>confdefs.h <<_ACEOF
102996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102997 _ACEOF
102998
102999 fi
103000 done
103001
103002   else
103003
103004   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
103005 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
103006   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
103007     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
103008   echo $ECHO_N "(cached) $ECHO_C" >&6
103009 else
103010
103011
103012
103013       ac_ext=cc
103014 ac_cpp='$CXXCPP $CPPFLAGS'
103015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103018
103019       cat >conftest.$ac_ext <<_ACEOF
103020 /* confdefs.h.  */
103021 _ACEOF
103022 cat confdefs.h >>conftest.$ac_ext
103023 cat >>conftest.$ac_ext <<_ACEOF
103024 /* end confdefs.h.  */
103025 #include <math.h>
103026 int
103027 main ()
103028 {
103029  _ldexpl(0, 0);
103030   ;
103031   return 0;
103032 }
103033 _ACEOF
103034 rm -f conftest.$ac_objext
103035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103036   (eval $ac_compile) 2>conftest.er1
103037   ac_status=$?
103038   grep -v '^ *+' conftest.er1 >conftest.err
103039   rm -f conftest.er1
103040   cat conftest.err >&5
103041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103042   (exit $ac_status); } &&
103043          { ac_try='test -z "$ac_cxx_werror_flag"
103044                          || test ! -s conftest.err'
103045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103046   (eval $ac_try) 2>&5
103047   ac_status=$?
103048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103049   (exit $ac_status); }; } &&
103050          { ac_try='test -s conftest.$ac_objext'
103051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103052   (eval $ac_try) 2>&5
103053   ac_status=$?
103054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103055   (exit $ac_status); }; }; then
103056   glibcxx_cv_func__ldexpl_use=yes
103057 else
103058   echo "$as_me: failed program was:" >&5
103059 sed 's/^/| /' conftest.$ac_ext >&5
103060
103061 glibcxx_cv_func__ldexpl_use=no
103062 fi
103063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103064       ac_ext=c
103065 ac_cpp='$CPP $CPPFLAGS'
103066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103069
103070
103071 fi
103072
103073   fi
103074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
103075 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
103076
103077     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
103078
103079 for ac_func in _ldexpl
103080 do
103081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103082 echo "$as_me:$LINENO: checking for $ac_func" >&5
103083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103084 if eval "test \"\${$as_ac_var+set}\" = set"; then
103085   echo $ECHO_N "(cached) $ECHO_C" >&6
103086 else
103087   if test x$gcc_no_link = xyes; then
103088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103090    { (exit 1); exit 1; }; }
103091 fi
103092 cat >conftest.$ac_ext <<_ACEOF
103093 /* confdefs.h.  */
103094 _ACEOF
103095 cat confdefs.h >>conftest.$ac_ext
103096 cat >>conftest.$ac_ext <<_ACEOF
103097 /* end confdefs.h.  */
103098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103100 #define $ac_func innocuous_$ac_func
103101
103102 /* System header to define __stub macros and hopefully few prototypes,
103103     which can conflict with char $ac_func (); below.
103104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103105     <limits.h> exists even on freestanding compilers.  */
103106
103107 #ifdef __STDC__
103108 # include <limits.h>
103109 #else
103110 # include <assert.h>
103111 #endif
103112
103113 #undef $ac_func
103114
103115 /* Override any gcc2 internal prototype to avoid an error.  */
103116 #ifdef __cplusplus
103117 extern "C"
103118 {
103119 #endif
103120 /* We use char because int might match the return type of a gcc2
103121    builtin and then its argument prototype would still apply.  */
103122 char $ac_func ();
103123 /* The GNU C library defines this for functions which it implements
103124     to always fail with ENOSYS.  Some functions are actually named
103125     something starting with __ and the normal name is an alias.  */
103126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103127 choke me
103128 #else
103129 char (*f) () = $ac_func;
103130 #endif
103131 #ifdef __cplusplus
103132 }
103133 #endif
103134
103135 int
103136 main ()
103137 {
103138 return f != $ac_func;
103139   ;
103140   return 0;
103141 }
103142 _ACEOF
103143 rm -f conftest.$ac_objext conftest$ac_exeext
103144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103145   (eval $ac_link) 2>conftest.er1
103146   ac_status=$?
103147   grep -v '^ *+' conftest.er1 >conftest.err
103148   rm -f conftest.er1
103149   cat conftest.err >&5
103150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103151   (exit $ac_status); } &&
103152          { ac_try='test -z "$ac_c_werror_flag"
103153                          || test ! -s conftest.err'
103154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103155   (eval $ac_try) 2>&5
103156   ac_status=$?
103157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103158   (exit $ac_status); }; } &&
103159          { ac_try='test -s conftest$ac_exeext'
103160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103161   (eval $ac_try) 2>&5
103162   ac_status=$?
103163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103164   (exit $ac_status); }; }; then
103165   eval "$as_ac_var=yes"
103166 else
103167   echo "$as_me: failed program was:" >&5
103168 sed 's/^/| /' conftest.$ac_ext >&5
103169
103170 eval "$as_ac_var=no"
103171 fi
103172 rm -f conftest.err conftest.$ac_objext \
103173       conftest$ac_exeext conftest.$ac_ext
103174 fi
103175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103177 if test `eval echo '${'$as_ac_var'}'` = yes; then
103178   cat >>confdefs.h <<_ACEOF
103179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103180 _ACEOF
103181
103182 fi
103183 done
103184
103185     fi
103186   fi
103187
103188
103189
103190
103191
103192
103193   echo "$as_me:$LINENO: checking for logl declaration" >&5
103194 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
103195   if test x${glibcxx_cv_func_logl_use+set} != xset; then
103196     if test "${glibcxx_cv_func_logl_use+set}" = set; then
103197   echo $ECHO_N "(cached) $ECHO_C" >&6
103198 else
103199
103200
103201
103202       ac_ext=cc
103203 ac_cpp='$CXXCPP $CPPFLAGS'
103204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103207
103208       cat >conftest.$ac_ext <<_ACEOF
103209 /* confdefs.h.  */
103210 _ACEOF
103211 cat confdefs.h >>conftest.$ac_ext
103212 cat >>conftest.$ac_ext <<_ACEOF
103213 /* end confdefs.h.  */
103214 #include <math.h>
103215                       #ifdef HAVE_IEEEFP_H
103216                       #include <ieeefp.h>
103217                       #endif
103218
103219 int
103220 main ()
103221 {
103222  logl(0);
103223   ;
103224   return 0;
103225 }
103226 _ACEOF
103227 rm -f conftest.$ac_objext
103228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103229   (eval $ac_compile) 2>conftest.er1
103230   ac_status=$?
103231   grep -v '^ *+' conftest.er1 >conftest.err
103232   rm -f conftest.er1
103233   cat conftest.err >&5
103234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103235   (exit $ac_status); } &&
103236          { ac_try='test -z "$ac_cxx_werror_flag"
103237                          || test ! -s conftest.err'
103238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103239   (eval $ac_try) 2>&5
103240   ac_status=$?
103241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103242   (exit $ac_status); }; } &&
103243          { ac_try='test -s conftest.$ac_objext'
103244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103245   (eval $ac_try) 2>&5
103246   ac_status=$?
103247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103248   (exit $ac_status); }; }; then
103249   glibcxx_cv_func_logl_use=yes
103250 else
103251   echo "$as_me: failed program was:" >&5
103252 sed 's/^/| /' conftest.$ac_ext >&5
103253
103254 glibcxx_cv_func_logl_use=no
103255 fi
103256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103257       ac_ext=c
103258 ac_cpp='$CPP $CPPFLAGS'
103259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103262
103263
103264 fi
103265
103266   fi
103267   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
103268 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
103269
103270   if test x$glibcxx_cv_func_logl_use = x"yes"; then
103271
103272 for ac_func in logl
103273 do
103274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103275 echo "$as_me:$LINENO: checking for $ac_func" >&5
103276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103277 if eval "test \"\${$as_ac_var+set}\" = set"; then
103278   echo $ECHO_N "(cached) $ECHO_C" >&6
103279 else
103280   if test x$gcc_no_link = xyes; then
103281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103283    { (exit 1); exit 1; }; }
103284 fi
103285 cat >conftest.$ac_ext <<_ACEOF
103286 /* confdefs.h.  */
103287 _ACEOF
103288 cat confdefs.h >>conftest.$ac_ext
103289 cat >>conftest.$ac_ext <<_ACEOF
103290 /* end confdefs.h.  */
103291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103293 #define $ac_func innocuous_$ac_func
103294
103295 /* System header to define __stub macros and hopefully few prototypes,
103296     which can conflict with char $ac_func (); below.
103297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103298     <limits.h> exists even on freestanding compilers.  */
103299
103300 #ifdef __STDC__
103301 # include <limits.h>
103302 #else
103303 # include <assert.h>
103304 #endif
103305
103306 #undef $ac_func
103307
103308 /* Override any gcc2 internal prototype to avoid an error.  */
103309 #ifdef __cplusplus
103310 extern "C"
103311 {
103312 #endif
103313 /* We use char because int might match the return type of a gcc2
103314    builtin and then its argument prototype would still apply.  */
103315 char $ac_func ();
103316 /* The GNU C library defines this for functions which it implements
103317     to always fail with ENOSYS.  Some functions are actually named
103318     something starting with __ and the normal name is an alias.  */
103319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103320 choke me
103321 #else
103322 char (*f) () = $ac_func;
103323 #endif
103324 #ifdef __cplusplus
103325 }
103326 #endif
103327
103328 int
103329 main ()
103330 {
103331 return f != $ac_func;
103332   ;
103333   return 0;
103334 }
103335 _ACEOF
103336 rm -f conftest.$ac_objext conftest$ac_exeext
103337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103338   (eval $ac_link) 2>conftest.er1
103339   ac_status=$?
103340   grep -v '^ *+' conftest.er1 >conftest.err
103341   rm -f conftest.er1
103342   cat conftest.err >&5
103343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103344   (exit $ac_status); } &&
103345          { ac_try='test -z "$ac_c_werror_flag"
103346                          || test ! -s conftest.err'
103347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103348   (eval $ac_try) 2>&5
103349   ac_status=$?
103350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103351   (exit $ac_status); }; } &&
103352          { ac_try='test -s conftest$ac_exeext'
103353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103354   (eval $ac_try) 2>&5
103355   ac_status=$?
103356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103357   (exit $ac_status); }; }; then
103358   eval "$as_ac_var=yes"
103359 else
103360   echo "$as_me: failed program was:" >&5
103361 sed 's/^/| /' conftest.$ac_ext >&5
103362
103363 eval "$as_ac_var=no"
103364 fi
103365 rm -f conftest.err conftest.$ac_objext \
103366       conftest$ac_exeext conftest.$ac_ext
103367 fi
103368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103370 if test `eval echo '${'$as_ac_var'}'` = yes; then
103371   cat >>confdefs.h <<_ACEOF
103372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103373 _ACEOF
103374
103375 fi
103376 done
103377
103378   else
103379
103380   echo "$as_me:$LINENO: checking for _logl declaration" >&5
103381 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
103382   if test x${glibcxx_cv_func__logl_use+set} != xset; then
103383     if test "${glibcxx_cv_func__logl_use+set}" = set; then
103384   echo $ECHO_N "(cached) $ECHO_C" >&6
103385 else
103386
103387
103388
103389       ac_ext=cc
103390 ac_cpp='$CXXCPP $CPPFLAGS'
103391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103394
103395       cat >conftest.$ac_ext <<_ACEOF
103396 /* confdefs.h.  */
103397 _ACEOF
103398 cat confdefs.h >>conftest.$ac_ext
103399 cat >>conftest.$ac_ext <<_ACEOF
103400 /* end confdefs.h.  */
103401 #include <math.h>
103402                       #ifdef HAVE_IEEEFP_H
103403                       #include <ieeefp.h>
103404                       #endif
103405
103406 int
103407 main ()
103408 {
103409  _logl(0);
103410   ;
103411   return 0;
103412 }
103413 _ACEOF
103414 rm -f conftest.$ac_objext
103415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103416   (eval $ac_compile) 2>conftest.er1
103417   ac_status=$?
103418   grep -v '^ *+' conftest.er1 >conftest.err
103419   rm -f conftest.er1
103420   cat conftest.err >&5
103421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103422   (exit $ac_status); } &&
103423          { ac_try='test -z "$ac_cxx_werror_flag"
103424                          || test ! -s conftest.err'
103425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103426   (eval $ac_try) 2>&5
103427   ac_status=$?
103428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103429   (exit $ac_status); }; } &&
103430          { ac_try='test -s conftest.$ac_objext'
103431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103432   (eval $ac_try) 2>&5
103433   ac_status=$?
103434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103435   (exit $ac_status); }; }; then
103436   glibcxx_cv_func__logl_use=yes
103437 else
103438   echo "$as_me: failed program was:" >&5
103439 sed 's/^/| /' conftest.$ac_ext >&5
103440
103441 glibcxx_cv_func__logl_use=no
103442 fi
103443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103444       ac_ext=c
103445 ac_cpp='$CPP $CPPFLAGS'
103446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103449
103450
103451 fi
103452
103453   fi
103454   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
103455 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
103456
103457     if test x$glibcxx_cv_func__logl_use = x"yes"; then
103458
103459 for ac_func in _logl
103460 do
103461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103462 echo "$as_me:$LINENO: checking for $ac_func" >&5
103463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103464 if eval "test \"\${$as_ac_var+set}\" = set"; then
103465   echo $ECHO_N "(cached) $ECHO_C" >&6
103466 else
103467   if test x$gcc_no_link = xyes; then
103468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103470    { (exit 1); exit 1; }; }
103471 fi
103472 cat >conftest.$ac_ext <<_ACEOF
103473 /* confdefs.h.  */
103474 _ACEOF
103475 cat confdefs.h >>conftest.$ac_ext
103476 cat >>conftest.$ac_ext <<_ACEOF
103477 /* end confdefs.h.  */
103478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103480 #define $ac_func innocuous_$ac_func
103481
103482 /* System header to define __stub macros and hopefully few prototypes,
103483     which can conflict with char $ac_func (); below.
103484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103485     <limits.h> exists even on freestanding compilers.  */
103486
103487 #ifdef __STDC__
103488 # include <limits.h>
103489 #else
103490 # include <assert.h>
103491 #endif
103492
103493 #undef $ac_func
103494
103495 /* Override any gcc2 internal prototype to avoid an error.  */
103496 #ifdef __cplusplus
103497 extern "C"
103498 {
103499 #endif
103500 /* We use char because int might match the return type of a gcc2
103501    builtin and then its argument prototype would still apply.  */
103502 char $ac_func ();
103503 /* The GNU C library defines this for functions which it implements
103504     to always fail with ENOSYS.  Some functions are actually named
103505     something starting with __ and the normal name is an alias.  */
103506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103507 choke me
103508 #else
103509 char (*f) () = $ac_func;
103510 #endif
103511 #ifdef __cplusplus
103512 }
103513 #endif
103514
103515 int
103516 main ()
103517 {
103518 return f != $ac_func;
103519   ;
103520   return 0;
103521 }
103522 _ACEOF
103523 rm -f conftest.$ac_objext conftest$ac_exeext
103524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103525   (eval $ac_link) 2>conftest.er1
103526   ac_status=$?
103527   grep -v '^ *+' conftest.er1 >conftest.err
103528   rm -f conftest.er1
103529   cat conftest.err >&5
103530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103531   (exit $ac_status); } &&
103532          { ac_try='test -z "$ac_c_werror_flag"
103533                          || test ! -s conftest.err'
103534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103535   (eval $ac_try) 2>&5
103536   ac_status=$?
103537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103538   (exit $ac_status); }; } &&
103539          { ac_try='test -s conftest$ac_exeext'
103540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103541   (eval $ac_try) 2>&5
103542   ac_status=$?
103543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103544   (exit $ac_status); }; }; then
103545   eval "$as_ac_var=yes"
103546 else
103547   echo "$as_me: failed program was:" >&5
103548 sed 's/^/| /' conftest.$ac_ext >&5
103549
103550 eval "$as_ac_var=no"
103551 fi
103552 rm -f conftest.err conftest.$ac_objext \
103553       conftest$ac_exeext conftest.$ac_ext
103554 fi
103555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103557 if test `eval echo '${'$as_ac_var'}'` = yes; then
103558   cat >>confdefs.h <<_ACEOF
103559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103560 _ACEOF
103561
103562 fi
103563 done
103564
103565     fi
103566   fi
103567
103568
103569
103570
103571
103572
103573   echo "$as_me:$LINENO: checking for log10l declaration" >&5
103574 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103575   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103576     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103577   echo $ECHO_N "(cached) $ECHO_C" >&6
103578 else
103579
103580
103581
103582       ac_ext=cc
103583 ac_cpp='$CXXCPP $CPPFLAGS'
103584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103587
103588       cat >conftest.$ac_ext <<_ACEOF
103589 /* confdefs.h.  */
103590 _ACEOF
103591 cat confdefs.h >>conftest.$ac_ext
103592 cat >>conftest.$ac_ext <<_ACEOF
103593 /* end confdefs.h.  */
103594 #include <math.h>
103595                       #ifdef HAVE_IEEEFP_H
103596                       #include <ieeefp.h>
103597                       #endif
103598
103599 int
103600 main ()
103601 {
103602  log10l(0);
103603   ;
103604   return 0;
103605 }
103606 _ACEOF
103607 rm -f conftest.$ac_objext
103608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103609   (eval $ac_compile) 2>conftest.er1
103610   ac_status=$?
103611   grep -v '^ *+' conftest.er1 >conftest.err
103612   rm -f conftest.er1
103613   cat conftest.err >&5
103614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103615   (exit $ac_status); } &&
103616          { ac_try='test -z "$ac_cxx_werror_flag"
103617                          || test ! -s conftest.err'
103618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103619   (eval $ac_try) 2>&5
103620   ac_status=$?
103621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103622   (exit $ac_status); }; } &&
103623          { ac_try='test -s conftest.$ac_objext'
103624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103625   (eval $ac_try) 2>&5
103626   ac_status=$?
103627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103628   (exit $ac_status); }; }; then
103629   glibcxx_cv_func_log10l_use=yes
103630 else
103631   echo "$as_me: failed program was:" >&5
103632 sed 's/^/| /' conftest.$ac_ext >&5
103633
103634 glibcxx_cv_func_log10l_use=no
103635 fi
103636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103637       ac_ext=c
103638 ac_cpp='$CPP $CPPFLAGS'
103639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103642
103643
103644 fi
103645
103646   fi
103647   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103648 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103649
103650   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103651
103652 for ac_func in log10l
103653 do
103654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103655 echo "$as_me:$LINENO: checking for $ac_func" >&5
103656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103657 if eval "test \"\${$as_ac_var+set}\" = set"; then
103658   echo $ECHO_N "(cached) $ECHO_C" >&6
103659 else
103660   if test x$gcc_no_link = xyes; then
103661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103663    { (exit 1); exit 1; }; }
103664 fi
103665 cat >conftest.$ac_ext <<_ACEOF
103666 /* confdefs.h.  */
103667 _ACEOF
103668 cat confdefs.h >>conftest.$ac_ext
103669 cat >>conftest.$ac_ext <<_ACEOF
103670 /* end confdefs.h.  */
103671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103673 #define $ac_func innocuous_$ac_func
103674
103675 /* System header to define __stub macros and hopefully few prototypes,
103676     which can conflict with char $ac_func (); below.
103677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103678     <limits.h> exists even on freestanding compilers.  */
103679
103680 #ifdef __STDC__
103681 # include <limits.h>
103682 #else
103683 # include <assert.h>
103684 #endif
103685
103686 #undef $ac_func
103687
103688 /* Override any gcc2 internal prototype to avoid an error.  */
103689 #ifdef __cplusplus
103690 extern "C"
103691 {
103692 #endif
103693 /* We use char because int might match the return type of a gcc2
103694    builtin and then its argument prototype would still apply.  */
103695 char $ac_func ();
103696 /* The GNU C library defines this for functions which it implements
103697     to always fail with ENOSYS.  Some functions are actually named
103698     something starting with __ and the normal name is an alias.  */
103699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103700 choke me
103701 #else
103702 char (*f) () = $ac_func;
103703 #endif
103704 #ifdef __cplusplus
103705 }
103706 #endif
103707
103708 int
103709 main ()
103710 {
103711 return f != $ac_func;
103712   ;
103713   return 0;
103714 }
103715 _ACEOF
103716 rm -f conftest.$ac_objext conftest$ac_exeext
103717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103718   (eval $ac_link) 2>conftest.er1
103719   ac_status=$?
103720   grep -v '^ *+' conftest.er1 >conftest.err
103721   rm -f conftest.er1
103722   cat conftest.err >&5
103723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103724   (exit $ac_status); } &&
103725          { ac_try='test -z "$ac_c_werror_flag"
103726                          || test ! -s conftest.err'
103727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103728   (eval $ac_try) 2>&5
103729   ac_status=$?
103730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103731   (exit $ac_status); }; } &&
103732          { ac_try='test -s conftest$ac_exeext'
103733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103734   (eval $ac_try) 2>&5
103735   ac_status=$?
103736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103737   (exit $ac_status); }; }; then
103738   eval "$as_ac_var=yes"
103739 else
103740   echo "$as_me: failed program was:" >&5
103741 sed 's/^/| /' conftest.$ac_ext >&5
103742
103743 eval "$as_ac_var=no"
103744 fi
103745 rm -f conftest.err conftest.$ac_objext \
103746       conftest$ac_exeext conftest.$ac_ext
103747 fi
103748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103750 if test `eval echo '${'$as_ac_var'}'` = yes; then
103751   cat >>confdefs.h <<_ACEOF
103752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103753 _ACEOF
103754
103755 fi
103756 done
103757
103758   else
103759
103760   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103761 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103762   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103763     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103764   echo $ECHO_N "(cached) $ECHO_C" >&6
103765 else
103766
103767
103768
103769       ac_ext=cc
103770 ac_cpp='$CXXCPP $CPPFLAGS'
103771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103774
103775       cat >conftest.$ac_ext <<_ACEOF
103776 /* confdefs.h.  */
103777 _ACEOF
103778 cat confdefs.h >>conftest.$ac_ext
103779 cat >>conftest.$ac_ext <<_ACEOF
103780 /* end confdefs.h.  */
103781 #include <math.h>
103782                       #ifdef HAVE_IEEEFP_H
103783                       #include <ieeefp.h>
103784                       #endif
103785
103786 int
103787 main ()
103788 {
103789  _log10l(0);
103790   ;
103791   return 0;
103792 }
103793 _ACEOF
103794 rm -f conftest.$ac_objext
103795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103796   (eval $ac_compile) 2>conftest.er1
103797   ac_status=$?
103798   grep -v '^ *+' conftest.er1 >conftest.err
103799   rm -f conftest.er1
103800   cat conftest.err >&5
103801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103802   (exit $ac_status); } &&
103803          { ac_try='test -z "$ac_cxx_werror_flag"
103804                          || test ! -s conftest.err'
103805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103806   (eval $ac_try) 2>&5
103807   ac_status=$?
103808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103809   (exit $ac_status); }; } &&
103810          { ac_try='test -s conftest.$ac_objext'
103811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103812   (eval $ac_try) 2>&5
103813   ac_status=$?
103814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103815   (exit $ac_status); }; }; then
103816   glibcxx_cv_func__log10l_use=yes
103817 else
103818   echo "$as_me: failed program was:" >&5
103819 sed 's/^/| /' conftest.$ac_ext >&5
103820
103821 glibcxx_cv_func__log10l_use=no
103822 fi
103823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103824       ac_ext=c
103825 ac_cpp='$CPP $CPPFLAGS'
103826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103829
103830
103831 fi
103832
103833   fi
103834   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103835 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103836
103837     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103838
103839 for ac_func in _log10l
103840 do
103841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103842 echo "$as_me:$LINENO: checking for $ac_func" >&5
103843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103844 if eval "test \"\${$as_ac_var+set}\" = set"; then
103845   echo $ECHO_N "(cached) $ECHO_C" >&6
103846 else
103847   if test x$gcc_no_link = xyes; then
103848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103850    { (exit 1); exit 1; }; }
103851 fi
103852 cat >conftest.$ac_ext <<_ACEOF
103853 /* confdefs.h.  */
103854 _ACEOF
103855 cat confdefs.h >>conftest.$ac_ext
103856 cat >>conftest.$ac_ext <<_ACEOF
103857 /* end confdefs.h.  */
103858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103860 #define $ac_func innocuous_$ac_func
103861
103862 /* System header to define __stub macros and hopefully few prototypes,
103863     which can conflict with char $ac_func (); below.
103864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103865     <limits.h> exists even on freestanding compilers.  */
103866
103867 #ifdef __STDC__
103868 # include <limits.h>
103869 #else
103870 # include <assert.h>
103871 #endif
103872
103873 #undef $ac_func
103874
103875 /* Override any gcc2 internal prototype to avoid an error.  */
103876 #ifdef __cplusplus
103877 extern "C"
103878 {
103879 #endif
103880 /* We use char because int might match the return type of a gcc2
103881    builtin and then its argument prototype would still apply.  */
103882 char $ac_func ();
103883 /* The GNU C library defines this for functions which it implements
103884     to always fail with ENOSYS.  Some functions are actually named
103885     something starting with __ and the normal name is an alias.  */
103886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103887 choke me
103888 #else
103889 char (*f) () = $ac_func;
103890 #endif
103891 #ifdef __cplusplus
103892 }
103893 #endif
103894
103895 int
103896 main ()
103897 {
103898 return f != $ac_func;
103899   ;
103900   return 0;
103901 }
103902 _ACEOF
103903 rm -f conftest.$ac_objext conftest$ac_exeext
103904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103905   (eval $ac_link) 2>conftest.er1
103906   ac_status=$?
103907   grep -v '^ *+' conftest.er1 >conftest.err
103908   rm -f conftest.er1
103909   cat conftest.err >&5
103910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103911   (exit $ac_status); } &&
103912          { ac_try='test -z "$ac_c_werror_flag"
103913                          || test ! -s conftest.err'
103914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103915   (eval $ac_try) 2>&5
103916   ac_status=$?
103917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103918   (exit $ac_status); }; } &&
103919          { ac_try='test -s conftest$ac_exeext'
103920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103921   (eval $ac_try) 2>&5
103922   ac_status=$?
103923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103924   (exit $ac_status); }; }; then
103925   eval "$as_ac_var=yes"
103926 else
103927   echo "$as_me: failed program was:" >&5
103928 sed 's/^/| /' conftest.$ac_ext >&5
103929
103930 eval "$as_ac_var=no"
103931 fi
103932 rm -f conftest.err conftest.$ac_objext \
103933       conftest$ac_exeext conftest.$ac_ext
103934 fi
103935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103937 if test `eval echo '${'$as_ac_var'}'` = yes; then
103938   cat >>confdefs.h <<_ACEOF
103939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103940 _ACEOF
103941
103942 fi
103943 done
103944
103945     fi
103946   fi
103947
103948
103949
103950
103951
103952
103953   echo "$as_me:$LINENO: checking for modfl declaration" >&5
103954 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103955   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103956     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103957   echo $ECHO_N "(cached) $ECHO_C" >&6
103958 else
103959
103960
103961
103962       ac_ext=cc
103963 ac_cpp='$CXXCPP $CPPFLAGS'
103964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103967
103968       cat >conftest.$ac_ext <<_ACEOF
103969 /* confdefs.h.  */
103970 _ACEOF
103971 cat confdefs.h >>conftest.$ac_ext
103972 cat >>conftest.$ac_ext <<_ACEOF
103973 /* end confdefs.h.  */
103974 #include <math.h>
103975 int
103976 main ()
103977 {
103978  modfl(0, 0);
103979   ;
103980   return 0;
103981 }
103982 _ACEOF
103983 rm -f conftest.$ac_objext
103984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103985   (eval $ac_compile) 2>conftest.er1
103986   ac_status=$?
103987   grep -v '^ *+' conftest.er1 >conftest.err
103988   rm -f conftest.er1
103989   cat conftest.err >&5
103990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103991   (exit $ac_status); } &&
103992          { ac_try='test -z "$ac_cxx_werror_flag"
103993                          || test ! -s conftest.err'
103994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103995   (eval $ac_try) 2>&5
103996   ac_status=$?
103997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103998   (exit $ac_status); }; } &&
103999          { ac_try='test -s conftest.$ac_objext'
104000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104001   (eval $ac_try) 2>&5
104002   ac_status=$?
104003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104004   (exit $ac_status); }; }; then
104005   glibcxx_cv_func_modfl_use=yes
104006 else
104007   echo "$as_me: failed program was:" >&5
104008 sed 's/^/| /' conftest.$ac_ext >&5
104009
104010 glibcxx_cv_func_modfl_use=no
104011 fi
104012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104013       ac_ext=c
104014 ac_cpp='$CPP $CPPFLAGS'
104015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104018
104019
104020 fi
104021
104022   fi
104023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
104024 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
104025
104026   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
104027
104028 for ac_func in modfl
104029 do
104030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104031 echo "$as_me:$LINENO: checking for $ac_func" >&5
104032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104033 if eval "test \"\${$as_ac_var+set}\" = set"; then
104034   echo $ECHO_N "(cached) $ECHO_C" >&6
104035 else
104036   if test x$gcc_no_link = xyes; then
104037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104039    { (exit 1); exit 1; }; }
104040 fi
104041 cat >conftest.$ac_ext <<_ACEOF
104042 /* confdefs.h.  */
104043 _ACEOF
104044 cat confdefs.h >>conftest.$ac_ext
104045 cat >>conftest.$ac_ext <<_ACEOF
104046 /* end confdefs.h.  */
104047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104049 #define $ac_func innocuous_$ac_func
104050
104051 /* System header to define __stub macros and hopefully few prototypes,
104052     which can conflict with char $ac_func (); below.
104053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104054     <limits.h> exists even on freestanding compilers.  */
104055
104056 #ifdef __STDC__
104057 # include <limits.h>
104058 #else
104059 # include <assert.h>
104060 #endif
104061
104062 #undef $ac_func
104063
104064 /* Override any gcc2 internal prototype to avoid an error.  */
104065 #ifdef __cplusplus
104066 extern "C"
104067 {
104068 #endif
104069 /* We use char because int might match the return type of a gcc2
104070    builtin and then its argument prototype would still apply.  */
104071 char $ac_func ();
104072 /* The GNU C library defines this for functions which it implements
104073     to always fail with ENOSYS.  Some functions are actually named
104074     something starting with __ and the normal name is an alias.  */
104075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104076 choke me
104077 #else
104078 char (*f) () = $ac_func;
104079 #endif
104080 #ifdef __cplusplus
104081 }
104082 #endif
104083
104084 int
104085 main ()
104086 {
104087 return f != $ac_func;
104088   ;
104089   return 0;
104090 }
104091 _ACEOF
104092 rm -f conftest.$ac_objext conftest$ac_exeext
104093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104094   (eval $ac_link) 2>conftest.er1
104095   ac_status=$?
104096   grep -v '^ *+' conftest.er1 >conftest.err
104097   rm -f conftest.er1
104098   cat conftest.err >&5
104099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104100   (exit $ac_status); } &&
104101          { ac_try='test -z "$ac_c_werror_flag"
104102                          || test ! -s conftest.err'
104103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104104   (eval $ac_try) 2>&5
104105   ac_status=$?
104106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104107   (exit $ac_status); }; } &&
104108          { ac_try='test -s conftest$ac_exeext'
104109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104110   (eval $ac_try) 2>&5
104111   ac_status=$?
104112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104113   (exit $ac_status); }; }; then
104114   eval "$as_ac_var=yes"
104115 else
104116   echo "$as_me: failed program was:" >&5
104117 sed 's/^/| /' conftest.$ac_ext >&5
104118
104119 eval "$as_ac_var=no"
104120 fi
104121 rm -f conftest.err conftest.$ac_objext \
104122       conftest$ac_exeext conftest.$ac_ext
104123 fi
104124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104126 if test `eval echo '${'$as_ac_var'}'` = yes; then
104127   cat >>confdefs.h <<_ACEOF
104128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104129 _ACEOF
104130
104131 fi
104132 done
104133
104134   else
104135
104136   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
104137 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
104138   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
104139     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
104140   echo $ECHO_N "(cached) $ECHO_C" >&6
104141 else
104142
104143
104144
104145       ac_ext=cc
104146 ac_cpp='$CXXCPP $CPPFLAGS'
104147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104150
104151       cat >conftest.$ac_ext <<_ACEOF
104152 /* confdefs.h.  */
104153 _ACEOF
104154 cat confdefs.h >>conftest.$ac_ext
104155 cat >>conftest.$ac_ext <<_ACEOF
104156 /* end confdefs.h.  */
104157 #include <math.h>
104158 int
104159 main ()
104160 {
104161  _modfl(0, 0);
104162   ;
104163   return 0;
104164 }
104165 _ACEOF
104166 rm -f conftest.$ac_objext
104167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104168   (eval $ac_compile) 2>conftest.er1
104169   ac_status=$?
104170   grep -v '^ *+' conftest.er1 >conftest.err
104171   rm -f conftest.er1
104172   cat conftest.err >&5
104173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104174   (exit $ac_status); } &&
104175          { ac_try='test -z "$ac_cxx_werror_flag"
104176                          || test ! -s conftest.err'
104177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104178   (eval $ac_try) 2>&5
104179   ac_status=$?
104180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104181   (exit $ac_status); }; } &&
104182          { ac_try='test -s conftest.$ac_objext'
104183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104184   (eval $ac_try) 2>&5
104185   ac_status=$?
104186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104187   (exit $ac_status); }; }; then
104188   glibcxx_cv_func__modfl_use=yes
104189 else
104190   echo "$as_me: failed program was:" >&5
104191 sed 's/^/| /' conftest.$ac_ext >&5
104192
104193 glibcxx_cv_func__modfl_use=no
104194 fi
104195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104196       ac_ext=c
104197 ac_cpp='$CPP $CPPFLAGS'
104198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104201
104202
104203 fi
104204
104205   fi
104206   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
104207 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
104208
104209     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
104210
104211 for ac_func in _modfl
104212 do
104213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104214 echo "$as_me:$LINENO: checking for $ac_func" >&5
104215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104216 if eval "test \"\${$as_ac_var+set}\" = set"; then
104217   echo $ECHO_N "(cached) $ECHO_C" >&6
104218 else
104219   if test x$gcc_no_link = xyes; then
104220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104222    { (exit 1); exit 1; }; }
104223 fi
104224 cat >conftest.$ac_ext <<_ACEOF
104225 /* confdefs.h.  */
104226 _ACEOF
104227 cat confdefs.h >>conftest.$ac_ext
104228 cat >>conftest.$ac_ext <<_ACEOF
104229 /* end confdefs.h.  */
104230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104232 #define $ac_func innocuous_$ac_func
104233
104234 /* System header to define __stub macros and hopefully few prototypes,
104235     which can conflict with char $ac_func (); below.
104236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104237     <limits.h> exists even on freestanding compilers.  */
104238
104239 #ifdef __STDC__
104240 # include <limits.h>
104241 #else
104242 # include <assert.h>
104243 #endif
104244
104245 #undef $ac_func
104246
104247 /* Override any gcc2 internal prototype to avoid an error.  */
104248 #ifdef __cplusplus
104249 extern "C"
104250 {
104251 #endif
104252 /* We use char because int might match the return type of a gcc2
104253    builtin and then its argument prototype would still apply.  */
104254 char $ac_func ();
104255 /* The GNU C library defines this for functions which it implements
104256     to always fail with ENOSYS.  Some functions are actually named
104257     something starting with __ and the normal name is an alias.  */
104258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104259 choke me
104260 #else
104261 char (*f) () = $ac_func;
104262 #endif
104263 #ifdef __cplusplus
104264 }
104265 #endif
104266
104267 int
104268 main ()
104269 {
104270 return f != $ac_func;
104271   ;
104272   return 0;
104273 }
104274 _ACEOF
104275 rm -f conftest.$ac_objext conftest$ac_exeext
104276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104277   (eval $ac_link) 2>conftest.er1
104278   ac_status=$?
104279   grep -v '^ *+' conftest.er1 >conftest.err
104280   rm -f conftest.er1
104281   cat conftest.err >&5
104282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104283   (exit $ac_status); } &&
104284          { ac_try='test -z "$ac_c_werror_flag"
104285                          || test ! -s conftest.err'
104286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104287   (eval $ac_try) 2>&5
104288   ac_status=$?
104289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104290   (exit $ac_status); }; } &&
104291          { ac_try='test -s conftest$ac_exeext'
104292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104293   (eval $ac_try) 2>&5
104294   ac_status=$?
104295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104296   (exit $ac_status); }; }; then
104297   eval "$as_ac_var=yes"
104298 else
104299   echo "$as_me: failed program was:" >&5
104300 sed 's/^/| /' conftest.$ac_ext >&5
104301
104302 eval "$as_ac_var=no"
104303 fi
104304 rm -f conftest.err conftest.$ac_objext \
104305       conftest$ac_exeext conftest.$ac_ext
104306 fi
104307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104309 if test `eval echo '${'$as_ac_var'}'` = yes; then
104310   cat >>confdefs.h <<_ACEOF
104311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104312 _ACEOF
104313
104314 fi
104315 done
104316
104317     fi
104318   fi
104319
104320
104321
104322
104323
104324
104325   echo "$as_me:$LINENO: checking for powl declaration" >&5
104326 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
104327   if test x${glibcxx_cv_func_powl_use+set} != xset; then
104328     if test "${glibcxx_cv_func_powl_use+set}" = set; then
104329   echo $ECHO_N "(cached) $ECHO_C" >&6
104330 else
104331
104332
104333
104334       ac_ext=cc
104335 ac_cpp='$CXXCPP $CPPFLAGS'
104336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104339
104340       cat >conftest.$ac_ext <<_ACEOF
104341 /* confdefs.h.  */
104342 _ACEOF
104343 cat confdefs.h >>conftest.$ac_ext
104344 cat >>conftest.$ac_ext <<_ACEOF
104345 /* end confdefs.h.  */
104346 #include <math.h>
104347 int
104348 main ()
104349 {
104350  powl(0, 0);
104351   ;
104352   return 0;
104353 }
104354 _ACEOF
104355 rm -f conftest.$ac_objext
104356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104357   (eval $ac_compile) 2>conftest.er1
104358   ac_status=$?
104359   grep -v '^ *+' conftest.er1 >conftest.err
104360   rm -f conftest.er1
104361   cat conftest.err >&5
104362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104363   (exit $ac_status); } &&
104364          { ac_try='test -z "$ac_cxx_werror_flag"
104365                          || test ! -s conftest.err'
104366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104367   (eval $ac_try) 2>&5
104368   ac_status=$?
104369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104370   (exit $ac_status); }; } &&
104371          { ac_try='test -s conftest.$ac_objext'
104372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104373   (eval $ac_try) 2>&5
104374   ac_status=$?
104375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104376   (exit $ac_status); }; }; then
104377   glibcxx_cv_func_powl_use=yes
104378 else
104379   echo "$as_me: failed program was:" >&5
104380 sed 's/^/| /' conftest.$ac_ext >&5
104381
104382 glibcxx_cv_func_powl_use=no
104383 fi
104384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104385       ac_ext=c
104386 ac_cpp='$CPP $CPPFLAGS'
104387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104390
104391
104392 fi
104393
104394   fi
104395   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
104396 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
104397
104398   if test x$glibcxx_cv_func_powl_use = x"yes"; then
104399
104400 for ac_func in powl
104401 do
104402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104403 echo "$as_me:$LINENO: checking for $ac_func" >&5
104404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104405 if eval "test \"\${$as_ac_var+set}\" = set"; then
104406   echo $ECHO_N "(cached) $ECHO_C" >&6
104407 else
104408   if test x$gcc_no_link = xyes; then
104409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104411    { (exit 1); exit 1; }; }
104412 fi
104413 cat >conftest.$ac_ext <<_ACEOF
104414 /* confdefs.h.  */
104415 _ACEOF
104416 cat confdefs.h >>conftest.$ac_ext
104417 cat >>conftest.$ac_ext <<_ACEOF
104418 /* end confdefs.h.  */
104419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104421 #define $ac_func innocuous_$ac_func
104422
104423 /* System header to define __stub macros and hopefully few prototypes,
104424     which can conflict with char $ac_func (); below.
104425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104426     <limits.h> exists even on freestanding compilers.  */
104427
104428 #ifdef __STDC__
104429 # include <limits.h>
104430 #else
104431 # include <assert.h>
104432 #endif
104433
104434 #undef $ac_func
104435
104436 /* Override any gcc2 internal prototype to avoid an error.  */
104437 #ifdef __cplusplus
104438 extern "C"
104439 {
104440 #endif
104441 /* We use char because int might match the return type of a gcc2
104442    builtin and then its argument prototype would still apply.  */
104443 char $ac_func ();
104444 /* The GNU C library defines this for functions which it implements
104445     to always fail with ENOSYS.  Some functions are actually named
104446     something starting with __ and the normal name is an alias.  */
104447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104448 choke me
104449 #else
104450 char (*f) () = $ac_func;
104451 #endif
104452 #ifdef __cplusplus
104453 }
104454 #endif
104455
104456 int
104457 main ()
104458 {
104459 return f != $ac_func;
104460   ;
104461   return 0;
104462 }
104463 _ACEOF
104464 rm -f conftest.$ac_objext conftest$ac_exeext
104465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104466   (eval $ac_link) 2>conftest.er1
104467   ac_status=$?
104468   grep -v '^ *+' conftest.er1 >conftest.err
104469   rm -f conftest.er1
104470   cat conftest.err >&5
104471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104472   (exit $ac_status); } &&
104473          { ac_try='test -z "$ac_c_werror_flag"
104474                          || test ! -s conftest.err'
104475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104476   (eval $ac_try) 2>&5
104477   ac_status=$?
104478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104479   (exit $ac_status); }; } &&
104480          { ac_try='test -s conftest$ac_exeext'
104481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104482   (eval $ac_try) 2>&5
104483   ac_status=$?
104484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104485   (exit $ac_status); }; }; then
104486   eval "$as_ac_var=yes"
104487 else
104488   echo "$as_me: failed program was:" >&5
104489 sed 's/^/| /' conftest.$ac_ext >&5
104490
104491 eval "$as_ac_var=no"
104492 fi
104493 rm -f conftest.err conftest.$ac_objext \
104494       conftest$ac_exeext conftest.$ac_ext
104495 fi
104496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104498 if test `eval echo '${'$as_ac_var'}'` = yes; then
104499   cat >>confdefs.h <<_ACEOF
104500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104501 _ACEOF
104502
104503 fi
104504 done
104505
104506   else
104507
104508   echo "$as_me:$LINENO: checking for _powl declaration" >&5
104509 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
104510   if test x${glibcxx_cv_func__powl_use+set} != xset; then
104511     if test "${glibcxx_cv_func__powl_use+set}" = set; then
104512   echo $ECHO_N "(cached) $ECHO_C" >&6
104513 else
104514
104515
104516
104517       ac_ext=cc
104518 ac_cpp='$CXXCPP $CPPFLAGS'
104519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104522
104523       cat >conftest.$ac_ext <<_ACEOF
104524 /* confdefs.h.  */
104525 _ACEOF
104526 cat confdefs.h >>conftest.$ac_ext
104527 cat >>conftest.$ac_ext <<_ACEOF
104528 /* end confdefs.h.  */
104529 #include <math.h>
104530 int
104531 main ()
104532 {
104533  _powl(0, 0);
104534   ;
104535   return 0;
104536 }
104537 _ACEOF
104538 rm -f conftest.$ac_objext
104539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104540   (eval $ac_compile) 2>conftest.er1
104541   ac_status=$?
104542   grep -v '^ *+' conftest.er1 >conftest.err
104543   rm -f conftest.er1
104544   cat conftest.err >&5
104545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546   (exit $ac_status); } &&
104547          { ac_try='test -z "$ac_cxx_werror_flag"
104548                          || test ! -s conftest.err'
104549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104550   (eval $ac_try) 2>&5
104551   ac_status=$?
104552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104553   (exit $ac_status); }; } &&
104554          { ac_try='test -s conftest.$ac_objext'
104555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104556   (eval $ac_try) 2>&5
104557   ac_status=$?
104558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104559   (exit $ac_status); }; }; then
104560   glibcxx_cv_func__powl_use=yes
104561 else
104562   echo "$as_me: failed program was:" >&5
104563 sed 's/^/| /' conftest.$ac_ext >&5
104564
104565 glibcxx_cv_func__powl_use=no
104566 fi
104567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104568       ac_ext=c
104569 ac_cpp='$CPP $CPPFLAGS'
104570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104573
104574
104575 fi
104576
104577   fi
104578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104579 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104580
104581     if test x$glibcxx_cv_func__powl_use = x"yes"; then
104582
104583 for ac_func in _powl
104584 do
104585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104586 echo "$as_me:$LINENO: checking for $ac_func" >&5
104587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104588 if eval "test \"\${$as_ac_var+set}\" = set"; then
104589   echo $ECHO_N "(cached) $ECHO_C" >&6
104590 else
104591   if test x$gcc_no_link = xyes; then
104592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104594    { (exit 1); exit 1; }; }
104595 fi
104596 cat >conftest.$ac_ext <<_ACEOF
104597 /* confdefs.h.  */
104598 _ACEOF
104599 cat confdefs.h >>conftest.$ac_ext
104600 cat >>conftest.$ac_ext <<_ACEOF
104601 /* end confdefs.h.  */
104602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104604 #define $ac_func innocuous_$ac_func
104605
104606 /* System header to define __stub macros and hopefully few prototypes,
104607     which can conflict with char $ac_func (); below.
104608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104609     <limits.h> exists even on freestanding compilers.  */
104610
104611 #ifdef __STDC__
104612 # include <limits.h>
104613 #else
104614 # include <assert.h>
104615 #endif
104616
104617 #undef $ac_func
104618
104619 /* Override any gcc2 internal prototype to avoid an error.  */
104620 #ifdef __cplusplus
104621 extern "C"
104622 {
104623 #endif
104624 /* We use char because int might match the return type of a gcc2
104625    builtin and then its argument prototype would still apply.  */
104626 char $ac_func ();
104627 /* The GNU C library defines this for functions which it implements
104628     to always fail with ENOSYS.  Some functions are actually named
104629     something starting with __ and the normal name is an alias.  */
104630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104631 choke me
104632 #else
104633 char (*f) () = $ac_func;
104634 #endif
104635 #ifdef __cplusplus
104636 }
104637 #endif
104638
104639 int
104640 main ()
104641 {
104642 return f != $ac_func;
104643   ;
104644   return 0;
104645 }
104646 _ACEOF
104647 rm -f conftest.$ac_objext conftest$ac_exeext
104648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104649   (eval $ac_link) 2>conftest.er1
104650   ac_status=$?
104651   grep -v '^ *+' conftest.er1 >conftest.err
104652   rm -f conftest.er1
104653   cat conftest.err >&5
104654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104655   (exit $ac_status); } &&
104656          { ac_try='test -z "$ac_c_werror_flag"
104657                          || test ! -s conftest.err'
104658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104659   (eval $ac_try) 2>&5
104660   ac_status=$?
104661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104662   (exit $ac_status); }; } &&
104663          { ac_try='test -s conftest$ac_exeext'
104664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104665   (eval $ac_try) 2>&5
104666   ac_status=$?
104667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104668   (exit $ac_status); }; }; then
104669   eval "$as_ac_var=yes"
104670 else
104671   echo "$as_me: failed program was:" >&5
104672 sed 's/^/| /' conftest.$ac_ext >&5
104673
104674 eval "$as_ac_var=no"
104675 fi
104676 rm -f conftest.err conftest.$ac_objext \
104677       conftest$ac_exeext conftest.$ac_ext
104678 fi
104679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104681 if test `eval echo '${'$as_ac_var'}'` = yes; then
104682   cat >>confdefs.h <<_ACEOF
104683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104684 _ACEOF
104685
104686 fi
104687 done
104688
104689     fi
104690   fi
104691
104692
104693
104694
104695
104696
104697   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104698 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104699   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104700     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104701   echo $ECHO_N "(cached) $ECHO_C" >&6
104702 else
104703
104704
104705
104706       ac_ext=cc
104707 ac_cpp='$CXXCPP $CPPFLAGS'
104708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104711
104712       cat >conftest.$ac_ext <<_ACEOF
104713 /* confdefs.h.  */
104714 _ACEOF
104715 cat confdefs.h >>conftest.$ac_ext
104716 cat >>conftest.$ac_ext <<_ACEOF
104717 /* end confdefs.h.  */
104718 #include <math.h>
104719                       #ifdef HAVE_IEEEFP_H
104720                       #include <ieeefp.h>
104721                       #endif
104722
104723 int
104724 main ()
104725 {
104726  sqrtl(0);
104727   ;
104728   return 0;
104729 }
104730 _ACEOF
104731 rm -f conftest.$ac_objext
104732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104733   (eval $ac_compile) 2>conftest.er1
104734   ac_status=$?
104735   grep -v '^ *+' conftest.er1 >conftest.err
104736   rm -f conftest.er1
104737   cat conftest.err >&5
104738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104739   (exit $ac_status); } &&
104740          { ac_try='test -z "$ac_cxx_werror_flag"
104741                          || test ! -s conftest.err'
104742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104743   (eval $ac_try) 2>&5
104744   ac_status=$?
104745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746   (exit $ac_status); }; } &&
104747          { ac_try='test -s conftest.$ac_objext'
104748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104749   (eval $ac_try) 2>&5
104750   ac_status=$?
104751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752   (exit $ac_status); }; }; then
104753   glibcxx_cv_func_sqrtl_use=yes
104754 else
104755   echo "$as_me: failed program was:" >&5
104756 sed 's/^/| /' conftest.$ac_ext >&5
104757
104758 glibcxx_cv_func_sqrtl_use=no
104759 fi
104760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104761       ac_ext=c
104762 ac_cpp='$CPP $CPPFLAGS'
104763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104766
104767
104768 fi
104769
104770   fi
104771   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104772 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104773
104774   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104775
104776 for ac_func in sqrtl
104777 do
104778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104779 echo "$as_me:$LINENO: checking for $ac_func" >&5
104780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104781 if eval "test \"\${$as_ac_var+set}\" = set"; then
104782   echo $ECHO_N "(cached) $ECHO_C" >&6
104783 else
104784   if test x$gcc_no_link = xyes; then
104785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104787    { (exit 1); exit 1; }; }
104788 fi
104789 cat >conftest.$ac_ext <<_ACEOF
104790 /* confdefs.h.  */
104791 _ACEOF
104792 cat confdefs.h >>conftest.$ac_ext
104793 cat >>conftest.$ac_ext <<_ACEOF
104794 /* end confdefs.h.  */
104795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104797 #define $ac_func innocuous_$ac_func
104798
104799 /* System header to define __stub macros and hopefully few prototypes,
104800     which can conflict with char $ac_func (); below.
104801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104802     <limits.h> exists even on freestanding compilers.  */
104803
104804 #ifdef __STDC__
104805 # include <limits.h>
104806 #else
104807 # include <assert.h>
104808 #endif
104809
104810 #undef $ac_func
104811
104812 /* Override any gcc2 internal prototype to avoid an error.  */
104813 #ifdef __cplusplus
104814 extern "C"
104815 {
104816 #endif
104817 /* We use char because int might match the return type of a gcc2
104818    builtin and then its argument prototype would still apply.  */
104819 char $ac_func ();
104820 /* The GNU C library defines this for functions which it implements
104821     to always fail with ENOSYS.  Some functions are actually named
104822     something starting with __ and the normal name is an alias.  */
104823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104824 choke me
104825 #else
104826 char (*f) () = $ac_func;
104827 #endif
104828 #ifdef __cplusplus
104829 }
104830 #endif
104831
104832 int
104833 main ()
104834 {
104835 return f != $ac_func;
104836   ;
104837   return 0;
104838 }
104839 _ACEOF
104840 rm -f conftest.$ac_objext conftest$ac_exeext
104841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104842   (eval $ac_link) 2>conftest.er1
104843   ac_status=$?
104844   grep -v '^ *+' conftest.er1 >conftest.err
104845   rm -f conftest.er1
104846   cat conftest.err >&5
104847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104848   (exit $ac_status); } &&
104849          { ac_try='test -z "$ac_c_werror_flag"
104850                          || test ! -s conftest.err'
104851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104852   (eval $ac_try) 2>&5
104853   ac_status=$?
104854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104855   (exit $ac_status); }; } &&
104856          { ac_try='test -s conftest$ac_exeext'
104857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104858   (eval $ac_try) 2>&5
104859   ac_status=$?
104860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104861   (exit $ac_status); }; }; then
104862   eval "$as_ac_var=yes"
104863 else
104864   echo "$as_me: failed program was:" >&5
104865 sed 's/^/| /' conftest.$ac_ext >&5
104866
104867 eval "$as_ac_var=no"
104868 fi
104869 rm -f conftest.err conftest.$ac_objext \
104870       conftest$ac_exeext conftest.$ac_ext
104871 fi
104872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104874 if test `eval echo '${'$as_ac_var'}'` = yes; then
104875   cat >>confdefs.h <<_ACEOF
104876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104877 _ACEOF
104878
104879 fi
104880 done
104881
104882   else
104883
104884   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104885 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104886   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104887     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104888   echo $ECHO_N "(cached) $ECHO_C" >&6
104889 else
104890
104891
104892
104893       ac_ext=cc
104894 ac_cpp='$CXXCPP $CPPFLAGS'
104895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104898
104899       cat >conftest.$ac_ext <<_ACEOF
104900 /* confdefs.h.  */
104901 _ACEOF
104902 cat confdefs.h >>conftest.$ac_ext
104903 cat >>conftest.$ac_ext <<_ACEOF
104904 /* end confdefs.h.  */
104905 #include <math.h>
104906                       #ifdef HAVE_IEEEFP_H
104907                       #include <ieeefp.h>
104908                       #endif
104909
104910 int
104911 main ()
104912 {
104913  _sqrtl(0);
104914   ;
104915   return 0;
104916 }
104917 _ACEOF
104918 rm -f conftest.$ac_objext
104919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104920   (eval $ac_compile) 2>conftest.er1
104921   ac_status=$?
104922   grep -v '^ *+' conftest.er1 >conftest.err
104923   rm -f conftest.er1
104924   cat conftest.err >&5
104925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104926   (exit $ac_status); } &&
104927          { ac_try='test -z "$ac_cxx_werror_flag"
104928                          || test ! -s conftest.err'
104929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104930   (eval $ac_try) 2>&5
104931   ac_status=$?
104932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104933   (exit $ac_status); }; } &&
104934          { ac_try='test -s conftest.$ac_objext'
104935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104936   (eval $ac_try) 2>&5
104937   ac_status=$?
104938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104939   (exit $ac_status); }; }; then
104940   glibcxx_cv_func__sqrtl_use=yes
104941 else
104942   echo "$as_me: failed program was:" >&5
104943 sed 's/^/| /' conftest.$ac_ext >&5
104944
104945 glibcxx_cv_func__sqrtl_use=no
104946 fi
104947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104948       ac_ext=c
104949 ac_cpp='$CPP $CPPFLAGS'
104950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104953
104954
104955 fi
104956
104957   fi
104958   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104959 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104960
104961     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104962
104963 for ac_func in _sqrtl
104964 do
104965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104966 echo "$as_me:$LINENO: checking for $ac_func" >&5
104967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104968 if eval "test \"\${$as_ac_var+set}\" = set"; then
104969   echo $ECHO_N "(cached) $ECHO_C" >&6
104970 else
104971   if test x$gcc_no_link = xyes; then
104972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104974    { (exit 1); exit 1; }; }
104975 fi
104976 cat >conftest.$ac_ext <<_ACEOF
104977 /* confdefs.h.  */
104978 _ACEOF
104979 cat confdefs.h >>conftest.$ac_ext
104980 cat >>conftest.$ac_ext <<_ACEOF
104981 /* end confdefs.h.  */
104982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104984 #define $ac_func innocuous_$ac_func
104985
104986 /* System header to define __stub macros and hopefully few prototypes,
104987     which can conflict with char $ac_func (); below.
104988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104989     <limits.h> exists even on freestanding compilers.  */
104990
104991 #ifdef __STDC__
104992 # include <limits.h>
104993 #else
104994 # include <assert.h>
104995 #endif
104996
104997 #undef $ac_func
104998
104999 /* Override any gcc2 internal prototype to avoid an error.  */
105000 #ifdef __cplusplus
105001 extern "C"
105002 {
105003 #endif
105004 /* We use char because int might match the return type of a gcc2
105005    builtin and then its argument prototype would still apply.  */
105006 char $ac_func ();
105007 /* The GNU C library defines this for functions which it implements
105008     to always fail with ENOSYS.  Some functions are actually named
105009     something starting with __ and the normal name is an alias.  */
105010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105011 choke me
105012 #else
105013 char (*f) () = $ac_func;
105014 #endif
105015 #ifdef __cplusplus
105016 }
105017 #endif
105018
105019 int
105020 main ()
105021 {
105022 return f != $ac_func;
105023   ;
105024   return 0;
105025 }
105026 _ACEOF
105027 rm -f conftest.$ac_objext conftest$ac_exeext
105028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105029   (eval $ac_link) 2>conftest.er1
105030   ac_status=$?
105031   grep -v '^ *+' conftest.er1 >conftest.err
105032   rm -f conftest.er1
105033   cat conftest.err >&5
105034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105035   (exit $ac_status); } &&
105036          { ac_try='test -z "$ac_c_werror_flag"
105037                          || test ! -s conftest.err'
105038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105039   (eval $ac_try) 2>&5
105040   ac_status=$?
105041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105042   (exit $ac_status); }; } &&
105043          { ac_try='test -s conftest$ac_exeext'
105044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105045   (eval $ac_try) 2>&5
105046   ac_status=$?
105047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105048   (exit $ac_status); }; }; then
105049   eval "$as_ac_var=yes"
105050 else
105051   echo "$as_me: failed program was:" >&5
105052 sed 's/^/| /' conftest.$ac_ext >&5
105053
105054 eval "$as_ac_var=no"
105055 fi
105056 rm -f conftest.err conftest.$ac_objext \
105057       conftest$ac_exeext conftest.$ac_ext
105058 fi
105059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105061 if test `eval echo '${'$as_ac_var'}'` = yes; then
105062   cat >>confdefs.h <<_ACEOF
105063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105064 _ACEOF
105065
105066 fi
105067 done
105068
105069     fi
105070   fi
105071
105072
105073
105074
105075
105076
105077   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
105078 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
105079   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
105080     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
105081   echo $ECHO_N "(cached) $ECHO_C" >&6
105082 else
105083
105084
105085
105086       ac_ext=cc
105087 ac_cpp='$CXXCPP $CPPFLAGS'
105088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105091
105092       cat >conftest.$ac_ext <<_ACEOF
105093 /* confdefs.h.  */
105094 _ACEOF
105095 cat confdefs.h >>conftest.$ac_ext
105096 cat >>conftest.$ac_ext <<_ACEOF
105097 /* end confdefs.h.  */
105098 #include <math.h>
105099 int
105100 main ()
105101 {
105102  sincosl(0, 0, 0);
105103   ;
105104   return 0;
105105 }
105106 _ACEOF
105107 rm -f conftest.$ac_objext
105108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105109   (eval $ac_compile) 2>conftest.er1
105110   ac_status=$?
105111   grep -v '^ *+' conftest.er1 >conftest.err
105112   rm -f conftest.er1
105113   cat conftest.err >&5
105114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105115   (exit $ac_status); } &&
105116          { ac_try='test -z "$ac_cxx_werror_flag"
105117                          || test ! -s conftest.err'
105118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105119   (eval $ac_try) 2>&5
105120   ac_status=$?
105121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105122   (exit $ac_status); }; } &&
105123          { ac_try='test -s conftest.$ac_objext'
105124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105125   (eval $ac_try) 2>&5
105126   ac_status=$?
105127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105128   (exit $ac_status); }; }; then
105129   glibcxx_cv_func_sincosl_use=yes
105130 else
105131   echo "$as_me: failed program was:" >&5
105132 sed 's/^/| /' conftest.$ac_ext >&5
105133
105134 glibcxx_cv_func_sincosl_use=no
105135 fi
105136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105137       ac_ext=c
105138 ac_cpp='$CPP $CPPFLAGS'
105139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105142
105143
105144 fi
105145
105146   fi
105147   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
105148 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
105149
105150   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
105151
105152 for ac_func in sincosl
105153 do
105154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105155 echo "$as_me:$LINENO: checking for $ac_func" >&5
105156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105157 if eval "test \"\${$as_ac_var+set}\" = set"; then
105158   echo $ECHO_N "(cached) $ECHO_C" >&6
105159 else
105160   if test x$gcc_no_link = xyes; then
105161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105163    { (exit 1); exit 1; }; }
105164 fi
105165 cat >conftest.$ac_ext <<_ACEOF
105166 /* confdefs.h.  */
105167 _ACEOF
105168 cat confdefs.h >>conftest.$ac_ext
105169 cat >>conftest.$ac_ext <<_ACEOF
105170 /* end confdefs.h.  */
105171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105173 #define $ac_func innocuous_$ac_func
105174
105175 /* System header to define __stub macros and hopefully few prototypes,
105176     which can conflict with char $ac_func (); below.
105177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105178     <limits.h> exists even on freestanding compilers.  */
105179
105180 #ifdef __STDC__
105181 # include <limits.h>
105182 #else
105183 # include <assert.h>
105184 #endif
105185
105186 #undef $ac_func
105187
105188 /* Override any gcc2 internal prototype to avoid an error.  */
105189 #ifdef __cplusplus
105190 extern "C"
105191 {
105192 #endif
105193 /* We use char because int might match the return type of a gcc2
105194    builtin and then its argument prototype would still apply.  */
105195 char $ac_func ();
105196 /* The GNU C library defines this for functions which it implements
105197     to always fail with ENOSYS.  Some functions are actually named
105198     something starting with __ and the normal name is an alias.  */
105199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105200 choke me
105201 #else
105202 char (*f) () = $ac_func;
105203 #endif
105204 #ifdef __cplusplus
105205 }
105206 #endif
105207
105208 int
105209 main ()
105210 {
105211 return f != $ac_func;
105212   ;
105213   return 0;
105214 }
105215 _ACEOF
105216 rm -f conftest.$ac_objext conftest$ac_exeext
105217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105218   (eval $ac_link) 2>conftest.er1
105219   ac_status=$?
105220   grep -v '^ *+' conftest.er1 >conftest.err
105221   rm -f conftest.er1
105222   cat conftest.err >&5
105223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224   (exit $ac_status); } &&
105225          { ac_try='test -z "$ac_c_werror_flag"
105226                          || test ! -s conftest.err'
105227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105228   (eval $ac_try) 2>&5
105229   ac_status=$?
105230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105231   (exit $ac_status); }; } &&
105232          { ac_try='test -s conftest$ac_exeext'
105233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105234   (eval $ac_try) 2>&5
105235   ac_status=$?
105236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105237   (exit $ac_status); }; }; then
105238   eval "$as_ac_var=yes"
105239 else
105240   echo "$as_me: failed program was:" >&5
105241 sed 's/^/| /' conftest.$ac_ext >&5
105242
105243 eval "$as_ac_var=no"
105244 fi
105245 rm -f conftest.err conftest.$ac_objext \
105246       conftest$ac_exeext conftest.$ac_ext
105247 fi
105248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105250 if test `eval echo '${'$as_ac_var'}'` = yes; then
105251   cat >>confdefs.h <<_ACEOF
105252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105253 _ACEOF
105254
105255 fi
105256 done
105257
105258   else
105259
105260   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
105261 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
105262   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
105263     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
105264   echo $ECHO_N "(cached) $ECHO_C" >&6
105265 else
105266
105267
105268
105269       ac_ext=cc
105270 ac_cpp='$CXXCPP $CPPFLAGS'
105271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105274
105275       cat >conftest.$ac_ext <<_ACEOF
105276 /* confdefs.h.  */
105277 _ACEOF
105278 cat confdefs.h >>conftest.$ac_ext
105279 cat >>conftest.$ac_ext <<_ACEOF
105280 /* end confdefs.h.  */
105281 #include <math.h>
105282 int
105283 main ()
105284 {
105285  _sincosl(0, 0, 0);
105286   ;
105287   return 0;
105288 }
105289 _ACEOF
105290 rm -f conftest.$ac_objext
105291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105292   (eval $ac_compile) 2>conftest.er1
105293   ac_status=$?
105294   grep -v '^ *+' conftest.er1 >conftest.err
105295   rm -f conftest.er1
105296   cat conftest.err >&5
105297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105298   (exit $ac_status); } &&
105299          { ac_try='test -z "$ac_cxx_werror_flag"
105300                          || test ! -s conftest.err'
105301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105302   (eval $ac_try) 2>&5
105303   ac_status=$?
105304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105305   (exit $ac_status); }; } &&
105306          { ac_try='test -s conftest.$ac_objext'
105307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105308   (eval $ac_try) 2>&5
105309   ac_status=$?
105310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105311   (exit $ac_status); }; }; then
105312   glibcxx_cv_func__sincosl_use=yes
105313 else
105314   echo "$as_me: failed program was:" >&5
105315 sed 's/^/| /' conftest.$ac_ext >&5
105316
105317 glibcxx_cv_func__sincosl_use=no
105318 fi
105319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105320       ac_ext=c
105321 ac_cpp='$CPP $CPPFLAGS'
105322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105325
105326
105327 fi
105328
105329   fi
105330   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
105331 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
105332
105333     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
105334
105335 for ac_func in _sincosl
105336 do
105337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105338 echo "$as_me:$LINENO: checking for $ac_func" >&5
105339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105340 if eval "test \"\${$as_ac_var+set}\" = set"; then
105341   echo $ECHO_N "(cached) $ECHO_C" >&6
105342 else
105343   if test x$gcc_no_link = xyes; then
105344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105346    { (exit 1); exit 1; }; }
105347 fi
105348 cat >conftest.$ac_ext <<_ACEOF
105349 /* confdefs.h.  */
105350 _ACEOF
105351 cat confdefs.h >>conftest.$ac_ext
105352 cat >>conftest.$ac_ext <<_ACEOF
105353 /* end confdefs.h.  */
105354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105356 #define $ac_func innocuous_$ac_func
105357
105358 /* System header to define __stub macros and hopefully few prototypes,
105359     which can conflict with char $ac_func (); below.
105360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105361     <limits.h> exists even on freestanding compilers.  */
105362
105363 #ifdef __STDC__
105364 # include <limits.h>
105365 #else
105366 # include <assert.h>
105367 #endif
105368
105369 #undef $ac_func
105370
105371 /* Override any gcc2 internal prototype to avoid an error.  */
105372 #ifdef __cplusplus
105373 extern "C"
105374 {
105375 #endif
105376 /* We use char because int might match the return type of a gcc2
105377    builtin and then its argument prototype would still apply.  */
105378 char $ac_func ();
105379 /* The GNU C library defines this for functions which it implements
105380     to always fail with ENOSYS.  Some functions are actually named
105381     something starting with __ and the normal name is an alias.  */
105382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105383 choke me
105384 #else
105385 char (*f) () = $ac_func;
105386 #endif
105387 #ifdef __cplusplus
105388 }
105389 #endif
105390
105391 int
105392 main ()
105393 {
105394 return f != $ac_func;
105395   ;
105396   return 0;
105397 }
105398 _ACEOF
105399 rm -f conftest.$ac_objext conftest$ac_exeext
105400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105401   (eval $ac_link) 2>conftest.er1
105402   ac_status=$?
105403   grep -v '^ *+' conftest.er1 >conftest.err
105404   rm -f conftest.er1
105405   cat conftest.err >&5
105406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105407   (exit $ac_status); } &&
105408          { ac_try='test -z "$ac_c_werror_flag"
105409                          || test ! -s conftest.err'
105410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105411   (eval $ac_try) 2>&5
105412   ac_status=$?
105413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105414   (exit $ac_status); }; } &&
105415          { ac_try='test -s conftest$ac_exeext'
105416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105417   (eval $ac_try) 2>&5
105418   ac_status=$?
105419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105420   (exit $ac_status); }; }; then
105421   eval "$as_ac_var=yes"
105422 else
105423   echo "$as_me: failed program was:" >&5
105424 sed 's/^/| /' conftest.$ac_ext >&5
105425
105426 eval "$as_ac_var=no"
105427 fi
105428 rm -f conftest.err conftest.$ac_objext \
105429       conftest$ac_exeext conftest.$ac_ext
105430 fi
105431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105433 if test `eval echo '${'$as_ac_var'}'` = yes; then
105434   cat >>confdefs.h <<_ACEOF
105435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105436 _ACEOF
105437
105438 fi
105439 done
105440
105441     fi
105442   fi
105443
105444
105445
105446
105447
105448
105449   echo "$as_me:$LINENO: checking for finitel declaration" >&5
105450 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
105451   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
105452     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
105453   echo $ECHO_N "(cached) $ECHO_C" >&6
105454 else
105455
105456
105457
105458       ac_ext=cc
105459 ac_cpp='$CXXCPP $CPPFLAGS'
105460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105463
105464       cat >conftest.$ac_ext <<_ACEOF
105465 /* confdefs.h.  */
105466 _ACEOF
105467 cat confdefs.h >>conftest.$ac_ext
105468 cat >>conftest.$ac_ext <<_ACEOF
105469 /* end confdefs.h.  */
105470 #include <math.h>
105471                       #ifdef HAVE_IEEEFP_H
105472                       #include <ieeefp.h>
105473                       #endif
105474
105475 int
105476 main ()
105477 {
105478  finitel(0);
105479   ;
105480   return 0;
105481 }
105482 _ACEOF
105483 rm -f conftest.$ac_objext
105484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105485   (eval $ac_compile) 2>conftest.er1
105486   ac_status=$?
105487   grep -v '^ *+' conftest.er1 >conftest.err
105488   rm -f conftest.er1
105489   cat conftest.err >&5
105490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105491   (exit $ac_status); } &&
105492          { ac_try='test -z "$ac_cxx_werror_flag"
105493                          || test ! -s conftest.err'
105494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105495   (eval $ac_try) 2>&5
105496   ac_status=$?
105497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105498   (exit $ac_status); }; } &&
105499          { ac_try='test -s conftest.$ac_objext'
105500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105501   (eval $ac_try) 2>&5
105502   ac_status=$?
105503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105504   (exit $ac_status); }; }; then
105505   glibcxx_cv_func_finitel_use=yes
105506 else
105507   echo "$as_me: failed program was:" >&5
105508 sed 's/^/| /' conftest.$ac_ext >&5
105509
105510 glibcxx_cv_func_finitel_use=no
105511 fi
105512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105513       ac_ext=c
105514 ac_cpp='$CPP $CPPFLAGS'
105515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105518
105519
105520 fi
105521
105522   fi
105523   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
105524 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
105525
105526   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
105527
105528 for ac_func in finitel
105529 do
105530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105531 echo "$as_me:$LINENO: checking for $ac_func" >&5
105532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105533 if eval "test \"\${$as_ac_var+set}\" = set"; then
105534   echo $ECHO_N "(cached) $ECHO_C" >&6
105535 else
105536   if test x$gcc_no_link = xyes; then
105537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105539    { (exit 1); exit 1; }; }
105540 fi
105541 cat >conftest.$ac_ext <<_ACEOF
105542 /* confdefs.h.  */
105543 _ACEOF
105544 cat confdefs.h >>conftest.$ac_ext
105545 cat >>conftest.$ac_ext <<_ACEOF
105546 /* end confdefs.h.  */
105547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105549 #define $ac_func innocuous_$ac_func
105550
105551 /* System header to define __stub macros and hopefully few prototypes,
105552     which can conflict with char $ac_func (); below.
105553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105554     <limits.h> exists even on freestanding compilers.  */
105555
105556 #ifdef __STDC__
105557 # include <limits.h>
105558 #else
105559 # include <assert.h>
105560 #endif
105561
105562 #undef $ac_func
105563
105564 /* Override any gcc2 internal prototype to avoid an error.  */
105565 #ifdef __cplusplus
105566 extern "C"
105567 {
105568 #endif
105569 /* We use char because int might match the return type of a gcc2
105570    builtin and then its argument prototype would still apply.  */
105571 char $ac_func ();
105572 /* The GNU C library defines this for functions which it implements
105573     to always fail with ENOSYS.  Some functions are actually named
105574     something starting with __ and the normal name is an alias.  */
105575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105576 choke me
105577 #else
105578 char (*f) () = $ac_func;
105579 #endif
105580 #ifdef __cplusplus
105581 }
105582 #endif
105583
105584 int
105585 main ()
105586 {
105587 return f != $ac_func;
105588   ;
105589   return 0;
105590 }
105591 _ACEOF
105592 rm -f conftest.$ac_objext conftest$ac_exeext
105593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105594   (eval $ac_link) 2>conftest.er1
105595   ac_status=$?
105596   grep -v '^ *+' conftest.er1 >conftest.err
105597   rm -f conftest.er1
105598   cat conftest.err >&5
105599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105600   (exit $ac_status); } &&
105601          { ac_try='test -z "$ac_c_werror_flag"
105602                          || test ! -s conftest.err'
105603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105604   (eval $ac_try) 2>&5
105605   ac_status=$?
105606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105607   (exit $ac_status); }; } &&
105608          { ac_try='test -s conftest$ac_exeext'
105609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105610   (eval $ac_try) 2>&5
105611   ac_status=$?
105612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105613   (exit $ac_status); }; }; then
105614   eval "$as_ac_var=yes"
105615 else
105616   echo "$as_me: failed program was:" >&5
105617 sed 's/^/| /' conftest.$ac_ext >&5
105618
105619 eval "$as_ac_var=no"
105620 fi
105621 rm -f conftest.err conftest.$ac_objext \
105622       conftest$ac_exeext conftest.$ac_ext
105623 fi
105624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105626 if test `eval echo '${'$as_ac_var'}'` = yes; then
105627   cat >>confdefs.h <<_ACEOF
105628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105629 _ACEOF
105630
105631 fi
105632 done
105633
105634   else
105635
105636   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105637 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105638   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105639     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105640   echo $ECHO_N "(cached) $ECHO_C" >&6
105641 else
105642
105643
105644
105645       ac_ext=cc
105646 ac_cpp='$CXXCPP $CPPFLAGS'
105647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105650
105651       cat >conftest.$ac_ext <<_ACEOF
105652 /* confdefs.h.  */
105653 _ACEOF
105654 cat confdefs.h >>conftest.$ac_ext
105655 cat >>conftest.$ac_ext <<_ACEOF
105656 /* end confdefs.h.  */
105657 #include <math.h>
105658                       #ifdef HAVE_IEEEFP_H
105659                       #include <ieeefp.h>
105660                       #endif
105661
105662 int
105663 main ()
105664 {
105665  _finitel(0);
105666   ;
105667   return 0;
105668 }
105669 _ACEOF
105670 rm -f conftest.$ac_objext
105671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105672   (eval $ac_compile) 2>conftest.er1
105673   ac_status=$?
105674   grep -v '^ *+' conftest.er1 >conftest.err
105675   rm -f conftest.er1
105676   cat conftest.err >&5
105677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105678   (exit $ac_status); } &&
105679          { ac_try='test -z "$ac_cxx_werror_flag"
105680                          || test ! -s conftest.err'
105681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105682   (eval $ac_try) 2>&5
105683   ac_status=$?
105684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105685   (exit $ac_status); }; } &&
105686          { ac_try='test -s conftest.$ac_objext'
105687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105688   (eval $ac_try) 2>&5
105689   ac_status=$?
105690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105691   (exit $ac_status); }; }; then
105692   glibcxx_cv_func__finitel_use=yes
105693 else
105694   echo "$as_me: failed program was:" >&5
105695 sed 's/^/| /' conftest.$ac_ext >&5
105696
105697 glibcxx_cv_func__finitel_use=no
105698 fi
105699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105700       ac_ext=c
105701 ac_cpp='$CPP $CPPFLAGS'
105702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105705
105706
105707 fi
105708
105709   fi
105710   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105711 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105712
105713     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105714
105715 for ac_func in _finitel
105716 do
105717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105718 echo "$as_me:$LINENO: checking for $ac_func" >&5
105719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105720 if eval "test \"\${$as_ac_var+set}\" = set"; then
105721   echo $ECHO_N "(cached) $ECHO_C" >&6
105722 else
105723   if test x$gcc_no_link = xyes; then
105724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105726    { (exit 1); exit 1; }; }
105727 fi
105728 cat >conftest.$ac_ext <<_ACEOF
105729 /* confdefs.h.  */
105730 _ACEOF
105731 cat confdefs.h >>conftest.$ac_ext
105732 cat >>conftest.$ac_ext <<_ACEOF
105733 /* end confdefs.h.  */
105734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105736 #define $ac_func innocuous_$ac_func
105737
105738 /* System header to define __stub macros and hopefully few prototypes,
105739     which can conflict with char $ac_func (); below.
105740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105741     <limits.h> exists even on freestanding compilers.  */
105742
105743 #ifdef __STDC__
105744 # include <limits.h>
105745 #else
105746 # include <assert.h>
105747 #endif
105748
105749 #undef $ac_func
105750
105751 /* Override any gcc2 internal prototype to avoid an error.  */
105752 #ifdef __cplusplus
105753 extern "C"
105754 {
105755 #endif
105756 /* We use char because int might match the return type of a gcc2
105757    builtin and then its argument prototype would still apply.  */
105758 char $ac_func ();
105759 /* The GNU C library defines this for functions which it implements
105760     to always fail with ENOSYS.  Some functions are actually named
105761     something starting with __ and the normal name is an alias.  */
105762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105763 choke me
105764 #else
105765 char (*f) () = $ac_func;
105766 #endif
105767 #ifdef __cplusplus
105768 }
105769 #endif
105770
105771 int
105772 main ()
105773 {
105774 return f != $ac_func;
105775   ;
105776   return 0;
105777 }
105778 _ACEOF
105779 rm -f conftest.$ac_objext conftest$ac_exeext
105780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105781   (eval $ac_link) 2>conftest.er1
105782   ac_status=$?
105783   grep -v '^ *+' conftest.er1 >conftest.err
105784   rm -f conftest.er1
105785   cat conftest.err >&5
105786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105787   (exit $ac_status); } &&
105788          { ac_try='test -z "$ac_c_werror_flag"
105789                          || test ! -s conftest.err'
105790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105791   (eval $ac_try) 2>&5
105792   ac_status=$?
105793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105794   (exit $ac_status); }; } &&
105795          { ac_try='test -s conftest$ac_exeext'
105796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105797   (eval $ac_try) 2>&5
105798   ac_status=$?
105799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105800   (exit $ac_status); }; }; then
105801   eval "$as_ac_var=yes"
105802 else
105803   echo "$as_me: failed program was:" >&5
105804 sed 's/^/| /' conftest.$ac_ext >&5
105805
105806 eval "$as_ac_var=no"
105807 fi
105808 rm -f conftest.err conftest.$ac_objext \
105809       conftest$ac_exeext conftest.$ac_ext
105810 fi
105811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105813 if test `eval echo '${'$as_ac_var'}'` = yes; then
105814   cat >>confdefs.h <<_ACEOF
105815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105816 _ACEOF
105817
105818 fi
105819 done
105820
105821     fi
105822   fi
105823
105824
105825
105826
105827
105828   LIBS="$ac_save_LIBS"
105829   CXXFLAGS="$ac_save_CXXFLAGS"
105830
105831
105832
105833   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105834 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105835   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105836     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105837   echo $ECHO_N "(cached) $ECHO_C" >&6
105838 else
105839
105840
105841
105842       ac_ext=cc
105843 ac_cpp='$CXXCPP $CPPFLAGS'
105844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105847
105848       cat >conftest.$ac_ext <<_ACEOF
105849 /* confdefs.h.  */
105850 _ACEOF
105851 cat confdefs.h >>conftest.$ac_ext
105852 cat >>conftest.$ac_ext <<_ACEOF
105853 /* end confdefs.h.  */
105854 #include <math.h>
105855 int
105856 main ()
105857 {
105858  __builtin_abs(0);
105859   ;
105860   return 0;
105861 }
105862 _ACEOF
105863 rm -f conftest.$ac_objext
105864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105865   (eval $ac_compile) 2>conftest.er1
105866   ac_status=$?
105867   grep -v '^ *+' conftest.er1 >conftest.err
105868   rm -f conftest.er1
105869   cat conftest.err >&5
105870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105871   (exit $ac_status); } &&
105872          { ac_try='test -z "$ac_cxx_werror_flag"
105873                          || test ! -s conftest.err'
105874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105875   (eval $ac_try) 2>&5
105876   ac_status=$?
105877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105878   (exit $ac_status); }; } &&
105879          { ac_try='test -s conftest.$ac_objext'
105880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105881   (eval $ac_try) 2>&5
105882   ac_status=$?
105883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105884   (exit $ac_status); }; }; then
105885   glibcxx_cv_func___builtin_abs_use=yes
105886 else
105887   echo "$as_me: failed program was:" >&5
105888 sed 's/^/| /' conftest.$ac_ext >&5
105889
105890 glibcxx_cv_func___builtin_abs_use=no
105891 fi
105892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105893       ac_ext=c
105894 ac_cpp='$CPP $CPPFLAGS'
105895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105898
105899
105900 fi
105901
105902   fi
105903   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105904 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105905   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105906     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105907 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105908     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105909       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105910   echo $ECHO_N "(cached) $ECHO_C" >&6
105911 else
105912
105913         if test x$gcc_no_link = xyes; then
105914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105916    { (exit 1); exit 1; }; }
105917 fi
105918 cat >conftest.$ac_ext <<_ACEOF
105919 /* confdefs.h.  */
105920 _ACEOF
105921 cat confdefs.h >>conftest.$ac_ext
105922 cat >>conftest.$ac_ext <<_ACEOF
105923 /* end confdefs.h.  */
105924 #include <math.h>
105925 int
105926 main ()
105927 {
105928  __builtin_abs(0);
105929   ;
105930   return 0;
105931 }
105932 _ACEOF
105933 rm -f conftest.$ac_objext conftest$ac_exeext
105934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105935   (eval $ac_link) 2>conftest.er1
105936   ac_status=$?
105937   grep -v '^ *+' conftest.er1 >conftest.err
105938   rm -f conftest.er1
105939   cat conftest.err >&5
105940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105941   (exit $ac_status); } &&
105942          { ac_try='test -z "$ac_c_werror_flag"
105943                          || test ! -s conftest.err'
105944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105945   (eval $ac_try) 2>&5
105946   ac_status=$?
105947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948   (exit $ac_status); }; } &&
105949          { ac_try='test -s conftest$ac_exeext'
105950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105951   (eval $ac_try) 2>&5
105952   ac_status=$?
105953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105954   (exit $ac_status); }; }; then
105955   glibcxx_cv_func___builtin_abs_link=yes
105956 else
105957   echo "$as_me: failed program was:" >&5
105958 sed 's/^/| /' conftest.$ac_ext >&5
105959
105960 glibcxx_cv_func___builtin_abs_link=no
105961 fi
105962 rm -f conftest.err conftest.$ac_objext \
105963       conftest$ac_exeext conftest.$ac_ext
105964
105965 fi
105966
105967     fi
105968     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105969 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105970
105971     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105972
105973 cat >>confdefs.h <<\_ACEOF
105974 #define HAVE___BUILTIN_ABS 1
105975 _ACEOF
105976
105977     fi
105978
105979   fi
105980
105981
105982   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105983 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105984   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105985     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105986   echo $ECHO_N "(cached) $ECHO_C" >&6
105987 else
105988
105989
105990
105991       ac_ext=cc
105992 ac_cpp='$CXXCPP $CPPFLAGS'
105993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105996
105997       cat >conftest.$ac_ext <<_ACEOF
105998 /* confdefs.h.  */
105999 _ACEOF
106000 cat confdefs.h >>conftest.$ac_ext
106001 cat >>conftest.$ac_ext <<_ACEOF
106002 /* end confdefs.h.  */
106003 #include <math.h>
106004 int
106005 main ()
106006 {
106007  __builtin_fabsf(0);
106008   ;
106009   return 0;
106010 }
106011 _ACEOF
106012 rm -f conftest.$ac_objext
106013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106014   (eval $ac_compile) 2>conftest.er1
106015   ac_status=$?
106016   grep -v '^ *+' conftest.er1 >conftest.err
106017   rm -f conftest.er1
106018   cat conftest.err >&5
106019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106020   (exit $ac_status); } &&
106021          { ac_try='test -z "$ac_cxx_werror_flag"
106022                          || test ! -s conftest.err'
106023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106024   (eval $ac_try) 2>&5
106025   ac_status=$?
106026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106027   (exit $ac_status); }; } &&
106028          { ac_try='test -s conftest.$ac_objext'
106029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106030   (eval $ac_try) 2>&5
106031   ac_status=$?
106032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106033   (exit $ac_status); }; }; then
106034   glibcxx_cv_func___builtin_fabsf_use=yes
106035 else
106036   echo "$as_me: failed program was:" >&5
106037 sed 's/^/| /' conftest.$ac_ext >&5
106038
106039 glibcxx_cv_func___builtin_fabsf_use=no
106040 fi
106041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106042       ac_ext=c
106043 ac_cpp='$CPP $CPPFLAGS'
106044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106047
106048
106049 fi
106050
106051   fi
106052   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
106053 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
106054   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
106055     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
106056 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
106057     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
106058       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
106059   echo $ECHO_N "(cached) $ECHO_C" >&6
106060 else
106061
106062         if test x$gcc_no_link = xyes; then
106063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106065    { (exit 1); exit 1; }; }
106066 fi
106067 cat >conftest.$ac_ext <<_ACEOF
106068 /* confdefs.h.  */
106069 _ACEOF
106070 cat confdefs.h >>conftest.$ac_ext
106071 cat >>conftest.$ac_ext <<_ACEOF
106072 /* end confdefs.h.  */
106073 #include <math.h>
106074 int
106075 main ()
106076 {
106077  __builtin_fabsf(0);
106078   ;
106079   return 0;
106080 }
106081 _ACEOF
106082 rm -f conftest.$ac_objext conftest$ac_exeext
106083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106084   (eval $ac_link) 2>conftest.er1
106085   ac_status=$?
106086   grep -v '^ *+' conftest.er1 >conftest.err
106087   rm -f conftest.er1
106088   cat conftest.err >&5
106089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106090   (exit $ac_status); } &&
106091          { ac_try='test -z "$ac_c_werror_flag"
106092                          || test ! -s conftest.err'
106093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106094   (eval $ac_try) 2>&5
106095   ac_status=$?
106096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106097   (exit $ac_status); }; } &&
106098          { ac_try='test -s conftest$ac_exeext'
106099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106100   (eval $ac_try) 2>&5
106101   ac_status=$?
106102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106103   (exit $ac_status); }; }; then
106104   glibcxx_cv_func___builtin_fabsf_link=yes
106105 else
106106   echo "$as_me: failed program was:" >&5
106107 sed 's/^/| /' conftest.$ac_ext >&5
106108
106109 glibcxx_cv_func___builtin_fabsf_link=no
106110 fi
106111 rm -f conftest.err conftest.$ac_objext \
106112       conftest$ac_exeext conftest.$ac_ext
106113
106114 fi
106115
106116     fi
106117     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
106118 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
106119
106120     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
106121
106122 cat >>confdefs.h <<\_ACEOF
106123 #define HAVE___BUILTIN_FABSF 1
106124 _ACEOF
106125
106126     fi
106127
106128   fi
106129
106130
106131   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
106132 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
106133   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
106134     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
106135   echo $ECHO_N "(cached) $ECHO_C" >&6
106136 else
106137
106138
106139
106140       ac_ext=cc
106141 ac_cpp='$CXXCPP $CPPFLAGS'
106142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106145
106146       cat >conftest.$ac_ext <<_ACEOF
106147 /* confdefs.h.  */
106148 _ACEOF
106149 cat confdefs.h >>conftest.$ac_ext
106150 cat >>conftest.$ac_ext <<_ACEOF
106151 /* end confdefs.h.  */
106152 #include <math.h>
106153 int
106154 main ()
106155 {
106156  __builtin_fabs(0);
106157   ;
106158   return 0;
106159 }
106160 _ACEOF
106161 rm -f conftest.$ac_objext
106162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106163   (eval $ac_compile) 2>conftest.er1
106164   ac_status=$?
106165   grep -v '^ *+' conftest.er1 >conftest.err
106166   rm -f conftest.er1
106167   cat conftest.err >&5
106168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106169   (exit $ac_status); } &&
106170          { ac_try='test -z "$ac_cxx_werror_flag"
106171                          || test ! -s conftest.err'
106172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106173   (eval $ac_try) 2>&5
106174   ac_status=$?
106175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106176   (exit $ac_status); }; } &&
106177          { ac_try='test -s conftest.$ac_objext'
106178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106179   (eval $ac_try) 2>&5
106180   ac_status=$?
106181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106182   (exit $ac_status); }; }; then
106183   glibcxx_cv_func___builtin_fabs_use=yes
106184 else
106185   echo "$as_me: failed program was:" >&5
106186 sed 's/^/| /' conftest.$ac_ext >&5
106187
106188 glibcxx_cv_func___builtin_fabs_use=no
106189 fi
106190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106191       ac_ext=c
106192 ac_cpp='$CPP $CPPFLAGS'
106193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106196
106197
106198 fi
106199
106200   fi
106201   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
106202 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
106203   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
106204     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
106205 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
106206     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
106207       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
106208   echo $ECHO_N "(cached) $ECHO_C" >&6
106209 else
106210
106211         if test x$gcc_no_link = xyes; then
106212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106214    { (exit 1); exit 1; }; }
106215 fi
106216 cat >conftest.$ac_ext <<_ACEOF
106217 /* confdefs.h.  */
106218 _ACEOF
106219 cat confdefs.h >>conftest.$ac_ext
106220 cat >>conftest.$ac_ext <<_ACEOF
106221 /* end confdefs.h.  */
106222 #include <math.h>
106223 int
106224 main ()
106225 {
106226  __builtin_fabs(0);
106227   ;
106228   return 0;
106229 }
106230 _ACEOF
106231 rm -f conftest.$ac_objext conftest$ac_exeext
106232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106233   (eval $ac_link) 2>conftest.er1
106234   ac_status=$?
106235   grep -v '^ *+' conftest.er1 >conftest.err
106236   rm -f conftest.er1
106237   cat conftest.err >&5
106238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106239   (exit $ac_status); } &&
106240          { ac_try='test -z "$ac_c_werror_flag"
106241                          || test ! -s conftest.err'
106242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106243   (eval $ac_try) 2>&5
106244   ac_status=$?
106245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106246   (exit $ac_status); }; } &&
106247          { ac_try='test -s conftest$ac_exeext'
106248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106249   (eval $ac_try) 2>&5
106250   ac_status=$?
106251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106252   (exit $ac_status); }; }; then
106253   glibcxx_cv_func___builtin_fabs_link=yes
106254 else
106255   echo "$as_me: failed program was:" >&5
106256 sed 's/^/| /' conftest.$ac_ext >&5
106257
106258 glibcxx_cv_func___builtin_fabs_link=no
106259 fi
106260 rm -f conftest.err conftest.$ac_objext \
106261       conftest$ac_exeext conftest.$ac_ext
106262
106263 fi
106264
106265     fi
106266     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
106267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
106268
106269     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
106270
106271 cat >>confdefs.h <<\_ACEOF
106272 #define HAVE___BUILTIN_FABS 1
106273 _ACEOF
106274
106275     fi
106276
106277   fi
106278
106279
106280   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
106281 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
106282   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
106283     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
106284   echo $ECHO_N "(cached) $ECHO_C" >&6
106285 else
106286
106287
106288
106289       ac_ext=cc
106290 ac_cpp='$CXXCPP $CPPFLAGS'
106291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106294
106295       cat >conftest.$ac_ext <<_ACEOF
106296 /* confdefs.h.  */
106297 _ACEOF
106298 cat confdefs.h >>conftest.$ac_ext
106299 cat >>conftest.$ac_ext <<_ACEOF
106300 /* end confdefs.h.  */
106301 #include <math.h>
106302 int
106303 main ()
106304 {
106305  __builtin_fabsl(0);
106306   ;
106307   return 0;
106308 }
106309 _ACEOF
106310 rm -f conftest.$ac_objext
106311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106312   (eval $ac_compile) 2>conftest.er1
106313   ac_status=$?
106314   grep -v '^ *+' conftest.er1 >conftest.err
106315   rm -f conftest.er1
106316   cat conftest.err >&5
106317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106318   (exit $ac_status); } &&
106319          { ac_try='test -z "$ac_cxx_werror_flag"
106320                          || test ! -s conftest.err'
106321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106322   (eval $ac_try) 2>&5
106323   ac_status=$?
106324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106325   (exit $ac_status); }; } &&
106326          { ac_try='test -s conftest.$ac_objext'
106327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106328   (eval $ac_try) 2>&5
106329   ac_status=$?
106330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106331   (exit $ac_status); }; }; then
106332   glibcxx_cv_func___builtin_fabsl_use=yes
106333 else
106334   echo "$as_me: failed program was:" >&5
106335 sed 's/^/| /' conftest.$ac_ext >&5
106336
106337 glibcxx_cv_func___builtin_fabsl_use=no
106338 fi
106339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106340       ac_ext=c
106341 ac_cpp='$CPP $CPPFLAGS'
106342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106345
106346
106347 fi
106348
106349   fi
106350   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
106351 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
106352   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
106353     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
106354 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
106355     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
106356       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
106357   echo $ECHO_N "(cached) $ECHO_C" >&6
106358 else
106359
106360         if test x$gcc_no_link = xyes; then
106361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106363    { (exit 1); exit 1; }; }
106364 fi
106365 cat >conftest.$ac_ext <<_ACEOF
106366 /* confdefs.h.  */
106367 _ACEOF
106368 cat confdefs.h >>conftest.$ac_ext
106369 cat >>conftest.$ac_ext <<_ACEOF
106370 /* end confdefs.h.  */
106371 #include <math.h>
106372 int
106373 main ()
106374 {
106375  __builtin_fabsl(0);
106376   ;
106377   return 0;
106378 }
106379 _ACEOF
106380 rm -f conftest.$ac_objext conftest$ac_exeext
106381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106382   (eval $ac_link) 2>conftest.er1
106383   ac_status=$?
106384   grep -v '^ *+' conftest.er1 >conftest.err
106385   rm -f conftest.er1
106386   cat conftest.err >&5
106387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106388   (exit $ac_status); } &&
106389          { ac_try='test -z "$ac_c_werror_flag"
106390                          || test ! -s conftest.err'
106391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106392   (eval $ac_try) 2>&5
106393   ac_status=$?
106394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106395   (exit $ac_status); }; } &&
106396          { ac_try='test -s conftest$ac_exeext'
106397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106398   (eval $ac_try) 2>&5
106399   ac_status=$?
106400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106401   (exit $ac_status); }; }; then
106402   glibcxx_cv_func___builtin_fabsl_link=yes
106403 else
106404   echo "$as_me: failed program was:" >&5
106405 sed 's/^/| /' conftest.$ac_ext >&5
106406
106407 glibcxx_cv_func___builtin_fabsl_link=no
106408 fi
106409 rm -f conftest.err conftest.$ac_objext \
106410       conftest$ac_exeext conftest.$ac_ext
106411
106412 fi
106413
106414     fi
106415     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
106416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
106417
106418     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
106419
106420 cat >>confdefs.h <<\_ACEOF
106421 #define HAVE___BUILTIN_FABSL 1
106422 _ACEOF
106423
106424     fi
106425
106426   fi
106427
106428
106429   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
106430 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
106431   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
106432     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
106433   echo $ECHO_N "(cached) $ECHO_C" >&6
106434 else
106435
106436
106437
106438       ac_ext=cc
106439 ac_cpp='$CXXCPP $CPPFLAGS'
106440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106443
106444       cat >conftest.$ac_ext <<_ACEOF
106445 /* confdefs.h.  */
106446 _ACEOF
106447 cat confdefs.h >>conftest.$ac_ext
106448 cat >>conftest.$ac_ext <<_ACEOF
106449 /* end confdefs.h.  */
106450 #include <math.h>
106451 int
106452 main ()
106453 {
106454  __builtin_labs(0);
106455   ;
106456   return 0;
106457 }
106458 _ACEOF
106459 rm -f conftest.$ac_objext
106460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106461   (eval $ac_compile) 2>conftest.er1
106462   ac_status=$?
106463   grep -v '^ *+' conftest.er1 >conftest.err
106464   rm -f conftest.er1
106465   cat conftest.err >&5
106466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106467   (exit $ac_status); } &&
106468          { ac_try='test -z "$ac_cxx_werror_flag"
106469                          || test ! -s conftest.err'
106470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106471   (eval $ac_try) 2>&5
106472   ac_status=$?
106473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106474   (exit $ac_status); }; } &&
106475          { ac_try='test -s conftest.$ac_objext'
106476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106477   (eval $ac_try) 2>&5
106478   ac_status=$?
106479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106480   (exit $ac_status); }; }; then
106481   glibcxx_cv_func___builtin_labs_use=yes
106482 else
106483   echo "$as_me: failed program was:" >&5
106484 sed 's/^/| /' conftest.$ac_ext >&5
106485
106486 glibcxx_cv_func___builtin_labs_use=no
106487 fi
106488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106489       ac_ext=c
106490 ac_cpp='$CPP $CPPFLAGS'
106491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106494
106495
106496 fi
106497
106498   fi
106499   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
106500 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
106501   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
106502     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
106503 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
106504     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
106505       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
106506   echo $ECHO_N "(cached) $ECHO_C" >&6
106507 else
106508
106509         if test x$gcc_no_link = xyes; then
106510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106512    { (exit 1); exit 1; }; }
106513 fi
106514 cat >conftest.$ac_ext <<_ACEOF
106515 /* confdefs.h.  */
106516 _ACEOF
106517 cat confdefs.h >>conftest.$ac_ext
106518 cat >>conftest.$ac_ext <<_ACEOF
106519 /* end confdefs.h.  */
106520 #include <math.h>
106521 int
106522 main ()
106523 {
106524  __builtin_labs(0);
106525   ;
106526   return 0;
106527 }
106528 _ACEOF
106529 rm -f conftest.$ac_objext conftest$ac_exeext
106530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106531   (eval $ac_link) 2>conftest.er1
106532   ac_status=$?
106533   grep -v '^ *+' conftest.er1 >conftest.err
106534   rm -f conftest.er1
106535   cat conftest.err >&5
106536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106537   (exit $ac_status); } &&
106538          { ac_try='test -z "$ac_c_werror_flag"
106539                          || test ! -s conftest.err'
106540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106541   (eval $ac_try) 2>&5
106542   ac_status=$?
106543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106544   (exit $ac_status); }; } &&
106545          { ac_try='test -s conftest$ac_exeext'
106546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547   (eval $ac_try) 2>&5
106548   ac_status=$?
106549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550   (exit $ac_status); }; }; then
106551   glibcxx_cv_func___builtin_labs_link=yes
106552 else
106553   echo "$as_me: failed program was:" >&5
106554 sed 's/^/| /' conftest.$ac_ext >&5
106555
106556 glibcxx_cv_func___builtin_labs_link=no
106557 fi
106558 rm -f conftest.err conftest.$ac_objext \
106559       conftest$ac_exeext conftest.$ac_ext
106560
106561 fi
106562
106563     fi
106564     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106565 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106566
106567     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106568
106569 cat >>confdefs.h <<\_ACEOF
106570 #define HAVE___BUILTIN_LABS 1
106571 _ACEOF
106572
106573     fi
106574
106575   fi
106576
106577
106578
106579   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106580 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106581   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106582     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106583   echo $ECHO_N "(cached) $ECHO_C" >&6
106584 else
106585
106586
106587
106588       ac_ext=cc
106589 ac_cpp='$CXXCPP $CPPFLAGS'
106590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106593
106594       cat >conftest.$ac_ext <<_ACEOF
106595 /* confdefs.h.  */
106596 _ACEOF
106597 cat confdefs.h >>conftest.$ac_ext
106598 cat >>conftest.$ac_ext <<_ACEOF
106599 /* end confdefs.h.  */
106600 #include <math.h>
106601 int
106602 main ()
106603 {
106604  __builtin_sqrtf(0);
106605   ;
106606   return 0;
106607 }
106608 _ACEOF
106609 rm -f conftest.$ac_objext
106610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106611   (eval $ac_compile) 2>conftest.er1
106612   ac_status=$?
106613   grep -v '^ *+' conftest.er1 >conftest.err
106614   rm -f conftest.er1
106615   cat conftest.err >&5
106616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106617   (exit $ac_status); } &&
106618          { ac_try='test -z "$ac_cxx_werror_flag"
106619                          || test ! -s conftest.err'
106620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106621   (eval $ac_try) 2>&5
106622   ac_status=$?
106623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106624   (exit $ac_status); }; } &&
106625          { ac_try='test -s conftest.$ac_objext'
106626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106627   (eval $ac_try) 2>&5
106628   ac_status=$?
106629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106630   (exit $ac_status); }; }; then
106631   glibcxx_cv_func___builtin_sqrtf_use=yes
106632 else
106633   echo "$as_me: failed program was:" >&5
106634 sed 's/^/| /' conftest.$ac_ext >&5
106635
106636 glibcxx_cv_func___builtin_sqrtf_use=no
106637 fi
106638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106639       ac_ext=c
106640 ac_cpp='$CPP $CPPFLAGS'
106641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106644
106645
106646 fi
106647
106648   fi
106649   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106650 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106651   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106652     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106653 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106654     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106655       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106656   echo $ECHO_N "(cached) $ECHO_C" >&6
106657 else
106658
106659         if test x$gcc_no_link = xyes; then
106660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106662    { (exit 1); exit 1; }; }
106663 fi
106664 cat >conftest.$ac_ext <<_ACEOF
106665 /* confdefs.h.  */
106666 _ACEOF
106667 cat confdefs.h >>conftest.$ac_ext
106668 cat >>conftest.$ac_ext <<_ACEOF
106669 /* end confdefs.h.  */
106670 #include <math.h>
106671 int
106672 main ()
106673 {
106674  __builtin_sqrtf(0);
106675   ;
106676   return 0;
106677 }
106678 _ACEOF
106679 rm -f conftest.$ac_objext conftest$ac_exeext
106680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106681   (eval $ac_link) 2>conftest.er1
106682   ac_status=$?
106683   grep -v '^ *+' conftest.er1 >conftest.err
106684   rm -f conftest.er1
106685   cat conftest.err >&5
106686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106687   (exit $ac_status); } &&
106688          { ac_try='test -z "$ac_c_werror_flag"
106689                          || test ! -s conftest.err'
106690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106691   (eval $ac_try) 2>&5
106692   ac_status=$?
106693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106694   (exit $ac_status); }; } &&
106695          { ac_try='test -s conftest$ac_exeext'
106696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106697   (eval $ac_try) 2>&5
106698   ac_status=$?
106699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106700   (exit $ac_status); }; }; then
106701   glibcxx_cv_func___builtin_sqrtf_link=yes
106702 else
106703   echo "$as_me: failed program was:" >&5
106704 sed 's/^/| /' conftest.$ac_ext >&5
106705
106706 glibcxx_cv_func___builtin_sqrtf_link=no
106707 fi
106708 rm -f conftest.err conftest.$ac_objext \
106709       conftest$ac_exeext conftest.$ac_ext
106710
106711 fi
106712
106713     fi
106714     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106715 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106716
106717     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106718
106719 cat >>confdefs.h <<\_ACEOF
106720 #define HAVE___BUILTIN_SQRTF 1
106721 _ACEOF
106722
106723     fi
106724
106725   fi
106726
106727
106728   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106729 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106730   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106731     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106732   echo $ECHO_N "(cached) $ECHO_C" >&6
106733 else
106734
106735
106736
106737       ac_ext=cc
106738 ac_cpp='$CXXCPP $CPPFLAGS'
106739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106742
106743       cat >conftest.$ac_ext <<_ACEOF
106744 /* confdefs.h.  */
106745 _ACEOF
106746 cat confdefs.h >>conftest.$ac_ext
106747 cat >>conftest.$ac_ext <<_ACEOF
106748 /* end confdefs.h.  */
106749 #include <math.h>
106750 int
106751 main ()
106752 {
106753  __builtin_sqrt(0);
106754   ;
106755   return 0;
106756 }
106757 _ACEOF
106758 rm -f conftest.$ac_objext
106759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106760   (eval $ac_compile) 2>conftest.er1
106761   ac_status=$?
106762   grep -v '^ *+' conftest.er1 >conftest.err
106763   rm -f conftest.er1
106764   cat conftest.err >&5
106765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106766   (exit $ac_status); } &&
106767          { ac_try='test -z "$ac_cxx_werror_flag"
106768                          || test ! -s conftest.err'
106769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106770   (eval $ac_try) 2>&5
106771   ac_status=$?
106772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106773   (exit $ac_status); }; } &&
106774          { ac_try='test -s conftest.$ac_objext'
106775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106776   (eval $ac_try) 2>&5
106777   ac_status=$?
106778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106779   (exit $ac_status); }; }; then
106780   glibcxx_cv_func___builtin_sqrt_use=yes
106781 else
106782   echo "$as_me: failed program was:" >&5
106783 sed 's/^/| /' conftest.$ac_ext >&5
106784
106785 glibcxx_cv_func___builtin_sqrt_use=no
106786 fi
106787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106788       ac_ext=c
106789 ac_cpp='$CPP $CPPFLAGS'
106790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106793
106794
106795 fi
106796
106797   fi
106798   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106800   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106801     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106802 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106803     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106804       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106805   echo $ECHO_N "(cached) $ECHO_C" >&6
106806 else
106807
106808         if test x$gcc_no_link = xyes; then
106809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106811    { (exit 1); exit 1; }; }
106812 fi
106813 cat >conftest.$ac_ext <<_ACEOF
106814 /* confdefs.h.  */
106815 _ACEOF
106816 cat confdefs.h >>conftest.$ac_ext
106817 cat >>conftest.$ac_ext <<_ACEOF
106818 /* end confdefs.h.  */
106819 #include <math.h>
106820 int
106821 main ()
106822 {
106823  __builtin_sqrt(0);
106824   ;
106825   return 0;
106826 }
106827 _ACEOF
106828 rm -f conftest.$ac_objext conftest$ac_exeext
106829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106830   (eval $ac_link) 2>conftest.er1
106831   ac_status=$?
106832   grep -v '^ *+' conftest.er1 >conftest.err
106833   rm -f conftest.er1
106834   cat conftest.err >&5
106835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106836   (exit $ac_status); } &&
106837          { ac_try='test -z "$ac_c_werror_flag"
106838                          || test ! -s conftest.err'
106839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106840   (eval $ac_try) 2>&5
106841   ac_status=$?
106842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106843   (exit $ac_status); }; } &&
106844          { ac_try='test -s conftest$ac_exeext'
106845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106846   (eval $ac_try) 2>&5
106847   ac_status=$?
106848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106849   (exit $ac_status); }; }; then
106850   glibcxx_cv_func___builtin_sqrt_link=yes
106851 else
106852   echo "$as_me: failed program was:" >&5
106853 sed 's/^/| /' conftest.$ac_ext >&5
106854
106855 glibcxx_cv_func___builtin_sqrt_link=no
106856 fi
106857 rm -f conftest.err conftest.$ac_objext \
106858       conftest$ac_exeext conftest.$ac_ext
106859
106860 fi
106861
106862     fi
106863     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106865
106866     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106867
106868 cat >>confdefs.h <<\_ACEOF
106869 #define HAVE___BUILTIN_SQRT 1
106870 _ACEOF
106871
106872     fi
106873
106874   fi
106875
106876
106877   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106878 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106879   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106880     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106881   echo $ECHO_N "(cached) $ECHO_C" >&6
106882 else
106883
106884
106885
106886       ac_ext=cc
106887 ac_cpp='$CXXCPP $CPPFLAGS'
106888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106891
106892       cat >conftest.$ac_ext <<_ACEOF
106893 /* confdefs.h.  */
106894 _ACEOF
106895 cat confdefs.h >>conftest.$ac_ext
106896 cat >>conftest.$ac_ext <<_ACEOF
106897 /* end confdefs.h.  */
106898 #include <math.h>
106899 int
106900 main ()
106901 {
106902  __builtin_sqrtl(0);
106903   ;
106904   return 0;
106905 }
106906 _ACEOF
106907 rm -f conftest.$ac_objext
106908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106909   (eval $ac_compile) 2>conftest.er1
106910   ac_status=$?
106911   grep -v '^ *+' conftest.er1 >conftest.err
106912   rm -f conftest.er1
106913   cat conftest.err >&5
106914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915   (exit $ac_status); } &&
106916          { ac_try='test -z "$ac_cxx_werror_flag"
106917                          || test ! -s conftest.err'
106918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106919   (eval $ac_try) 2>&5
106920   ac_status=$?
106921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106922   (exit $ac_status); }; } &&
106923          { ac_try='test -s conftest.$ac_objext'
106924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106925   (eval $ac_try) 2>&5
106926   ac_status=$?
106927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106928   (exit $ac_status); }; }; then
106929   glibcxx_cv_func___builtin_sqrtl_use=yes
106930 else
106931   echo "$as_me: failed program was:" >&5
106932 sed 's/^/| /' conftest.$ac_ext >&5
106933
106934 glibcxx_cv_func___builtin_sqrtl_use=no
106935 fi
106936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106937       ac_ext=c
106938 ac_cpp='$CPP $CPPFLAGS'
106939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106942
106943
106944 fi
106945
106946   fi
106947   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106948 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106949   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106950     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106951 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106952     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106953       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106954   echo $ECHO_N "(cached) $ECHO_C" >&6
106955 else
106956
106957         if test x$gcc_no_link = xyes; then
106958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106960    { (exit 1); exit 1; }; }
106961 fi
106962 cat >conftest.$ac_ext <<_ACEOF
106963 /* confdefs.h.  */
106964 _ACEOF
106965 cat confdefs.h >>conftest.$ac_ext
106966 cat >>conftest.$ac_ext <<_ACEOF
106967 /* end confdefs.h.  */
106968 #include <math.h>
106969 int
106970 main ()
106971 {
106972  __builtin_sqrtl(0);
106973   ;
106974   return 0;
106975 }
106976 _ACEOF
106977 rm -f conftest.$ac_objext conftest$ac_exeext
106978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106979   (eval $ac_link) 2>conftest.er1
106980   ac_status=$?
106981   grep -v '^ *+' conftest.er1 >conftest.err
106982   rm -f conftest.er1
106983   cat conftest.err >&5
106984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106985   (exit $ac_status); } &&
106986          { ac_try='test -z "$ac_c_werror_flag"
106987                          || test ! -s conftest.err'
106988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106989   (eval $ac_try) 2>&5
106990   ac_status=$?
106991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992   (exit $ac_status); }; } &&
106993          { ac_try='test -s conftest$ac_exeext'
106994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106995   (eval $ac_try) 2>&5
106996   ac_status=$?
106997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106998   (exit $ac_status); }; }; then
106999   glibcxx_cv_func___builtin_sqrtl_link=yes
107000 else
107001   echo "$as_me: failed program was:" >&5
107002 sed 's/^/| /' conftest.$ac_ext >&5
107003
107004 glibcxx_cv_func___builtin_sqrtl_link=no
107005 fi
107006 rm -f conftest.err conftest.$ac_objext \
107007       conftest$ac_exeext conftest.$ac_ext
107008
107009 fi
107010
107011     fi
107012     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
107013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
107014
107015     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
107016
107017 cat >>confdefs.h <<\_ACEOF
107018 #define HAVE___BUILTIN_SQRTL 1
107019 _ACEOF
107020
107021     fi
107022
107023   fi
107024
107025
107026
107027   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
107028 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
107029   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
107030     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
107031   echo $ECHO_N "(cached) $ECHO_C" >&6
107032 else
107033
107034
107035
107036       ac_ext=cc
107037 ac_cpp='$CXXCPP $CPPFLAGS'
107038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107041
107042       cat >conftest.$ac_ext <<_ACEOF
107043 /* confdefs.h.  */
107044 _ACEOF
107045 cat confdefs.h >>conftest.$ac_ext
107046 cat >>conftest.$ac_ext <<_ACEOF
107047 /* end confdefs.h.  */
107048 #include <math.h>
107049 int
107050 main ()
107051 {
107052  __builtin_sinf(0);
107053   ;
107054   return 0;
107055 }
107056 _ACEOF
107057 rm -f conftest.$ac_objext
107058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107059   (eval $ac_compile) 2>conftest.er1
107060   ac_status=$?
107061   grep -v '^ *+' conftest.er1 >conftest.err
107062   rm -f conftest.er1
107063   cat conftest.err >&5
107064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107065   (exit $ac_status); } &&
107066          { ac_try='test -z "$ac_cxx_werror_flag"
107067                          || test ! -s conftest.err'
107068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107069   (eval $ac_try) 2>&5
107070   ac_status=$?
107071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107072   (exit $ac_status); }; } &&
107073          { ac_try='test -s conftest.$ac_objext'
107074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107075   (eval $ac_try) 2>&5
107076   ac_status=$?
107077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107078   (exit $ac_status); }; }; then
107079   glibcxx_cv_func___builtin_sinf_use=yes
107080 else
107081   echo "$as_me: failed program was:" >&5
107082 sed 's/^/| /' conftest.$ac_ext >&5
107083
107084 glibcxx_cv_func___builtin_sinf_use=no
107085 fi
107086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107087       ac_ext=c
107088 ac_cpp='$CPP $CPPFLAGS'
107089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107092
107093
107094 fi
107095
107096   fi
107097   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
107098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
107099   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
107100     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
107101 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
107102     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
107103       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
107104   echo $ECHO_N "(cached) $ECHO_C" >&6
107105 else
107106
107107         if test x$gcc_no_link = xyes; then
107108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107110    { (exit 1); exit 1; }; }
107111 fi
107112 cat >conftest.$ac_ext <<_ACEOF
107113 /* confdefs.h.  */
107114 _ACEOF
107115 cat confdefs.h >>conftest.$ac_ext
107116 cat >>conftest.$ac_ext <<_ACEOF
107117 /* end confdefs.h.  */
107118 #include <math.h>
107119 int
107120 main ()
107121 {
107122  __builtin_sinf(0);
107123   ;
107124   return 0;
107125 }
107126 _ACEOF
107127 rm -f conftest.$ac_objext conftest$ac_exeext
107128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107129   (eval $ac_link) 2>conftest.er1
107130   ac_status=$?
107131   grep -v '^ *+' conftest.er1 >conftest.err
107132   rm -f conftest.er1
107133   cat conftest.err >&5
107134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107135   (exit $ac_status); } &&
107136          { ac_try='test -z "$ac_c_werror_flag"
107137                          || test ! -s conftest.err'
107138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107139   (eval $ac_try) 2>&5
107140   ac_status=$?
107141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107142   (exit $ac_status); }; } &&
107143          { ac_try='test -s conftest$ac_exeext'
107144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107145   (eval $ac_try) 2>&5
107146   ac_status=$?
107147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107148   (exit $ac_status); }; }; then
107149   glibcxx_cv_func___builtin_sinf_link=yes
107150 else
107151   echo "$as_me: failed program was:" >&5
107152 sed 's/^/| /' conftest.$ac_ext >&5
107153
107154 glibcxx_cv_func___builtin_sinf_link=no
107155 fi
107156 rm -f conftest.err conftest.$ac_objext \
107157       conftest$ac_exeext conftest.$ac_ext
107158
107159 fi
107160
107161     fi
107162     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
107163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
107164
107165     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
107166
107167 cat >>confdefs.h <<\_ACEOF
107168 #define HAVE___BUILTIN_SINF 1
107169 _ACEOF
107170
107171     fi
107172
107173   fi
107174
107175
107176   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
107177 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
107178   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
107179     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
107180   echo $ECHO_N "(cached) $ECHO_C" >&6
107181 else
107182
107183
107184
107185       ac_ext=cc
107186 ac_cpp='$CXXCPP $CPPFLAGS'
107187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107190
107191       cat >conftest.$ac_ext <<_ACEOF
107192 /* confdefs.h.  */
107193 _ACEOF
107194 cat confdefs.h >>conftest.$ac_ext
107195 cat >>conftest.$ac_ext <<_ACEOF
107196 /* end confdefs.h.  */
107197 #include <math.h>
107198 int
107199 main ()
107200 {
107201  __builtin_sin(0);
107202   ;
107203   return 0;
107204 }
107205 _ACEOF
107206 rm -f conftest.$ac_objext
107207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107208   (eval $ac_compile) 2>conftest.er1
107209   ac_status=$?
107210   grep -v '^ *+' conftest.er1 >conftest.err
107211   rm -f conftest.er1
107212   cat conftest.err >&5
107213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107214   (exit $ac_status); } &&
107215          { ac_try='test -z "$ac_cxx_werror_flag"
107216                          || test ! -s conftest.err'
107217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107218   (eval $ac_try) 2>&5
107219   ac_status=$?
107220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107221   (exit $ac_status); }; } &&
107222          { ac_try='test -s conftest.$ac_objext'
107223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107224   (eval $ac_try) 2>&5
107225   ac_status=$?
107226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107227   (exit $ac_status); }; }; then
107228   glibcxx_cv_func___builtin_sin_use=yes
107229 else
107230   echo "$as_me: failed program was:" >&5
107231 sed 's/^/| /' conftest.$ac_ext >&5
107232
107233 glibcxx_cv_func___builtin_sin_use=no
107234 fi
107235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107236       ac_ext=c
107237 ac_cpp='$CPP $CPPFLAGS'
107238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107241
107242
107243 fi
107244
107245   fi
107246   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
107247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
107248   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
107249     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
107250 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
107251     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
107252       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
107253   echo $ECHO_N "(cached) $ECHO_C" >&6
107254 else
107255
107256         if test x$gcc_no_link = xyes; then
107257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107259    { (exit 1); exit 1; }; }
107260 fi
107261 cat >conftest.$ac_ext <<_ACEOF
107262 /* confdefs.h.  */
107263 _ACEOF
107264 cat confdefs.h >>conftest.$ac_ext
107265 cat >>conftest.$ac_ext <<_ACEOF
107266 /* end confdefs.h.  */
107267 #include <math.h>
107268 int
107269 main ()
107270 {
107271  __builtin_sin(0);
107272   ;
107273   return 0;
107274 }
107275 _ACEOF
107276 rm -f conftest.$ac_objext conftest$ac_exeext
107277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107278   (eval $ac_link) 2>conftest.er1
107279   ac_status=$?
107280   grep -v '^ *+' conftest.er1 >conftest.err
107281   rm -f conftest.er1
107282   cat conftest.err >&5
107283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107284   (exit $ac_status); } &&
107285          { ac_try='test -z "$ac_c_werror_flag"
107286                          || test ! -s conftest.err'
107287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107288   (eval $ac_try) 2>&5
107289   ac_status=$?
107290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107291   (exit $ac_status); }; } &&
107292          { ac_try='test -s conftest$ac_exeext'
107293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107294   (eval $ac_try) 2>&5
107295   ac_status=$?
107296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107297   (exit $ac_status); }; }; then
107298   glibcxx_cv_func___builtin_sin_link=yes
107299 else
107300   echo "$as_me: failed program was:" >&5
107301 sed 's/^/| /' conftest.$ac_ext >&5
107302
107303 glibcxx_cv_func___builtin_sin_link=no
107304 fi
107305 rm -f conftest.err conftest.$ac_objext \
107306       conftest$ac_exeext conftest.$ac_ext
107307
107308 fi
107309
107310     fi
107311     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
107312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
107313
107314     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
107315
107316 cat >>confdefs.h <<\_ACEOF
107317 #define HAVE___BUILTIN_SIN 1
107318 _ACEOF
107319
107320     fi
107321
107322   fi
107323
107324
107325   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
107326 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
107327   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
107328     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
107329   echo $ECHO_N "(cached) $ECHO_C" >&6
107330 else
107331
107332
107333
107334       ac_ext=cc
107335 ac_cpp='$CXXCPP $CPPFLAGS'
107336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107339
107340       cat >conftest.$ac_ext <<_ACEOF
107341 /* confdefs.h.  */
107342 _ACEOF
107343 cat confdefs.h >>conftest.$ac_ext
107344 cat >>conftest.$ac_ext <<_ACEOF
107345 /* end confdefs.h.  */
107346 #include <math.h>
107347 int
107348 main ()
107349 {
107350  __builtin_sinl(0);
107351   ;
107352   return 0;
107353 }
107354 _ACEOF
107355 rm -f conftest.$ac_objext
107356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107357   (eval $ac_compile) 2>conftest.er1
107358   ac_status=$?
107359   grep -v '^ *+' conftest.er1 >conftest.err
107360   rm -f conftest.er1
107361   cat conftest.err >&5
107362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107363   (exit $ac_status); } &&
107364          { ac_try='test -z "$ac_cxx_werror_flag"
107365                          || test ! -s conftest.err'
107366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107367   (eval $ac_try) 2>&5
107368   ac_status=$?
107369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107370   (exit $ac_status); }; } &&
107371          { ac_try='test -s conftest.$ac_objext'
107372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107373   (eval $ac_try) 2>&5
107374   ac_status=$?
107375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107376   (exit $ac_status); }; }; then
107377   glibcxx_cv_func___builtin_sinl_use=yes
107378 else
107379   echo "$as_me: failed program was:" >&5
107380 sed 's/^/| /' conftest.$ac_ext >&5
107381
107382 glibcxx_cv_func___builtin_sinl_use=no
107383 fi
107384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107385       ac_ext=c
107386 ac_cpp='$CPP $CPPFLAGS'
107387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107390
107391
107392 fi
107393
107394   fi
107395   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
107396 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
107397   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
107398     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
107399 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
107400     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
107401       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
107402   echo $ECHO_N "(cached) $ECHO_C" >&6
107403 else
107404
107405         if test x$gcc_no_link = xyes; then
107406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107408    { (exit 1); exit 1; }; }
107409 fi
107410 cat >conftest.$ac_ext <<_ACEOF
107411 /* confdefs.h.  */
107412 _ACEOF
107413 cat confdefs.h >>conftest.$ac_ext
107414 cat >>conftest.$ac_ext <<_ACEOF
107415 /* end confdefs.h.  */
107416 #include <math.h>
107417 int
107418 main ()
107419 {
107420  __builtin_sinl(0);
107421   ;
107422   return 0;
107423 }
107424 _ACEOF
107425 rm -f conftest.$ac_objext conftest$ac_exeext
107426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107427   (eval $ac_link) 2>conftest.er1
107428   ac_status=$?
107429   grep -v '^ *+' conftest.er1 >conftest.err
107430   rm -f conftest.er1
107431   cat conftest.err >&5
107432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107433   (exit $ac_status); } &&
107434          { ac_try='test -z "$ac_c_werror_flag"
107435                          || test ! -s conftest.err'
107436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107437   (eval $ac_try) 2>&5
107438   ac_status=$?
107439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107440   (exit $ac_status); }; } &&
107441          { ac_try='test -s conftest$ac_exeext'
107442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107443   (eval $ac_try) 2>&5
107444   ac_status=$?
107445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107446   (exit $ac_status); }; }; then
107447   glibcxx_cv_func___builtin_sinl_link=yes
107448 else
107449   echo "$as_me: failed program was:" >&5
107450 sed 's/^/| /' conftest.$ac_ext >&5
107451
107452 glibcxx_cv_func___builtin_sinl_link=no
107453 fi
107454 rm -f conftest.err conftest.$ac_objext \
107455       conftest$ac_exeext conftest.$ac_ext
107456
107457 fi
107458
107459     fi
107460     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
107461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
107462
107463     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
107464
107465 cat >>confdefs.h <<\_ACEOF
107466 #define HAVE___BUILTIN_SINL 1
107467 _ACEOF
107468
107469     fi
107470
107471   fi
107472
107473
107474
107475   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
107476 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
107477   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
107478     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
107479   echo $ECHO_N "(cached) $ECHO_C" >&6
107480 else
107481
107482
107483
107484       ac_ext=cc
107485 ac_cpp='$CXXCPP $CPPFLAGS'
107486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107489
107490       cat >conftest.$ac_ext <<_ACEOF
107491 /* confdefs.h.  */
107492 _ACEOF
107493 cat confdefs.h >>conftest.$ac_ext
107494 cat >>conftest.$ac_ext <<_ACEOF
107495 /* end confdefs.h.  */
107496 #include <math.h>
107497 int
107498 main ()
107499 {
107500  __builtin_cosf(0);
107501   ;
107502   return 0;
107503 }
107504 _ACEOF
107505 rm -f conftest.$ac_objext
107506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107507   (eval $ac_compile) 2>conftest.er1
107508   ac_status=$?
107509   grep -v '^ *+' conftest.er1 >conftest.err
107510   rm -f conftest.er1
107511   cat conftest.err >&5
107512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107513   (exit $ac_status); } &&
107514          { ac_try='test -z "$ac_cxx_werror_flag"
107515                          || test ! -s conftest.err'
107516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107517   (eval $ac_try) 2>&5
107518   ac_status=$?
107519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107520   (exit $ac_status); }; } &&
107521          { ac_try='test -s conftest.$ac_objext'
107522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107523   (eval $ac_try) 2>&5
107524   ac_status=$?
107525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107526   (exit $ac_status); }; }; then
107527   glibcxx_cv_func___builtin_cosf_use=yes
107528 else
107529   echo "$as_me: failed program was:" >&5
107530 sed 's/^/| /' conftest.$ac_ext >&5
107531
107532 glibcxx_cv_func___builtin_cosf_use=no
107533 fi
107534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107535       ac_ext=c
107536 ac_cpp='$CPP $CPPFLAGS'
107537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107540
107541
107542 fi
107543
107544   fi
107545   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107546 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107547   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107548     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107549 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107550     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107551       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107552   echo $ECHO_N "(cached) $ECHO_C" >&6
107553 else
107554
107555         if test x$gcc_no_link = xyes; then
107556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107558    { (exit 1); exit 1; }; }
107559 fi
107560 cat >conftest.$ac_ext <<_ACEOF
107561 /* confdefs.h.  */
107562 _ACEOF
107563 cat confdefs.h >>conftest.$ac_ext
107564 cat >>conftest.$ac_ext <<_ACEOF
107565 /* end confdefs.h.  */
107566 #include <math.h>
107567 int
107568 main ()
107569 {
107570  __builtin_cosf(0);
107571   ;
107572   return 0;
107573 }
107574 _ACEOF
107575 rm -f conftest.$ac_objext conftest$ac_exeext
107576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107577   (eval $ac_link) 2>conftest.er1
107578   ac_status=$?
107579   grep -v '^ *+' conftest.er1 >conftest.err
107580   rm -f conftest.er1
107581   cat conftest.err >&5
107582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107583   (exit $ac_status); } &&
107584          { ac_try='test -z "$ac_c_werror_flag"
107585                          || test ! -s conftest.err'
107586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107587   (eval $ac_try) 2>&5
107588   ac_status=$?
107589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107590   (exit $ac_status); }; } &&
107591          { ac_try='test -s conftest$ac_exeext'
107592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107593   (eval $ac_try) 2>&5
107594   ac_status=$?
107595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107596   (exit $ac_status); }; }; then
107597   glibcxx_cv_func___builtin_cosf_link=yes
107598 else
107599   echo "$as_me: failed program was:" >&5
107600 sed 's/^/| /' conftest.$ac_ext >&5
107601
107602 glibcxx_cv_func___builtin_cosf_link=no
107603 fi
107604 rm -f conftest.err conftest.$ac_objext \
107605       conftest$ac_exeext conftest.$ac_ext
107606
107607 fi
107608
107609     fi
107610     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107611 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107612
107613     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107614
107615 cat >>confdefs.h <<\_ACEOF
107616 #define HAVE___BUILTIN_COSF 1
107617 _ACEOF
107618
107619     fi
107620
107621   fi
107622
107623
107624   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107625 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107626   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107627     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107628   echo $ECHO_N "(cached) $ECHO_C" >&6
107629 else
107630
107631
107632
107633       ac_ext=cc
107634 ac_cpp='$CXXCPP $CPPFLAGS'
107635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107638
107639       cat >conftest.$ac_ext <<_ACEOF
107640 /* confdefs.h.  */
107641 _ACEOF
107642 cat confdefs.h >>conftest.$ac_ext
107643 cat >>conftest.$ac_ext <<_ACEOF
107644 /* end confdefs.h.  */
107645 #include <math.h>
107646 int
107647 main ()
107648 {
107649  __builtin_cos(0);
107650   ;
107651   return 0;
107652 }
107653 _ACEOF
107654 rm -f conftest.$ac_objext
107655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107656   (eval $ac_compile) 2>conftest.er1
107657   ac_status=$?
107658   grep -v '^ *+' conftest.er1 >conftest.err
107659   rm -f conftest.er1
107660   cat conftest.err >&5
107661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107662   (exit $ac_status); } &&
107663          { ac_try='test -z "$ac_cxx_werror_flag"
107664                          || test ! -s conftest.err'
107665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107666   (eval $ac_try) 2>&5
107667   ac_status=$?
107668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107669   (exit $ac_status); }; } &&
107670          { ac_try='test -s conftest.$ac_objext'
107671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107672   (eval $ac_try) 2>&5
107673   ac_status=$?
107674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107675   (exit $ac_status); }; }; then
107676   glibcxx_cv_func___builtin_cos_use=yes
107677 else
107678   echo "$as_me: failed program was:" >&5
107679 sed 's/^/| /' conftest.$ac_ext >&5
107680
107681 glibcxx_cv_func___builtin_cos_use=no
107682 fi
107683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107684       ac_ext=c
107685 ac_cpp='$CPP $CPPFLAGS'
107686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107689
107690
107691 fi
107692
107693   fi
107694   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107695 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107696   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107697     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107698 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107699     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107700       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107701   echo $ECHO_N "(cached) $ECHO_C" >&6
107702 else
107703
107704         if test x$gcc_no_link = xyes; then
107705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107707    { (exit 1); exit 1; }; }
107708 fi
107709 cat >conftest.$ac_ext <<_ACEOF
107710 /* confdefs.h.  */
107711 _ACEOF
107712 cat confdefs.h >>conftest.$ac_ext
107713 cat >>conftest.$ac_ext <<_ACEOF
107714 /* end confdefs.h.  */
107715 #include <math.h>
107716 int
107717 main ()
107718 {
107719  __builtin_cos(0);
107720   ;
107721   return 0;
107722 }
107723 _ACEOF
107724 rm -f conftest.$ac_objext conftest$ac_exeext
107725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107726   (eval $ac_link) 2>conftest.er1
107727   ac_status=$?
107728   grep -v '^ *+' conftest.er1 >conftest.err
107729   rm -f conftest.er1
107730   cat conftest.err >&5
107731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107732   (exit $ac_status); } &&
107733          { ac_try='test -z "$ac_c_werror_flag"
107734                          || test ! -s conftest.err'
107735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107736   (eval $ac_try) 2>&5
107737   ac_status=$?
107738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107739   (exit $ac_status); }; } &&
107740          { ac_try='test -s conftest$ac_exeext'
107741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107742   (eval $ac_try) 2>&5
107743   ac_status=$?
107744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107745   (exit $ac_status); }; }; then
107746   glibcxx_cv_func___builtin_cos_link=yes
107747 else
107748   echo "$as_me: failed program was:" >&5
107749 sed 's/^/| /' conftest.$ac_ext >&5
107750
107751 glibcxx_cv_func___builtin_cos_link=no
107752 fi
107753 rm -f conftest.err conftest.$ac_objext \
107754       conftest$ac_exeext conftest.$ac_ext
107755
107756 fi
107757
107758     fi
107759     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107761
107762     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107763
107764 cat >>confdefs.h <<\_ACEOF
107765 #define HAVE___BUILTIN_COS 1
107766 _ACEOF
107767
107768     fi
107769
107770   fi
107771
107772
107773   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107774 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107775   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107776     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107777   echo $ECHO_N "(cached) $ECHO_C" >&6
107778 else
107779
107780
107781
107782       ac_ext=cc
107783 ac_cpp='$CXXCPP $CPPFLAGS'
107784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107787
107788       cat >conftest.$ac_ext <<_ACEOF
107789 /* confdefs.h.  */
107790 _ACEOF
107791 cat confdefs.h >>conftest.$ac_ext
107792 cat >>conftest.$ac_ext <<_ACEOF
107793 /* end confdefs.h.  */
107794 #include <math.h>
107795 int
107796 main ()
107797 {
107798  __builtin_cosl(0);
107799   ;
107800   return 0;
107801 }
107802 _ACEOF
107803 rm -f conftest.$ac_objext
107804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107805   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func___builtin_cosl_use=yes
107826 else
107827   echo "$as_me: failed program was:" >&5
107828 sed 's/^/| /' conftest.$ac_ext >&5
107829
107830 glibcxx_cv_func___builtin_cosl_use=no
107831 fi
107832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107833       ac_ext=c
107834 ac_cpp='$CPP $CPPFLAGS'
107835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107838
107839
107840 fi
107841
107842   fi
107843   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107845   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107846     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107847 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107848     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107849       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107850   echo $ECHO_N "(cached) $ECHO_C" >&6
107851 else
107852
107853         if test x$gcc_no_link = xyes; then
107854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107856    { (exit 1); exit 1; }; }
107857 fi
107858 cat >conftest.$ac_ext <<_ACEOF
107859 /* confdefs.h.  */
107860 _ACEOF
107861 cat confdefs.h >>conftest.$ac_ext
107862 cat >>conftest.$ac_ext <<_ACEOF
107863 /* end confdefs.h.  */
107864 #include <math.h>
107865 int
107866 main ()
107867 {
107868  __builtin_cosl(0);
107869   ;
107870   return 0;
107871 }
107872 _ACEOF
107873 rm -f conftest.$ac_objext conftest$ac_exeext
107874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107875   (eval $ac_link) 2>conftest.er1
107876   ac_status=$?
107877   grep -v '^ *+' conftest.er1 >conftest.err
107878   rm -f conftest.er1
107879   cat conftest.err >&5
107880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107881   (exit $ac_status); } &&
107882          { ac_try='test -z "$ac_c_werror_flag"
107883                          || test ! -s conftest.err'
107884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107885   (eval $ac_try) 2>&5
107886   ac_status=$?
107887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107888   (exit $ac_status); }; } &&
107889          { ac_try='test -s conftest$ac_exeext'
107890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107891   (eval $ac_try) 2>&5
107892   ac_status=$?
107893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107894   (exit $ac_status); }; }; then
107895   glibcxx_cv_func___builtin_cosl_link=yes
107896 else
107897   echo "$as_me: failed program was:" >&5
107898 sed 's/^/| /' conftest.$ac_ext >&5
107899
107900 glibcxx_cv_func___builtin_cosl_link=no
107901 fi
107902 rm -f conftest.err conftest.$ac_objext \
107903       conftest$ac_exeext conftest.$ac_ext
107904
107905 fi
107906
107907     fi
107908     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107910
107911     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107912
107913 cat >>confdefs.h <<\_ACEOF
107914 #define HAVE___BUILTIN_COSL 1
107915 _ACEOF
107916
107917     fi
107918
107919   fi
107920
107921
107922
107923
107924 echo "$as_me:$LINENO: checking for main in -lm" >&5
107925 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107926 if test "${ac_cv_lib_m_main+set}" = set; then
107927   echo $ECHO_N "(cached) $ECHO_C" >&6
107928 else
107929   ac_check_lib_save_LIBS=$LIBS
107930 LIBS="-lm  $LIBS"
107931 if test x$gcc_no_link = xyes; then
107932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107934    { (exit 1); exit 1; }; }
107935 fi
107936 cat >conftest.$ac_ext <<_ACEOF
107937 /* confdefs.h.  */
107938 _ACEOF
107939 cat confdefs.h >>conftest.$ac_ext
107940 cat >>conftest.$ac_ext <<_ACEOF
107941 /* end confdefs.h.  */
107942
107943
107944 int
107945 main ()
107946 {
107947 main ();
107948   ;
107949   return 0;
107950 }
107951 _ACEOF
107952 rm -f conftest.$ac_objext conftest$ac_exeext
107953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107954   (eval $ac_link) 2>conftest.er1
107955   ac_status=$?
107956   grep -v '^ *+' conftest.er1 >conftest.err
107957   rm -f conftest.er1
107958   cat conftest.err >&5
107959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107960   (exit $ac_status); } &&
107961          { ac_try='test -z "$ac_c_werror_flag"
107962                          || test ! -s conftest.err'
107963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107964   (eval $ac_try) 2>&5
107965   ac_status=$?
107966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107967   (exit $ac_status); }; } &&
107968          { ac_try='test -s conftest$ac_exeext'
107969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107970   (eval $ac_try) 2>&5
107971   ac_status=$?
107972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107973   (exit $ac_status); }; }; then
107974   ac_cv_lib_m_main=yes
107975 else
107976   echo "$as_me: failed program was:" >&5
107977 sed 's/^/| /' conftest.$ac_ext >&5
107978
107979 ac_cv_lib_m_main=no
107980 fi
107981 rm -f conftest.err conftest.$ac_objext \
107982       conftest$ac_exeext conftest.$ac_ext
107983 LIBS=$ac_check_lib_save_LIBS
107984 fi
107985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107986 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107987 if test $ac_cv_lib_m_main = yes; then
107988   cat >>confdefs.h <<_ACEOF
107989 #define HAVE_LIBM 1
107990 _ACEOF
107991
107992   LIBS="-lm $LIBS"
107993
107994 fi
107995
107996
107997 for ac_func in copysignf
107998 do
107999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108000 echo "$as_me:$LINENO: checking for $ac_func" >&5
108001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108002 if eval "test \"\${$as_ac_var+set}\" = set"; then
108003   echo $ECHO_N "(cached) $ECHO_C" >&6
108004 else
108005   if test x$gcc_no_link = xyes; then
108006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108008    { (exit 1); exit 1; }; }
108009 fi
108010 cat >conftest.$ac_ext <<_ACEOF
108011 /* confdefs.h.  */
108012 _ACEOF
108013 cat confdefs.h >>conftest.$ac_ext
108014 cat >>conftest.$ac_ext <<_ACEOF
108015 /* end confdefs.h.  */
108016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108018 #define $ac_func innocuous_$ac_func
108019
108020 /* System header to define __stub macros and hopefully few prototypes,
108021     which can conflict with char $ac_func (); below.
108022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108023     <limits.h> exists even on freestanding compilers.  */
108024
108025 #ifdef __STDC__
108026 # include <limits.h>
108027 #else
108028 # include <assert.h>
108029 #endif
108030
108031 #undef $ac_func
108032
108033 /* Override any gcc2 internal prototype to avoid an error.  */
108034 #ifdef __cplusplus
108035 extern "C"
108036 {
108037 #endif
108038 /* We use char because int might match the return type of a gcc2
108039    builtin and then its argument prototype would still apply.  */
108040 char $ac_func ();
108041 /* The GNU C library defines this for functions which it implements
108042     to always fail with ENOSYS.  Some functions are actually named
108043     something starting with __ and the normal name is an alias.  */
108044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108045 choke me
108046 #else
108047 char (*f) () = $ac_func;
108048 #endif
108049 #ifdef __cplusplus
108050 }
108051 #endif
108052
108053 int
108054 main ()
108055 {
108056 return f != $ac_func;
108057   ;
108058   return 0;
108059 }
108060 _ACEOF
108061 rm -f conftest.$ac_objext conftest$ac_exeext
108062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108063   (eval $ac_link) 2>conftest.er1
108064   ac_status=$?
108065   grep -v '^ *+' conftest.er1 >conftest.err
108066   rm -f conftest.er1
108067   cat conftest.err >&5
108068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108069   (exit $ac_status); } &&
108070          { ac_try='test -z "$ac_c_werror_flag"
108071                          || test ! -s conftest.err'
108072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108073   (eval $ac_try) 2>&5
108074   ac_status=$?
108075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108076   (exit $ac_status); }; } &&
108077          { ac_try='test -s conftest$ac_exeext'
108078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108079   (eval $ac_try) 2>&5
108080   ac_status=$?
108081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108082   (exit $ac_status); }; }; then
108083   eval "$as_ac_var=yes"
108084 else
108085   echo "$as_me: failed program was:" >&5
108086 sed 's/^/| /' conftest.$ac_ext >&5
108087
108088 eval "$as_ac_var=no"
108089 fi
108090 rm -f conftest.err conftest.$ac_objext \
108091       conftest$ac_exeext conftest.$ac_ext
108092 fi
108093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108095 if test `eval echo '${'$as_ac_var'}'` = yes; then
108096   cat >>confdefs.h <<_ACEOF
108097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108098 _ACEOF
108099
108100 else
108101   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108102 fi
108103 done
108104
108105
108106
108107 for ac_func in __signbit
108108 do
108109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108110 echo "$as_me:$LINENO: checking for $ac_func" >&5
108111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108112 if eval "test \"\${$as_ac_var+set}\" = set"; then
108113   echo $ECHO_N "(cached) $ECHO_C" >&6
108114 else
108115   if test x$gcc_no_link = xyes; then
108116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108118    { (exit 1); exit 1; }; }
108119 fi
108120 cat >conftest.$ac_ext <<_ACEOF
108121 /* confdefs.h.  */
108122 _ACEOF
108123 cat confdefs.h >>conftest.$ac_ext
108124 cat >>conftest.$ac_ext <<_ACEOF
108125 /* end confdefs.h.  */
108126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108128 #define $ac_func innocuous_$ac_func
108129
108130 /* System header to define __stub macros and hopefully few prototypes,
108131     which can conflict with char $ac_func (); below.
108132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108133     <limits.h> exists even on freestanding compilers.  */
108134
108135 #ifdef __STDC__
108136 # include <limits.h>
108137 #else
108138 # include <assert.h>
108139 #endif
108140
108141 #undef $ac_func
108142
108143 /* Override any gcc2 internal prototype to avoid an error.  */
108144 #ifdef __cplusplus
108145 extern "C"
108146 {
108147 #endif
108148 /* We use char because int might match the return type of a gcc2
108149    builtin and then its argument prototype would still apply.  */
108150 char $ac_func ();
108151 /* The GNU C library defines this for functions which it implements
108152     to always fail with ENOSYS.  Some functions are actually named
108153     something starting with __ and the normal name is an alias.  */
108154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108155 choke me
108156 #else
108157 char (*f) () = $ac_func;
108158 #endif
108159 #ifdef __cplusplus
108160 }
108161 #endif
108162
108163 int
108164 main ()
108165 {
108166 return f != $ac_func;
108167   ;
108168   return 0;
108169 }
108170 _ACEOF
108171 rm -f conftest.$ac_objext conftest$ac_exeext
108172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108173   (eval $ac_link) 2>conftest.er1
108174   ac_status=$?
108175   grep -v '^ *+' conftest.er1 >conftest.err
108176   rm -f conftest.er1
108177   cat conftest.err >&5
108178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108179   (exit $ac_status); } &&
108180          { ac_try='test -z "$ac_c_werror_flag"
108181                          || test ! -s conftest.err'
108182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108183   (eval $ac_try) 2>&5
108184   ac_status=$?
108185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108186   (exit $ac_status); }; } &&
108187          { ac_try='test -s conftest$ac_exeext'
108188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108189   (eval $ac_try) 2>&5
108190   ac_status=$?
108191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108192   (exit $ac_status); }; }; then
108193   eval "$as_ac_var=yes"
108194 else
108195   echo "$as_me: failed program was:" >&5
108196 sed 's/^/| /' conftest.$ac_ext >&5
108197
108198 eval "$as_ac_var=no"
108199 fi
108200 rm -f conftest.err conftest.$ac_objext \
108201       conftest$ac_exeext conftest.$ac_ext
108202 fi
108203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108205 if test `eval echo '${'$as_ac_var'}'` = yes; then
108206   cat >>confdefs.h <<_ACEOF
108207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108208 _ACEOF
108209
108210 else
108211   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108212 fi
108213 done
108214
108215
108216
108217 for ac_func in __signbitf
108218 do
108219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108220 echo "$as_me:$LINENO: checking for $ac_func" >&5
108221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108222 if eval "test \"\${$as_ac_var+set}\" = set"; then
108223   echo $ECHO_N "(cached) $ECHO_C" >&6
108224 else
108225   if test x$gcc_no_link = xyes; then
108226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108228    { (exit 1); exit 1; }; }
108229 fi
108230 cat >conftest.$ac_ext <<_ACEOF
108231 /* confdefs.h.  */
108232 _ACEOF
108233 cat confdefs.h >>conftest.$ac_ext
108234 cat >>conftest.$ac_ext <<_ACEOF
108235 /* end confdefs.h.  */
108236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108238 #define $ac_func innocuous_$ac_func
108239
108240 /* System header to define __stub macros and hopefully few prototypes,
108241     which can conflict with char $ac_func (); below.
108242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108243     <limits.h> exists even on freestanding compilers.  */
108244
108245 #ifdef __STDC__
108246 # include <limits.h>
108247 #else
108248 # include <assert.h>
108249 #endif
108250
108251 #undef $ac_func
108252
108253 /* Override any gcc2 internal prototype to avoid an error.  */
108254 #ifdef __cplusplus
108255 extern "C"
108256 {
108257 #endif
108258 /* We use char because int might match the return type of a gcc2
108259    builtin and then its argument prototype would still apply.  */
108260 char $ac_func ();
108261 /* The GNU C library defines this for functions which it implements
108262     to always fail with ENOSYS.  Some functions are actually named
108263     something starting with __ and the normal name is an alias.  */
108264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108265 choke me
108266 #else
108267 char (*f) () = $ac_func;
108268 #endif
108269 #ifdef __cplusplus
108270 }
108271 #endif
108272
108273 int
108274 main ()
108275 {
108276 return f != $ac_func;
108277   ;
108278   return 0;
108279 }
108280 _ACEOF
108281 rm -f conftest.$ac_objext conftest$ac_exeext
108282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108283   (eval $ac_link) 2>conftest.er1
108284   ac_status=$?
108285   grep -v '^ *+' conftest.er1 >conftest.err
108286   rm -f conftest.er1
108287   cat conftest.err >&5
108288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108289   (exit $ac_status); } &&
108290          { ac_try='test -z "$ac_c_werror_flag"
108291                          || test ! -s conftest.err'
108292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108293   (eval $ac_try) 2>&5
108294   ac_status=$?
108295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108296   (exit $ac_status); }; } &&
108297          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
108303   eval "$as_ac_var=yes"
108304 else
108305   echo "$as_me: failed program was:" >&5
108306 sed 's/^/| /' conftest.$ac_ext >&5
108307
108308 eval "$as_ac_var=no"
108309 fi
108310 rm -f conftest.err conftest.$ac_objext \
108311       conftest$ac_exeext conftest.$ac_ext
108312 fi
108313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108315 if test `eval echo '${'$as_ac_var'}'` = yes; then
108316   cat >>confdefs.h <<_ACEOF
108317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108318 _ACEOF
108319
108320 else
108321   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108322 fi
108323 done
108324
108325
108326           if test x$ac_cv_func_copysignl = x"yes"; then
108327
108328 for ac_func in __signbitl
108329 do
108330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108331 echo "$as_me:$LINENO: checking for $ac_func" >&5
108332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108333 if eval "test \"\${$as_ac_var+set}\" = set"; then
108334   echo $ECHO_N "(cached) $ECHO_C" >&6
108335 else
108336   if test x$gcc_no_link = xyes; then
108337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108339    { (exit 1); exit 1; }; }
108340 fi
108341 cat >conftest.$ac_ext <<_ACEOF
108342 /* confdefs.h.  */
108343 _ACEOF
108344 cat confdefs.h >>conftest.$ac_ext
108345 cat >>conftest.$ac_ext <<_ACEOF
108346 /* end confdefs.h.  */
108347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108349 #define $ac_func innocuous_$ac_func
108350
108351 /* System header to define __stub macros and hopefully few prototypes,
108352     which can conflict with char $ac_func (); below.
108353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108354     <limits.h> exists even on freestanding compilers.  */
108355
108356 #ifdef __STDC__
108357 # include <limits.h>
108358 #else
108359 # include <assert.h>
108360 #endif
108361
108362 #undef $ac_func
108363
108364 /* Override any gcc2 internal prototype to avoid an error.  */
108365 #ifdef __cplusplus
108366 extern "C"
108367 {
108368 #endif
108369 /* We use char because int might match the return type of a gcc2
108370    builtin and then its argument prototype would still apply.  */
108371 char $ac_func ();
108372 /* The GNU C library defines this for functions which it implements
108373     to always fail with ENOSYS.  Some functions are actually named
108374     something starting with __ and the normal name is an alias.  */
108375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108376 choke me
108377 #else
108378 char (*f) () = $ac_func;
108379 #endif
108380 #ifdef __cplusplus
108381 }
108382 #endif
108383
108384 int
108385 main ()
108386 {
108387 return f != $ac_func;
108388   ;
108389   return 0;
108390 }
108391 _ACEOF
108392 rm -f conftest.$ac_objext conftest$ac_exeext
108393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108394   (eval $ac_link) 2>conftest.er1
108395   ac_status=$?
108396   grep -v '^ *+' conftest.er1 >conftest.err
108397   rm -f conftest.er1
108398   cat conftest.err >&5
108399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108400   (exit $ac_status); } &&
108401          { ac_try='test -z "$ac_c_werror_flag"
108402                          || test ! -s conftest.err'
108403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108404   (eval $ac_try) 2>&5
108405   ac_status=$?
108406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108407   (exit $ac_status); }; } &&
108408          { ac_try='test -s conftest$ac_exeext'
108409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108410   (eval $ac_try) 2>&5
108411   ac_status=$?
108412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108413   (exit $ac_status); }; }; then
108414   eval "$as_ac_var=yes"
108415 else
108416   echo "$as_me: failed program was:" >&5
108417 sed 's/^/| /' conftest.$ac_ext >&5
108418
108419 eval "$as_ac_var=no"
108420 fi
108421 rm -f conftest.err conftest.$ac_objext \
108422       conftest$ac_exeext conftest.$ac_ext
108423 fi
108424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108426 if test `eval echo '${'$as_ac_var'}'` = yes; then
108427   cat >>confdefs.h <<_ACEOF
108428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108429 _ACEOF
108430
108431 else
108432   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108433 fi
108434 done
108435
108436   fi
108437
108438   # Used in libmath/Makefile.am.
108439   if test -n "$LIBMATHOBJS"; then
108440     need_libmath=yes
108441   fi
108442
108443
108444
108445   ac_test_CXXFLAGS="${CXXFLAGS+set}"
108446   ac_save_CXXFLAGS="$CXXFLAGS"
108447   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
108448
108449
108450   echo "$as_me:$LINENO: checking for strtold declaration" >&5
108451 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
108452   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
108453     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
108454   echo $ECHO_N "(cached) $ECHO_C" >&6
108455 else
108456
108457
108458
108459       ac_ext=cc
108460 ac_cpp='$CXXCPP $CPPFLAGS'
108461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108464
108465       cat >conftest.$ac_ext <<_ACEOF
108466 /* confdefs.h.  */
108467 _ACEOF
108468 cat confdefs.h >>conftest.$ac_ext
108469 cat >>conftest.$ac_ext <<_ACEOF
108470 /* end confdefs.h.  */
108471 #include <stdlib.h>
108472 int
108473 main ()
108474 {
108475  strtold(0, 0);
108476   ;
108477   return 0;
108478 }
108479 _ACEOF
108480 rm -f conftest.$ac_objext
108481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108482   (eval $ac_compile) 2>conftest.er1
108483   ac_status=$?
108484   grep -v '^ *+' conftest.er1 >conftest.err
108485   rm -f conftest.er1
108486   cat conftest.err >&5
108487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108488   (exit $ac_status); } &&
108489          { ac_try='test -z "$ac_cxx_werror_flag"
108490                          || test ! -s conftest.err'
108491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108492   (eval $ac_try) 2>&5
108493   ac_status=$?
108494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108495   (exit $ac_status); }; } &&
108496          { ac_try='test -s conftest.$ac_objext'
108497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108498   (eval $ac_try) 2>&5
108499   ac_status=$?
108500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108501   (exit $ac_status); }; }; then
108502   glibcxx_cv_func_strtold_use=yes
108503 else
108504   echo "$as_me: failed program was:" >&5
108505 sed 's/^/| /' conftest.$ac_ext >&5
108506
108507 glibcxx_cv_func_strtold_use=no
108508 fi
108509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108510       ac_ext=c
108511 ac_cpp='$CPP $CPPFLAGS'
108512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108515
108516
108517 fi
108518
108519   fi
108520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
108521 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
108522   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
108523
108524 for ac_func in strtold
108525 do
108526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108527 echo "$as_me:$LINENO: checking for $ac_func" >&5
108528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108529 if eval "test \"\${$as_ac_var+set}\" = set"; then
108530   echo $ECHO_N "(cached) $ECHO_C" >&6
108531 else
108532   if test x$gcc_no_link = xyes; then
108533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108535    { (exit 1); exit 1; }; }
108536 fi
108537 cat >conftest.$ac_ext <<_ACEOF
108538 /* confdefs.h.  */
108539 _ACEOF
108540 cat confdefs.h >>conftest.$ac_ext
108541 cat >>conftest.$ac_ext <<_ACEOF
108542 /* end confdefs.h.  */
108543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108545 #define $ac_func innocuous_$ac_func
108546
108547 /* System header to define __stub macros and hopefully few prototypes,
108548     which can conflict with char $ac_func (); below.
108549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108550     <limits.h> exists even on freestanding compilers.  */
108551
108552 #ifdef __STDC__
108553 # include <limits.h>
108554 #else
108555 # include <assert.h>
108556 #endif
108557
108558 #undef $ac_func
108559
108560 /* Override any gcc2 internal prototype to avoid an error.  */
108561 #ifdef __cplusplus
108562 extern "C"
108563 {
108564 #endif
108565 /* We use char because int might match the return type of a gcc2
108566    builtin and then its argument prototype would still apply.  */
108567 char $ac_func ();
108568 /* The GNU C library defines this for functions which it implements
108569     to always fail with ENOSYS.  Some functions are actually named
108570     something starting with __ and the normal name is an alias.  */
108571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108572 choke me
108573 #else
108574 char (*f) () = $ac_func;
108575 #endif
108576 #ifdef __cplusplus
108577 }
108578 #endif
108579
108580 int
108581 main ()
108582 {
108583 return f != $ac_func;
108584   ;
108585   return 0;
108586 }
108587 _ACEOF
108588 rm -f conftest.$ac_objext conftest$ac_exeext
108589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108590   (eval $ac_link) 2>conftest.er1
108591   ac_status=$?
108592   grep -v '^ *+' conftest.er1 >conftest.err
108593   rm -f conftest.er1
108594   cat conftest.err >&5
108595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108596   (exit $ac_status); } &&
108597          { ac_try='test -z "$ac_c_werror_flag"
108598                          || test ! -s conftest.err'
108599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108600   (eval $ac_try) 2>&5
108601   ac_status=$?
108602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108603   (exit $ac_status); }; } &&
108604          { ac_try='test -s conftest$ac_exeext'
108605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108606   (eval $ac_try) 2>&5
108607   ac_status=$?
108608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108609   (exit $ac_status); }; }; then
108610   eval "$as_ac_var=yes"
108611 else
108612   echo "$as_me: failed program was:" >&5
108613 sed 's/^/| /' conftest.$ac_ext >&5
108614
108615 eval "$as_ac_var=no"
108616 fi
108617 rm -f conftest.err conftest.$ac_objext \
108618       conftest$ac_exeext conftest.$ac_ext
108619 fi
108620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108622 if test `eval echo '${'$as_ac_var'}'` = yes; then
108623   cat >>confdefs.h <<_ACEOF
108624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108625 _ACEOF
108626
108627 fi
108628 done
108629
108630   fi
108631
108632
108633
108634
108635
108636   echo "$as_me:$LINENO: checking for strtof declaration" >&5
108637 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108638   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108639     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108640   echo $ECHO_N "(cached) $ECHO_C" >&6
108641 else
108642
108643
108644
108645       ac_ext=cc
108646 ac_cpp='$CXXCPP $CPPFLAGS'
108647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108650
108651       cat >conftest.$ac_ext <<_ACEOF
108652 /* confdefs.h.  */
108653 _ACEOF
108654 cat confdefs.h >>conftest.$ac_ext
108655 cat >>conftest.$ac_ext <<_ACEOF
108656 /* end confdefs.h.  */
108657 #include <stdlib.h>
108658 int
108659 main ()
108660 {
108661  strtof(0, 0);
108662   ;
108663   return 0;
108664 }
108665 _ACEOF
108666 rm -f conftest.$ac_objext
108667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108668   (eval $ac_compile) 2>conftest.er1
108669   ac_status=$?
108670   grep -v '^ *+' conftest.er1 >conftest.err
108671   rm -f conftest.er1
108672   cat conftest.err >&5
108673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108674   (exit $ac_status); } &&
108675          { ac_try='test -z "$ac_cxx_werror_flag"
108676                          || test ! -s conftest.err'
108677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108678   (eval $ac_try) 2>&5
108679   ac_status=$?
108680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108681   (exit $ac_status); }; } &&
108682          { ac_try='test -s conftest.$ac_objext'
108683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108684   (eval $ac_try) 2>&5
108685   ac_status=$?
108686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108687   (exit $ac_status); }; }; then
108688   glibcxx_cv_func_strtof_use=yes
108689 else
108690   echo "$as_me: failed program was:" >&5
108691 sed 's/^/| /' conftest.$ac_ext >&5
108692
108693 glibcxx_cv_func_strtof_use=no
108694 fi
108695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108696       ac_ext=c
108697 ac_cpp='$CPP $CPPFLAGS'
108698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108701
108702
108703 fi
108704
108705   fi
108706   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108707 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108708   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108709
108710 for ac_func in strtof
108711 do
108712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108713 echo "$as_me:$LINENO: checking for $ac_func" >&5
108714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108715 if eval "test \"\${$as_ac_var+set}\" = set"; then
108716   echo $ECHO_N "(cached) $ECHO_C" >&6
108717 else
108718   if test x$gcc_no_link = xyes; then
108719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108721    { (exit 1); exit 1; }; }
108722 fi
108723 cat >conftest.$ac_ext <<_ACEOF
108724 /* confdefs.h.  */
108725 _ACEOF
108726 cat confdefs.h >>conftest.$ac_ext
108727 cat >>conftest.$ac_ext <<_ACEOF
108728 /* end confdefs.h.  */
108729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108731 #define $ac_func innocuous_$ac_func
108732
108733 /* System header to define __stub macros and hopefully few prototypes,
108734     which can conflict with char $ac_func (); below.
108735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108736     <limits.h> exists even on freestanding compilers.  */
108737
108738 #ifdef __STDC__
108739 # include <limits.h>
108740 #else
108741 # include <assert.h>
108742 #endif
108743
108744 #undef $ac_func
108745
108746 /* Override any gcc2 internal prototype to avoid an error.  */
108747 #ifdef __cplusplus
108748 extern "C"
108749 {
108750 #endif
108751 /* We use char because int might match the return type of a gcc2
108752    builtin and then its argument prototype would still apply.  */
108753 char $ac_func ();
108754 /* The GNU C library defines this for functions which it implements
108755     to always fail with ENOSYS.  Some functions are actually named
108756     something starting with __ and the normal name is an alias.  */
108757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108758 choke me
108759 #else
108760 char (*f) () = $ac_func;
108761 #endif
108762 #ifdef __cplusplus
108763 }
108764 #endif
108765
108766 int
108767 main ()
108768 {
108769 return f != $ac_func;
108770   ;
108771   return 0;
108772 }
108773 _ACEOF
108774 rm -f conftest.$ac_objext conftest$ac_exeext
108775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108776   (eval $ac_link) 2>conftest.er1
108777   ac_status=$?
108778   grep -v '^ *+' conftest.er1 >conftest.err
108779   rm -f conftest.er1
108780   cat conftest.err >&5
108781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108782   (exit $ac_status); } &&
108783          { ac_try='test -z "$ac_c_werror_flag"
108784                          || test ! -s conftest.err'
108785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108786   (eval $ac_try) 2>&5
108787   ac_status=$?
108788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108789   (exit $ac_status); }; } &&
108790          { ac_try='test -s conftest$ac_exeext'
108791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108792   (eval $ac_try) 2>&5
108793   ac_status=$?
108794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108795   (exit $ac_status); }; }; then
108796   eval "$as_ac_var=yes"
108797 else
108798   echo "$as_me: failed program was:" >&5
108799 sed 's/^/| /' conftest.$ac_ext >&5
108800
108801 eval "$as_ac_var=no"
108802 fi
108803 rm -f conftest.err conftest.$ac_objext \
108804       conftest$ac_exeext conftest.$ac_ext
108805 fi
108806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108808 if test `eval echo '${'$as_ac_var'}'` = yes; then
108809   cat >>confdefs.h <<_ACEOF
108810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108811 _ACEOF
108812
108813 fi
108814 done
108815
108816   fi
108817
108818
108819
108820
108821
108822   CXXFLAGS="$ac_save_CXXFLAGS"
108823
108824
108825     # For LFS.
108826     cat >>confdefs.h <<\_ACEOF
108827 #define HAVE_INT64_T 1
108828 _ACEOF
108829
108830
108831
108832
108833   ac_ext=cc
108834 ac_cpp='$CXXCPP $CPPFLAGS'
108835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108838
108839   ac_save_CXXFLAGS="$CXXFLAGS"
108840   CXXFLAGS="$CXXFLAGS -fno-exceptions"
108841   echo "$as_me:$LINENO: checking for LFS support" >&5
108842 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108843   if test "${glibcxx_cv_LFS+set}" = set; then
108844   echo $ECHO_N "(cached) $ECHO_C" >&6
108845 else
108846
108847     if test x$gcc_no_link = xyes; then
108848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108850    { (exit 1); exit 1; }; }
108851 fi
108852 cat >conftest.$ac_ext <<_ACEOF
108853 /* confdefs.h.  */
108854 _ACEOF
108855 cat confdefs.h >>conftest.$ac_ext
108856 cat >>conftest.$ac_ext <<_ACEOF
108857 /* end confdefs.h.  */
108858 #include <unistd.h>
108859        #include <stdio.h>
108860        #include <sys/stat.h>
108861
108862 int
108863 main ()
108864 {
108865 FILE* fp;
108866        fopen64("t", "w");
108867        fseeko64(fp, 0, SEEK_CUR);
108868        ftello64(fp);
108869        lseek64(1, 0, SEEK_CUR);
108870        struct stat64 buf;
108871        fstat64(1, &buf);
108872   ;
108873   return 0;
108874 }
108875 _ACEOF
108876 rm -f conftest.$ac_objext conftest$ac_exeext
108877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108878   (eval $ac_link) 2>conftest.er1
108879   ac_status=$?
108880   grep -v '^ *+' conftest.er1 >conftest.err
108881   rm -f conftest.er1
108882   cat conftest.err >&5
108883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108884   (exit $ac_status); } &&
108885          { ac_try='test -z "$ac_cxx_werror_flag"
108886                          || test ! -s conftest.err'
108887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108888   (eval $ac_try) 2>&5
108889   ac_status=$?
108890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108891   (exit $ac_status); }; } &&
108892          { ac_try='test -s conftest$ac_exeext'
108893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108894   (eval $ac_try) 2>&5
108895   ac_status=$?
108896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108897   (exit $ac_status); }; }; then
108898   glibcxx_cv_LFS=yes
108899 else
108900   echo "$as_me: failed program was:" >&5
108901 sed 's/^/| /' conftest.$ac_ext >&5
108902
108903 glibcxx_cv_LFS=no
108904 fi
108905 rm -f conftest.err conftest.$ac_objext \
108906       conftest$ac_exeext conftest.$ac_ext
108907
108908 fi
108909
108910   if test $glibcxx_cv_LFS = yes; then
108911
108912 cat >>confdefs.h <<\_ACEOF
108913 #define _GLIBCXX_USE_LFS 1
108914 _ACEOF
108915
108916   fi
108917   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108918 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108919   CXXFLAGS="$ac_save_CXXFLAGS"
108920   ac_ext=c
108921 ac_cpp='$CPP $CPPFLAGS'
108922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108925
108926
108927
108928     # For showmanyc_helper().
108929
108930
108931 for ac_header in sys/ioctl.h sys/filio.h
108932 do
108933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108935   echo "$as_me:$LINENO: checking for $ac_header" >&5
108936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108938   echo $ECHO_N "(cached) $ECHO_C" >&6
108939 fi
108940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108942 else
108943   # Is the header compilable?
108944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108946 cat >conftest.$ac_ext <<_ACEOF
108947 /* confdefs.h.  */
108948 _ACEOF
108949 cat confdefs.h >>conftest.$ac_ext
108950 cat >>conftest.$ac_ext <<_ACEOF
108951 /* end confdefs.h.  */
108952 $ac_includes_default
108953 #include <$ac_header>
108954 _ACEOF
108955 rm -f conftest.$ac_objext
108956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108957   (eval $ac_compile) 2>conftest.er1
108958   ac_status=$?
108959   grep -v '^ *+' conftest.er1 >conftest.err
108960   rm -f conftest.er1
108961   cat conftest.err >&5
108962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108963   (exit $ac_status); } &&
108964          { ac_try='test -z "$ac_c_werror_flag"
108965                          || test ! -s conftest.err'
108966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108967   (eval $ac_try) 2>&5
108968   ac_status=$?
108969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108970   (exit $ac_status); }; } &&
108971          { ac_try='test -s conftest.$ac_objext'
108972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108973   (eval $ac_try) 2>&5
108974   ac_status=$?
108975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108976   (exit $ac_status); }; }; then
108977   ac_header_compiler=yes
108978 else
108979   echo "$as_me: failed program was:" >&5
108980 sed 's/^/| /' conftest.$ac_ext >&5
108981
108982 ac_header_compiler=no
108983 fi
108984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108986 echo "${ECHO_T}$ac_header_compiler" >&6
108987
108988 # Is the header present?
108989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108991 cat >conftest.$ac_ext <<_ACEOF
108992 /* confdefs.h.  */
108993 _ACEOF
108994 cat confdefs.h >>conftest.$ac_ext
108995 cat >>conftest.$ac_ext <<_ACEOF
108996 /* end confdefs.h.  */
108997 #include <$ac_header>
108998 _ACEOF
108999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109000   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109001   ac_status=$?
109002   grep -v '^ *+' conftest.er1 >conftest.err
109003   rm -f conftest.er1
109004   cat conftest.err >&5
109005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109006   (exit $ac_status); } >/dev/null; then
109007   if test -s conftest.err; then
109008     ac_cpp_err=$ac_c_preproc_warn_flag
109009     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109010   else
109011     ac_cpp_err=
109012   fi
109013 else
109014   ac_cpp_err=yes
109015 fi
109016 if test -z "$ac_cpp_err"; then
109017   ac_header_preproc=yes
109018 else
109019   echo "$as_me: failed program was:" >&5
109020 sed 's/^/| /' conftest.$ac_ext >&5
109021
109022   ac_header_preproc=no
109023 fi
109024 rm -f conftest.err conftest.$ac_ext
109025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109026 echo "${ECHO_T}$ac_header_preproc" >&6
109027
109028 # So?  What about this header?
109029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109030   yes:no: )
109031     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109033     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109035     ac_header_preproc=yes
109036     ;;
109037   no:yes:* )
109038     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109040     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109041 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109042     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109044     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109045 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109046     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109048     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109050     (
109051       cat <<\_ASBOX
109052 ## ----------------------------------------- ##
109053 ## Report this to the package-unused lists.  ##
109054 ## ----------------------------------------- ##
109055 _ASBOX
109056     ) |
109057       sed "s/^/$as_me: WARNING:     /" >&2
109058     ;;
109059 esac
109060 echo "$as_me:$LINENO: checking for $ac_header" >&5
109061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109063   echo $ECHO_N "(cached) $ECHO_C" >&6
109064 else
109065   eval "$as_ac_Header=\$ac_header_preproc"
109066 fi
109067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109069
109070 fi
109071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109072   cat >>confdefs.h <<_ACEOF
109073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109074 _ACEOF
109075
109076 fi
109077
109078 done
109079
109080
109081   echo "$as_me:$LINENO: checking for poll" >&5
109082 echo $ECHO_N "checking for poll... $ECHO_C" >&6
109083   if test "${glibcxx_cv_POLL+set}" = set; then
109084   echo $ECHO_N "(cached) $ECHO_C" >&6
109085 else
109086
109087     if test x$gcc_no_link = xyes; then
109088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109090    { (exit 1); exit 1; }; }
109091 fi
109092 cat >conftest.$ac_ext <<_ACEOF
109093 /* confdefs.h.  */
109094 _ACEOF
109095 cat confdefs.h >>conftest.$ac_ext
109096 cat >>conftest.$ac_ext <<_ACEOF
109097 /* end confdefs.h.  */
109098 #include <poll.h>
109099 int
109100 main ()
109101 {
109102 struct pollfd pfd[1];
109103        pfd[0].events = POLLIN;
109104        poll(pfd, 1, 0);
109105   ;
109106   return 0;
109107 }
109108 _ACEOF
109109 rm -f conftest.$ac_objext conftest$ac_exeext
109110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109111   (eval $ac_link) 2>conftest.er1
109112   ac_status=$?
109113   grep -v '^ *+' conftest.er1 >conftest.err
109114   rm -f conftest.er1
109115   cat conftest.err >&5
109116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109117   (exit $ac_status); } &&
109118          { ac_try='test -z "$ac_c_werror_flag"
109119                          || test ! -s conftest.err'
109120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109121   (eval $ac_try) 2>&5
109122   ac_status=$?
109123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109124   (exit $ac_status); }; } &&
109125          { ac_try='test -s conftest$ac_exeext'
109126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109127   (eval $ac_try) 2>&5
109128   ac_status=$?
109129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109130   (exit $ac_status); }; }; then
109131   glibcxx_cv_POLL=yes
109132 else
109133   echo "$as_me: failed program was:" >&5
109134 sed 's/^/| /' conftest.$ac_ext >&5
109135
109136 glibcxx_cv_POLL=no
109137 fi
109138 rm -f conftest.err conftest.$ac_objext \
109139       conftest$ac_exeext conftest.$ac_ext
109140
109141 fi
109142
109143   if test $glibcxx_cv_POLL = yes; then
109144
109145 cat >>confdefs.h <<\_ACEOF
109146 #define HAVE_POLL 1
109147 _ACEOF
109148
109149   fi
109150   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
109151 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
109152
109153
109154   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
109155 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
109156   if test "${glibcxx_cv_S_ISREG+set}" = set; then
109157   echo $ECHO_N "(cached) $ECHO_C" >&6
109158 else
109159
109160     if test x$gcc_no_link = xyes; then
109161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109163    { (exit 1); exit 1; }; }
109164 fi
109165 cat >conftest.$ac_ext <<_ACEOF
109166 /* confdefs.h.  */
109167 _ACEOF
109168 cat confdefs.h >>conftest.$ac_ext
109169 cat >>conftest.$ac_ext <<_ACEOF
109170 /* end confdefs.h.  */
109171 #include <sys/stat.h>
109172 int
109173 main ()
109174 {
109175 struct stat buffer;
109176        fstat(0, &buffer);
109177        S_ISREG(buffer.st_mode);
109178   ;
109179   return 0;
109180 }
109181 _ACEOF
109182 rm -f conftest.$ac_objext conftest$ac_exeext
109183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109184   (eval $ac_link) 2>conftest.er1
109185   ac_status=$?
109186   grep -v '^ *+' conftest.er1 >conftest.err
109187   rm -f conftest.er1
109188   cat conftest.err >&5
109189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109190   (exit $ac_status); } &&
109191          { ac_try='test -z "$ac_c_werror_flag"
109192                          || test ! -s conftest.err'
109193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109194   (eval $ac_try) 2>&5
109195   ac_status=$?
109196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109197   (exit $ac_status); }; } &&
109198          { ac_try='test -s conftest$ac_exeext'
109199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109200   (eval $ac_try) 2>&5
109201   ac_status=$?
109202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109203   (exit $ac_status); }; }; then
109204   glibcxx_cv_S_ISREG=yes
109205 else
109206   echo "$as_me: failed program was:" >&5
109207 sed 's/^/| /' conftest.$ac_ext >&5
109208
109209 glibcxx_cv_S_ISREG=no
109210 fi
109211 rm -f conftest.err conftest.$ac_objext \
109212       conftest$ac_exeext conftest.$ac_ext
109213
109214 fi
109215
109216   if test "${glibcxx_cv_S_IFREG+set}" = set; then
109217   echo $ECHO_N "(cached) $ECHO_C" >&6
109218 else
109219
109220     if test x$gcc_no_link = xyes; then
109221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109223    { (exit 1); exit 1; }; }
109224 fi
109225 cat >conftest.$ac_ext <<_ACEOF
109226 /* confdefs.h.  */
109227 _ACEOF
109228 cat confdefs.h >>conftest.$ac_ext
109229 cat >>conftest.$ac_ext <<_ACEOF
109230 /* end confdefs.h.  */
109231 #include <sys/stat.h>
109232 int
109233 main ()
109234 {
109235 struct stat buffer;
109236        fstat(0, &buffer);
109237        S_IFREG & buffer.st_mode;
109238   ;
109239   return 0;
109240 }
109241 _ACEOF
109242 rm -f conftest.$ac_objext conftest$ac_exeext
109243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109244   (eval $ac_link) 2>conftest.er1
109245   ac_status=$?
109246   grep -v '^ *+' conftest.er1 >conftest.err
109247   rm -f conftest.er1
109248   cat conftest.err >&5
109249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109250   (exit $ac_status); } &&
109251          { ac_try='test -z "$ac_c_werror_flag"
109252                          || test ! -s conftest.err'
109253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109254   (eval $ac_try) 2>&5
109255   ac_status=$?
109256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109257   (exit $ac_status); }; } &&
109258          { ac_try='test -s conftest$ac_exeext'
109259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109260   (eval $ac_try) 2>&5
109261   ac_status=$?
109262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109263   (exit $ac_status); }; }; then
109264   glibcxx_cv_S_IFREG=yes
109265 else
109266   echo "$as_me: failed program was:" >&5
109267 sed 's/^/| /' conftest.$ac_ext >&5
109268
109269 glibcxx_cv_S_IFREG=no
109270 fi
109271 rm -f conftest.err conftest.$ac_objext \
109272       conftest$ac_exeext conftest.$ac_ext
109273
109274 fi
109275
109276   res=no
109277   if test $glibcxx_cv_S_ISREG = yes; then
109278
109279 cat >>confdefs.h <<\_ACEOF
109280 #define HAVE_S_ISREG 1
109281 _ACEOF
109282
109283     res=S_ISREG
109284   elif test $glibcxx_cv_S_IFREG = yes; then
109285
109286 cat >>confdefs.h <<\_ACEOF
109287 #define HAVE_S_IFREG 1
109288 _ACEOF
109289
109290     res=S_IFREG
109291   fi
109292   echo "$as_me:$LINENO: result: $res" >&5
109293 echo "${ECHO_T}$res" >&6
109294
109295
109296     # For xsputn_2().
109297
109298 for ac_header in sys/uio.h
109299 do
109300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109302   echo "$as_me:$LINENO: checking for $ac_header" >&5
109303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109305   echo $ECHO_N "(cached) $ECHO_C" >&6
109306 fi
109307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109309 else
109310   # Is the header compilable?
109311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109312 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
109320 #include <$ac_header>
109321 _ACEOF
109322 rm -f conftest.$ac_objext
109323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109324   (eval $ac_compile) 2>conftest.er1
109325   ac_status=$?
109326   grep -v '^ *+' conftest.er1 >conftest.err
109327   rm -f conftest.er1
109328   cat conftest.err >&5
109329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109330   (exit $ac_status); } &&
109331          { ac_try='test -z "$ac_c_werror_flag"
109332                          || test ! -s conftest.err'
109333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109334   (eval $ac_try) 2>&5
109335   ac_status=$?
109336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109337   (exit $ac_status); }; } &&
109338          { ac_try='test -s conftest.$ac_objext'
109339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109340   (eval $ac_try) 2>&5
109341   ac_status=$?
109342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109343   (exit $ac_status); }; }; then
109344   ac_header_compiler=yes
109345 else
109346   echo "$as_me: failed program was:" >&5
109347 sed 's/^/| /' conftest.$ac_ext >&5
109348
109349 ac_header_compiler=no
109350 fi
109351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109353 echo "${ECHO_T}$ac_header_compiler" >&6
109354
109355 # Is the header present?
109356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109358 cat >conftest.$ac_ext <<_ACEOF
109359 /* confdefs.h.  */
109360 _ACEOF
109361 cat confdefs.h >>conftest.$ac_ext
109362 cat >>conftest.$ac_ext <<_ACEOF
109363 /* end confdefs.h.  */
109364 #include <$ac_header>
109365 _ACEOF
109366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109367   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109368   ac_status=$?
109369   grep -v '^ *+' conftest.er1 >conftest.err
109370   rm -f conftest.er1
109371   cat conftest.err >&5
109372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109373   (exit $ac_status); } >/dev/null; then
109374   if test -s conftest.err; then
109375     ac_cpp_err=$ac_c_preproc_warn_flag
109376     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109377   else
109378     ac_cpp_err=
109379   fi
109380 else
109381   ac_cpp_err=yes
109382 fi
109383 if test -z "$ac_cpp_err"; then
109384   ac_header_preproc=yes
109385 else
109386   echo "$as_me: failed program was:" >&5
109387 sed 's/^/| /' conftest.$ac_ext >&5
109388
109389   ac_header_preproc=no
109390 fi
109391 rm -f conftest.err conftest.$ac_ext
109392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109393 echo "${ECHO_T}$ac_header_preproc" >&6
109394
109395 # So?  What about this header?
109396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109397   yes:no: )
109398     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109400     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109402     ac_header_preproc=yes
109403     ;;
109404   no:yes:* )
109405     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109407     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109408 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109409     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109411     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109412 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109413     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109415     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109417     (
109418       cat <<\_ASBOX
109419 ## ----------------------------------------- ##
109420 ## Report this to the package-unused lists.  ##
109421 ## ----------------------------------------- ##
109422 _ASBOX
109423     ) |
109424       sed "s/^/$as_me: WARNING:     /" >&2
109425     ;;
109426 esac
109427 echo "$as_me:$LINENO: checking for $ac_header" >&5
109428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109430   echo $ECHO_N "(cached) $ECHO_C" >&6
109431 else
109432   eval "$as_ac_Header=\$ac_header_preproc"
109433 fi
109434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109436
109437 fi
109438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109439   cat >>confdefs.h <<_ACEOF
109440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109441 _ACEOF
109442
109443 fi
109444
109445 done
109446
109447
109448   echo "$as_me:$LINENO: checking for writev" >&5
109449 echo $ECHO_N "checking for writev... $ECHO_C" >&6
109450   if test "${glibcxx_cv_WRITEV+set}" = set; then
109451   echo $ECHO_N "(cached) $ECHO_C" >&6
109452 else
109453
109454     if test x$gcc_no_link = xyes; then
109455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109457    { (exit 1); exit 1; }; }
109458 fi
109459 cat >conftest.$ac_ext <<_ACEOF
109460 /* confdefs.h.  */
109461 _ACEOF
109462 cat confdefs.h >>conftest.$ac_ext
109463 cat >>conftest.$ac_ext <<_ACEOF
109464 /* end confdefs.h.  */
109465 #include <sys/uio.h>
109466 int
109467 main ()
109468 {
109469 struct iovec iov[2];
109470        writev(0, iov, 0);
109471   ;
109472   return 0;
109473 }
109474 _ACEOF
109475 rm -f conftest.$ac_objext conftest$ac_exeext
109476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109477   (eval $ac_link) 2>conftest.er1
109478   ac_status=$?
109479   grep -v '^ *+' conftest.er1 >conftest.err
109480   rm -f conftest.er1
109481   cat conftest.err >&5
109482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109483   (exit $ac_status); } &&
109484          { ac_try='test -z "$ac_c_werror_flag"
109485                          || test ! -s conftest.err'
109486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109487   (eval $ac_try) 2>&5
109488   ac_status=$?
109489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109490   (exit $ac_status); }; } &&
109491          { ac_try='test -s conftest$ac_exeext'
109492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109493   (eval $ac_try) 2>&5
109494   ac_status=$?
109495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109496   (exit $ac_status); }; }; then
109497   glibcxx_cv_WRITEV=yes
109498 else
109499   echo "$as_me: failed program was:" >&5
109500 sed 's/^/| /' conftest.$ac_ext >&5
109501
109502 glibcxx_cv_WRITEV=no
109503 fi
109504 rm -f conftest.err conftest.$ac_objext \
109505       conftest$ac_exeext conftest.$ac_ext
109506
109507 fi
109508
109509   if test $glibcxx_cv_WRITEV = yes; then
109510
109511 cat >>confdefs.h <<\_ACEOF
109512 #define HAVE_WRITEV 1
109513 _ACEOF
109514
109515   fi
109516   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
109517 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
109518
109519
109520     # For C99 support to TR1.
109521
109522
109523
109524
109525   ac_ext=cc
109526 ac_cpp='$CXXCPP $CPPFLAGS'
109527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109530
109531
109532   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
109533   # undefined and fake C99 facilities may be spuriously enabled.
109534   ac_save_CXXFLAGS="$CXXFLAGS"
109535   CXXFLAGS="$CXXFLAGS -std=c++98"
109536
109537   # Check for the existence of <complex.h> complex math functions used
109538   # by tr1/complex.
109539
109540 for ac_header in complex.h
109541 do
109542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109544   echo "$as_me:$LINENO: checking for $ac_header" >&5
109545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109547   echo $ECHO_N "(cached) $ECHO_C" >&6
109548 fi
109549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109551 else
109552   # Is the header compilable?
109553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109555 cat >conftest.$ac_ext <<_ACEOF
109556 /* confdefs.h.  */
109557 _ACEOF
109558 cat confdefs.h >>conftest.$ac_ext
109559 cat >>conftest.$ac_ext <<_ACEOF
109560 /* end confdefs.h.  */
109561 $ac_includes_default
109562 #include <$ac_header>
109563 _ACEOF
109564 rm -f conftest.$ac_objext
109565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109566   (eval $ac_compile) 2>conftest.er1
109567   ac_status=$?
109568   grep -v '^ *+' conftest.er1 >conftest.err
109569   rm -f conftest.er1
109570   cat conftest.err >&5
109571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109572   (exit $ac_status); } &&
109573          { ac_try='test -z "$ac_cxx_werror_flag"
109574                          || test ! -s conftest.err'
109575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109576   (eval $ac_try) 2>&5
109577   ac_status=$?
109578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109579   (exit $ac_status); }; } &&
109580          { ac_try='test -s conftest.$ac_objext'
109581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109582   (eval $ac_try) 2>&5
109583   ac_status=$?
109584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109585   (exit $ac_status); }; }; then
109586   ac_header_compiler=yes
109587 else
109588   echo "$as_me: failed program was:" >&5
109589 sed 's/^/| /' conftest.$ac_ext >&5
109590
109591 ac_header_compiler=no
109592 fi
109593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109595 echo "${ECHO_T}$ac_header_compiler" >&6
109596
109597 # Is the header present?
109598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109600 cat >conftest.$ac_ext <<_ACEOF
109601 /* confdefs.h.  */
109602 _ACEOF
109603 cat confdefs.h >>conftest.$ac_ext
109604 cat >>conftest.$ac_ext <<_ACEOF
109605 /* end confdefs.h.  */
109606 #include <$ac_header>
109607 _ACEOF
109608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109609   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109610   ac_status=$?
109611   grep -v '^ *+' conftest.er1 >conftest.err
109612   rm -f conftest.er1
109613   cat conftest.err >&5
109614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109615   (exit $ac_status); } >/dev/null; then
109616   if test -s conftest.err; then
109617     ac_cpp_err=$ac_cxx_preproc_warn_flag
109618     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109619   else
109620     ac_cpp_err=
109621   fi
109622 else
109623   ac_cpp_err=yes
109624 fi
109625 if test -z "$ac_cpp_err"; then
109626   ac_header_preproc=yes
109627 else
109628   echo "$as_me: failed program was:" >&5
109629 sed 's/^/| /' conftest.$ac_ext >&5
109630
109631   ac_header_preproc=no
109632 fi
109633 rm -f conftest.err conftest.$ac_ext
109634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109635 echo "${ECHO_T}$ac_header_preproc" >&6
109636
109637 # So?  What about this header?
109638 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109639   yes:no: )
109640     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109644     ac_header_preproc=yes
109645     ;;
109646   no:yes:* )
109647     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109649     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109650 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109651     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109653     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109654 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109655     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109657     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109659     (
109660       cat <<\_ASBOX
109661 ## ----------------------------------------- ##
109662 ## Report this to the package-unused lists.  ##
109663 ## ----------------------------------------- ##
109664 _ASBOX
109665     ) |
109666       sed "s/^/$as_me: WARNING:     /" >&2
109667     ;;
109668 esac
109669 echo "$as_me:$LINENO: checking for $ac_header" >&5
109670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109672   echo $ECHO_N "(cached) $ECHO_C" >&6
109673 else
109674   eval "$as_ac_Header=\$ac_header_preproc"
109675 fi
109676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109678
109679 fi
109680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109681   cat >>confdefs.h <<_ACEOF
109682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109683 _ACEOF
109684  ac_has_complex_h=yes
109685 else
109686   ac_has_complex_h=no
109687 fi
109688
109689 done
109690
109691   ac_c99_complex_tr1=no;
109692   if test x"$ac_has_complex_h" = x"yes"; then
109693     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109694 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109695     cat >conftest.$ac_ext <<_ACEOF
109696 /* confdefs.h.  */
109697 _ACEOF
109698 cat confdefs.h >>conftest.$ac_ext
109699 cat >>conftest.$ac_ext <<_ACEOF
109700 /* end confdefs.h.  */
109701 #include <complex.h>
109702 int
109703 main ()
109704 {
109705 typedef __complex__ float float_type; float_type tmpf;
109706                     cacosf(tmpf);
109707                     casinf(tmpf);
109708                     catanf(tmpf);
109709                     cacoshf(tmpf);
109710                     casinhf(tmpf);
109711                     catanhf(tmpf);
109712                     typedef __complex__ double double_type; double_type tmpd;
109713                     cacos(tmpd);
109714                     casin(tmpd);
109715                     catan(tmpd);
109716                     cacosh(tmpd);
109717                     casinh(tmpd);
109718                     catanh(tmpd);
109719                     typedef __complex__ long double ld_type; ld_type tmpld;
109720                     cacosl(tmpld);
109721                     casinl(tmpld);
109722                     catanl(tmpld);
109723                     cacoshl(tmpld);
109724                     casinhl(tmpld);
109725                     catanhl(tmpld);
109726
109727   ;
109728   return 0;
109729 }
109730 _ACEOF
109731 rm -f conftest.$ac_objext
109732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109733   (eval $ac_compile) 2>conftest.er1
109734   ac_status=$?
109735   grep -v '^ *+' conftest.er1 >conftest.err
109736   rm -f conftest.er1
109737   cat conftest.err >&5
109738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109739   (exit $ac_status); } &&
109740          { ac_try='test -z "$ac_cxx_werror_flag"
109741                          || test ! -s conftest.err'
109742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109743   (eval $ac_try) 2>&5
109744   ac_status=$?
109745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109746   (exit $ac_status); }; } &&
109747          { ac_try='test -s conftest.$ac_objext'
109748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109749   (eval $ac_try) 2>&5
109750   ac_status=$?
109751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109752   (exit $ac_status); }; }; then
109753   ac_c99_complex_tr1=yes
109754 else
109755   echo "$as_me: failed program was:" >&5
109756 sed 's/^/| /' conftest.$ac_ext >&5
109757
109758 ac_c99_complex_tr1=no
109759 fi
109760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109761   fi
109762   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109763 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109764   if test x"$ac_c99_complex_tr1" = x"yes"; then
109765
109766 cat >>confdefs.h <<\_ACEOF
109767 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109768 _ACEOF
109769
109770   fi
109771
109772   # Check for the existence of <ctype.h> functions.
109773   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109774 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109775   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109776   echo $ECHO_N "(cached) $ECHO_C" >&6
109777 else
109778
109779   cat >conftest.$ac_ext <<_ACEOF
109780 /* confdefs.h.  */
109781 _ACEOF
109782 cat confdefs.h >>conftest.$ac_ext
109783 cat >>conftest.$ac_ext <<_ACEOF
109784 /* end confdefs.h.  */
109785 #include <ctype.h>
109786 int
109787 main ()
109788 {
109789 int ch;
109790                   int ret;
109791                   ret = isblank(ch);
109792
109793   ;
109794   return 0;
109795 }
109796 _ACEOF
109797 rm -f conftest.$ac_objext
109798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109799   (eval $ac_compile) 2>conftest.er1
109800   ac_status=$?
109801   grep -v '^ *+' conftest.er1 >conftest.err
109802   rm -f conftest.er1
109803   cat conftest.err >&5
109804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109805   (exit $ac_status); } &&
109806          { ac_try='test -z "$ac_cxx_werror_flag"
109807                          || test ! -s conftest.err'
109808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109809   (eval $ac_try) 2>&5
109810   ac_status=$?
109811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109812   (exit $ac_status); }; } &&
109813          { ac_try='test -s conftest.$ac_objext'
109814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109815   (eval $ac_try) 2>&5
109816   ac_status=$?
109817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109818   (exit $ac_status); }; }; then
109819   glibcxx_cv_c99_ctype_tr1=yes
109820 else
109821   echo "$as_me: failed program was:" >&5
109822 sed 's/^/| /' conftest.$ac_ext >&5
109823
109824 glibcxx_cv_c99_ctype_tr1=no
109825 fi
109826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109827
109828 fi
109829
109830   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109831 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109832   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109833
109834 cat >>confdefs.h <<\_ACEOF
109835 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109836 _ACEOF
109837
109838   fi
109839
109840   # Check for the existence of <fenv.h> functions.
109841
109842 for ac_header in fenv.h
109843 do
109844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109846   echo "$as_me:$LINENO: checking for $ac_header" >&5
109847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109849   echo $ECHO_N "(cached) $ECHO_C" >&6
109850 fi
109851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109853 else
109854   # Is the header compilable?
109855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109857 cat >conftest.$ac_ext <<_ACEOF
109858 /* confdefs.h.  */
109859 _ACEOF
109860 cat confdefs.h >>conftest.$ac_ext
109861 cat >>conftest.$ac_ext <<_ACEOF
109862 /* end confdefs.h.  */
109863 $ac_includes_default
109864 #include <$ac_header>
109865 _ACEOF
109866 rm -f conftest.$ac_objext
109867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109868   (eval $ac_compile) 2>conftest.er1
109869   ac_status=$?
109870   grep -v '^ *+' conftest.er1 >conftest.err
109871   rm -f conftest.er1
109872   cat conftest.err >&5
109873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109874   (exit $ac_status); } &&
109875          { ac_try='test -z "$ac_cxx_werror_flag"
109876                          || test ! -s conftest.err'
109877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109878   (eval $ac_try) 2>&5
109879   ac_status=$?
109880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109881   (exit $ac_status); }; } &&
109882          { ac_try='test -s conftest.$ac_objext'
109883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109884   (eval $ac_try) 2>&5
109885   ac_status=$?
109886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109887   (exit $ac_status); }; }; then
109888   ac_header_compiler=yes
109889 else
109890   echo "$as_me: failed program was:" >&5
109891 sed 's/^/| /' conftest.$ac_ext >&5
109892
109893 ac_header_compiler=no
109894 fi
109895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109897 echo "${ECHO_T}$ac_header_compiler" >&6
109898
109899 # Is the header present?
109900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109902 cat >conftest.$ac_ext <<_ACEOF
109903 /* confdefs.h.  */
109904 _ACEOF
109905 cat confdefs.h >>conftest.$ac_ext
109906 cat >>conftest.$ac_ext <<_ACEOF
109907 /* end confdefs.h.  */
109908 #include <$ac_header>
109909 _ACEOF
109910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109911   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109912   ac_status=$?
109913   grep -v '^ *+' conftest.er1 >conftest.err
109914   rm -f conftest.er1
109915   cat conftest.err >&5
109916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109917   (exit $ac_status); } >/dev/null; then
109918   if test -s conftest.err; then
109919     ac_cpp_err=$ac_cxx_preproc_warn_flag
109920     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109921   else
109922     ac_cpp_err=
109923   fi
109924 else
109925   ac_cpp_err=yes
109926 fi
109927 if test -z "$ac_cpp_err"; then
109928   ac_header_preproc=yes
109929 else
109930   echo "$as_me: failed program was:" >&5
109931 sed 's/^/| /' conftest.$ac_ext >&5
109932
109933   ac_header_preproc=no
109934 fi
109935 rm -f conftest.err conftest.$ac_ext
109936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109937 echo "${ECHO_T}$ac_header_preproc" >&6
109938
109939 # So?  What about this header?
109940 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109941   yes:no: )
109942     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109944     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109946     ac_header_preproc=yes
109947     ;;
109948   no:yes:* )
109949     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109951     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109952 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109953     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109955     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109956 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109959     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109961     (
109962       cat <<\_ASBOX
109963 ## ----------------------------------------- ##
109964 ## Report this to the package-unused lists.  ##
109965 ## ----------------------------------------- ##
109966 _ASBOX
109967     ) |
109968       sed "s/^/$as_me: WARNING:     /" >&2
109969     ;;
109970 esac
109971 echo "$as_me:$LINENO: checking for $ac_header" >&5
109972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109974   echo $ECHO_N "(cached) $ECHO_C" >&6
109975 else
109976   eval "$as_ac_Header=\$ac_header_preproc"
109977 fi
109978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109980
109981 fi
109982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109983   cat >>confdefs.h <<_ACEOF
109984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109985 _ACEOF
109986  ac_has_fenv_h=yes
109987 else
109988   ac_has_fenv_h=no
109989 fi
109990
109991 done
109992
109993   ac_c99_fenv_tr1=no;
109994   if test x"$ac_has_fenv_h" = x"yes"; then
109995     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109996 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109997     cat >conftest.$ac_ext <<_ACEOF
109998 /* confdefs.h.  */
109999 _ACEOF
110000 cat confdefs.h >>conftest.$ac_ext
110001 cat >>conftest.$ac_ext <<_ACEOF
110002 /* end confdefs.h.  */
110003 #include <fenv.h>
110004 int
110005 main ()
110006 {
110007 int except, mode;
110008                     fexcept_t* pflag;
110009                     fenv_t* penv;
110010                     int ret;
110011                     ret = feclearexcept(except);
110012                     ret = fegetexceptflag(pflag, except);
110013                     ret = feraiseexcept(except);
110014                     ret = fesetexceptflag(pflag, except);
110015                     ret = fetestexcept(except);
110016                     ret = fegetround();
110017                     ret = fesetround(mode);
110018                     ret = fegetenv(penv);
110019                     ret = feholdexcept(penv);
110020                     ret = fesetenv(penv);
110021                     ret = feupdateenv(penv);
110022
110023   ;
110024   return 0;
110025 }
110026 _ACEOF
110027 rm -f conftest.$ac_objext
110028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110029   (eval $ac_compile) 2>conftest.er1
110030   ac_status=$?
110031   grep -v '^ *+' conftest.er1 >conftest.err
110032   rm -f conftest.er1
110033   cat conftest.err >&5
110034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110035   (exit $ac_status); } &&
110036          { ac_try='test -z "$ac_cxx_werror_flag"
110037                          || test ! -s conftest.err'
110038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110039   (eval $ac_try) 2>&5
110040   ac_status=$?
110041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110042   (exit $ac_status); }; } &&
110043          { ac_try='test -s conftest.$ac_objext'
110044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110045   (eval $ac_try) 2>&5
110046   ac_status=$?
110047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110048   (exit $ac_status); }; }; then
110049   ac_c99_fenv_tr1=yes
110050 else
110051   echo "$as_me: failed program was:" >&5
110052 sed 's/^/| /' conftest.$ac_ext >&5
110053
110054 ac_c99_fenv_tr1=no
110055 fi
110056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110057   fi
110058   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
110059 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
110060   if test x"$ac_c99_fenv_tr1" = x"yes"; then
110061
110062 cat >>confdefs.h <<\_ACEOF
110063 #define _GLIBCXX_USE_C99_FENV_TR1 1
110064 _ACEOF
110065
110066   fi
110067
110068   # Check for the existence of <stdint.h> types.
110069   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
110070 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
110071   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
110072   echo $ECHO_N "(cached) $ECHO_C" >&6
110073 else
110074
110075   cat >conftest.$ac_ext <<_ACEOF
110076 /* confdefs.h.  */
110077 _ACEOF
110078 cat confdefs.h >>conftest.$ac_ext
110079 cat >>conftest.$ac_ext <<_ACEOF
110080 /* end confdefs.h.  */
110081 #include <stdint.h>
110082 int
110083 main ()
110084 {
110085 typedef int8_t          my_int8_t;
110086                   typedef int16_t         my_int16_t;
110087                   typedef int32_t         my_int32_t;
110088                   typedef int64_t         my_int64_t;
110089                   typedef int_fast8_t     my_int_fast8_t;
110090                   typedef int_fast16_t    my_int_fast16_t;
110091                   typedef int_fast32_t    my_int_fast32_t;
110092                   typedef int_fast64_t    my_int_fast64_t;
110093                   typedef int_least8_t    my_int_least8_t;
110094                   typedef int_least16_t   my_int_least16_t;
110095                   typedef int_least32_t   my_int_least32_t;
110096                   typedef int_least64_t   my_int_least64_t;
110097                   typedef intmax_t        my_intmax_t;
110098                   typedef intptr_t        my_intptr_t;
110099                   typedef uint8_t         my_uint8_t;
110100                   typedef uint16_t        my_uint16_t;
110101                   typedef uint32_t        my_uint32_t;
110102                   typedef uint64_t        my_uint64_t;
110103                   typedef uint_fast8_t    my_uint_fast8_t;
110104                   typedef uint_fast16_t   my_uint_fast16_t;
110105                   typedef uint_fast32_t   my_uint_fast32_t;
110106                   typedef uint_fast64_t   my_uint_fast64_t;
110107                   typedef uint_least8_t   my_uint_least8_t;
110108                   typedef uint_least16_t  my_uint_least16_t;
110109                   typedef uint_least32_t  my_uint_least32_t;
110110                   typedef uint_least64_t  my_uint_least64_t;
110111                   typedef uintmax_t       my_uintmax_t;
110112                   typedef uintptr_t       my_uintptr_t;
110113
110114   ;
110115   return 0;
110116 }
110117 _ACEOF
110118 rm -f conftest.$ac_objext
110119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110120   (eval $ac_compile) 2>conftest.er1
110121   ac_status=$?
110122   grep -v '^ *+' conftest.er1 >conftest.err
110123   rm -f conftest.er1
110124   cat conftest.err >&5
110125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110126   (exit $ac_status); } &&
110127          { ac_try='test -z "$ac_cxx_werror_flag"
110128                          || test ! -s conftest.err'
110129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110130   (eval $ac_try) 2>&5
110131   ac_status=$?
110132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110133   (exit $ac_status); }; } &&
110134          { ac_try='test -s conftest.$ac_objext'
110135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110136   (eval $ac_try) 2>&5
110137   ac_status=$?
110138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110139   (exit $ac_status); }; }; then
110140   glibcxx_cv_c99_stdint_tr1=yes
110141 else
110142   echo "$as_me: failed program was:" >&5
110143 sed 's/^/| /' conftest.$ac_ext >&5
110144
110145 glibcxx_cv_c99_stdint_tr1=no
110146 fi
110147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110148
110149 fi
110150
110151   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
110152 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
110153   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110154
110155 cat >>confdefs.h <<\_ACEOF
110156 #define _GLIBCXX_USE_C99_STDINT_TR1 1
110157 _ACEOF
110158
110159   fi
110160
110161   # Check for the existence of <math.h> functions.
110162   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
110163 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
110164   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
110165   echo $ECHO_N "(cached) $ECHO_C" >&6
110166 else
110167
110168   cat >conftest.$ac_ext <<_ACEOF
110169 /* confdefs.h.  */
110170 _ACEOF
110171 cat confdefs.h >>conftest.$ac_ext
110172 cat >>conftest.$ac_ext <<_ACEOF
110173 /* end confdefs.h.  */
110174 #include <math.h>
110175 int
110176 main ()
110177 {
110178 typedef double_t  my_double_t;
110179                   typedef float_t   my_float_t;
110180                   acosh(0.0);
110181                   acoshf(0.0f);
110182                   acoshl(0.0l);
110183                   asinh(0.0);
110184                   asinhf(0.0f);
110185                   asinhl(0.0l);
110186                   atanh(0.0);
110187                   atanhf(0.0f);
110188                   atanhl(0.0l);
110189                   cbrt(0.0);
110190                   cbrtf(0.0f);
110191                   cbrtl(0.0l);
110192                   copysign(0.0, 0.0);
110193                   copysignf(0.0f, 0.0f);
110194                   copysignl(0.0l, 0.0l);
110195                   erf(0.0);
110196                   erff(0.0f);
110197                   erfl(0.0l);
110198                   erfc(0.0);
110199                   erfcf(0.0f);
110200                   erfcl(0.0l);
110201                   exp2(0.0);
110202                   exp2f(0.0f);
110203                   exp2l(0.0l);
110204                   expm1(0.0);
110205                   expm1f(0.0f);
110206                   expm1l(0.0l);
110207                   fdim(0.0, 0.0);
110208                   fdimf(0.0f, 0.0f);
110209                   fdiml(0.0l, 0.0l);
110210                   fma(0.0, 0.0, 0.0);
110211                   fmaf(0.0f, 0.0f, 0.0f);
110212                   fmal(0.0l, 0.0l, 0.0l);
110213                   fmax(0.0, 0.0);
110214                   fmaxf(0.0f, 0.0f);
110215                   fmaxl(0.0l, 0.0l);
110216                   fmin(0.0, 0.0);
110217                   fminf(0.0f, 0.0f);
110218                   fminl(0.0l, 0.0l);
110219                   hypot(0.0, 0.0);
110220                   hypotf(0.0f, 0.0f);
110221                   hypotl(0.0l, 0.0l);
110222                   ilogb(0.0);
110223                   ilogbf(0.0f);
110224                   ilogbl(0.0l);
110225                   lgamma(0.0);
110226                   lgammaf(0.0f);
110227                   lgammal(0.0l);
110228                   llrint(0.0);
110229                   llrintf(0.0f);
110230                   llrintl(0.0l);
110231                   llround(0.0);
110232                   llroundf(0.0f);
110233                   llroundl(0.0l);
110234                   log1p(0.0);
110235                   log1pf(0.0f);
110236                   log1pl(0.0l);
110237                   log2(0.0);
110238                   log2f(0.0f);
110239                   log2l(0.0l);
110240                   logb(0.0);
110241                   logbf(0.0f);
110242                   logbl(0.0l);
110243                   lrint(0.0);
110244                   lrintf(0.0f);
110245                   lrintl(0.0l);
110246                   lround(0.0);
110247                   lroundf(0.0f);
110248                   lroundl(0.0l);
110249                   nan(0);
110250                   nanf(0);
110251                   nanl(0);
110252                   nearbyint(0.0);
110253                   nearbyintf(0.0f);
110254                   nearbyintl(0.0l);
110255                   nextafter(0.0, 0.0);
110256                   nextafterf(0.0f, 0.0f);
110257                   nextafterl(0.0l, 0.0l);
110258                   nexttoward(0.0, 0.0);
110259                   nexttowardf(0.0f, 0.0f);
110260                   nexttowardl(0.0l, 0.0l);
110261                   remainder(0.0, 0.0);
110262                   remainderf(0.0f, 0.0f);
110263                   remainderl(0.0l, 0.0l);
110264                   remquo(0.0, 0.0, 0);
110265                   remquo(0.0f, 0.0f, 0);
110266                   remquo(0.0l, 0.0l, 0);
110267                   rint(0.0);
110268                   rintf(0.0f);
110269                   rintl(0.0l);
110270                   round(0.0);
110271                   roundf(0.0f);
110272                   roundl(0.0l);
110273                   scalbln(0.0, 0l);
110274                   scalblnf(0.0f, 0l);
110275                   scalblnl(0.0l, 0l);
110276                   scalbn(0.0, 0);
110277                   scalbnf(0.0f, 0);
110278                   scalbnl(0.0l, 0);
110279                   tgamma(0.0);
110280                   tgammaf(0.0f);
110281                   tgammal(0.0l);
110282                   trunc(0.0);
110283                   truncf(0.0f);
110284                   truncl(0.0l);
110285
110286   ;
110287   return 0;
110288 }
110289 _ACEOF
110290 rm -f conftest.$ac_objext
110291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110292   (eval $ac_compile) 2>conftest.er1
110293   ac_status=$?
110294   grep -v '^ *+' conftest.er1 >conftest.err
110295   rm -f conftest.er1
110296   cat conftest.err >&5
110297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110298   (exit $ac_status); } &&
110299          { ac_try='test -z "$ac_cxx_werror_flag"
110300                          || test ! -s conftest.err'
110301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110302   (eval $ac_try) 2>&5
110303   ac_status=$?
110304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110305   (exit $ac_status); }; } &&
110306          { ac_try='test -s conftest.$ac_objext'
110307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110308   (eval $ac_try) 2>&5
110309   ac_status=$?
110310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110311   (exit $ac_status); }; }; then
110312   glibcxx_cv_c99_math_tr1=yes
110313 else
110314   echo "$as_me: failed program was:" >&5
110315 sed 's/^/| /' conftest.$ac_ext >&5
110316
110317 glibcxx_cv_c99_math_tr1=no
110318 fi
110319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110320
110321 fi
110322
110323   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
110324 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
110325   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
110326
110327 cat >>confdefs.h <<\_ACEOF
110328 #define _GLIBCXX_USE_C99_MATH_TR1 1
110329 _ACEOF
110330
110331   fi
110332
110333   # Check for the existence of <inttypes.h> functions (NB: doesn't make
110334   # sense if the previous check fails, per C99, 7.8/1).
110335   ac_c99_inttypes_tr1=no;
110336   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110337     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
110338 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
110339     cat >conftest.$ac_ext <<_ACEOF
110340 /* confdefs.h.  */
110341 _ACEOF
110342 cat confdefs.h >>conftest.$ac_ext
110343 cat >>conftest.$ac_ext <<_ACEOF
110344 /* end confdefs.h.  */
110345 #include <inttypes.h>
110346 int
110347 main ()
110348 {
110349 intmax_t i, numer, denom, base;
110350                     const char* s;
110351                     char** endptr;
110352                     intmax_t ret = imaxabs(i);
110353                     imaxdiv_t dret = imaxdiv(numer, denom);
110354                     ret = strtoimax(s, endptr, base);
110355                     uintmax_t uret = strtoumax(s, endptr, base);
110356
110357   ;
110358   return 0;
110359 }
110360 _ACEOF
110361 rm -f conftest.$ac_objext
110362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110363   (eval $ac_compile) 2>conftest.er1
110364   ac_status=$?
110365   grep -v '^ *+' conftest.er1 >conftest.err
110366   rm -f conftest.er1
110367   cat conftest.err >&5
110368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110369   (exit $ac_status); } &&
110370          { ac_try='test -z "$ac_cxx_werror_flag"
110371                          || test ! -s conftest.err'
110372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110373   (eval $ac_try) 2>&5
110374   ac_status=$?
110375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110376   (exit $ac_status); }; } &&
110377          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
110383   ac_c99_inttypes_tr1=yes
110384 else
110385   echo "$as_me: failed program was:" >&5
110386 sed 's/^/| /' conftest.$ac_ext >&5
110387
110388 ac_c99_inttypes_tr1=no
110389 fi
110390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110391   fi
110392   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
110393 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
110394   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
110395
110396 cat >>confdefs.h <<\_ACEOF
110397 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
110398 _ACEOF
110399
110400   fi
110401
110402   # Check for the existence of the <stdbool.h> header.
110403
110404 for ac_header in stdbool.h
110405 do
110406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110408   echo "$as_me:$LINENO: checking for $ac_header" >&5
110409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110411   echo $ECHO_N "(cached) $ECHO_C" >&6
110412 fi
110413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110415 else
110416   # Is the header compilable?
110417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110419 cat >conftest.$ac_ext <<_ACEOF
110420 /* confdefs.h.  */
110421 _ACEOF
110422 cat confdefs.h >>conftest.$ac_ext
110423 cat >>conftest.$ac_ext <<_ACEOF
110424 /* end confdefs.h.  */
110425 $ac_includes_default
110426 #include <$ac_header>
110427 _ACEOF
110428 rm -f conftest.$ac_objext
110429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110430   (eval $ac_compile) 2>conftest.er1
110431   ac_status=$?
110432   grep -v '^ *+' conftest.er1 >conftest.err
110433   rm -f conftest.er1
110434   cat conftest.err >&5
110435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110436   (exit $ac_status); } &&
110437          { ac_try='test -z "$ac_cxx_werror_flag"
110438                          || test ! -s conftest.err'
110439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110440   (eval $ac_try) 2>&5
110441   ac_status=$?
110442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110443   (exit $ac_status); }; } &&
110444          { ac_try='test -s conftest.$ac_objext'
110445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110446   (eval $ac_try) 2>&5
110447   ac_status=$?
110448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110449   (exit $ac_status); }; }; then
110450   ac_header_compiler=yes
110451 else
110452   echo "$as_me: failed program was:" >&5
110453 sed 's/^/| /' conftest.$ac_ext >&5
110454
110455 ac_header_compiler=no
110456 fi
110457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110459 echo "${ECHO_T}$ac_header_compiler" >&6
110460
110461 # Is the header present?
110462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110464 cat >conftest.$ac_ext <<_ACEOF
110465 /* confdefs.h.  */
110466 _ACEOF
110467 cat confdefs.h >>conftest.$ac_ext
110468 cat >>conftest.$ac_ext <<_ACEOF
110469 /* end confdefs.h.  */
110470 #include <$ac_header>
110471 _ACEOF
110472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110473   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110474   ac_status=$?
110475   grep -v '^ *+' conftest.er1 >conftest.err
110476   rm -f conftest.er1
110477   cat conftest.err >&5
110478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110479   (exit $ac_status); } >/dev/null; then
110480   if test -s conftest.err; then
110481     ac_cpp_err=$ac_cxx_preproc_warn_flag
110482     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110483   else
110484     ac_cpp_err=
110485   fi
110486 else
110487   ac_cpp_err=yes
110488 fi
110489 if test -z "$ac_cpp_err"; then
110490   ac_header_preproc=yes
110491 else
110492   echo "$as_me: failed program was:" >&5
110493 sed 's/^/| /' conftest.$ac_ext >&5
110494
110495   ac_header_preproc=no
110496 fi
110497 rm -f conftest.err conftest.$ac_ext
110498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110499 echo "${ECHO_T}$ac_header_preproc" >&6
110500
110501 # So?  What about this header?
110502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110503   yes:no: )
110504     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110506     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110508     ac_header_preproc=yes
110509     ;;
110510   no:yes:* )
110511     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110513     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110514 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110515     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110517     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110518 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110519     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110521     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110523     (
110524       cat <<\_ASBOX
110525 ## ----------------------------------------- ##
110526 ## Report this to the package-unused lists.  ##
110527 ## ----------------------------------------- ##
110528 _ASBOX
110529     ) |
110530       sed "s/^/$as_me: WARNING:     /" >&2
110531     ;;
110532 esac
110533 echo "$as_me:$LINENO: checking for $ac_header" >&5
110534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110536   echo $ECHO_N "(cached) $ECHO_C" >&6
110537 else
110538   eval "$as_ac_Header=\$ac_header_preproc"
110539 fi
110540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110542
110543 fi
110544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110545   cat >>confdefs.h <<_ACEOF
110546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110547 _ACEOF
110548
110549 fi
110550
110551 done
110552
110553
110554   CXXFLAGS="$ac_save_CXXFLAGS"
110555   ac_ext=c
110556 ac_cpp='$CPP $CPPFLAGS'
110557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110560
110561
110562
110563     cat >>confdefs.h <<\_ACEOF
110564 #define _GLIBCXX_USE_RANDOM_TR1 1
110565 _ACEOF
110566
110567
110568
110569   if test "${ac_cv_header_locale_h+set}" = set; then
110570   echo "$as_me:$LINENO: checking for locale.h" >&5
110571 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110572 if test "${ac_cv_header_locale_h+set}" = set; then
110573   echo $ECHO_N "(cached) $ECHO_C" >&6
110574 fi
110575 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110576 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110577 else
110578   # Is the header compilable?
110579 echo "$as_me:$LINENO: checking locale.h usability" >&5
110580 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
110581 cat >conftest.$ac_ext <<_ACEOF
110582 /* confdefs.h.  */
110583 _ACEOF
110584 cat confdefs.h >>conftest.$ac_ext
110585 cat >>conftest.$ac_ext <<_ACEOF
110586 /* end confdefs.h.  */
110587 $ac_includes_default
110588 #include <locale.h>
110589 _ACEOF
110590 rm -f conftest.$ac_objext
110591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110592   (eval $ac_compile) 2>conftest.er1
110593   ac_status=$?
110594   grep -v '^ *+' conftest.er1 >conftest.err
110595   rm -f conftest.er1
110596   cat conftest.err >&5
110597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110598   (exit $ac_status); } &&
110599          { ac_try='test -z "$ac_c_werror_flag"
110600                          || test ! -s conftest.err'
110601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110602   (eval $ac_try) 2>&5
110603   ac_status=$?
110604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110605   (exit $ac_status); }; } &&
110606          { ac_try='test -s conftest.$ac_objext'
110607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110608   (eval $ac_try) 2>&5
110609   ac_status=$?
110610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110611   (exit $ac_status); }; }; then
110612   ac_header_compiler=yes
110613 else
110614   echo "$as_me: failed program was:" >&5
110615 sed 's/^/| /' conftest.$ac_ext >&5
110616
110617 ac_header_compiler=no
110618 fi
110619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110621 echo "${ECHO_T}$ac_header_compiler" >&6
110622
110623 # Is the header present?
110624 echo "$as_me:$LINENO: checking locale.h presence" >&5
110625 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110626 cat >conftest.$ac_ext <<_ACEOF
110627 /* confdefs.h.  */
110628 _ACEOF
110629 cat confdefs.h >>conftest.$ac_ext
110630 cat >>conftest.$ac_ext <<_ACEOF
110631 /* end confdefs.h.  */
110632 #include <locale.h>
110633 _ACEOF
110634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110635   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110636   ac_status=$?
110637   grep -v '^ *+' conftest.er1 >conftest.err
110638   rm -f conftest.er1
110639   cat conftest.err >&5
110640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110641   (exit $ac_status); } >/dev/null; then
110642   if test -s conftest.err; then
110643     ac_cpp_err=$ac_c_preproc_warn_flag
110644     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110645   else
110646     ac_cpp_err=
110647   fi
110648 else
110649   ac_cpp_err=yes
110650 fi
110651 if test -z "$ac_cpp_err"; then
110652   ac_header_preproc=yes
110653 else
110654   echo "$as_me: failed program was:" >&5
110655 sed 's/^/| /' conftest.$ac_ext >&5
110656
110657   ac_header_preproc=no
110658 fi
110659 rm -f conftest.err conftest.$ac_ext
110660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110661 echo "${ECHO_T}$ac_header_preproc" >&6
110662
110663 # So?  What about this header?
110664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110665   yes:no: )
110666     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110667 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110668     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110669 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110670     ac_header_preproc=yes
110671     ;;
110672   no:yes:* )
110673     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110674 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110675     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
110676 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
110677     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110678 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110679     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
110680 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
110681     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110682 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110683     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110684 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110685     (
110686       cat <<\_ASBOX
110687 ## ----------------------------------------- ##
110688 ## Report this to the package-unused lists.  ##
110689 ## ----------------------------------------- ##
110690 _ASBOX
110691     ) |
110692       sed "s/^/$as_me: WARNING:     /" >&2
110693     ;;
110694 esac
110695 echo "$as_me:$LINENO: checking for locale.h" >&5
110696 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110697 if test "${ac_cv_header_locale_h+set}" = set; then
110698   echo $ECHO_N "(cached) $ECHO_C" >&6
110699 else
110700   ac_cv_header_locale_h=$ac_header_preproc
110701 fi
110702 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110703 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110704
110705 fi
110706 if test $ac_cv_header_locale_h = yes; then
110707
110708     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
110709 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
110710 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
110711   echo $ECHO_N "(cached) $ECHO_C" >&6
110712 else
110713   if test x$gcc_no_link = xyes; then
110714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110716    { (exit 1); exit 1; }; }
110717 fi
110718 cat >conftest.$ac_ext <<_ACEOF
110719 /* confdefs.h.  */
110720 _ACEOF
110721 cat confdefs.h >>conftest.$ac_ext
110722 cat >>conftest.$ac_ext <<_ACEOF
110723 /* end confdefs.h.  */
110724 #include <locale.h>
110725 int
110726 main ()
110727 {
110728 return LC_MESSAGES
110729   ;
110730   return 0;
110731 }
110732 _ACEOF
110733 rm -f conftest.$ac_objext conftest$ac_exeext
110734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110735   (eval $ac_link) 2>conftest.er1
110736   ac_status=$?
110737   grep -v '^ *+' conftest.er1 >conftest.err
110738   rm -f conftest.er1
110739   cat conftest.err >&5
110740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110741   (exit $ac_status); } &&
110742          { ac_try='test -z "$ac_c_werror_flag"
110743                          || test ! -s conftest.err'
110744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110745   (eval $ac_try) 2>&5
110746   ac_status=$?
110747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110748   (exit $ac_status); }; } &&
110749          { ac_try='test -s conftest$ac_exeext'
110750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110751   (eval $ac_try) 2>&5
110752   ac_status=$?
110753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110754   (exit $ac_status); }; }; then
110755   ac_cv_val_LC_MESSAGES=yes
110756 else
110757   echo "$as_me: failed program was:" >&5
110758 sed 's/^/| /' conftest.$ac_ext >&5
110759
110760 ac_cv_val_LC_MESSAGES=no
110761 fi
110762 rm -f conftest.err conftest.$ac_objext \
110763       conftest$ac_exeext conftest.$ac_ext
110764 fi
110765 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
110766 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
110767     if test $ac_cv_val_LC_MESSAGES = yes; then
110768
110769 cat >>confdefs.h <<\_ACEOF
110770 #define HAVE_LC_MESSAGES 1
110771 _ACEOF
110772
110773     fi
110774
110775 fi
110776
110777
110778
110779
110780     # Check for sigsetjmp
110781     cat >conftest.$ac_ext <<_ACEOF
110782 /* confdefs.h.  */
110783 _ACEOF
110784 cat confdefs.h >>conftest.$ac_ext
110785 cat >>conftest.$ac_ext <<_ACEOF
110786 /* end confdefs.h.  */
110787 #include <setjmp.h>
110788 int
110789 main ()
110790 {
110791 sigjmp_buf env;
110792        while (! sigsetjmp (env, 1))
110793          siglongjmp (env, 1);
110794
110795   ;
110796   return 0;
110797 }
110798 _ACEOF
110799 rm -f conftest.$ac_objext
110800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110801   (eval $ac_compile) 2>conftest.er1
110802   ac_status=$?
110803   grep -v '^ *+' conftest.er1 >conftest.err
110804   rm -f conftest.er1
110805   cat conftest.err >&5
110806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110807   (exit $ac_status); } &&
110808          { ac_try='test -z "$ac_c_werror_flag"
110809                          || test ! -s conftest.err'
110810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110811   (eval $ac_try) 2>&5
110812   ac_status=$?
110813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110814   (exit $ac_status); }; } &&
110815          { ac_try='test -s conftest.$ac_objext'
110816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110817   (eval $ac_try) 2>&5
110818   ac_status=$?
110819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110820   (exit $ac_status); }; }; then
110821
110822 cat >>confdefs.h <<\_ACEOF
110823 #define HAVE_SIGSETJMP 1
110824 _ACEOF
110825
110826 else
110827   echo "$as_me: failed program was:" >&5
110828 sed 's/^/| /' conftest.$ac_ext >&5
110829
110830 fi
110831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110832
110833     cat >>confdefs.h <<\_ACEOF
110834 #define HAVE_MMAP 1
110835 _ACEOF
110836
110837
110838     # For iconv support.
110839
110840
110841
110842
110843
110844           am_save_CPPFLAGS="$CPPFLAGS"
110845
110846   for element in $INCICONV; do
110847     haveit=
110848     for x in $CPPFLAGS; do
110849
110850   acl_save_prefix="$prefix"
110851   prefix="$acl_final_prefix"
110852   acl_save_exec_prefix="$exec_prefix"
110853   exec_prefix="$acl_final_exec_prefix"
110854   eval x=\"$x\"
110855   exec_prefix="$acl_save_exec_prefix"
110856   prefix="$acl_save_prefix"
110857
110858       if test "X$x" = "X$element"; then
110859         haveit=yes
110860         break
110861       fi
110862     done
110863     if test -z "$haveit"; then
110864       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
110865     fi
110866   done
110867
110868
110869   echo "$as_me:$LINENO: checking for iconv" >&5
110870 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
110871 if test "${am_cv_func_iconv+set}" = set; then
110872   echo $ECHO_N "(cached) $ECHO_C" >&6
110873 else
110874
110875     am_cv_func_iconv="no, consider installing GNU libiconv"
110876     am_cv_lib_iconv=no
110877     if test x$gcc_no_link = xyes; then
110878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110880    { (exit 1); exit 1; }; }
110881 fi
110882 cat >conftest.$ac_ext <<_ACEOF
110883 /* confdefs.h.  */
110884 _ACEOF
110885 cat confdefs.h >>conftest.$ac_ext
110886 cat >>conftest.$ac_ext <<_ACEOF
110887 /* end confdefs.h.  */
110888 #include <stdlib.h>
110889 #include <iconv.h>
110890 int
110891 main ()
110892 {
110893 iconv_t cd = iconv_open("","");
110894        iconv(cd,NULL,NULL,NULL,NULL);
110895        iconv_close(cd);
110896   ;
110897   return 0;
110898 }
110899 _ACEOF
110900 rm -f conftest.$ac_objext conftest$ac_exeext
110901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110902   (eval $ac_link) 2>conftest.er1
110903   ac_status=$?
110904   grep -v '^ *+' conftest.er1 >conftest.err
110905   rm -f conftest.er1
110906   cat conftest.err >&5
110907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110908   (exit $ac_status); } &&
110909          { ac_try='test -z "$ac_c_werror_flag"
110910                          || test ! -s conftest.err'
110911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110912   (eval $ac_try) 2>&5
110913   ac_status=$?
110914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110915   (exit $ac_status); }; } &&
110916          { ac_try='test -s conftest$ac_exeext'
110917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110918   (eval $ac_try) 2>&5
110919   ac_status=$?
110920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110921   (exit $ac_status); }; }; then
110922   am_cv_func_iconv=yes
110923 else
110924   echo "$as_me: failed program was:" >&5
110925 sed 's/^/| /' conftest.$ac_ext >&5
110926
110927 fi
110928 rm -f conftest.err conftest.$ac_objext \
110929       conftest$ac_exeext conftest.$ac_ext
110930     if test "$am_cv_func_iconv" != yes; then
110931       am_save_LIBS="$LIBS"
110932       LIBS="$LIBS $LIBICONV"
110933       if test x$gcc_no_link = xyes; then
110934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110936    { (exit 1); exit 1; }; }
110937 fi
110938 cat >conftest.$ac_ext <<_ACEOF
110939 /* confdefs.h.  */
110940 _ACEOF
110941 cat confdefs.h >>conftest.$ac_ext
110942 cat >>conftest.$ac_ext <<_ACEOF
110943 /* end confdefs.h.  */
110944 #include <stdlib.h>
110945 #include <iconv.h>
110946 int
110947 main ()
110948 {
110949 iconv_t cd = iconv_open("","");
110950          iconv(cd,NULL,NULL,NULL,NULL);
110951          iconv_close(cd);
110952   ;
110953   return 0;
110954 }
110955 _ACEOF
110956 rm -f conftest.$ac_objext conftest$ac_exeext
110957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110958   (eval $ac_link) 2>conftest.er1
110959   ac_status=$?
110960   grep -v '^ *+' conftest.er1 >conftest.err
110961   rm -f conftest.er1
110962   cat conftest.err >&5
110963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110964   (exit $ac_status); } &&
110965          { ac_try='test -z "$ac_c_werror_flag"
110966                          || test ! -s conftest.err'
110967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110968   (eval $ac_try) 2>&5
110969   ac_status=$?
110970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110971   (exit $ac_status); }; } &&
110972          { ac_try='test -s conftest$ac_exeext'
110973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110974   (eval $ac_try) 2>&5
110975   ac_status=$?
110976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110977   (exit $ac_status); }; }; then
110978   am_cv_lib_iconv=yes
110979         am_cv_func_iconv=yes
110980 else
110981   echo "$as_me: failed program was:" >&5
110982 sed 's/^/| /' conftest.$ac_ext >&5
110983
110984 fi
110985 rm -f conftest.err conftest.$ac_objext \
110986       conftest$ac_exeext conftest.$ac_ext
110987       LIBS="$am_save_LIBS"
110988     fi
110989
110990 fi
110991 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
110992 echo "${ECHO_T}$am_cv_func_iconv" >&6
110993   if test "$am_cv_func_iconv" = yes; then
110994
110995 cat >>confdefs.h <<\_ACEOF
110996 #define HAVE_ICONV 1
110997 _ACEOF
110998
110999   fi
111000   if test "$am_cv_lib_iconv" = yes; then
111001     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
111002 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
111003     echo "$as_me:$LINENO: result: $LIBICONV" >&5
111004 echo "${ECHO_T}$LIBICONV" >&6
111005   else
111006             CPPFLAGS="$am_save_CPPFLAGS"
111007     LIBICONV=
111008     LTLIBICONV=
111009   fi
111010
111011
111012
111013   if test "$am_cv_func_iconv" = yes; then
111014     echo "$as_me:$LINENO: checking for iconv declaration" >&5
111015 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
111016     if test "${am_cv_proto_iconv+set}" = set; then
111017   echo $ECHO_N "(cached) $ECHO_C" >&6
111018 else
111019
111020       cat >conftest.$ac_ext <<_ACEOF
111021 /* confdefs.h.  */
111022 _ACEOF
111023 cat confdefs.h >>conftest.$ac_ext
111024 cat >>conftest.$ac_ext <<_ACEOF
111025 /* end confdefs.h.  */
111026
111027 #include <stdlib.h>
111028 #include <iconv.h>
111029 extern
111030 #ifdef __cplusplus
111031 "C"
111032 #endif
111033 #if defined(__STDC__) || defined(__cplusplus)
111034 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
111035 #else
111036 size_t iconv();
111037 #endif
111038
111039 int
111040 main ()
111041 {
111042
111043   ;
111044   return 0;
111045 }
111046 _ACEOF
111047 rm -f conftest.$ac_objext
111048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111049   (eval $ac_compile) 2>conftest.er1
111050   ac_status=$?
111051   grep -v '^ *+' conftest.er1 >conftest.err
111052   rm -f conftest.er1
111053   cat conftest.err >&5
111054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111055   (exit $ac_status); } &&
111056          { ac_try='test -z "$ac_c_werror_flag"
111057                          || test ! -s conftest.err'
111058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111059   (eval $ac_try) 2>&5
111060   ac_status=$?
111061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111062   (exit $ac_status); }; } &&
111063          { ac_try='test -s conftest.$ac_objext'
111064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111065   (eval $ac_try) 2>&5
111066   ac_status=$?
111067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111068   (exit $ac_status); }; }; then
111069   am_cv_proto_iconv_arg1=""
111070 else
111071   echo "$as_me: failed program was:" >&5
111072 sed 's/^/| /' conftest.$ac_ext >&5
111073
111074 am_cv_proto_iconv_arg1="const"
111075 fi
111076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111077       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);"
111078 fi
111079
111080     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
111081     echo "$as_me:$LINENO: result: ${ac_t:-
111082          }$am_cv_proto_iconv" >&5
111083 echo "${ECHO_T}${ac_t:-
111084          }$am_cv_proto_iconv" >&6
111085
111086 cat >>confdefs.h <<_ACEOF
111087 #define ICONV_CONST $am_cv_proto_iconv_arg1
111088 _ACEOF
111089
111090   fi
111091
111092     ;;
111093   *-mingw32*)
111094
111095
111096
111097 for ac_header in sys/types.h locale.h float.h
111098 do
111099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111101   echo "$as_me:$LINENO: checking for $ac_header" >&5
111102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111104   echo $ECHO_N "(cached) $ECHO_C" >&6
111105 fi
111106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111108 else
111109   # Is the header compilable?
111110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111112 cat >conftest.$ac_ext <<_ACEOF
111113 /* confdefs.h.  */
111114 _ACEOF
111115 cat confdefs.h >>conftest.$ac_ext
111116 cat >>conftest.$ac_ext <<_ACEOF
111117 /* end confdefs.h.  */
111118 $ac_includes_default
111119 #include <$ac_header>
111120 _ACEOF
111121 rm -f conftest.$ac_objext
111122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111123   (eval $ac_compile) 2>conftest.er1
111124   ac_status=$?
111125   grep -v '^ *+' conftest.er1 >conftest.err
111126   rm -f conftest.er1
111127   cat conftest.err >&5
111128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111129   (exit $ac_status); } &&
111130          { ac_try='test -z "$ac_c_werror_flag"
111131                          || test ! -s conftest.err'
111132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111133   (eval $ac_try) 2>&5
111134   ac_status=$?
111135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111136   (exit $ac_status); }; } &&
111137          { ac_try='test -s conftest.$ac_objext'
111138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111139   (eval $ac_try) 2>&5
111140   ac_status=$?
111141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111142   (exit $ac_status); }; }; then
111143   ac_header_compiler=yes
111144 else
111145   echo "$as_me: failed program was:" >&5
111146 sed 's/^/| /' conftest.$ac_ext >&5
111147
111148 ac_header_compiler=no
111149 fi
111150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111152 echo "${ECHO_T}$ac_header_compiler" >&6
111153
111154 # Is the header present?
111155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111157 cat >conftest.$ac_ext <<_ACEOF
111158 /* confdefs.h.  */
111159 _ACEOF
111160 cat confdefs.h >>conftest.$ac_ext
111161 cat >>conftest.$ac_ext <<_ACEOF
111162 /* end confdefs.h.  */
111163 #include <$ac_header>
111164 _ACEOF
111165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111166   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111167   ac_status=$?
111168   grep -v '^ *+' conftest.er1 >conftest.err
111169   rm -f conftest.er1
111170   cat conftest.err >&5
111171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111172   (exit $ac_status); } >/dev/null; then
111173   if test -s conftest.err; then
111174     ac_cpp_err=$ac_c_preproc_warn_flag
111175     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111176   else
111177     ac_cpp_err=
111178   fi
111179 else
111180   ac_cpp_err=yes
111181 fi
111182 if test -z "$ac_cpp_err"; then
111183   ac_header_preproc=yes
111184 else
111185   echo "$as_me: failed program was:" >&5
111186 sed 's/^/| /' conftest.$ac_ext >&5
111187
111188   ac_header_preproc=no
111189 fi
111190 rm -f conftest.err conftest.$ac_ext
111191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111192 echo "${ECHO_T}$ac_header_preproc" >&6
111193
111194 # So?  What about this header?
111195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111196   yes:no: )
111197     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111201     ac_header_preproc=yes
111202     ;;
111203   no:yes:* )
111204     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111206     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111207 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111208     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111210     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111211 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111214     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111216     (
111217       cat <<\_ASBOX
111218 ## ----------------------------------------- ##
111219 ## Report this to the package-unused lists.  ##
111220 ## ----------------------------------------- ##
111221 _ASBOX
111222     ) |
111223       sed "s/^/$as_me: WARNING:     /" >&2
111224     ;;
111225 esac
111226 echo "$as_me:$LINENO: checking for $ac_header" >&5
111227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111229   echo $ECHO_N "(cached) $ECHO_C" >&6
111230 else
111231   eval "$as_ac_Header=\$ac_header_preproc"
111232 fi
111233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111235
111236 fi
111237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111238   cat >>confdefs.h <<_ACEOF
111239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111240 _ACEOF
111241
111242 fi
111243
111244 done
111245
111246     cat >>confdefs.h <<\_ACEOF
111247 #define HAVE_STRTOF 1
111248 _ACEOF
111249
111250     cat >>confdefs.h <<\_ACEOF
111251 #define HAVE_STRTOLD 1
111252 _ACEOF
111253
111254
111255   # If we're not using GNU ld, then there's no point in even trying these
111256   # tests.  Check for that first.  We should have already tested for gld
111257   # by now (in libtool), but require it now just to be safe...
111258   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111259   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111260
111261
111262
111263   # The name set by libtool depends on the version of libtool.  Shame on us
111264   # for depending on an impl detail, but c'est la vie.  Older versions used
111265   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111266   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111267   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111268   # set (hence we're using an older libtool), then set it.
111269   if test x${with_gnu_ld+set} != xset; then
111270     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111271       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111272       with_gnu_ld=no
111273     else
111274       with_gnu_ld=$ac_cv_prog_gnu_ld
111275     fi
111276   fi
111277
111278   # Start by getting the version number.  I think the libtool test already
111279   # does some of this, but throws away the result.
111280   glibcxx_ld_is_gold=no
111281   if test x"$with_gnu_ld" = x"yes"; then
111282     echo "$as_me:$LINENO: checking for ld version" >&5
111283 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111284
111285     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111286       glibcxx_ld_is_gold=yes
111287     fi
111288     ldver=`$LD --version 2>/dev/null | head -1 | \
111289            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111290
111291     glibcxx_gnu_ld_version=`echo $ldver | \
111292            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111293     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111294 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111295   fi
111296
111297   # Set --gc-sections.
111298   glibcxx_have_gc_sections=no
111299   if test "$glibcxx_ld_is_gold" = "yes"; then
111300     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111301       glibcxx_have_gc_sections=yes
111302     fi
111303   else
111304     glibcxx_gcsections_min_ld=21602
111305     if test x"$with_gnu_ld" = x"yes" &&
111306         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111307       glibcxx_have_gc_sections=yes
111308     fi
111309   fi
111310   if test "$glibcxx_have_gc_sections" = "yes"; then
111311     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111312     # NB: This flag only works reliably after 2.16.1. Configure tests
111313     # for this are difficult, so hard wire a value that should work.
111314
111315     ac_test_CFLAGS="${CFLAGS+set}"
111316     ac_save_CFLAGS="$CFLAGS"
111317     CFLAGS='-Wl,--gc-sections'
111318
111319     # Check for -Wl,--gc-sections
111320     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111321 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111322     if test x$gcc_no_link = xyes; then
111323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111325    { (exit 1); exit 1; }; }
111326 fi
111327 cat >conftest.$ac_ext <<_ACEOF
111328 /* confdefs.h.  */
111329 _ACEOF
111330 cat confdefs.h >>conftest.$ac_ext
111331 cat >>conftest.$ac_ext <<_ACEOF
111332 /* end confdefs.h.  */
111333  int one(void) { return 1; }
111334      int two(void) { return 2; }
111335
111336 int
111337 main ()
111338 {
111339  two();
111340   ;
111341   return 0;
111342 }
111343 _ACEOF
111344 rm -f conftest.$ac_objext conftest$ac_exeext
111345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111346   (eval $ac_link) 2>conftest.er1
111347   ac_status=$?
111348   grep -v '^ *+' conftest.er1 >conftest.err
111349   rm -f conftest.er1
111350   cat conftest.err >&5
111351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111352   (exit $ac_status); } &&
111353          { ac_try='test -z "$ac_c_werror_flag"
111354                          || test ! -s conftest.err'
111355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111356   (eval $ac_try) 2>&5
111357   ac_status=$?
111358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111359   (exit $ac_status); }; } &&
111360          { ac_try='test -s conftest$ac_exeext'
111361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111362   (eval $ac_try) 2>&5
111363   ac_status=$?
111364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111365   (exit $ac_status); }; }; then
111366   ac_gcsections=yes
111367 else
111368   echo "$as_me: failed program was:" >&5
111369 sed 's/^/| /' conftest.$ac_ext >&5
111370
111371 ac_gcsections=no
111372 fi
111373 rm -f conftest.err conftest.$ac_objext \
111374       conftest$ac_exeext conftest.$ac_ext
111375     if test "$ac_gcsections" = "yes"; then
111376       rm -f conftest.c
111377       touch conftest.c
111378       if $CC -c conftest.c; then
111379         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111380            grep "Warning: gc-sections option ignored" > /dev/null; then
111381           ac_gcsections=no
111382         fi
111383       fi
111384       rm -f conftest.c conftest.o conftest
111385     fi
111386     if test "$ac_gcsections" = "yes"; then
111387       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111388     fi
111389     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111390 echo "${ECHO_T}$ac_gcsections" >&6
111391
111392     if test "$ac_test_CFLAGS" = set; then
111393       CFLAGS="$ac_save_CFLAGS"
111394     else
111395       # this is the suspicious part
111396       CFLAGS=''
111397     fi
111398   fi
111399
111400   # Set -z,relro.
111401   # Note this is only for shared objects.
111402   ac_ld_relro=no
111403   if test x"$with_gnu_ld" = x"yes"; then
111404     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111405 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111406     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111407     if test -n "$cxx_z_relo"; then
111408       OPT_LDFLAGS="-Wl,-z,relro"
111409       ac_ld_relro=yes
111410     fi
111411     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111412 echo "${ECHO_T}$ac_ld_relro" >&6
111413   fi
111414
111415   # Set linker optimization flags.
111416   if test x"$with_gnu_ld" = x"yes"; then
111417     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111418   fi
111419
111420
111421
111422
111423
111424
111425 echo "$as_me:$LINENO: checking for main in -lm" >&5
111426 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111427 if test "${ac_cv_lib_m_main+set}" = set; then
111428   echo $ECHO_N "(cached) $ECHO_C" >&6
111429 else
111430   ac_check_lib_save_LIBS=$LIBS
111431 LIBS="-lm  $LIBS"
111432 if test x$gcc_no_link = xyes; then
111433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111435    { (exit 1); exit 1; }; }
111436 fi
111437 cat >conftest.$ac_ext <<_ACEOF
111438 /* confdefs.h.  */
111439 _ACEOF
111440 cat confdefs.h >>conftest.$ac_ext
111441 cat >>conftest.$ac_ext <<_ACEOF
111442 /* end confdefs.h.  */
111443
111444
111445 int
111446 main ()
111447 {
111448 main ();
111449   ;
111450   return 0;
111451 }
111452 _ACEOF
111453 rm -f conftest.$ac_objext conftest$ac_exeext
111454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111455   (eval $ac_link) 2>conftest.er1
111456   ac_status=$?
111457   grep -v '^ *+' conftest.er1 >conftest.err
111458   rm -f conftest.er1
111459   cat conftest.err >&5
111460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111461   (exit $ac_status); } &&
111462          { ac_try='test -z "$ac_c_werror_flag"
111463                          || test ! -s conftest.err'
111464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111465   (eval $ac_try) 2>&5
111466   ac_status=$?
111467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111468   (exit $ac_status); }; } &&
111469          { ac_try='test -s conftest$ac_exeext'
111470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111471   (eval $ac_try) 2>&5
111472   ac_status=$?
111473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111474   (exit $ac_status); }; }; then
111475   ac_cv_lib_m_main=yes
111476 else
111477   echo "$as_me: failed program was:" >&5
111478 sed 's/^/| /' conftest.$ac_ext >&5
111479
111480 ac_cv_lib_m_main=no
111481 fi
111482 rm -f conftest.err conftest.$ac_objext \
111483       conftest$ac_exeext conftest.$ac_ext
111484 LIBS=$ac_check_lib_save_LIBS
111485 fi
111486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111487 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111488 if test $ac_cv_lib_m_main = yes; then
111489   cat >>confdefs.h <<_ACEOF
111490 #define HAVE_LIBM 1
111491 _ACEOF
111492
111493   LIBS="-lm $LIBS"
111494
111495 fi
111496
111497
111498 for ac_func in copysignf
111499 do
111500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111501 echo "$as_me:$LINENO: checking for $ac_func" >&5
111502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111503 if eval "test \"\${$as_ac_var+set}\" = set"; then
111504   echo $ECHO_N "(cached) $ECHO_C" >&6
111505 else
111506   if test x$gcc_no_link = xyes; then
111507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111509    { (exit 1); exit 1; }; }
111510 fi
111511 cat >conftest.$ac_ext <<_ACEOF
111512 /* confdefs.h.  */
111513 _ACEOF
111514 cat confdefs.h >>conftest.$ac_ext
111515 cat >>conftest.$ac_ext <<_ACEOF
111516 /* end confdefs.h.  */
111517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111519 #define $ac_func innocuous_$ac_func
111520
111521 /* System header to define __stub macros and hopefully few prototypes,
111522     which can conflict with char $ac_func (); below.
111523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111524     <limits.h> exists even on freestanding compilers.  */
111525
111526 #ifdef __STDC__
111527 # include <limits.h>
111528 #else
111529 # include <assert.h>
111530 #endif
111531
111532 #undef $ac_func
111533
111534 /* Override any gcc2 internal prototype to avoid an error.  */
111535 #ifdef __cplusplus
111536 extern "C"
111537 {
111538 #endif
111539 /* We use char because int might match the return type of a gcc2
111540    builtin and then its argument prototype would still apply.  */
111541 char $ac_func ();
111542 /* The GNU C library defines this for functions which it implements
111543     to always fail with ENOSYS.  Some functions are actually named
111544     something starting with __ and the normal name is an alias.  */
111545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111546 choke me
111547 #else
111548 char (*f) () = $ac_func;
111549 #endif
111550 #ifdef __cplusplus
111551 }
111552 #endif
111553
111554 int
111555 main ()
111556 {
111557 return f != $ac_func;
111558   ;
111559   return 0;
111560 }
111561 _ACEOF
111562 rm -f conftest.$ac_objext conftest$ac_exeext
111563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111564   (eval $ac_link) 2>conftest.er1
111565   ac_status=$?
111566   grep -v '^ *+' conftest.er1 >conftest.err
111567   rm -f conftest.er1
111568   cat conftest.err >&5
111569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111570   (exit $ac_status); } &&
111571          { ac_try='test -z "$ac_c_werror_flag"
111572                          || test ! -s conftest.err'
111573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111574   (eval $ac_try) 2>&5
111575   ac_status=$?
111576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111577   (exit $ac_status); }; } &&
111578          { ac_try='test -s conftest$ac_exeext'
111579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111580   (eval $ac_try) 2>&5
111581   ac_status=$?
111582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111583   (exit $ac_status); }; }; then
111584   eval "$as_ac_var=yes"
111585 else
111586   echo "$as_me: failed program was:" >&5
111587 sed 's/^/| /' conftest.$ac_ext >&5
111588
111589 eval "$as_ac_var=no"
111590 fi
111591 rm -f conftest.err conftest.$ac_objext \
111592       conftest$ac_exeext conftest.$ac_ext
111593 fi
111594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111596 if test `eval echo '${'$as_ac_var'}'` = yes; then
111597   cat >>confdefs.h <<_ACEOF
111598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111599 _ACEOF
111600
111601 else
111602   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111603 fi
111604 done
111605
111606
111607
111608 for ac_func in __signbit
111609 do
111610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111611 echo "$as_me:$LINENO: checking for $ac_func" >&5
111612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111613 if eval "test \"\${$as_ac_var+set}\" = set"; then
111614   echo $ECHO_N "(cached) $ECHO_C" >&6
111615 else
111616   if test x$gcc_no_link = xyes; then
111617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111619    { (exit 1); exit 1; }; }
111620 fi
111621 cat >conftest.$ac_ext <<_ACEOF
111622 /* confdefs.h.  */
111623 _ACEOF
111624 cat confdefs.h >>conftest.$ac_ext
111625 cat >>conftest.$ac_ext <<_ACEOF
111626 /* end confdefs.h.  */
111627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111629 #define $ac_func innocuous_$ac_func
111630
111631 /* System header to define __stub macros and hopefully few prototypes,
111632     which can conflict with char $ac_func (); below.
111633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111634     <limits.h> exists even on freestanding compilers.  */
111635
111636 #ifdef __STDC__
111637 # include <limits.h>
111638 #else
111639 # include <assert.h>
111640 #endif
111641
111642 #undef $ac_func
111643
111644 /* Override any gcc2 internal prototype to avoid an error.  */
111645 #ifdef __cplusplus
111646 extern "C"
111647 {
111648 #endif
111649 /* We use char because int might match the return type of a gcc2
111650    builtin and then its argument prototype would still apply.  */
111651 char $ac_func ();
111652 /* The GNU C library defines this for functions which it implements
111653     to always fail with ENOSYS.  Some functions are actually named
111654     something starting with __ and the normal name is an alias.  */
111655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111656 choke me
111657 #else
111658 char (*f) () = $ac_func;
111659 #endif
111660 #ifdef __cplusplus
111661 }
111662 #endif
111663
111664 int
111665 main ()
111666 {
111667 return f != $ac_func;
111668   ;
111669   return 0;
111670 }
111671 _ACEOF
111672 rm -f conftest.$ac_objext conftest$ac_exeext
111673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111674   (eval $ac_link) 2>conftest.er1
111675   ac_status=$?
111676   grep -v '^ *+' conftest.er1 >conftest.err
111677   rm -f conftest.er1
111678   cat conftest.err >&5
111679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111680   (exit $ac_status); } &&
111681          { ac_try='test -z "$ac_c_werror_flag"
111682                          || test ! -s conftest.err'
111683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111684   (eval $ac_try) 2>&5
111685   ac_status=$?
111686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111687   (exit $ac_status); }; } &&
111688          { ac_try='test -s conftest$ac_exeext'
111689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111690   (eval $ac_try) 2>&5
111691   ac_status=$?
111692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111693   (exit $ac_status); }; }; then
111694   eval "$as_ac_var=yes"
111695 else
111696   echo "$as_me: failed program was:" >&5
111697 sed 's/^/| /' conftest.$ac_ext >&5
111698
111699 eval "$as_ac_var=no"
111700 fi
111701 rm -f conftest.err conftest.$ac_objext \
111702       conftest$ac_exeext conftest.$ac_ext
111703 fi
111704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111706 if test `eval echo '${'$as_ac_var'}'` = yes; then
111707   cat >>confdefs.h <<_ACEOF
111708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111709 _ACEOF
111710
111711 else
111712   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111713 fi
111714 done
111715
111716
111717
111718 for ac_func in __signbitf
111719 do
111720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111721 echo "$as_me:$LINENO: checking for $ac_func" >&5
111722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111723 if eval "test \"\${$as_ac_var+set}\" = set"; then
111724   echo $ECHO_N "(cached) $ECHO_C" >&6
111725 else
111726   if test x$gcc_no_link = xyes; then
111727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111729    { (exit 1); exit 1; }; }
111730 fi
111731 cat >conftest.$ac_ext <<_ACEOF
111732 /* confdefs.h.  */
111733 _ACEOF
111734 cat confdefs.h >>conftest.$ac_ext
111735 cat >>conftest.$ac_ext <<_ACEOF
111736 /* end confdefs.h.  */
111737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111739 #define $ac_func innocuous_$ac_func
111740
111741 /* System header to define __stub macros and hopefully few prototypes,
111742     which can conflict with char $ac_func (); below.
111743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111744     <limits.h> exists even on freestanding compilers.  */
111745
111746 #ifdef __STDC__
111747 # include <limits.h>
111748 #else
111749 # include <assert.h>
111750 #endif
111751
111752 #undef $ac_func
111753
111754 /* Override any gcc2 internal prototype to avoid an error.  */
111755 #ifdef __cplusplus
111756 extern "C"
111757 {
111758 #endif
111759 /* We use char because int might match the return type of a gcc2
111760    builtin and then its argument prototype would still apply.  */
111761 char $ac_func ();
111762 /* The GNU C library defines this for functions which it implements
111763     to always fail with ENOSYS.  Some functions are actually named
111764     something starting with __ and the normal name is an alias.  */
111765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111766 choke me
111767 #else
111768 char (*f) () = $ac_func;
111769 #endif
111770 #ifdef __cplusplus
111771 }
111772 #endif
111773
111774 int
111775 main ()
111776 {
111777 return f != $ac_func;
111778   ;
111779   return 0;
111780 }
111781 _ACEOF
111782 rm -f conftest.$ac_objext conftest$ac_exeext
111783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111784   (eval $ac_link) 2>conftest.er1
111785   ac_status=$?
111786   grep -v '^ *+' conftest.er1 >conftest.err
111787   rm -f conftest.er1
111788   cat conftest.err >&5
111789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111790   (exit $ac_status); } &&
111791          { ac_try='test -z "$ac_c_werror_flag"
111792                          || test ! -s conftest.err'
111793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111794   (eval $ac_try) 2>&5
111795   ac_status=$?
111796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111797   (exit $ac_status); }; } &&
111798          { ac_try='test -s conftest$ac_exeext'
111799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111800   (eval $ac_try) 2>&5
111801   ac_status=$?
111802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111803   (exit $ac_status); }; }; then
111804   eval "$as_ac_var=yes"
111805 else
111806   echo "$as_me: failed program was:" >&5
111807 sed 's/^/| /' conftest.$ac_ext >&5
111808
111809 eval "$as_ac_var=no"
111810 fi
111811 rm -f conftest.err conftest.$ac_objext \
111812       conftest$ac_exeext conftest.$ac_ext
111813 fi
111814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111816 if test `eval echo '${'$as_ac_var'}'` = yes; then
111817   cat >>confdefs.h <<_ACEOF
111818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111819 _ACEOF
111820
111821 else
111822   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111823 fi
111824 done
111825
111826
111827           if test x$ac_cv_func_copysignl = x"yes"; then
111828
111829 for ac_func in __signbitl
111830 do
111831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111832 echo "$as_me:$LINENO: checking for $ac_func" >&5
111833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111834 if eval "test \"\${$as_ac_var+set}\" = set"; then
111835   echo $ECHO_N "(cached) $ECHO_C" >&6
111836 else
111837   if test x$gcc_no_link = xyes; then
111838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111840    { (exit 1); exit 1; }; }
111841 fi
111842 cat >conftest.$ac_ext <<_ACEOF
111843 /* confdefs.h.  */
111844 _ACEOF
111845 cat confdefs.h >>conftest.$ac_ext
111846 cat >>conftest.$ac_ext <<_ACEOF
111847 /* end confdefs.h.  */
111848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111850 #define $ac_func innocuous_$ac_func
111851
111852 /* System header to define __stub macros and hopefully few prototypes,
111853     which can conflict with char $ac_func (); below.
111854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111855     <limits.h> exists even on freestanding compilers.  */
111856
111857 #ifdef __STDC__
111858 # include <limits.h>
111859 #else
111860 # include <assert.h>
111861 #endif
111862
111863 #undef $ac_func
111864
111865 /* Override any gcc2 internal prototype to avoid an error.  */
111866 #ifdef __cplusplus
111867 extern "C"
111868 {
111869 #endif
111870 /* We use char because int might match the return type of a gcc2
111871    builtin and then its argument prototype would still apply.  */
111872 char $ac_func ();
111873 /* The GNU C library defines this for functions which it implements
111874     to always fail with ENOSYS.  Some functions are actually named
111875     something starting with __ and the normal name is an alias.  */
111876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111877 choke me
111878 #else
111879 char (*f) () = $ac_func;
111880 #endif
111881 #ifdef __cplusplus
111882 }
111883 #endif
111884
111885 int
111886 main ()
111887 {
111888 return f != $ac_func;
111889   ;
111890   return 0;
111891 }
111892 _ACEOF
111893 rm -f conftest.$ac_objext conftest$ac_exeext
111894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111895   (eval $ac_link) 2>conftest.er1
111896   ac_status=$?
111897   grep -v '^ *+' conftest.er1 >conftest.err
111898   rm -f conftest.er1
111899   cat conftest.err >&5
111900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111901   (exit $ac_status); } &&
111902          { ac_try='test -z "$ac_c_werror_flag"
111903                          || test ! -s conftest.err'
111904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111905   (eval $ac_try) 2>&5
111906   ac_status=$?
111907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111908   (exit $ac_status); }; } &&
111909          { ac_try='test -s conftest$ac_exeext'
111910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111911   (eval $ac_try) 2>&5
111912   ac_status=$?
111913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111914   (exit $ac_status); }; }; then
111915   eval "$as_ac_var=yes"
111916 else
111917   echo "$as_me: failed program was:" >&5
111918 sed 's/^/| /' conftest.$ac_ext >&5
111919
111920 eval "$as_ac_var=no"
111921 fi
111922 rm -f conftest.err conftest.$ac_objext \
111923       conftest$ac_exeext conftest.$ac_ext
111924 fi
111925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111927 if test `eval echo '${'$as_ac_var'}'` = yes; then
111928   cat >>confdefs.h <<_ACEOF
111929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111930 _ACEOF
111931
111932 else
111933   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111934 fi
111935 done
111936
111937   fi
111938
111939   # Used in libmath/Makefile.am.
111940   if test -n "$LIBMATHOBJS"; then
111941     need_libmath=yes
111942   fi
111943
111944
111945     ;;
111946   *-netbsd*)
111947
111948
111949
111950
111951
111952
111953
111954
111955
111956
111957
111958
111959 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
111960       machine/endian.h machine/param.h sys/machine.h sys/types.h \
111961       fp.h locale.h float.h inttypes.h
111962 do
111963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111965   echo "$as_me:$LINENO: checking for $ac_header" >&5
111966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111968   echo $ECHO_N "(cached) $ECHO_C" >&6
111969 fi
111970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111972 else
111973   # Is the header compilable?
111974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111976 cat >conftest.$ac_ext <<_ACEOF
111977 /* confdefs.h.  */
111978 _ACEOF
111979 cat confdefs.h >>conftest.$ac_ext
111980 cat >>conftest.$ac_ext <<_ACEOF
111981 /* end confdefs.h.  */
111982 $ac_includes_default
111983 #include <$ac_header>
111984 _ACEOF
111985 rm -f conftest.$ac_objext
111986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111987   (eval $ac_compile) 2>conftest.er1
111988   ac_status=$?
111989   grep -v '^ *+' conftest.er1 >conftest.err
111990   rm -f conftest.er1
111991   cat conftest.err >&5
111992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111993   (exit $ac_status); } &&
111994          { ac_try='test -z "$ac_c_werror_flag"
111995                          || test ! -s conftest.err'
111996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111997   (eval $ac_try) 2>&5
111998   ac_status=$?
111999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112000   (exit $ac_status); }; } &&
112001          { ac_try='test -s conftest.$ac_objext'
112002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112003   (eval $ac_try) 2>&5
112004   ac_status=$?
112005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112006   (exit $ac_status); }; }; then
112007   ac_header_compiler=yes
112008 else
112009   echo "$as_me: failed program was:" >&5
112010 sed 's/^/| /' conftest.$ac_ext >&5
112011
112012 ac_header_compiler=no
112013 fi
112014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112016 echo "${ECHO_T}$ac_header_compiler" >&6
112017
112018 # Is the header present?
112019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112021 cat >conftest.$ac_ext <<_ACEOF
112022 /* confdefs.h.  */
112023 _ACEOF
112024 cat confdefs.h >>conftest.$ac_ext
112025 cat >>conftest.$ac_ext <<_ACEOF
112026 /* end confdefs.h.  */
112027 #include <$ac_header>
112028 _ACEOF
112029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112030   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112031   ac_status=$?
112032   grep -v '^ *+' conftest.er1 >conftest.err
112033   rm -f conftest.er1
112034   cat conftest.err >&5
112035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112036   (exit $ac_status); } >/dev/null; then
112037   if test -s conftest.err; then
112038     ac_cpp_err=$ac_c_preproc_warn_flag
112039     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112040   else
112041     ac_cpp_err=
112042   fi
112043 else
112044   ac_cpp_err=yes
112045 fi
112046 if test -z "$ac_cpp_err"; then
112047   ac_header_preproc=yes
112048 else
112049   echo "$as_me: failed program was:" >&5
112050 sed 's/^/| /' conftest.$ac_ext >&5
112051
112052   ac_header_preproc=no
112053 fi
112054 rm -f conftest.err conftest.$ac_ext
112055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112056 echo "${ECHO_T}$ac_header_preproc" >&6
112057
112058 # So?  What about this header?
112059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112060   yes:no: )
112061     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112063     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112065     ac_header_preproc=yes
112066     ;;
112067   no:yes:* )
112068     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112070     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112071 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112072     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112074     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112075 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112076     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112078     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112080     (
112081       cat <<\_ASBOX
112082 ## ----------------------------------------- ##
112083 ## Report this to the package-unused lists.  ##
112084 ## ----------------------------------------- ##
112085 _ASBOX
112086     ) |
112087       sed "s/^/$as_me: WARNING:     /" >&2
112088     ;;
112089 esac
112090 echo "$as_me:$LINENO: checking for $ac_header" >&5
112091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112093   echo $ECHO_N "(cached) $ECHO_C" >&6
112094 else
112095   eval "$as_ac_Header=\$ac_header_preproc"
112096 fi
112097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112099
112100 fi
112101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112102   cat >>confdefs.h <<_ACEOF
112103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112104 _ACEOF
112105
112106 fi
112107
112108 done
112109
112110     SECTION_FLAGS='-ffunction-sections -fdata-sections'
112111
112112
112113   # If we're not using GNU ld, then there's no point in even trying these
112114   # tests.  Check for that first.  We should have already tested for gld
112115   # by now (in libtool), but require it now just to be safe...
112116   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112117   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112118
112119
112120
112121   # The name set by libtool depends on the version of libtool.  Shame on us
112122   # for depending on an impl detail, but c'est la vie.  Older versions used
112123   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112124   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112125   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
112126   # set (hence we're using an older libtool), then set it.
112127   if test x${with_gnu_ld+set} != xset; then
112128     if test x${ac_cv_prog_gnu_ld+set} != xset; then
112129       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
112130       with_gnu_ld=no
112131     else
112132       with_gnu_ld=$ac_cv_prog_gnu_ld
112133     fi
112134   fi
112135
112136   # Start by getting the version number.  I think the libtool test already
112137   # does some of this, but throws away the result.
112138   glibcxx_ld_is_gold=no
112139   if test x"$with_gnu_ld" = x"yes"; then
112140     echo "$as_me:$LINENO: checking for ld version" >&5
112141 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112142
112143     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112144       glibcxx_ld_is_gold=yes
112145     fi
112146     ldver=`$LD --version 2>/dev/null | head -1 | \
112147            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112148
112149     glibcxx_gnu_ld_version=`echo $ldver | \
112150            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112151     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112152 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112153   fi
112154
112155   # Set --gc-sections.
112156   glibcxx_have_gc_sections=no
112157   if test "$glibcxx_ld_is_gold" = "yes"; then
112158     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112159       glibcxx_have_gc_sections=yes
112160     fi
112161   else
112162     glibcxx_gcsections_min_ld=21602
112163     if test x"$with_gnu_ld" = x"yes" &&
112164         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112165       glibcxx_have_gc_sections=yes
112166     fi
112167   fi
112168   if test "$glibcxx_have_gc_sections" = "yes"; then
112169     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112170     # NB: This flag only works reliably after 2.16.1. Configure tests
112171     # for this are difficult, so hard wire a value that should work.
112172
112173     ac_test_CFLAGS="${CFLAGS+set}"
112174     ac_save_CFLAGS="$CFLAGS"
112175     CFLAGS='-Wl,--gc-sections'
112176
112177     # Check for -Wl,--gc-sections
112178     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112179 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112180     if test x$gcc_no_link = xyes; then
112181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112183    { (exit 1); exit 1; }; }
112184 fi
112185 cat >conftest.$ac_ext <<_ACEOF
112186 /* confdefs.h.  */
112187 _ACEOF
112188 cat confdefs.h >>conftest.$ac_ext
112189 cat >>conftest.$ac_ext <<_ACEOF
112190 /* end confdefs.h.  */
112191  int one(void) { return 1; }
112192      int two(void) { return 2; }
112193
112194 int
112195 main ()
112196 {
112197  two();
112198   ;
112199   return 0;
112200 }
112201 _ACEOF
112202 rm -f conftest.$ac_objext conftest$ac_exeext
112203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112204   (eval $ac_link) 2>conftest.er1
112205   ac_status=$?
112206   grep -v '^ *+' conftest.er1 >conftest.err
112207   rm -f conftest.er1
112208   cat conftest.err >&5
112209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112210   (exit $ac_status); } &&
112211          { ac_try='test -z "$ac_c_werror_flag"
112212                          || test ! -s conftest.err'
112213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112214   (eval $ac_try) 2>&5
112215   ac_status=$?
112216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112217   (exit $ac_status); }; } &&
112218          { ac_try='test -s conftest$ac_exeext'
112219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112220   (eval $ac_try) 2>&5
112221   ac_status=$?
112222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112223   (exit $ac_status); }; }; then
112224   ac_gcsections=yes
112225 else
112226   echo "$as_me: failed program was:" >&5
112227 sed 's/^/| /' conftest.$ac_ext >&5
112228
112229 ac_gcsections=no
112230 fi
112231 rm -f conftest.err conftest.$ac_objext \
112232       conftest$ac_exeext conftest.$ac_ext
112233     if test "$ac_gcsections" = "yes"; then
112234       rm -f conftest.c
112235       touch conftest.c
112236       if $CC -c conftest.c; then
112237         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112238            grep "Warning: gc-sections option ignored" > /dev/null; then
112239           ac_gcsections=no
112240         fi
112241       fi
112242       rm -f conftest.c conftest.o conftest
112243     fi
112244     if test "$ac_gcsections" = "yes"; then
112245       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112246     fi
112247     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112248 echo "${ECHO_T}$ac_gcsections" >&6
112249
112250     if test "$ac_test_CFLAGS" = set; then
112251       CFLAGS="$ac_save_CFLAGS"
112252     else
112253       # this is the suspicious part
112254       CFLAGS=''
112255     fi
112256   fi
112257
112258   # Set -z,relro.
112259   # Note this is only for shared objects.
112260   ac_ld_relro=no
112261   if test x"$with_gnu_ld" = x"yes"; then
112262     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112263 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112264     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112265     if test -n "$cxx_z_relo"; then
112266       OPT_LDFLAGS="-Wl,-z,relro"
112267       ac_ld_relro=yes
112268     fi
112269     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112270 echo "${ECHO_T}$ac_ld_relro" >&6
112271   fi
112272
112273   # Set linker optimization flags.
112274   if test x"$with_gnu_ld" = x"yes"; then
112275     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112276   fi
112277
112278
112279
112280
112281
112282
112283 echo "$as_me:$LINENO: checking for main in -lm" >&5
112284 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112285 if test "${ac_cv_lib_m_main+set}" = set; then
112286   echo $ECHO_N "(cached) $ECHO_C" >&6
112287 else
112288   ac_check_lib_save_LIBS=$LIBS
112289 LIBS="-lm  $LIBS"
112290 if test x$gcc_no_link = xyes; then
112291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112293    { (exit 1); exit 1; }; }
112294 fi
112295 cat >conftest.$ac_ext <<_ACEOF
112296 /* confdefs.h.  */
112297 _ACEOF
112298 cat confdefs.h >>conftest.$ac_ext
112299 cat >>conftest.$ac_ext <<_ACEOF
112300 /* end confdefs.h.  */
112301
112302
112303 int
112304 main ()
112305 {
112306 main ();
112307   ;
112308   return 0;
112309 }
112310 _ACEOF
112311 rm -f conftest.$ac_objext conftest$ac_exeext
112312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112313   (eval $ac_link) 2>conftest.er1
112314   ac_status=$?
112315   grep -v '^ *+' conftest.er1 >conftest.err
112316   rm -f conftest.er1
112317   cat conftest.err >&5
112318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112319   (exit $ac_status); } &&
112320          { ac_try='test -z "$ac_c_werror_flag"
112321                          || test ! -s conftest.err'
112322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112323   (eval $ac_try) 2>&5
112324   ac_status=$?
112325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112326   (exit $ac_status); }; } &&
112327          { ac_try='test -s conftest$ac_exeext'
112328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112329   (eval $ac_try) 2>&5
112330   ac_status=$?
112331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112332   (exit $ac_status); }; }; then
112333   ac_cv_lib_m_main=yes
112334 else
112335   echo "$as_me: failed program was:" >&5
112336 sed 's/^/| /' conftest.$ac_ext >&5
112337
112338 ac_cv_lib_m_main=no
112339 fi
112340 rm -f conftest.err conftest.$ac_objext \
112341       conftest$ac_exeext conftest.$ac_ext
112342 LIBS=$ac_check_lib_save_LIBS
112343 fi
112344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112345 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112346 if test $ac_cv_lib_m_main = yes; then
112347   cat >>confdefs.h <<_ACEOF
112348 #define HAVE_LIBM 1
112349 _ACEOF
112350
112351   LIBS="-lm $LIBS"
112352
112353 fi
112354
112355
112356 for ac_func in copysignf
112357 do
112358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112359 echo "$as_me:$LINENO: checking for $ac_func" >&5
112360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112361 if eval "test \"\${$as_ac_var+set}\" = set"; then
112362   echo $ECHO_N "(cached) $ECHO_C" >&6
112363 else
112364   if test x$gcc_no_link = xyes; then
112365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112367    { (exit 1); exit 1; }; }
112368 fi
112369 cat >conftest.$ac_ext <<_ACEOF
112370 /* confdefs.h.  */
112371 _ACEOF
112372 cat confdefs.h >>conftest.$ac_ext
112373 cat >>conftest.$ac_ext <<_ACEOF
112374 /* end confdefs.h.  */
112375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112377 #define $ac_func innocuous_$ac_func
112378
112379 /* System header to define __stub macros and hopefully few prototypes,
112380     which can conflict with char $ac_func (); below.
112381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112382     <limits.h> exists even on freestanding compilers.  */
112383
112384 #ifdef __STDC__
112385 # include <limits.h>
112386 #else
112387 # include <assert.h>
112388 #endif
112389
112390 #undef $ac_func
112391
112392 /* Override any gcc2 internal prototype to avoid an error.  */
112393 #ifdef __cplusplus
112394 extern "C"
112395 {
112396 #endif
112397 /* We use char because int might match the return type of a gcc2
112398    builtin and then its argument prototype would still apply.  */
112399 char $ac_func ();
112400 /* The GNU C library defines this for functions which it implements
112401     to always fail with ENOSYS.  Some functions are actually named
112402     something starting with __ and the normal name is an alias.  */
112403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112404 choke me
112405 #else
112406 char (*f) () = $ac_func;
112407 #endif
112408 #ifdef __cplusplus
112409 }
112410 #endif
112411
112412 int
112413 main ()
112414 {
112415 return f != $ac_func;
112416   ;
112417   return 0;
112418 }
112419 _ACEOF
112420 rm -f conftest.$ac_objext conftest$ac_exeext
112421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112422   (eval $ac_link) 2>conftest.er1
112423   ac_status=$?
112424   grep -v '^ *+' conftest.er1 >conftest.err
112425   rm -f conftest.er1
112426   cat conftest.err >&5
112427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112428   (exit $ac_status); } &&
112429          { ac_try='test -z "$ac_c_werror_flag"
112430                          || test ! -s conftest.err'
112431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112432   (eval $ac_try) 2>&5
112433   ac_status=$?
112434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112435   (exit $ac_status); }; } &&
112436          { ac_try='test -s conftest$ac_exeext'
112437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112438   (eval $ac_try) 2>&5
112439   ac_status=$?
112440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112441   (exit $ac_status); }; }; then
112442   eval "$as_ac_var=yes"
112443 else
112444   echo "$as_me: failed program was:" >&5
112445 sed 's/^/| /' conftest.$ac_ext >&5
112446
112447 eval "$as_ac_var=no"
112448 fi
112449 rm -f conftest.err conftest.$ac_objext \
112450       conftest$ac_exeext conftest.$ac_ext
112451 fi
112452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112454 if test `eval echo '${'$as_ac_var'}'` = yes; then
112455   cat >>confdefs.h <<_ACEOF
112456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112457 _ACEOF
112458
112459 else
112460   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112461 fi
112462 done
112463
112464
112465
112466 for ac_func in __signbit
112467 do
112468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112469 echo "$as_me:$LINENO: checking for $ac_func" >&5
112470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112471 if eval "test \"\${$as_ac_var+set}\" = set"; then
112472   echo $ECHO_N "(cached) $ECHO_C" >&6
112473 else
112474   if test x$gcc_no_link = xyes; then
112475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112477    { (exit 1); exit 1; }; }
112478 fi
112479 cat >conftest.$ac_ext <<_ACEOF
112480 /* confdefs.h.  */
112481 _ACEOF
112482 cat confdefs.h >>conftest.$ac_ext
112483 cat >>conftest.$ac_ext <<_ACEOF
112484 /* end confdefs.h.  */
112485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112487 #define $ac_func innocuous_$ac_func
112488
112489 /* System header to define __stub macros and hopefully few prototypes,
112490     which can conflict with char $ac_func (); below.
112491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112492     <limits.h> exists even on freestanding compilers.  */
112493
112494 #ifdef __STDC__
112495 # include <limits.h>
112496 #else
112497 # include <assert.h>
112498 #endif
112499
112500 #undef $ac_func
112501
112502 /* Override any gcc2 internal prototype to avoid an error.  */
112503 #ifdef __cplusplus
112504 extern "C"
112505 {
112506 #endif
112507 /* We use char because int might match the return type of a gcc2
112508    builtin and then its argument prototype would still apply.  */
112509 char $ac_func ();
112510 /* The GNU C library defines this for functions which it implements
112511     to always fail with ENOSYS.  Some functions are actually named
112512     something starting with __ and the normal name is an alias.  */
112513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112514 choke me
112515 #else
112516 char (*f) () = $ac_func;
112517 #endif
112518 #ifdef __cplusplus
112519 }
112520 #endif
112521
112522 int
112523 main ()
112524 {
112525 return f != $ac_func;
112526   ;
112527   return 0;
112528 }
112529 _ACEOF
112530 rm -f conftest.$ac_objext conftest$ac_exeext
112531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112532   (eval $ac_link) 2>conftest.er1
112533   ac_status=$?
112534   grep -v '^ *+' conftest.er1 >conftest.err
112535   rm -f conftest.er1
112536   cat conftest.err >&5
112537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112538   (exit $ac_status); } &&
112539          { ac_try='test -z "$ac_c_werror_flag"
112540                          || test ! -s conftest.err'
112541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112542   (eval $ac_try) 2>&5
112543   ac_status=$?
112544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112545   (exit $ac_status); }; } &&
112546          { ac_try='test -s conftest$ac_exeext'
112547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112548   (eval $ac_try) 2>&5
112549   ac_status=$?
112550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112551   (exit $ac_status); }; }; then
112552   eval "$as_ac_var=yes"
112553 else
112554   echo "$as_me: failed program was:" >&5
112555 sed 's/^/| /' conftest.$ac_ext >&5
112556
112557 eval "$as_ac_var=no"
112558 fi
112559 rm -f conftest.err conftest.$ac_objext \
112560       conftest$ac_exeext conftest.$ac_ext
112561 fi
112562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112564 if test `eval echo '${'$as_ac_var'}'` = yes; then
112565   cat >>confdefs.h <<_ACEOF
112566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112567 _ACEOF
112568
112569 else
112570   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112571 fi
112572 done
112573
112574
112575
112576 for ac_func in __signbitf
112577 do
112578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112579 echo "$as_me:$LINENO: checking for $ac_func" >&5
112580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112581 if eval "test \"\${$as_ac_var+set}\" = set"; then
112582   echo $ECHO_N "(cached) $ECHO_C" >&6
112583 else
112584   if test x$gcc_no_link = xyes; then
112585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112587    { (exit 1); exit 1; }; }
112588 fi
112589 cat >conftest.$ac_ext <<_ACEOF
112590 /* confdefs.h.  */
112591 _ACEOF
112592 cat confdefs.h >>conftest.$ac_ext
112593 cat >>conftest.$ac_ext <<_ACEOF
112594 /* end confdefs.h.  */
112595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112597 #define $ac_func innocuous_$ac_func
112598
112599 /* System header to define __stub macros and hopefully few prototypes,
112600     which can conflict with char $ac_func (); below.
112601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112602     <limits.h> exists even on freestanding compilers.  */
112603
112604 #ifdef __STDC__
112605 # include <limits.h>
112606 #else
112607 # include <assert.h>
112608 #endif
112609
112610 #undef $ac_func
112611
112612 /* Override any gcc2 internal prototype to avoid an error.  */
112613 #ifdef __cplusplus
112614 extern "C"
112615 {
112616 #endif
112617 /* We use char because int might match the return type of a gcc2
112618    builtin and then its argument prototype would still apply.  */
112619 char $ac_func ();
112620 /* The GNU C library defines this for functions which it implements
112621     to always fail with ENOSYS.  Some functions are actually named
112622     something starting with __ and the normal name is an alias.  */
112623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112624 choke me
112625 #else
112626 char (*f) () = $ac_func;
112627 #endif
112628 #ifdef __cplusplus
112629 }
112630 #endif
112631
112632 int
112633 main ()
112634 {
112635 return f != $ac_func;
112636   ;
112637   return 0;
112638 }
112639 _ACEOF
112640 rm -f conftest.$ac_objext conftest$ac_exeext
112641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112642   (eval $ac_link) 2>conftest.er1
112643   ac_status=$?
112644   grep -v '^ *+' conftest.er1 >conftest.err
112645   rm -f conftest.er1
112646   cat conftest.err >&5
112647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112648   (exit $ac_status); } &&
112649          { ac_try='test -z "$ac_c_werror_flag"
112650                          || test ! -s conftest.err'
112651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112652   (eval $ac_try) 2>&5
112653   ac_status=$?
112654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112655   (exit $ac_status); }; } &&
112656          { ac_try='test -s conftest$ac_exeext'
112657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112658   (eval $ac_try) 2>&5
112659   ac_status=$?
112660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112661   (exit $ac_status); }; }; then
112662   eval "$as_ac_var=yes"
112663 else
112664   echo "$as_me: failed program was:" >&5
112665 sed 's/^/| /' conftest.$ac_ext >&5
112666
112667 eval "$as_ac_var=no"
112668 fi
112669 rm -f conftest.err conftest.$ac_objext \
112670       conftest$ac_exeext conftest.$ac_ext
112671 fi
112672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112674 if test `eval echo '${'$as_ac_var'}'` = yes; then
112675   cat >>confdefs.h <<_ACEOF
112676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112677 _ACEOF
112678
112679 else
112680   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112681 fi
112682 done
112683
112684
112685           if test x$ac_cv_func_copysignl = x"yes"; then
112686
112687 for ac_func in __signbitl
112688 do
112689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112690 echo "$as_me:$LINENO: checking for $ac_func" >&5
112691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112692 if eval "test \"\${$as_ac_var+set}\" = set"; then
112693   echo $ECHO_N "(cached) $ECHO_C" >&6
112694 else
112695   if test x$gcc_no_link = xyes; then
112696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112698    { (exit 1); exit 1; }; }
112699 fi
112700 cat >conftest.$ac_ext <<_ACEOF
112701 /* confdefs.h.  */
112702 _ACEOF
112703 cat confdefs.h >>conftest.$ac_ext
112704 cat >>conftest.$ac_ext <<_ACEOF
112705 /* end confdefs.h.  */
112706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112708 #define $ac_func innocuous_$ac_func
112709
112710 /* System header to define __stub macros and hopefully few prototypes,
112711     which can conflict with char $ac_func (); below.
112712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112713     <limits.h> exists even on freestanding compilers.  */
112714
112715 #ifdef __STDC__
112716 # include <limits.h>
112717 #else
112718 # include <assert.h>
112719 #endif
112720
112721 #undef $ac_func
112722
112723 /* Override any gcc2 internal prototype to avoid an error.  */
112724 #ifdef __cplusplus
112725 extern "C"
112726 {
112727 #endif
112728 /* We use char because int might match the return type of a gcc2
112729    builtin and then its argument prototype would still apply.  */
112730 char $ac_func ();
112731 /* The GNU C library defines this for functions which it implements
112732     to always fail with ENOSYS.  Some functions are actually named
112733     something starting with __ and the normal name is an alias.  */
112734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112735 choke me
112736 #else
112737 char (*f) () = $ac_func;
112738 #endif
112739 #ifdef __cplusplus
112740 }
112741 #endif
112742
112743 int
112744 main ()
112745 {
112746 return f != $ac_func;
112747   ;
112748   return 0;
112749 }
112750 _ACEOF
112751 rm -f conftest.$ac_objext conftest$ac_exeext
112752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112753   (eval $ac_link) 2>conftest.er1
112754   ac_status=$?
112755   grep -v '^ *+' conftest.er1 >conftest.err
112756   rm -f conftest.er1
112757   cat conftest.err >&5
112758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112759   (exit $ac_status); } &&
112760          { ac_try='test -z "$ac_c_werror_flag"
112761                          || test ! -s conftest.err'
112762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112763   (eval $ac_try) 2>&5
112764   ac_status=$?
112765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112766   (exit $ac_status); }; } &&
112767          { ac_try='test -s conftest$ac_exeext'
112768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112769   (eval $ac_try) 2>&5
112770   ac_status=$?
112771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112772   (exit $ac_status); }; }; then
112773   eval "$as_ac_var=yes"
112774 else
112775   echo "$as_me: failed program was:" >&5
112776 sed 's/^/| /' conftest.$ac_ext >&5
112777
112778 eval "$as_ac_var=no"
112779 fi
112780 rm -f conftest.err conftest.$ac_objext \
112781       conftest$ac_exeext conftest.$ac_ext
112782 fi
112783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112785 if test `eval echo '${'$as_ac_var'}'` = yes; then
112786   cat >>confdefs.h <<_ACEOF
112787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112788 _ACEOF
112789
112790 else
112791   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112792 fi
112793 done
112794
112795   fi
112796
112797   # Used in libmath/Makefile.am.
112798   if test -n "$LIBMATHOBJS"; then
112799     need_libmath=yes
112800   fi
112801
112802
112803     cat >>confdefs.h <<\_ACEOF
112804 #define HAVE_COPYSIGN 1
112805 _ACEOF
112806
112807     cat >>confdefs.h <<\_ACEOF
112808 #define HAVE_COPYSIGNF 1
112809 _ACEOF
112810
112811     cat >>confdefs.h <<\_ACEOF
112812 #define HAVE_FINITEF 1
112813 _ACEOF
112814
112815     cat >>confdefs.h <<\_ACEOF
112816 #define HAVE_FINITE 1
112817 _ACEOF
112818
112819     cat >>confdefs.h <<\_ACEOF
112820 #define HAVE_FREXPF 1
112821 _ACEOF
112822
112823     cat >>confdefs.h <<\_ACEOF
112824 #define HAVE_HYPOTF 1
112825 _ACEOF
112826
112827     cat >>confdefs.h <<\_ACEOF
112828 #define HAVE_ISINF 1
112829 _ACEOF
112830
112831     cat >>confdefs.h <<\_ACEOF
112832 #define HAVE_ISINFF 1
112833 _ACEOF
112834
112835     cat >>confdefs.h <<\_ACEOF
112836 #define HAVE_ISNAN 1
112837 _ACEOF
112838
112839     cat >>confdefs.h <<\_ACEOF
112840 #define HAVE_ISNANF 1
112841 _ACEOF
112842
112843     if test x"long_double_math_on_this_cpu" = x"yes"; then
112844       cat >>confdefs.h <<\_ACEOF
112845 #define HAVE_FINITEL 1
112846 _ACEOF
112847
112848       cat >>confdefs.h <<\_ACEOF
112849 #define HAVE_ISINFL 1
112850 _ACEOF
112851
112852       cat >>confdefs.h <<\_ACEOF
112853 #define HAVE_ISNANL 1
112854 _ACEOF
112855
112856     fi
112857     ;;
112858   *-netware)
112859
112860
112861
112862
112863
112864
112865
112866
112867 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
112868       sys/types.h locale.h float.h inttypes.h
112869 do
112870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112872   echo "$as_me:$LINENO: checking for $ac_header" >&5
112873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112875   echo $ECHO_N "(cached) $ECHO_C" >&6
112876 fi
112877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112879 else
112880   # Is the header compilable?
112881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112883 cat >conftest.$ac_ext <<_ACEOF
112884 /* confdefs.h.  */
112885 _ACEOF
112886 cat confdefs.h >>conftest.$ac_ext
112887 cat >>conftest.$ac_ext <<_ACEOF
112888 /* end confdefs.h.  */
112889 $ac_includes_default
112890 #include <$ac_header>
112891 _ACEOF
112892 rm -f conftest.$ac_objext
112893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112894   (eval $ac_compile) 2>conftest.er1
112895   ac_status=$?
112896   grep -v '^ *+' conftest.er1 >conftest.err
112897   rm -f conftest.er1
112898   cat conftest.err >&5
112899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112900   (exit $ac_status); } &&
112901          { ac_try='test -z "$ac_c_werror_flag"
112902                          || test ! -s conftest.err'
112903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112904   (eval $ac_try) 2>&5
112905   ac_status=$?
112906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112907   (exit $ac_status); }; } &&
112908          { ac_try='test -s conftest.$ac_objext'
112909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112910   (eval $ac_try) 2>&5
112911   ac_status=$?
112912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112913   (exit $ac_status); }; }; then
112914   ac_header_compiler=yes
112915 else
112916   echo "$as_me: failed program was:" >&5
112917 sed 's/^/| /' conftest.$ac_ext >&5
112918
112919 ac_header_compiler=no
112920 fi
112921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112923 echo "${ECHO_T}$ac_header_compiler" >&6
112924
112925 # Is the header present?
112926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112928 cat >conftest.$ac_ext <<_ACEOF
112929 /* confdefs.h.  */
112930 _ACEOF
112931 cat confdefs.h >>conftest.$ac_ext
112932 cat >>conftest.$ac_ext <<_ACEOF
112933 /* end confdefs.h.  */
112934 #include <$ac_header>
112935 _ACEOF
112936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112937   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112938   ac_status=$?
112939   grep -v '^ *+' conftest.er1 >conftest.err
112940   rm -f conftest.er1
112941   cat conftest.err >&5
112942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112943   (exit $ac_status); } >/dev/null; then
112944   if test -s conftest.err; then
112945     ac_cpp_err=$ac_c_preproc_warn_flag
112946     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112947   else
112948     ac_cpp_err=
112949   fi
112950 else
112951   ac_cpp_err=yes
112952 fi
112953 if test -z "$ac_cpp_err"; then
112954   ac_header_preproc=yes
112955 else
112956   echo "$as_me: failed program was:" >&5
112957 sed 's/^/| /' conftest.$ac_ext >&5
112958
112959   ac_header_preproc=no
112960 fi
112961 rm -f conftest.err conftest.$ac_ext
112962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112963 echo "${ECHO_T}$ac_header_preproc" >&6
112964
112965 # So?  What about this header?
112966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112967   yes:no: )
112968     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112970     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112972     ac_header_preproc=yes
112973     ;;
112974   no:yes:* )
112975     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112977     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112978 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112979     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112981     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112982 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112983     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112985     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112987     (
112988       cat <<\_ASBOX
112989 ## ----------------------------------------- ##
112990 ## Report this to the package-unused lists.  ##
112991 ## ----------------------------------------- ##
112992 _ASBOX
112993     ) |
112994       sed "s/^/$as_me: WARNING:     /" >&2
112995     ;;
112996 esac
112997 echo "$as_me:$LINENO: checking for $ac_header" >&5
112998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113000   echo $ECHO_N "(cached) $ECHO_C" >&6
113001 else
113002   eval "$as_ac_Header=\$ac_header_preproc"
113003 fi
113004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113006
113007 fi
113008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113009   cat >>confdefs.h <<_ACEOF
113010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113011 _ACEOF
113012
113013 fi
113014
113015 done
113016
113017     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113018
113019
113020   # If we're not using GNU ld, then there's no point in even trying these
113021   # tests.  Check for that first.  We should have already tested for gld
113022   # by now (in libtool), but require it now just to be safe...
113023   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113024   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113025
113026
113027
113028   # The name set by libtool depends on the version of libtool.  Shame on us
113029   # for depending on an impl detail, but c'est la vie.  Older versions used
113030   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113031   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113032   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113033   # set (hence we're using an older libtool), then set it.
113034   if test x${with_gnu_ld+set} != xset; then
113035     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113036       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113037       with_gnu_ld=no
113038     else
113039       with_gnu_ld=$ac_cv_prog_gnu_ld
113040     fi
113041   fi
113042
113043   # Start by getting the version number.  I think the libtool test already
113044   # does some of this, but throws away the result.
113045   glibcxx_ld_is_gold=no
113046   if test x"$with_gnu_ld" = x"yes"; then
113047     echo "$as_me:$LINENO: checking for ld version" >&5
113048 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113049
113050     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113051       glibcxx_ld_is_gold=yes
113052     fi
113053     ldver=`$LD --version 2>/dev/null | head -1 | \
113054            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113055
113056     glibcxx_gnu_ld_version=`echo $ldver | \
113057            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113058     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113059 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113060   fi
113061
113062   # Set --gc-sections.
113063   glibcxx_have_gc_sections=no
113064   if test "$glibcxx_ld_is_gold" = "yes"; then
113065     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113066       glibcxx_have_gc_sections=yes
113067     fi
113068   else
113069     glibcxx_gcsections_min_ld=21602
113070     if test x"$with_gnu_ld" = x"yes" &&
113071         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113072       glibcxx_have_gc_sections=yes
113073     fi
113074   fi
113075   if test "$glibcxx_have_gc_sections" = "yes"; then
113076     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113077     # NB: This flag only works reliably after 2.16.1. Configure tests
113078     # for this are difficult, so hard wire a value that should work.
113079
113080     ac_test_CFLAGS="${CFLAGS+set}"
113081     ac_save_CFLAGS="$CFLAGS"
113082     CFLAGS='-Wl,--gc-sections'
113083
113084     # Check for -Wl,--gc-sections
113085     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113086 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113087     if test x$gcc_no_link = xyes; then
113088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113090    { (exit 1); exit 1; }; }
113091 fi
113092 cat >conftest.$ac_ext <<_ACEOF
113093 /* confdefs.h.  */
113094 _ACEOF
113095 cat confdefs.h >>conftest.$ac_ext
113096 cat >>conftest.$ac_ext <<_ACEOF
113097 /* end confdefs.h.  */
113098  int one(void) { return 1; }
113099      int two(void) { return 2; }
113100
113101 int
113102 main ()
113103 {
113104  two();
113105   ;
113106   return 0;
113107 }
113108 _ACEOF
113109 rm -f conftest.$ac_objext conftest$ac_exeext
113110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113111   (eval $ac_link) 2>conftest.er1
113112   ac_status=$?
113113   grep -v '^ *+' conftest.er1 >conftest.err
113114   rm -f conftest.er1
113115   cat conftest.err >&5
113116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113117   (exit $ac_status); } &&
113118          { ac_try='test -z "$ac_c_werror_flag"
113119                          || test ! -s conftest.err'
113120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113121   (eval $ac_try) 2>&5
113122   ac_status=$?
113123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113124   (exit $ac_status); }; } &&
113125          { ac_try='test -s conftest$ac_exeext'
113126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113127   (eval $ac_try) 2>&5
113128   ac_status=$?
113129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113130   (exit $ac_status); }; }; then
113131   ac_gcsections=yes
113132 else
113133   echo "$as_me: failed program was:" >&5
113134 sed 's/^/| /' conftest.$ac_ext >&5
113135
113136 ac_gcsections=no
113137 fi
113138 rm -f conftest.err conftest.$ac_objext \
113139       conftest$ac_exeext conftest.$ac_ext
113140     if test "$ac_gcsections" = "yes"; then
113141       rm -f conftest.c
113142       touch conftest.c
113143       if $CC -c conftest.c; then
113144         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113145            grep "Warning: gc-sections option ignored" > /dev/null; then
113146           ac_gcsections=no
113147         fi
113148       fi
113149       rm -f conftest.c conftest.o conftest
113150     fi
113151     if test "$ac_gcsections" = "yes"; then
113152       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113153     fi
113154     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113155 echo "${ECHO_T}$ac_gcsections" >&6
113156
113157     if test "$ac_test_CFLAGS" = set; then
113158       CFLAGS="$ac_save_CFLAGS"
113159     else
113160       # this is the suspicious part
113161       CFLAGS=''
113162     fi
113163   fi
113164
113165   # Set -z,relro.
113166   # Note this is only for shared objects.
113167   ac_ld_relro=no
113168   if test x"$with_gnu_ld" = x"yes"; then
113169     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113170 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113171     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113172     if test -n "$cxx_z_relo"; then
113173       OPT_LDFLAGS="-Wl,-z,relro"
113174       ac_ld_relro=yes
113175     fi
113176     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113177 echo "${ECHO_T}$ac_ld_relro" >&6
113178   fi
113179
113180   # Set linker optimization flags.
113181   if test x"$with_gnu_ld" = x"yes"; then
113182     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113183   fi
113184
113185
113186
113187
113188
113189
113190 echo "$as_me:$LINENO: checking for main in -lm" >&5
113191 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113192 if test "${ac_cv_lib_m_main+set}" = set; then
113193   echo $ECHO_N "(cached) $ECHO_C" >&6
113194 else
113195   ac_check_lib_save_LIBS=$LIBS
113196 LIBS="-lm  $LIBS"
113197 if test x$gcc_no_link = xyes; then
113198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113200    { (exit 1); exit 1; }; }
113201 fi
113202 cat >conftest.$ac_ext <<_ACEOF
113203 /* confdefs.h.  */
113204 _ACEOF
113205 cat confdefs.h >>conftest.$ac_ext
113206 cat >>conftest.$ac_ext <<_ACEOF
113207 /* end confdefs.h.  */
113208
113209
113210 int
113211 main ()
113212 {
113213 main ();
113214   ;
113215   return 0;
113216 }
113217 _ACEOF
113218 rm -f conftest.$ac_objext conftest$ac_exeext
113219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113220   (eval $ac_link) 2>conftest.er1
113221   ac_status=$?
113222   grep -v '^ *+' conftest.er1 >conftest.err
113223   rm -f conftest.er1
113224   cat conftest.err >&5
113225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113226   (exit $ac_status); } &&
113227          { ac_try='test -z "$ac_c_werror_flag"
113228                          || test ! -s conftest.err'
113229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113230   (eval $ac_try) 2>&5
113231   ac_status=$?
113232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113233   (exit $ac_status); }; } &&
113234          { ac_try='test -s conftest$ac_exeext'
113235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113236   (eval $ac_try) 2>&5
113237   ac_status=$?
113238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113239   (exit $ac_status); }; }; then
113240   ac_cv_lib_m_main=yes
113241 else
113242   echo "$as_me: failed program was:" >&5
113243 sed 's/^/| /' conftest.$ac_ext >&5
113244
113245 ac_cv_lib_m_main=no
113246 fi
113247 rm -f conftest.err conftest.$ac_objext \
113248       conftest$ac_exeext conftest.$ac_ext
113249 LIBS=$ac_check_lib_save_LIBS
113250 fi
113251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113252 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113253 if test $ac_cv_lib_m_main = yes; then
113254   cat >>confdefs.h <<_ACEOF
113255 #define HAVE_LIBM 1
113256 _ACEOF
113257
113258   LIBS="-lm $LIBS"
113259
113260 fi
113261
113262
113263 for ac_func in copysignf
113264 do
113265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113266 echo "$as_me:$LINENO: checking for $ac_func" >&5
113267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113268 if eval "test \"\${$as_ac_var+set}\" = set"; then
113269   echo $ECHO_N "(cached) $ECHO_C" >&6
113270 else
113271   if test x$gcc_no_link = xyes; then
113272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113274    { (exit 1); exit 1; }; }
113275 fi
113276 cat >conftest.$ac_ext <<_ACEOF
113277 /* confdefs.h.  */
113278 _ACEOF
113279 cat confdefs.h >>conftest.$ac_ext
113280 cat >>conftest.$ac_ext <<_ACEOF
113281 /* end confdefs.h.  */
113282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113284 #define $ac_func innocuous_$ac_func
113285
113286 /* System header to define __stub macros and hopefully few prototypes,
113287     which can conflict with char $ac_func (); below.
113288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113289     <limits.h> exists even on freestanding compilers.  */
113290
113291 #ifdef __STDC__
113292 # include <limits.h>
113293 #else
113294 # include <assert.h>
113295 #endif
113296
113297 #undef $ac_func
113298
113299 /* Override any gcc2 internal prototype to avoid an error.  */
113300 #ifdef __cplusplus
113301 extern "C"
113302 {
113303 #endif
113304 /* We use char because int might match the return type of a gcc2
113305    builtin and then its argument prototype would still apply.  */
113306 char $ac_func ();
113307 /* The GNU C library defines this for functions which it implements
113308     to always fail with ENOSYS.  Some functions are actually named
113309     something starting with __ and the normal name is an alias.  */
113310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113311 choke me
113312 #else
113313 char (*f) () = $ac_func;
113314 #endif
113315 #ifdef __cplusplus
113316 }
113317 #endif
113318
113319 int
113320 main ()
113321 {
113322 return f != $ac_func;
113323   ;
113324   return 0;
113325 }
113326 _ACEOF
113327 rm -f conftest.$ac_objext conftest$ac_exeext
113328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113329   (eval $ac_link) 2>conftest.er1
113330   ac_status=$?
113331   grep -v '^ *+' conftest.er1 >conftest.err
113332   rm -f conftest.er1
113333   cat conftest.err >&5
113334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113335   (exit $ac_status); } &&
113336          { ac_try='test -z "$ac_c_werror_flag"
113337                          || test ! -s conftest.err'
113338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113339   (eval $ac_try) 2>&5
113340   ac_status=$?
113341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113342   (exit $ac_status); }; } &&
113343          { ac_try='test -s conftest$ac_exeext'
113344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113345   (eval $ac_try) 2>&5
113346   ac_status=$?
113347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113348   (exit $ac_status); }; }; then
113349   eval "$as_ac_var=yes"
113350 else
113351   echo "$as_me: failed program was:" >&5
113352 sed 's/^/| /' conftest.$ac_ext >&5
113353
113354 eval "$as_ac_var=no"
113355 fi
113356 rm -f conftest.err conftest.$ac_objext \
113357       conftest$ac_exeext conftest.$ac_ext
113358 fi
113359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113361 if test `eval echo '${'$as_ac_var'}'` = yes; then
113362   cat >>confdefs.h <<_ACEOF
113363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113364 _ACEOF
113365
113366 else
113367   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113368 fi
113369 done
113370
113371
113372
113373 for ac_func in __signbit
113374 do
113375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113376 echo "$as_me:$LINENO: checking for $ac_func" >&5
113377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113378 if eval "test \"\${$as_ac_var+set}\" = set"; then
113379   echo $ECHO_N "(cached) $ECHO_C" >&6
113380 else
113381   if test x$gcc_no_link = xyes; then
113382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113384    { (exit 1); exit 1; }; }
113385 fi
113386 cat >conftest.$ac_ext <<_ACEOF
113387 /* confdefs.h.  */
113388 _ACEOF
113389 cat confdefs.h >>conftest.$ac_ext
113390 cat >>conftest.$ac_ext <<_ACEOF
113391 /* end confdefs.h.  */
113392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113393    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113394 #define $ac_func innocuous_$ac_func
113395
113396 /* System header to define __stub macros and hopefully few prototypes,
113397     which can conflict with char $ac_func (); below.
113398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113399     <limits.h> exists even on freestanding compilers.  */
113400
113401 #ifdef __STDC__
113402 # include <limits.h>
113403 #else
113404 # include <assert.h>
113405 #endif
113406
113407 #undef $ac_func
113408
113409 /* Override any gcc2 internal prototype to avoid an error.  */
113410 #ifdef __cplusplus
113411 extern "C"
113412 {
113413 #endif
113414 /* We use char because int might match the return type of a gcc2
113415    builtin and then its argument prototype would still apply.  */
113416 char $ac_func ();
113417 /* The GNU C library defines this for functions which it implements
113418     to always fail with ENOSYS.  Some functions are actually named
113419     something starting with __ and the normal name is an alias.  */
113420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113421 choke me
113422 #else
113423 char (*f) () = $ac_func;
113424 #endif
113425 #ifdef __cplusplus
113426 }
113427 #endif
113428
113429 int
113430 main ()
113431 {
113432 return f != $ac_func;
113433   ;
113434   return 0;
113435 }
113436 _ACEOF
113437 rm -f conftest.$ac_objext conftest$ac_exeext
113438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113439   (eval $ac_link) 2>conftest.er1
113440   ac_status=$?
113441   grep -v '^ *+' conftest.er1 >conftest.err
113442   rm -f conftest.er1
113443   cat conftest.err >&5
113444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113445   (exit $ac_status); } &&
113446          { ac_try='test -z "$ac_c_werror_flag"
113447                          || test ! -s conftest.err'
113448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113449   (eval $ac_try) 2>&5
113450   ac_status=$?
113451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113452   (exit $ac_status); }; } &&
113453          { ac_try='test -s conftest$ac_exeext'
113454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113455   (eval $ac_try) 2>&5
113456   ac_status=$?
113457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113458   (exit $ac_status); }; }; then
113459   eval "$as_ac_var=yes"
113460 else
113461   echo "$as_me: failed program was:" >&5
113462 sed 's/^/| /' conftest.$ac_ext >&5
113463
113464 eval "$as_ac_var=no"
113465 fi
113466 rm -f conftest.err conftest.$ac_objext \
113467       conftest$ac_exeext conftest.$ac_ext
113468 fi
113469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113471 if test `eval echo '${'$as_ac_var'}'` = yes; then
113472   cat >>confdefs.h <<_ACEOF
113473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113474 _ACEOF
113475
113476 else
113477   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113478 fi
113479 done
113480
113481
113482
113483 for ac_func in __signbitf
113484 do
113485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113486 echo "$as_me:$LINENO: checking for $ac_func" >&5
113487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113488 if eval "test \"\${$as_ac_var+set}\" = set"; then
113489   echo $ECHO_N "(cached) $ECHO_C" >&6
113490 else
113491   if test x$gcc_no_link = xyes; then
113492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113494    { (exit 1); exit 1; }; }
113495 fi
113496 cat >conftest.$ac_ext <<_ACEOF
113497 /* confdefs.h.  */
113498 _ACEOF
113499 cat confdefs.h >>conftest.$ac_ext
113500 cat >>conftest.$ac_ext <<_ACEOF
113501 /* end confdefs.h.  */
113502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113504 #define $ac_func innocuous_$ac_func
113505
113506 /* System header to define __stub macros and hopefully few prototypes,
113507     which can conflict with char $ac_func (); below.
113508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113509     <limits.h> exists even on freestanding compilers.  */
113510
113511 #ifdef __STDC__
113512 # include <limits.h>
113513 #else
113514 # include <assert.h>
113515 #endif
113516
113517 #undef $ac_func
113518
113519 /* Override any gcc2 internal prototype to avoid an error.  */
113520 #ifdef __cplusplus
113521 extern "C"
113522 {
113523 #endif
113524 /* We use char because int might match the return type of a gcc2
113525    builtin and then its argument prototype would still apply.  */
113526 char $ac_func ();
113527 /* The GNU C library defines this for functions which it implements
113528     to always fail with ENOSYS.  Some functions are actually named
113529     something starting with __ and the normal name is an alias.  */
113530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113531 choke me
113532 #else
113533 char (*f) () = $ac_func;
113534 #endif
113535 #ifdef __cplusplus
113536 }
113537 #endif
113538
113539 int
113540 main ()
113541 {
113542 return f != $ac_func;
113543   ;
113544   return 0;
113545 }
113546 _ACEOF
113547 rm -f conftest.$ac_objext conftest$ac_exeext
113548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113549   (eval $ac_link) 2>conftest.er1
113550   ac_status=$?
113551   grep -v '^ *+' conftest.er1 >conftest.err
113552   rm -f conftest.er1
113553   cat conftest.err >&5
113554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113555   (exit $ac_status); } &&
113556          { ac_try='test -z "$ac_c_werror_flag"
113557                          || test ! -s conftest.err'
113558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113559   (eval $ac_try) 2>&5
113560   ac_status=$?
113561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113562   (exit $ac_status); }; } &&
113563          { ac_try='test -s conftest$ac_exeext'
113564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113565   (eval $ac_try) 2>&5
113566   ac_status=$?
113567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113568   (exit $ac_status); }; }; then
113569   eval "$as_ac_var=yes"
113570 else
113571   echo "$as_me: failed program was:" >&5
113572 sed 's/^/| /' conftest.$ac_ext >&5
113573
113574 eval "$as_ac_var=no"
113575 fi
113576 rm -f conftest.err conftest.$ac_objext \
113577       conftest$ac_exeext conftest.$ac_ext
113578 fi
113579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113581 if test `eval echo '${'$as_ac_var'}'` = yes; then
113582   cat >>confdefs.h <<_ACEOF
113583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113584 _ACEOF
113585
113586 else
113587   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113588 fi
113589 done
113590
113591
113592           if test x$ac_cv_func_copysignl = x"yes"; then
113593
113594 for ac_func in __signbitl
113595 do
113596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113597 echo "$as_me:$LINENO: checking for $ac_func" >&5
113598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113599 if eval "test \"\${$as_ac_var+set}\" = set"; then
113600   echo $ECHO_N "(cached) $ECHO_C" >&6
113601 else
113602   if test x$gcc_no_link = xyes; then
113603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113605    { (exit 1); exit 1; }; }
113606 fi
113607 cat >conftest.$ac_ext <<_ACEOF
113608 /* confdefs.h.  */
113609 _ACEOF
113610 cat confdefs.h >>conftest.$ac_ext
113611 cat >>conftest.$ac_ext <<_ACEOF
113612 /* end confdefs.h.  */
113613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113615 #define $ac_func innocuous_$ac_func
113616
113617 /* System header to define __stub macros and hopefully few prototypes,
113618     which can conflict with char $ac_func (); below.
113619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113620     <limits.h> exists even on freestanding compilers.  */
113621
113622 #ifdef __STDC__
113623 # include <limits.h>
113624 #else
113625 # include <assert.h>
113626 #endif
113627
113628 #undef $ac_func
113629
113630 /* Override any gcc2 internal prototype to avoid an error.  */
113631 #ifdef __cplusplus
113632 extern "C"
113633 {
113634 #endif
113635 /* We use char because int might match the return type of a gcc2
113636    builtin and then its argument prototype would still apply.  */
113637 char $ac_func ();
113638 /* The GNU C library defines this for functions which it implements
113639     to always fail with ENOSYS.  Some functions are actually named
113640     something starting with __ and the normal name is an alias.  */
113641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113642 choke me
113643 #else
113644 char (*f) () = $ac_func;
113645 #endif
113646 #ifdef __cplusplus
113647 }
113648 #endif
113649
113650 int
113651 main ()
113652 {
113653 return f != $ac_func;
113654   ;
113655   return 0;
113656 }
113657 _ACEOF
113658 rm -f conftest.$ac_objext conftest$ac_exeext
113659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113660   (eval $ac_link) 2>conftest.er1
113661   ac_status=$?
113662   grep -v '^ *+' conftest.er1 >conftest.err
113663   rm -f conftest.er1
113664   cat conftest.err >&5
113665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113666   (exit $ac_status); } &&
113667          { ac_try='test -z "$ac_c_werror_flag"
113668                          || test ! -s conftest.err'
113669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113670   (eval $ac_try) 2>&5
113671   ac_status=$?
113672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113673   (exit $ac_status); }; } &&
113674          { ac_try='test -s conftest$ac_exeext'
113675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113676   (eval $ac_try) 2>&5
113677   ac_status=$?
113678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113679   (exit $ac_status); }; }; then
113680   eval "$as_ac_var=yes"
113681 else
113682   echo "$as_me: failed program was:" >&5
113683 sed 's/^/| /' conftest.$ac_ext >&5
113684
113685 eval "$as_ac_var=no"
113686 fi
113687 rm -f conftest.err conftest.$ac_objext \
113688       conftest$ac_exeext conftest.$ac_ext
113689 fi
113690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113692 if test `eval echo '${'$as_ac_var'}'` = yes; then
113693   cat >>confdefs.h <<_ACEOF
113694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113695 _ACEOF
113696
113697 else
113698   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113699 fi
113700 done
113701
113702   fi
113703
113704   # Used in libmath/Makefile.am.
113705   if test -n "$LIBMATHOBJS"; then
113706     need_libmath=yes
113707   fi
113708
113709
113710     cat >>confdefs.h <<\_ACEOF
113711 #define HAVE_HYPOT 1
113712 _ACEOF
113713
113714     cat >>confdefs.h <<\_ACEOF
113715 #define HAVE_ISINF 1
113716 _ACEOF
113717
113718     cat >>confdefs.h <<\_ACEOF
113719 #define HAVE_ISNAN 1
113720 _ACEOF
113721
113722
113723     # For showmanyc_helper().
113724
113725
113726 for ac_header in sys/ioctl.h sys/filio.h
113727 do
113728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113730   echo "$as_me:$LINENO: checking for $ac_header" >&5
113731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113733   echo $ECHO_N "(cached) $ECHO_C" >&6
113734 fi
113735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113737 else
113738   # Is the header compilable?
113739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113741 cat >conftest.$ac_ext <<_ACEOF
113742 /* confdefs.h.  */
113743 _ACEOF
113744 cat confdefs.h >>conftest.$ac_ext
113745 cat >>conftest.$ac_ext <<_ACEOF
113746 /* end confdefs.h.  */
113747 $ac_includes_default
113748 #include <$ac_header>
113749 _ACEOF
113750 rm -f conftest.$ac_objext
113751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113752   (eval $ac_compile) 2>conftest.er1
113753   ac_status=$?
113754   grep -v '^ *+' conftest.er1 >conftest.err
113755   rm -f conftest.er1
113756   cat conftest.err >&5
113757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113758   (exit $ac_status); } &&
113759          { ac_try='test -z "$ac_c_werror_flag"
113760                          || test ! -s conftest.err'
113761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113762   (eval $ac_try) 2>&5
113763   ac_status=$?
113764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113765   (exit $ac_status); }; } &&
113766          { ac_try='test -s conftest.$ac_objext'
113767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113768   (eval $ac_try) 2>&5
113769   ac_status=$?
113770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113771   (exit $ac_status); }; }; then
113772   ac_header_compiler=yes
113773 else
113774   echo "$as_me: failed program was:" >&5
113775 sed 's/^/| /' conftest.$ac_ext >&5
113776
113777 ac_header_compiler=no
113778 fi
113779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113781 echo "${ECHO_T}$ac_header_compiler" >&6
113782
113783 # Is the header present?
113784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113786 cat >conftest.$ac_ext <<_ACEOF
113787 /* confdefs.h.  */
113788 _ACEOF
113789 cat confdefs.h >>conftest.$ac_ext
113790 cat >>conftest.$ac_ext <<_ACEOF
113791 /* end confdefs.h.  */
113792 #include <$ac_header>
113793 _ACEOF
113794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113795   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113796   ac_status=$?
113797   grep -v '^ *+' conftest.er1 >conftest.err
113798   rm -f conftest.er1
113799   cat conftest.err >&5
113800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113801   (exit $ac_status); } >/dev/null; then
113802   if test -s conftest.err; then
113803     ac_cpp_err=$ac_c_preproc_warn_flag
113804     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113805   else
113806     ac_cpp_err=
113807   fi
113808 else
113809   ac_cpp_err=yes
113810 fi
113811 if test -z "$ac_cpp_err"; then
113812   ac_header_preproc=yes
113813 else
113814   echo "$as_me: failed program was:" >&5
113815 sed 's/^/| /' conftest.$ac_ext >&5
113816
113817   ac_header_preproc=no
113818 fi
113819 rm -f conftest.err conftest.$ac_ext
113820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113821 echo "${ECHO_T}$ac_header_preproc" >&6
113822
113823 # So?  What about this header?
113824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113825   yes:no: )
113826     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113828     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113830     ac_header_preproc=yes
113831     ;;
113832   no:yes:* )
113833     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113835     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113836 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113837     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113839     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113840 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113841     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113843     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113845     (
113846       cat <<\_ASBOX
113847 ## ----------------------------------------- ##
113848 ## Report this to the package-unused lists.  ##
113849 ## ----------------------------------------- ##
113850 _ASBOX
113851     ) |
113852       sed "s/^/$as_me: WARNING:     /" >&2
113853     ;;
113854 esac
113855 echo "$as_me:$LINENO: checking for $ac_header" >&5
113856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113858   echo $ECHO_N "(cached) $ECHO_C" >&6
113859 else
113860   eval "$as_ac_Header=\$ac_header_preproc"
113861 fi
113862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113864
113865 fi
113866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113867   cat >>confdefs.h <<_ACEOF
113868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113869 _ACEOF
113870
113871 fi
113872
113873 done
113874
113875
113876   echo "$as_me:$LINENO: checking for poll" >&5
113877 echo $ECHO_N "checking for poll... $ECHO_C" >&6
113878   if test "${glibcxx_cv_POLL+set}" = set; then
113879   echo $ECHO_N "(cached) $ECHO_C" >&6
113880 else
113881
113882     if test x$gcc_no_link = xyes; then
113883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113885    { (exit 1); exit 1; }; }
113886 fi
113887 cat >conftest.$ac_ext <<_ACEOF
113888 /* confdefs.h.  */
113889 _ACEOF
113890 cat confdefs.h >>conftest.$ac_ext
113891 cat >>conftest.$ac_ext <<_ACEOF
113892 /* end confdefs.h.  */
113893 #include <poll.h>
113894 int
113895 main ()
113896 {
113897 struct pollfd pfd[1];
113898        pfd[0].events = POLLIN;
113899        poll(pfd, 1, 0);
113900   ;
113901   return 0;
113902 }
113903 _ACEOF
113904 rm -f conftest.$ac_objext conftest$ac_exeext
113905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113906   (eval $ac_link) 2>conftest.er1
113907   ac_status=$?
113908   grep -v '^ *+' conftest.er1 >conftest.err
113909   rm -f conftest.er1
113910   cat conftest.err >&5
113911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113912   (exit $ac_status); } &&
113913          { ac_try='test -z "$ac_c_werror_flag"
113914                          || test ! -s conftest.err'
113915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113916   (eval $ac_try) 2>&5
113917   ac_status=$?
113918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113919   (exit $ac_status); }; } &&
113920          { ac_try='test -s conftest$ac_exeext'
113921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113922   (eval $ac_try) 2>&5
113923   ac_status=$?
113924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113925   (exit $ac_status); }; }; then
113926   glibcxx_cv_POLL=yes
113927 else
113928   echo "$as_me: failed program was:" >&5
113929 sed 's/^/| /' conftest.$ac_ext >&5
113930
113931 glibcxx_cv_POLL=no
113932 fi
113933 rm -f conftest.err conftest.$ac_objext \
113934       conftest$ac_exeext conftest.$ac_ext
113935
113936 fi
113937
113938   if test $glibcxx_cv_POLL = yes; then
113939
113940 cat >>confdefs.h <<\_ACEOF
113941 #define HAVE_POLL 1
113942 _ACEOF
113943
113944   fi
113945   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
113946 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
113947
113948
113949   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
113950 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
113951   if test "${glibcxx_cv_S_ISREG+set}" = set; then
113952   echo $ECHO_N "(cached) $ECHO_C" >&6
113953 else
113954
113955     if test x$gcc_no_link = xyes; then
113956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113958    { (exit 1); exit 1; }; }
113959 fi
113960 cat >conftest.$ac_ext <<_ACEOF
113961 /* confdefs.h.  */
113962 _ACEOF
113963 cat confdefs.h >>conftest.$ac_ext
113964 cat >>conftest.$ac_ext <<_ACEOF
113965 /* end confdefs.h.  */
113966 #include <sys/stat.h>
113967 int
113968 main ()
113969 {
113970 struct stat buffer;
113971        fstat(0, &buffer);
113972        S_ISREG(buffer.st_mode);
113973   ;
113974   return 0;
113975 }
113976 _ACEOF
113977 rm -f conftest.$ac_objext conftest$ac_exeext
113978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113979   (eval $ac_link) 2>conftest.er1
113980   ac_status=$?
113981   grep -v '^ *+' conftest.er1 >conftest.err
113982   rm -f conftest.er1
113983   cat conftest.err >&5
113984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113985   (exit $ac_status); } &&
113986          { ac_try='test -z "$ac_c_werror_flag"
113987                          || test ! -s conftest.err'
113988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113989   (eval $ac_try) 2>&5
113990   ac_status=$?
113991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113992   (exit $ac_status); }; } &&
113993          { ac_try='test -s conftest$ac_exeext'
113994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113995   (eval $ac_try) 2>&5
113996   ac_status=$?
113997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113998   (exit $ac_status); }; }; then
113999   glibcxx_cv_S_ISREG=yes
114000 else
114001   echo "$as_me: failed program was:" >&5
114002 sed 's/^/| /' conftest.$ac_ext >&5
114003
114004 glibcxx_cv_S_ISREG=no
114005 fi
114006 rm -f conftest.err conftest.$ac_objext \
114007       conftest$ac_exeext conftest.$ac_ext
114008
114009 fi
114010
114011   if test "${glibcxx_cv_S_IFREG+set}" = set; then
114012   echo $ECHO_N "(cached) $ECHO_C" >&6
114013 else
114014
114015     if test x$gcc_no_link = xyes; then
114016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114018    { (exit 1); exit 1; }; }
114019 fi
114020 cat >conftest.$ac_ext <<_ACEOF
114021 /* confdefs.h.  */
114022 _ACEOF
114023 cat confdefs.h >>conftest.$ac_ext
114024 cat >>conftest.$ac_ext <<_ACEOF
114025 /* end confdefs.h.  */
114026 #include <sys/stat.h>
114027 int
114028 main ()
114029 {
114030 struct stat buffer;
114031        fstat(0, &buffer);
114032        S_IFREG & buffer.st_mode;
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   glibcxx_cv_S_IFREG=yes
114060 else
114061   echo "$as_me: failed program was:" >&5
114062 sed 's/^/| /' conftest.$ac_ext >&5
114063
114064 glibcxx_cv_S_IFREG=no
114065 fi
114066 rm -f conftest.err conftest.$ac_objext \
114067       conftest$ac_exeext conftest.$ac_ext
114068
114069 fi
114070
114071   res=no
114072   if test $glibcxx_cv_S_ISREG = yes; then
114073
114074 cat >>confdefs.h <<\_ACEOF
114075 #define HAVE_S_ISREG 1
114076 _ACEOF
114077
114078     res=S_ISREG
114079   elif test $glibcxx_cv_S_IFREG = yes; then
114080
114081 cat >>confdefs.h <<\_ACEOF
114082 #define HAVE_S_IFREG 1
114083 _ACEOF
114084
114085     res=S_IFREG
114086   fi
114087   echo "$as_me:$LINENO: result: $res" >&5
114088 echo "${ECHO_T}$res" >&6
114089
114090
114091     # For xsputn_2().
114092
114093 for ac_header in sys/uio.h
114094 do
114095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114097   echo "$as_me:$LINENO: checking for $ac_header" >&5
114098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114100   echo $ECHO_N "(cached) $ECHO_C" >&6
114101 fi
114102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114104 else
114105   # Is the header compilable?
114106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114108 cat >conftest.$ac_ext <<_ACEOF
114109 /* confdefs.h.  */
114110 _ACEOF
114111 cat confdefs.h >>conftest.$ac_ext
114112 cat >>conftest.$ac_ext <<_ACEOF
114113 /* end confdefs.h.  */
114114 $ac_includes_default
114115 #include <$ac_header>
114116 _ACEOF
114117 rm -f conftest.$ac_objext
114118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114119   (eval $ac_compile) 2>conftest.er1
114120   ac_status=$?
114121   grep -v '^ *+' conftest.er1 >conftest.err
114122   rm -f conftest.er1
114123   cat conftest.err >&5
114124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114125   (exit $ac_status); } &&
114126          { ac_try='test -z "$ac_c_werror_flag"
114127                          || test ! -s conftest.err'
114128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114129   (eval $ac_try) 2>&5
114130   ac_status=$?
114131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114132   (exit $ac_status); }; } &&
114133          { ac_try='test -s conftest.$ac_objext'
114134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114135   (eval $ac_try) 2>&5
114136   ac_status=$?
114137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114138   (exit $ac_status); }; }; then
114139   ac_header_compiler=yes
114140 else
114141   echo "$as_me: failed program was:" >&5
114142 sed 's/^/| /' conftest.$ac_ext >&5
114143
114144 ac_header_compiler=no
114145 fi
114146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114148 echo "${ECHO_T}$ac_header_compiler" >&6
114149
114150 # Is the header present?
114151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114153 cat >conftest.$ac_ext <<_ACEOF
114154 /* confdefs.h.  */
114155 _ACEOF
114156 cat confdefs.h >>conftest.$ac_ext
114157 cat >>conftest.$ac_ext <<_ACEOF
114158 /* end confdefs.h.  */
114159 #include <$ac_header>
114160 _ACEOF
114161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114162   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114163   ac_status=$?
114164   grep -v '^ *+' conftest.er1 >conftest.err
114165   rm -f conftest.er1
114166   cat conftest.err >&5
114167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114168   (exit $ac_status); } >/dev/null; then
114169   if test -s conftest.err; then
114170     ac_cpp_err=$ac_c_preproc_warn_flag
114171     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114172   else
114173     ac_cpp_err=
114174   fi
114175 else
114176   ac_cpp_err=yes
114177 fi
114178 if test -z "$ac_cpp_err"; then
114179   ac_header_preproc=yes
114180 else
114181   echo "$as_me: failed program was:" >&5
114182 sed 's/^/| /' conftest.$ac_ext >&5
114183
114184   ac_header_preproc=no
114185 fi
114186 rm -f conftest.err conftest.$ac_ext
114187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114188 echo "${ECHO_T}$ac_header_preproc" >&6
114189
114190 # So?  What about this header?
114191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114192   yes:no: )
114193     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114195     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114197     ac_header_preproc=yes
114198     ;;
114199   no:yes:* )
114200     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114202     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114203 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114204     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114206     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114207 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114208     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114210     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114212     (
114213       cat <<\_ASBOX
114214 ## ----------------------------------------- ##
114215 ## Report this to the package-unused lists.  ##
114216 ## ----------------------------------------- ##
114217 _ASBOX
114218     ) |
114219       sed "s/^/$as_me: WARNING:     /" >&2
114220     ;;
114221 esac
114222 echo "$as_me:$LINENO: checking for $ac_header" >&5
114223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114225   echo $ECHO_N "(cached) $ECHO_C" >&6
114226 else
114227   eval "$as_ac_Header=\$ac_header_preproc"
114228 fi
114229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114231
114232 fi
114233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114234   cat >>confdefs.h <<_ACEOF
114235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114236 _ACEOF
114237
114238 fi
114239
114240 done
114241
114242
114243   echo "$as_me:$LINENO: checking for writev" >&5
114244 echo $ECHO_N "checking for writev... $ECHO_C" >&6
114245   if test "${glibcxx_cv_WRITEV+set}" = set; then
114246   echo $ECHO_N "(cached) $ECHO_C" >&6
114247 else
114248
114249     if test x$gcc_no_link = xyes; then
114250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114252    { (exit 1); exit 1; }; }
114253 fi
114254 cat >conftest.$ac_ext <<_ACEOF
114255 /* confdefs.h.  */
114256 _ACEOF
114257 cat confdefs.h >>conftest.$ac_ext
114258 cat >>conftest.$ac_ext <<_ACEOF
114259 /* end confdefs.h.  */
114260 #include <sys/uio.h>
114261 int
114262 main ()
114263 {
114264 struct iovec iov[2];
114265        writev(0, iov, 0);
114266   ;
114267   return 0;
114268 }
114269 _ACEOF
114270 rm -f conftest.$ac_objext conftest$ac_exeext
114271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114272   (eval $ac_link) 2>conftest.er1
114273   ac_status=$?
114274   grep -v '^ *+' conftest.er1 >conftest.err
114275   rm -f conftest.er1
114276   cat conftest.err >&5
114277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114278   (exit $ac_status); } &&
114279          { ac_try='test -z "$ac_c_werror_flag"
114280                          || test ! -s conftest.err'
114281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114282   (eval $ac_try) 2>&5
114283   ac_status=$?
114284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114285   (exit $ac_status); }; } &&
114286          { ac_try='test -s conftest$ac_exeext'
114287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114288   (eval $ac_try) 2>&5
114289   ac_status=$?
114290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114291   (exit $ac_status); }; }; then
114292   glibcxx_cv_WRITEV=yes
114293 else
114294   echo "$as_me: failed program was:" >&5
114295 sed 's/^/| /' conftest.$ac_ext >&5
114296
114297 glibcxx_cv_WRITEV=no
114298 fi
114299 rm -f conftest.err conftest.$ac_objext \
114300       conftest$ac_exeext conftest.$ac_ext
114301
114302 fi
114303
114304   if test $glibcxx_cv_WRITEV = yes; then
114305
114306 cat >>confdefs.h <<\_ACEOF
114307 #define HAVE_WRITEV 1
114308 _ACEOF
114309
114310   fi
114311   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
114312 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
114313
114314     ;;
114315   *-qnx6.1* | *-qnx6.2*)
114316     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114317
114318
114319   # If we're not using GNU ld, then there's no point in even trying these
114320   # tests.  Check for that first.  We should have already tested for gld
114321   # by now (in libtool), but require it now just to be safe...
114322   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114323   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114324
114325
114326
114327   # The name set by libtool depends on the version of libtool.  Shame on us
114328   # for depending on an impl detail, but c'est la vie.  Older versions used
114329   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114330   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114331   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114332   # set (hence we're using an older libtool), then set it.
114333   if test x${with_gnu_ld+set} != xset; then
114334     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114335       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114336       with_gnu_ld=no
114337     else
114338       with_gnu_ld=$ac_cv_prog_gnu_ld
114339     fi
114340   fi
114341
114342   # Start by getting the version number.  I think the libtool test already
114343   # does some of this, but throws away the result.
114344   glibcxx_ld_is_gold=no
114345   if test x"$with_gnu_ld" = x"yes"; then
114346     echo "$as_me:$LINENO: checking for ld version" >&5
114347 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114348
114349     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114350       glibcxx_ld_is_gold=yes
114351     fi
114352     ldver=`$LD --version 2>/dev/null | head -1 | \
114353            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114354
114355     glibcxx_gnu_ld_version=`echo $ldver | \
114356            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114357     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114358 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114359   fi
114360
114361   # Set --gc-sections.
114362   glibcxx_have_gc_sections=no
114363   if test "$glibcxx_ld_is_gold" = "yes"; then
114364     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114365       glibcxx_have_gc_sections=yes
114366     fi
114367   else
114368     glibcxx_gcsections_min_ld=21602
114369     if test x"$with_gnu_ld" = x"yes" &&
114370         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114371       glibcxx_have_gc_sections=yes
114372     fi
114373   fi
114374   if test "$glibcxx_have_gc_sections" = "yes"; then
114375     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114376     # NB: This flag only works reliably after 2.16.1. Configure tests
114377     # for this are difficult, so hard wire a value that should work.
114378
114379     ac_test_CFLAGS="${CFLAGS+set}"
114380     ac_save_CFLAGS="$CFLAGS"
114381     CFLAGS='-Wl,--gc-sections'
114382
114383     # Check for -Wl,--gc-sections
114384     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114385 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114386     if test x$gcc_no_link = xyes; then
114387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114389    { (exit 1); exit 1; }; }
114390 fi
114391 cat >conftest.$ac_ext <<_ACEOF
114392 /* confdefs.h.  */
114393 _ACEOF
114394 cat confdefs.h >>conftest.$ac_ext
114395 cat >>conftest.$ac_ext <<_ACEOF
114396 /* end confdefs.h.  */
114397  int one(void) { return 1; }
114398      int two(void) { return 2; }
114399
114400 int
114401 main ()
114402 {
114403  two();
114404   ;
114405   return 0;
114406 }
114407 _ACEOF
114408 rm -f conftest.$ac_objext conftest$ac_exeext
114409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114410   (eval $ac_link) 2>conftest.er1
114411   ac_status=$?
114412   grep -v '^ *+' conftest.er1 >conftest.err
114413   rm -f conftest.er1
114414   cat conftest.err >&5
114415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114416   (exit $ac_status); } &&
114417          { ac_try='test -z "$ac_c_werror_flag"
114418                          || test ! -s conftest.err'
114419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114420   (eval $ac_try) 2>&5
114421   ac_status=$?
114422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114423   (exit $ac_status); }; } &&
114424          { ac_try='test -s conftest$ac_exeext'
114425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114426   (eval $ac_try) 2>&5
114427   ac_status=$?
114428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114429   (exit $ac_status); }; }; then
114430   ac_gcsections=yes
114431 else
114432   echo "$as_me: failed program was:" >&5
114433 sed 's/^/| /' conftest.$ac_ext >&5
114434
114435 ac_gcsections=no
114436 fi
114437 rm -f conftest.err conftest.$ac_objext \
114438       conftest$ac_exeext conftest.$ac_ext
114439     if test "$ac_gcsections" = "yes"; then
114440       rm -f conftest.c
114441       touch conftest.c
114442       if $CC -c conftest.c; then
114443         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114444            grep "Warning: gc-sections option ignored" > /dev/null; then
114445           ac_gcsections=no
114446         fi
114447       fi
114448       rm -f conftest.c conftest.o conftest
114449     fi
114450     if test "$ac_gcsections" = "yes"; then
114451       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114452     fi
114453     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114454 echo "${ECHO_T}$ac_gcsections" >&6
114455
114456     if test "$ac_test_CFLAGS" = set; then
114457       CFLAGS="$ac_save_CFLAGS"
114458     else
114459       # this is the suspicious part
114460       CFLAGS=''
114461     fi
114462   fi
114463
114464   # Set -z,relro.
114465   # Note this is only for shared objects.
114466   ac_ld_relro=no
114467   if test x"$with_gnu_ld" = x"yes"; then
114468     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114469 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114470     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114471     if test -n "$cxx_z_relo"; then
114472       OPT_LDFLAGS="-Wl,-z,relro"
114473       ac_ld_relro=yes
114474     fi
114475     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114476 echo "${ECHO_T}$ac_ld_relro" >&6
114477   fi
114478
114479   # Set linker optimization flags.
114480   if test x"$with_gnu_ld" = x"yes"; then
114481     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114482   fi
114483
114484
114485
114486
114487
114488
114489 echo "$as_me:$LINENO: checking for main in -lm" >&5
114490 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114491 if test "${ac_cv_lib_m_main+set}" = set; then
114492   echo $ECHO_N "(cached) $ECHO_C" >&6
114493 else
114494   ac_check_lib_save_LIBS=$LIBS
114495 LIBS="-lm  $LIBS"
114496 if test x$gcc_no_link = xyes; then
114497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114499    { (exit 1); exit 1; }; }
114500 fi
114501 cat >conftest.$ac_ext <<_ACEOF
114502 /* confdefs.h.  */
114503 _ACEOF
114504 cat confdefs.h >>conftest.$ac_ext
114505 cat >>conftest.$ac_ext <<_ACEOF
114506 /* end confdefs.h.  */
114507
114508
114509 int
114510 main ()
114511 {
114512 main ();
114513   ;
114514   return 0;
114515 }
114516 _ACEOF
114517 rm -f conftest.$ac_objext conftest$ac_exeext
114518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114519   (eval $ac_link) 2>conftest.er1
114520   ac_status=$?
114521   grep -v '^ *+' conftest.er1 >conftest.err
114522   rm -f conftest.er1
114523   cat conftest.err >&5
114524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114525   (exit $ac_status); } &&
114526          { ac_try='test -z "$ac_c_werror_flag"
114527                          || test ! -s conftest.err'
114528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114529   (eval $ac_try) 2>&5
114530   ac_status=$?
114531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114532   (exit $ac_status); }; } &&
114533          { ac_try='test -s conftest$ac_exeext'
114534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114535   (eval $ac_try) 2>&5
114536   ac_status=$?
114537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114538   (exit $ac_status); }; }; then
114539   ac_cv_lib_m_main=yes
114540 else
114541   echo "$as_me: failed program was:" >&5
114542 sed 's/^/| /' conftest.$ac_ext >&5
114543
114544 ac_cv_lib_m_main=no
114545 fi
114546 rm -f conftest.err conftest.$ac_objext \
114547       conftest$ac_exeext conftest.$ac_ext
114548 LIBS=$ac_check_lib_save_LIBS
114549 fi
114550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114551 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114552 if test $ac_cv_lib_m_main = yes; then
114553   cat >>confdefs.h <<_ACEOF
114554 #define HAVE_LIBM 1
114555 _ACEOF
114556
114557   LIBS="-lm $LIBS"
114558
114559 fi
114560
114561
114562 for ac_func in copysignf
114563 do
114564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114565 echo "$as_me:$LINENO: checking for $ac_func" >&5
114566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114567 if eval "test \"\${$as_ac_var+set}\" = set"; then
114568   echo $ECHO_N "(cached) $ECHO_C" >&6
114569 else
114570   if test x$gcc_no_link = xyes; then
114571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114573    { (exit 1); exit 1; }; }
114574 fi
114575 cat >conftest.$ac_ext <<_ACEOF
114576 /* confdefs.h.  */
114577 _ACEOF
114578 cat confdefs.h >>conftest.$ac_ext
114579 cat >>conftest.$ac_ext <<_ACEOF
114580 /* end confdefs.h.  */
114581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114583 #define $ac_func innocuous_$ac_func
114584
114585 /* System header to define __stub macros and hopefully few prototypes,
114586     which can conflict with char $ac_func (); below.
114587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114588     <limits.h> exists even on freestanding compilers.  */
114589
114590 #ifdef __STDC__
114591 # include <limits.h>
114592 #else
114593 # include <assert.h>
114594 #endif
114595
114596 #undef $ac_func
114597
114598 /* Override any gcc2 internal prototype to avoid an error.  */
114599 #ifdef __cplusplus
114600 extern "C"
114601 {
114602 #endif
114603 /* We use char because int might match the return type of a gcc2
114604    builtin and then its argument prototype would still apply.  */
114605 char $ac_func ();
114606 /* The GNU C library defines this for functions which it implements
114607     to always fail with ENOSYS.  Some functions are actually named
114608     something starting with __ and the normal name is an alias.  */
114609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114610 choke me
114611 #else
114612 char (*f) () = $ac_func;
114613 #endif
114614 #ifdef __cplusplus
114615 }
114616 #endif
114617
114618 int
114619 main ()
114620 {
114621 return f != $ac_func;
114622   ;
114623   return 0;
114624 }
114625 _ACEOF
114626 rm -f conftest.$ac_objext conftest$ac_exeext
114627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114628   (eval $ac_link) 2>conftest.er1
114629   ac_status=$?
114630   grep -v '^ *+' conftest.er1 >conftest.err
114631   rm -f conftest.er1
114632   cat conftest.err >&5
114633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114634   (exit $ac_status); } &&
114635          { ac_try='test -z "$ac_c_werror_flag"
114636                          || test ! -s conftest.err'
114637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114638   (eval $ac_try) 2>&5
114639   ac_status=$?
114640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114641   (exit $ac_status); }; } &&
114642          { ac_try='test -s conftest$ac_exeext'
114643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114644   (eval $ac_try) 2>&5
114645   ac_status=$?
114646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114647   (exit $ac_status); }; }; then
114648   eval "$as_ac_var=yes"
114649 else
114650   echo "$as_me: failed program was:" >&5
114651 sed 's/^/| /' conftest.$ac_ext >&5
114652
114653 eval "$as_ac_var=no"
114654 fi
114655 rm -f conftest.err conftest.$ac_objext \
114656       conftest$ac_exeext conftest.$ac_ext
114657 fi
114658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114660 if test `eval echo '${'$as_ac_var'}'` = yes; then
114661   cat >>confdefs.h <<_ACEOF
114662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114663 _ACEOF
114664
114665 else
114666   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114667 fi
114668 done
114669
114670
114671
114672 for ac_func in __signbit
114673 do
114674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114675 echo "$as_me:$LINENO: checking for $ac_func" >&5
114676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114677 if eval "test \"\${$as_ac_var+set}\" = set"; then
114678   echo $ECHO_N "(cached) $ECHO_C" >&6
114679 else
114680   if test x$gcc_no_link = xyes; then
114681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114683    { (exit 1); exit 1; }; }
114684 fi
114685 cat >conftest.$ac_ext <<_ACEOF
114686 /* confdefs.h.  */
114687 _ACEOF
114688 cat confdefs.h >>conftest.$ac_ext
114689 cat >>conftest.$ac_ext <<_ACEOF
114690 /* end confdefs.h.  */
114691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114693 #define $ac_func innocuous_$ac_func
114694
114695 /* System header to define __stub macros and hopefully few prototypes,
114696     which can conflict with char $ac_func (); below.
114697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114698     <limits.h> exists even on freestanding compilers.  */
114699
114700 #ifdef __STDC__
114701 # include <limits.h>
114702 #else
114703 # include <assert.h>
114704 #endif
114705
114706 #undef $ac_func
114707
114708 /* Override any gcc2 internal prototype to avoid an error.  */
114709 #ifdef __cplusplus
114710 extern "C"
114711 {
114712 #endif
114713 /* We use char because int might match the return type of a gcc2
114714    builtin and then its argument prototype would still apply.  */
114715 char $ac_func ();
114716 /* The GNU C library defines this for functions which it implements
114717     to always fail with ENOSYS.  Some functions are actually named
114718     something starting with __ and the normal name is an alias.  */
114719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114720 choke me
114721 #else
114722 char (*f) () = $ac_func;
114723 #endif
114724 #ifdef __cplusplus
114725 }
114726 #endif
114727
114728 int
114729 main ()
114730 {
114731 return f != $ac_func;
114732   ;
114733   return 0;
114734 }
114735 _ACEOF
114736 rm -f conftest.$ac_objext conftest$ac_exeext
114737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114738   (eval $ac_link) 2>conftest.er1
114739   ac_status=$?
114740   grep -v '^ *+' conftest.er1 >conftest.err
114741   rm -f conftest.er1
114742   cat conftest.err >&5
114743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114744   (exit $ac_status); } &&
114745          { ac_try='test -z "$ac_c_werror_flag"
114746                          || test ! -s conftest.err'
114747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114748   (eval $ac_try) 2>&5
114749   ac_status=$?
114750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114751   (exit $ac_status); }; } &&
114752          { ac_try='test -s conftest$ac_exeext'
114753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114754   (eval $ac_try) 2>&5
114755   ac_status=$?
114756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114757   (exit $ac_status); }; }; then
114758   eval "$as_ac_var=yes"
114759 else
114760   echo "$as_me: failed program was:" >&5
114761 sed 's/^/| /' conftest.$ac_ext >&5
114762
114763 eval "$as_ac_var=no"
114764 fi
114765 rm -f conftest.err conftest.$ac_objext \
114766       conftest$ac_exeext conftest.$ac_ext
114767 fi
114768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114770 if test `eval echo '${'$as_ac_var'}'` = yes; then
114771   cat >>confdefs.h <<_ACEOF
114772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114773 _ACEOF
114774
114775 else
114776   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114777 fi
114778 done
114779
114780
114781
114782 for ac_func in __signbitf
114783 do
114784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114785 echo "$as_me:$LINENO: checking for $ac_func" >&5
114786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114787 if eval "test \"\${$as_ac_var+set}\" = set"; then
114788   echo $ECHO_N "(cached) $ECHO_C" >&6
114789 else
114790   if test x$gcc_no_link = xyes; then
114791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114793    { (exit 1); exit 1; }; }
114794 fi
114795 cat >conftest.$ac_ext <<_ACEOF
114796 /* confdefs.h.  */
114797 _ACEOF
114798 cat confdefs.h >>conftest.$ac_ext
114799 cat >>conftest.$ac_ext <<_ACEOF
114800 /* end confdefs.h.  */
114801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114803 #define $ac_func innocuous_$ac_func
114804
114805 /* System header to define __stub macros and hopefully few prototypes,
114806     which can conflict with char $ac_func (); below.
114807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114808     <limits.h> exists even on freestanding compilers.  */
114809
114810 #ifdef __STDC__
114811 # include <limits.h>
114812 #else
114813 # include <assert.h>
114814 #endif
114815
114816 #undef $ac_func
114817
114818 /* Override any gcc2 internal prototype to avoid an error.  */
114819 #ifdef __cplusplus
114820 extern "C"
114821 {
114822 #endif
114823 /* We use char because int might match the return type of a gcc2
114824    builtin and then its argument prototype would still apply.  */
114825 char $ac_func ();
114826 /* The GNU C library defines this for functions which it implements
114827     to always fail with ENOSYS.  Some functions are actually named
114828     something starting with __ and the normal name is an alias.  */
114829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114830 choke me
114831 #else
114832 char (*f) () = $ac_func;
114833 #endif
114834 #ifdef __cplusplus
114835 }
114836 #endif
114837
114838 int
114839 main ()
114840 {
114841 return f != $ac_func;
114842   ;
114843   return 0;
114844 }
114845 _ACEOF
114846 rm -f conftest.$ac_objext conftest$ac_exeext
114847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114848   (eval $ac_link) 2>conftest.er1
114849   ac_status=$?
114850   grep -v '^ *+' conftest.er1 >conftest.err
114851   rm -f conftest.er1
114852   cat conftest.err >&5
114853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114854   (exit $ac_status); } &&
114855          { ac_try='test -z "$ac_c_werror_flag"
114856                          || test ! -s conftest.err'
114857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114858   (eval $ac_try) 2>&5
114859   ac_status=$?
114860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114861   (exit $ac_status); }; } &&
114862          { ac_try='test -s conftest$ac_exeext'
114863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114864   (eval $ac_try) 2>&5
114865   ac_status=$?
114866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114867   (exit $ac_status); }; }; then
114868   eval "$as_ac_var=yes"
114869 else
114870   echo "$as_me: failed program was:" >&5
114871 sed 's/^/| /' conftest.$ac_ext >&5
114872
114873 eval "$as_ac_var=no"
114874 fi
114875 rm -f conftest.err conftest.$ac_objext \
114876       conftest$ac_exeext conftest.$ac_ext
114877 fi
114878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114880 if test `eval echo '${'$as_ac_var'}'` = yes; then
114881   cat >>confdefs.h <<_ACEOF
114882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114883 _ACEOF
114884
114885 else
114886   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114887 fi
114888 done
114889
114890
114891           if test x$ac_cv_func_copysignl = x"yes"; then
114892
114893 for ac_func in __signbitl
114894 do
114895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114896 echo "$as_me:$LINENO: checking for $ac_func" >&5
114897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114898 if eval "test \"\${$as_ac_var+set}\" = set"; then
114899   echo $ECHO_N "(cached) $ECHO_C" >&6
114900 else
114901   if test x$gcc_no_link = xyes; then
114902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114904    { (exit 1); exit 1; }; }
114905 fi
114906 cat >conftest.$ac_ext <<_ACEOF
114907 /* confdefs.h.  */
114908 _ACEOF
114909 cat confdefs.h >>conftest.$ac_ext
114910 cat >>conftest.$ac_ext <<_ACEOF
114911 /* end confdefs.h.  */
114912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114914 #define $ac_func innocuous_$ac_func
114915
114916 /* System header to define __stub macros and hopefully few prototypes,
114917     which can conflict with char $ac_func (); below.
114918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114919     <limits.h> exists even on freestanding compilers.  */
114920
114921 #ifdef __STDC__
114922 # include <limits.h>
114923 #else
114924 # include <assert.h>
114925 #endif
114926
114927 #undef $ac_func
114928
114929 /* Override any gcc2 internal prototype to avoid an error.  */
114930 #ifdef __cplusplus
114931 extern "C"
114932 {
114933 #endif
114934 /* We use char because int might match the return type of a gcc2
114935    builtin and then its argument prototype would still apply.  */
114936 char $ac_func ();
114937 /* The GNU C library defines this for functions which it implements
114938     to always fail with ENOSYS.  Some functions are actually named
114939     something starting with __ and the normal name is an alias.  */
114940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114941 choke me
114942 #else
114943 char (*f) () = $ac_func;
114944 #endif
114945 #ifdef __cplusplus
114946 }
114947 #endif
114948
114949 int
114950 main ()
114951 {
114952 return f != $ac_func;
114953   ;
114954   return 0;
114955 }
114956 _ACEOF
114957 rm -f conftest.$ac_objext conftest$ac_exeext
114958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114959   (eval $ac_link) 2>conftest.er1
114960   ac_status=$?
114961   grep -v '^ *+' conftest.er1 >conftest.err
114962   rm -f conftest.er1
114963   cat conftest.err >&5
114964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114965   (exit $ac_status); } &&
114966          { ac_try='test -z "$ac_c_werror_flag"
114967                          || test ! -s conftest.err'
114968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114969   (eval $ac_try) 2>&5
114970   ac_status=$?
114971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114972   (exit $ac_status); }; } &&
114973          { ac_try='test -s conftest$ac_exeext'
114974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114975   (eval $ac_try) 2>&5
114976   ac_status=$?
114977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114978   (exit $ac_status); }; }; then
114979   eval "$as_ac_var=yes"
114980 else
114981   echo "$as_me: failed program was:" >&5
114982 sed 's/^/| /' conftest.$ac_ext >&5
114983
114984 eval "$as_ac_var=no"
114985 fi
114986 rm -f conftest.err conftest.$ac_objext \
114987       conftest$ac_exeext conftest.$ac_ext
114988 fi
114989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114991 if test `eval echo '${'$as_ac_var'}'` = yes; then
114992   cat >>confdefs.h <<_ACEOF
114993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114994 _ACEOF
114995
114996 else
114997   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114998 fi
114999 done
115000
115001   fi
115002
115003   # Used in libmath/Makefile.am.
115004   if test -n "$LIBMATHOBJS"; then
115005     need_libmath=yes
115006   fi
115007
115008
115009     cat >>confdefs.h <<\_ACEOF
115010 #define HAVE_COSF 1
115011 _ACEOF
115012
115013     cat >>confdefs.h <<\_ACEOF
115014 #define HAVE_COSL 1
115015 _ACEOF
115016
115017     cat >>confdefs.h <<\_ACEOF
115018 #define HAVE_COSHF 1
115019 _ACEOF
115020
115021     cat >>confdefs.h <<\_ACEOF
115022 #define HAVE_COSHL 1
115023 _ACEOF
115024
115025     cat >>confdefs.h <<\_ACEOF
115026 #define HAVE_LOGF 1
115027 _ACEOF
115028
115029     cat >>confdefs.h <<\_ACEOF
115030 #define HAVE_LOGL 1
115031 _ACEOF
115032
115033     cat >>confdefs.h <<\_ACEOF
115034 #define HAVE_LOG10F 1
115035 _ACEOF
115036
115037     cat >>confdefs.h <<\_ACEOF
115038 #define HAVE_LOG10L 1
115039 _ACEOF
115040
115041     cat >>confdefs.h <<\_ACEOF
115042 #define HAVE_SINF 1
115043 _ACEOF
115044
115045     cat >>confdefs.h <<\_ACEOF
115046 #define HAVE_SINL 1
115047 _ACEOF
115048
115049     cat >>confdefs.h <<\_ACEOF
115050 #define HAVE_SINHF 1
115051 _ACEOF
115052
115053     cat >>confdefs.h <<\_ACEOF
115054 #define HAVE_SINHL 1
115055 _ACEOF
115056
115057     ;;
115058   *-solaris*)
115059     case "$target" in
115060       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
115061
115062   # If we're not using GNU ld, then there's no point in even trying these
115063   # tests.  Check for that first.  We should have already tested for gld
115064   # by now (in libtool), but require it now just to be safe...
115065   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115066   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115067
115068
115069
115070   # The name set by libtool depends on the version of libtool.  Shame on us
115071   # for depending on an impl detail, but c'est la vie.  Older versions used
115072   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115073   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115074   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
115075   # set (hence we're using an older libtool), then set it.
115076   if test x${with_gnu_ld+set} != xset; then
115077     if test x${ac_cv_prog_gnu_ld+set} != xset; then
115078       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
115079       with_gnu_ld=no
115080     else
115081       with_gnu_ld=$ac_cv_prog_gnu_ld
115082     fi
115083   fi
115084
115085   # Start by getting the version number.  I think the libtool test already
115086   # does some of this, but throws away the result.
115087   glibcxx_ld_is_gold=no
115088   if test x"$with_gnu_ld" = x"yes"; then
115089     echo "$as_me:$LINENO: checking for ld version" >&5
115090 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115091
115092     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115093       glibcxx_ld_is_gold=yes
115094     fi
115095     ldver=`$LD --version 2>/dev/null | head -1 | \
115096            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115097
115098     glibcxx_gnu_ld_version=`echo $ldver | \
115099            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115100     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115101 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115102   fi
115103
115104   # Set --gc-sections.
115105   glibcxx_have_gc_sections=no
115106   if test "$glibcxx_ld_is_gold" = "yes"; then
115107     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115108       glibcxx_have_gc_sections=yes
115109     fi
115110   else
115111     glibcxx_gcsections_min_ld=21602
115112     if test x"$with_gnu_ld" = x"yes" &&
115113         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115114       glibcxx_have_gc_sections=yes
115115     fi
115116   fi
115117   if test "$glibcxx_have_gc_sections" = "yes"; then
115118     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
115119     # NB: This flag only works reliably after 2.16.1. Configure tests
115120     # for this are difficult, so hard wire a value that should work.
115121
115122     ac_test_CFLAGS="${CFLAGS+set}"
115123     ac_save_CFLAGS="$CFLAGS"
115124     CFLAGS='-Wl,--gc-sections'
115125
115126     # Check for -Wl,--gc-sections
115127     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115128 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115129     if test x$gcc_no_link = xyes; then
115130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115132    { (exit 1); exit 1; }; }
115133 fi
115134 cat >conftest.$ac_ext <<_ACEOF
115135 /* confdefs.h.  */
115136 _ACEOF
115137 cat confdefs.h >>conftest.$ac_ext
115138 cat >>conftest.$ac_ext <<_ACEOF
115139 /* end confdefs.h.  */
115140  int one(void) { return 1; }
115141      int two(void) { return 2; }
115142
115143 int
115144 main ()
115145 {
115146  two();
115147   ;
115148   return 0;
115149 }
115150 _ACEOF
115151 rm -f conftest.$ac_objext conftest$ac_exeext
115152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115153   (eval $ac_link) 2>conftest.er1
115154   ac_status=$?
115155   grep -v '^ *+' conftest.er1 >conftest.err
115156   rm -f conftest.er1
115157   cat conftest.err >&5
115158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115159   (exit $ac_status); } &&
115160          { ac_try='test -z "$ac_c_werror_flag"
115161                          || test ! -s conftest.err'
115162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115163   (eval $ac_try) 2>&5
115164   ac_status=$?
115165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115166   (exit $ac_status); }; } &&
115167          { ac_try='test -s conftest$ac_exeext'
115168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115169   (eval $ac_try) 2>&5
115170   ac_status=$?
115171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115172   (exit $ac_status); }; }; then
115173   ac_gcsections=yes
115174 else
115175   echo "$as_me: failed program was:" >&5
115176 sed 's/^/| /' conftest.$ac_ext >&5
115177
115178 ac_gcsections=no
115179 fi
115180 rm -f conftest.err conftest.$ac_objext \
115181       conftest$ac_exeext conftest.$ac_ext
115182     if test "$ac_gcsections" = "yes"; then
115183       rm -f conftest.c
115184       touch conftest.c
115185       if $CC -c conftest.c; then
115186         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115187            grep "Warning: gc-sections option ignored" > /dev/null; then
115188           ac_gcsections=no
115189         fi
115190       fi
115191       rm -f conftest.c conftest.o conftest
115192     fi
115193     if test "$ac_gcsections" = "yes"; then
115194       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115195     fi
115196     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115197 echo "${ECHO_T}$ac_gcsections" >&6
115198
115199     if test "$ac_test_CFLAGS" = set; then
115200       CFLAGS="$ac_save_CFLAGS"
115201     else
115202       # this is the suspicious part
115203       CFLAGS=''
115204     fi
115205   fi
115206
115207   # Set -z,relro.
115208   # Note this is only for shared objects.
115209   ac_ld_relro=no
115210   if test x"$with_gnu_ld" = x"yes"; then
115211     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115212 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115213     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115214     if test -n "$cxx_z_relo"; then
115215       OPT_LDFLAGS="-Wl,-z,relro"
115216       ac_ld_relro=yes
115217     fi
115218     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115219 echo "${ECHO_T}$ac_ld_relro" >&6
115220   fi
115221
115222   # Set linker optimization flags.
115223   if test x"$with_gnu_ld" = x"yes"; then
115224     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115225   fi
115226
115227
115228
115229
115230          cat >>confdefs.h <<\_ACEOF
115231 #define HAVE_GETPAGESIZE 1
115232 _ACEOF
115233
115234          cat >>confdefs.h <<\_ACEOF
115235 #define HAVE_SIGSETJMP 1
115236 _ACEOF
115237
115238          cat >>confdefs.h <<\_ACEOF
115239 #define HAVE_MBSTATE_T 1
115240 _ACEOF
115241
115242          cat >>confdefs.h <<\_ACEOF
115243 #define HAVE_POLL 1
115244 _ACEOF
115245
115246          cat >>confdefs.h <<\_ACEOF
115247 #define HAVE_S_ISREG 1
115248 _ACEOF
115249
115250          cat >>confdefs.h <<\_ACEOF
115251 #define HAVE_LC_MESSAGES 1
115252 _ACEOF
115253
115254          cat >>confdefs.h <<\_ACEOF
115255 #define HAVE_FINITE 1
115256 _ACEOF
115257
115258          cat >>confdefs.h <<\_ACEOF
115259 #define HAVE_FPCLASS 1
115260 _ACEOF
115261
115262          cat >>confdefs.h <<\_ACEOF
115263 #define HAVE_GETPAGESIZE 1
115264 _ACEOF
115265
115266          # All of the dependencies for wide character support are here, so
115267          # turn it on.
115268          cat >>confdefs.h <<\_ACEOF
115269 #define _GLIBCXX_USE_WCHAR_T 1
115270 _ACEOF
115271
115272          # Are these tested for even when cross?
115273          cat >>confdefs.h <<\_ACEOF
115274 #define HAVE_FLOAT_H 1
115275 _ACEOF
115276
115277          cat >>confdefs.h <<\_ACEOF
115278 #define HAVE_IEEEFP_H 1
115279 _ACEOF
115280
115281          cat >>confdefs.h <<\_ACEOF
115282 #define HAVE_INTTYPES_H 1
115283 _ACEOF
115284
115285          cat >>confdefs.h <<\_ACEOF
115286 #define HAVE_LOCALE_H 1
115287 _ACEOF
115288
115289          cat >>confdefs.h <<\_ACEOF
115290 #define HAVE_NAN_H 1
115291 _ACEOF
115292
115293          cat >>confdefs.h <<\_ACEOF
115294 #define HAVE_SYS_FILIO_H 1
115295 _ACEOF
115296
115297          cat >>confdefs.h <<\_ACEOF
115298 #define HAVE_SYS_IOCTL_H 1
115299 _ACEOF
115300
115301          cat >>confdefs.h <<\_ACEOF
115302 #define HAVE_SYS_ISA_DEFS_H 1
115303 _ACEOF
115304
115305          cat >>confdefs.h <<\_ACEOF
115306 #define HAVE_SYS_RESOURCE_H 1
115307 _ACEOF
115308
115309          cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_SYS_TIME_H 1
115311 _ACEOF
115312
115313          cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_SYS_TYPES_H 1
115315 _ACEOF
115316
115317          cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_UNISTD_H 1
115319 _ACEOF
115320
115321          cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_WCHAR_H 1
115323 _ACEOF
115324
115325          cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_WCTYPE_H 1
115327 _ACEOF
115328
115329          cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_LIBM 1
115331 _ACEOF
115332
115333         ;;
115334     esac
115335     case "$target" in
115336       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
115337         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
115338         cat >>confdefs.h <<\_ACEOF
115339 #define HAVE___BUILTIN_ABS 1
115340 _ACEOF
115341
115342         cat >>confdefs.h <<\_ACEOF
115343 #define HAVE___BUILTIN_LABS 1
115344 _ACEOF
115345
115346         cat >>confdefs.h <<\_ACEOF
115347 #define HAVE___BUILTIN_FABS 1
115348 _ACEOF
115349
115350         cat >>confdefs.h <<\_ACEOF
115351 #define HAVE___BUILTIN_FABSF 1
115352 _ACEOF
115353
115354         cat >>confdefs.h <<\_ACEOF
115355 #define HAVE___BUILTIN_FABSL 1
115356 _ACEOF
115357
115358         cat >>confdefs.h <<\_ACEOF
115359 #define HAVE___BUILTIN_COS 1
115360 _ACEOF
115361
115362         cat >>confdefs.h <<\_ACEOF
115363 #define HAVE___BUILTIN_COSF 1
115364 _ACEOF
115365
115366         cat >>confdefs.h <<\_ACEOF
115367 #define HAVE___BUILTIN_SIN 1
115368 _ACEOF
115369
115370         cat >>confdefs.h <<\_ACEOF
115371 #define HAVE___BUILTIN_SINF 1
115372 _ACEOF
115373
115374        ;;
115375     esac
115376     case "$target" in
115377       *-*-solaris2.10)
115378       # These two C99 functions are present only in Solaris >= 10
115379       cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_STRTOF 1
115381 _ACEOF
115382
115383       cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_STRTOLD 1
115385 _ACEOF
115386
115387      ;;
115388     esac
115389     cat >>confdefs.h <<\_ACEOF
115390 #define HAVE_MMAP 1
115391 _ACEOF
115392
115393     cat >>confdefs.h <<\_ACEOF
115394 #define HAVE_COPYSIGN 1
115395 _ACEOF
115396
115397     cat >>confdefs.h <<\_ACEOF
115398 #define HAVE_ISNAN 1
115399 _ACEOF
115400
115401     cat >>confdefs.h <<\_ACEOF
115402 #define HAVE_ISNANF 1
115403 _ACEOF
115404
115405     cat >>confdefs.h <<\_ACEOF
115406 #define HAVE_MODFF 1
115407 _ACEOF
115408
115409     cat >>confdefs.h <<\_ACEOF
115410 #define HAVE_HYPOT 1
115411 _ACEOF
115412
115413     ;;
115414   *-tpf)
115415
115416
115417
115418
115419
115420
115421
115422
115423 for ac_header in nan.h endian.h machine/endian.h  \
115424       sys/param.h sys/types.h locale.h float.h inttypes.h
115425 do
115426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115428   echo "$as_me:$LINENO: checking for $ac_header" >&5
115429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115431   echo $ECHO_N "(cached) $ECHO_C" >&6
115432 fi
115433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115435 else
115436   # Is the header compilable?
115437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115439 cat >conftest.$ac_ext <<_ACEOF
115440 /* confdefs.h.  */
115441 _ACEOF
115442 cat confdefs.h >>conftest.$ac_ext
115443 cat >>conftest.$ac_ext <<_ACEOF
115444 /* end confdefs.h.  */
115445 $ac_includes_default
115446 #include <$ac_header>
115447 _ACEOF
115448 rm -f conftest.$ac_objext
115449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115450   (eval $ac_compile) 2>conftest.er1
115451   ac_status=$?
115452   grep -v '^ *+' conftest.er1 >conftest.err
115453   rm -f conftest.er1
115454   cat conftest.err >&5
115455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115456   (exit $ac_status); } &&
115457          { ac_try='test -z "$ac_c_werror_flag"
115458                          || test ! -s conftest.err'
115459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115460   (eval $ac_try) 2>&5
115461   ac_status=$?
115462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115463   (exit $ac_status); }; } &&
115464          { ac_try='test -s conftest.$ac_objext'
115465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115466   (eval $ac_try) 2>&5
115467   ac_status=$?
115468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115469   (exit $ac_status); }; }; then
115470   ac_header_compiler=yes
115471 else
115472   echo "$as_me: failed program was:" >&5
115473 sed 's/^/| /' conftest.$ac_ext >&5
115474
115475 ac_header_compiler=no
115476 fi
115477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115479 echo "${ECHO_T}$ac_header_compiler" >&6
115480
115481 # Is the header present?
115482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115484 cat >conftest.$ac_ext <<_ACEOF
115485 /* confdefs.h.  */
115486 _ACEOF
115487 cat confdefs.h >>conftest.$ac_ext
115488 cat >>conftest.$ac_ext <<_ACEOF
115489 /* end confdefs.h.  */
115490 #include <$ac_header>
115491 _ACEOF
115492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115493   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115494   ac_status=$?
115495   grep -v '^ *+' conftest.er1 >conftest.err
115496   rm -f conftest.er1
115497   cat conftest.err >&5
115498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115499   (exit $ac_status); } >/dev/null; then
115500   if test -s conftest.err; then
115501     ac_cpp_err=$ac_c_preproc_warn_flag
115502     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115503   else
115504     ac_cpp_err=
115505   fi
115506 else
115507   ac_cpp_err=yes
115508 fi
115509 if test -z "$ac_cpp_err"; then
115510   ac_header_preproc=yes
115511 else
115512   echo "$as_me: failed program was:" >&5
115513 sed 's/^/| /' conftest.$ac_ext >&5
115514
115515   ac_header_preproc=no
115516 fi
115517 rm -f conftest.err conftest.$ac_ext
115518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115519 echo "${ECHO_T}$ac_header_preproc" >&6
115520
115521 # So?  What about this header?
115522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115523   yes:no: )
115524     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115528     ac_header_preproc=yes
115529     ;;
115530   no:yes:* )
115531     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115533     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
115534 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
115535     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115537     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
115538 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
115539     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115541     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115543     (
115544       cat <<\_ASBOX
115545 ## ----------------------------------------- ##
115546 ## Report this to the package-unused lists.  ##
115547 ## ----------------------------------------- ##
115548 _ASBOX
115549     ) |
115550       sed "s/^/$as_me: WARNING:     /" >&2
115551     ;;
115552 esac
115553 echo "$as_me:$LINENO: checking for $ac_header" >&5
115554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115556   echo $ECHO_N "(cached) $ECHO_C" >&6
115557 else
115558   eval "$as_ac_Header=\$ac_header_preproc"
115559 fi
115560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115562
115563 fi
115564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115565   cat >>confdefs.h <<_ACEOF
115566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115567 _ACEOF
115568
115569 fi
115570
115571 done
115572
115573     SECTION_FLAGS='-ffunction-sections -fdata-sections'
115574
115575
115576   # If we're not using GNU ld, then there's no point in even trying these
115577   # tests.  Check for that first.  We should have already tested for gld
115578   # by now (in libtool), but require it now just to be safe...
115579   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115580   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115581
115582
115583
115584   # The name set by libtool depends on the version of libtool.  Shame on us
115585   # for depending on an impl detail, but c'est la vie.  Older versions used
115586   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115587   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115588   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
115589   # set (hence we're using an older libtool), then set it.
115590   if test x${with_gnu_ld+set} != xset; then
115591     if test x${ac_cv_prog_gnu_ld+set} != xset; then
115592       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
115593       with_gnu_ld=no
115594     else
115595       with_gnu_ld=$ac_cv_prog_gnu_ld
115596     fi
115597   fi
115598
115599   # Start by getting the version number.  I think the libtool test already
115600   # does some of this, but throws away the result.
115601   glibcxx_ld_is_gold=no
115602   if test x"$with_gnu_ld" = x"yes"; then
115603     echo "$as_me:$LINENO: checking for ld version" >&5
115604 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115605
115606     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115607       glibcxx_ld_is_gold=yes
115608     fi
115609     ldver=`$LD --version 2>/dev/null | head -1 | \
115610            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115611
115612     glibcxx_gnu_ld_version=`echo $ldver | \
115613            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115614     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115615 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115616   fi
115617
115618   # Set --gc-sections.
115619   glibcxx_have_gc_sections=no
115620   if test "$glibcxx_ld_is_gold" = "yes"; then
115621     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115622       glibcxx_have_gc_sections=yes
115623     fi
115624   else
115625     glibcxx_gcsections_min_ld=21602
115626     if test x"$with_gnu_ld" = x"yes" &&
115627         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115628       glibcxx_have_gc_sections=yes
115629     fi
115630   fi
115631   if test "$glibcxx_have_gc_sections" = "yes"; then
115632     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
115633     # NB: This flag only works reliably after 2.16.1. Configure tests
115634     # for this are difficult, so hard wire a value that should work.
115635
115636     ac_test_CFLAGS="${CFLAGS+set}"
115637     ac_save_CFLAGS="$CFLAGS"
115638     CFLAGS='-Wl,--gc-sections'
115639
115640     # Check for -Wl,--gc-sections
115641     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115642 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115643     if test x$gcc_no_link = xyes; then
115644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115646    { (exit 1); exit 1; }; }
115647 fi
115648 cat >conftest.$ac_ext <<_ACEOF
115649 /* confdefs.h.  */
115650 _ACEOF
115651 cat confdefs.h >>conftest.$ac_ext
115652 cat >>conftest.$ac_ext <<_ACEOF
115653 /* end confdefs.h.  */
115654  int one(void) { return 1; }
115655      int two(void) { return 2; }
115656
115657 int
115658 main ()
115659 {
115660  two();
115661   ;
115662   return 0;
115663 }
115664 _ACEOF
115665 rm -f conftest.$ac_objext conftest$ac_exeext
115666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115667   (eval $ac_link) 2>conftest.er1
115668   ac_status=$?
115669   grep -v '^ *+' conftest.er1 >conftest.err
115670   rm -f conftest.er1
115671   cat conftest.err >&5
115672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115673   (exit $ac_status); } &&
115674          { ac_try='test -z "$ac_c_werror_flag"
115675                          || test ! -s conftest.err'
115676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115677   (eval $ac_try) 2>&5
115678   ac_status=$?
115679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115680   (exit $ac_status); }; } &&
115681          { ac_try='test -s conftest$ac_exeext'
115682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115683   (eval $ac_try) 2>&5
115684   ac_status=$?
115685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115686   (exit $ac_status); }; }; then
115687   ac_gcsections=yes
115688 else
115689   echo "$as_me: failed program was:" >&5
115690 sed 's/^/| /' conftest.$ac_ext >&5
115691
115692 ac_gcsections=no
115693 fi
115694 rm -f conftest.err conftest.$ac_objext \
115695       conftest$ac_exeext conftest.$ac_ext
115696     if test "$ac_gcsections" = "yes"; then
115697       rm -f conftest.c
115698       touch conftest.c
115699       if $CC -c conftest.c; then
115700         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115701            grep "Warning: gc-sections option ignored" > /dev/null; then
115702           ac_gcsections=no
115703         fi
115704       fi
115705       rm -f conftest.c conftest.o conftest
115706     fi
115707     if test "$ac_gcsections" = "yes"; then
115708       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115709     fi
115710     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115711 echo "${ECHO_T}$ac_gcsections" >&6
115712
115713     if test "$ac_test_CFLAGS" = set; then
115714       CFLAGS="$ac_save_CFLAGS"
115715     else
115716       # this is the suspicious part
115717       CFLAGS=''
115718     fi
115719   fi
115720
115721   # Set -z,relro.
115722   # Note this is only for shared objects.
115723   ac_ld_relro=no
115724   if test x"$with_gnu_ld" = x"yes"; then
115725     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115726 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115727     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115728     if test -n "$cxx_z_relo"; then
115729       OPT_LDFLAGS="-Wl,-z,relro"
115730       ac_ld_relro=yes
115731     fi
115732     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115733 echo "${ECHO_T}$ac_ld_relro" >&6
115734   fi
115735
115736   # Set linker optimization flags.
115737   if test x"$with_gnu_ld" = x"yes"; then
115738     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115739   fi
115740
115741
115742
115743
115744
115745
115746 echo "$as_me:$LINENO: checking for main in -lm" >&5
115747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
115748 if test "${ac_cv_lib_m_main+set}" = set; then
115749   echo $ECHO_N "(cached) $ECHO_C" >&6
115750 else
115751   ac_check_lib_save_LIBS=$LIBS
115752 LIBS="-lm  $LIBS"
115753 if test x$gcc_no_link = xyes; then
115754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115756    { (exit 1); exit 1; }; }
115757 fi
115758 cat >conftest.$ac_ext <<_ACEOF
115759 /* confdefs.h.  */
115760 _ACEOF
115761 cat confdefs.h >>conftest.$ac_ext
115762 cat >>conftest.$ac_ext <<_ACEOF
115763 /* end confdefs.h.  */
115764
115765
115766 int
115767 main ()
115768 {
115769 main ();
115770   ;
115771   return 0;
115772 }
115773 _ACEOF
115774 rm -f conftest.$ac_objext conftest$ac_exeext
115775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115776   (eval $ac_link) 2>conftest.er1
115777   ac_status=$?
115778   grep -v '^ *+' conftest.er1 >conftest.err
115779   rm -f conftest.er1
115780   cat conftest.err >&5
115781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115782   (exit $ac_status); } &&
115783          { ac_try='test -z "$ac_c_werror_flag"
115784                          || test ! -s conftest.err'
115785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115786   (eval $ac_try) 2>&5
115787   ac_status=$?
115788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115789   (exit $ac_status); }; } &&
115790          { ac_try='test -s conftest$ac_exeext'
115791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115792   (eval $ac_try) 2>&5
115793   ac_status=$?
115794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115795   (exit $ac_status); }; }; then
115796   ac_cv_lib_m_main=yes
115797 else
115798   echo "$as_me: failed program was:" >&5
115799 sed 's/^/| /' conftest.$ac_ext >&5
115800
115801 ac_cv_lib_m_main=no
115802 fi
115803 rm -f conftest.err conftest.$ac_objext \
115804       conftest$ac_exeext conftest.$ac_ext
115805 LIBS=$ac_check_lib_save_LIBS
115806 fi
115807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
115808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
115809 if test $ac_cv_lib_m_main = yes; then
115810   cat >>confdefs.h <<_ACEOF
115811 #define HAVE_LIBM 1
115812 _ACEOF
115813
115814   LIBS="-lm $LIBS"
115815
115816 fi
115817
115818
115819 for ac_func in copysignf
115820 do
115821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115822 echo "$as_me:$LINENO: checking for $ac_func" >&5
115823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115824 if eval "test \"\${$as_ac_var+set}\" = set"; then
115825   echo $ECHO_N "(cached) $ECHO_C" >&6
115826 else
115827   if test x$gcc_no_link = xyes; then
115828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115830    { (exit 1); exit 1; }; }
115831 fi
115832 cat >conftest.$ac_ext <<_ACEOF
115833 /* confdefs.h.  */
115834 _ACEOF
115835 cat confdefs.h >>conftest.$ac_ext
115836 cat >>conftest.$ac_ext <<_ACEOF
115837 /* end confdefs.h.  */
115838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115840 #define $ac_func innocuous_$ac_func
115841
115842 /* System header to define __stub macros and hopefully few prototypes,
115843     which can conflict with char $ac_func (); below.
115844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115845     <limits.h> exists even on freestanding compilers.  */
115846
115847 #ifdef __STDC__
115848 # include <limits.h>
115849 #else
115850 # include <assert.h>
115851 #endif
115852
115853 #undef $ac_func
115854
115855 /* Override any gcc2 internal prototype to avoid an error.  */
115856 #ifdef __cplusplus
115857 extern "C"
115858 {
115859 #endif
115860 /* We use char because int might match the return type of a gcc2
115861    builtin and then its argument prototype would still apply.  */
115862 char $ac_func ();
115863 /* The GNU C library defines this for functions which it implements
115864     to always fail with ENOSYS.  Some functions are actually named
115865     something starting with __ and the normal name is an alias.  */
115866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115867 choke me
115868 #else
115869 char (*f) () = $ac_func;
115870 #endif
115871 #ifdef __cplusplus
115872 }
115873 #endif
115874
115875 int
115876 main ()
115877 {
115878 return f != $ac_func;
115879   ;
115880   return 0;
115881 }
115882 _ACEOF
115883 rm -f conftest.$ac_objext conftest$ac_exeext
115884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115885   (eval $ac_link) 2>conftest.er1
115886   ac_status=$?
115887   grep -v '^ *+' conftest.er1 >conftest.err
115888   rm -f conftest.er1
115889   cat conftest.err >&5
115890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115891   (exit $ac_status); } &&
115892          { ac_try='test -z "$ac_c_werror_flag"
115893                          || test ! -s conftest.err'
115894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115895   (eval $ac_try) 2>&5
115896   ac_status=$?
115897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115898   (exit $ac_status); }; } &&
115899          { ac_try='test -s conftest$ac_exeext'
115900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115901   (eval $ac_try) 2>&5
115902   ac_status=$?
115903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115904   (exit $ac_status); }; }; then
115905   eval "$as_ac_var=yes"
115906 else
115907   echo "$as_me: failed program was:" >&5
115908 sed 's/^/| /' conftest.$ac_ext >&5
115909
115910 eval "$as_ac_var=no"
115911 fi
115912 rm -f conftest.err conftest.$ac_objext \
115913       conftest$ac_exeext conftest.$ac_ext
115914 fi
115915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115917 if test `eval echo '${'$as_ac_var'}'` = yes; then
115918   cat >>confdefs.h <<_ACEOF
115919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115920 _ACEOF
115921
115922 else
115923   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115924 fi
115925 done
115926
115927
115928
115929 for ac_func in __signbit
115930 do
115931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115932 echo "$as_me:$LINENO: checking for $ac_func" >&5
115933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115934 if eval "test \"\${$as_ac_var+set}\" = set"; then
115935   echo $ECHO_N "(cached) $ECHO_C" >&6
115936 else
115937   if test x$gcc_no_link = xyes; then
115938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115940    { (exit 1); exit 1; }; }
115941 fi
115942 cat >conftest.$ac_ext <<_ACEOF
115943 /* confdefs.h.  */
115944 _ACEOF
115945 cat confdefs.h >>conftest.$ac_ext
115946 cat >>conftest.$ac_ext <<_ACEOF
115947 /* end confdefs.h.  */
115948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115950 #define $ac_func innocuous_$ac_func
115951
115952 /* System header to define __stub macros and hopefully few prototypes,
115953     which can conflict with char $ac_func (); below.
115954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115955     <limits.h> exists even on freestanding compilers.  */
115956
115957 #ifdef __STDC__
115958 # include <limits.h>
115959 #else
115960 # include <assert.h>
115961 #endif
115962
115963 #undef $ac_func
115964
115965 /* Override any gcc2 internal prototype to avoid an error.  */
115966 #ifdef __cplusplus
115967 extern "C"
115968 {
115969 #endif
115970 /* We use char because int might match the return type of a gcc2
115971    builtin and then its argument prototype would still apply.  */
115972 char $ac_func ();
115973 /* The GNU C library defines this for functions which it implements
115974     to always fail with ENOSYS.  Some functions are actually named
115975     something starting with __ and the normal name is an alias.  */
115976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115977 choke me
115978 #else
115979 char (*f) () = $ac_func;
115980 #endif
115981 #ifdef __cplusplus
115982 }
115983 #endif
115984
115985 int
115986 main ()
115987 {
115988 return f != $ac_func;
115989   ;
115990   return 0;
115991 }
115992 _ACEOF
115993 rm -f conftest.$ac_objext conftest$ac_exeext
115994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115995   (eval $ac_link) 2>conftest.er1
115996   ac_status=$?
115997   grep -v '^ *+' conftest.er1 >conftest.err
115998   rm -f conftest.er1
115999   cat conftest.err >&5
116000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116001   (exit $ac_status); } &&
116002          { ac_try='test -z "$ac_c_werror_flag"
116003                          || test ! -s conftest.err'
116004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116005   (eval $ac_try) 2>&5
116006   ac_status=$?
116007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116008   (exit $ac_status); }; } &&
116009          { ac_try='test -s conftest$ac_exeext'
116010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116011   (eval $ac_try) 2>&5
116012   ac_status=$?
116013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116014   (exit $ac_status); }; }; then
116015   eval "$as_ac_var=yes"
116016 else
116017   echo "$as_me: failed program was:" >&5
116018 sed 's/^/| /' conftest.$ac_ext >&5
116019
116020 eval "$as_ac_var=no"
116021 fi
116022 rm -f conftest.err conftest.$ac_objext \
116023       conftest$ac_exeext conftest.$ac_ext
116024 fi
116025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116027 if test `eval echo '${'$as_ac_var'}'` = yes; then
116028   cat >>confdefs.h <<_ACEOF
116029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116030 _ACEOF
116031
116032 else
116033   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
116034 fi
116035 done
116036
116037
116038
116039 for ac_func in __signbitf
116040 do
116041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116042 echo "$as_me:$LINENO: checking for $ac_func" >&5
116043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116044 if eval "test \"\${$as_ac_var+set}\" = set"; then
116045   echo $ECHO_N "(cached) $ECHO_C" >&6
116046 else
116047   if test x$gcc_no_link = xyes; then
116048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116050    { (exit 1); exit 1; }; }
116051 fi
116052 cat >conftest.$ac_ext <<_ACEOF
116053 /* confdefs.h.  */
116054 _ACEOF
116055 cat confdefs.h >>conftest.$ac_ext
116056 cat >>conftest.$ac_ext <<_ACEOF
116057 /* end confdefs.h.  */
116058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116060 #define $ac_func innocuous_$ac_func
116061
116062 /* System header to define __stub macros and hopefully few prototypes,
116063     which can conflict with char $ac_func (); below.
116064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116065     <limits.h> exists even on freestanding compilers.  */
116066
116067 #ifdef __STDC__
116068 # include <limits.h>
116069 #else
116070 # include <assert.h>
116071 #endif
116072
116073 #undef $ac_func
116074
116075 /* Override any gcc2 internal prototype to avoid an error.  */
116076 #ifdef __cplusplus
116077 extern "C"
116078 {
116079 #endif
116080 /* We use char because int might match the return type of a gcc2
116081    builtin and then its argument prototype would still apply.  */
116082 char $ac_func ();
116083 /* The GNU C library defines this for functions which it implements
116084     to always fail with ENOSYS.  Some functions are actually named
116085     something starting with __ and the normal name is an alias.  */
116086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116087 choke me
116088 #else
116089 char (*f) () = $ac_func;
116090 #endif
116091 #ifdef __cplusplus
116092 }
116093 #endif
116094
116095 int
116096 main ()
116097 {
116098 return f != $ac_func;
116099   ;
116100   return 0;
116101 }
116102 _ACEOF
116103 rm -f conftest.$ac_objext conftest$ac_exeext
116104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116105   (eval $ac_link) 2>conftest.er1
116106   ac_status=$?
116107   grep -v '^ *+' conftest.er1 >conftest.err
116108   rm -f conftest.er1
116109   cat conftest.err >&5
116110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116111   (exit $ac_status); } &&
116112          { ac_try='test -z "$ac_c_werror_flag"
116113                          || test ! -s conftest.err'
116114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116115   (eval $ac_try) 2>&5
116116   ac_status=$?
116117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116118   (exit $ac_status); }; } &&
116119          { ac_try='test -s conftest$ac_exeext'
116120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116121   (eval $ac_try) 2>&5
116122   ac_status=$?
116123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116124   (exit $ac_status); }; }; then
116125   eval "$as_ac_var=yes"
116126 else
116127   echo "$as_me: failed program was:" >&5
116128 sed 's/^/| /' conftest.$ac_ext >&5
116129
116130 eval "$as_ac_var=no"
116131 fi
116132 rm -f conftest.err conftest.$ac_objext \
116133       conftest$ac_exeext conftest.$ac_ext
116134 fi
116135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116137 if test `eval echo '${'$as_ac_var'}'` = yes; then
116138   cat >>confdefs.h <<_ACEOF
116139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116140 _ACEOF
116141
116142 else
116143   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
116144 fi
116145 done
116146
116147
116148           if test x$ac_cv_func_copysignl = x"yes"; then
116149
116150 for ac_func in __signbitl
116151 do
116152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116153 echo "$as_me:$LINENO: checking for $ac_func" >&5
116154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116155 if eval "test \"\${$as_ac_var+set}\" = set"; then
116156   echo $ECHO_N "(cached) $ECHO_C" >&6
116157 else
116158   if test x$gcc_no_link = xyes; then
116159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116161    { (exit 1); exit 1; }; }
116162 fi
116163 cat >conftest.$ac_ext <<_ACEOF
116164 /* confdefs.h.  */
116165 _ACEOF
116166 cat confdefs.h >>conftest.$ac_ext
116167 cat >>conftest.$ac_ext <<_ACEOF
116168 /* end confdefs.h.  */
116169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116171 #define $ac_func innocuous_$ac_func
116172
116173 /* System header to define __stub macros and hopefully few prototypes,
116174     which can conflict with char $ac_func (); below.
116175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116176     <limits.h> exists even on freestanding compilers.  */
116177
116178 #ifdef __STDC__
116179 # include <limits.h>
116180 #else
116181 # include <assert.h>
116182 #endif
116183
116184 #undef $ac_func
116185
116186 /* Override any gcc2 internal prototype to avoid an error.  */
116187 #ifdef __cplusplus
116188 extern "C"
116189 {
116190 #endif
116191 /* We use char because int might match the return type of a gcc2
116192    builtin and then its argument prototype would still apply.  */
116193 char $ac_func ();
116194 /* The GNU C library defines this for functions which it implements
116195     to always fail with ENOSYS.  Some functions are actually named
116196     something starting with __ and the normal name is an alias.  */
116197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116198 choke me
116199 #else
116200 char (*f) () = $ac_func;
116201 #endif
116202 #ifdef __cplusplus
116203 }
116204 #endif
116205
116206 int
116207 main ()
116208 {
116209 return f != $ac_func;
116210   ;
116211   return 0;
116212 }
116213 _ACEOF
116214 rm -f conftest.$ac_objext conftest$ac_exeext
116215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116216   (eval $ac_link) 2>conftest.er1
116217   ac_status=$?
116218   grep -v '^ *+' conftest.er1 >conftest.err
116219   rm -f conftest.er1
116220   cat conftest.err >&5
116221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116222   (exit $ac_status); } &&
116223          { ac_try='test -z "$ac_c_werror_flag"
116224                          || test ! -s conftest.err'
116225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116226   (eval $ac_try) 2>&5
116227   ac_status=$?
116228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116229   (exit $ac_status); }; } &&
116230          { ac_try='test -s conftest$ac_exeext'
116231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116232   (eval $ac_try) 2>&5
116233   ac_status=$?
116234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116235   (exit $ac_status); }; }; then
116236   eval "$as_ac_var=yes"
116237 else
116238   echo "$as_me: failed program was:" >&5
116239 sed 's/^/| /' conftest.$ac_ext >&5
116240
116241 eval "$as_ac_var=no"
116242 fi
116243 rm -f conftest.err conftest.$ac_objext \
116244       conftest$ac_exeext conftest.$ac_ext
116245 fi
116246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116248 if test `eval echo '${'$as_ac_var'}'` = yes; then
116249   cat >>confdefs.h <<_ACEOF
116250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116251 _ACEOF
116252
116253 else
116254   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
116255 fi
116256 done
116257
116258   fi
116259
116260   # Used in libmath/Makefile.am.
116261   if test -n "$LIBMATHOBJS"; then
116262     need_libmath=yes
116263   fi
116264
116265
116266     cat >>confdefs.h <<\_ACEOF
116267 #define HAVE_COPYSIGN 1
116268 _ACEOF
116269
116270     cat >>confdefs.h <<\_ACEOF
116271 #define HAVE_COPYSIGNF 1
116272 _ACEOF
116273
116274     cat >>confdefs.h <<\_ACEOF
116275 #define HAVE_FINITE 1
116276 _ACEOF
116277
116278     cat >>confdefs.h <<\_ACEOF
116279 #define HAVE_FINITEF 1
116280 _ACEOF
116281
116282     cat >>confdefs.h <<\_ACEOF
116283 #define HAVE_FREXPF 1
116284 _ACEOF
116285
116286     cat >>confdefs.h <<\_ACEOF
116287 #define HAVE_HYPOTF 1
116288 _ACEOF
116289
116290     cat >>confdefs.h <<\_ACEOF
116291 #define HAVE_ISINF 1
116292 _ACEOF
116293
116294     cat >>confdefs.h <<\_ACEOF
116295 #define HAVE_ISINFF 1
116296 _ACEOF
116297
116298     cat >>confdefs.h <<\_ACEOF
116299 #define HAVE_ISNAN 1
116300 _ACEOF
116301
116302     cat >>confdefs.h <<\_ACEOF
116303 #define HAVE_ISNANF 1
116304 _ACEOF
116305
116306     cat >>confdefs.h <<\_ACEOF
116307 #define HAVE_SINCOS 1
116308 _ACEOF
116309
116310     cat >>confdefs.h <<\_ACEOF
116311 #define HAVE_SINCOSF 1
116312 _ACEOF
116313
116314     if test x"long_double_math_on_this_cpu" = x"yes"; then
116315       cat >>confdefs.h <<\_ACEOF
116316 #define HAVE_FINITEL 1
116317 _ACEOF
116318
116319       cat >>confdefs.h <<\_ACEOF
116320 #define HAVE_HYPOTL 1
116321 _ACEOF
116322
116323       cat >>confdefs.h <<\_ACEOF
116324 #define HAVE_ISINFL 1
116325 _ACEOF
116326
116327       cat >>confdefs.h <<\_ACEOF
116328 #define HAVE_ISNANL 1
116329 _ACEOF
116330
116331     fi
116332     ;;
116333   *-vxworks)
116334     cat >>confdefs.h <<\_ACEOF
116335 #define HAVE_MMAP 1
116336 _ACEOF
116337
116338     cat >>confdefs.h <<\_ACEOF
116339 #define HAVE_ACOSF 1
116340 _ACEOF
116341
116342     cat >>confdefs.h <<\_ACEOF
116343 #define HAVE_ASINF 1
116344 _ACEOF
116345
116346     cat >>confdefs.h <<\_ACEOF
116347 #define HAVE_ATAN2F 1
116348 _ACEOF
116349
116350     cat >>confdefs.h <<\_ACEOF
116351 #define HAVE_ATANF 1
116352 _ACEOF
116353
116354     cat >>confdefs.h <<\_ACEOF
116355 #define HAVE_CEILF 1
116356 _ACEOF
116357
116358     cat >>confdefs.h <<\_ACEOF
116359 #define HAVE_COSF 1
116360 _ACEOF
116361
116362     cat >>confdefs.h <<\_ACEOF
116363 #define HAVE_COSHF 1
116364 _ACEOF
116365
116366     cat >>confdefs.h <<\_ACEOF
116367 #define HAVE_EXPF 1
116368 _ACEOF
116369
116370     cat >>confdefs.h <<\_ACEOF
116371 #define HAVE_FABSF 1
116372 _ACEOF
116373
116374     cat >>confdefs.h <<\_ACEOF
116375 #define HAVE_FLOORF 1
116376 _ACEOF
116377
116378     cat >>confdefs.h <<\_ACEOF
116379 #define HAVE_FMODF 1
116380 _ACEOF
116381
116382     cat >>confdefs.h <<\_ACEOF
116383 #define HAVE_HYPOT 1
116384 _ACEOF
116385
116386     cat >>confdefs.h <<\_ACEOF
116387 #define HAVE_LOG10F 1
116388 _ACEOF
116389
116390     cat >>confdefs.h <<\_ACEOF
116391 #define HAVE_LOGF 1
116392 _ACEOF
116393
116394     cat >>confdefs.h <<\_ACEOF
116395 #define HAVE_POWF 1
116396 _ACEOF
116397
116398     cat >>confdefs.h <<\_ACEOF
116399 #define HAVE_SINF 1
116400 _ACEOF
116401
116402     cat >>confdefs.h <<\_ACEOF
116403 #define HAVE_SINHF 1
116404 _ACEOF
116405
116406     cat >>confdefs.h <<\_ACEOF
116407 #define HAVE_SQRTF 1
116408 _ACEOF
116409
116410     cat >>confdefs.h <<\_ACEOF
116411 #define HAVE_TANF 1
116412 _ACEOF
116413
116414     cat >>confdefs.h <<\_ACEOF
116415 #define HAVE_TANHF 1
116416 _ACEOF
116417
116418     ;;
116419   *)
116420     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
116421 echo "$as_me: error: No support for this host/target combination." >&2;}
116422    { (exit 1); exit 1; }; }
116423    ;;
116424 esac
116425
116426   fi
116427
116428   # At some point, we should differentiate between architectures
116429   # like x86, which have long double versions, and alpha/powerpc/etc.,
116430   # which don't. For the time being, punt.
116431   if test x"long_double_math_on_this_cpu" = x"yes"; then
116432     cat >>confdefs.h <<\_ACEOF
116433 #define HAVE_ACOSL 1
116434 _ACEOF
116435
116436     cat >>confdefs.h <<\_ACEOF
116437 #define HAVE_ASINL 1
116438 _ACEOF
116439
116440     cat >>confdefs.h <<\_ACEOF
116441 #define HAVE_ATAN2L 1
116442 _ACEOF
116443
116444     cat >>confdefs.h <<\_ACEOF
116445 #define HAVE_ATANL 1
116446 _ACEOF
116447
116448     cat >>confdefs.h <<\_ACEOF
116449 #define HAVE_CEILL 1
116450 _ACEOF
116451
116452     cat >>confdefs.h <<\_ACEOF
116453 #define HAVE_COPYSIGNL 1
116454 _ACEOF
116455
116456     cat >>confdefs.h <<\_ACEOF
116457 #define HAVE_COSL 1
116458 _ACEOF
116459
116460     cat >>confdefs.h <<\_ACEOF
116461 #define HAVE_COSHL 1
116462 _ACEOF
116463
116464     cat >>confdefs.h <<\_ACEOF
116465 #define HAVE_EXPL 1
116466 _ACEOF
116467
116468     cat >>confdefs.h <<\_ACEOF
116469 #define HAVE_FABSL 1
116470 _ACEOF
116471
116472     cat >>confdefs.h <<\_ACEOF
116473 #define HAVE_FLOORL 1
116474 _ACEOF
116475
116476     cat >>confdefs.h <<\_ACEOF
116477 #define HAVE_FMODL 1
116478 _ACEOF
116479
116480     cat >>confdefs.h <<\_ACEOF
116481 #define HAVE_FREXPL 1
116482 _ACEOF
116483
116484     cat >>confdefs.h <<\_ACEOF
116485 #define HAVE_LDEXPL 1
116486 _ACEOF
116487
116488     cat >>confdefs.h <<\_ACEOF
116489 #define HAVE_LOG10L 1
116490 _ACEOF
116491
116492     cat >>confdefs.h <<\_ACEOF
116493 #define HAVE_LOGL 1
116494 _ACEOF
116495
116496     cat >>confdefs.h <<\_ACEOF
116497 #define HAVE_MODFL 1
116498 _ACEOF
116499
116500     cat >>confdefs.h <<\_ACEOF
116501 #define HAVE_POWL 1
116502 _ACEOF
116503
116504     cat >>confdefs.h <<\_ACEOF
116505 #define HAVE_SINCOSL 1
116506 _ACEOF
116507
116508     cat >>confdefs.h <<\_ACEOF
116509 #define HAVE_SINL 1
116510 _ACEOF
116511
116512     cat >>confdefs.h <<\_ACEOF
116513 #define HAVE_SINHL 1
116514 _ACEOF
116515
116516     cat >>confdefs.h <<\_ACEOF
116517 #define HAVE_SQRTL 1
116518 _ACEOF
116519
116520     cat >>confdefs.h <<\_ACEOF
116521 #define HAVE_TANL 1
116522 _ACEOF
116523
116524     cat >>confdefs.h <<\_ACEOF
116525 #define HAVE_TANHL 1
116526 _ACEOF
116527
116528   fi
116529
116530   # Assume we have _Unwind_GetIPInfo for cross-compiles.
116531   cat >>confdefs.h <<\_ACEOF
116532 #define HAVE_GETIPINFO 1
116533 _ACEOF
116534
116535 fi
116536
116537  # Check whether --enable-linux-futex or --disable-linux-futex was given.
116538 if test "${enable_linux_futex+set}" = set; then
116539   enableval="$enable_linux_futex"
116540
116541       case "$enableval" in
116542        yes|no|default) ;;
116543        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
116544 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
116545    { (exit 1); exit 1; }; } ;;
116546                           esac
116547
116548 else
116549   enable_linux_futex=default
116550 fi;
116551
116552 case "$target" in
116553   *-linux*)
116554     case "$enable_linux_futex" in
116555       default)
116556         # If headers don't have gettid/futex syscalls definition, then
116557         # default to no, otherwise there will be compile time failures.
116558         # Otherwise, default to yes.  If we don't detect we are
116559         # compiled/linked against NPTL and not cross-compiling, check
116560         # if programs are run by default against NPTL and if not, issue
116561         # a warning.
116562         enable_linux_futex=no
116563         if test x$gcc_no_link = xyes; then
116564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116566    { (exit 1); exit 1; }; }
116567 fi
116568 cat >conftest.$ac_ext <<_ACEOF
116569 /* confdefs.h.  */
116570 _ACEOF
116571 cat confdefs.h >>conftest.$ac_ext
116572 cat >>conftest.$ac_ext <<_ACEOF
116573 /* end confdefs.h.  */
116574 #include <sys/syscall.h>
116575            int lk;
116576 int
116577 main ()
116578 {
116579 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116580   ;
116581   return 0;
116582 }
116583 _ACEOF
116584 rm -f conftest.$ac_objext conftest$ac_exeext
116585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116586   (eval $ac_link) 2>conftest.er1
116587   ac_status=$?
116588   grep -v '^ *+' conftest.er1 >conftest.err
116589   rm -f conftest.er1
116590   cat conftest.err >&5
116591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116592   (exit $ac_status); } &&
116593          { ac_try='test -z "$ac_c_werror_flag"
116594                          || test ! -s conftest.err'
116595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116596   (eval $ac_try) 2>&5
116597   ac_status=$?
116598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116599   (exit $ac_status); }; } &&
116600          { ac_try='test -s conftest$ac_exeext'
116601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116602   (eval $ac_try) 2>&5
116603   ac_status=$?
116604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116605   (exit $ac_status); }; }; then
116606   save_LIBS="$LIBS"
116607            LIBS="-lpthread $LIBS"
116608            if test x$gcc_no_link = xyes; then
116609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116611    { (exit 1); exit 1; }; }
116612 fi
116613 cat >conftest.$ac_ext <<_ACEOF
116614 /* confdefs.h.  */
116615 _ACEOF
116616 cat confdefs.h >>conftest.$ac_ext
116617 cat >>conftest.$ac_ext <<_ACEOF
116618 /* end confdefs.h.  */
116619 #ifndef _GNU_SOURCE
116620              #define _GNU_SOURCE 1
116621              #endif
116622              #include <pthread.h>
116623              pthread_t th; void *status;
116624 int
116625 main ()
116626 {
116627 pthread_tryjoin_np (th, &status);
116628   ;
116629   return 0;
116630 }
116631 _ACEOF
116632 rm -f conftest.$ac_objext conftest$ac_exeext
116633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116634   (eval $ac_link) 2>conftest.er1
116635   ac_status=$?
116636   grep -v '^ *+' conftest.er1 >conftest.err
116637   rm -f conftest.er1
116638   cat conftest.err >&5
116639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116640   (exit $ac_status); } &&
116641          { ac_try='test -z "$ac_c_werror_flag"
116642                          || test ! -s conftest.err'
116643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116644   (eval $ac_try) 2>&5
116645   ac_status=$?
116646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116647   (exit $ac_status); }; } &&
116648          { ac_try='test -s conftest$ac_exeext'
116649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116650   (eval $ac_try) 2>&5
116651   ac_status=$?
116652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116653   (exit $ac_status); }; }; then
116654   enable_linux_futex=yes
116655 else
116656   echo "$as_me: failed program was:" >&5
116657 sed 's/^/| /' conftest.$ac_ext >&5
116658
116659 if test x$cross_compiling = xno; then
116660                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116661                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116662                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116663 If so, please configure with --disable-linux-futex" >&5
116664 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116665 If so, please configure with --disable-linux-futex" >&2;}
116666                fi
116667              fi
116668              enable_linux_futex=yes
116669 fi
116670 rm -f conftest.err conftest.$ac_objext \
116671       conftest$ac_exeext conftest.$ac_ext
116672            LIBS="$save_LIBS"
116673 else
116674   echo "$as_me: failed program was:" >&5
116675 sed 's/^/| /' conftest.$ac_ext >&5
116676
116677 fi
116678 rm -f conftest.err conftest.$ac_objext \
116679       conftest$ac_exeext conftest.$ac_ext
116680         ;;
116681       yes)
116682         if test x$gcc_no_link = xyes; then
116683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116685    { (exit 1); exit 1; }; }
116686 fi
116687 cat >conftest.$ac_ext <<_ACEOF
116688 /* confdefs.h.  */
116689 _ACEOF
116690 cat confdefs.h >>conftest.$ac_ext
116691 cat >>conftest.$ac_ext <<_ACEOF
116692 /* end confdefs.h.  */
116693 #include <sys/syscall.h>
116694            int lk;
116695 int
116696 main ()
116697 {
116698 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116699   ;
116700   return 0;
116701 }
116702 _ACEOF
116703 rm -f conftest.$ac_objext conftest$ac_exeext
116704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116705   (eval $ac_link) 2>conftest.er1
116706   ac_status=$?
116707   grep -v '^ *+' conftest.er1 >conftest.err
116708   rm -f conftest.er1
116709   cat conftest.err >&5
116710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116711   (exit $ac_status); } &&
116712          { ac_try='test -z "$ac_c_werror_flag"
116713                          || test ! -s conftest.err'
116714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116715   (eval $ac_try) 2>&5
116716   ac_status=$?
116717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116718   (exit $ac_status); }; } &&
116719          { ac_try='test -s conftest$ac_exeext'
116720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116721   (eval $ac_try) 2>&5
116722   ac_status=$?
116723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116724   (exit $ac_status); }; }; then
116725   :
116726 else
116727   echo "$as_me: failed program was:" >&5
116728 sed 's/^/| /' conftest.$ac_ext >&5
116729
116730 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
116731 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
116732    { (exit 1); exit 1; }; }
116733 fi
116734 rm -f conftest.err conftest.$ac_objext \
116735       conftest$ac_exeext conftest.$ac_ext
116736         ;;
116737     esac
116738     ;;
116739   *)
116740     enable_linux_futex=no
116741     ;;
116742 esac
116743 if test x$enable_linux_futex = xyes; then
116744
116745 cat >>confdefs.h <<\_ACEOF
116746 #define HAVE_LINUX_FUTEX 1
116747 _ACEOF
116748
116749 fi
116750
116751
116752
116753
116754 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
116755
116756 acx_cv_header_stdint=stddef.h
116757 acx_cv_header_stdint_kind="(already complete)"
116758 for i in stdint.h $inttype_headers; do
116759   unset ac_cv_type_uintptr_t
116760   unset ac_cv_type_uintmax_t
116761   unset ac_cv_type_int_least32_t
116762   unset ac_cv_type_int_fast32_t
116763   unset ac_cv_type_uint64_t
116764   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
116765   echo "$as_me:$LINENO: checking for uintmax_t" >&5
116766 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
116767 if test "${ac_cv_type_uintmax_t+set}" = set; then
116768   echo $ECHO_N "(cached) $ECHO_C" >&6
116769 else
116770   cat >conftest.$ac_ext <<_ACEOF
116771 /* confdefs.h.  */
116772 _ACEOF
116773 cat confdefs.h >>conftest.$ac_ext
116774 cat >>conftest.$ac_ext <<_ACEOF
116775 /* end confdefs.h.  */
116776 #include <sys/types.h>
116777 #include <$i>
116778
116779 int
116780 main ()
116781 {
116782 if ((uintmax_t *) 0)
116783   return 0;
116784 if (sizeof (uintmax_t))
116785   return 0;
116786   ;
116787   return 0;
116788 }
116789 _ACEOF
116790 rm -f conftest.$ac_objext
116791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116792   (eval $ac_compile) 2>conftest.er1
116793   ac_status=$?
116794   grep -v '^ *+' conftest.er1 >conftest.err
116795   rm -f conftest.er1
116796   cat conftest.err >&5
116797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116798   (exit $ac_status); } &&
116799          { ac_try='test -z "$ac_c_werror_flag"
116800                          || test ! -s conftest.err'
116801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116802   (eval $ac_try) 2>&5
116803   ac_status=$?
116804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116805   (exit $ac_status); }; } &&
116806          { ac_try='test -s conftest.$ac_objext'
116807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116808   (eval $ac_try) 2>&5
116809   ac_status=$?
116810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116811   (exit $ac_status); }; }; then
116812   ac_cv_type_uintmax_t=yes
116813 else
116814   echo "$as_me: failed program was:" >&5
116815 sed 's/^/| /' conftest.$ac_ext >&5
116816
116817 ac_cv_type_uintmax_t=no
116818 fi
116819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116820 fi
116821 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116822 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116823 if test $ac_cv_type_uintmax_t = yes; then
116824   acx_cv_header_stdint=$i
116825 else
116826   continue
116827 fi
116828
116829   echo "$as_me:$LINENO: checking for uintptr_t" >&5
116830 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116831 if test "${ac_cv_type_uintptr_t+set}" = set; then
116832   echo $ECHO_N "(cached) $ECHO_C" >&6
116833 else
116834   cat >conftest.$ac_ext <<_ACEOF
116835 /* confdefs.h.  */
116836 _ACEOF
116837 cat confdefs.h >>conftest.$ac_ext
116838 cat >>conftest.$ac_ext <<_ACEOF
116839 /* end confdefs.h.  */
116840 #include <sys/types.h>
116841 #include <$i>
116842
116843 int
116844 main ()
116845 {
116846 if ((uintptr_t *) 0)
116847   return 0;
116848 if (sizeof (uintptr_t))
116849   return 0;
116850   ;
116851   return 0;
116852 }
116853 _ACEOF
116854 rm -f conftest.$ac_objext
116855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116856   (eval $ac_compile) 2>conftest.er1
116857   ac_status=$?
116858   grep -v '^ *+' conftest.er1 >conftest.err
116859   rm -f conftest.er1
116860   cat conftest.err >&5
116861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116862   (exit $ac_status); } &&
116863          { ac_try='test -z "$ac_c_werror_flag"
116864                          || test ! -s conftest.err'
116865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116866   (eval $ac_try) 2>&5
116867   ac_status=$?
116868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116869   (exit $ac_status); }; } &&
116870          { ac_try='test -s conftest.$ac_objext'
116871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116872   (eval $ac_try) 2>&5
116873   ac_status=$?
116874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116875   (exit $ac_status); }; }; then
116876   ac_cv_type_uintptr_t=yes
116877 else
116878   echo "$as_me: failed program was:" >&5
116879 sed 's/^/| /' conftest.$ac_ext >&5
116880
116881 ac_cv_type_uintptr_t=no
116882 fi
116883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116884 fi
116885 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116886 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116887 if test $ac_cv_type_uintptr_t = yes; then
116888   :
116889 else
116890   acx_cv_header_stdint_kind="(mostly complete)"
116891 fi
116892
116893   echo "$as_me:$LINENO: checking for int_least32_t" >&5
116894 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116895 if test "${ac_cv_type_int_least32_t+set}" = set; then
116896   echo $ECHO_N "(cached) $ECHO_C" >&6
116897 else
116898   cat >conftest.$ac_ext <<_ACEOF
116899 /* confdefs.h.  */
116900 _ACEOF
116901 cat confdefs.h >>conftest.$ac_ext
116902 cat >>conftest.$ac_ext <<_ACEOF
116903 /* end confdefs.h.  */
116904 #include <sys/types.h>
116905 #include <$i>
116906
116907 int
116908 main ()
116909 {
116910 if ((int_least32_t *) 0)
116911   return 0;
116912 if (sizeof (int_least32_t))
116913   return 0;
116914   ;
116915   return 0;
116916 }
116917 _ACEOF
116918 rm -f conftest.$ac_objext
116919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116920   (eval $ac_compile) 2>conftest.er1
116921   ac_status=$?
116922   grep -v '^ *+' conftest.er1 >conftest.err
116923   rm -f conftest.er1
116924   cat conftest.err >&5
116925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116926   (exit $ac_status); } &&
116927          { ac_try='test -z "$ac_c_werror_flag"
116928                          || test ! -s conftest.err'
116929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116930   (eval $ac_try) 2>&5
116931   ac_status=$?
116932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116933   (exit $ac_status); }; } &&
116934          { ac_try='test -s conftest.$ac_objext'
116935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116936   (eval $ac_try) 2>&5
116937   ac_status=$?
116938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116939   (exit $ac_status); }; }; then
116940   ac_cv_type_int_least32_t=yes
116941 else
116942   echo "$as_me: failed program was:" >&5
116943 sed 's/^/| /' conftest.$ac_ext >&5
116944
116945 ac_cv_type_int_least32_t=no
116946 fi
116947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116948 fi
116949 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116950 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116951 if test $ac_cv_type_int_least32_t = yes; then
116952   :
116953 else
116954   acx_cv_header_stdint_kind="(mostly complete)"
116955 fi
116956
116957   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116958 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116959 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116960   echo $ECHO_N "(cached) $ECHO_C" >&6
116961 else
116962   cat >conftest.$ac_ext <<_ACEOF
116963 /* confdefs.h.  */
116964 _ACEOF
116965 cat confdefs.h >>conftest.$ac_ext
116966 cat >>conftest.$ac_ext <<_ACEOF
116967 /* end confdefs.h.  */
116968 #include <sys/types.h>
116969 #include <$i>
116970
116971 int
116972 main ()
116973 {
116974 if ((int_fast32_t *) 0)
116975   return 0;
116976 if (sizeof (int_fast32_t))
116977   return 0;
116978   ;
116979   return 0;
116980 }
116981 _ACEOF
116982 rm -f conftest.$ac_objext
116983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116984   (eval $ac_compile) 2>conftest.er1
116985   ac_status=$?
116986   grep -v '^ *+' conftest.er1 >conftest.err
116987   rm -f conftest.er1
116988   cat conftest.err >&5
116989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116990   (exit $ac_status); } &&
116991          { ac_try='test -z "$ac_c_werror_flag"
116992                          || test ! -s conftest.err'
116993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116994   (eval $ac_try) 2>&5
116995   ac_status=$?
116996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116997   (exit $ac_status); }; } &&
116998          { ac_try='test -s conftest.$ac_objext'
116999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117000   (eval $ac_try) 2>&5
117001   ac_status=$?
117002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117003   (exit $ac_status); }; }; then
117004   ac_cv_type_int_fast32_t=yes
117005 else
117006   echo "$as_me: failed program was:" >&5
117007 sed 's/^/| /' conftest.$ac_ext >&5
117008
117009 ac_cv_type_int_fast32_t=no
117010 fi
117011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117012 fi
117013 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
117014 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
117015 if test $ac_cv_type_int_fast32_t = yes; then
117016   :
117017 else
117018   acx_cv_header_stdint_kind="(mostly complete)"
117019 fi
117020
117021   echo "$as_me:$LINENO: checking for uint64_t" >&5
117022 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117023 if test "${ac_cv_type_uint64_t+set}" = set; then
117024   echo $ECHO_N "(cached) $ECHO_C" >&6
117025 else
117026   cat >conftest.$ac_ext <<_ACEOF
117027 /* confdefs.h.  */
117028 _ACEOF
117029 cat confdefs.h >>conftest.$ac_ext
117030 cat >>conftest.$ac_ext <<_ACEOF
117031 /* end confdefs.h.  */
117032 #include <sys/types.h>
117033 #include <$i>
117034
117035 int
117036 main ()
117037 {
117038 if ((uint64_t *) 0)
117039   return 0;
117040 if (sizeof (uint64_t))
117041   return 0;
117042   ;
117043   return 0;
117044 }
117045 _ACEOF
117046 rm -f conftest.$ac_objext
117047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117048   (eval $ac_compile) 2>conftest.er1
117049   ac_status=$?
117050   grep -v '^ *+' conftest.er1 >conftest.err
117051   rm -f conftest.er1
117052   cat conftest.err >&5
117053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117054   (exit $ac_status); } &&
117055          { ac_try='test -z "$ac_c_werror_flag"
117056                          || test ! -s conftest.err'
117057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117058   (eval $ac_try) 2>&5
117059   ac_status=$?
117060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117061   (exit $ac_status); }; } &&
117062          { ac_try='test -s conftest.$ac_objext'
117063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117064   (eval $ac_try) 2>&5
117065   ac_status=$?
117066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117067   (exit $ac_status); }; }; then
117068   ac_cv_type_uint64_t=yes
117069 else
117070   echo "$as_me: failed program was:" >&5
117071 sed 's/^/| /' conftest.$ac_ext >&5
117072
117073 ac_cv_type_uint64_t=no
117074 fi
117075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117076 fi
117077 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117078 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117079 if test $ac_cv_type_uint64_t = yes; then
117080   :
117081 else
117082   acx_cv_header_stdint_kind="(lacks uint64_t)"
117083 fi
117084
117085   break
117086 done
117087 if test "$acx_cv_header_stdint" = stddef.h; then
117088   acx_cv_header_stdint_kind="(lacks uintmax_t)"
117089   for i in stdint.h $inttype_headers; do
117090     unset ac_cv_type_uintptr_t
117091     unset ac_cv_type_uint32_t
117092     unset ac_cv_type_uint64_t
117093     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
117094     echo "$as_me:$LINENO: checking for uint32_t" >&5
117095 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
117096 if test "${ac_cv_type_uint32_t+set}" = set; then
117097   echo $ECHO_N "(cached) $ECHO_C" >&6
117098 else
117099   cat >conftest.$ac_ext <<_ACEOF
117100 /* confdefs.h.  */
117101 _ACEOF
117102 cat confdefs.h >>conftest.$ac_ext
117103 cat >>conftest.$ac_ext <<_ACEOF
117104 /* end confdefs.h.  */
117105 #include <sys/types.h>
117106 #include <$i>
117107
117108 int
117109 main ()
117110 {
117111 if ((uint32_t *) 0)
117112   return 0;
117113 if (sizeof (uint32_t))
117114   return 0;
117115   ;
117116   return 0;
117117 }
117118 _ACEOF
117119 rm -f conftest.$ac_objext
117120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117121   (eval $ac_compile) 2>conftest.er1
117122   ac_status=$?
117123   grep -v '^ *+' conftest.er1 >conftest.err
117124   rm -f conftest.er1
117125   cat conftest.err >&5
117126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117127   (exit $ac_status); } &&
117128          { ac_try='test -z "$ac_c_werror_flag"
117129                          || test ! -s conftest.err'
117130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117131   (eval $ac_try) 2>&5
117132   ac_status=$?
117133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117134   (exit $ac_status); }; } &&
117135          { ac_try='test -s conftest.$ac_objext'
117136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117137   (eval $ac_try) 2>&5
117138   ac_status=$?
117139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117140   (exit $ac_status); }; }; then
117141   ac_cv_type_uint32_t=yes
117142 else
117143   echo "$as_me: failed program was:" >&5
117144 sed 's/^/| /' conftest.$ac_ext >&5
117145
117146 ac_cv_type_uint32_t=no
117147 fi
117148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117149 fi
117150 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
117151 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
117152 if test $ac_cv_type_uint32_t = yes; then
117153   acx_cv_header_stdint=$i
117154 else
117155   continue
117156 fi
117157
117158     echo "$as_me:$LINENO: checking for uint64_t" >&5
117159 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117160 if test "${ac_cv_type_uint64_t+set}" = set; then
117161   echo $ECHO_N "(cached) $ECHO_C" >&6
117162 else
117163   cat >conftest.$ac_ext <<_ACEOF
117164 /* confdefs.h.  */
117165 _ACEOF
117166 cat confdefs.h >>conftest.$ac_ext
117167 cat >>conftest.$ac_ext <<_ACEOF
117168 /* end confdefs.h.  */
117169 #include <sys/types.h>
117170 #include <$i>
117171
117172 int
117173 main ()
117174 {
117175 if ((uint64_t *) 0)
117176   return 0;
117177 if (sizeof (uint64_t))
117178   return 0;
117179   ;
117180   return 0;
117181 }
117182 _ACEOF
117183 rm -f conftest.$ac_objext
117184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117185   (eval $ac_compile) 2>conftest.er1
117186   ac_status=$?
117187   grep -v '^ *+' conftest.er1 >conftest.err
117188   rm -f conftest.er1
117189   cat conftest.err >&5
117190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117191   (exit $ac_status); } &&
117192          { ac_try='test -z "$ac_c_werror_flag"
117193                          || test ! -s conftest.err'
117194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117195   (eval $ac_try) 2>&5
117196   ac_status=$?
117197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117198   (exit $ac_status); }; } &&
117199          { ac_try='test -s conftest.$ac_objext'
117200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117201   (eval $ac_try) 2>&5
117202   ac_status=$?
117203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117204   (exit $ac_status); }; }; then
117205   ac_cv_type_uint64_t=yes
117206 else
117207   echo "$as_me: failed program was:" >&5
117208 sed 's/^/| /' conftest.$ac_ext >&5
117209
117210 ac_cv_type_uint64_t=no
117211 fi
117212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117213 fi
117214 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117215 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117216
117217     echo "$as_me:$LINENO: checking for uintptr_t" >&5
117218 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117219 if test "${ac_cv_type_uintptr_t+set}" = set; then
117220   echo $ECHO_N "(cached) $ECHO_C" >&6
117221 else
117222   cat >conftest.$ac_ext <<_ACEOF
117223 /* confdefs.h.  */
117224 _ACEOF
117225 cat confdefs.h >>conftest.$ac_ext
117226 cat >>conftest.$ac_ext <<_ACEOF
117227 /* end confdefs.h.  */
117228 #include <sys/types.h>
117229 #include <$i>
117230
117231 int
117232 main ()
117233 {
117234 if ((uintptr_t *) 0)
117235   return 0;
117236 if (sizeof (uintptr_t))
117237   return 0;
117238   ;
117239   return 0;
117240 }
117241 _ACEOF
117242 rm -f conftest.$ac_objext
117243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117244   (eval $ac_compile) 2>conftest.er1
117245   ac_status=$?
117246   grep -v '^ *+' conftest.er1 >conftest.err
117247   rm -f conftest.er1
117248   cat conftest.err >&5
117249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117250   (exit $ac_status); } &&
117251          { ac_try='test -z "$ac_c_werror_flag"
117252                          || test ! -s conftest.err'
117253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117254   (eval $ac_try) 2>&5
117255   ac_status=$?
117256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117257   (exit $ac_status); }; } &&
117258          { ac_try='test -s conftest.$ac_objext'
117259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117260   (eval $ac_try) 2>&5
117261   ac_status=$?
117262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117263   (exit $ac_status); }; }; then
117264   ac_cv_type_uintptr_t=yes
117265 else
117266   echo "$as_me: failed program was:" >&5
117267 sed 's/^/| /' conftest.$ac_ext >&5
117268
117269 ac_cv_type_uintptr_t=no
117270 fi
117271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117272 fi
117273 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117274 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117275
117276     break
117277   done
117278 fi
117279 if test "$acx_cv_header_stdint" = stddef.h; then
117280   acx_cv_header_stdint_kind="(u_intXX_t style)"
117281   for i in sys/types.h $inttype_headers; do
117282     unset ac_cv_type_u_int32_t
117283     unset ac_cv_type_u_int64_t
117284     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
117285     echo "$as_me:$LINENO: checking for u_int32_t" >&5
117286 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
117287 if test "${ac_cv_type_u_int32_t+set}" = set; then
117288   echo $ECHO_N "(cached) $ECHO_C" >&6
117289 else
117290   cat >conftest.$ac_ext <<_ACEOF
117291 /* confdefs.h.  */
117292 _ACEOF
117293 cat confdefs.h >>conftest.$ac_ext
117294 cat >>conftest.$ac_ext <<_ACEOF
117295 /* end confdefs.h.  */
117296 #include <sys/types.h>
117297 #include <$i>
117298
117299 int
117300 main ()
117301 {
117302 if ((u_int32_t *) 0)
117303   return 0;
117304 if (sizeof (u_int32_t))
117305   return 0;
117306   ;
117307   return 0;
117308 }
117309 _ACEOF
117310 rm -f conftest.$ac_objext
117311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117312   (eval $ac_compile) 2>conftest.er1
117313   ac_status=$?
117314   grep -v '^ *+' conftest.er1 >conftest.err
117315   rm -f conftest.er1
117316   cat conftest.err >&5
117317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117318   (exit $ac_status); } &&
117319          { ac_try='test -z "$ac_c_werror_flag"
117320                          || test ! -s conftest.err'
117321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117322   (eval $ac_try) 2>&5
117323   ac_status=$?
117324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117325   (exit $ac_status); }; } &&
117326          { ac_try='test -s conftest.$ac_objext'
117327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117328   (eval $ac_try) 2>&5
117329   ac_status=$?
117330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117331   (exit $ac_status); }; }; then
117332   ac_cv_type_u_int32_t=yes
117333 else
117334   echo "$as_me: failed program was:" >&5
117335 sed 's/^/| /' conftest.$ac_ext >&5
117336
117337 ac_cv_type_u_int32_t=no
117338 fi
117339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117340 fi
117341 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
117342 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
117343 if test $ac_cv_type_u_int32_t = yes; then
117344   acx_cv_header_stdint=$i
117345 else
117346   continue
117347 fi
117348
117349     echo "$as_me:$LINENO: checking for u_int64_t" >&5
117350 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
117351 if test "${ac_cv_type_u_int64_t+set}" = set; then
117352   echo $ECHO_N "(cached) $ECHO_C" >&6
117353 else
117354   cat >conftest.$ac_ext <<_ACEOF
117355 /* confdefs.h.  */
117356 _ACEOF
117357 cat confdefs.h >>conftest.$ac_ext
117358 cat >>conftest.$ac_ext <<_ACEOF
117359 /* end confdefs.h.  */
117360 #include <sys/types.h>
117361 #include <$i>
117362
117363 int
117364 main ()
117365 {
117366 if ((u_int64_t *) 0)
117367   return 0;
117368 if (sizeof (u_int64_t))
117369   return 0;
117370   ;
117371   return 0;
117372 }
117373 _ACEOF
117374 rm -f conftest.$ac_objext
117375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117376   (eval $ac_compile) 2>conftest.er1
117377   ac_status=$?
117378   grep -v '^ *+' conftest.er1 >conftest.err
117379   rm -f conftest.er1
117380   cat conftest.err >&5
117381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117382   (exit $ac_status); } &&
117383          { ac_try='test -z "$ac_c_werror_flag"
117384                          || test ! -s conftest.err'
117385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117386   (eval $ac_try) 2>&5
117387   ac_status=$?
117388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117389   (exit $ac_status); }; } &&
117390          { ac_try='test -s conftest.$ac_objext'
117391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117392   (eval $ac_try) 2>&5
117393   ac_status=$?
117394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117395   (exit $ac_status); }; }; then
117396   ac_cv_type_u_int64_t=yes
117397 else
117398   echo "$as_me: failed program was:" >&5
117399 sed 's/^/| /' conftest.$ac_ext >&5
117400
117401 ac_cv_type_u_int64_t=no
117402 fi
117403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117404 fi
117405 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
117406 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
117407
117408     break
117409   done
117410 fi
117411 if test "$acx_cv_header_stdint" = stddef.h; then
117412   acx_cv_header_stdint_kind="(using manual detection)"
117413 fi
117414
117415 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
117416 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
117417 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
117418 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
117419 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
117420
117421 # ----------------- Summarize what we found so far
117422
117423 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
117424 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
117425
117426 case `$as_basename include/gstdint.h ||
117427 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
117428          Xinclude/gstdint.h : 'X\(//\)$' \| \
117429          Xinclude/gstdint.h : 'X\(/\)$' \| \
117430          .     : '\(.\)' 2>/dev/null ||
117431 echo X/include/gstdint.h |
117432     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117433           /^X\/\(\/\/\)$/{ s//\1/; q; }
117434           /^X\/\(\/\).*/{ s//\1/; q; }
117435           s/.*/./; q'` in
117436   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117437 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117438   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117439 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117440   *) ;;
117441 esac
117442
117443 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
117444 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
117445
117446 # ----------------- done included file, check C basic types --------
117447
117448 # Lacking an uintptr_t?  Test size of void *
117449 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
117450   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
117451 echo $ECHO_N "checking for void *... $ECHO_C" >&6
117452 if test "${ac_cv_type_void_p+set}" = set; then
117453   echo $ECHO_N "(cached) $ECHO_C" >&6
117454 else
117455   cat >conftest.$ac_ext <<_ACEOF
117456 /* confdefs.h.  */
117457 _ACEOF
117458 cat confdefs.h >>conftest.$ac_ext
117459 cat >>conftest.$ac_ext <<_ACEOF
117460 /* end confdefs.h.  */
117461 $ac_includes_default
117462 int
117463 main ()
117464 {
117465 if ((void * *) 0)
117466   return 0;
117467 if (sizeof (void *))
117468   return 0;
117469   ;
117470   return 0;
117471 }
117472 _ACEOF
117473 rm -f conftest.$ac_objext
117474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117475   (eval $ac_compile) 2>conftest.er1
117476   ac_status=$?
117477   grep -v '^ *+' conftest.er1 >conftest.err
117478   rm -f conftest.er1
117479   cat conftest.err >&5
117480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117481   (exit $ac_status); } &&
117482          { ac_try='test -z "$ac_c_werror_flag"
117483                          || test ! -s conftest.err'
117484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117485   (eval $ac_try) 2>&5
117486   ac_status=$?
117487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117488   (exit $ac_status); }; } &&
117489          { ac_try='test -s conftest.$ac_objext'
117490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117491   (eval $ac_try) 2>&5
117492   ac_status=$?
117493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117494   (exit $ac_status); }; }; then
117495   ac_cv_type_void_p=yes
117496 else
117497   echo "$as_me: failed program was:" >&5
117498 sed 's/^/| /' conftest.$ac_ext >&5
117499
117500 ac_cv_type_void_p=no
117501 fi
117502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117503 fi
117504 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
117505 echo "${ECHO_T}$ac_cv_type_void_p" >&6
117506
117507 echo "$as_me:$LINENO: checking size of void *" >&5
117508 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
117509 if test "${ac_cv_sizeof_void_p+set}" = set; then
117510   echo $ECHO_N "(cached) $ECHO_C" >&6
117511 else
117512   if test "$ac_cv_type_void_p" = yes; then
117513   # The cast to unsigned long works around a bug in the HP C Compiler
117514   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117515   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117516   # This bug is HP SR number 8606223364.
117517   if test "$cross_compiling" = yes; then
117518   # Depending upon the size, compute the lo and hi bounds.
117519 cat >conftest.$ac_ext <<_ACEOF
117520 /* confdefs.h.  */
117521 _ACEOF
117522 cat confdefs.h >>conftest.$ac_ext
117523 cat >>conftest.$ac_ext <<_ACEOF
117524 /* end confdefs.h.  */
117525 $ac_includes_default
117526 int
117527 main ()
117528 {
117529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
117530 test_array [0] = 0
117531
117532   ;
117533   return 0;
117534 }
117535 _ACEOF
117536 rm -f conftest.$ac_objext
117537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117538   (eval $ac_compile) 2>conftest.er1
117539   ac_status=$?
117540   grep -v '^ *+' conftest.er1 >conftest.err
117541   rm -f conftest.er1
117542   cat conftest.err >&5
117543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117544   (exit $ac_status); } &&
117545          { ac_try='test -z "$ac_c_werror_flag"
117546                          || test ! -s conftest.err'
117547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117548   (eval $ac_try) 2>&5
117549   ac_status=$?
117550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117551   (exit $ac_status); }; } &&
117552          { ac_try='test -s conftest.$ac_objext'
117553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117554   (eval $ac_try) 2>&5
117555   ac_status=$?
117556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117557   (exit $ac_status); }; }; then
117558   ac_lo=0 ac_mid=0
117559   while :; do
117560     cat >conftest.$ac_ext <<_ACEOF
117561 /* confdefs.h.  */
117562 _ACEOF
117563 cat confdefs.h >>conftest.$ac_ext
117564 cat >>conftest.$ac_ext <<_ACEOF
117565 /* end confdefs.h.  */
117566 $ac_includes_default
117567 int
117568 main ()
117569 {
117570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117571 test_array [0] = 0
117572
117573   ;
117574   return 0;
117575 }
117576 _ACEOF
117577 rm -f conftest.$ac_objext
117578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117579   (eval $ac_compile) 2>conftest.er1
117580   ac_status=$?
117581   grep -v '^ *+' conftest.er1 >conftest.err
117582   rm -f conftest.er1
117583   cat conftest.err >&5
117584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117585   (exit $ac_status); } &&
117586          { ac_try='test -z "$ac_c_werror_flag"
117587                          || test ! -s conftest.err'
117588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117589   (eval $ac_try) 2>&5
117590   ac_status=$?
117591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117592   (exit $ac_status); }; } &&
117593          { ac_try='test -s conftest.$ac_objext'
117594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117595   (eval $ac_try) 2>&5
117596   ac_status=$?
117597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117598   (exit $ac_status); }; }; then
117599   ac_hi=$ac_mid; break
117600 else
117601   echo "$as_me: failed program was:" >&5
117602 sed 's/^/| /' conftest.$ac_ext >&5
117603
117604 ac_lo=`expr $ac_mid + 1`
117605                     if test $ac_lo -le $ac_mid; then
117606                       ac_lo= ac_hi=
117607                       break
117608                     fi
117609                     ac_mid=`expr 2 '*' $ac_mid + 1`
117610 fi
117611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117612   done
117613 else
117614   echo "$as_me: failed program was:" >&5
117615 sed 's/^/| /' conftest.$ac_ext >&5
117616
117617 cat >conftest.$ac_ext <<_ACEOF
117618 /* confdefs.h.  */
117619 _ACEOF
117620 cat confdefs.h >>conftest.$ac_ext
117621 cat >>conftest.$ac_ext <<_ACEOF
117622 /* end confdefs.h.  */
117623 $ac_includes_default
117624 int
117625 main ()
117626 {
117627 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117628 test_array [0] = 0
117629
117630   ;
117631   return 0;
117632 }
117633 _ACEOF
117634 rm -f conftest.$ac_objext
117635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117636   (eval $ac_compile) 2>conftest.er1
117637   ac_status=$?
117638   grep -v '^ *+' conftest.er1 >conftest.err
117639   rm -f conftest.er1
117640   cat conftest.err >&5
117641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117642   (exit $ac_status); } &&
117643          { ac_try='test -z "$ac_c_werror_flag"
117644                          || test ! -s conftest.err'
117645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117646   (eval $ac_try) 2>&5
117647   ac_status=$?
117648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117649   (exit $ac_status); }; } &&
117650          { ac_try='test -s conftest.$ac_objext'
117651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117652   (eval $ac_try) 2>&5
117653   ac_status=$?
117654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117655   (exit $ac_status); }; }; then
117656   ac_hi=-1 ac_mid=-1
117657   while :; do
117658     cat >conftest.$ac_ext <<_ACEOF
117659 /* confdefs.h.  */
117660 _ACEOF
117661 cat confdefs.h >>conftest.$ac_ext
117662 cat >>conftest.$ac_ext <<_ACEOF
117663 /* end confdefs.h.  */
117664 $ac_includes_default
117665 int
117666 main ()
117667 {
117668 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117669 test_array [0] = 0
117670
117671   ;
117672   return 0;
117673 }
117674 _ACEOF
117675 rm -f conftest.$ac_objext
117676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117677   (eval $ac_compile) 2>conftest.er1
117678   ac_status=$?
117679   grep -v '^ *+' conftest.er1 >conftest.err
117680   rm -f conftest.er1
117681   cat conftest.err >&5
117682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117683   (exit $ac_status); } &&
117684          { ac_try='test -z "$ac_c_werror_flag"
117685                          || test ! -s conftest.err'
117686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117687   (eval $ac_try) 2>&5
117688   ac_status=$?
117689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117690   (exit $ac_status); }; } &&
117691          { ac_try='test -s conftest.$ac_objext'
117692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117693   (eval $ac_try) 2>&5
117694   ac_status=$?
117695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117696   (exit $ac_status); }; }; then
117697   ac_lo=$ac_mid; break
117698 else
117699   echo "$as_me: failed program was:" >&5
117700 sed 's/^/| /' conftest.$ac_ext >&5
117701
117702 ac_hi=`expr '(' $ac_mid ')' - 1`
117703                        if test $ac_mid -le $ac_hi; then
117704                          ac_lo= ac_hi=
117705                          break
117706                        fi
117707                        ac_mid=`expr 2 '*' $ac_mid`
117708 fi
117709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117710   done
117711 else
117712   echo "$as_me: failed program was:" >&5
117713 sed 's/^/| /' conftest.$ac_ext >&5
117714
117715 ac_lo= ac_hi=
117716 fi
117717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117718 fi
117719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117720 # Binary search between lo and hi bounds.
117721 while test "x$ac_lo" != "x$ac_hi"; do
117722   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117723   cat >conftest.$ac_ext <<_ACEOF
117724 /* confdefs.h.  */
117725 _ACEOF
117726 cat confdefs.h >>conftest.$ac_ext
117727 cat >>conftest.$ac_ext <<_ACEOF
117728 /* end confdefs.h.  */
117729 $ac_includes_default
117730 int
117731 main ()
117732 {
117733 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117734 test_array [0] = 0
117735
117736   ;
117737   return 0;
117738 }
117739 _ACEOF
117740 rm -f conftest.$ac_objext
117741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117742   (eval $ac_compile) 2>conftest.er1
117743   ac_status=$?
117744   grep -v '^ *+' conftest.er1 >conftest.err
117745   rm -f conftest.er1
117746   cat conftest.err >&5
117747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117748   (exit $ac_status); } &&
117749          { ac_try='test -z "$ac_c_werror_flag"
117750                          || test ! -s conftest.err'
117751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117752   (eval $ac_try) 2>&5
117753   ac_status=$?
117754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117755   (exit $ac_status); }; } &&
117756          { ac_try='test -s conftest.$ac_objext'
117757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117758   (eval $ac_try) 2>&5
117759   ac_status=$?
117760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117761   (exit $ac_status); }; }; then
117762   ac_hi=$ac_mid
117763 else
117764   echo "$as_me: failed program was:" >&5
117765 sed 's/^/| /' conftest.$ac_ext >&5
117766
117767 ac_lo=`expr '(' $ac_mid ')' + 1`
117768 fi
117769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117770 done
117771 case $ac_lo in
117772 ?*) ac_cv_sizeof_void_p=$ac_lo;;
117773 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117774 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117776 See \`config.log' for more details." >&5
117777 echo "$as_me: error: cannot compute sizeof (void *), 77
117778 See \`config.log' for more details." >&2;}
117779    { (exit 1); exit 1; }; }; } ;;
117780 esac
117781 else
117782   if test "$cross_compiling" = yes; then
117783   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117784 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117785 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117786 See \`config.log' for more details." >&5
117787 echo "$as_me: error: cannot run test program while cross compiling
117788 See \`config.log' for more details." >&2;}
117789    { (exit 1); exit 1; }; }; }
117790 else
117791   cat >conftest.$ac_ext <<_ACEOF
117792 /* confdefs.h.  */
117793 _ACEOF
117794 cat confdefs.h >>conftest.$ac_ext
117795 cat >>conftest.$ac_ext <<_ACEOF
117796 /* end confdefs.h.  */
117797 $ac_includes_default
117798 long longval () { return (long) (sizeof (void *)); }
117799 unsigned long ulongval () { return (long) (sizeof (void *)); }
117800 #include <stdio.h>
117801 #include <stdlib.h>
117802 int
117803 main ()
117804 {
117805
117806   FILE *f = fopen ("conftest.val", "w");
117807   if (! f)
117808     exit (1);
117809   if (((long) (sizeof (void *))) < 0)
117810     {
117811       long i = longval ();
117812       if (i != ((long) (sizeof (void *))))
117813         exit (1);
117814       fprintf (f, "%ld\n", i);
117815     }
117816   else
117817     {
117818       unsigned long i = ulongval ();
117819       if (i != ((long) (sizeof (void *))))
117820         exit (1);
117821       fprintf (f, "%lu\n", i);
117822     }
117823   exit (ferror (f) || fclose (f) != 0);
117824
117825   ;
117826   return 0;
117827 }
117828 _ACEOF
117829 rm -f conftest$ac_exeext
117830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117831   (eval $ac_link) 2>&5
117832   ac_status=$?
117833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117834   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117836   (eval $ac_try) 2>&5
117837   ac_status=$?
117838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117839   (exit $ac_status); }; }; then
117840   ac_cv_sizeof_void_p=`cat conftest.val`
117841 else
117842   echo "$as_me: program exited with status $ac_status" >&5
117843 echo "$as_me: failed program was:" >&5
117844 sed 's/^/| /' conftest.$ac_ext >&5
117845
117846 ( exit $ac_status )
117847 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117848 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117850 See \`config.log' for more details." >&5
117851 echo "$as_me: error: cannot compute sizeof (void *), 77
117852 See \`config.log' for more details." >&2;}
117853    { (exit 1); exit 1; }; }; }
117854 fi
117855 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117856 fi
117857 fi
117858 rm -f conftest.val
117859 else
117860   ac_cv_sizeof_void_p=0
117861 fi
117862 fi
117863 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117864 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117865 cat >>confdefs.h <<_ACEOF
117866 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117867 _ACEOF
117868
117869  ;;
117870 esac
117871
117872 # Lacking an uint64_t?  Test size of long
117873 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117874   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117875 echo $ECHO_N "checking for long... $ECHO_C" >&6
117876 if test "${ac_cv_type_long+set}" = set; then
117877   echo $ECHO_N "(cached) $ECHO_C" >&6
117878 else
117879   cat >conftest.$ac_ext <<_ACEOF
117880 /* confdefs.h.  */
117881 _ACEOF
117882 cat confdefs.h >>conftest.$ac_ext
117883 cat >>conftest.$ac_ext <<_ACEOF
117884 /* end confdefs.h.  */
117885 $ac_includes_default
117886 int
117887 main ()
117888 {
117889 if ((long *) 0)
117890   return 0;
117891 if (sizeof (long))
117892   return 0;
117893   ;
117894   return 0;
117895 }
117896 _ACEOF
117897 rm -f conftest.$ac_objext
117898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117899   (eval $ac_compile) 2>conftest.er1
117900   ac_status=$?
117901   grep -v '^ *+' conftest.er1 >conftest.err
117902   rm -f conftest.er1
117903   cat conftest.err >&5
117904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117905   (exit $ac_status); } &&
117906          { ac_try='test -z "$ac_c_werror_flag"
117907                          || test ! -s conftest.err'
117908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117909   (eval $ac_try) 2>&5
117910   ac_status=$?
117911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117912   (exit $ac_status); }; } &&
117913          { ac_try='test -s conftest.$ac_objext'
117914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117915   (eval $ac_try) 2>&5
117916   ac_status=$?
117917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117918   (exit $ac_status); }; }; then
117919   ac_cv_type_long=yes
117920 else
117921   echo "$as_me: failed program was:" >&5
117922 sed 's/^/| /' conftest.$ac_ext >&5
117923
117924 ac_cv_type_long=no
117925 fi
117926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117927 fi
117928 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117929 echo "${ECHO_T}$ac_cv_type_long" >&6
117930
117931 echo "$as_me:$LINENO: checking size of long" >&5
117932 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117933 if test "${ac_cv_sizeof_long+set}" = set; then
117934   echo $ECHO_N "(cached) $ECHO_C" >&6
117935 else
117936   if test "$ac_cv_type_long" = yes; then
117937   # The cast to unsigned long works around a bug in the HP C Compiler
117938   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117939   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117940   # This bug is HP SR number 8606223364.
117941   if test "$cross_compiling" = yes; then
117942   # Depending upon the size, compute the lo and hi bounds.
117943 cat >conftest.$ac_ext <<_ACEOF
117944 /* confdefs.h.  */
117945 _ACEOF
117946 cat confdefs.h >>conftest.$ac_ext
117947 cat >>conftest.$ac_ext <<_ACEOF
117948 /* end confdefs.h.  */
117949 $ac_includes_default
117950 int
117951 main ()
117952 {
117953 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117954 test_array [0] = 0
117955
117956   ;
117957   return 0;
117958 }
117959 _ACEOF
117960 rm -f conftest.$ac_objext
117961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117962   (eval $ac_compile) 2>conftest.er1
117963   ac_status=$?
117964   grep -v '^ *+' conftest.er1 >conftest.err
117965   rm -f conftest.er1
117966   cat conftest.err >&5
117967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117968   (exit $ac_status); } &&
117969          { ac_try='test -z "$ac_c_werror_flag"
117970                          || test ! -s conftest.err'
117971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117972   (eval $ac_try) 2>&5
117973   ac_status=$?
117974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117975   (exit $ac_status); }; } &&
117976          { ac_try='test -s conftest.$ac_objext'
117977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117978   (eval $ac_try) 2>&5
117979   ac_status=$?
117980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117981   (exit $ac_status); }; }; then
117982   ac_lo=0 ac_mid=0
117983   while :; do
117984     cat >conftest.$ac_ext <<_ACEOF
117985 /* confdefs.h.  */
117986 _ACEOF
117987 cat confdefs.h >>conftest.$ac_ext
117988 cat >>conftest.$ac_ext <<_ACEOF
117989 /* end confdefs.h.  */
117990 $ac_includes_default
117991 int
117992 main ()
117993 {
117994 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117995 test_array [0] = 0
117996
117997   ;
117998   return 0;
117999 }
118000 _ACEOF
118001 rm -f conftest.$ac_objext
118002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118003   (eval $ac_compile) 2>conftest.er1
118004   ac_status=$?
118005   grep -v '^ *+' conftest.er1 >conftest.err
118006   rm -f conftest.er1
118007   cat conftest.err >&5
118008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118009   (exit $ac_status); } &&
118010          { ac_try='test -z "$ac_c_werror_flag"
118011                          || test ! -s conftest.err'
118012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118013   (eval $ac_try) 2>&5
118014   ac_status=$?
118015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118016   (exit $ac_status); }; } &&
118017          { ac_try='test -s conftest.$ac_objext'
118018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118019   (eval $ac_try) 2>&5
118020   ac_status=$?
118021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118022   (exit $ac_status); }; }; then
118023   ac_hi=$ac_mid; break
118024 else
118025   echo "$as_me: failed program was:" >&5
118026 sed 's/^/| /' conftest.$ac_ext >&5
118027
118028 ac_lo=`expr $ac_mid + 1`
118029                     if test $ac_lo -le $ac_mid; then
118030                       ac_lo= ac_hi=
118031                       break
118032                     fi
118033                     ac_mid=`expr 2 '*' $ac_mid + 1`
118034 fi
118035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118036   done
118037 else
118038   echo "$as_me: failed program was:" >&5
118039 sed 's/^/| /' conftest.$ac_ext >&5
118040
118041 cat >conftest.$ac_ext <<_ACEOF
118042 /* confdefs.h.  */
118043 _ACEOF
118044 cat confdefs.h >>conftest.$ac_ext
118045 cat >>conftest.$ac_ext <<_ACEOF
118046 /* end confdefs.h.  */
118047 $ac_includes_default
118048 int
118049 main ()
118050 {
118051 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
118052 test_array [0] = 0
118053
118054   ;
118055   return 0;
118056 }
118057 _ACEOF
118058 rm -f conftest.$ac_objext
118059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118060   (eval $ac_compile) 2>conftest.er1
118061   ac_status=$?
118062   grep -v '^ *+' conftest.er1 >conftest.err
118063   rm -f conftest.er1
118064   cat conftest.err >&5
118065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118066   (exit $ac_status); } &&
118067          { ac_try='test -z "$ac_c_werror_flag"
118068                          || test ! -s conftest.err'
118069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118070   (eval $ac_try) 2>&5
118071   ac_status=$?
118072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118073   (exit $ac_status); }; } &&
118074          { ac_try='test -s conftest.$ac_objext'
118075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118076   (eval $ac_try) 2>&5
118077   ac_status=$?
118078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118079   (exit $ac_status); }; }; then
118080   ac_hi=-1 ac_mid=-1
118081   while :; do
118082     cat >conftest.$ac_ext <<_ACEOF
118083 /* confdefs.h.  */
118084 _ACEOF
118085 cat confdefs.h >>conftest.$ac_ext
118086 cat >>conftest.$ac_ext <<_ACEOF
118087 /* end confdefs.h.  */
118088 $ac_includes_default
118089 int
118090 main ()
118091 {
118092 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
118093 test_array [0] = 0
118094
118095   ;
118096   return 0;
118097 }
118098 _ACEOF
118099 rm -f conftest.$ac_objext
118100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118101   (eval $ac_compile) 2>conftest.er1
118102   ac_status=$?
118103   grep -v '^ *+' conftest.er1 >conftest.err
118104   rm -f conftest.er1
118105   cat conftest.err >&5
118106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118107   (exit $ac_status); } &&
118108          { ac_try='test -z "$ac_c_werror_flag"
118109                          || test ! -s conftest.err'
118110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118111   (eval $ac_try) 2>&5
118112   ac_status=$?
118113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118114   (exit $ac_status); }; } &&
118115          { ac_try='test -s conftest.$ac_objext'
118116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118117   (eval $ac_try) 2>&5
118118   ac_status=$?
118119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118120   (exit $ac_status); }; }; then
118121   ac_lo=$ac_mid; break
118122 else
118123   echo "$as_me: failed program was:" >&5
118124 sed 's/^/| /' conftest.$ac_ext >&5
118125
118126 ac_hi=`expr '(' $ac_mid ')' - 1`
118127                        if test $ac_mid -le $ac_hi; then
118128                          ac_lo= ac_hi=
118129                          break
118130                        fi
118131                        ac_mid=`expr 2 '*' $ac_mid`
118132 fi
118133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118134   done
118135 else
118136   echo "$as_me: failed program was:" >&5
118137 sed 's/^/| /' conftest.$ac_ext >&5
118138
118139 ac_lo= ac_hi=
118140 fi
118141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118142 fi
118143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118144 # Binary search between lo and hi bounds.
118145 while test "x$ac_lo" != "x$ac_hi"; do
118146   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118147   cat >conftest.$ac_ext <<_ACEOF
118148 /* confdefs.h.  */
118149 _ACEOF
118150 cat confdefs.h >>conftest.$ac_ext
118151 cat >>conftest.$ac_ext <<_ACEOF
118152 /* end confdefs.h.  */
118153 $ac_includes_default
118154 int
118155 main ()
118156 {
118157 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118158 test_array [0] = 0
118159
118160   ;
118161   return 0;
118162 }
118163 _ACEOF
118164 rm -f conftest.$ac_objext
118165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118166   (eval $ac_compile) 2>conftest.er1
118167   ac_status=$?
118168   grep -v '^ *+' conftest.er1 >conftest.err
118169   rm -f conftest.er1
118170   cat conftest.err >&5
118171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118172   (exit $ac_status); } &&
118173          { ac_try='test -z "$ac_c_werror_flag"
118174                          || test ! -s conftest.err'
118175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118176   (eval $ac_try) 2>&5
118177   ac_status=$?
118178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118179   (exit $ac_status); }; } &&
118180          { ac_try='test -s conftest.$ac_objext'
118181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118182   (eval $ac_try) 2>&5
118183   ac_status=$?
118184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118185   (exit $ac_status); }; }; then
118186   ac_hi=$ac_mid
118187 else
118188   echo "$as_me: failed program was:" >&5
118189 sed 's/^/| /' conftest.$ac_ext >&5
118190
118191 ac_lo=`expr '(' $ac_mid ')' + 1`
118192 fi
118193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118194 done
118195 case $ac_lo in
118196 ?*) ac_cv_sizeof_long=$ac_lo;;
118197 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118198 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118200 See \`config.log' for more details." >&5
118201 echo "$as_me: error: cannot compute sizeof (long), 77
118202 See \`config.log' for more details." >&2;}
118203    { (exit 1); exit 1; }; }; } ;;
118204 esac
118205 else
118206   if test "$cross_compiling" = yes; then
118207   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118208 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118210 See \`config.log' for more details." >&5
118211 echo "$as_me: error: cannot run test program while cross compiling
118212 See \`config.log' for more details." >&2;}
118213    { (exit 1); exit 1; }; }; }
118214 else
118215   cat >conftest.$ac_ext <<_ACEOF
118216 /* confdefs.h.  */
118217 _ACEOF
118218 cat confdefs.h >>conftest.$ac_ext
118219 cat >>conftest.$ac_ext <<_ACEOF
118220 /* end confdefs.h.  */
118221 $ac_includes_default
118222 long longval () { return (long) (sizeof (long)); }
118223 unsigned long ulongval () { return (long) (sizeof (long)); }
118224 #include <stdio.h>
118225 #include <stdlib.h>
118226 int
118227 main ()
118228 {
118229
118230   FILE *f = fopen ("conftest.val", "w");
118231   if (! f)
118232     exit (1);
118233   if (((long) (sizeof (long))) < 0)
118234     {
118235       long i = longval ();
118236       if (i != ((long) (sizeof (long))))
118237         exit (1);
118238       fprintf (f, "%ld\n", i);
118239     }
118240   else
118241     {
118242       unsigned long i = ulongval ();
118243       if (i != ((long) (sizeof (long))))
118244         exit (1);
118245       fprintf (f, "%lu\n", i);
118246     }
118247   exit (ferror (f) || fclose (f) != 0);
118248
118249   ;
118250   return 0;
118251 }
118252 _ACEOF
118253 rm -f conftest$ac_exeext
118254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118255   (eval $ac_link) 2>&5
118256   ac_status=$?
118257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118258   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118260   (eval $ac_try) 2>&5
118261   ac_status=$?
118262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118263   (exit $ac_status); }; }; then
118264   ac_cv_sizeof_long=`cat conftest.val`
118265 else
118266   echo "$as_me: program exited with status $ac_status" >&5
118267 echo "$as_me: failed program was:" >&5
118268 sed 's/^/| /' conftest.$ac_ext >&5
118269
118270 ( exit $ac_status )
118271 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118272 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118274 See \`config.log' for more details." >&5
118275 echo "$as_me: error: cannot compute sizeof (long), 77
118276 See \`config.log' for more details." >&2;}
118277    { (exit 1); exit 1; }; }; }
118278 fi
118279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118280 fi
118281 fi
118282 rm -f conftest.val
118283 else
118284   ac_cv_sizeof_long=0
118285 fi
118286 fi
118287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
118288 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
118289 cat >>confdefs.h <<_ACEOF
118290 #define SIZEOF_LONG $ac_cv_sizeof_long
118291 _ACEOF
118292
118293  ;;
118294 esac
118295
118296 if test $acx_cv_header_stdint = stddef.h; then
118297   # Lacking a good header?  Test size of everything and deduce all types.
118298   echo "$as_me:$LINENO: checking for int" >&5
118299 echo $ECHO_N "checking for int... $ECHO_C" >&6
118300 if test "${ac_cv_type_int+set}" = set; then
118301   echo $ECHO_N "(cached) $ECHO_C" >&6
118302 else
118303   cat >conftest.$ac_ext <<_ACEOF
118304 /* confdefs.h.  */
118305 _ACEOF
118306 cat confdefs.h >>conftest.$ac_ext
118307 cat >>conftest.$ac_ext <<_ACEOF
118308 /* end confdefs.h.  */
118309 $ac_includes_default
118310 int
118311 main ()
118312 {
118313 if ((int *) 0)
118314   return 0;
118315 if (sizeof (int))
118316   return 0;
118317   ;
118318   return 0;
118319 }
118320 _ACEOF
118321 rm -f conftest.$ac_objext
118322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118323   (eval $ac_compile) 2>conftest.er1
118324   ac_status=$?
118325   grep -v '^ *+' conftest.er1 >conftest.err
118326   rm -f conftest.er1
118327   cat conftest.err >&5
118328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118329   (exit $ac_status); } &&
118330          { ac_try='test -z "$ac_c_werror_flag"
118331                          || test ! -s conftest.err'
118332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118333   (eval $ac_try) 2>&5
118334   ac_status=$?
118335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118336   (exit $ac_status); }; } &&
118337          { ac_try='test -s conftest.$ac_objext'
118338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118339   (eval $ac_try) 2>&5
118340   ac_status=$?
118341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118342   (exit $ac_status); }; }; then
118343   ac_cv_type_int=yes
118344 else
118345   echo "$as_me: failed program was:" >&5
118346 sed 's/^/| /' conftest.$ac_ext >&5
118347
118348 ac_cv_type_int=no
118349 fi
118350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118351 fi
118352 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
118353 echo "${ECHO_T}$ac_cv_type_int" >&6
118354
118355 echo "$as_me:$LINENO: checking size of int" >&5
118356 echo $ECHO_N "checking size of int... $ECHO_C" >&6
118357 if test "${ac_cv_sizeof_int+set}" = set; then
118358   echo $ECHO_N "(cached) $ECHO_C" >&6
118359 else
118360   if test "$ac_cv_type_int" = yes; then
118361   # The cast to unsigned long works around a bug in the HP C Compiler
118362   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118363   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118364   # This bug is HP SR number 8606223364.
118365   if test "$cross_compiling" = yes; then
118366   # Depending upon the size, compute the lo and hi bounds.
118367 cat >conftest.$ac_ext <<_ACEOF
118368 /* confdefs.h.  */
118369 _ACEOF
118370 cat confdefs.h >>conftest.$ac_ext
118371 cat >>conftest.$ac_ext <<_ACEOF
118372 /* end confdefs.h.  */
118373 $ac_includes_default
118374 int
118375 main ()
118376 {
118377 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
118378 test_array [0] = 0
118379
118380   ;
118381   return 0;
118382 }
118383 _ACEOF
118384 rm -f conftest.$ac_objext
118385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118386   (eval $ac_compile) 2>conftest.er1
118387   ac_status=$?
118388   grep -v '^ *+' conftest.er1 >conftest.err
118389   rm -f conftest.er1
118390   cat conftest.err >&5
118391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118392   (exit $ac_status); } &&
118393          { ac_try='test -z "$ac_c_werror_flag"
118394                          || test ! -s conftest.err'
118395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118396   (eval $ac_try) 2>&5
118397   ac_status=$?
118398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118399   (exit $ac_status); }; } &&
118400          { ac_try='test -s conftest.$ac_objext'
118401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118402   (eval $ac_try) 2>&5
118403   ac_status=$?
118404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118405   (exit $ac_status); }; }; then
118406   ac_lo=0 ac_mid=0
118407   while :; do
118408     cat >conftest.$ac_ext <<_ACEOF
118409 /* confdefs.h.  */
118410 _ACEOF
118411 cat confdefs.h >>conftest.$ac_ext
118412 cat >>conftest.$ac_ext <<_ACEOF
118413 /* end confdefs.h.  */
118414 $ac_includes_default
118415 int
118416 main ()
118417 {
118418 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118419 test_array [0] = 0
118420
118421   ;
118422   return 0;
118423 }
118424 _ACEOF
118425 rm -f conftest.$ac_objext
118426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118427   (eval $ac_compile) 2>conftest.er1
118428   ac_status=$?
118429   grep -v '^ *+' conftest.er1 >conftest.err
118430   rm -f conftest.er1
118431   cat conftest.err >&5
118432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118433   (exit $ac_status); } &&
118434          { ac_try='test -z "$ac_c_werror_flag"
118435                          || test ! -s conftest.err'
118436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118437   (eval $ac_try) 2>&5
118438   ac_status=$?
118439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118440   (exit $ac_status); }; } &&
118441          { ac_try='test -s conftest.$ac_objext'
118442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118443   (eval $ac_try) 2>&5
118444   ac_status=$?
118445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118446   (exit $ac_status); }; }; then
118447   ac_hi=$ac_mid; break
118448 else
118449   echo "$as_me: failed program was:" >&5
118450 sed 's/^/| /' conftest.$ac_ext >&5
118451
118452 ac_lo=`expr $ac_mid + 1`
118453                     if test $ac_lo -le $ac_mid; then
118454                       ac_lo= ac_hi=
118455                       break
118456                     fi
118457                     ac_mid=`expr 2 '*' $ac_mid + 1`
118458 fi
118459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118460   done
118461 else
118462   echo "$as_me: failed program was:" >&5
118463 sed 's/^/| /' conftest.$ac_ext >&5
118464
118465 cat >conftest.$ac_ext <<_ACEOF
118466 /* confdefs.h.  */
118467 _ACEOF
118468 cat confdefs.h >>conftest.$ac_ext
118469 cat >>conftest.$ac_ext <<_ACEOF
118470 /* end confdefs.h.  */
118471 $ac_includes_default
118472 int
118473 main ()
118474 {
118475 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
118476 test_array [0] = 0
118477
118478   ;
118479   return 0;
118480 }
118481 _ACEOF
118482 rm -f conftest.$ac_objext
118483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118484   (eval $ac_compile) 2>conftest.er1
118485   ac_status=$?
118486   grep -v '^ *+' conftest.er1 >conftest.err
118487   rm -f conftest.er1
118488   cat conftest.err >&5
118489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118490   (exit $ac_status); } &&
118491          { ac_try='test -z "$ac_c_werror_flag"
118492                          || test ! -s conftest.err'
118493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118494   (eval $ac_try) 2>&5
118495   ac_status=$?
118496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118497   (exit $ac_status); }; } &&
118498          { ac_try='test -s conftest.$ac_objext'
118499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118500   (eval $ac_try) 2>&5
118501   ac_status=$?
118502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118503   (exit $ac_status); }; }; then
118504   ac_hi=-1 ac_mid=-1
118505   while :; do
118506     cat >conftest.$ac_ext <<_ACEOF
118507 /* confdefs.h.  */
118508 _ACEOF
118509 cat confdefs.h >>conftest.$ac_ext
118510 cat >>conftest.$ac_ext <<_ACEOF
118511 /* end confdefs.h.  */
118512 $ac_includes_default
118513 int
118514 main ()
118515 {
118516 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
118517 test_array [0] = 0
118518
118519   ;
118520   return 0;
118521 }
118522 _ACEOF
118523 rm -f conftest.$ac_objext
118524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118525   (eval $ac_compile) 2>conftest.er1
118526   ac_status=$?
118527   grep -v '^ *+' conftest.er1 >conftest.err
118528   rm -f conftest.er1
118529   cat conftest.err >&5
118530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118531   (exit $ac_status); } &&
118532          { ac_try='test -z "$ac_c_werror_flag"
118533                          || test ! -s conftest.err'
118534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118535   (eval $ac_try) 2>&5
118536   ac_status=$?
118537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118538   (exit $ac_status); }; } &&
118539          { ac_try='test -s conftest.$ac_objext'
118540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118541   (eval $ac_try) 2>&5
118542   ac_status=$?
118543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118544   (exit $ac_status); }; }; then
118545   ac_lo=$ac_mid; break
118546 else
118547   echo "$as_me: failed program was:" >&5
118548 sed 's/^/| /' conftest.$ac_ext >&5
118549
118550 ac_hi=`expr '(' $ac_mid ')' - 1`
118551                        if test $ac_mid -le $ac_hi; then
118552                          ac_lo= ac_hi=
118553                          break
118554                        fi
118555                        ac_mid=`expr 2 '*' $ac_mid`
118556 fi
118557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118558   done
118559 else
118560   echo "$as_me: failed program was:" >&5
118561 sed 's/^/| /' conftest.$ac_ext >&5
118562
118563 ac_lo= ac_hi=
118564 fi
118565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118566 fi
118567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118568 # Binary search between lo and hi bounds.
118569 while test "x$ac_lo" != "x$ac_hi"; do
118570   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118571   cat >conftest.$ac_ext <<_ACEOF
118572 /* confdefs.h.  */
118573 _ACEOF
118574 cat confdefs.h >>conftest.$ac_ext
118575 cat >>conftest.$ac_ext <<_ACEOF
118576 /* end confdefs.h.  */
118577 $ac_includes_default
118578 int
118579 main ()
118580 {
118581 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118582 test_array [0] = 0
118583
118584   ;
118585   return 0;
118586 }
118587 _ACEOF
118588 rm -f conftest.$ac_objext
118589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118590   (eval $ac_compile) 2>conftest.er1
118591   ac_status=$?
118592   grep -v '^ *+' conftest.er1 >conftest.err
118593   rm -f conftest.er1
118594   cat conftest.err >&5
118595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118596   (exit $ac_status); } &&
118597          { ac_try='test -z "$ac_c_werror_flag"
118598                          || test ! -s conftest.err'
118599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118600   (eval $ac_try) 2>&5
118601   ac_status=$?
118602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118603   (exit $ac_status); }; } &&
118604          { ac_try='test -s conftest.$ac_objext'
118605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118606   (eval $ac_try) 2>&5
118607   ac_status=$?
118608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118609   (exit $ac_status); }; }; then
118610   ac_hi=$ac_mid
118611 else
118612   echo "$as_me: failed program was:" >&5
118613 sed 's/^/| /' conftest.$ac_ext >&5
118614
118615 ac_lo=`expr '(' $ac_mid ')' + 1`
118616 fi
118617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118618 done
118619 case $ac_lo in
118620 ?*) ac_cv_sizeof_int=$ac_lo;;
118621 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118622 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118624 See \`config.log' for more details." >&5
118625 echo "$as_me: error: cannot compute sizeof (int), 77
118626 See \`config.log' for more details." >&2;}
118627    { (exit 1); exit 1; }; }; } ;;
118628 esac
118629 else
118630   if test "$cross_compiling" = yes; then
118631   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118632 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118634 See \`config.log' for more details." >&5
118635 echo "$as_me: error: cannot run test program while cross compiling
118636 See \`config.log' for more details." >&2;}
118637    { (exit 1); exit 1; }; }; }
118638 else
118639   cat >conftest.$ac_ext <<_ACEOF
118640 /* confdefs.h.  */
118641 _ACEOF
118642 cat confdefs.h >>conftest.$ac_ext
118643 cat >>conftest.$ac_ext <<_ACEOF
118644 /* end confdefs.h.  */
118645 $ac_includes_default
118646 long longval () { return (long) (sizeof (int)); }
118647 unsigned long ulongval () { return (long) (sizeof (int)); }
118648 #include <stdio.h>
118649 #include <stdlib.h>
118650 int
118651 main ()
118652 {
118653
118654   FILE *f = fopen ("conftest.val", "w");
118655   if (! f)
118656     exit (1);
118657   if (((long) (sizeof (int))) < 0)
118658     {
118659       long i = longval ();
118660       if (i != ((long) (sizeof (int))))
118661         exit (1);
118662       fprintf (f, "%ld\n", i);
118663     }
118664   else
118665     {
118666       unsigned long i = ulongval ();
118667       if (i != ((long) (sizeof (int))))
118668         exit (1);
118669       fprintf (f, "%lu\n", i);
118670     }
118671   exit (ferror (f) || fclose (f) != 0);
118672
118673   ;
118674   return 0;
118675 }
118676 _ACEOF
118677 rm -f conftest$ac_exeext
118678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118679   (eval $ac_link) 2>&5
118680   ac_status=$?
118681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118682   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118684   (eval $ac_try) 2>&5
118685   ac_status=$?
118686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118687   (exit $ac_status); }; }; then
118688   ac_cv_sizeof_int=`cat conftest.val`
118689 else
118690   echo "$as_me: program exited with status $ac_status" >&5
118691 echo "$as_me: failed program was:" >&5
118692 sed 's/^/| /' conftest.$ac_ext >&5
118693
118694 ( exit $ac_status )
118695 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118696 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118698 See \`config.log' for more details." >&5
118699 echo "$as_me: error: cannot compute sizeof (int), 77
118700 See \`config.log' for more details." >&2;}
118701    { (exit 1); exit 1; }; }; }
118702 fi
118703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118704 fi
118705 fi
118706 rm -f conftest.val
118707 else
118708   ac_cv_sizeof_int=0
118709 fi
118710 fi
118711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
118712 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
118713 cat >>confdefs.h <<_ACEOF
118714 #define SIZEOF_INT $ac_cv_sizeof_int
118715 _ACEOF
118716
118717
118718   echo "$as_me:$LINENO: checking for short" >&5
118719 echo $ECHO_N "checking for short... $ECHO_C" >&6
118720 if test "${ac_cv_type_short+set}" = set; then
118721   echo $ECHO_N "(cached) $ECHO_C" >&6
118722 else
118723   cat >conftest.$ac_ext <<_ACEOF
118724 /* confdefs.h.  */
118725 _ACEOF
118726 cat confdefs.h >>conftest.$ac_ext
118727 cat >>conftest.$ac_ext <<_ACEOF
118728 /* end confdefs.h.  */
118729 $ac_includes_default
118730 int
118731 main ()
118732 {
118733 if ((short *) 0)
118734   return 0;
118735 if (sizeof (short))
118736   return 0;
118737   ;
118738   return 0;
118739 }
118740 _ACEOF
118741 rm -f conftest.$ac_objext
118742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118743   (eval $ac_compile) 2>conftest.er1
118744   ac_status=$?
118745   grep -v '^ *+' conftest.er1 >conftest.err
118746   rm -f conftest.er1
118747   cat conftest.err >&5
118748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118749   (exit $ac_status); } &&
118750          { ac_try='test -z "$ac_c_werror_flag"
118751                          || test ! -s conftest.err'
118752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118753   (eval $ac_try) 2>&5
118754   ac_status=$?
118755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118756   (exit $ac_status); }; } &&
118757          { ac_try='test -s conftest.$ac_objext'
118758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118759   (eval $ac_try) 2>&5
118760   ac_status=$?
118761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118762   (exit $ac_status); }; }; then
118763   ac_cv_type_short=yes
118764 else
118765   echo "$as_me: failed program was:" >&5
118766 sed 's/^/| /' conftest.$ac_ext >&5
118767
118768 ac_cv_type_short=no
118769 fi
118770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118771 fi
118772 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
118773 echo "${ECHO_T}$ac_cv_type_short" >&6
118774
118775 echo "$as_me:$LINENO: checking size of short" >&5
118776 echo $ECHO_N "checking size of short... $ECHO_C" >&6
118777 if test "${ac_cv_sizeof_short+set}" = set; then
118778   echo $ECHO_N "(cached) $ECHO_C" >&6
118779 else
118780   if test "$ac_cv_type_short" = yes; then
118781   # The cast to unsigned long works around a bug in the HP C Compiler
118782   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118783   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118784   # This bug is HP SR number 8606223364.
118785   if test "$cross_compiling" = yes; then
118786   # Depending upon the size, compute the lo and hi bounds.
118787 cat >conftest.$ac_ext <<_ACEOF
118788 /* confdefs.h.  */
118789 _ACEOF
118790 cat confdefs.h >>conftest.$ac_ext
118791 cat >>conftest.$ac_ext <<_ACEOF
118792 /* end confdefs.h.  */
118793 $ac_includes_default
118794 int
118795 main ()
118796 {
118797 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
118798 test_array [0] = 0
118799
118800   ;
118801   return 0;
118802 }
118803 _ACEOF
118804 rm -f conftest.$ac_objext
118805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118806   (eval $ac_compile) 2>conftest.er1
118807   ac_status=$?
118808   grep -v '^ *+' conftest.er1 >conftest.err
118809   rm -f conftest.er1
118810   cat conftest.err >&5
118811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118812   (exit $ac_status); } &&
118813          { ac_try='test -z "$ac_c_werror_flag"
118814                          || test ! -s conftest.err'
118815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118816   (eval $ac_try) 2>&5
118817   ac_status=$?
118818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118819   (exit $ac_status); }; } &&
118820          { ac_try='test -s conftest.$ac_objext'
118821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118822   (eval $ac_try) 2>&5
118823   ac_status=$?
118824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118825   (exit $ac_status); }; }; then
118826   ac_lo=0 ac_mid=0
118827   while :; do
118828     cat >conftest.$ac_ext <<_ACEOF
118829 /* confdefs.h.  */
118830 _ACEOF
118831 cat confdefs.h >>conftest.$ac_ext
118832 cat >>conftest.$ac_ext <<_ACEOF
118833 /* end confdefs.h.  */
118834 $ac_includes_default
118835 int
118836 main ()
118837 {
118838 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118839 test_array [0] = 0
118840
118841   ;
118842   return 0;
118843 }
118844 _ACEOF
118845 rm -f conftest.$ac_objext
118846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118847   (eval $ac_compile) 2>conftest.er1
118848   ac_status=$?
118849   grep -v '^ *+' conftest.er1 >conftest.err
118850   rm -f conftest.er1
118851   cat conftest.err >&5
118852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118853   (exit $ac_status); } &&
118854          { ac_try='test -z "$ac_c_werror_flag"
118855                          || test ! -s conftest.err'
118856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118857   (eval $ac_try) 2>&5
118858   ac_status=$?
118859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118860   (exit $ac_status); }; } &&
118861          { ac_try='test -s conftest.$ac_objext'
118862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118863   (eval $ac_try) 2>&5
118864   ac_status=$?
118865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118866   (exit $ac_status); }; }; then
118867   ac_hi=$ac_mid; break
118868 else
118869   echo "$as_me: failed program was:" >&5
118870 sed 's/^/| /' conftest.$ac_ext >&5
118871
118872 ac_lo=`expr $ac_mid + 1`
118873                     if test $ac_lo -le $ac_mid; then
118874                       ac_lo= ac_hi=
118875                       break
118876                     fi
118877                     ac_mid=`expr 2 '*' $ac_mid + 1`
118878 fi
118879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118880   done
118881 else
118882   echo "$as_me: failed program was:" >&5
118883 sed 's/^/| /' conftest.$ac_ext >&5
118884
118885 cat >conftest.$ac_ext <<_ACEOF
118886 /* confdefs.h.  */
118887 _ACEOF
118888 cat confdefs.h >>conftest.$ac_ext
118889 cat >>conftest.$ac_ext <<_ACEOF
118890 /* end confdefs.h.  */
118891 $ac_includes_default
118892 int
118893 main ()
118894 {
118895 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118896 test_array [0] = 0
118897
118898   ;
118899   return 0;
118900 }
118901 _ACEOF
118902 rm -f conftest.$ac_objext
118903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118904   (eval $ac_compile) 2>conftest.er1
118905   ac_status=$?
118906   grep -v '^ *+' conftest.er1 >conftest.err
118907   rm -f conftest.er1
118908   cat conftest.err >&5
118909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118910   (exit $ac_status); } &&
118911          { ac_try='test -z "$ac_c_werror_flag"
118912                          || test ! -s conftest.err'
118913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118914   (eval $ac_try) 2>&5
118915   ac_status=$?
118916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118917   (exit $ac_status); }; } &&
118918          { ac_try='test -s conftest.$ac_objext'
118919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118920   (eval $ac_try) 2>&5
118921   ac_status=$?
118922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118923   (exit $ac_status); }; }; then
118924   ac_hi=-1 ac_mid=-1
118925   while :; do
118926     cat >conftest.$ac_ext <<_ACEOF
118927 /* confdefs.h.  */
118928 _ACEOF
118929 cat confdefs.h >>conftest.$ac_ext
118930 cat >>conftest.$ac_ext <<_ACEOF
118931 /* end confdefs.h.  */
118932 $ac_includes_default
118933 int
118934 main ()
118935 {
118936 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118937 test_array [0] = 0
118938
118939   ;
118940   return 0;
118941 }
118942 _ACEOF
118943 rm -f conftest.$ac_objext
118944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118945   (eval $ac_compile) 2>conftest.er1
118946   ac_status=$?
118947   grep -v '^ *+' conftest.er1 >conftest.err
118948   rm -f conftest.er1
118949   cat conftest.err >&5
118950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118951   (exit $ac_status); } &&
118952          { ac_try='test -z "$ac_c_werror_flag"
118953                          || test ! -s conftest.err'
118954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118955   (eval $ac_try) 2>&5
118956   ac_status=$?
118957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118958   (exit $ac_status); }; } &&
118959          { ac_try='test -s conftest.$ac_objext'
118960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118961   (eval $ac_try) 2>&5
118962   ac_status=$?
118963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118964   (exit $ac_status); }; }; then
118965   ac_lo=$ac_mid; break
118966 else
118967   echo "$as_me: failed program was:" >&5
118968 sed 's/^/| /' conftest.$ac_ext >&5
118969
118970 ac_hi=`expr '(' $ac_mid ')' - 1`
118971                        if test $ac_mid -le $ac_hi; then
118972                          ac_lo= ac_hi=
118973                          break
118974                        fi
118975                        ac_mid=`expr 2 '*' $ac_mid`
118976 fi
118977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118978   done
118979 else
118980   echo "$as_me: failed program was:" >&5
118981 sed 's/^/| /' conftest.$ac_ext >&5
118982
118983 ac_lo= ac_hi=
118984 fi
118985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118986 fi
118987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118988 # Binary search between lo and hi bounds.
118989 while test "x$ac_lo" != "x$ac_hi"; do
118990   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118991   cat >conftest.$ac_ext <<_ACEOF
118992 /* confdefs.h.  */
118993 _ACEOF
118994 cat confdefs.h >>conftest.$ac_ext
118995 cat >>conftest.$ac_ext <<_ACEOF
118996 /* end confdefs.h.  */
118997 $ac_includes_default
118998 int
118999 main ()
119000 {
119001 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119002 test_array [0] = 0
119003
119004   ;
119005   return 0;
119006 }
119007 _ACEOF
119008 rm -f conftest.$ac_objext
119009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119010   (eval $ac_compile) 2>conftest.er1
119011   ac_status=$?
119012   grep -v '^ *+' conftest.er1 >conftest.err
119013   rm -f conftest.er1
119014   cat conftest.err >&5
119015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119016   (exit $ac_status); } &&
119017          { ac_try='test -z "$ac_c_werror_flag"
119018                          || test ! -s conftest.err'
119019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119020   (eval $ac_try) 2>&5
119021   ac_status=$?
119022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119023   (exit $ac_status); }; } &&
119024          { ac_try='test -s conftest.$ac_objext'
119025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119026   (eval $ac_try) 2>&5
119027   ac_status=$?
119028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119029   (exit $ac_status); }; }; then
119030   ac_hi=$ac_mid
119031 else
119032   echo "$as_me: failed program was:" >&5
119033 sed 's/^/| /' conftest.$ac_ext >&5
119034
119035 ac_lo=`expr '(' $ac_mid ')' + 1`
119036 fi
119037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119038 done
119039 case $ac_lo in
119040 ?*) ac_cv_sizeof_short=$ac_lo;;
119041 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119042 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119044 See \`config.log' for more details." >&5
119045 echo "$as_me: error: cannot compute sizeof (short), 77
119046 See \`config.log' for more details." >&2;}
119047    { (exit 1); exit 1; }; }; } ;;
119048 esac
119049 else
119050   if test "$cross_compiling" = yes; then
119051   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119052 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119053 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119054 See \`config.log' for more details." >&5
119055 echo "$as_me: error: cannot run test program while cross compiling
119056 See \`config.log' for more details." >&2;}
119057    { (exit 1); exit 1; }; }; }
119058 else
119059   cat >conftest.$ac_ext <<_ACEOF
119060 /* confdefs.h.  */
119061 _ACEOF
119062 cat confdefs.h >>conftest.$ac_ext
119063 cat >>conftest.$ac_ext <<_ACEOF
119064 /* end confdefs.h.  */
119065 $ac_includes_default
119066 long longval () { return (long) (sizeof (short)); }
119067 unsigned long ulongval () { return (long) (sizeof (short)); }
119068 #include <stdio.h>
119069 #include <stdlib.h>
119070 int
119071 main ()
119072 {
119073
119074   FILE *f = fopen ("conftest.val", "w");
119075   if (! f)
119076     exit (1);
119077   if (((long) (sizeof (short))) < 0)
119078     {
119079       long i = longval ();
119080       if (i != ((long) (sizeof (short))))
119081         exit (1);
119082       fprintf (f, "%ld\n", i);
119083     }
119084   else
119085     {
119086       unsigned long i = ulongval ();
119087       if (i != ((long) (sizeof (short))))
119088         exit (1);
119089       fprintf (f, "%lu\n", i);
119090     }
119091   exit (ferror (f) || fclose (f) != 0);
119092
119093   ;
119094   return 0;
119095 }
119096 _ACEOF
119097 rm -f conftest$ac_exeext
119098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119099   (eval $ac_link) 2>&5
119100   ac_status=$?
119101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119102   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119104   (eval $ac_try) 2>&5
119105   ac_status=$?
119106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119107   (exit $ac_status); }; }; then
119108   ac_cv_sizeof_short=`cat conftest.val`
119109 else
119110   echo "$as_me: program exited with status $ac_status" >&5
119111 echo "$as_me: failed program was:" >&5
119112 sed 's/^/| /' conftest.$ac_ext >&5
119113
119114 ( exit $ac_status )
119115 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119116 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119118 See \`config.log' for more details." >&5
119119 echo "$as_me: error: cannot compute sizeof (short), 77
119120 See \`config.log' for more details." >&2;}
119121    { (exit 1); exit 1; }; }; }
119122 fi
119123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119124 fi
119125 fi
119126 rm -f conftest.val
119127 else
119128   ac_cv_sizeof_short=0
119129 fi
119130 fi
119131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
119132 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
119133 cat >>confdefs.h <<_ACEOF
119134 #define SIZEOF_SHORT $ac_cv_sizeof_short
119135 _ACEOF
119136
119137
119138   echo "$as_me:$LINENO: checking for char" >&5
119139 echo $ECHO_N "checking for char... $ECHO_C" >&6
119140 if test "${ac_cv_type_char+set}" = set; then
119141   echo $ECHO_N "(cached) $ECHO_C" >&6
119142 else
119143   cat >conftest.$ac_ext <<_ACEOF
119144 /* confdefs.h.  */
119145 _ACEOF
119146 cat confdefs.h >>conftest.$ac_ext
119147 cat >>conftest.$ac_ext <<_ACEOF
119148 /* end confdefs.h.  */
119149 $ac_includes_default
119150 int
119151 main ()
119152 {
119153 if ((char *) 0)
119154   return 0;
119155 if (sizeof (char))
119156   return 0;
119157   ;
119158   return 0;
119159 }
119160 _ACEOF
119161 rm -f conftest.$ac_objext
119162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119163   (eval $ac_compile) 2>conftest.er1
119164   ac_status=$?
119165   grep -v '^ *+' conftest.er1 >conftest.err
119166   rm -f conftest.er1
119167   cat conftest.err >&5
119168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119169   (exit $ac_status); } &&
119170          { ac_try='test -z "$ac_c_werror_flag"
119171                          || test ! -s conftest.err'
119172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119173   (eval $ac_try) 2>&5
119174   ac_status=$?
119175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119176   (exit $ac_status); }; } &&
119177          { ac_try='test -s conftest.$ac_objext'
119178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119179   (eval $ac_try) 2>&5
119180   ac_status=$?
119181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119182   (exit $ac_status); }; }; then
119183   ac_cv_type_char=yes
119184 else
119185   echo "$as_me: failed program was:" >&5
119186 sed 's/^/| /' conftest.$ac_ext >&5
119187
119188 ac_cv_type_char=no
119189 fi
119190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119191 fi
119192 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
119193 echo "${ECHO_T}$ac_cv_type_char" >&6
119194
119195 echo "$as_me:$LINENO: checking size of char" >&5
119196 echo $ECHO_N "checking size of char... $ECHO_C" >&6
119197 if test "${ac_cv_sizeof_char+set}" = set; then
119198   echo $ECHO_N "(cached) $ECHO_C" >&6
119199 else
119200   if test "$ac_cv_type_char" = yes; then
119201   # The cast to unsigned long works around a bug in the HP C Compiler
119202   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119203   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119204   # This bug is HP SR number 8606223364.
119205   if test "$cross_compiling" = yes; then
119206   # Depending upon the size, compute the lo and hi bounds.
119207 cat >conftest.$ac_ext <<_ACEOF
119208 /* confdefs.h.  */
119209 _ACEOF
119210 cat confdefs.h >>conftest.$ac_ext
119211 cat >>conftest.$ac_ext <<_ACEOF
119212 /* end confdefs.h.  */
119213 $ac_includes_default
119214 int
119215 main ()
119216 {
119217 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
119218 test_array [0] = 0
119219
119220   ;
119221   return 0;
119222 }
119223 _ACEOF
119224 rm -f conftest.$ac_objext
119225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119226   (eval $ac_compile) 2>conftest.er1
119227   ac_status=$?
119228   grep -v '^ *+' conftest.er1 >conftest.err
119229   rm -f conftest.er1
119230   cat conftest.err >&5
119231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119232   (exit $ac_status); } &&
119233          { ac_try='test -z "$ac_c_werror_flag"
119234                          || test ! -s conftest.err'
119235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119236   (eval $ac_try) 2>&5
119237   ac_status=$?
119238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119239   (exit $ac_status); }; } &&
119240          { ac_try='test -s conftest.$ac_objext'
119241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119242   (eval $ac_try) 2>&5
119243   ac_status=$?
119244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119245   (exit $ac_status); }; }; then
119246   ac_lo=0 ac_mid=0
119247   while :; do
119248     cat >conftest.$ac_ext <<_ACEOF
119249 /* confdefs.h.  */
119250 _ACEOF
119251 cat confdefs.h >>conftest.$ac_ext
119252 cat >>conftest.$ac_ext <<_ACEOF
119253 /* end confdefs.h.  */
119254 $ac_includes_default
119255 int
119256 main ()
119257 {
119258 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119259 test_array [0] = 0
119260
119261   ;
119262   return 0;
119263 }
119264 _ACEOF
119265 rm -f conftest.$ac_objext
119266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119267   (eval $ac_compile) 2>conftest.er1
119268   ac_status=$?
119269   grep -v '^ *+' conftest.er1 >conftest.err
119270   rm -f conftest.er1
119271   cat conftest.err >&5
119272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119273   (exit $ac_status); } &&
119274          { ac_try='test -z "$ac_c_werror_flag"
119275                          || test ! -s conftest.err'
119276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119277   (eval $ac_try) 2>&5
119278   ac_status=$?
119279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119280   (exit $ac_status); }; } &&
119281          { ac_try='test -s conftest.$ac_objext'
119282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119283   (eval $ac_try) 2>&5
119284   ac_status=$?
119285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119286   (exit $ac_status); }; }; then
119287   ac_hi=$ac_mid; break
119288 else
119289   echo "$as_me: failed program was:" >&5
119290 sed 's/^/| /' conftest.$ac_ext >&5
119291
119292 ac_lo=`expr $ac_mid + 1`
119293                     if test $ac_lo -le $ac_mid; then
119294                       ac_lo= ac_hi=
119295                       break
119296                     fi
119297                     ac_mid=`expr 2 '*' $ac_mid + 1`
119298 fi
119299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119300   done
119301 else
119302   echo "$as_me: failed program was:" >&5
119303 sed 's/^/| /' conftest.$ac_ext >&5
119304
119305 cat >conftest.$ac_ext <<_ACEOF
119306 /* confdefs.h.  */
119307 _ACEOF
119308 cat confdefs.h >>conftest.$ac_ext
119309 cat >>conftest.$ac_ext <<_ACEOF
119310 /* end confdefs.h.  */
119311 $ac_includes_default
119312 int
119313 main ()
119314 {
119315 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
119316 test_array [0] = 0
119317
119318   ;
119319   return 0;
119320 }
119321 _ACEOF
119322 rm -f conftest.$ac_objext
119323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119324   (eval $ac_compile) 2>conftest.er1
119325   ac_status=$?
119326   grep -v '^ *+' conftest.er1 >conftest.err
119327   rm -f conftest.er1
119328   cat conftest.err >&5
119329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119330   (exit $ac_status); } &&
119331          { ac_try='test -z "$ac_c_werror_flag"
119332                          || test ! -s conftest.err'
119333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119334   (eval $ac_try) 2>&5
119335   ac_status=$?
119336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119337   (exit $ac_status); }; } &&
119338          { ac_try='test -s conftest.$ac_objext'
119339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119340   (eval $ac_try) 2>&5
119341   ac_status=$?
119342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119343   (exit $ac_status); }; }; then
119344   ac_hi=-1 ac_mid=-1
119345   while :; do
119346     cat >conftest.$ac_ext <<_ACEOF
119347 /* confdefs.h.  */
119348 _ACEOF
119349 cat confdefs.h >>conftest.$ac_ext
119350 cat >>conftest.$ac_ext <<_ACEOF
119351 /* end confdefs.h.  */
119352 $ac_includes_default
119353 int
119354 main ()
119355 {
119356 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
119357 test_array [0] = 0
119358
119359   ;
119360   return 0;
119361 }
119362 _ACEOF
119363 rm -f conftest.$ac_objext
119364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119365   (eval $ac_compile) 2>conftest.er1
119366   ac_status=$?
119367   grep -v '^ *+' conftest.er1 >conftest.err
119368   rm -f conftest.er1
119369   cat conftest.err >&5
119370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119371   (exit $ac_status); } &&
119372          { ac_try='test -z "$ac_c_werror_flag"
119373                          || test ! -s conftest.err'
119374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119375   (eval $ac_try) 2>&5
119376   ac_status=$?
119377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119378   (exit $ac_status); }; } &&
119379          { ac_try='test -s conftest.$ac_objext'
119380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119381   (eval $ac_try) 2>&5
119382   ac_status=$?
119383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119384   (exit $ac_status); }; }; then
119385   ac_lo=$ac_mid; break
119386 else
119387   echo "$as_me: failed program was:" >&5
119388 sed 's/^/| /' conftest.$ac_ext >&5
119389
119390 ac_hi=`expr '(' $ac_mid ')' - 1`
119391                        if test $ac_mid -le $ac_hi; then
119392                          ac_lo= ac_hi=
119393                          break
119394                        fi
119395                        ac_mid=`expr 2 '*' $ac_mid`
119396 fi
119397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119398   done
119399 else
119400   echo "$as_me: failed program was:" >&5
119401 sed 's/^/| /' conftest.$ac_ext >&5
119402
119403 ac_lo= ac_hi=
119404 fi
119405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119406 fi
119407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119408 # Binary search between lo and hi bounds.
119409 while test "x$ac_lo" != "x$ac_hi"; do
119410   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119411   cat >conftest.$ac_ext <<_ACEOF
119412 /* confdefs.h.  */
119413 _ACEOF
119414 cat confdefs.h >>conftest.$ac_ext
119415 cat >>conftest.$ac_ext <<_ACEOF
119416 /* end confdefs.h.  */
119417 $ac_includes_default
119418 int
119419 main ()
119420 {
119421 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119422 test_array [0] = 0
119423
119424   ;
119425   return 0;
119426 }
119427 _ACEOF
119428 rm -f conftest.$ac_objext
119429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119430   (eval $ac_compile) 2>conftest.er1
119431   ac_status=$?
119432   grep -v '^ *+' conftest.er1 >conftest.err
119433   rm -f conftest.er1
119434   cat conftest.err >&5
119435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119436   (exit $ac_status); } &&
119437          { ac_try='test -z "$ac_c_werror_flag"
119438                          || test ! -s conftest.err'
119439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119440   (eval $ac_try) 2>&5
119441   ac_status=$?
119442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119443   (exit $ac_status); }; } &&
119444          { ac_try='test -s conftest.$ac_objext'
119445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119446   (eval $ac_try) 2>&5
119447   ac_status=$?
119448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119449   (exit $ac_status); }; }; then
119450   ac_hi=$ac_mid
119451 else
119452   echo "$as_me: failed program was:" >&5
119453 sed 's/^/| /' conftest.$ac_ext >&5
119454
119455 ac_lo=`expr '(' $ac_mid ')' + 1`
119456 fi
119457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119458 done
119459 case $ac_lo in
119460 ?*) ac_cv_sizeof_char=$ac_lo;;
119461 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119462 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119464 See \`config.log' for more details." >&5
119465 echo "$as_me: error: cannot compute sizeof (char), 77
119466 See \`config.log' for more details." >&2;}
119467    { (exit 1); exit 1; }; }; } ;;
119468 esac
119469 else
119470   if test "$cross_compiling" = yes; then
119471   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119473 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119474 See \`config.log' for more details." >&5
119475 echo "$as_me: error: cannot run test program while cross compiling
119476 See \`config.log' for more details." >&2;}
119477    { (exit 1); exit 1; }; }; }
119478 else
119479   cat >conftest.$ac_ext <<_ACEOF
119480 /* confdefs.h.  */
119481 _ACEOF
119482 cat confdefs.h >>conftest.$ac_ext
119483 cat >>conftest.$ac_ext <<_ACEOF
119484 /* end confdefs.h.  */
119485 $ac_includes_default
119486 long longval () { return (long) (sizeof (char)); }
119487 unsigned long ulongval () { return (long) (sizeof (char)); }
119488 #include <stdio.h>
119489 #include <stdlib.h>
119490 int
119491 main ()
119492 {
119493
119494   FILE *f = fopen ("conftest.val", "w");
119495   if (! f)
119496     exit (1);
119497   if (((long) (sizeof (char))) < 0)
119498     {
119499       long i = longval ();
119500       if (i != ((long) (sizeof (char))))
119501         exit (1);
119502       fprintf (f, "%ld\n", i);
119503     }
119504   else
119505     {
119506       unsigned long i = ulongval ();
119507       if (i != ((long) (sizeof (char))))
119508         exit (1);
119509       fprintf (f, "%lu\n", i);
119510     }
119511   exit (ferror (f) || fclose (f) != 0);
119512
119513   ;
119514   return 0;
119515 }
119516 _ACEOF
119517 rm -f conftest$ac_exeext
119518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119519   (eval $ac_link) 2>&5
119520   ac_status=$?
119521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119522   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119524   (eval $ac_try) 2>&5
119525   ac_status=$?
119526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119527   (exit $ac_status); }; }; then
119528   ac_cv_sizeof_char=`cat conftest.val`
119529 else
119530   echo "$as_me: program exited with status $ac_status" >&5
119531 echo "$as_me: failed program was:" >&5
119532 sed 's/^/| /' conftest.$ac_ext >&5
119533
119534 ( exit $ac_status )
119535 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119536 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119538 See \`config.log' for more details." >&5
119539 echo "$as_me: error: cannot compute sizeof (char), 77
119540 See \`config.log' for more details." >&2;}
119541    { (exit 1); exit 1; }; }; }
119542 fi
119543 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119544 fi
119545 fi
119546 rm -f conftest.val
119547 else
119548   ac_cv_sizeof_char=0
119549 fi
119550 fi
119551 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
119552 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
119553 cat >>confdefs.h <<_ACEOF
119554 #define SIZEOF_CHAR $ac_cv_sizeof_char
119555 _ACEOF
119556
119557
119558
119559   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
119560 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
119561   case "$ac_cv_sizeof_char" in
119562     1) acx_cv_type_int8_t=char ;;
119563     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
119564 echo "$as_me: error: no 8-bit type" >&2;}
119565    { (exit please report a bug); exit please report a bug; }; }
119566   esac
119567   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119568 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119569
119570   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119571 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119572   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119573     2:*) acx_cv_type_int16_t=int ;;
119574     *:2) acx_cv_type_int16_t=short ;;
119575     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119576 echo "$as_me: error: no 16-bit type" >&2;}
119577    { (exit please report a bug); exit please report a bug; }; }
119578   esac
119579   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119580 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119581
119582   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119583 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119584   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119585     4:*) acx_cv_type_int32_t=int ;;
119586     *:4) acx_cv_type_int32_t=long ;;
119587     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119588 echo "$as_me: error: no 32-bit type" >&2;}
119589    { (exit please report a bug); exit please report a bug; }; }
119590   esac
119591   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119592 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119593 fi
119594
119595 # These tests are here to make the output prettier
119596
119597 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119598   case "$ac_cv_sizeof_long" in
119599     8) acx_cv_type_int64_t=long ;;
119600   esac
119601   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119602 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119603   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119604 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119605 fi
119606
119607 # Now we can use the above types
119608
119609 if test "$ac_cv_type_uintptr_t" != yes; then
119610   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119611 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119612   case $ac_cv_sizeof_void_p in
119613     2) acx_cv_type_intptr_t=int16_t ;;
119614     4) acx_cv_type_intptr_t=int32_t ;;
119615     8) acx_cv_type_intptr_t=int64_t ;;
119616     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119617 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119618    { (exit please report a bug); exit please report a bug; }; }
119619   esac
119620   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119621 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119622 fi
119623
119624 # ----------------- done all checks, emit header -------------
119625           ac_config_commands="$ac_config_commands include/gstdint.h"
119626
119627
119628
119629
119630 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119631
119632
119633  # Check whether --enable-symvers or --disable-symvers was given.
119634 if test "${enable_symvers+set}" = set; then
119635   enableval="$enable_symvers"
119636
119637       case "$enableval" in
119638        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119639        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119640 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119641    { (exit 1); exit 1; }; } ;;
119642                           esac
119643
119644 else
119645   enable_symvers=yes
119646 fi;
119647
119648
119649 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119650 # don't know enough about $LD to do tricks...
119651
119652
119653 # Turn a 'yes' into a suitable default.
119654 if test x$enable_symvers = xyes ; then
119655   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119656     enable_symvers=no
119657   else
119658     if test $with_gnu_ld = yes ; then
119659       enable_symvers=gnu
119660     else
119661       case ${target_os} in
119662         darwin*)
119663           enable_symvers=darwin ;;
119664         *)
119665           enable_symvers=no ;;
119666       esac
119667     fi
119668   fi
119669 fi
119670
119671 # Check to see if 'darwin' or 'darwin-export' can win.
119672 if test x$enable_symvers = xdarwin-export ; then
119673     enable_symvers=darwin
119674 fi
119675
119676 # Check to see if 'gnu' can win.
119677 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119678   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119679   echo "$as_me:$LINENO: checking for shared libgcc" >&5
119680 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119681   ac_save_CFLAGS="$CFLAGS"
119682   CFLAGS=' -lgcc_s'
119683   if test x$gcc_no_link = xyes; then
119684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119686    { (exit 1); exit 1; }; }
119687 fi
119688 cat >conftest.$ac_ext <<_ACEOF
119689 /* confdefs.h.  */
119690 _ACEOF
119691 cat confdefs.h >>conftest.$ac_ext
119692 cat >>conftest.$ac_ext <<_ACEOF
119693 /* end confdefs.h.  */
119694
119695 int
119696 main ()
119697 {
119698 return 0;
119699   ;
119700   return 0;
119701 }
119702 _ACEOF
119703 rm -f conftest.$ac_objext conftest$ac_exeext
119704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119705   (eval $ac_link) 2>conftest.er1
119706   ac_status=$?
119707   grep -v '^ *+' conftest.er1 >conftest.err
119708   rm -f conftest.er1
119709   cat conftest.err >&5
119710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119711   (exit $ac_status); } &&
119712          { ac_try='test -z "$ac_c_werror_flag"
119713                          || test ! -s conftest.err'
119714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119715   (eval $ac_try) 2>&5
119716   ac_status=$?
119717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119718   (exit $ac_status); }; } &&
119719          { ac_try='test -s conftest$ac_exeext'
119720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119721   (eval $ac_try) 2>&5
119722   ac_status=$?
119723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119724   (exit $ac_status); }; }; then
119725   glibcxx_shared_libgcc=yes
119726 else
119727   echo "$as_me: failed program was:" >&5
119728 sed 's/^/| /' conftest.$ac_ext >&5
119729
119730 glibcxx_shared_libgcc=no
119731 fi
119732 rm -f conftest.err conftest.$ac_objext \
119733       conftest$ac_exeext conftest.$ac_ext
119734   CFLAGS="$ac_save_CFLAGS"
119735   if test $glibcxx_shared_libgcc = no; then
119736     cat > conftest.c <<EOF
119737 int main (void) { return 0; }
119738 EOF
119739     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
119740                              -shared -shared-libgcc -o conftest.so \
119741                              conftest.c -v 2>&1 >/dev/null \
119742                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
119743     rm -f conftest.c conftest.so
119744     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
119745       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
119746       if test x$gcc_no_link = xyes; then
119747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119749    { (exit 1); exit 1; }; }
119750 fi
119751 cat >conftest.$ac_ext <<_ACEOF
119752 /* confdefs.h.  */
119753 _ACEOF
119754 cat confdefs.h >>conftest.$ac_ext
119755 cat >>conftest.$ac_ext <<_ACEOF
119756 /* end confdefs.h.  */
119757
119758 int
119759 main ()
119760 {
119761 return 0;
119762   ;
119763   return 0;
119764 }
119765 _ACEOF
119766 rm -f conftest.$ac_objext conftest$ac_exeext
119767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119768   (eval $ac_link) 2>conftest.er1
119769   ac_status=$?
119770   grep -v '^ *+' conftest.er1 >conftest.err
119771   rm -f conftest.er1
119772   cat conftest.err >&5
119773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119774   (exit $ac_status); } &&
119775          { ac_try='test -z "$ac_c_werror_flag"
119776                          || test ! -s conftest.err'
119777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119778   (eval $ac_try) 2>&5
119779   ac_status=$?
119780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119781   (exit $ac_status); }; } &&
119782          { ac_try='test -s conftest$ac_exeext'
119783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119784   (eval $ac_try) 2>&5
119785   ac_status=$?
119786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119787   (exit $ac_status); }; }; then
119788   glibcxx_shared_libgcc=yes
119789 else
119790   echo "$as_me: failed program was:" >&5
119791 sed 's/^/| /' conftest.$ac_ext >&5
119792
119793 fi
119794 rm -f conftest.err conftest.$ac_objext \
119795       conftest$ac_exeext conftest.$ac_ext
119796       CFLAGS="$ac_save_CFLAGS"
119797     fi
119798   fi
119799   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
119800 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
119801
119802   # For GNU ld, we need at least this version.  The format is described in
119803   # GLIBCXX_CHECK_LINKER_FEATURES above.
119804   glibcxx_min_gnu_ld_version=21400
119805
119806   # If no shared libgcc, can't win.
119807   if test $glibcxx_shared_libgcc != yes; then
119808       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119809 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119810       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
119811 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
119812       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119813 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119814       enable_symvers=no
119815   elif test $with_gnu_ld != yes ; then
119816     # just fail for now
119817     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119818 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119819     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
119820 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
119821     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119822 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119823     enable_symvers=no
119824   elif test $glibcxx_ld_is_gold = yes ; then
119825     : All versions of gold support symbol versioning.
119826   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
119827     # The right tools, the right setup, but too old.  Fallbacks?
119828     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
119829 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
119830     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
119831 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
119832     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
119833 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
119834     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
119835 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
119836     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119837 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119838     enable_symvers=no
119839   fi
119840 fi
119841
119842 # Everything parsed; figure out what file to use.
119843 case $enable_symvers in
119844   no)
119845     SYMVER_FILE=config/abi/pre/none.ver
119846     ;;
119847   gnu)
119848     SYMVER_FILE=config/abi/pre/gnu.ver
119849
119850 cat >>confdefs.h <<\_ACEOF
119851 #define _GLIBCXX_SYMVER_GNU 1
119852 _ACEOF
119853
119854     ;;
119855   gnu-versioned-namespace)
119856     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119857
119858 cat >>confdefs.h <<\_ACEOF
119859 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119860 _ACEOF
119861
119862     ;;
119863   darwin)
119864     SYMVER_FILE=config/abi/pre/gnu.ver
119865
119866 cat >>confdefs.h <<\_ACEOF
119867 #define _GLIBCXX_SYMVER_DARWIN 1
119868 _ACEOF
119869
119870     ;;
119871 esac
119872
119873 if test x$enable_symvers != xno ; then
119874
119875 cat >>confdefs.h <<\_ACEOF
119876 #define _GLIBCXX_SYMVER 1
119877 _ACEOF
119878
119879 fi
119880
119881
119882
119883
119884
119885
119886
119887 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119888 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119889
119890 # Now, set up compatibility support, if any.
119891 # In addition, need this to deal with std::size_t mangling in
119892 # src/compatibility.cc.  In a perfect world, could use
119893 # typeid(std::size_t).name()[0] to do direct substitution.
119894 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119895 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119896 ac_save_CFLAGS="$CFLAGS"
119897 CFLAGS="-Werror"
119898 cat >conftest.$ac_ext <<_ACEOF
119899 /* confdefs.h.  */
119900 _ACEOF
119901 cat confdefs.h >>conftest.$ac_ext
119902 cat >>conftest.$ac_ext <<_ACEOF
119903 /* end confdefs.h.  */
119904
119905 int
119906 main ()
119907 {
119908 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119909   ;
119910   return 0;
119911 }
119912 _ACEOF
119913 rm -f conftest.$ac_objext
119914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119915   (eval $ac_compile) 2>conftest.er1
119916   ac_status=$?
119917   grep -v '^ *+' conftest.er1 >conftest.err
119918   rm -f conftest.er1
119919   cat conftest.err >&5
119920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119921   (exit $ac_status); } &&
119922          { ac_try='test -z "$ac_c_werror_flag"
119923                          || test ! -s conftest.err'
119924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119925   (eval $ac_try) 2>&5
119926   ac_status=$?
119927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119928   (exit $ac_status); }; } &&
119929          { ac_try='test -s conftest.$ac_objext'
119930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119931   (eval $ac_try) 2>&5
119932   ac_status=$?
119933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119934   (exit $ac_status); }; }; then
119935   glibcxx_size_t_is_i=yes
119936 else
119937   echo "$as_me: failed program was:" >&5
119938 sed 's/^/| /' conftest.$ac_ext >&5
119939
119940 glibcxx_size_t_is_i=no
119941 fi
119942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119943 CFLAGS=$ac_save_CFLAGS
119944 if test "$glibcxx_size_t_is_i" = yes; then
119945
119946 cat >>confdefs.h <<\_ACEOF
119947 #define _GLIBCXX_SIZE_T_IS_UINT 1
119948 _ACEOF
119949
119950 fi
119951 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119952 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119953
119954 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119955 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119956 ac_save_CFLAGS="$CFLAGS"
119957 CFLAGS="-Werror"
119958 cat >conftest.$ac_ext <<_ACEOF
119959 /* confdefs.h.  */
119960 _ACEOF
119961 cat confdefs.h >>conftest.$ac_ext
119962 cat >>conftest.$ac_ext <<_ACEOF
119963 /* end confdefs.h.  */
119964
119965 int
119966 main ()
119967 {
119968 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119969   ;
119970   return 0;
119971 }
119972 _ACEOF
119973 rm -f conftest.$ac_objext
119974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119975   (eval $ac_compile) 2>conftest.er1
119976   ac_status=$?
119977   grep -v '^ *+' conftest.er1 >conftest.err
119978   rm -f conftest.er1
119979   cat conftest.err >&5
119980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119981   (exit $ac_status); } &&
119982          { ac_try='test -z "$ac_c_werror_flag"
119983                          || test ! -s conftest.err'
119984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119985   (eval $ac_try) 2>&5
119986   ac_status=$?
119987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119988   (exit $ac_status); }; } &&
119989          { ac_try='test -s conftest.$ac_objext'
119990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119991   (eval $ac_try) 2>&5
119992   ac_status=$?
119993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119994   (exit $ac_status); }; }; then
119995   glibcxx_ptrdiff_t_is_i=yes
119996 else
119997   echo "$as_me: failed program was:" >&5
119998 sed 's/^/| /' conftest.$ac_ext >&5
119999
120000 glibcxx_ptrdiff_t_is_i=no
120001 fi
120002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120003 CFLAGS=$ac_save_CFLAGS
120004 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
120005
120006 cat >>confdefs.h <<\_ACEOF
120007 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
120008 _ACEOF
120009
120010 fi
120011 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
120012 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
120013
120014
120015  # Check whether --enable-visibility or --disable-visibility was given.
120016 if test "${enable_visibility+set}" = set; then
120017   enableval="$enable_visibility"
120018
120019       case "$enableval" in
120020        yes|no) ;;
120021        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
120022 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
120023    { (exit 1); exit 1; }; } ;;
120024       esac
120025
120026 else
120027   enable_visibility=yes
120028 fi;
120029
120030
120031 if test x$enable_visibility = xyes ; then
120032       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
120033 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
120034 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
120035   echo $ECHO_N "(cached) $ECHO_C" >&6
120036 else
120037
120038   save_CFLAGS="$CFLAGS"
120039   CFLAGS="$CFLAGS -Werror"
120040   cat >conftest.$ac_ext <<_ACEOF
120041 /* confdefs.h.  */
120042 _ACEOF
120043 cat confdefs.h >>conftest.$ac_ext
120044 cat >>conftest.$ac_ext <<_ACEOF
120045 /* end confdefs.h.  */
120046 void __attribute__((visibility("hidden"))) foo(void) { }
120047 int
120048 main ()
120049 {
120050
120051   ;
120052   return 0;
120053 }
120054 _ACEOF
120055 rm -f conftest.$ac_objext
120056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120057   (eval $ac_compile) 2>conftest.er1
120058   ac_status=$?
120059   grep -v '^ *+' conftest.er1 >conftest.err
120060   rm -f conftest.er1
120061   cat conftest.err >&5
120062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120063   (exit $ac_status); } &&
120064          { ac_try='test -z "$ac_c_werror_flag"
120065                          || test ! -s conftest.err'
120066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120067   (eval $ac_try) 2>&5
120068   ac_status=$?
120069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120070   (exit $ac_status); }; } &&
120071          { ac_try='test -s conftest.$ac_objext'
120072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120073   (eval $ac_try) 2>&5
120074   ac_status=$?
120075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120076   (exit $ac_status); }; }; then
120077   glibcxx_cv_have_attribute_visibility=yes
120078 else
120079   echo "$as_me: failed program was:" >&5
120080 sed 's/^/| /' conftest.$ac_ext >&5
120081
120082 glibcxx_cv_have_attribute_visibility=no
120083 fi
120084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120085   CFLAGS="$save_CFLAGS"
120086 fi
120087 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
120088 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
120089   if test $glibcxx_cv_have_attribute_visibility = no; then
120090     enable_visibility=no
120091   fi
120092 fi
120093
120094
120095 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
120096 echo "$as_me: visibility supported: $enable_visibility" >&6;}
120097
120098
120099 ac_ldbl_compat=no
120100 case "$target" in
120101   powerpc*-*-linux* | \
120102   powerpc*-*-gnu* | \
120103   sparc*-*-linux* | \
120104   s390*-*-linux* | \
120105   alpha*-*-linux*)
120106   cat >conftest.$ac_ext <<_ACEOF
120107 /* confdefs.h.  */
120108 _ACEOF
120109 cat confdefs.h >>conftest.$ac_ext
120110 cat >>conftest.$ac_ext <<_ACEOF
120111 /* end confdefs.h.  */
120112
120113 int
120114 main ()
120115 {
120116
120117 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
120118 #error no need for long double compatibility
120119 #endif
120120
120121   ;
120122   return 0;
120123 }
120124 _ACEOF
120125 rm -f conftest.$ac_objext
120126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120127   (eval $ac_compile) 2>conftest.er1
120128   ac_status=$?
120129   grep -v '^ *+' conftest.er1 >conftest.err
120130   rm -f conftest.er1
120131   cat conftest.err >&5
120132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120133   (exit $ac_status); } &&
120134          { ac_try='test -z "$ac_c_werror_flag"
120135                          || test ! -s conftest.err'
120136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120137   (eval $ac_try) 2>&5
120138   ac_status=$?
120139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120140   (exit $ac_status); }; } &&
120141          { ac_try='test -s conftest.$ac_objext'
120142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120143   (eval $ac_try) 2>&5
120144   ac_status=$?
120145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120146   (exit $ac_status); }; }; then
120147   ac_ldbl_compat=yes
120148 else
120149   echo "$as_me: failed program was:" >&5
120150 sed 's/^/| /' conftest.$ac_ext >&5
120151
120152 ac_ldbl_compat=no
120153 fi
120154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120155   if test "$ac_ldbl_compat" = yes; then
120156
120157 cat >>confdefs.h <<\_ACEOF
120158 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
120159 _ACEOF
120160
120161     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
120162   fi
120163 esac
120164
120165
120166 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
120167
120168   if $GLIBCXX_IS_NATIVE ; then
120169     # Do checks for resource limit functions.
120170
120171   setrlimit_have_headers=yes
120172
120173
120174
120175 for ac_header in unistd.h sys/time.h sys/resource.h
120176 do
120177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
120178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120179   echo "$as_me:$LINENO: checking for $ac_header" >&5
120180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120182   echo $ECHO_N "(cached) $ECHO_C" >&6
120183 fi
120184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120186 else
120187   # Is the header compilable?
120188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
120189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
120190 cat >conftest.$ac_ext <<_ACEOF
120191 /* confdefs.h.  */
120192 _ACEOF
120193 cat confdefs.h >>conftest.$ac_ext
120194 cat >>conftest.$ac_ext <<_ACEOF
120195 /* end confdefs.h.  */
120196 $ac_includes_default
120197 #include <$ac_header>
120198 _ACEOF
120199 rm -f conftest.$ac_objext
120200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120201   (eval $ac_compile) 2>conftest.er1
120202   ac_status=$?
120203   grep -v '^ *+' conftest.er1 >conftest.err
120204   rm -f conftest.er1
120205   cat conftest.err >&5
120206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120207   (exit $ac_status); } &&
120208          { ac_try='test -z "$ac_c_werror_flag"
120209                          || test ! -s conftest.err'
120210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120211   (eval $ac_try) 2>&5
120212   ac_status=$?
120213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120214   (exit $ac_status); }; } &&
120215          { ac_try='test -s conftest.$ac_objext'
120216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120217   (eval $ac_try) 2>&5
120218   ac_status=$?
120219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120220   (exit $ac_status); }; }; then
120221   ac_header_compiler=yes
120222 else
120223   echo "$as_me: failed program was:" >&5
120224 sed 's/^/| /' conftest.$ac_ext >&5
120225
120226 ac_header_compiler=no
120227 fi
120228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
120230 echo "${ECHO_T}$ac_header_compiler" >&6
120231
120232 # Is the header present?
120233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
120234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
120235 cat >conftest.$ac_ext <<_ACEOF
120236 /* confdefs.h.  */
120237 _ACEOF
120238 cat confdefs.h >>conftest.$ac_ext
120239 cat >>conftest.$ac_ext <<_ACEOF
120240 /* end confdefs.h.  */
120241 #include <$ac_header>
120242 _ACEOF
120243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
120244   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
120245   ac_status=$?
120246   grep -v '^ *+' conftest.er1 >conftest.err
120247   rm -f conftest.er1
120248   cat conftest.err >&5
120249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120250   (exit $ac_status); } >/dev/null; then
120251   if test -s conftest.err; then
120252     ac_cpp_err=$ac_c_preproc_warn_flag
120253     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
120254   else
120255     ac_cpp_err=
120256   fi
120257 else
120258   ac_cpp_err=yes
120259 fi
120260 if test -z "$ac_cpp_err"; then
120261   ac_header_preproc=yes
120262 else
120263   echo "$as_me: failed program was:" >&5
120264 sed 's/^/| /' conftest.$ac_ext >&5
120265
120266   ac_header_preproc=no
120267 fi
120268 rm -f conftest.err conftest.$ac_ext
120269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
120270 echo "${ECHO_T}$ac_header_preproc" >&6
120271
120272 # So?  What about this header?
120273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
120274   yes:no: )
120275     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
120276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
120277     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
120278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
120279     ac_header_preproc=yes
120280     ;;
120281   no:yes:* )
120282     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
120283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
120284     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
120285 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
120286     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
120287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
120288     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
120289 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
120290     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
120291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
120292     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
120293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
120294     (
120295       cat <<\_ASBOX
120296 ## ----------------------------------------- ##
120297 ## Report this to the package-unused lists.  ##
120298 ## ----------------------------------------- ##
120299 _ASBOX
120300     ) |
120301       sed "s/^/$as_me: WARNING:     /" >&2
120302     ;;
120303 esac
120304 echo "$as_me:$LINENO: checking for $ac_header" >&5
120305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120307   echo $ECHO_N "(cached) $ECHO_C" >&6
120308 else
120309   eval "$as_ac_Header=\$ac_header_preproc"
120310 fi
120311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120313
120314 fi
120315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
120316   cat >>confdefs.h <<_ACEOF
120317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
120318 _ACEOF
120319
120320 else
120321   setrlimit_have_headers=no
120322 fi
120323
120324 done
120325
120326   # If don't have the headers, then we can't run the tests now, and we
120327   # won't be seeing any of these during testsuite compilation.
120328   if test $setrlimit_have_headers = yes; then
120329     # Can't do these in a loop, else the resulting syntax is wrong.
120330
120331   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
120332 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
120333   cat >conftest.$ac_ext <<_ACEOF
120334 /* confdefs.h.  */
120335 _ACEOF
120336 cat confdefs.h >>conftest.$ac_ext
120337 cat >>conftest.$ac_ext <<_ACEOF
120338 /* end confdefs.h.  */
120339 #include <unistd.h>
120340      #include <sys/time.h>
120341      #include <sys/resource.h>
120342
120343 int
120344 main ()
120345 {
120346  int f = RLIMIT_DATA ;
120347   ;
120348   return 0;
120349 }
120350 _ACEOF
120351 rm -f conftest.$ac_objext
120352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120353   (eval $ac_compile) 2>conftest.er1
120354   ac_status=$?
120355   grep -v '^ *+' conftest.er1 >conftest.err
120356   rm -f conftest.er1
120357   cat conftest.err >&5
120358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120359   (exit $ac_status); } &&
120360          { ac_try='test -z "$ac_c_werror_flag"
120361                          || test ! -s conftest.err'
120362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120363   (eval $ac_try) 2>&5
120364   ac_status=$?
120365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120366   (exit $ac_status); }; } &&
120367          { ac_try='test -s conftest.$ac_objext'
120368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120369   (eval $ac_try) 2>&5
120370   ac_status=$?
120371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120372   (exit $ac_status); }; }; then
120373   glibcxx_mresult=1
120374 else
120375   echo "$as_me: failed program was:" >&5
120376 sed 's/^/| /' conftest.$ac_ext >&5
120377
120378 glibcxx_mresult=0
120379 fi
120380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120381
120382 cat >>confdefs.h <<_ACEOF
120383 #define HAVE_LIMIT_DATA $glibcxx_mresult
120384 _ACEOF
120385
120386   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120387   echo "$as_me:$LINENO: result: $res" >&5
120388 echo "${ECHO_T}$res" >&6
120389
120390
120391   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
120392 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
120393   cat >conftest.$ac_ext <<_ACEOF
120394 /* confdefs.h.  */
120395 _ACEOF
120396 cat confdefs.h >>conftest.$ac_ext
120397 cat >>conftest.$ac_ext <<_ACEOF
120398 /* end confdefs.h.  */
120399 #include <unistd.h>
120400      #include <sys/time.h>
120401      #include <sys/resource.h>
120402
120403 int
120404 main ()
120405 {
120406  int f = RLIMIT_RSS ;
120407   ;
120408   return 0;
120409 }
120410 _ACEOF
120411 rm -f conftest.$ac_objext
120412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120413   (eval $ac_compile) 2>conftest.er1
120414   ac_status=$?
120415   grep -v '^ *+' conftest.er1 >conftest.err
120416   rm -f conftest.er1
120417   cat conftest.err >&5
120418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120419   (exit $ac_status); } &&
120420          { ac_try='test -z "$ac_c_werror_flag"
120421                          || test ! -s conftest.err'
120422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120423   (eval $ac_try) 2>&5
120424   ac_status=$?
120425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120426   (exit $ac_status); }; } &&
120427          { ac_try='test -s conftest.$ac_objext'
120428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120429   (eval $ac_try) 2>&5
120430   ac_status=$?
120431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120432   (exit $ac_status); }; }; then
120433   glibcxx_mresult=1
120434 else
120435   echo "$as_me: failed program was:" >&5
120436 sed 's/^/| /' conftest.$ac_ext >&5
120437
120438 glibcxx_mresult=0
120439 fi
120440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120441
120442 cat >>confdefs.h <<_ACEOF
120443 #define HAVE_LIMIT_RSS $glibcxx_mresult
120444 _ACEOF
120445
120446   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120447   echo "$as_me:$LINENO: result: $res" >&5
120448 echo "${ECHO_T}$res" >&6
120449
120450
120451   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
120452 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
120453   cat >conftest.$ac_ext <<_ACEOF
120454 /* confdefs.h.  */
120455 _ACEOF
120456 cat confdefs.h >>conftest.$ac_ext
120457 cat >>conftest.$ac_ext <<_ACEOF
120458 /* end confdefs.h.  */
120459 #include <unistd.h>
120460      #include <sys/time.h>
120461      #include <sys/resource.h>
120462
120463 int
120464 main ()
120465 {
120466  int f = RLIMIT_VMEM ;
120467   ;
120468   return 0;
120469 }
120470 _ACEOF
120471 rm -f conftest.$ac_objext
120472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120473   (eval $ac_compile) 2>conftest.er1
120474   ac_status=$?
120475   grep -v '^ *+' conftest.er1 >conftest.err
120476   rm -f conftest.er1
120477   cat conftest.err >&5
120478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120479   (exit $ac_status); } &&
120480          { ac_try='test -z "$ac_c_werror_flag"
120481                          || test ! -s conftest.err'
120482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120483   (eval $ac_try) 2>&5
120484   ac_status=$?
120485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120486   (exit $ac_status); }; } &&
120487          { ac_try='test -s conftest.$ac_objext'
120488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120489   (eval $ac_try) 2>&5
120490   ac_status=$?
120491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120492   (exit $ac_status); }; }; then
120493   glibcxx_mresult=1
120494 else
120495   echo "$as_me: failed program was:" >&5
120496 sed 's/^/| /' conftest.$ac_ext >&5
120497
120498 glibcxx_mresult=0
120499 fi
120500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120501
120502 cat >>confdefs.h <<_ACEOF
120503 #define HAVE_LIMIT_VMEM $glibcxx_mresult
120504 _ACEOF
120505
120506   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120507   echo "$as_me:$LINENO: result: $res" >&5
120508 echo "${ECHO_T}$res" >&6
120509
120510
120511   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
120512 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
120513   cat >conftest.$ac_ext <<_ACEOF
120514 /* confdefs.h.  */
120515 _ACEOF
120516 cat confdefs.h >>conftest.$ac_ext
120517 cat >>conftest.$ac_ext <<_ACEOF
120518 /* end confdefs.h.  */
120519 #include <unistd.h>
120520      #include <sys/time.h>
120521      #include <sys/resource.h>
120522
120523 int
120524 main ()
120525 {
120526  int f = RLIMIT_AS ;
120527   ;
120528   return 0;
120529 }
120530 _ACEOF
120531 rm -f conftest.$ac_objext
120532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120533   (eval $ac_compile) 2>conftest.er1
120534   ac_status=$?
120535   grep -v '^ *+' conftest.er1 >conftest.err
120536   rm -f conftest.er1
120537   cat conftest.err >&5
120538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120539   (exit $ac_status); } &&
120540          { ac_try='test -z "$ac_c_werror_flag"
120541                          || test ! -s conftest.err'
120542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120543   (eval $ac_try) 2>&5
120544   ac_status=$?
120545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120546   (exit $ac_status); }; } &&
120547          { ac_try='test -s conftest.$ac_objext'
120548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120549   (eval $ac_try) 2>&5
120550   ac_status=$?
120551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120552   (exit $ac_status); }; }; then
120553   glibcxx_mresult=1
120554 else
120555   echo "$as_me: failed program was:" >&5
120556 sed 's/^/| /' conftest.$ac_ext >&5
120557
120558 glibcxx_mresult=0
120559 fi
120560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120561
120562 cat >>confdefs.h <<_ACEOF
120563 #define HAVE_LIMIT_AS $glibcxx_mresult
120564 _ACEOF
120565
120566   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120567   echo "$as_me:$LINENO: result: $res" >&5
120568 echo "${ECHO_T}$res" >&6
120569
120570
120571   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120572 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120573   cat >conftest.$ac_ext <<_ACEOF
120574 /* confdefs.h.  */
120575 _ACEOF
120576 cat confdefs.h >>conftest.$ac_ext
120577 cat >>conftest.$ac_ext <<_ACEOF
120578 /* end confdefs.h.  */
120579 #include <unistd.h>
120580      #include <sys/time.h>
120581      #include <sys/resource.h>
120582
120583 int
120584 main ()
120585 {
120586  int f = RLIMIT_FSIZE ;
120587   ;
120588   return 0;
120589 }
120590 _ACEOF
120591 rm -f conftest.$ac_objext
120592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120593   (eval $ac_compile) 2>conftest.er1
120594   ac_status=$?
120595   grep -v '^ *+' conftest.er1 >conftest.err
120596   rm -f conftest.er1
120597   cat conftest.err >&5
120598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120599   (exit $ac_status); } &&
120600          { ac_try='test -z "$ac_c_werror_flag"
120601                          || test ! -s conftest.err'
120602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120603   (eval $ac_try) 2>&5
120604   ac_status=$?
120605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120606   (exit $ac_status); }; } &&
120607          { ac_try='test -s conftest.$ac_objext'
120608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120609   (eval $ac_try) 2>&5
120610   ac_status=$?
120611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120612   (exit $ac_status); }; }; then
120613   glibcxx_mresult=1
120614 else
120615   echo "$as_me: failed program was:" >&5
120616 sed 's/^/| /' conftest.$ac_ext >&5
120617
120618 glibcxx_mresult=0
120619 fi
120620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120621
120622 cat >>confdefs.h <<_ACEOF
120623 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120624 _ACEOF
120625
120626   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120627   echo "$as_me:$LINENO: result: $res" >&5
120628 echo "${ECHO_T}$res" >&6
120629
120630
120631     # Check for rlimit, setrlimit.
120632     if test "${glibcxx_cv_setrlimit+set}" = set; then
120633   echo $ECHO_N "(cached) $ECHO_C" >&6
120634 else
120635
120636       cat >conftest.$ac_ext <<_ACEOF
120637 /* confdefs.h.  */
120638 _ACEOF
120639 cat confdefs.h >>conftest.$ac_ext
120640 cat >>conftest.$ac_ext <<_ACEOF
120641 /* end confdefs.h.  */
120642 #include <unistd.h>
120643          #include <sys/time.h>
120644          #include <sys/resource.h>
120645
120646 int
120647 main ()
120648 {
120649 struct rlimit r;
120650          setrlimit(0, &r);
120651   ;
120652   return 0;
120653 }
120654 _ACEOF
120655 rm -f conftest.$ac_objext
120656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120657   (eval $ac_compile) 2>conftest.er1
120658   ac_status=$?
120659   grep -v '^ *+' conftest.er1 >conftest.err
120660   rm -f conftest.er1
120661   cat conftest.err >&5
120662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120663   (exit $ac_status); } &&
120664          { ac_try='test -z "$ac_c_werror_flag"
120665                          || test ! -s conftest.err'
120666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120667   (eval $ac_try) 2>&5
120668   ac_status=$?
120669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120670   (exit $ac_status); }; } &&
120671          { ac_try='test -s conftest.$ac_objext'
120672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120673   (eval $ac_try) 2>&5
120674   ac_status=$?
120675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120676   (exit $ac_status); }; }; then
120677   glibcxx_cv_setrlimit=yes
120678 else
120679   echo "$as_me: failed program was:" >&5
120680 sed 's/^/| /' conftest.$ac_ext >&5
120681
120682 glibcxx_cv_setrlimit=no
120683 fi
120684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120685
120686 fi
120687
120688   fi
120689
120690   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120691 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120692   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120693     ac_res_limits=yes
120694
120695 cat >>confdefs.h <<\_ACEOF
120696 #define _GLIBCXX_RES_LIMITS 1
120697 _ACEOF
120698
120699   else
120700     ac_res_limits=no
120701   fi
120702   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
120703 echo "${ECHO_T}$ac_res_limits" >&6
120704
120705
120706     # Look for setenv, so that extended locale tests can be performed.
120707
120708   echo "$as_me:$LINENO: checking for setenv declaration" >&5
120709 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
120710   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
120711     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
120712   echo $ECHO_N "(cached) $ECHO_C" >&6
120713 else
120714
120715
120716
120717       ac_ext=cc
120718 ac_cpp='$CXXCPP $CPPFLAGS'
120719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120722
120723       cat >conftest.$ac_ext <<_ACEOF
120724 /* confdefs.h.  */
120725 _ACEOF
120726 cat confdefs.h >>conftest.$ac_ext
120727 cat >>conftest.$ac_ext <<_ACEOF
120728 /* end confdefs.h.  */
120729 #include <stdlib.h>
120730 int
120731 main ()
120732 {
120733  setenv(0, 0, 0);
120734   ;
120735   return 0;
120736 }
120737 _ACEOF
120738 rm -f conftest.$ac_objext
120739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120740   (eval $ac_compile) 2>conftest.er1
120741   ac_status=$?
120742   grep -v '^ *+' conftest.er1 >conftest.err
120743   rm -f conftest.er1
120744   cat conftest.err >&5
120745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120746   (exit $ac_status); } &&
120747          { ac_try='test -z "$ac_cxx_werror_flag"
120748                          || test ! -s conftest.err'
120749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120750   (eval $ac_try) 2>&5
120751   ac_status=$?
120752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120753   (exit $ac_status); }; } &&
120754          { ac_try='test -s conftest.$ac_objext'
120755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120756   (eval $ac_try) 2>&5
120757   ac_status=$?
120758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120759   (exit $ac_status); }; }; then
120760   glibcxx_cv_func_setenv_use=yes
120761 else
120762   echo "$as_me: failed program was:" >&5
120763 sed 's/^/| /' conftest.$ac_ext >&5
120764
120765 glibcxx_cv_func_setenv_use=no
120766 fi
120767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120768       ac_ext=c
120769 ac_cpp='$CPP $CPPFLAGS'
120770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120773
120774
120775 fi
120776
120777   fi
120778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
120779 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
120780   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
120781
120782 for ac_func in setenv
120783 do
120784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120785 echo "$as_me:$LINENO: checking for $ac_func" >&5
120786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120787 if eval "test \"\${$as_ac_var+set}\" = set"; then
120788   echo $ECHO_N "(cached) $ECHO_C" >&6
120789 else
120790   if test x$gcc_no_link = xyes; then
120791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120793    { (exit 1); exit 1; }; }
120794 fi
120795 cat >conftest.$ac_ext <<_ACEOF
120796 /* confdefs.h.  */
120797 _ACEOF
120798 cat confdefs.h >>conftest.$ac_ext
120799 cat >>conftest.$ac_ext <<_ACEOF
120800 /* end confdefs.h.  */
120801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
120803 #define $ac_func innocuous_$ac_func
120804
120805 /* System header to define __stub macros and hopefully few prototypes,
120806     which can conflict with char $ac_func (); below.
120807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120808     <limits.h> exists even on freestanding compilers.  */
120809
120810 #ifdef __STDC__
120811 # include <limits.h>
120812 #else
120813 # include <assert.h>
120814 #endif
120815
120816 #undef $ac_func
120817
120818 /* Override any gcc2 internal prototype to avoid an error.  */
120819 #ifdef __cplusplus
120820 extern "C"
120821 {
120822 #endif
120823 /* We use char because int might match the return type of a gcc2
120824    builtin and then its argument prototype would still apply.  */
120825 char $ac_func ();
120826 /* The GNU C library defines this for functions which it implements
120827     to always fail with ENOSYS.  Some functions are actually named
120828     something starting with __ and the normal name is an alias.  */
120829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120830 choke me
120831 #else
120832 char (*f) () = $ac_func;
120833 #endif
120834 #ifdef __cplusplus
120835 }
120836 #endif
120837
120838 int
120839 main ()
120840 {
120841 return f != $ac_func;
120842   ;
120843   return 0;
120844 }
120845 _ACEOF
120846 rm -f conftest.$ac_objext conftest$ac_exeext
120847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120848   (eval $ac_link) 2>conftest.er1
120849   ac_status=$?
120850   grep -v '^ *+' conftest.er1 >conftest.err
120851   rm -f conftest.er1
120852   cat conftest.err >&5
120853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120854   (exit $ac_status); } &&
120855          { ac_try='test -z "$ac_c_werror_flag"
120856                          || test ! -s conftest.err'
120857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120858   (eval $ac_try) 2>&5
120859   ac_status=$?
120860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120861   (exit $ac_status); }; } &&
120862          { ac_try='test -s conftest$ac_exeext'
120863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120864   (eval $ac_try) 2>&5
120865   ac_status=$?
120866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120867   (exit $ac_status); }; }; then
120868   eval "$as_ac_var=yes"
120869 else
120870   echo "$as_me: failed program was:" >&5
120871 sed 's/^/| /' conftest.$ac_ext >&5
120872
120873 eval "$as_ac_var=no"
120874 fi
120875 rm -f conftest.err conftest.$ac_objext \
120876       conftest$ac_exeext conftest.$ac_ext
120877 fi
120878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120880 if test `eval echo '${'$as_ac_var'}'` = yes; then
120881   cat >>confdefs.h <<_ACEOF
120882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120883 _ACEOF
120884
120885 fi
120886 done
120887
120888   fi
120889
120890   fi
120891
120892   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120893      test $enable_symvers != no; then
120894     case "$host" in
120895       *-*-cygwin*)
120896         enable_abi_check=no ;;
120897       *)
120898         enable_abi_check=yes ;;
120899     esac
120900   else
120901     # Only build this as native, since automake does not understand
120902     # CXX_FOR_BUILD.
120903     enable_abi_check=no
120904   fi
120905
120906   # Export file names for ABI checking.
120907   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120908
120909
120910
120911 # Propagate the target-specific source directories through the build chain.
120912 ATOMICITY_SRCDIR=config/${atomicity_dir}
120913 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120914 ATOMIC_FLAGS=${atomic_flags}
120915 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120916 OS_INC_SRCDIR=config/${os_include_dir}
120917 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120918 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120919
120920
120921
120922
120923
120924
120925
120926
120927
120928 # Determine cross-compile flags and AM_CONDITIONALs.
120929 #AC_SUBST(GLIBCXX_IS_NATIVE)
120930 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120931 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120932 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
120933
120934
120935 if test $is_hosted = yes; then
120936   GLIBCXX_HOSTED_TRUE=
120937   GLIBCXX_HOSTED_FALSE='#'
120938 else
120939   GLIBCXX_HOSTED_TRUE='#'
120940   GLIBCXX_HOSTED_FALSE=
120941 fi
120942
120943
120944
120945
120946 if test $enable_libstdcxx_pch = yes; then
120947   GLIBCXX_BUILD_PCH_TRUE=
120948   GLIBCXX_BUILD_PCH_FALSE='#'
120949 else
120950   GLIBCXX_BUILD_PCH_TRUE='#'
120951   GLIBCXX_BUILD_PCH_FALSE=
120952 fi
120953
120954
120955
120956
120957 if test $enable_cheaders = c; then
120958   GLIBCXX_C_HEADERS_C_TRUE=
120959   GLIBCXX_C_HEADERS_C_FALSE='#'
120960 else
120961   GLIBCXX_C_HEADERS_C_TRUE='#'
120962   GLIBCXX_C_HEADERS_C_FALSE=
120963 fi
120964
120965
120966
120967
120968 if test $enable_cheaders = c_std; then
120969   GLIBCXX_C_HEADERS_C_STD_TRUE=
120970   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120971 else
120972   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120973   GLIBCXX_C_HEADERS_C_STD_FALSE=
120974 fi
120975
120976
120977
120978
120979 if test $enable_cheaders = c_global; then
120980   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120981   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120982 else
120983   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120984   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120985 fi
120986
120987
120988
120989
120990 if test $c_compatibility = yes; then
120991   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120992   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120993 else
120994   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120995   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120996 fi
120997
120998
120999
121000
121001 if test $c_extra = yes; then
121002   GLIBCXX_C_HEADERS_EXTRA_TRUE=
121003   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
121004 else
121005   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
121006   GLIBCXX_C_HEADERS_EXTRA_FALSE=
121007 fi
121008
121009
121010
121011
121012 if test $enable_libstdcxx_debug = yes; then
121013   GLIBCXX_BUILD_DEBUG_TRUE=
121014   GLIBCXX_BUILD_DEBUG_FALSE='#'
121015 else
121016   GLIBCXX_BUILD_DEBUG_TRUE='#'
121017   GLIBCXX_BUILD_DEBUG_FALSE=
121018 fi
121019
121020
121021
121022
121023 if test $enable_parallel = yes; then
121024   ENABLE_PARALLEL_TRUE=
121025   ENABLE_PARALLEL_FALSE='#'
121026 else
121027   ENABLE_PARALLEL_TRUE='#'
121028   ENABLE_PARALLEL_FALSE=
121029 fi
121030
121031
121032
121033
121034 if test $enable_symvers != no; then
121035   ENABLE_SYMVERS_TRUE=
121036   ENABLE_SYMVERS_FALSE='#'
121037 else
121038   ENABLE_SYMVERS_TRUE='#'
121039   ENABLE_SYMVERS_FALSE=
121040 fi
121041
121042
121043
121044
121045 if test $enable_symvers = gnu; then
121046   ENABLE_SYMVERS_GNU_TRUE=
121047   ENABLE_SYMVERS_GNU_FALSE='#'
121048 else
121049   ENABLE_SYMVERS_GNU_TRUE='#'
121050   ENABLE_SYMVERS_GNU_FALSE=
121051 fi
121052
121053
121054
121055
121056 if test $enable_symvers = gnu-versioned-namespace; then
121057   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
121058   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
121059 else
121060   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
121061   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
121062 fi
121063
121064
121065
121066
121067 if test $enable_symvers = darwin; then
121068   ENABLE_SYMVERS_DARWIN_TRUE=
121069   ENABLE_SYMVERS_DARWIN_FALSE='#'
121070 else
121071   ENABLE_SYMVERS_DARWIN_TRUE='#'
121072   ENABLE_SYMVERS_DARWIN_FALSE=
121073 fi
121074
121075
121076
121077
121078 if test $enable_visibility = yes; then
121079   ENABLE_VISIBILITY_TRUE=
121080   ENABLE_VISIBILITY_FALSE='#'
121081 else
121082   ENABLE_VISIBILITY_TRUE='#'
121083   ENABLE_VISIBILITY_FALSE=
121084 fi
121085
121086
121087
121088
121089 if test $ac_ldbl_compat = yes; then
121090   GLIBCXX_LDBL_COMPAT_TRUE=
121091   GLIBCXX_LDBL_COMPAT_FALSE='#'
121092 else
121093   GLIBCXX_LDBL_COMPAT_TRUE='#'
121094   GLIBCXX_LDBL_COMPAT_FALSE=
121095 fi
121096
121097
121098
121099
121100 cat >confcache <<\_ACEOF
121101 # This file is a shell script that caches the results of configure
121102 # tests run on this system so they can be shared between configure
121103 # scripts and configure runs, see configure's option --config-cache.
121104 # It is not useful on other systems.  If it contains results you don't
121105 # want to keep, you may remove or edit it.
121106 #
121107 # config.status only pays attention to the cache file if you give it
121108 # the --recheck option to rerun configure.
121109 #
121110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121112 # following values.
121113
121114 _ACEOF
121115
121116 # The following way of writing the cache mishandles newlines in values,
121117 # but we know of no workaround that is simple, portable, and efficient.
121118 # So, don't put newlines in cache variables' values.
121119 # Ultrix sh set writes to stderr and can't be redirected directly,
121120 # and sets the high bit in the cache file unless we assign to the vars.
121121 {
121122   (set) 2>&1 |
121123     case `(ac_space=' '; set | grep ac_space) 2>&1` in
121124     *ac_space=\ *)
121125       # `set' does not quote correctly, so add quotes (double-quote
121126       # substitution turns \\\\ into \\, and sed turns \\ into \).
121127       sed -n \
121128         "s/'/'\\\\''/g;
121129           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121130       ;;
121131     *)
121132       # `set' quotes correctly as required by POSIX, so do not add quotes.
121133       sed -n \
121134         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121135       ;;
121136     esac;
121137 } |
121138   sed '
121139      t clear
121140      : clear
121141      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121142      t end
121143      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121144      : end' >>confcache
121145 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121146   if test -w $cache_file; then
121147     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121148     cat confcache >$cache_file
121149   else
121150     echo "not updating unwritable cache $cache_file"
121151   fi
121152 fi
121153 rm -f confcache
121154
121155 if test ${multilib} = yes; then
121156   multilib_arg="--enable-multilib"
121157 else
121158   multilib_arg=
121159 fi
121160
121161 # Export all the install information.
121162
121163   glibcxx_toolexecdir=no
121164   glibcxx_toolexeclibdir=no
121165   glibcxx_prefixdir=$prefix
121166
121167   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
121168 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
121169
121170 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
121171 if test "${with_gxx_include_dir+set}" = set; then
121172   withval="$with_gxx_include_dir"
121173   case "$withval" in
121174       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
121175 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
121176    { (exit 1); exit 1; }; } ;;
121177       no)  gxx_include_dir=no ;;
121178       *)   gxx_include_dir=$withval ;;
121179      esac
121180 else
121181   gxx_include_dir=no
121182 fi;
121183   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121184 echo "${ECHO_T}$gxx_include_dir" >&6
121185
121186   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
121187 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
121188   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
121189 if test "${enable_version_specific_runtime_libs+set}" = set; then
121190   enableval="$enable_version_specific_runtime_libs"
121191   case "$enableval" in
121192       yes) version_specific_libs=yes ;;
121193       no)  version_specific_libs=no ;;
121194       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
121195 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
121196    { (exit 1); exit 1; }; };;
121197      esac
121198 else
121199   version_specific_libs=no
121200 fi;
121201   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
121202 echo "${ECHO_T}$version_specific_libs" >&6
121203
121204   # Default case for install directory for include files.
121205   if test $version_specific_libs = no && test $gxx_include_dir = no; then
121206     gxx_include_dir='include/c++/${gcc_version}'
121207     if test -n "$with_cross_host" &&
121208        test x"$with_cross_host" != x"no"; then
121209       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
121210     else
121211       gxx_include_dir='${prefix}/'"$gxx_include_dir"
121212     fi
121213   fi
121214
121215   # Version-specific runtime libs processing.
121216   if test $version_specific_libs = yes; then
121217     # Need the gcc compiler version to know where to install libraries
121218     # and header files if --enable-version-specific-runtime-libs option
121219     # is selected.  FIXME: these variables are misnamed, there are
121220     # no executables installed in _toolexecdir or _toolexeclibdir.
121221     if test x"$gxx_include_dir" = x"no"; then
121222       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
121223     fi
121224     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121225     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
121226   fi
121227
121228   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
121229   # Install a library built with a cross compiler in tooldir, not libdir.
121230   if test x"$glibcxx_toolexecdir" = x"no"; then
121231     if test -n "$with_cross_host" &&
121232        test x"$with_cross_host" != x"no"; then
121233       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
121234       glibcxx_toolexeclibdir='${toolexecdir}/lib'
121235     else
121236       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121237       glibcxx_toolexeclibdir='${libdir}'
121238     fi
121239     multi_os_directory=`$CXX -print-multi-os-directory`
121240     case $multi_os_directory in
121241       .) ;; # Avoid trailing /.
121242       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
121243     esac
121244   fi
121245
121246   echo "$as_me:$LINENO: checking for install location" >&5
121247 echo $ECHO_N "checking for install location... $ECHO_C" >&6
121248   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121249 echo "${ECHO_T}$gxx_include_dir" >&6
121250
121251
121252
121253
121254
121255
121256
121257 # Export all the include and flag information to Makefiles.
121258
121259   # Used for every C++ compile we perform.
121260   GLIBCXX_INCLUDES="\
121261 -I$glibcxx_builddir/include/$host_alias \
121262 -I$glibcxx_builddir/include \
121263 -I$glibcxx_srcdir/libsupc++"
121264
121265   # For Canadian crosses, pick this up too.
121266   if test $CANADIAN = yes; then
121267     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
121268   fi
121269
121270   # Stuff in the actual top level.  Currently only used by libsupc++ to
121271   # get unwind* headers from the gcc dir.
121272   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
121273   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
121274
121275   # Now, export this to all the little Makefiles....
121276
121277
121278
121279
121280   # Optimization flags that are probably a good idea for thrill-seekers. Just
121281   # uncomment the lines below and make, everything else is ready to go...
121282   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
121283   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
121284
121285
121286   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
121287
121288
121289
121290 if test "$enable_shared" = yes; then
121291   LIBSUPCXX_PICFLAGS="-prefer-pic"
121292 else
121293   LIBSUPCXX_PICFLAGS=
121294 fi
121295
121296
121297                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
121298
121299           ac_config_files="$ac_config_files scripts/testsuite_flags"
121300
121301
121302           ac_config_commands="$ac_config_commands default"
121303
121304
121305 cat >confcache <<\_ACEOF
121306 # This file is a shell script that caches the results of configure
121307 # tests run on this system so they can be shared between configure
121308 # scripts and configure runs, see configure's option --config-cache.
121309 # It is not useful on other systems.  If it contains results you don't
121310 # want to keep, you may remove or edit it.
121311 #
121312 # config.status only pays attention to the cache file if you give it
121313 # the --recheck option to rerun configure.
121314 #
121315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121317 # following values.
121318
121319 _ACEOF
121320
121321 # The following way of writing the cache mishandles newlines in values,
121322 # but we know of no workaround that is simple, portable, and efficient.
121323 # So, don't put newlines in cache variables' values.
121324 # Ultrix sh set writes to stderr and can't be redirected directly,
121325 # and sets the high bit in the cache file unless we assign to the vars.
121326 {
121327   (set) 2>&1 |
121328     case `(ac_space=' '; set | grep ac_space) 2>&1` in
121329     *ac_space=\ *)
121330       # `set' does not quote correctly, so add quotes (double-quote
121331       # substitution turns \\\\ into \\, and sed turns \\ into \).
121332       sed -n \
121333         "s/'/'\\\\''/g;
121334           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121335       ;;
121336     *)
121337       # `set' quotes correctly as required by POSIX, so do not add quotes.
121338       sed -n \
121339         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121340       ;;
121341     esac;
121342 } |
121343   sed '
121344      t clear
121345      : clear
121346      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121347      t end
121348      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121349      : end' >>confcache
121350 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121351   if test -w $cache_file; then
121352     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121353     cat confcache >$cache_file
121354   else
121355     echo "not updating unwritable cache $cache_file"
121356   fi
121357 fi
121358 rm -f confcache
121359
121360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
121361 # Let make expand exec_prefix.
121362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
121363
121364 # VPATH may cause trouble with some makes, so we remove $(srcdir),
121365 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
121366 # trailing colons and then remove the whole line if VPATH becomes empty
121367 # (actually we leave an empty line to preserve line numbers).
121368 if test "x$srcdir" = x.; then
121369   ac_vpsub='/^[  ]*VPATH[        ]*=/{
121370 s/:*\$(srcdir):*/:/;
121371 s/:*\${srcdir}:*/:/;
121372 s/:*@srcdir@:*/:/;
121373 s/^\([^=]*=[     ]*\):*/\1/;
121374 s/:*$//;
121375 s/^[^=]*=[       ]*$//;
121376 }'
121377 fi
121378
121379 DEFS=-DHAVE_CONFIG_H
121380
121381 ac_libobjs=
121382 ac_ltlibobjs=
121383 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
121384   # 1. Remove the extension, and $U if already installed.
121385   ac_i=`echo "$ac_i" |
121386          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
121387   # 2. Add them.
121388   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
121389   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
121390 done
121391 LIBOBJS=$ac_libobjs
121392
121393 LTLIBOBJS=$ac_ltlibobjs
121394
121395
121396 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
121397   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
121398 Usually this means the macro was only invoked conditionally." >&5
121399 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
121400 Usually this means the macro was only invoked conditionally." >&2;}
121401    { (exit 1); exit 1; }; }
121402 fi
121403 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
121404   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121405 Usually this means the macro was only invoked conditionally." >&5
121406 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121407 Usually this means the macro was only invoked conditionally." >&2;}
121408    { (exit 1); exit 1; }; }
121409 fi
121410 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
121411   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121412 Usually this means the macro was only invoked conditionally." >&5
121413 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121414 Usually this means the macro was only invoked conditionally." >&2;}
121415    { (exit 1); exit 1; }; }
121416 fi
121417 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
121418   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121419 Usually this means the macro was only invoked conditionally." >&5
121420 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121421 Usually this means the macro was only invoked conditionally." >&2;}
121422    { (exit 1); exit 1; }; }
121423 fi
121424 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
121425   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121426 Usually this means the macro was only invoked conditionally." >&5
121427 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121428 Usually this means the macro was only invoked conditionally." >&2;}
121429    { (exit 1); exit 1; }; }
121430 fi
121431 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
121432   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121433 Usually this means the macro was only invoked conditionally." >&5
121434 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121435 Usually this means the macro was only invoked conditionally." >&2;}
121436    { (exit 1); exit 1; }; }
121437 fi
121438 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
121439   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121440 Usually this means the macro was only invoked conditionally." >&5
121441 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121442 Usually this means the macro was only invoked conditionally." >&2;}
121443    { (exit 1); exit 1; }; }
121444 fi
121445 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
121446   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121447 Usually this means the macro was only invoked conditionally." >&5
121448 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121449 Usually this means the macro was only invoked conditionally." >&2;}
121450    { (exit 1); exit 1; }; }
121451 fi
121452 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
121453   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121454 Usually this means the macro was only invoked conditionally." >&5
121455 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121456 Usually this means the macro was only invoked conditionally." >&2;}
121457    { (exit 1); exit 1; }; }
121458 fi
121459 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
121460   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
121461 Usually this means the macro was only invoked conditionally." >&5
121462 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
121463 Usually this means the macro was only invoked conditionally." >&2;}
121464    { (exit 1); exit 1; }; }
121465 fi
121466 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
121467   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
121468 Usually this means the macro was only invoked conditionally." >&5
121469 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
121470 Usually this means the macro was only invoked conditionally." >&2;}
121471    { (exit 1); exit 1; }; }
121472 fi
121473 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
121474   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121475 Usually this means the macro was only invoked conditionally." >&5
121476 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121477 Usually this means the macro was only invoked conditionally." >&2;}
121478    { (exit 1); exit 1; }; }
121479 fi
121480 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
121481   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121482 Usually this means the macro was only invoked conditionally." >&5
121483 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121484 Usually this means the macro was only invoked conditionally." >&2;}
121485    { (exit 1); exit 1; }; }
121486 fi
121487 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
121488   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121489 Usually this means the macro was only invoked conditionally." >&5
121490 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121491 Usually this means the macro was only invoked conditionally." >&2;}
121492    { (exit 1); exit 1; }; }
121493 fi
121494 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
121495   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121496 Usually this means the macro was only invoked conditionally." >&5
121497 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121498 Usually this means the macro was only invoked conditionally." >&2;}
121499    { (exit 1); exit 1; }; }
121500 fi
121501 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
121502   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121503 Usually this means the macro was only invoked conditionally." >&5
121504 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121505 Usually this means the macro was only invoked conditionally." >&2;}
121506    { (exit 1); exit 1; }; }
121507 fi
121508
121509 : ${CONFIG_STATUS=./config.status}
121510 ac_clean_files_save=$ac_clean_files
121511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
121512 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
121513 echo "$as_me: creating $CONFIG_STATUS" >&6;}
121514 cat >$CONFIG_STATUS <<_ACEOF
121515 #! $SHELL
121516 # Generated by $as_me.
121517 # Run this file to recreate the current configuration.
121518 # Compiler output produced by configure, useful for debugging
121519 # configure, is in config.log if it exists.
121520
121521 debug=false
121522 ac_cs_recheck=false
121523 ac_cs_silent=false
121524 SHELL=\${CONFIG_SHELL-$SHELL}
121525 _ACEOF
121526
121527 cat >>$CONFIG_STATUS <<\_ACEOF
121528 ## --------------------- ##
121529 ## M4sh Initialization.  ##
121530 ## --------------------- ##
121531
121532 # Be Bourne compatible
121533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
121534   emulate sh
121535   NULLCMD=:
121536   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
121537   # is contrary to our usage.  Disable this feature.
121538   alias -g '${1+"$@"}'='"$@"'
121539 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
121540   set -o posix
121541 fi
121542 DUALCASE=1; export DUALCASE # for MKS sh
121543
121544 # Support unset when possible.
121545 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
121546   as_unset=unset
121547 else
121548   as_unset=false
121549 fi
121550
121551
121552 # Work around bugs in pre-3.0 UWIN ksh.
121553 $as_unset ENV MAIL MAILPATH
121554 PS1='$ '
121555 PS2='> '
121556 PS4='+ '
121557
121558 # NLS nuisances.
121559 for as_var in \
121560   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
121561   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
121562   LC_TELEPHONE LC_TIME
121563 do
121564   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121565     eval $as_var=C; export $as_var
121566   else
121567     $as_unset $as_var
121568   fi
121569 done
121570
121571 # Required to use basename.
121572 if expr a : '\(a\)' >/dev/null 2>&1; then
121573   as_expr=expr
121574 else
121575   as_expr=false
121576 fi
121577
121578 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121579   as_basename=basename
121580 else
121581   as_basename=false
121582 fi
121583
121584
121585 # Name of the executable.
121586 as_me=`$as_basename "$0" ||
121587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121588          X"$0" : 'X\(//\)$' \| \
121589          X"$0" : 'X\(/\)$' \| \
121590          .     : '\(.\)' 2>/dev/null ||
121591 echo X/"$0" |
121592     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121593           /^X\/\(\/\/\)$/{ s//\1/; q; }
121594           /^X\/\(\/\).*/{ s//\1/; q; }
121595           s/.*/./; q'`
121596
121597
121598 # PATH needs CR, and LINENO needs CR and PATH.
121599 # Avoid depending upon Character Ranges.
121600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121603 as_cr_digits='0123456789'
121604 as_cr_alnum=$as_cr_Letters$as_cr_digits
121605
121606 # The user is always right.
121607 if test "${PATH_SEPARATOR+set}" != set; then
121608   echo "#! /bin/sh" >conf$$.sh
121609   echo  "exit 0"   >>conf$$.sh
121610   chmod +x conf$$.sh
121611   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121612     PATH_SEPARATOR=';'
121613   else
121614     PATH_SEPARATOR=:
121615   fi
121616   rm -f conf$$.sh
121617 fi
121618
121619
121620   as_lineno_1=$LINENO
121621   as_lineno_2=$LINENO
121622   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121623   test "x$as_lineno_1" != "x$as_lineno_2" &&
121624   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
121625   # Find who we are.  Look in the path if we contain no path at all
121626   # relative or not.
121627   case $0 in
121628     *[\\/]* ) as_myself=$0 ;;
121629     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121630 for as_dir in $PATH
121631 do
121632   IFS=$as_save_IFS
121633   test -z "$as_dir" && as_dir=.
121634   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121635 done
121636
121637        ;;
121638   esac
121639   # We did not find ourselves, most probably we were run as `sh COMMAND'
121640   # in which case we are not to be found in the path.
121641   if test "x$as_myself" = x; then
121642     as_myself=$0
121643   fi
121644   if test ! -f "$as_myself"; then
121645     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121646 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121647    { (exit 1); exit 1; }; }
121648   fi
121649   case $CONFIG_SHELL in
121650   '')
121651     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121652 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121653 do
121654   IFS=$as_save_IFS
121655   test -z "$as_dir" && as_dir=.
121656   for as_base in sh bash ksh sh5; do
121657          case $as_dir in
121658          /*)
121659            if ("$as_dir/$as_base" -c '
121660   as_lineno_1=$LINENO
121661   as_lineno_2=$LINENO
121662   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121663   test "x$as_lineno_1" != "x$as_lineno_2" &&
121664   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
121665              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121666              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121667              CONFIG_SHELL=$as_dir/$as_base
121668              export CONFIG_SHELL
121669              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121670            fi;;
121671          esac
121672        done
121673 done
121674 ;;
121675   esac
121676
121677   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121678   # uniformly replaced by the line number.  The first 'sed' inserts a
121679   # line-number line before each line; the second 'sed' does the real
121680   # work.  The second script uses 'N' to pair each line-number line
121681   # with the numbered line, and appends trailing '-' during
121682   # substitution so that $LINENO is not a special case at line end.
121683   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121684   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
121685   sed '=' <$as_myself |
121686     sed '
121687       N
121688       s,$,-,
121689       : loop
121690       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121691       t loop
121692       s,-$,,
121693       s,^['$as_cr_digits']*\n,,
121694     ' >$as_me.lineno &&
121695   chmod +x $as_me.lineno ||
121696     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121697 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121698    { (exit 1); exit 1; }; }
121699
121700   # Don't try to exec as it changes $[0], causing all sort of problems
121701   # (the dirname of $[0] is not the place where we might find the
121702   # original and so on.  Autoconf is especially sensible to this).
121703   . ./$as_me.lineno
121704   # Exit status is that of the last command.
121705   exit
121706 }
121707
121708
121709 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
121710   *c*,-n*) ECHO_N= ECHO_C='
121711 ' ECHO_T='      ' ;;
121712   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
121713   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
121714 esac
121715
121716 if expr a : '\(a\)' >/dev/null 2>&1; then
121717   as_expr=expr
121718 else
121719   as_expr=false
121720 fi
121721
121722 rm -f conf$$ conf$$.exe conf$$.file
121723 echo >conf$$.file
121724 if ln -s conf$$.file conf$$ 2>/dev/null; then
121725   # We could just check for DJGPP; but this test a) works b) is more generic
121726   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
121727   if test -f conf$$.exe; then
121728     # Don't use ln at all; we don't have any links
121729     as_ln_s='cp -p'
121730   else
121731     as_ln_s='ln -s'
121732   fi
121733 elif ln conf$$.file conf$$ 2>/dev/null; then
121734   as_ln_s=ln
121735 else
121736   as_ln_s='cp -p'
121737 fi
121738 rm -f conf$$ conf$$.exe conf$$.file
121739
121740 if mkdir -p . 2>/dev/null; then
121741   as_mkdir_p=:
121742 else
121743   test -d ./-p && rmdir ./-p
121744   as_mkdir_p=false
121745 fi
121746
121747 as_executable_p="test -f"
121748
121749 # Sed expression to map a string onto a valid CPP name.
121750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
121751
121752 # Sed expression to map a string onto a valid variable name.
121753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
121754
121755
121756 # IFS
121757 # We need space, tab and new line, in precisely that order.
121758 as_nl='
121759 '
121760 IFS="   $as_nl"
121761
121762 # CDPATH.
121763 $as_unset CDPATH
121764
121765 exec 6>&1
121766
121767 # Open the log real soon, to keep \$[0] and so on meaningful, and to
121768 # report actual input values of CONFIG_FILES etc. instead of their
121769 # values after options handling.  Logging --version etc. is OK.
121770 exec 5>>config.log
121771 {
121772   echo
121773   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
121774 ## Running $as_me. ##
121775 _ASBOX
121776 } >&5
121777 cat >&5 <<_CSEOF
121778
121779 This file was extended by package-unused $as_me version-unused, which was
121780 generated by GNU Autoconf 2.59.  Invocation command line was
121781
121782   CONFIG_FILES    = $CONFIG_FILES
121783   CONFIG_HEADERS  = $CONFIG_HEADERS
121784   CONFIG_LINKS    = $CONFIG_LINKS
121785   CONFIG_COMMANDS = $CONFIG_COMMANDS
121786   $ $0 $@
121787
121788 _CSEOF
121789 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
121790 echo >&5
121791 _ACEOF
121792
121793 # Files that config.status was made for.
121794 if test -n "$ac_config_files"; then
121795   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
121796 fi
121797
121798 if test -n "$ac_config_headers"; then
121799   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
121800 fi
121801
121802 if test -n "$ac_config_links"; then
121803   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
121804 fi
121805
121806 if test -n "$ac_config_commands"; then
121807   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
121808 fi
121809
121810 cat >>$CONFIG_STATUS <<\_ACEOF
121811
121812 ac_cs_usage="\
121813 \`$as_me' instantiates files from templates according to the
121814 current configuration.
121815
121816 Usage: $0 [OPTIONS] [FILE]...
121817
121818   -h, --help       print this help, then exit
121819   -V, --version    print version number, then exit
121820   -q, --quiet      do not print progress messages
121821   -d, --debug      don't remove temporary files
121822       --recheck    update $as_me by reconfiguring in the same conditions
121823   --file=FILE[:TEMPLATE]
121824                    instantiate the configuration file FILE
121825   --header=FILE[:TEMPLATE]
121826                    instantiate the configuration header FILE
121827
121828 Configuration files:
121829 $config_files
121830
121831 Configuration headers:
121832 $config_headers
121833
121834 Configuration commands:
121835 $config_commands
121836
121837 Report bugs to <bug-autoconf@gnu.org>."
121838 _ACEOF
121839
121840 cat >>$CONFIG_STATUS <<_ACEOF
121841 ac_cs_version="\\
121842 package-unused config.status version-unused
121843 configured by $0, generated by GNU Autoconf 2.59,
121844   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
121845
121846 Copyright (C) 2003 Free Software Foundation, Inc.
121847 This config.status script is free software; the Free Software Foundation
121848 gives unlimited permission to copy, distribute and modify it."
121849 srcdir=$srcdir
121850 INSTALL="$INSTALL"
121851 _ACEOF
121852
121853 cat >>$CONFIG_STATUS <<\_ACEOF
121854 # If no file are specified by the user, then we need to provide default
121855 # value.  By we need to know if files were specified by the user.
121856 ac_need_defaults=:
121857 while test $# != 0
121858 do
121859   case $1 in
121860   --*=*)
121861     ac_option=`expr "x$1" : 'x\([^=]*\)='`
121862     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121863     ac_shift=:
121864     ;;
121865   -*)
121866     ac_option=$1
121867     ac_optarg=$2
121868     ac_shift=shift
121869     ;;
121870   *) # This is not an option, so the user has probably given explicit
121871      # arguments.
121872      ac_option=$1
121873      ac_need_defaults=false;;
121874   esac
121875
121876   case $ac_option in
121877   # Handling of the options.
121878 _ACEOF
121879 cat >>$CONFIG_STATUS <<\_ACEOF
121880   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121881     ac_cs_recheck=: ;;
121882   --version | --vers* | -V )
121883     echo "$ac_cs_version"; exit 0 ;;
121884   --he | --h)
121885     # Conflict between --help and --header
121886     { { echo "$as_me:$LINENO: error: ambiguous option: $1
121887 Try \`$0 --help' for more information." >&5
121888 echo "$as_me: error: ambiguous option: $1
121889 Try \`$0 --help' for more information." >&2;}
121890    { (exit 1); exit 1; }; };;
121891   --help | --hel | -h )
121892     echo "$ac_cs_usage"; exit 0 ;;
121893   --debug | --d* | -d )
121894     debug=: ;;
121895   --file | --fil | --fi | --f )
121896     $ac_shift
121897     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121898     ac_need_defaults=false;;
121899   --header | --heade | --head | --hea )
121900     $ac_shift
121901     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121902     ac_need_defaults=false;;
121903   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121904   | -silent | --silent | --silen | --sile | --sil | --si | --s)
121905     ac_cs_silent=: ;;
121906
121907   # This is an error.
121908   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121909 Try \`$0 --help' for more information." >&5
121910 echo "$as_me: error: unrecognized option: $1
121911 Try \`$0 --help' for more information." >&2;}
121912    { (exit 1); exit 1; }; } ;;
121913
121914   *) ac_config_targets="$ac_config_targets $1" ;;
121915
121916   esac
121917   shift
121918 done
121919
121920 ac_configure_extra_args=
121921
121922 if $ac_cs_silent; then
121923   exec 6>/dev/null
121924   ac_configure_extra_args="$ac_configure_extra_args --silent"
121925 fi
121926
121927 _ACEOF
121928 cat >>$CONFIG_STATUS <<_ACEOF
121929 if \$ac_cs_recheck; then
121930   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121931   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121932 fi
121933
121934 _ACEOF
121935
121936 cat >>$CONFIG_STATUS <<_ACEOF
121937 #
121938 # INIT-COMMANDS section.
121939 #
121940
121941
121942 srcdir="$srcdir"
121943 host="$host"
121944 target="$target"
121945 with_multisubdir="$with_multisubdir"
121946 with_multisrctop="$with_multisrctop"
121947 with_target_subdir="$with_target_subdir"
121948 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121949 multi_basedir="$multi_basedir"
121950 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121951 CC="$CC"
121952
121953
121954 # The HP-UX ksh and POSIX shell print the target directory to stdout
121955 # if CDPATH is set.
121956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121957
121958 sed_quote_subst='$sed_quote_subst'
121959 double_quote_subst='$double_quote_subst'
121960 delay_variable_subst='$delay_variable_subst'
121961 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121962 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121963 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121964 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121965 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121966 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121967 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121968 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121969 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121970 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121971 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121972 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121973 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121974 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121975 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121976 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121977 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121978 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121979 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121980 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121981 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121982 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121983 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121984 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121985 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121986 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121987 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121988 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121989 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121990 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121991 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121992 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121993 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121994 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121995 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121996 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121997 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121998 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121999 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122000 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
122001 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
122002 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
122003 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
122004 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"`'
122005 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
122006 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
122007 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
122008 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
122009 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
122010 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
122011 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
122012 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
122013 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
122014 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
122015 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
122016 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122017 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122018 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
122019 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
122020 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122021 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122022 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
122023 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122024 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122025 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122026 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122027 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122028 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122029 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
122030 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122031 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122032 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122033 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
122034 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
122035 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
122036 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
122037 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
122038 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122039 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
122040 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
122041 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
122042 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
122043 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
122044 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122045 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122046 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122047 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122048 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
122049 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
122050 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
122051 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
122052 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
122053 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122054 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122055 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
122056 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122057 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
122058 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122059 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122060 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122061 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122062 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
122063 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
122064 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122065 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122066 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
122067 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
122068 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
122069 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
122070 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
122071 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
122072 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122073 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122074 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
122075 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
122076 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
122077 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122078 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122079 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122080 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122081 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122082 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122083 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122084 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122085 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122086 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122087 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122088 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122089 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122090 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122091 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122092 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122093 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122094 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122095 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122096 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122097 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122098 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122099 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122100 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122101 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122102 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122103 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122104 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122105 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122106 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122107 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122108 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122109 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122110 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122111 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122112 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122113 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122114 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122115 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122116 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122117 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122118 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122119 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122120 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122121 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122122 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122123
122124 LTCC='$LTCC'
122125 LTCFLAGS='$LTCFLAGS'
122126 compiler='$compiler_DEFAULT'
122127
122128 # Quote evaled strings.
122129 for var in SED \
122130 GREP \
122131 EGREP \
122132 FGREP \
122133 LD \
122134 NM \
122135 LN_S \
122136 lt_SP2NL \
122137 lt_NL2SP \
122138 reload_flag \
122139 deplibs_check_method \
122140 file_magic_cmd \
122141 AR \
122142 AR_FLAGS \
122143 STRIP \
122144 RANLIB \
122145 CC \
122146 CFLAGS \
122147 compiler \
122148 lt_cv_sys_global_symbol_pipe \
122149 lt_cv_sys_global_symbol_to_cdecl \
122150 lt_cv_sys_global_symbol_to_c_name_address \
122151 SHELL \
122152 ECHO \
122153 lt_prog_compiler_no_builtin_flag \
122154 lt_prog_compiler_wl \
122155 lt_prog_compiler_pic \
122156 lt_prog_compiler_static \
122157 lt_cv_prog_compiler_c_o \
122158 need_locks \
122159 shrext_cmds \
122160 export_dynamic_flag_spec \
122161 whole_archive_flag_spec \
122162 compiler_needs_object \
122163 with_gnu_ld \
122164 allow_undefined_flag \
122165 no_undefined_flag \
122166 hardcode_libdir_flag_spec \
122167 hardcode_libdir_flag_spec_ld \
122168 hardcode_libdir_separator \
122169 fix_srcfile_path \
122170 exclude_expsyms \
122171 include_expsyms \
122172 file_list_spec \
122173 variables_saved_for_relink \
122174 libname_spec \
122175 library_names_spec \
122176 soname_spec \
122177 finish_eval \
122178 old_striplib \
122179 striplib \
122180 predep_objects \
122181 postdep_objects \
122182 predeps \
122183 postdeps \
122184 compiler_lib_search_path \
122185 LD_CXX \
122186 compiler_CXX \
122187 lt_prog_compiler_no_builtin_flag_CXX \
122188 lt_prog_compiler_wl_CXX \
122189 lt_prog_compiler_pic_CXX \
122190 lt_prog_compiler_static_CXX \
122191 lt_cv_prog_compiler_c_o_CXX \
122192 export_dynamic_flag_spec_CXX \
122193 whole_archive_flag_spec_CXX \
122194 compiler_needs_object_CXX \
122195 with_gnu_ld_CXX \
122196 allow_undefined_flag_CXX \
122197 no_undefined_flag_CXX \
122198 hardcode_libdir_flag_spec_CXX \
122199 hardcode_libdir_flag_spec_ld_CXX \
122200 hardcode_libdir_separator_CXX \
122201 fix_srcfile_path_CXX \
122202 exclude_expsyms_CXX \
122203 include_expsyms_CXX \
122204 file_list_spec_CXX \
122205 predep_objects_CXX \
122206 postdep_objects_CXX \
122207 predeps_CXX \
122208 postdeps_CXX \
122209 compiler_lib_search_path_CXX; do
122210     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122211     *[\\\\\\\`\\"\\\$]*)
122212       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
122213       ;;
122214     *)
122215       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122216       ;;
122217     esac
122218 done
122219
122220 # Double-quote double-evaled strings.
122221 for var in reload_cmds \
122222 old_postinstall_cmds \
122223 old_postuninstall_cmds \
122224 old_archive_cmds \
122225 extract_expsyms_cmds \
122226 old_archive_from_new_cmds \
122227 old_archive_from_expsyms_cmds \
122228 archive_cmds \
122229 archive_expsym_cmds \
122230 module_cmds \
122231 module_expsym_cmds \
122232 export_symbols_cmds \
122233 prelink_cmds \
122234 postinstall_cmds \
122235 postuninstall_cmds \
122236 finish_cmds \
122237 sys_lib_search_path_spec \
122238 sys_lib_dlsearch_path_spec \
122239 old_archive_cmds_CXX \
122240 old_archive_from_new_cmds_CXX \
122241 old_archive_from_expsyms_cmds_CXX \
122242 archive_cmds_CXX \
122243 archive_expsym_cmds_CXX \
122244 module_cmds_CXX \
122245 module_expsym_cmds_CXX \
122246 export_symbols_cmds_CXX \
122247 prelink_cmds_CXX; do
122248     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122249     *[\\\\\\\`\\"\\\$]*)
122250       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
122251       ;;
122252     *)
122253       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122254       ;;
122255     esac
122256 done
122257
122258 # Fix-up fallback echo if it was mangled by the above quoting rules.
122259 case \$lt_ECHO in
122260 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
122261   ;;
122262 esac
122263
122264 ac_aux_dir='$ac_aux_dir'
122265 xsi_shell='$xsi_shell'
122266 lt_shell_append='$lt_shell_append'
122267
122268 # See if we are running on zsh, and set the options which allow our
122269 # commands through without removal of \ escapes INIT.
122270 if test -n "\${ZSH_VERSION+set}" ; then
122271    setopt NO_GLOB_SUBST
122272 fi
122273
122274
122275     PACKAGE='$PACKAGE'
122276     VERSION='$VERSION'
122277     TIMESTAMP='$TIMESTAMP'
122278     RM='$RM'
122279     ofile='$ofile'
122280
122281
122282
122283
122284
122285
122286 GCC="$GCC"
122287 CC="$CC"
122288 acx_cv_header_stdint="$acx_cv_header_stdint"
122289 acx_cv_type_int8_t="$acx_cv_type_int8_t"
122290 acx_cv_type_int16_t="$acx_cv_type_int16_t"
122291 acx_cv_type_int32_t="$acx_cv_type_int32_t"
122292 acx_cv_type_int64_t="$acx_cv_type_int64_t"
122293 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
122294 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
122295 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
122296 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
122297 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
122298 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
122299 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
122300 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
122301 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
122302
122303
122304 # Variables needed in config.status (file generation) which aren't already
122305 # passed by autoconf.
122306 SUBDIRS="$SUBDIRS"
122307
122308
122309 _ACEOF
122310
122311
122312
122313 cat >>$CONFIG_STATUS <<\_ACEOF
122314 for ac_config_target in $ac_config_targets
122315 do
122316   case "$ac_config_target" in
122317   # Handling of arguments.
122318   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
122319   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
122320   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
122321   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
122322   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
122323   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
122324   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
122325   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
122326   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
122327   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
122328   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
122329   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
122330   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
122331   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
122332   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
122333 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
122334    { (exit 1); exit 1; }; };;
122335   esac
122336 done
122337
122338 # If the user did not use the arguments to specify the items to instantiate,
122339 # then the envvar interface is used.  Set only those that are not.
122340 # We use the long form for the default assignment because of an extremely
122341 # bizarre bug on SunOS 4.1.3.
122342 if $ac_need_defaults; then
122343   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
122344   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
122345   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
122346 fi
122347
122348 # Have a temporary directory for convenience.  Make it in the build tree
122349 # simply because there is no reason to put it here, and in addition,
122350 # creating and moving files from /tmp can sometimes cause problems.
122351 # Create a temporary directory, and hook for its removal unless debugging.
122352 $debug ||
122353 {
122354   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
122355   trap '{ (exit 1); exit 1; }' 1 2 13 15
122356 }
122357
122358 # Create a (secure) tmp directory for tmp files.
122359
122360 {
122361   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
122362   test -n "$tmp" && test -d "$tmp"
122363 }  ||
122364 {
122365   tmp=./confstat$$-$RANDOM
122366   (umask 077 && mkdir $tmp)
122367 } ||
122368 {
122369    echo "$me: cannot create a temporary directory in ." >&2
122370    { (exit 1); exit 1; }
122371 }
122372
122373 _ACEOF
122374
122375 cat >>$CONFIG_STATUS <<_ACEOF
122376
122377 #
122378 # CONFIG_FILES section.
122379 #
122380
122381 # No need to generate the scripts if there are no CONFIG_FILES.
122382 # This happens for instance when ./config.status config.h
122383 if test -n "\$CONFIG_FILES"; then
122384   # Protect against being on the right side of a sed subst in config.status.
122385   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
122386    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
122387 s,@SHELL@,$SHELL,;t t
122388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
122389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
122390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
122391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
122392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
122393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
122394 s,@exec_prefix@,$exec_prefix,;t t
122395 s,@prefix@,$prefix,;t t
122396 s,@program_transform_name@,$program_transform_name,;t t
122397 s,@bindir@,$bindir,;t t
122398 s,@sbindir@,$sbindir,;t t
122399 s,@libexecdir@,$libexecdir,;t t
122400 s,@datadir@,$datadir,;t t
122401 s,@sysconfdir@,$sysconfdir,;t t
122402 s,@sharedstatedir@,$sharedstatedir,;t t
122403 s,@localstatedir@,$localstatedir,;t t
122404 s,@libdir@,$libdir,;t t
122405 s,@includedir@,$includedir,;t t
122406 s,@oldincludedir@,$oldincludedir,;t t
122407 s,@infodir@,$infodir,;t t
122408 s,@mandir@,$mandir,;t t
122409 s,@build_alias@,$build_alias,;t t
122410 s,@host_alias@,$host_alias,;t t
122411 s,@target_alias@,$target_alias,;t t
122412 s,@DEFS@,$DEFS,;t t
122413 s,@ECHO_C@,$ECHO_C,;t t
122414 s,@ECHO_N@,$ECHO_N,;t t
122415 s,@ECHO_T@,$ECHO_T,;t t
122416 s,@LIBS@,$LIBS,;t t
122417 s,@libtool_VERSION@,$libtool_VERSION,;t t
122418 s,@multi_basedir@,$multi_basedir,;t t
122419 s,@build@,$build,;t t
122420 s,@build_cpu@,$build_cpu,;t t
122421 s,@build_vendor@,$build_vendor,;t t
122422 s,@build_os@,$build_os,;t t
122423 s,@host@,$host,;t t
122424 s,@host_cpu@,$host_cpu,;t t
122425 s,@host_vendor@,$host_vendor,;t t
122426 s,@host_os@,$host_os,;t t
122427 s,@target@,$target,;t t
122428 s,@target_cpu@,$target_cpu,;t t
122429 s,@target_vendor@,$target_vendor,;t t
122430 s,@target_os@,$target_os,;t t
122431 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
122432 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
122433 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
122434 s,@CYGPATH_W@,$CYGPATH_W,;t t
122435 s,@PACKAGE@,$PACKAGE,;t t
122436 s,@VERSION@,$VERSION,;t t
122437 s,@ACLOCAL@,$ACLOCAL,;t t
122438 s,@AUTOCONF@,$AUTOCONF,;t t
122439 s,@AUTOMAKE@,$AUTOMAKE,;t t
122440 s,@AUTOHEADER@,$AUTOHEADER,;t t
122441 s,@MAKEINFO@,$MAKEINFO,;t t
122442 s,@install_sh@,$install_sh,;t t
122443 s,@STRIP@,$STRIP,;t t
122444 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
122445 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
122446 s,@mkdir_p@,$mkdir_p,;t t
122447 s,@AWK@,$AWK,;t t
122448 s,@SET_MAKE@,$SET_MAKE,;t t
122449 s,@am__leading_dot@,$am__leading_dot,;t t
122450 s,@AMTAR@,$AMTAR,;t t
122451 s,@am__tar@,$am__tar,;t t
122452 s,@am__untar@,$am__untar,;t t
122453 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
122454 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
122455 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
122456 s,@CC@,$CC,;t t
122457 s,@ac_ct_CC@,$ac_ct_CC,;t t
122458 s,@EXEEXT@,$EXEEXT,;t t
122459 s,@OBJEXT@,$OBJEXT,;t t
122460 s,@CXX@,$CXX,;t t
122461 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
122462 s,@CFLAGS@,$CFLAGS,;t t
122463 s,@CXXFLAGS@,$CXXFLAGS,;t t
122464 s,@LN_S@,$LN_S,;t t
122465 s,@AS@,$AS,;t t
122466 s,@ac_ct_AS@,$ac_ct_AS,;t t
122467 s,@AR@,$AR,;t t
122468 s,@ac_ct_AR@,$ac_ct_AR,;t t
122469 s,@RANLIB@,$RANLIB,;t t
122470 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
122471 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
122472 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
122473 s,@MAINT@,$MAINT,;t t
122474 s,@CPP@,$CPP,;t t
122475 s,@CPPFLAGS@,$CPPFLAGS,;t t
122476 s,@EGREP@,$EGREP,;t t
122477 s,@LIBTOOL@,$LIBTOOL,;t t
122478 s,@SED@,$SED,;t t
122479 s,@FGREP@,$FGREP,;t t
122480 s,@GREP@,$GREP,;t t
122481 s,@LD@,$LD,;t t
122482 s,@DUMPBIN@,$DUMPBIN,;t t
122483 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
122484 s,@NM@,$NM,;t t
122485 s,@lt_ECHO@,$lt_ECHO,;t t
122486 s,@LDFLAGS@,$LDFLAGS,;t t
122487 s,@CXXCPP@,$CXXCPP,;t t
122488 s,@enable_shared@,$enable_shared,;t t
122489 s,@enable_static@,$enable_static,;t t
122490 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
122491 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
122492 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
122493 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
122494 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
122495 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
122496 s,@WERROR@,$WERROR,;t t
122497 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
122498 s,@CSTDIO_H@,$CSTDIO_H,;t t
122499 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
122500 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
122501 s,@check_msgfmt@,$check_msgfmt,;t t
122502 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
122503 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
122504 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
122505 s,@USE_NLS@,$USE_NLS,;t t
122506 s,@CLOCALE_H@,$CLOCALE_H,;t t
122507 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
122508 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
122509 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
122510 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
122511 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
122512 s,@CMONEY_CC@,$CMONEY_CC,;t t
122513 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
122514 s,@CTIME_H@,$CTIME_H,;t t
122515 s,@CTIME_CC@,$CTIME_CC,;t t
122516 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
122517 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
122518 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
122519 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
122520 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
122521 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
122522 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
122523 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
122524 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
122525 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
122526 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
122527 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
122528 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
122529 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
122530 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
122531 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
122532 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
122533 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
122534 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
122535 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
122536 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
122537 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
122538 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
122539 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
122540 s,@LIBICONV@,$LIBICONV,;t t
122541 s,@LTLIBICONV@,$LTLIBICONV,;t t
122542 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
122543 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
122544 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
122545 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
122546 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
122547 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
122548 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
122549 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
122550 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
122551 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
122552 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
122553 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
122554 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
122555 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
122556 s,@baseline_dir@,$baseline_dir,;t t
122557 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
122558 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
122559 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
122560 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
122561 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
122562 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
122563 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
122564 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122565 s,@gxx_include_dir@,$gxx_include_dir,;t t
122566 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122567 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122568 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122569 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122570 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122571 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122572 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122573 s,@LIBOBJS@,$LIBOBJS,;t t
122574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122575 CEOF
122576
122577 _ACEOF
122578
122579   cat >>$CONFIG_STATUS <<\_ACEOF
122580   # Split the substitutions into bite-sized pieces for seds with
122581   # small command number limits, like on Digital OSF/1 and HP-UX.
122582   ac_max_sed_lines=48
122583   ac_sed_frag=1 # Number of current file.
122584   ac_beg=1 # First line for current file.
122585   ac_end=$ac_max_sed_lines # Line after last line for current file.
122586   ac_more_lines=:
122587   ac_sed_cmds=
122588   while $ac_more_lines; do
122589     if test $ac_beg -gt 1; then
122590       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122591     else
122592       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122593     fi
122594     if test ! -s $tmp/subs.frag; then
122595       ac_more_lines=false
122596     else
122597       # The purpose of the label and of the branching condition is to
122598       # speed up the sed processing (if there are no `@' at all, there
122599       # is no need to browse any of the substitutions).
122600       # These are the two extra sed commands mentioned above.
122601       (echo ':t
122602   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122603       if test -z "$ac_sed_cmds"; then
122604         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122605       else
122606         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122607       fi
122608       ac_sed_frag=`expr $ac_sed_frag + 1`
122609       ac_beg=$ac_end
122610       ac_end=`expr $ac_end + $ac_max_sed_lines`
122611     fi
122612   done
122613   if test -z "$ac_sed_cmds"; then
122614     ac_sed_cmds=cat
122615   fi
122616 fi # test -n "$CONFIG_FILES"
122617
122618 _ACEOF
122619 cat >>$CONFIG_STATUS <<\_ACEOF
122620 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122621   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122622   case $ac_file in
122623   - | *:- | *:-:* ) # input from stdin
122624         cat >$tmp/stdin
122625         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122626         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122627   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122628         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122629   * )   ac_file_in=$ac_file.in ;;
122630   esac
122631
122632   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122633   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122635          X"$ac_file" : 'X\(//\)[^/]' \| \
122636          X"$ac_file" : 'X\(//\)$' \| \
122637          X"$ac_file" : 'X\(/\)' \| \
122638          .     : '\(.\)' 2>/dev/null ||
122639 echo X"$ac_file" |
122640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122641           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122642           /^X\(\/\/\)$/{ s//\1/; q; }
122643           /^X\(\/\).*/{ s//\1/; q; }
122644           s/.*/./; q'`
122645   { if $as_mkdir_p; then
122646     mkdir -p "$ac_dir"
122647   else
122648     as_dir="$ac_dir"
122649     as_dirs=
122650     while test ! -d "$as_dir"; do
122651       as_dirs="$as_dir $as_dirs"
122652       as_dir=`(dirname "$as_dir") 2>/dev/null ||
122653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122654          X"$as_dir" : 'X\(//\)[^/]' \| \
122655          X"$as_dir" : 'X\(//\)$' \| \
122656          X"$as_dir" : 'X\(/\)' \| \
122657          .     : '\(.\)' 2>/dev/null ||
122658 echo X"$as_dir" |
122659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122660           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122661           /^X\(\/\/\)$/{ s//\1/; q; }
122662           /^X\(\/\).*/{ s//\1/; q; }
122663           s/.*/./; q'`
122664     done
122665     test ! -n "$as_dirs" || mkdir $as_dirs
122666   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122668    { (exit 1); exit 1; }; }; }
122669
122670   ac_builddir=.
122671
122672 if test "$ac_dir" != .; then
122673   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122674   # A "../" for each directory in $ac_dir_suffix.
122675   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122676 else
122677   ac_dir_suffix= ac_top_builddir=
122678 fi
122679
122680 case $srcdir in
122681   .)  # No --srcdir option.  We are building in place.
122682     ac_srcdir=.
122683     if test -z "$ac_top_builddir"; then
122684        ac_top_srcdir=.
122685     else
122686        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122687     fi ;;
122688   [\\/]* | ?:[\\/]* )  # Absolute path.
122689     ac_srcdir=$srcdir$ac_dir_suffix;
122690     ac_top_srcdir=$srcdir ;;
122691   *) # Relative path.
122692     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122693     ac_top_srcdir=$ac_top_builddir$srcdir ;;
122694 esac
122695
122696 # Do not use `cd foo && pwd` to compute absolute paths, because
122697 # the directories may not exist.
122698 case `pwd` in
122699 .) ac_abs_builddir="$ac_dir";;
122700 *)
122701   case "$ac_dir" in
122702   .) ac_abs_builddir=`pwd`;;
122703   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122704   *) ac_abs_builddir=`pwd`/"$ac_dir";;
122705   esac;;
122706 esac
122707 case $ac_abs_builddir in
122708 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122709 *)
122710   case ${ac_top_builddir}. in
122711   .) ac_abs_top_builddir=$ac_abs_builddir;;
122712   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122713   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122714   esac;;
122715 esac
122716 case $ac_abs_builddir in
122717 .) ac_abs_srcdir=$ac_srcdir;;
122718 *)
122719   case $ac_srcdir in
122720   .) ac_abs_srcdir=$ac_abs_builddir;;
122721   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122722   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122723   esac;;
122724 esac
122725 case $ac_abs_builddir in
122726 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122727 *)
122728   case $ac_top_srcdir in
122729   .) ac_abs_top_srcdir=$ac_abs_builddir;;
122730   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122731   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122732   esac;;
122733 esac
122734
122735
122736   case $INSTALL in
122737   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
122738   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
122739   esac
122740
122741   if test x"$ac_file" != x-; then
122742     { echo "$as_me:$LINENO: creating $ac_file" >&5
122743 echo "$as_me: creating $ac_file" >&6;}
122744     rm -f "$ac_file"
122745   fi
122746   # Let's still pretend it is `configure' which instantiates (i.e., don't
122747   # use $as_me), people would be surprised to read:
122748   #    /* config.h.  Generated by config.status.  */
122749   if test x"$ac_file" = x-; then
122750     configure_input=
122751   else
122752     configure_input="$ac_file.  "
122753   fi
122754   configure_input=$configure_input"Generated from `echo $ac_file_in |
122755                                      sed 's,.*/,,'` by configure."
122756
122757   # First look for the input files in the build tree, otherwise in the
122758   # src tree.
122759   ac_file_inputs=`IFS=:
122760     for f in $ac_file_in; do
122761       case $f in
122762       -) echo $tmp/stdin ;;
122763       [\\/$]*)
122764          # Absolute (can't be DOS-style, as IFS=:)
122765          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122766 echo "$as_me: error: cannot find input file: $f" >&2;}
122767    { (exit 1); exit 1; }; }
122768          echo "$f";;
122769       *) # Relative
122770          if test -f "$f"; then
122771            # Build tree
122772            echo "$f"
122773          elif test -f "$srcdir/$f"; then
122774            # Source tree
122775            echo "$srcdir/$f"
122776          else
122777            # /dev/null tree
122778            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122779 echo "$as_me: error: cannot find input file: $f" >&2;}
122780    { (exit 1); exit 1; }; }
122781          fi;;
122782       esac
122783     done` || { (exit 1); exit 1; }
122784 _ACEOF
122785 cat >>$CONFIG_STATUS <<_ACEOF
122786   sed "$ac_vpsub
122787 $extrasub
122788 _ACEOF
122789 cat >>$CONFIG_STATUS <<\_ACEOF
122790 :t
122791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
122792 s,@configure_input@,$configure_input,;t t
122793 s,@srcdir@,$ac_srcdir,;t t
122794 s,@abs_srcdir@,$ac_abs_srcdir,;t t
122795 s,@top_srcdir@,$ac_top_srcdir,;t t
122796 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
122797 s,@builddir@,$ac_builddir,;t t
122798 s,@abs_builddir@,$ac_abs_builddir,;t t
122799 s,@top_builddir@,$ac_top_builddir,;t t
122800 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
122801 s,@INSTALL@,$ac_INSTALL,;t t
122802 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
122803   rm -f $tmp/stdin
122804   if test x"$ac_file" != x-; then
122805     mv $tmp/out $ac_file
122806   else
122807     cat $tmp/out
122808     rm -f $tmp/out
122809   fi
122810
122811   # Run the commands associated with the file.
122812   case $ac_file in
122813     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
122814   esac
122815 done
122816 _ACEOF
122817 cat >>$CONFIG_STATUS <<\_ACEOF
122818
122819 #
122820 # CONFIG_HEADER section.
122821 #
122822
122823 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
122824 # NAME is the cpp macro being defined and VALUE is the value it is being given.
122825 #
122826 # ac_d sets the value in "#define NAME VALUE" lines.
122827 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
122828 ac_dB='[         ].*$,\1#\2'
122829 ac_dC=' '
122830 ac_dD=',;t'
122831 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
122832 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
122833 ac_uB='$,\1#\2define\3'
122834 ac_uC=' '
122835 ac_uD=',;t'
122836
122837 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
122838   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122839   case $ac_file in
122840   - | *:- | *:-:* ) # input from stdin
122841         cat >$tmp/stdin
122842         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122843         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122844   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122845         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122846   * )   ac_file_in=$ac_file.in ;;
122847   esac
122848
122849   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122850 echo "$as_me: creating $ac_file" >&6;}
122851
122852   # First look for the input files in the build tree, otherwise in the
122853   # src tree.
122854   ac_file_inputs=`IFS=:
122855     for f in $ac_file_in; do
122856       case $f in
122857       -) echo $tmp/stdin ;;
122858       [\\/$]*)
122859          # Absolute (can't be DOS-style, as IFS=:)
122860          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122861 echo "$as_me: error: cannot find input file: $f" >&2;}
122862    { (exit 1); exit 1; }; }
122863          # Do quote $f, to prevent DOS paths from being IFS'd.
122864          echo "$f";;
122865       *) # Relative
122866          if test -f "$f"; then
122867            # Build tree
122868            echo "$f"
122869          elif test -f "$srcdir/$f"; then
122870            # Source tree
122871            echo "$srcdir/$f"
122872          else
122873            # /dev/null tree
122874            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122875 echo "$as_me: error: cannot find input file: $f" >&2;}
122876    { (exit 1); exit 1; }; }
122877          fi;;
122878       esac
122879     done` || { (exit 1); exit 1; }
122880   # Remove the trailing spaces.
122881   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
122882
122883 _ACEOF
122884
122885 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122886 # `conftest.undefs', that substitutes the proper values into
122887 # config.h.in to produce config.h.  The first handles `#define'
122888 # templates, and the second `#undef' templates.
122889 # And first: Protect against being on the right side of a sed subst in
122890 # config.status.  Protect against being in an unquoted here document
122891 # in config.status.
122892 rm -f conftest.defines conftest.undefs
122893 # Using a here document instead of a string reduces the quoting nightmare.
122894 # Putting comments in sed scripts is not portable.
122895 #
122896 # `end' is used to avoid that the second main sed command (meant for
122897 # 0-ary CPP macros) applies to n-ary macro definitions.
122898 # See the Autoconf documentation for `clear'.
122899 cat >confdef2sed.sed <<\_ACEOF
122900 s/[\\&,]/\\&/g
122901 s,[\\$`],\\&,g
122902 t clear
122903 : clear
122904 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122905 t end
122906 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122907 : end
122908 _ACEOF
122909 # If some macros were called several times there might be several times
122910 # the same #defines, which is useless.  Nevertheless, we may not want to
122911 # sort them, since we want the *last* AC-DEFINE to be honored.
122912 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122913 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122914 rm -f confdef2sed.sed
122915
122916 # This sed command replaces #undef with comments.  This is necessary, for
122917 # example, in the case of _POSIX_SOURCE, which is predefined and required
122918 # on some systems where configure will not decide to define it.
122919 cat >>conftest.undefs <<\_ACEOF
122920 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122921 _ACEOF
122922
122923 # Break up conftest.defines because some shells have a limit on the size
122924 # of here documents, and old seds have small limits too (100 cmds).
122925 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122926 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122927 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122928 echo '  :' >>$CONFIG_STATUS
122929 rm -f conftest.tail
122930 while grep . conftest.defines >/dev/null
122931 do
122932   # Write a limited-size here document to $tmp/defines.sed.
122933   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122934   # Speed up: don't consider the non `#define' lines.
122935   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
122936   # Work around the forget-to-reset-the-flag bug.
122937   echo 't clr' >>$CONFIG_STATUS
122938   echo ': clr' >>$CONFIG_STATUS
122939   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122940   echo 'CEOF
122941   sed -f $tmp/defines.sed $tmp/in >$tmp/out
122942   rm -f $tmp/in
122943   mv $tmp/out $tmp/in
122944 ' >>$CONFIG_STATUS
122945   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122946   rm -f conftest.defines
122947   mv conftest.tail conftest.defines
122948 done
122949 rm -f conftest.defines
122950 echo '  fi # grep' >>$CONFIG_STATUS
122951 echo >>$CONFIG_STATUS
122952
122953 # Break up conftest.undefs because some shells have a limit on the size
122954 # of here documents, and old seds have small limits too (100 cmds).
122955 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
122956 rm -f conftest.tail
122957 while grep . conftest.undefs >/dev/null
122958 do
122959   # Write a limited-size here document to $tmp/undefs.sed.
122960   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122961   # Speed up: don't consider the non `#undef'
122962   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
122963   # Work around the forget-to-reset-the-flag bug.
122964   echo 't clr' >>$CONFIG_STATUS
122965   echo ': clr' >>$CONFIG_STATUS
122966   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122967   echo 'CEOF
122968   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122969   rm -f $tmp/in
122970   mv $tmp/out $tmp/in
122971 ' >>$CONFIG_STATUS
122972   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122973   rm -f conftest.undefs
122974   mv conftest.tail conftest.undefs
122975 done
122976 rm -f conftest.undefs
122977
122978 cat >>$CONFIG_STATUS <<\_ACEOF
122979   # Let's still pretend it is `configure' which instantiates (i.e., don't
122980   # use $as_me), people would be surprised to read:
122981   #    /* config.h.  Generated by config.status.  */
122982   if test x"$ac_file" = x-; then
122983     echo "/* Generated by configure.  */" >$tmp/config.h
122984   else
122985     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
122986   fi
122987   cat $tmp/in >>$tmp/config.h
122988   rm -f $tmp/in
122989   if test x"$ac_file" != x-; then
122990     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122991       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122992 echo "$as_me: $ac_file is unchanged" >&6;}
122993     else
122994       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122996          X"$ac_file" : 'X\(//\)[^/]' \| \
122997          X"$ac_file" : 'X\(//\)$' \| \
122998          X"$ac_file" : 'X\(/\)' \| \
122999          .     : '\(.\)' 2>/dev/null ||
123000 echo X"$ac_file" |
123001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123002           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123003           /^X\(\/\/\)$/{ s//\1/; q; }
123004           /^X\(\/\).*/{ s//\1/; q; }
123005           s/.*/./; q'`
123006       { if $as_mkdir_p; then
123007     mkdir -p "$ac_dir"
123008   else
123009     as_dir="$ac_dir"
123010     as_dirs=
123011     while test ! -d "$as_dir"; do
123012       as_dirs="$as_dir $as_dirs"
123013       as_dir=`(dirname "$as_dir") 2>/dev/null ||
123014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123015          X"$as_dir" : 'X\(//\)[^/]' \| \
123016          X"$as_dir" : 'X\(//\)$' \| \
123017          X"$as_dir" : 'X\(/\)' \| \
123018          .     : '\(.\)' 2>/dev/null ||
123019 echo X"$as_dir" |
123020     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123021           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123022           /^X\(\/\/\)$/{ s//\1/; q; }
123023           /^X\(\/\).*/{ s//\1/; q; }
123024           s/.*/./; q'`
123025     done
123026     test ! -n "$as_dirs" || mkdir $as_dirs
123027   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123028 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123029    { (exit 1); exit 1; }; }; }
123030
123031       rm -f $ac_file
123032       mv $tmp/config.h $ac_file
123033     fi
123034   else
123035     cat $tmp/config.h
123036     rm -f $tmp/config.h
123037   fi
123038 # Compute $ac_file's index in $config_headers.
123039 _am_stamp_count=1
123040 for _am_header in $config_headers :; do
123041   case $_am_header in
123042     $ac_file | $ac_file:* )
123043       break ;;
123044     * )
123045       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
123046   esac
123047 done
123048 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
123049 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123050          X$ac_file : 'X\(//\)[^/]' \| \
123051          X$ac_file : 'X\(//\)$' \| \
123052          X$ac_file : 'X\(/\)' \| \
123053          .     : '\(.\)' 2>/dev/null ||
123054 echo X$ac_file |
123055     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123056           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123057           /^X\(\/\/\)$/{ s//\1/; q; }
123058           /^X\(\/\).*/{ s//\1/; q; }
123059           s/.*/./; q'`/stamp-h$_am_stamp_count
123060 done
123061 _ACEOF
123062 cat >>$CONFIG_STATUS <<\_ACEOF
123063
123064 #
123065 # CONFIG_COMMANDS section.
123066 #
123067 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
123068   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
123069   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
123070   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
123071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123072          X"$ac_dest" : 'X\(//\)[^/]' \| \
123073          X"$ac_dest" : 'X\(//\)$' \| \
123074          X"$ac_dest" : 'X\(/\)' \| \
123075          .     : '\(.\)' 2>/dev/null ||
123076 echo X"$ac_dest" |
123077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123078           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123079           /^X\(\/\/\)$/{ s//\1/; q; }
123080           /^X\(\/\).*/{ s//\1/; q; }
123081           s/.*/./; q'`
123082   { if $as_mkdir_p; then
123083     mkdir -p "$ac_dir"
123084   else
123085     as_dir="$ac_dir"
123086     as_dirs=
123087     while test ! -d "$as_dir"; do
123088       as_dirs="$as_dir $as_dirs"
123089       as_dir=`(dirname "$as_dir") 2>/dev/null ||
123090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123091          X"$as_dir" : 'X\(//\)[^/]' \| \
123092          X"$as_dir" : 'X\(//\)$' \| \
123093          X"$as_dir" : 'X\(/\)' \| \
123094          .     : '\(.\)' 2>/dev/null ||
123095 echo X"$as_dir" |
123096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123097           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123098           /^X\(\/\/\)$/{ s//\1/; q; }
123099           /^X\(\/\).*/{ s//\1/; q; }
123100           s/.*/./; q'`
123101     done
123102     test ! -n "$as_dirs" || mkdir $as_dirs
123103   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123105    { (exit 1); exit 1; }; }; }
123106
123107   ac_builddir=.
123108
123109 if test "$ac_dir" != .; then
123110   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
123111   # A "../" for each directory in $ac_dir_suffix.
123112   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
123113 else
123114   ac_dir_suffix= ac_top_builddir=
123115 fi
123116
123117 case $srcdir in
123118   .)  # No --srcdir option.  We are building in place.
123119     ac_srcdir=.
123120     if test -z "$ac_top_builddir"; then
123121        ac_top_srcdir=.
123122     else
123123        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
123124     fi ;;
123125   [\\/]* | ?:[\\/]* )  # Absolute path.
123126     ac_srcdir=$srcdir$ac_dir_suffix;
123127     ac_top_srcdir=$srcdir ;;
123128   *) # Relative path.
123129     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
123130     ac_top_srcdir=$ac_top_builddir$srcdir ;;
123131 esac
123132
123133 # Do not use `cd foo && pwd` to compute absolute paths, because
123134 # the directories may not exist.
123135 case `pwd` in
123136 .) ac_abs_builddir="$ac_dir";;
123137 *)
123138   case "$ac_dir" in
123139   .) ac_abs_builddir=`pwd`;;
123140   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123141   *) ac_abs_builddir=`pwd`/"$ac_dir";;
123142   esac;;
123143 esac
123144 case $ac_abs_builddir in
123145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123146 *)
123147   case ${ac_top_builddir}. in
123148   .) ac_abs_top_builddir=$ac_abs_builddir;;
123149   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123150   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123151   esac;;
123152 esac
123153 case $ac_abs_builddir in
123154 .) ac_abs_srcdir=$ac_srcdir;;
123155 *)
123156   case $ac_srcdir in
123157   .) ac_abs_srcdir=$ac_abs_builddir;;
123158   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123159   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123160   esac;;
123161 esac
123162 case $ac_abs_builddir in
123163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123164 *)
123165   case $ac_top_srcdir in
123166   .) ac_abs_top_srcdir=$ac_abs_builddir;;
123167   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123168   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123169   esac;;
123170 esac
123171
123172
123173   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
123174 echo "$as_me: executing $ac_dest commands" >&6;}
123175   case $ac_dest in
123176     default-1 )
123177 # Only add multilib support code if we just rebuilt the top-level
123178 # Makefile.
123179 case " $CONFIG_FILES " in
123180  *" Makefile "*)
123181    ac_file=Makefile . ${multi_basedir}/config-ml.in
123182    ;;
123183 esac ;;
123184     libtool )
123185
123186     # See if we are running on zsh, and set the options which allow our
123187     # commands through without removal of \ escapes.
123188     if test -n "${ZSH_VERSION+set}" ; then
123189       setopt NO_GLOB_SUBST
123190     fi
123191
123192     cfgfile="${ofile}T"
123193     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
123194     $RM "$cfgfile"
123195
123196     cat <<_LT_EOF >> "$cfgfile"
123197 #! $SHELL
123198
123199 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
123200 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
123201 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
123202 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
123203 #
123204 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
123205 # 2006, 2007 Free Software Foundation, Inc.
123206 #
123207 # This file is part of GNU Libtool:
123208 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
123209 #
123210 # This program is free software; you can redistribute it and/or modify
123211 # it under the terms of the GNU General Public License as published by
123212 # the Free Software Foundation; either version 2 of the License, or
123213 # (at your option) any later version.
123214 #
123215 # This program is distributed in the hope that it will be useful, but
123216 # WITHOUT ANY WARRANTY; without even the implied warranty of
123217 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
123218 # General Public License for more details.
123219 #
123220 # You should have received a copy of the GNU General Public License
123221 # along with this program; if not, a copy can be downloaded from
123222 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
123223 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
123224 # MA 02110-1301, USA.
123225 #
123226 # As a special exception to the GNU General Public License, if you
123227 # distribute this file as part of a program that contains a
123228 # configuration script generated by Autoconf, you may include it under
123229 # the same distribution terms that you use for the rest of that program.
123230
123231
123232 # The names of the tagged configurations supported by this script.
123233 available_tags="CXX "
123234
123235 # ### BEGIN LIBTOOL CONFIG
123236
123237 # Which release of libtool.m4 was used?
123238 macro_version=$macro_version
123239 macro_revision=$macro_revision
123240
123241 # Whether or not to build shared libraries.
123242 build_libtool_libs=$enable_shared
123243
123244 # Whether or not to build static libraries.
123245 build_old_libs=$enable_static
123246
123247 # What type of objects to build.
123248 pic_mode=$pic_mode
123249
123250 # Whether or not to optimize for fast installation.
123251 fast_install=$enable_fast_install
123252
123253 # The host system.
123254 host_alias=$host_alias
123255 host=$host
123256 host_os=$host_os
123257
123258 # The build system.
123259 build_alias=$build_alias
123260 build=$build
123261 build_os=$build_os
123262
123263 # A sed program that does not truncate output.
123264 SED=$lt_SED
123265
123266 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
123267 Xsed="\$SED -e 1s/^X//"
123268
123269 # A grep program that handles long lines.
123270 GREP=$lt_GREP
123271
123272 # An ERE matcher.
123273 EGREP=$lt_EGREP
123274
123275 # A literal string matcher.
123276 FGREP=$lt_FGREP
123277
123278 # A BSD- or MS-compatible name lister.
123279 NM=$lt_NM
123280
123281 # Whether we need soft or hard links.
123282 LN_S=$lt_LN_S
123283
123284 # What is the maximum length of a command?
123285 max_cmd_len=$max_cmd_len
123286
123287 # Object file suffix (normally "o").
123288 objext=$ac_objext
123289
123290 # Executable file suffix (normally "").
123291 exeext=$exeext
123292
123293 # whether the shell understands "unset".
123294 lt_unset=$lt_unset
123295
123296 # turn spaces into newlines.
123297 SP2NL=$lt_lt_SP2NL
123298
123299 # turn newlines into spaces.
123300 NL2SP=$lt_lt_NL2SP
123301
123302 # How to create reloadable object files.
123303 reload_flag=$lt_reload_flag
123304 reload_cmds=$lt_reload_cmds
123305
123306 # Method to check whether dependent libraries are shared objects.
123307 deplibs_check_method=$lt_deplibs_check_method
123308
123309 # Command to use when deplibs_check_method == "file_magic".
123310 file_magic_cmd=$lt_file_magic_cmd
123311
123312 # The archiver.
123313 AR=$lt_AR
123314 AR_FLAGS=$lt_AR_FLAGS
123315
123316 # A symbol stripping program.
123317 STRIP=$lt_STRIP
123318
123319 # Commands used to install an old-style archive.
123320 RANLIB=$lt_RANLIB
123321 old_postinstall_cmds=$lt_old_postinstall_cmds
123322 old_postuninstall_cmds=$lt_old_postuninstall_cmds
123323
123324 # A C compiler.
123325 LTCC=$lt_CC
123326
123327 # LTCC compiler flags.
123328 LTCFLAGS=$lt_CFLAGS
123329
123330 # Take the output of nm and produce a listing of raw symbols and C names.
123331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
123332
123333 # Transform the output of nm in a proper C declaration.
123334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
123335
123336 # Transform the output of nm in a C name address pair.
123337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
123338
123339 # The name of the directory that contains temporary libtool files.
123340 objdir=$objdir
123341
123342 # Shell to use when invoking shell scripts.
123343 SHELL=$lt_SHELL
123344
123345 # An echo program that does not interpret backslashes.
123346 ECHO=$lt_ECHO
123347
123348 # Used to examine libraries when file_magic_cmd begins with "file".
123349 MAGIC_CMD=$MAGIC_CMD
123350
123351 # Must we lock files when doing compilation?
123352 need_locks=$lt_need_locks
123353
123354 # Old archive suffix (normally "a").
123355 libext=$libext
123356
123357 # Shared library suffix (normally ".so").
123358 shrext_cmds=$lt_shrext_cmds
123359
123360 # The commands to extract the exported symbol list from a shared archive.
123361 extract_expsyms_cmds=$lt_extract_expsyms_cmds
123362
123363 # Variables whose values should be saved in libtool wrapper scripts and
123364 # restored at link time.
123365 variables_saved_for_relink=$lt_variables_saved_for_relink
123366
123367 # Do we need the "lib" prefix for modules?
123368 need_lib_prefix=$need_lib_prefix
123369
123370 # Do we need a version for libraries?
123371 need_version=$need_version
123372
123373 # Library versioning type.
123374 version_type=$version_type
123375
123376 # Shared library runtime path variable.
123377 runpath_var=$runpath_var
123378
123379 # Shared library path variable.
123380 shlibpath_var=$shlibpath_var
123381
123382 # Is shlibpath searched before the hard-coded library search path?
123383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
123384
123385 # Format of library name prefix.
123386 libname_spec=$lt_libname_spec
123387
123388 # List of archive names.  First name is the real one, the rest are links.
123389 # The last name is the one that the linker finds with -lNAME
123390 library_names_spec=$lt_library_names_spec
123391
123392 # The coded name of the library, if different from the real name.
123393 soname_spec=$lt_soname_spec
123394
123395 # Command to use after installation of a shared archive.
123396 postinstall_cmds=$lt_postinstall_cmds
123397
123398 # Command to use after uninstallation of a shared archive.
123399 postuninstall_cmds=$lt_postuninstall_cmds
123400
123401 # Commands used to finish a libtool library installation in a directory.
123402 finish_cmds=$lt_finish_cmds
123403
123404 # As "finish_cmds", except a single script fragment to be evaled but
123405 # not shown.
123406 finish_eval=$lt_finish_eval
123407
123408 # Whether we should hardcode library paths into libraries.
123409 hardcode_into_libs=$hardcode_into_libs
123410
123411 # Compile-time system search path for libraries.
123412 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
123413
123414 # Run-time system search path for libraries.
123415 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
123416
123417 # Whether dlopen is supported.
123418 dlopen_support=$enable_dlopen
123419
123420 # Whether dlopen of programs is supported.
123421 dlopen_self=$enable_dlopen_self
123422
123423 # Whether dlopen of statically linked programs is supported.
123424 dlopen_self_static=$enable_dlopen_self_static
123425
123426 # Commands to strip libraries.
123427 old_striplib=$lt_old_striplib
123428 striplib=$lt_striplib
123429
123430
123431 # The linker used to build libraries.
123432 LD=$lt_LD
123433
123434 # Commands used to build an old-style archive.
123435 old_archive_cmds=$lt_old_archive_cmds
123436
123437 # A language specific compiler.
123438 CC=$lt_compiler
123439
123440 # Is the compiler the GNU compiler?
123441 with_gcc=$GCC
123442
123443 # Compiler flag to turn off builtin functions.
123444 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
123445
123446 # How to pass a linker flag through the compiler.
123447 wl=$lt_lt_prog_compiler_wl
123448
123449 # Additional compiler flags for building library objects.
123450 pic_flag=$lt_lt_prog_compiler_pic
123451
123452 # Compiler flag to prevent dynamic linking.
123453 link_static_flag=$lt_lt_prog_compiler_static
123454
123455 # Does compiler simultaneously support -c and -o options?
123456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
123457
123458 # Whether or not to add -lc for building shared libraries.
123459 build_libtool_need_lc=$archive_cmds_need_lc
123460
123461 # Whether or not to disallow shared libs when runtime libs are static.
123462 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
123463
123464 # Compiler flag to allow reflexive dlopens.
123465 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
123466
123467 # Compiler flag to generate shared objects directly from archives.
123468 whole_archive_flag_spec=$lt_whole_archive_flag_spec
123469
123470 # Whether the compiler copes with passing no objects directly.
123471 compiler_needs_object=$lt_compiler_needs_object
123472
123473 # Create an old-style archive from a shared archive.
123474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
123475
123476 # Create a temporary old-style archive to link instead of a shared archive.
123477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
123478
123479 # Commands used to build a shared archive.
123480 archive_cmds=$lt_archive_cmds
123481 archive_expsym_cmds=$lt_archive_expsym_cmds
123482
123483 # Commands used to build a loadable module if different from building
123484 # a shared archive.
123485 module_cmds=$lt_module_cmds
123486 module_expsym_cmds=$lt_module_expsym_cmds
123487
123488 # Whether we are building with GNU ld or not.
123489 with_gnu_ld=$lt_with_gnu_ld
123490
123491 # Flag that allows shared libraries with undefined symbols to be built.
123492 allow_undefined_flag=$lt_allow_undefined_flag
123493
123494 # Flag that enforces no undefined symbols.
123495 no_undefined_flag=$lt_no_undefined_flag
123496
123497 # Flag to hardcode \$libdir into a binary during linking.
123498 # This must work even if \$libdir does not exist
123499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
123500
123501 # If ld is used when linking, flag to hardcode \$libdir into a binary
123502 # during linking.  This must work even if \$libdir does not exist.
123503 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
123504
123505 # Whether we need a single "-rpath" flag with a separated argument.
123506 hardcode_libdir_separator=$lt_hardcode_libdir_separator
123507
123508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123509 # DIR into the resulting binary.
123510 hardcode_direct=$hardcode_direct
123511
123512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123513 # DIR into the resulting binary and the resulting library dependency is
123514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123515 # library is relocated.
123516 hardcode_direct_absolute=$hardcode_direct_absolute
123517
123518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123519 # into the resulting binary.
123520 hardcode_minus_L=$hardcode_minus_L
123521
123522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123523 # into the resulting binary.
123524 hardcode_shlibpath_var=$hardcode_shlibpath_var
123525
123526 # Set to "yes" if building a shared library automatically hardcodes DIR
123527 # into the library and all subsequent libraries and executables linked
123528 # against it.
123529 hardcode_automatic=$hardcode_automatic
123530
123531 # Set to yes if linker adds runtime paths of dependent libraries
123532 # to runtime path list.
123533 inherit_rpath=$inherit_rpath
123534
123535 # Whether libtool must link a program against all its dependency libraries.
123536 link_all_deplibs=$link_all_deplibs
123537
123538 # Fix the shell variable \$srcfile for the compiler.
123539 fix_srcfile_path=$lt_fix_srcfile_path
123540
123541 # Set to "yes" if exported symbols are required.
123542 always_export_symbols=$always_export_symbols
123543
123544 # The commands to list exported symbols.
123545 export_symbols_cmds=$lt_export_symbols_cmds
123546
123547 # Symbols that should not be listed in the preloaded symbols.
123548 exclude_expsyms=$lt_exclude_expsyms
123549
123550 # Symbols that must always be exported.
123551 include_expsyms=$lt_include_expsyms
123552
123553 # Commands necessary for linking programs (against libraries) with templates.
123554 prelink_cmds=$lt_prelink_cmds
123555
123556 # Specify filename containing input files.
123557 file_list_spec=$lt_file_list_spec
123558
123559 # How to hardcode a shared library path into an executable.
123560 hardcode_action=$hardcode_action
123561
123562 # Dependencies to place before and after the objects being linked to
123563 # create a shared library.
123564 predep_objects=$lt_predep_objects
123565 postdep_objects=$lt_postdep_objects
123566 predeps=$lt_predeps
123567 postdeps=$lt_postdeps
123568
123569 # The library search path used internally by the compiler when linking
123570 # a shared library.
123571 compiler_lib_search_path=$lt_compiler_lib_search_path
123572
123573 # ### END LIBTOOL CONFIG
123574
123575 _LT_EOF
123576
123577   case $host_os in
123578   aix3*)
123579     cat <<\_LT_EOF >> "$cfgfile"
123580 # AIX sometimes has problems with the GCC collect2 program.  For some
123581 # reason, if we set the COLLECT_NAMES environment variable, the problems
123582 # vanish in a puff of smoke.
123583 if test "X${COLLECT_NAMES+set}" != Xset; then
123584   COLLECT_NAMES=
123585   export COLLECT_NAMES
123586 fi
123587 _LT_EOF
123588     ;;
123589   esac
123590
123591
123592 ltmain="$ac_aux_dir/ltmain.sh"
123593
123594
123595   # We use sed instead of cat because bash on DJGPP gets confused if
123596   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
123597   # text mode, it properly converts lines to CR/LF.  This bash problem
123598   # is reportedly fixed, but why not run on old versions too?
123599   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123600     || (rm -f "$cfgfile"; exit 1)
123601
123602   case $xsi_shell in
123603   yes)
123604     cat << \_LT_EOF >> "$cfgfile"
123605 # func_dirname file append nondir_replacement
123606 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
123607 # otherwise set result to NONDIR_REPLACEMENT.
123608 func_dirname ()
123609 {
123610   case ${1} in
123611     */*) func_dirname_result="${1%/*}${2}" ;;
123612     *  ) func_dirname_result="${3}" ;;
123613   esac
123614 }
123615
123616 # func_basename file
123617 func_basename ()
123618 {
123619   func_basename_result="${1##*/}"
123620 }
123621
123622 # func_stripname prefix suffix name
123623 # strip PREFIX and SUFFIX off of NAME.
123624 # PREFIX and SUFFIX must not contain globbing or regex special
123625 # characters, hashes, percent signs, but SUFFIX may contain a leading
123626 # dot (in which case that matches only a dot).
123627 func_stripname ()
123628 {
123629   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123630   # positional parameters, so assign one to ordinary parameter first.
123631   func_stripname_result=${3}
123632   func_stripname_result=${func_stripname_result#"${1}"}
123633   func_stripname_result=${func_stripname_result%"${2}"}
123634 }
123635
123636 # func_opt_split
123637 func_opt_split ()
123638 {
123639   func_opt_split_opt=${1%%=*}
123640   func_opt_split_arg=${1#*=}
123641 }
123642
123643 # func_lo2o object
123644 func_lo2o ()
123645 {
123646   case ${1} in
123647     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123648     *)    func_lo2o_result=${1} ;;
123649   esac
123650 }
123651 _LT_EOF
123652     ;;
123653   *) # Bourne compatible functions.
123654     cat << \_LT_EOF >> "$cfgfile"
123655 # func_dirname file append nondir_replacement
123656 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
123657 # otherwise set result to NONDIR_REPLACEMENT.
123658 func_dirname ()
123659 {
123660   # Extract subdirectory from the argument.
123661   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123662   if test "X$func_dirname_result" = "X${1}"; then
123663     func_dirname_result="${3}"
123664   else
123665     func_dirname_result="$func_dirname_result${2}"
123666   fi
123667 }
123668
123669 # func_basename file
123670 func_basename ()
123671 {
123672   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123673 }
123674
123675 # func_stripname prefix suffix name
123676 # strip PREFIX and SUFFIX off of NAME.
123677 # PREFIX and SUFFIX must not contain globbing or regex special
123678 # characters, hashes, percent signs, but SUFFIX may contain a leading
123679 # dot (in which case that matches only a dot).
123680 # func_strip_suffix prefix name
123681 func_stripname ()
123682 {
123683   case ${2} in
123684     .*) func_stripname_result=`$ECHO "X${3}" \
123685            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123686     *)  func_stripname_result=`$ECHO "X${3}" \
123687            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123688   esac
123689 }
123690
123691 # sed scripts:
123692 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123693 my_sed_long_arg='1s/^-[^=]*=//'
123694
123695 # func_opt_split
123696 func_opt_split ()
123697 {
123698   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
123699   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
123700 }
123701
123702 # func_lo2o object
123703 func_lo2o ()
123704 {
123705   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
123706 }
123707 _LT_EOF
123708 esac
123709
123710 case $lt_shell_append in
123711   yes)
123712     cat << \_LT_EOF >> "$cfgfile"
123713
123714 # func_append var value
123715 # Append VALUE to the end of shell variable VAR.
123716 func_append ()
123717 {
123718   eval "$1+=\$2"
123719 }
123720 _LT_EOF
123721     ;;
123722   *)
123723     cat << \_LT_EOF >> "$cfgfile"
123724
123725 # func_append var value
123726 # Append VALUE to the end of shell variable VAR.
123727 func_append ()
123728 {
123729   eval "$1=\$$1\$2"
123730 }
123731 _LT_EOF
123732     ;;
123733   esac
123734
123735
123736   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
123737     || (rm -f "$cfgfile"; exit 1)
123738
123739   mv -f "$cfgfile" "$ofile" ||
123740     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
123741   chmod +x "$ofile"
123742
123743
123744     cat <<_LT_EOF >> "$ofile"
123745
123746 # ### BEGIN LIBTOOL TAG CONFIG: CXX
123747
123748 # The linker used to build libraries.
123749 LD=$lt_LD_CXX
123750
123751 # Commands used to build an old-style archive.
123752 old_archive_cmds=$lt_old_archive_cmds_CXX
123753
123754 # A language specific compiler.
123755 CC=$lt_compiler_CXX
123756
123757 # Is the compiler the GNU compiler?
123758 with_gcc=$GCC_CXX
123759
123760 # Compiler flag to turn off builtin functions.
123761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
123762
123763 # How to pass a linker flag through the compiler.
123764 wl=$lt_lt_prog_compiler_wl_CXX
123765
123766 # Additional compiler flags for building library objects.
123767 pic_flag=$lt_lt_prog_compiler_pic_CXX
123768
123769 # Compiler flag to prevent dynamic linking.
123770 link_static_flag=$lt_lt_prog_compiler_static_CXX
123771
123772 # Does compiler simultaneously support -c and -o options?
123773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
123774
123775 # Whether or not to add -lc for building shared libraries.
123776 build_libtool_need_lc=$archive_cmds_need_lc_CXX
123777
123778 # Whether or not to disallow shared libs when runtime libs are static.
123779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
123780
123781 # Compiler flag to allow reflexive dlopens.
123782 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
123783
123784 # Compiler flag to generate shared objects directly from archives.
123785 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
123786
123787 # Whether the compiler copes with passing no objects directly.
123788 compiler_needs_object=$lt_compiler_needs_object_CXX
123789
123790 # Create an old-style archive from a shared archive.
123791 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
123792
123793 # Create a temporary old-style archive to link instead of a shared archive.
123794 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
123795
123796 # Commands used to build a shared archive.
123797 archive_cmds=$lt_archive_cmds_CXX
123798 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
123799
123800 # Commands used to build a loadable module if different from building
123801 # a shared archive.
123802 module_cmds=$lt_module_cmds_CXX
123803 module_expsym_cmds=$lt_module_expsym_cmds_CXX
123804
123805 # Whether we are building with GNU ld or not.
123806 with_gnu_ld=$lt_with_gnu_ld_CXX
123807
123808 # Flag that allows shared libraries with undefined symbols to be built.
123809 allow_undefined_flag=$lt_allow_undefined_flag_CXX
123810
123811 # Flag that enforces no undefined symbols.
123812 no_undefined_flag=$lt_no_undefined_flag_CXX
123813
123814 # Flag to hardcode \$libdir into a binary during linking.
123815 # This must work even if \$libdir does not exist
123816 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
123817
123818 # If ld is used when linking, flag to hardcode \$libdir into a binary
123819 # during linking.  This must work even if \$libdir does not exist.
123820 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
123821
123822 # Whether we need a single "-rpath" flag with a separated argument.
123823 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
123824
123825 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123826 # DIR into the resulting binary.
123827 hardcode_direct=$hardcode_direct_CXX
123828
123829 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123830 # DIR into the resulting binary and the resulting library dependency is
123831 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123832 # library is relocated.
123833 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
123834
123835 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123836 # into the resulting binary.
123837 hardcode_minus_L=$hardcode_minus_L_CXX
123838
123839 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123840 # into the resulting binary.
123841 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
123842
123843 # Set to "yes" if building a shared library automatically hardcodes DIR
123844 # into the library and all subsequent libraries and executables linked
123845 # against it.
123846 hardcode_automatic=$hardcode_automatic_CXX
123847
123848 # Set to yes if linker adds runtime paths of dependent libraries
123849 # to runtime path list.
123850 inherit_rpath=$inherit_rpath_CXX
123851
123852 # Whether libtool must link a program against all its dependency libraries.
123853 link_all_deplibs=$link_all_deplibs_CXX
123854
123855 # Fix the shell variable \$srcfile for the compiler.
123856 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123857
123858 # Set to "yes" if exported symbols are required.
123859 always_export_symbols=$always_export_symbols_CXX
123860
123861 # The commands to list exported symbols.
123862 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123863
123864 # Symbols that should not be listed in the preloaded symbols.
123865 exclude_expsyms=$lt_exclude_expsyms_CXX
123866
123867 # Symbols that must always be exported.
123868 include_expsyms=$lt_include_expsyms_CXX
123869
123870 # Commands necessary for linking programs (against libraries) with templates.
123871 prelink_cmds=$lt_prelink_cmds_CXX
123872
123873 # Specify filename containing input files.
123874 file_list_spec=$lt_file_list_spec_CXX
123875
123876 # How to hardcode a shared library path into an executable.
123877 hardcode_action=$hardcode_action_CXX
123878
123879 # Dependencies to place before and after the objects being linked to
123880 # create a shared library.
123881 predep_objects=$lt_predep_objects_CXX
123882 postdep_objects=$lt_postdep_objects_CXX
123883 predeps=$lt_predeps_CXX
123884 postdeps=$lt_postdeps_CXX
123885
123886 # The library search path used internally by the compiler when linking
123887 # a shared library.
123888 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123889
123890 # ### END LIBTOOL TAG CONFIG: CXX
123891 _LT_EOF
123892
123893  ;;
123894     include/gstdint.h )
123895 if test "$GCC" = yes; then
123896   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123897 else
123898   echo "/* generated for $CC */" > tmp-stdint.h
123899 fi
123900
123901 sed 's/^ *//' >> tmp-stdint.h <<EOF
123902
123903   #ifndef GCC_GENERATED_STDINT_H
123904   #define GCC_GENERATED_STDINT_H 1
123905
123906   #include <sys/types.h>
123907 EOF
123908
123909 if test "$acx_cv_header_stdint" != stdint.h; then
123910   echo "#include <stddef.h>" >> tmp-stdint.h
123911 fi
123912 if test "$acx_cv_header_stdint" != stddef.h; then
123913   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123914 fi
123915
123916 sed 's/^ *//' >> tmp-stdint.h <<EOF
123917   /* glibc uses these symbols as guards to prevent redefinitions.  */
123918   #ifdef __int8_t_defined
123919   #define _INT8_T
123920   #define _INT16_T
123921   #define _INT32_T
123922   #endif
123923   #ifdef __uint32_t_defined
123924   #define _UINT32_T
123925   #endif
123926
123927 EOF
123928
123929 # ----------------- done header, emit basic int types -------------
123930 if test "$acx_cv_header_stdint" = stddef.h; then
123931   sed 's/^ *//' >> tmp-stdint.h <<EOF
123932
123933     #ifndef _UINT8_T
123934     #define _UINT8_T
123935     #ifndef __uint8_t_defined
123936     #define __uint8_t_defined
123937     typedef unsigned $acx_cv_type_int8_t uint8_t;
123938     #endif
123939     #endif
123940
123941     #ifndef _UINT16_T
123942     #define _UINT16_T
123943     #ifndef __uint16_t_defined
123944     #define __uint16_t_defined
123945     typedef unsigned $acx_cv_type_int16_t uint16_t;
123946     #endif
123947     #endif
123948
123949     #ifndef _UINT32_T
123950     #define _UINT32_T
123951     #ifndef __uint32_t_defined
123952     #define __uint32_t_defined
123953     typedef unsigned $acx_cv_type_int32_t uint32_t;
123954     #endif
123955     #endif
123956
123957     #ifndef _INT8_T
123958     #define _INT8_T
123959     #ifndef __int8_t_defined
123960     #define __int8_t_defined
123961     typedef $acx_cv_type_int8_t int8_t;
123962     #endif
123963     #endif
123964
123965     #ifndef _INT16_T
123966     #define _INT16_T
123967     #ifndef __int16_t_defined
123968     #define __int16_t_defined
123969     typedef $acx_cv_type_int16_t int16_t;
123970     #endif
123971     #endif
123972
123973     #ifndef _INT32_T
123974     #define _INT32_T
123975     #ifndef __int32_t_defined
123976     #define __int32_t_defined
123977     typedef $acx_cv_type_int32_t int32_t;
123978     #endif
123979     #endif
123980 EOF
123981 elif test "$ac_cv_type_u_int32_t" = yes; then
123982   sed 's/^ *//' >> tmp-stdint.h <<EOF
123983
123984     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123985     #ifndef _INT8_T
123986     #define _INT8_T
123987     #endif
123988     #ifndef _INT16_T
123989     #define _INT16_T
123990     #endif
123991     #ifndef _INT32_T
123992     #define _INT32_T
123993     #endif
123994
123995     #ifndef _UINT8_T
123996     #define _UINT8_T
123997     #ifndef __uint8_t_defined
123998     #define __uint8_t_defined
123999     typedef u_int8_t uint8_t;
124000     #endif
124001     #endif
124002
124003     #ifndef _UINT16_T
124004     #define _UINT16_T
124005     #ifndef __uint16_t_defined
124006     #define __uint16_t_defined
124007     typedef u_int16_t uint16_t;
124008     #endif
124009     #endif
124010
124011     #ifndef _UINT32_T
124012     #define _UINT32_T
124013     #ifndef __uint32_t_defined
124014     #define __uint32_t_defined
124015     typedef u_int32_t uint32_t;
124016     #endif
124017     #endif
124018 EOF
124019 else
124020   sed 's/^ *//' >> tmp-stdint.h <<EOF
124021
124022     /* Some systems have guard macros to prevent redefinitions, define them.  */
124023     #ifndef _INT8_T
124024     #define _INT8_T
124025     #endif
124026     #ifndef _INT16_T
124027     #define _INT16_T
124028     #endif
124029     #ifndef _INT32_T
124030     #define _INT32_T
124031     #endif
124032     #ifndef _UINT8_T
124033     #define _UINT8_T
124034     #endif
124035     #ifndef _UINT16_T
124036     #define _UINT16_T
124037     #endif
124038     #ifndef _UINT32_T
124039     #define _UINT32_T
124040     #endif
124041 EOF
124042 fi
124043
124044 # ------------- done basic int types, emit int64_t types ------------
124045 if test "$ac_cv_type_uint64_t" = yes; then
124046   sed 's/^ *//' >> tmp-stdint.h <<EOF
124047
124048     /* system headers have good uint64_t and int64_t */
124049     #ifndef _INT64_T
124050     #define _INT64_T
124051     #endif
124052     #ifndef _UINT64_T
124053     #define _UINT64_T
124054     #endif
124055 EOF
124056 elif test "$ac_cv_type_u_int64_t" = yes; then
124057   sed 's/^ *//' >> tmp-stdint.h <<EOF
124058
124059     /* system headers have an u_int64_t (and int64_t) */
124060     #ifndef _INT64_T
124061     #define _INT64_T
124062     #endif
124063     #ifndef _UINT64_T
124064     #define _UINT64_T
124065     #ifndef __uint64_t_defined
124066     #define __uint64_t_defined
124067     typedef u_int64_t uint64_t;
124068     #endif
124069     #endif
124070 EOF
124071 elif test -n "$acx_cv_type_int64_t"; then
124072   sed 's/^ *//' >> tmp-stdint.h <<EOF
124073
124074     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
124075     #ifndef _INT64_T
124076     #define _INT64_T
124077     typedef $acx_cv_type_int64_t int64_t;
124078     #endif
124079     #ifndef _UINT64_T
124080     #define _UINT64_T
124081     #ifndef __uint64_t_defined
124082     #define __uint64_t_defined
124083     typedef unsigned $acx_cv_type_int64_t uint64_t;
124084     #endif
124085     #endif
124086 EOF
124087 else
124088   sed 's/^ *//' >> tmp-stdint.h <<EOF
124089
124090     /* some common heuristics for int64_t, using compiler-specific tests */
124091     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
124092     #ifndef _INT64_T
124093     #define _INT64_T
124094     #ifndef __int64_t_defined
124095     typedef long long int64_t;
124096     #endif
124097     #endif
124098     #ifndef _UINT64_T
124099     #define _UINT64_T
124100     typedef unsigned long long uint64_t;
124101     #endif
124102
124103     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
124104     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
124105        does not implement __extension__.  But that compiler doesn't define
124106        __GNUC_MINOR__.  */
124107     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
124108     # define __extension__
124109     # endif
124110
124111     # ifndef _INT64_T
124112     # define _INT64_T
124113     __extension__ typedef long long int64_t;
124114     # endif
124115     # ifndef _UINT64_T
124116     # define _UINT64_T
124117     __extension__ typedef unsigned long long uint64_t;
124118     # endif
124119
124120     #elif !defined __STRICT_ANSI__
124121     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
124122
124123     #  ifndef _INT64_T
124124     #  define _INT64_T
124125     typedef __int64 int64_t;
124126     #  endif
124127     #  ifndef _UINT64_T
124128     #  define _UINT64_T
124129     typedef unsigned __int64 uint64_t;
124130     #  endif
124131     # endif /* compiler */
124132
124133     #endif /* ANSI version */
124134 EOF
124135 fi
124136
124137 # ------------- done int64_t types, emit intptr types ------------
124138 if test "$ac_cv_type_uintptr_t" != yes; then
124139   sed 's/^ *//' >> tmp-stdint.h <<EOF
124140
124141     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
124142     #ifndef __uintptr_t_defined
124143     typedef u$acx_cv_type_intptr_t uintptr_t;
124144     #endif
124145     #ifndef __intptr_t_defined
124146     typedef $acx_cv_type_intptr_t  intptr_t;
124147     #endif
124148 EOF
124149 fi
124150
124151 # ------------- done intptr types, emit int_least types ------------
124152 if test "$ac_cv_type_int_least32_t" != yes; then
124153   sed 's/^ *//' >> tmp-stdint.h <<EOF
124154
124155     /* Define int_least types */
124156     typedef int8_t     int_least8_t;
124157     typedef int16_t    int_least16_t;
124158     typedef int32_t    int_least32_t;
124159     #ifdef _INT64_T
124160     typedef int64_t    int_least64_t;
124161     #endif
124162
124163     typedef uint8_t    uint_least8_t;
124164     typedef uint16_t   uint_least16_t;
124165     typedef uint32_t   uint_least32_t;
124166     #ifdef _UINT64_T
124167     typedef uint64_t   uint_least64_t;
124168     #endif
124169 EOF
124170 fi
124171
124172 # ------------- done intptr types, emit int_fast types ------------
124173 if test "$ac_cv_type_int_fast32_t" != yes; then
124174       sed 's/^ *//' >> tmp-stdint.h <<EOF
124175
124176     /* Define int_fast types.  short is often slow */
124177     typedef int8_t       int_fast8_t;
124178     typedef int          int_fast16_t;
124179     typedef int32_t      int_fast32_t;
124180     #ifdef _INT64_T
124181     typedef int64_t      int_fast64_t;
124182     #endif
124183
124184     typedef uint8_t      uint_fast8_t;
124185     typedef unsigned int uint_fast16_t;
124186     typedef uint32_t     uint_fast32_t;
124187     #ifdef _UINT64_T
124188     typedef uint64_t     uint_fast64_t;
124189     #endif
124190 EOF
124191 fi
124192
124193 if test "$ac_cv_type_uintmax_t" != yes; then
124194   sed 's/^ *//' >> tmp-stdint.h <<EOF
124195
124196     /* Define intmax based on what we found */
124197     #ifdef _INT64_T
124198     typedef int64_t       intmax_t;
124199     #else
124200     typedef long          intmax_t;
124201     #endif
124202     #ifdef _UINT64_T
124203     typedef uint64_t      uintmax_t;
124204     #else
124205     typedef unsigned long uintmax_t;
124206     #endif
124207 EOF
124208 fi
124209
124210 sed 's/^ *//' >> tmp-stdint.h <<EOF
124211
124212   #endif /* GCC_GENERATED_STDINT_H */
124213 EOF
124214
124215 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
124216   rm -f tmp-stdint.h
124217 else
124218   mv -f tmp-stdint.h include/gstdint.h
124219 fi
124220
124221  ;;
124222     default ) if test -n "$CONFIG_FILES"; then
124223    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
124224    # that multilib installs will end up installed in the correct place.
124225    # The testsuite needs it for multilib-aware ABI baseline files.
124226    # To work around this not being passed down from config-ml.in ->
124227    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
124228    # append it here.  Only modify Makefiles that have just been created.
124229    #
124230    # Also, get rid of this simulated-VPATH thing that automake does.
124231    cat > vpsed << \_EOF
124232 s!`test -f '$<' || echo '$(srcdir)/'`!!
124233 _EOF
124234    for i in $SUBDIRS; do
124235     case $CONFIG_FILES in
124236      *${i}/Makefile*)
124237        #echo "Adding MULTISUBDIR to $i/Makefile"
124238        sed -f vpsed $i/Makefile > tmp
124239        grep '^MULTISUBDIR =' Makefile >> tmp
124240        mv tmp $i/Makefile
124241        ;;
124242     esac
124243    done
124244    rm vpsed
124245  fi
124246  (cd include && ${MAKE-make})
124247  ;;
124248   esac
124249 done
124250 _ACEOF
124251
124252 cat >>$CONFIG_STATUS <<\_ACEOF
124253
124254 { (exit 0); exit 0; }
124255 _ACEOF
124256 chmod +x $CONFIG_STATUS
124257 ac_clean_files=$ac_clean_files_save
124258
124259
124260 # configure is writing to config.log, and then calls config.status.
124261 # config.status does its own redirection, appending to config.log.
124262 # Unfortunately, on DOS this fails, as config.log is still kept open
124263 # by configure, so config.status won't be able to write to it; its
124264 # output is simply discarded.  So we exec the FD to /dev/null,
124265 # effectively closing config.log, so it can be properly (re)opened and
124266 # appended to by config.status.  When coming back to configure, we
124267 # need to make the FD available again.
124268 if test "$no_create" != yes; then
124269   ac_cs_success=:
124270   ac_config_status_args=
124271   test "$silent" = yes &&
124272     ac_config_status_args="$ac_config_status_args --quiet"
124273   exec 5>/dev/null
124274   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
124275   exec 5>>config.log
124276   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
124277   # would make configure fail if this is the last instruction.
124278   $ac_cs_success || { (exit 1); exit 1; }
124279 fi
124280