OSDN Git Service

2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS 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 GLIBCXX_LIBS 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 # For the streamoff typedef.
18253
18254
18255
18256
18257   ac_ext=cc
18258 ac_cpp='$CXXCPP $CPPFLAGS'
18259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18262
18263
18264   echo "$as_me:$LINENO: checking for int64_t" >&5
18265 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18266   if test "${glibcxx_cv_INT64_T+set}" = set; then
18267   echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18269
18270     cat >conftest.$ac_ext <<_ACEOF
18271 /* confdefs.h.  */
18272 _ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h.  */
18276 #include <stdint.h>
18277 int
18278 main ()
18279 {
18280 int64_t var;
18281   ;
18282   return 0;
18283 }
18284 _ACEOF
18285 rm -f conftest.$ac_objext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18287   (eval $ac_compile) 2>conftest.er1
18288   ac_status=$?
18289   grep -v '^ *+' conftest.er1 >conftest.err
18290   rm -f conftest.er1
18291   cat conftest.err >&5
18292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293   (exit $ac_status); } &&
18294          { ac_try='test -z "$ac_cxx_werror_flag"
18295                          || test ! -s conftest.err'
18296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297   (eval $ac_try) 2>&5
18298   ac_status=$?
18299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300   (exit $ac_status); }; } &&
18301          { ac_try='test -s conftest.$ac_objext'
18302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303   (eval $ac_try) 2>&5
18304   ac_status=$?
18305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306   (exit $ac_status); }; }; then
18307   glibcxx_cv_INT64_T=yes
18308 else
18309   echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18311
18312 glibcxx_cv_INT64_T=no
18313 fi
18314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18315
18316 fi
18317
18318
18319   if test $glibcxx_cv_INT64_T = yes; then
18320
18321 cat >>confdefs.h <<\_ACEOF
18322 #define HAVE_INT64_T 1
18323 _ACEOF
18324
18325     echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
18326 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
18327
18328     echo "$as_me:$LINENO: checking for int64_t as long" >&5
18329 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
18330     if test "${glibcxx_cv_int64_t_long+set}" = set; then
18331   echo $ECHO_N "(cached) $ECHO_C" >&6
18332 else
18333
18334       cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h.  */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h.  */
18340 #include <stdint.h>
18341         template<typename, typename> struct same { enum { value = -1 }; };
18342         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18343         int array[same<int64_t, long>::value];
18344 int
18345 main ()
18346 {
18347
18348   ;
18349   return 0;
18350 }
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354   (eval $ac_compile) 2>conftest.er1
18355   ac_status=$?
18356   grep -v '^ *+' conftest.er1 >conftest.err
18357   rm -f conftest.er1
18358   cat conftest.err >&5
18359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360   (exit $ac_status); } &&
18361          { ac_try='test -z "$ac_cxx_werror_flag"
18362                          || test ! -s conftest.err'
18363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364   (eval $ac_try) 2>&5
18365   ac_status=$?
18366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367   (exit $ac_status); }; } &&
18368          { ac_try='test -s conftest.$ac_objext'
18369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370   (eval $ac_try) 2>&5
18371   ac_status=$?
18372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373   (exit $ac_status); }; }; then
18374   glibcxx_cv_int64_t_long=yes
18375 else
18376   echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18378
18379 glibcxx_cv_int64_t_long=no
18380 fi
18381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18382
18383 fi
18384
18385
18386     if test $glibcxx_cv_int64_t_long = yes; then
18387
18388 cat >>confdefs.h <<\_ACEOF
18389 #define HAVE_INT64_T_LONG 1
18390 _ACEOF
18391
18392       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
18393 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
18394     fi
18395
18396     echo "$as_me:$LINENO: checking for int64_t as long long" >&5
18397 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
18398     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
18399   echo $ECHO_N "(cached) $ECHO_C" >&6
18400 else
18401
18402       cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h.  */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h.  */
18408 #include <stdint.h>
18409         template<typename, typename> struct same { enum { value = -1 }; };
18410         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18411         int array[same<int64_t, long long>::value];
18412 int
18413 main ()
18414 {
18415
18416   ;
18417   return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422   (eval $ac_compile) 2>conftest.er1
18423   ac_status=$?
18424   grep -v '^ *+' conftest.er1 >conftest.err
18425   rm -f conftest.er1
18426   cat conftest.err >&5
18427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428   (exit $ac_status); } &&
18429          { ac_try='test -z "$ac_cxx_werror_flag"
18430                          || test ! -s conftest.err'
18431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432   (eval $ac_try) 2>&5
18433   ac_status=$?
18434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435   (exit $ac_status); }; } &&
18436          { ac_try='test -s conftest.$ac_objext'
18437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438   (eval $ac_try) 2>&5
18439   ac_status=$?
18440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441   (exit $ac_status); }; }; then
18442   glibcxx_cv_int64_t_long_long=yes
18443 else
18444   echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 glibcxx_cv_int64_t_long_long=no
18448 fi
18449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18450
18451 fi
18452
18453
18454     if test $glibcxx_cv_int64_t_long_long = yes; then
18455
18456 cat >>confdefs.h <<\_ACEOF
18457 #define HAVE_INT64_T_LONG_LONG 1
18458 _ACEOF
18459
18460       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
18461 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
18462     fi
18463   fi
18464
18465   ac_ext=c
18466 ac_cpp='$CPP $CPPFLAGS'
18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470
18471
18472
18473 # For C99 support to TR1.
18474
18475
18476
18477
18478   ac_ext=cc
18479 ac_cpp='$CXXCPP $CPPFLAGS'
18480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18483
18484
18485   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18486   # undefined and fake C99 facilities may be spuriously enabled.
18487   ac_save_CXXFLAGS="$CXXFLAGS"
18488   CXXFLAGS="$CXXFLAGS -std=c++98"
18489
18490   # Check for the existence of <complex.h> complex math functions used
18491   # by tr1/complex.
18492
18493 for ac_header in complex.h
18494 do
18495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18497   echo "$as_me:$LINENO: checking for $ac_header" >&5
18498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18500   echo $ECHO_N "(cached) $ECHO_C" >&6
18501 fi
18502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18504 else
18505   # Is the header compilable?
18506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h.  */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h.  */
18514 $ac_includes_default
18515 #include <$ac_header>
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519   (eval $ac_compile) 2>conftest.er1
18520   ac_status=$?
18521   grep -v '^ *+' conftest.er1 >conftest.err
18522   rm -f conftest.er1
18523   cat conftest.err >&5
18524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525   (exit $ac_status); } &&
18526          { ac_try='test -z "$ac_cxx_werror_flag"
18527                          || test ! -s conftest.err'
18528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529   (eval $ac_try) 2>&5
18530   ac_status=$?
18531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532   (exit $ac_status); }; } &&
18533          { ac_try='test -s conftest.$ac_objext'
18534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535   (eval $ac_try) 2>&5
18536   ac_status=$?
18537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538   (exit $ac_status); }; }; then
18539   ac_header_compiler=yes
18540 else
18541   echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18543
18544 ac_header_compiler=no
18545 fi
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18548 echo "${ECHO_T}$ac_header_compiler" >&6
18549
18550 # Is the header present?
18551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h.  */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h.  */
18559 #include <$ac_header>
18560 _ACEOF
18561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18562   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18563   ac_status=$?
18564   grep -v '^ *+' conftest.er1 >conftest.err
18565   rm -f conftest.er1
18566   cat conftest.err >&5
18567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568   (exit $ac_status); } >/dev/null; then
18569   if test -s conftest.err; then
18570     ac_cpp_err=$ac_cxx_preproc_warn_flag
18571     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18572   else
18573     ac_cpp_err=
18574   fi
18575 else
18576   ac_cpp_err=yes
18577 fi
18578 if test -z "$ac_cpp_err"; then
18579   ac_header_preproc=yes
18580 else
18581   echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18583
18584   ac_header_preproc=no
18585 fi
18586 rm -f conftest.err conftest.$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18588 echo "${ECHO_T}$ac_header_preproc" >&6
18589
18590 # So?  What about this header?
18591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18592   yes:no: )
18593     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18595     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18597     ac_header_preproc=yes
18598     ;;
18599   no:yes:* )
18600     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18602     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18603 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18604     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18606     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18607 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18608     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18610     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18612     (
18613       cat <<\_ASBOX
18614 ## ----------------------------------------- ##
18615 ## Report this to the package-unused lists.  ##
18616 ## ----------------------------------------- ##
18617 _ASBOX
18618     ) |
18619       sed "s/^/$as_me: WARNING:     /" >&2
18620     ;;
18621 esac
18622 echo "$as_me:$LINENO: checking for $ac_header" >&5
18623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18625   echo $ECHO_N "(cached) $ECHO_C" >&6
18626 else
18627   eval "$as_ac_Header=\$ac_header_preproc"
18628 fi
18629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18631
18632 fi
18633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18634   cat >>confdefs.h <<_ACEOF
18635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18636 _ACEOF
18637  ac_has_complex_h=yes
18638 else
18639   ac_has_complex_h=no
18640 fi
18641
18642 done
18643
18644   ac_c99_complex_tr1=no;
18645   if test x"$ac_has_complex_h" = x"yes"; then
18646     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
18647 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
18648     cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h.  */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h.  */
18654 #include <complex.h>
18655 int
18656 main ()
18657 {
18658 typedef __complex__ float float_type; float_type tmpf;
18659                     cacosf(tmpf);
18660                     casinf(tmpf);
18661                     catanf(tmpf);
18662                     cacoshf(tmpf);
18663                     casinhf(tmpf);
18664                     catanhf(tmpf);
18665                     typedef __complex__ double double_type; double_type tmpd;
18666                     cacos(tmpd);
18667                     casin(tmpd);
18668                     catan(tmpd);
18669                     cacosh(tmpd);
18670                     casinh(tmpd);
18671                     catanh(tmpd);
18672                     typedef __complex__ long double ld_type; ld_type tmpld;
18673                     cacosl(tmpld);
18674                     casinl(tmpld);
18675                     catanl(tmpld);
18676                     cacoshl(tmpld);
18677                     casinhl(tmpld);
18678                     catanhl(tmpld);
18679
18680   ;
18681   return 0;
18682 }
18683 _ACEOF
18684 rm -f conftest.$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686   (eval $ac_compile) 2>conftest.er1
18687   ac_status=$?
18688   grep -v '^ *+' conftest.er1 >conftest.err
18689   rm -f conftest.er1
18690   cat conftest.err >&5
18691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692   (exit $ac_status); } &&
18693          { ac_try='test -z "$ac_cxx_werror_flag"
18694                          || test ! -s conftest.err'
18695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696   (eval $ac_try) 2>&5
18697   ac_status=$?
18698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699   (exit $ac_status); }; } &&
18700          { ac_try='test -s conftest.$ac_objext'
18701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702   (eval $ac_try) 2>&5
18703   ac_status=$?
18704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705   (exit $ac_status); }; }; then
18706   ac_c99_complex_tr1=yes
18707 else
18708   echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18710
18711 ac_c99_complex_tr1=no
18712 fi
18713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18714   fi
18715   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
18716 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
18717   if test x"$ac_c99_complex_tr1" = x"yes"; then
18718
18719 cat >>confdefs.h <<\_ACEOF
18720 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
18721 _ACEOF
18722
18723   fi
18724
18725   # Check for the existence of <ctype.h> functions.
18726   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18727 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
18728   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
18729   echo $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731
18732   cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h.  */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h.  */
18738 #include <ctype.h>
18739 int
18740 main ()
18741 {
18742 int ch;
18743                   int ret;
18744                   ret = isblank(ch);
18745
18746   ;
18747   return 0;
18748 }
18749 _ACEOF
18750 rm -f conftest.$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752   (eval $ac_compile) 2>conftest.er1
18753   ac_status=$?
18754   grep -v '^ *+' conftest.er1 >conftest.err
18755   rm -f conftest.er1
18756   cat conftest.err >&5
18757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758   (exit $ac_status); } &&
18759          { ac_try='test -z "$ac_cxx_werror_flag"
18760                          || test ! -s conftest.err'
18761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762   (eval $ac_try) 2>&5
18763   ac_status=$?
18764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765   (exit $ac_status); }; } &&
18766          { ac_try='test -s conftest.$ac_objext'
18767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768   (eval $ac_try) 2>&5
18769   ac_status=$?
18770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771   (exit $ac_status); }; }; then
18772   glibcxx_cv_c99_ctype_tr1=yes
18773 else
18774   echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18776
18777 glibcxx_cv_c99_ctype_tr1=no
18778 fi
18779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18780
18781 fi
18782
18783   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
18784 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
18785   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18786
18787 cat >>confdefs.h <<\_ACEOF
18788 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
18789 _ACEOF
18790
18791   fi
18792
18793   # Check for the existence of <fenv.h> functions.
18794
18795 for ac_header in fenv.h
18796 do
18797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18799   echo "$as_me:$LINENO: checking for $ac_header" >&5
18800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18802   echo $ECHO_N "(cached) $ECHO_C" >&6
18803 fi
18804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18806 else
18807   # Is the header compilable?
18808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h.  */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h.  */
18816 $ac_includes_default
18817 #include <$ac_header>
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821   (eval $ac_compile) 2>conftest.er1
18822   ac_status=$?
18823   grep -v '^ *+' conftest.er1 >conftest.err
18824   rm -f conftest.er1
18825   cat conftest.err >&5
18826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827   (exit $ac_status); } &&
18828          { ac_try='test -z "$ac_cxx_werror_flag"
18829                          || test ! -s conftest.err'
18830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831   (eval $ac_try) 2>&5
18832   ac_status=$?
18833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834   (exit $ac_status); }; } &&
18835          { ac_try='test -s conftest.$ac_objext'
18836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837   (eval $ac_try) 2>&5
18838   ac_status=$?
18839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840   (exit $ac_status); }; }; then
18841   ac_header_compiler=yes
18842 else
18843   echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_header_compiler=no
18847 fi
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18850 echo "${ECHO_T}$ac_header_compiler" >&6
18851
18852 # Is the header present?
18853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h.  */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h.  */
18861 #include <$ac_header>
18862 _ACEOF
18863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18864   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18865   ac_status=$?
18866   grep -v '^ *+' conftest.er1 >conftest.err
18867   rm -f conftest.er1
18868   cat conftest.err >&5
18869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870   (exit $ac_status); } >/dev/null; then
18871   if test -s conftest.err; then
18872     ac_cpp_err=$ac_cxx_preproc_warn_flag
18873     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18874   else
18875     ac_cpp_err=
18876   fi
18877 else
18878   ac_cpp_err=yes
18879 fi
18880 if test -z "$ac_cpp_err"; then
18881   ac_header_preproc=yes
18882 else
18883   echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18885
18886   ac_header_preproc=no
18887 fi
18888 rm -f conftest.err conftest.$ac_ext
18889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18890 echo "${ECHO_T}$ac_header_preproc" >&6
18891
18892 # So?  What about this header?
18893 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18894   yes:no: )
18895     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18899     ac_header_preproc=yes
18900     ;;
18901   no:yes:* )
18902     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18904     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18905 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18906     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18908     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18909 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18910     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18912     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18914     (
18915       cat <<\_ASBOX
18916 ## ----------------------------------------- ##
18917 ## Report this to the package-unused lists.  ##
18918 ## ----------------------------------------- ##
18919 _ASBOX
18920     ) |
18921       sed "s/^/$as_me: WARNING:     /" >&2
18922     ;;
18923 esac
18924 echo "$as_me:$LINENO: checking for $ac_header" >&5
18925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18927   echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929   eval "$as_ac_Header=\$ac_header_preproc"
18930 fi
18931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18933
18934 fi
18935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18936   cat >>confdefs.h <<_ACEOF
18937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18938 _ACEOF
18939  ac_has_fenv_h=yes
18940 else
18941   ac_has_fenv_h=no
18942 fi
18943
18944 done
18945
18946   ac_c99_fenv_tr1=no;
18947   if test x"$ac_has_fenv_h" = x"yes"; then
18948     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18949 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
18950     cat >conftest.$ac_ext <<_ACEOF
18951 /* confdefs.h.  */
18952 _ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h.  */
18956 #include <fenv.h>
18957 int
18958 main ()
18959 {
18960 int except, mode;
18961                     fexcept_t* pflag;
18962                     fenv_t* penv;
18963                     int ret;
18964                     ret = feclearexcept(except);
18965                     ret = fegetexceptflag(pflag, except);
18966                     ret = feraiseexcept(except);
18967                     ret = fesetexceptflag(pflag, except);
18968                     ret = fetestexcept(except);
18969                     ret = fegetround();
18970                     ret = fesetround(mode);
18971                     ret = fegetenv(penv);
18972                     ret = feholdexcept(penv);
18973                     ret = fesetenv(penv);
18974                     ret = feupdateenv(penv);
18975
18976   ;
18977   return 0;
18978 }
18979 _ACEOF
18980 rm -f conftest.$ac_objext
18981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18982   (eval $ac_compile) 2>conftest.er1
18983   ac_status=$?
18984   grep -v '^ *+' conftest.er1 >conftest.err
18985   rm -f conftest.er1
18986   cat conftest.err >&5
18987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988   (exit $ac_status); } &&
18989          { ac_try='test -z "$ac_cxx_werror_flag"
18990                          || test ! -s conftest.err'
18991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992   (eval $ac_try) 2>&5
18993   ac_status=$?
18994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995   (exit $ac_status); }; } &&
18996          { ac_try='test -s conftest.$ac_objext'
18997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998   (eval $ac_try) 2>&5
18999   ac_status=$?
19000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001   (exit $ac_status); }; }; then
19002   ac_c99_fenv_tr1=yes
19003 else
19004   echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 ac_c99_fenv_tr1=no
19008 fi
19009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19010   fi
19011   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
19012 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
19013   if test x"$ac_c99_fenv_tr1" = x"yes"; then
19014
19015 cat >>confdefs.h <<\_ACEOF
19016 #define _GLIBCXX_USE_C99_FENV_TR1 1
19017 _ACEOF
19018
19019   fi
19020
19021   # Check for the existence of <stdint.h> types.
19022   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19023 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
19024   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
19025   echo $ECHO_N "(cached) $ECHO_C" >&6
19026 else
19027
19028   cat >conftest.$ac_ext <<_ACEOF
19029 /* confdefs.h.  */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h.  */
19034 #include <stdint.h>
19035 int
19036 main ()
19037 {
19038 typedef int8_t          my_int8_t;
19039                   typedef int16_t         my_int16_t;
19040                   typedef int32_t         my_int32_t;
19041                   typedef int64_t         my_int64_t;
19042                   typedef int_fast8_t     my_int_fast8_t;
19043                   typedef int_fast16_t    my_int_fast16_t;
19044                   typedef int_fast32_t    my_int_fast32_t;
19045                   typedef int_fast64_t    my_int_fast64_t;
19046                   typedef int_least8_t    my_int_least8_t;
19047                   typedef int_least16_t   my_int_least16_t;
19048                   typedef int_least32_t   my_int_least32_t;
19049                   typedef int_least64_t   my_int_least64_t;
19050                   typedef intmax_t        my_intmax_t;
19051                   typedef intptr_t        my_intptr_t;
19052                   typedef uint8_t         my_uint8_t;
19053                   typedef uint16_t        my_uint16_t;
19054                   typedef uint32_t        my_uint32_t;
19055                   typedef uint64_t        my_uint64_t;
19056                   typedef uint_fast8_t    my_uint_fast8_t;
19057                   typedef uint_fast16_t   my_uint_fast16_t;
19058                   typedef uint_fast32_t   my_uint_fast32_t;
19059                   typedef uint_fast64_t   my_uint_fast64_t;
19060                   typedef uint_least8_t   my_uint_least8_t;
19061                   typedef uint_least16_t  my_uint_least16_t;
19062                   typedef uint_least32_t  my_uint_least32_t;
19063                   typedef uint_least64_t  my_uint_least64_t;
19064                   typedef uintmax_t       my_uintmax_t;
19065                   typedef uintptr_t       my_uintptr_t;
19066
19067   ;
19068   return 0;
19069 }
19070 _ACEOF
19071 rm -f conftest.$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073   (eval $ac_compile) 2>conftest.er1
19074   ac_status=$?
19075   grep -v '^ *+' conftest.er1 >conftest.err
19076   rm -f conftest.er1
19077   cat conftest.err >&5
19078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079   (exit $ac_status); } &&
19080          { ac_try='test -z "$ac_cxx_werror_flag"
19081                          || test ! -s conftest.err'
19082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083   (eval $ac_try) 2>&5
19084   ac_status=$?
19085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086   (exit $ac_status); }; } &&
19087          { ac_try='test -s conftest.$ac_objext'
19088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089   (eval $ac_try) 2>&5
19090   ac_status=$?
19091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092   (exit $ac_status); }; }; then
19093   glibcxx_cv_c99_stdint_tr1=yes
19094 else
19095   echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19097
19098 glibcxx_cv_c99_stdint_tr1=no
19099 fi
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101
19102 fi
19103
19104   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
19105 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
19106   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19107
19108 cat >>confdefs.h <<\_ACEOF
19109 #define _GLIBCXX_USE_C99_STDINT_TR1 1
19110 _ACEOF
19111
19112   fi
19113
19114   # Check for the existence of <math.h> functions.
19115   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
19116 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
19117   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
19118   echo $ECHO_N "(cached) $ECHO_C" >&6
19119 else
19120
19121   cat >conftest.$ac_ext <<_ACEOF
19122 /* confdefs.h.  */
19123 _ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h.  */
19127 #include <math.h>
19128 int
19129 main ()
19130 {
19131 typedef double_t  my_double_t;
19132                   typedef float_t   my_float_t;
19133                   acosh(0.0);
19134                   acoshf(0.0f);
19135                   acoshl(0.0l);
19136                   asinh(0.0);
19137                   asinhf(0.0f);
19138                   asinhl(0.0l);
19139                   atanh(0.0);
19140                   atanhf(0.0f);
19141                   atanhl(0.0l);
19142                   cbrt(0.0);
19143                   cbrtf(0.0f);
19144                   cbrtl(0.0l);
19145                   copysign(0.0, 0.0);
19146                   copysignf(0.0f, 0.0f);
19147                   copysignl(0.0l, 0.0l);
19148                   erf(0.0);
19149                   erff(0.0f);
19150                   erfl(0.0l);
19151                   erfc(0.0);
19152                   erfcf(0.0f);
19153                   erfcl(0.0l);
19154                   exp2(0.0);
19155                   exp2f(0.0f);
19156                   exp2l(0.0l);
19157                   expm1(0.0);
19158                   expm1f(0.0f);
19159                   expm1l(0.0l);
19160                   fdim(0.0, 0.0);
19161                   fdimf(0.0f, 0.0f);
19162                   fdiml(0.0l, 0.0l);
19163                   fma(0.0, 0.0, 0.0);
19164                   fmaf(0.0f, 0.0f, 0.0f);
19165                   fmal(0.0l, 0.0l, 0.0l);
19166                   fmax(0.0, 0.0);
19167                   fmaxf(0.0f, 0.0f);
19168                   fmaxl(0.0l, 0.0l);
19169                   fmin(0.0, 0.0);
19170                   fminf(0.0f, 0.0f);
19171                   fminl(0.0l, 0.0l);
19172                   hypot(0.0, 0.0);
19173                   hypotf(0.0f, 0.0f);
19174                   hypotl(0.0l, 0.0l);
19175                   ilogb(0.0);
19176                   ilogbf(0.0f);
19177                   ilogbl(0.0l);
19178                   lgamma(0.0);
19179                   lgammaf(0.0f);
19180                   lgammal(0.0l);
19181                   llrint(0.0);
19182                   llrintf(0.0f);
19183                   llrintl(0.0l);
19184                   llround(0.0);
19185                   llroundf(0.0f);
19186                   llroundl(0.0l);
19187                   log1p(0.0);
19188                   log1pf(0.0f);
19189                   log1pl(0.0l);
19190                   log2(0.0);
19191                   log2f(0.0f);
19192                   log2l(0.0l);
19193                   logb(0.0);
19194                   logbf(0.0f);
19195                   logbl(0.0l);
19196                   lrint(0.0);
19197                   lrintf(0.0f);
19198                   lrintl(0.0l);
19199                   lround(0.0);
19200                   lroundf(0.0f);
19201                   lroundl(0.0l);
19202                   nan(0);
19203                   nanf(0);
19204                   nanl(0);
19205                   nearbyint(0.0);
19206                   nearbyintf(0.0f);
19207                   nearbyintl(0.0l);
19208                   nextafter(0.0, 0.0);
19209                   nextafterf(0.0f, 0.0f);
19210                   nextafterl(0.0l, 0.0l);
19211                   nexttoward(0.0, 0.0);
19212                   nexttowardf(0.0f, 0.0f);
19213                   nexttowardl(0.0l, 0.0l);
19214                   remainder(0.0, 0.0);
19215                   remainderf(0.0f, 0.0f);
19216                   remainderl(0.0l, 0.0l);
19217                   remquo(0.0, 0.0, 0);
19218                   remquo(0.0f, 0.0f, 0);
19219                   remquo(0.0l, 0.0l, 0);
19220                   rint(0.0);
19221                   rintf(0.0f);
19222                   rintl(0.0l);
19223                   round(0.0);
19224                   roundf(0.0f);
19225                   roundl(0.0l);
19226                   scalbln(0.0, 0l);
19227                   scalblnf(0.0f, 0l);
19228                   scalblnl(0.0l, 0l);
19229                   scalbn(0.0, 0);
19230                   scalbnf(0.0f, 0);
19231                   scalbnl(0.0l, 0);
19232                   tgamma(0.0);
19233                   tgammaf(0.0f);
19234                   tgammal(0.0l);
19235                   trunc(0.0);
19236                   truncf(0.0f);
19237                   truncl(0.0l);
19238
19239   ;
19240   return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19245   (eval $ac_compile) 2>conftest.er1
19246   ac_status=$?
19247   grep -v '^ *+' conftest.er1 >conftest.err
19248   rm -f conftest.er1
19249   cat conftest.err >&5
19250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251   (exit $ac_status); } &&
19252          { ac_try='test -z "$ac_cxx_werror_flag"
19253                          || test ! -s conftest.err'
19254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255   (eval $ac_try) 2>&5
19256   ac_status=$?
19257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258   (exit $ac_status); }; } &&
19259          { ac_try='test -s conftest.$ac_objext'
19260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261   (eval $ac_try) 2>&5
19262   ac_status=$?
19263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264   (exit $ac_status); }; }; then
19265   glibcxx_cv_c99_math_tr1=yes
19266 else
19267   echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 glibcxx_cv_c99_math_tr1=no
19271 fi
19272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19273
19274 fi
19275
19276   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
19277 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
19278   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19279
19280 cat >>confdefs.h <<\_ACEOF
19281 #define _GLIBCXX_USE_C99_MATH_TR1 1
19282 _ACEOF
19283
19284   fi
19285
19286   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19287   # sense if the previous check fails, per C99, 7.8/1).
19288   ac_c99_inttypes_tr1=no;
19289   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19290     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19291 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
19292     cat >conftest.$ac_ext <<_ACEOF
19293 /* confdefs.h.  */
19294 _ACEOF
19295 cat confdefs.h >>conftest.$ac_ext
19296 cat >>conftest.$ac_ext <<_ACEOF
19297 /* end confdefs.h.  */
19298 #include <inttypes.h>
19299 int
19300 main ()
19301 {
19302 intmax_t i, numer, denom, base;
19303                     const char* s;
19304                     char** endptr;
19305                     intmax_t ret = imaxabs(i);
19306                     imaxdiv_t dret = imaxdiv(numer, denom);
19307                     ret = strtoimax(s, endptr, base);
19308                     uintmax_t uret = strtoumax(s, endptr, base);
19309
19310   ;
19311   return 0;
19312 }
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19316   (eval $ac_compile) 2>conftest.er1
19317   ac_status=$?
19318   grep -v '^ *+' conftest.er1 >conftest.err
19319   rm -f conftest.er1
19320   cat conftest.err >&5
19321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322   (exit $ac_status); } &&
19323          { ac_try='test -z "$ac_cxx_werror_flag"
19324                          || test ! -s conftest.err'
19325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326   (eval $ac_try) 2>&5
19327   ac_status=$?
19328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329   (exit $ac_status); }; } &&
19330          { ac_try='test -s conftest.$ac_objext'
19331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332   (eval $ac_try) 2>&5
19333   ac_status=$?
19334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335   (exit $ac_status); }; }; then
19336   ac_c99_inttypes_tr1=yes
19337 else
19338   echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19340
19341 ac_c99_inttypes_tr1=no
19342 fi
19343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19344   fi
19345   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
19346 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
19347   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19348
19349 cat >>confdefs.h <<\_ACEOF
19350 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
19351 _ACEOF
19352
19353   fi
19354
19355   # Check for the existence of the <stdbool.h> header.
19356
19357 for ac_header in stdbool.h
19358 do
19359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19361   echo "$as_me:$LINENO: checking for $ac_header" >&5
19362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19364   echo $ECHO_N "(cached) $ECHO_C" >&6
19365 fi
19366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19368 else
19369   # Is the header compilable?
19370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
19379 #include <$ac_header>
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383   (eval $ac_compile) 2>conftest.er1
19384   ac_status=$?
19385   grep -v '^ *+' conftest.er1 >conftest.err
19386   rm -f conftest.er1
19387   cat conftest.err >&5
19388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389   (exit $ac_status); } &&
19390          { ac_try='test -z "$ac_cxx_werror_flag"
19391                          || test ! -s conftest.err'
19392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393   (eval $ac_try) 2>&5
19394   ac_status=$?
19395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396   (exit $ac_status); }; } &&
19397          { ac_try='test -s conftest.$ac_objext'
19398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399   (eval $ac_try) 2>&5
19400   ac_status=$?
19401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402   (exit $ac_status); }; }; then
19403   ac_header_compiler=yes
19404 else
19405   echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19407
19408 ac_header_compiler=no
19409 fi
19410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19412 echo "${ECHO_T}$ac_header_compiler" >&6
19413
19414 # Is the header present?
19415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h.  */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h.  */
19423 #include <$ac_header>
19424 _ACEOF
19425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19426   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19427   ac_status=$?
19428   grep -v '^ *+' conftest.er1 >conftest.err
19429   rm -f conftest.er1
19430   cat conftest.err >&5
19431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432   (exit $ac_status); } >/dev/null; then
19433   if test -s conftest.err; then
19434     ac_cpp_err=$ac_cxx_preproc_warn_flag
19435     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19436   else
19437     ac_cpp_err=
19438   fi
19439 else
19440   ac_cpp_err=yes
19441 fi
19442 if test -z "$ac_cpp_err"; then
19443   ac_header_preproc=yes
19444 else
19445   echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448   ac_header_preproc=no
19449 fi
19450 rm -f conftest.err conftest.$ac_ext
19451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19452 echo "${ECHO_T}$ac_header_preproc" >&6
19453
19454 # So?  What about this header?
19455 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19456   yes:no: )
19457     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19461     ac_header_preproc=yes
19462     ;;
19463   no:yes:* )
19464     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19466     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19467 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19468     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19470     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19471 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19474     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19476     (
19477       cat <<\_ASBOX
19478 ## ----------------------------------------- ##
19479 ## Report this to the package-unused lists.  ##
19480 ## ----------------------------------------- ##
19481 _ASBOX
19482     ) |
19483       sed "s/^/$as_me: WARNING:     /" >&2
19484     ;;
19485 esac
19486 echo "$as_me:$LINENO: checking for $ac_header" >&5
19487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19489   echo $ECHO_N "(cached) $ECHO_C" >&6
19490 else
19491   eval "$as_ac_Header=\$ac_header_preproc"
19492 fi
19493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19495
19496 fi
19497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19498   cat >>confdefs.h <<_ACEOF
19499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19500 _ACEOF
19501
19502 fi
19503
19504 done
19505
19506
19507   CXXFLAGS="$ac_save_CXXFLAGS"
19508   ac_ext=c
19509 ac_cpp='$CPP $CPPFLAGS'
19510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19513
19514
19515
19516 # For common values of EOF, SEEK_CUR, SEEK_END.
19517
19518
19519   echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
19520 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
19521   if test "${glibcxx_cv_stdio_macros+set}" = set; then
19522   echo $ECHO_N "(cached) $ECHO_C" >&6
19523 else
19524
19525   cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h.  */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h.  */
19531 #include <stdio.h>
19532 int
19533 main ()
19534 {
19535 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
19536                     unusual values...
19537                   #endif
19538
19539   ;
19540   return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545   (eval $ac_compile) 2>conftest.er1
19546   ac_status=$?
19547   grep -v '^ *+' conftest.er1 >conftest.err
19548   rm -f conftest.er1
19549   cat conftest.err >&5
19550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551   (exit $ac_status); } &&
19552          { ac_try='test -z "$ac_c_werror_flag"
19553                          || test ! -s conftest.err'
19554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555   (eval $ac_try) 2>&5
19556   ac_status=$?
19557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558   (exit $ac_status); }; } &&
19559          { ac_try='test -s conftest.$ac_objext'
19560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561   (eval $ac_try) 2>&5
19562   ac_status=$?
19563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564   (exit $ac_status); }; }; then
19565   glibcxx_cv_stdio_macros=yes
19566 else
19567   echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19569
19570 glibcxx_cv_stdio_macros=no
19571 fi
19572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19573
19574 fi
19575
19576   echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
19577 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
19578   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
19579
19580 cat >>confdefs.h <<\_ACEOF
19581 #define _GLIBCXX_STDIO_MACROS 1
19582 _ACEOF
19583
19584   fi
19585
19586
19587
19588 # Only do link tests if native. Else, hardcode.
19589 if $GLIBCXX_IS_NATIVE; then
19590
19591   # We can do more elaborate tests that assume a working linker.
19592   CANADIAN=no
19593
19594   # Check for available headers.
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
19610   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
19611   sys/types.h sys/ipc.h sys/sem.h
19612 do
19613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19615   echo "$as_me:$LINENO: checking for $ac_header" >&5
19616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19618   echo $ECHO_N "(cached) $ECHO_C" >&6
19619 fi
19620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19622 else
19623   # Is the header compilable?
19624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19626 cat >conftest.$ac_ext <<_ACEOF
19627 /* confdefs.h.  */
19628 _ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h.  */
19632 $ac_includes_default
19633 #include <$ac_header>
19634 _ACEOF
19635 rm -f conftest.$ac_objext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19637   (eval $ac_compile) 2>conftest.er1
19638   ac_status=$?
19639   grep -v '^ *+' conftest.er1 >conftest.err
19640   rm -f conftest.er1
19641   cat conftest.err >&5
19642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643   (exit $ac_status); } &&
19644          { ac_try='test -z "$ac_c_werror_flag"
19645                          || test ! -s conftest.err'
19646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647   (eval $ac_try) 2>&5
19648   ac_status=$?
19649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650   (exit $ac_status); }; } &&
19651          { ac_try='test -s conftest.$ac_objext'
19652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653   (eval $ac_try) 2>&5
19654   ac_status=$?
19655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656   (exit $ac_status); }; }; then
19657   ac_header_compiler=yes
19658 else
19659   echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19661
19662 ac_header_compiler=no
19663 fi
19664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19666 echo "${ECHO_T}$ac_header_compiler" >&6
19667
19668 # Is the header present?
19669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h.  */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h.  */
19677 #include <$ac_header>
19678 _ACEOF
19679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19681   ac_status=$?
19682   grep -v '^ *+' conftest.er1 >conftest.err
19683   rm -f conftest.er1
19684   cat conftest.err >&5
19685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686   (exit $ac_status); } >/dev/null; then
19687   if test -s conftest.err; then
19688     ac_cpp_err=$ac_c_preproc_warn_flag
19689     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19690   else
19691     ac_cpp_err=
19692   fi
19693 else
19694   ac_cpp_err=yes
19695 fi
19696 if test -z "$ac_cpp_err"; then
19697   ac_header_preproc=yes
19698 else
19699   echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702   ac_header_preproc=no
19703 fi
19704 rm -f conftest.err conftest.$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19706 echo "${ECHO_T}$ac_header_preproc" >&6
19707
19708 # So?  What about this header?
19709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19710   yes:no: )
19711     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19713     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19715     ac_header_preproc=yes
19716     ;;
19717   no:yes:* )
19718     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19720     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19721 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19722     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19724     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19725 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19726     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19728     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19730     (
19731       cat <<\_ASBOX
19732 ## ----------------------------------------- ##
19733 ## Report this to the package-unused lists.  ##
19734 ## ----------------------------------------- ##
19735 _ASBOX
19736     ) |
19737       sed "s/^/$as_me: WARNING:     /" >&2
19738     ;;
19739 esac
19740 echo "$as_me:$LINENO: checking for $ac_header" >&5
19741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19743   echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745   eval "$as_ac_Header=\$ac_header_preproc"
19746 fi
19747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19749
19750 fi
19751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19752   cat >>confdefs.h <<_ACEOF
19753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19754 _ACEOF
19755
19756 fi
19757
19758 done
19759
19760
19761
19762
19763 # Check whether --with-gnu-ld or --without-gnu-ld was given.
19764 if test "${with_gnu_ld+set}" = set; then
19765   withval="$with_gnu_ld"
19766   test "$withval" = no || with_gnu_ld=yes
19767 else
19768   with_gnu_ld=no
19769 fi;
19770 ac_prog=ld
19771 if test "$GCC" = yes; then
19772   # Check if gcc -print-prog-name=ld gives a path.
19773   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
19774 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
19775   case $host in
19776   *-*-mingw*)
19777     # gcc leaves a trailing carriage return which upsets mingw
19778     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19779   *)
19780     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19781   esac
19782   case $ac_prog in
19783     # Accept absolute paths.
19784     [\\/]* | ?:[\\/]*)
19785       re_direlt='/[^/][^/]*/\.\./'
19786       # Canonicalize the pathname of ld
19787       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19788       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19789         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19790       done
19791       test -z "$LD" && LD="$ac_prog"
19792       ;;
19793   "")
19794     # If it fails, then pretend we aren't using GCC.
19795     ac_prog=ld
19796     ;;
19797   *)
19798     # If it is relative, then search for the first ld in PATH.
19799     with_gnu_ld=unknown
19800     ;;
19801   esac
19802 elif test "$with_gnu_ld" = yes; then
19803   echo "$as_me:$LINENO: checking for GNU ld" >&5
19804 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
19805 else
19806   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19807 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
19808 fi
19809 if test "${lt_cv_path_LD+set}" = set; then
19810   echo $ECHO_N "(cached) $ECHO_C" >&6
19811 else
19812   if test -z "$LD"; then
19813   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19814   for ac_dir in $PATH; do
19815     IFS="$lt_save_ifs"
19816     test -z "$ac_dir" && ac_dir=.
19817     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19818       lt_cv_path_LD="$ac_dir/$ac_prog"
19819       # Check to see if the program is GNU ld.  I'd rather use --version,
19820       # but apparently some variants of GNU ld only accept -v.
19821       # Break only if it was the GNU/non-GNU ld that we prefer.
19822       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19823       *GNU* | *'with BFD'*)
19824         test "$with_gnu_ld" != no && break
19825         ;;
19826       *)
19827         test "$with_gnu_ld" != yes && break
19828         ;;
19829       esac
19830     fi
19831   done
19832   IFS="$lt_save_ifs"
19833 else
19834   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19835 fi
19836 fi
19837
19838 LD="$lt_cv_path_LD"
19839 if test -n "$LD"; then
19840   echo "$as_me:$LINENO: result: $LD" >&5
19841 echo "${ECHO_T}$LD" >&6
19842 else
19843   echo "$as_me:$LINENO: result: no" >&5
19844 echo "${ECHO_T}no" >&6
19845 fi
19846 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19847 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19848    { (exit 1); exit 1; }; }
19849 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19850 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
19851 if test "${lt_cv_prog_gnu_ld+set}" = set; then
19852   echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19855 case `$LD -v 2>&1 </dev/null` in
19856 *GNU* | *'with BFD'*)
19857   lt_cv_prog_gnu_ld=yes
19858   ;;
19859 *)
19860   lt_cv_prog_gnu_ld=no
19861   ;;
19862 esac
19863 fi
19864 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
19865 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
19866 with_gnu_ld=$lt_cv_prog_gnu_ld
19867
19868
19869
19870
19871
19872
19873
19874   # If we're not using GNU ld, then there's no point in even trying these
19875   # tests.  Check for that first.  We should have already tested for gld
19876   # by now (in libtool), but require it now just to be safe...
19877   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19878   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19879
19880
19881
19882   # The name set by libtool depends on the version of libtool.  Shame on us
19883   # for depending on an impl detail, but c'est la vie.  Older versions used
19884   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19885   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19886   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19887   # set (hence we're using an older libtool), then set it.
19888   if test x${with_gnu_ld+set} != xset; then
19889     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19890       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19891       with_gnu_ld=no
19892     else
19893       with_gnu_ld=$ac_cv_prog_gnu_ld
19894     fi
19895   fi
19896
19897   # Start by getting the version number.  I think the libtool test already
19898   # does some of this, but throws away the result.
19899   glibcxx_ld_is_gold=no
19900   if test x"$with_gnu_ld" = x"yes"; then
19901     echo "$as_me:$LINENO: checking for ld version" >&5
19902 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
19903
19904     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19905       glibcxx_ld_is_gold=yes
19906     fi
19907     ldver=`$LD --version 2>/dev/null | head -1 | \
19908            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
19909
19910     glibcxx_gnu_ld_version=`echo $ldver | \
19911            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19912     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
19913 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
19914   fi
19915
19916   # Set --gc-sections.
19917   glibcxx_have_gc_sections=no
19918   if test "$glibcxx_ld_is_gold" = "yes"; then
19919     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19920       glibcxx_have_gc_sections=yes
19921     fi
19922   else
19923     glibcxx_gcsections_min_ld=21602
19924     if test x"$with_gnu_ld" = x"yes" &&
19925         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19926       glibcxx_have_gc_sections=yes
19927     fi
19928   fi
19929   if test "$glibcxx_have_gc_sections" = "yes"; then
19930     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19931     # NB: This flag only works reliably after 2.16.1. Configure tests
19932     # for this are difficult, so hard wire a value that should work.
19933
19934     ac_test_CFLAGS="${CFLAGS+set}"
19935     ac_save_CFLAGS="$CFLAGS"
19936     CFLAGS='-Wl,--gc-sections'
19937
19938     # Check for -Wl,--gc-sections
19939     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
19940 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
19941     if test x$gcc_no_link = xyes; then
19942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944    { (exit 1); exit 1; }; }
19945 fi
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h.  */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h.  */
19952  int one(void) { return 1; }
19953      int two(void) { return 2; }
19954
19955 int
19956 main ()
19957 {
19958  two();
19959   ;
19960   return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext conftest$ac_exeext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19965   (eval $ac_link) 2>conftest.er1
19966   ac_status=$?
19967   grep -v '^ *+' conftest.er1 >conftest.err
19968   rm -f conftest.er1
19969   cat conftest.err >&5
19970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971   (exit $ac_status); } &&
19972          { ac_try='test -z "$ac_c_werror_flag"
19973                          || test ! -s conftest.err'
19974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975   (eval $ac_try) 2>&5
19976   ac_status=$?
19977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978   (exit $ac_status); }; } &&
19979          { ac_try='test -s conftest$ac_exeext'
19980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981   (eval $ac_try) 2>&5
19982   ac_status=$?
19983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984   (exit $ac_status); }; }; then
19985   ac_gcsections=yes
19986 else
19987   echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19989
19990 ac_gcsections=no
19991 fi
19992 rm -f conftest.err conftest.$ac_objext \
19993       conftest$ac_exeext conftest.$ac_ext
19994     if test "$ac_gcsections" = "yes"; then
19995       rm -f conftest.c
19996       touch conftest.c
19997       if $CC -c conftest.c; then
19998         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19999            grep "Warning: gc-sections option ignored" > /dev/null; then
20000           ac_gcsections=no
20001         fi
20002       fi
20003       rm -f conftest.c conftest.o conftest
20004     fi
20005     if test "$ac_gcsections" = "yes"; then
20006       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20007     fi
20008     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
20009 echo "${ECHO_T}$ac_gcsections" >&6
20010
20011     if test "$ac_test_CFLAGS" = set; then
20012       CFLAGS="$ac_save_CFLAGS"
20013     else
20014       # this is the suspicious part
20015       CFLAGS=''
20016     fi
20017   fi
20018
20019   # Set -z,relro.
20020   # Note this is only for shared objects.
20021   ac_ld_relro=no
20022   if test x"$with_gnu_ld" = x"yes"; then
20023     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
20024 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
20025     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20026     if test -n "$cxx_z_relo"; then
20027       OPT_LDFLAGS="-Wl,-z,relro"
20028       ac_ld_relro=yes
20029     fi
20030     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
20031 echo "${ECHO_T}$ac_ld_relro" >&6
20032   fi
20033
20034   # Set linker optimization flags.
20035   if test x"$with_gnu_ld" = x"yes"; then
20036     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20037   fi
20038
20039
20040
20041
20042
20043   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20044   ac_save_CXXFLAGS="$CXXFLAGS"
20045   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20046
20047     echo "$as_me:$LINENO: checking for sin in -lm" >&5
20048 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
20049 if test "${ac_cv_lib_m_sin+set}" = set; then
20050   echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052   ac_check_lib_save_LIBS=$LIBS
20053 LIBS="-lm  $LIBS"
20054 if test x$gcc_no_link = xyes; then
20055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20057    { (exit 1); exit 1; }; }
20058 fi
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h.  */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h.  */
20065
20066 /* Override any gcc2 internal prototype to avoid an error.  */
20067 #ifdef __cplusplus
20068 extern "C"
20069 #endif
20070 /* We use char because int might match the return type of a gcc2
20071    builtin and then its argument prototype would still apply.  */
20072 char sin ();
20073 int
20074 main ()
20075 {
20076 sin ();
20077   ;
20078   return 0;
20079 }
20080 _ACEOF
20081 rm -f conftest.$ac_objext conftest$ac_exeext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20083   (eval $ac_link) 2>conftest.er1
20084   ac_status=$?
20085   grep -v '^ *+' conftest.er1 >conftest.err
20086   rm -f conftest.er1
20087   cat conftest.err >&5
20088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089   (exit $ac_status); } &&
20090          { ac_try='test -z "$ac_c_werror_flag"
20091                          || test ! -s conftest.err'
20092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093   (eval $ac_try) 2>&5
20094   ac_status=$?
20095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096   (exit $ac_status); }; } &&
20097          { ac_try='test -s conftest$ac_exeext'
20098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099   (eval $ac_try) 2>&5
20100   ac_status=$?
20101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102   (exit $ac_status); }; }; then
20103   ac_cv_lib_m_sin=yes
20104 else
20105   echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 ac_cv_lib_m_sin=no
20109 fi
20110 rm -f conftest.err conftest.$ac_objext \
20111       conftest$ac_exeext conftest.$ac_ext
20112 LIBS=$ac_check_lib_save_LIBS
20113 fi
20114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
20115 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
20116 if test $ac_cv_lib_m_sin = yes; then
20117   libm="-lm"
20118 fi
20119
20120   ac_save_LIBS="$LIBS"
20121   LIBS="$LIBS $libm"
20122
20123
20124
20125   echo "$as_me:$LINENO: checking for isinf declaration" >&5
20126 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
20127   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20128     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
20129   echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20131
20132
20133
20134       ac_ext=cc
20135 ac_cpp='$CXXCPP $CPPFLAGS'
20136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20139
20140       cat >conftest.$ac_ext <<_ACEOF
20141 /* confdefs.h.  */
20142 _ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h.  */
20146 #include <math.h>
20147                       #ifdef HAVE_IEEEFP_H
20148                       #include <ieeefp.h>
20149                       #endif
20150
20151 int
20152 main ()
20153 {
20154  isinf(0);
20155   ;
20156   return 0;
20157 }
20158 _ACEOF
20159 rm -f conftest.$ac_objext
20160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20161   (eval $ac_compile) 2>conftest.er1
20162   ac_status=$?
20163   grep -v '^ *+' conftest.er1 >conftest.err
20164   rm -f conftest.er1
20165   cat conftest.err >&5
20166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167   (exit $ac_status); } &&
20168          { ac_try='test -z "$ac_cxx_werror_flag"
20169                          || test ! -s conftest.err'
20170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171   (eval $ac_try) 2>&5
20172   ac_status=$?
20173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174   (exit $ac_status); }; } &&
20175          { ac_try='test -s conftest.$ac_objext'
20176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177   (eval $ac_try) 2>&5
20178   ac_status=$?
20179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180   (exit $ac_status); }; }; then
20181   glibcxx_cv_func_isinf_use=yes
20182 else
20183   echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20185
20186 glibcxx_cv_func_isinf_use=no
20187 fi
20188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20189       ac_ext=c
20190 ac_cpp='$CPP $CPPFLAGS'
20191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20194
20195
20196 fi
20197
20198   fi
20199   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
20200 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
20201
20202   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20203
20204 for ac_func in isinf
20205 do
20206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20207 echo "$as_me:$LINENO: checking for $ac_func" >&5
20208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20209 if eval "test \"\${$as_ac_var+set}\" = set"; then
20210   echo $ECHO_N "(cached) $ECHO_C" >&6
20211 else
20212   if test x$gcc_no_link = xyes; then
20213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20215    { (exit 1); exit 1; }; }
20216 fi
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h.  */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h.  */
20223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20225 #define $ac_func innocuous_$ac_func
20226
20227 /* System header to define __stub macros and hopefully few prototypes,
20228     which can conflict with char $ac_func (); below.
20229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20230     <limits.h> exists even on freestanding compilers.  */
20231
20232 #ifdef __STDC__
20233 # include <limits.h>
20234 #else
20235 # include <assert.h>
20236 #endif
20237
20238 #undef $ac_func
20239
20240 /* Override any gcc2 internal prototype to avoid an error.  */
20241 #ifdef __cplusplus
20242 extern "C"
20243 {
20244 #endif
20245 /* We use char because int might match the return type of a gcc2
20246    builtin and then its argument prototype would still apply.  */
20247 char $ac_func ();
20248 /* The GNU C library defines this for functions which it implements
20249     to always fail with ENOSYS.  Some functions are actually named
20250     something starting with __ and the normal name is an alias.  */
20251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20252 choke me
20253 #else
20254 char (*f) () = $ac_func;
20255 #endif
20256 #ifdef __cplusplus
20257 }
20258 #endif
20259
20260 int
20261 main ()
20262 {
20263 return f != $ac_func;
20264   ;
20265   return 0;
20266 }
20267 _ACEOF
20268 rm -f conftest.$ac_objext conftest$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270   (eval $ac_link) 2>conftest.er1
20271   ac_status=$?
20272   grep -v '^ *+' conftest.er1 >conftest.err
20273   rm -f conftest.er1
20274   cat conftest.err >&5
20275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276   (exit $ac_status); } &&
20277          { ac_try='test -z "$ac_c_werror_flag"
20278                          || test ! -s conftest.err'
20279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280   (eval $ac_try) 2>&5
20281   ac_status=$?
20282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283   (exit $ac_status); }; } &&
20284          { ac_try='test -s conftest$ac_exeext'
20285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286   (eval $ac_try) 2>&5
20287   ac_status=$?
20288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289   (exit $ac_status); }; }; then
20290   eval "$as_ac_var=yes"
20291 else
20292   echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20294
20295 eval "$as_ac_var=no"
20296 fi
20297 rm -f conftest.err conftest.$ac_objext \
20298       conftest$ac_exeext conftest.$ac_ext
20299 fi
20300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20302 if test `eval echo '${'$as_ac_var'}'` = yes; then
20303   cat >>confdefs.h <<_ACEOF
20304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20305 _ACEOF
20306
20307 fi
20308 done
20309
20310   else
20311
20312   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
20313 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
20314   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20315     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
20316   echo $ECHO_N "(cached) $ECHO_C" >&6
20317 else
20318
20319
20320
20321       ac_ext=cc
20322 ac_cpp='$CXXCPP $CPPFLAGS'
20323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20326
20327       cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h.  */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h.  */
20333 #include <math.h>
20334                       #ifdef HAVE_IEEEFP_H
20335                       #include <ieeefp.h>
20336                       #endif
20337
20338 int
20339 main ()
20340 {
20341  _isinf(0);
20342   ;
20343   return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20348   (eval $ac_compile) 2>conftest.er1
20349   ac_status=$?
20350   grep -v '^ *+' conftest.er1 >conftest.err
20351   rm -f conftest.er1
20352   cat conftest.err >&5
20353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354   (exit $ac_status); } &&
20355          { ac_try='test -z "$ac_cxx_werror_flag"
20356                          || test ! -s conftest.err'
20357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358   (eval $ac_try) 2>&5
20359   ac_status=$?
20360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361   (exit $ac_status); }; } &&
20362          { ac_try='test -s conftest.$ac_objext'
20363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364   (eval $ac_try) 2>&5
20365   ac_status=$?
20366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367   (exit $ac_status); }; }; then
20368   glibcxx_cv_func__isinf_use=yes
20369 else
20370   echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 glibcxx_cv_func__isinf_use=no
20374 fi
20375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20376       ac_ext=c
20377 ac_cpp='$CPP $CPPFLAGS'
20378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20381
20382
20383 fi
20384
20385   fi
20386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
20387 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
20388
20389     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20390
20391 for ac_func in _isinf
20392 do
20393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20394 echo "$as_me:$LINENO: checking for $ac_func" >&5
20395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20396 if eval "test \"\${$as_ac_var+set}\" = set"; then
20397   echo $ECHO_N "(cached) $ECHO_C" >&6
20398 else
20399   if test x$gcc_no_link = xyes; then
20400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20402    { (exit 1); exit 1; }; }
20403 fi
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h.  */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h.  */
20410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20412 #define $ac_func innocuous_$ac_func
20413
20414 /* System header to define __stub macros and hopefully few prototypes,
20415     which can conflict with char $ac_func (); below.
20416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20417     <limits.h> exists even on freestanding compilers.  */
20418
20419 #ifdef __STDC__
20420 # include <limits.h>
20421 #else
20422 # include <assert.h>
20423 #endif
20424
20425 #undef $ac_func
20426
20427 /* Override any gcc2 internal prototype to avoid an error.  */
20428 #ifdef __cplusplus
20429 extern "C"
20430 {
20431 #endif
20432 /* We use char because int might match the return type of a gcc2
20433    builtin and then its argument prototype would still apply.  */
20434 char $ac_func ();
20435 /* The GNU C library defines this for functions which it implements
20436     to always fail with ENOSYS.  Some functions are actually named
20437     something starting with __ and the normal name is an alias.  */
20438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20439 choke me
20440 #else
20441 char (*f) () = $ac_func;
20442 #endif
20443 #ifdef __cplusplus
20444 }
20445 #endif
20446
20447 int
20448 main ()
20449 {
20450 return f != $ac_func;
20451   ;
20452   return 0;
20453 }
20454 _ACEOF
20455 rm -f conftest.$ac_objext conftest$ac_exeext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20457   (eval $ac_link) 2>conftest.er1
20458   ac_status=$?
20459   grep -v '^ *+' conftest.er1 >conftest.err
20460   rm -f conftest.er1
20461   cat conftest.err >&5
20462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463   (exit $ac_status); } &&
20464          { ac_try='test -z "$ac_c_werror_flag"
20465                          || test ! -s conftest.err'
20466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467   (eval $ac_try) 2>&5
20468   ac_status=$?
20469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470   (exit $ac_status); }; } &&
20471          { ac_try='test -s conftest$ac_exeext'
20472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473   (eval $ac_try) 2>&5
20474   ac_status=$?
20475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476   (exit $ac_status); }; }; then
20477   eval "$as_ac_var=yes"
20478 else
20479   echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20481
20482 eval "$as_ac_var=no"
20483 fi
20484 rm -f conftest.err conftest.$ac_objext \
20485       conftest$ac_exeext conftest.$ac_ext
20486 fi
20487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20489 if test `eval echo '${'$as_ac_var'}'` = yes; then
20490   cat >>confdefs.h <<_ACEOF
20491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20492 _ACEOF
20493
20494 fi
20495 done
20496
20497     fi
20498   fi
20499
20500
20501
20502
20503
20504
20505   echo "$as_me:$LINENO: checking for isnan declaration" >&5
20506 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
20507   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20508     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
20509   echo $ECHO_N "(cached) $ECHO_C" >&6
20510 else
20511
20512
20513
20514       ac_ext=cc
20515 ac_cpp='$CXXCPP $CPPFLAGS'
20516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519
20520       cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h.  */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h.  */
20526 #include <math.h>
20527                       #ifdef HAVE_IEEEFP_H
20528                       #include <ieeefp.h>
20529                       #endif
20530
20531 int
20532 main ()
20533 {
20534  isnan(0);
20535   ;
20536   return 0;
20537 }
20538 _ACEOF
20539 rm -f conftest.$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541   (eval $ac_compile) 2>conftest.er1
20542   ac_status=$?
20543   grep -v '^ *+' conftest.er1 >conftest.err
20544   rm -f conftest.er1
20545   cat conftest.err >&5
20546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547   (exit $ac_status); } &&
20548          { ac_try='test -z "$ac_cxx_werror_flag"
20549                          || test ! -s conftest.err'
20550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551   (eval $ac_try) 2>&5
20552   ac_status=$?
20553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554   (exit $ac_status); }; } &&
20555          { ac_try='test -s conftest.$ac_objext'
20556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557   (eval $ac_try) 2>&5
20558   ac_status=$?
20559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560   (exit $ac_status); }; }; then
20561   glibcxx_cv_func_isnan_use=yes
20562 else
20563   echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 glibcxx_cv_func_isnan_use=no
20567 fi
20568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20569       ac_ext=c
20570 ac_cpp='$CPP $CPPFLAGS'
20571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20574
20575
20576 fi
20577
20578   fi
20579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
20580 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
20581
20582   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20583
20584 for ac_func in isnan
20585 do
20586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20587 echo "$as_me:$LINENO: checking for $ac_func" >&5
20588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20589 if eval "test \"\${$as_ac_var+set}\" = set"; then
20590   echo $ECHO_N "(cached) $ECHO_C" >&6
20591 else
20592   if test x$gcc_no_link = xyes; then
20593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20595    { (exit 1); exit 1; }; }
20596 fi
20597 cat >conftest.$ac_ext <<_ACEOF
20598 /* confdefs.h.  */
20599 _ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h.  */
20603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20605 #define $ac_func innocuous_$ac_func
20606
20607 /* System header to define __stub macros and hopefully few prototypes,
20608     which can conflict with char $ac_func (); below.
20609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20610     <limits.h> exists even on freestanding compilers.  */
20611
20612 #ifdef __STDC__
20613 # include <limits.h>
20614 #else
20615 # include <assert.h>
20616 #endif
20617
20618 #undef $ac_func
20619
20620 /* Override any gcc2 internal prototype to avoid an error.  */
20621 #ifdef __cplusplus
20622 extern "C"
20623 {
20624 #endif
20625 /* We use char because int might match the return type of a gcc2
20626    builtin and then its argument prototype would still apply.  */
20627 char $ac_func ();
20628 /* The GNU C library defines this for functions which it implements
20629     to always fail with ENOSYS.  Some functions are actually named
20630     something starting with __ and the normal name is an alias.  */
20631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20632 choke me
20633 #else
20634 char (*f) () = $ac_func;
20635 #endif
20636 #ifdef __cplusplus
20637 }
20638 #endif
20639
20640 int
20641 main ()
20642 {
20643 return f != $ac_func;
20644   ;
20645   return 0;
20646 }
20647 _ACEOF
20648 rm -f conftest.$ac_objext conftest$ac_exeext
20649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20650   (eval $ac_link) 2>conftest.er1
20651   ac_status=$?
20652   grep -v '^ *+' conftest.er1 >conftest.err
20653   rm -f conftest.er1
20654   cat conftest.err >&5
20655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656   (exit $ac_status); } &&
20657          { ac_try='test -z "$ac_c_werror_flag"
20658                          || test ! -s conftest.err'
20659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660   (eval $ac_try) 2>&5
20661   ac_status=$?
20662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663   (exit $ac_status); }; } &&
20664          { ac_try='test -s conftest$ac_exeext'
20665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666   (eval $ac_try) 2>&5
20667   ac_status=$?
20668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669   (exit $ac_status); }; }; then
20670   eval "$as_ac_var=yes"
20671 else
20672   echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20674
20675 eval "$as_ac_var=no"
20676 fi
20677 rm -f conftest.err conftest.$ac_objext \
20678       conftest$ac_exeext conftest.$ac_ext
20679 fi
20680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20682 if test `eval echo '${'$as_ac_var'}'` = yes; then
20683   cat >>confdefs.h <<_ACEOF
20684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20685 _ACEOF
20686
20687 fi
20688 done
20689
20690   else
20691
20692   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
20693 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
20694   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20695     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
20696   echo $ECHO_N "(cached) $ECHO_C" >&6
20697 else
20698
20699
20700
20701       ac_ext=cc
20702 ac_cpp='$CXXCPP $CPPFLAGS'
20703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20706
20707       cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h.  */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h.  */
20713 #include <math.h>
20714                       #ifdef HAVE_IEEEFP_H
20715                       #include <ieeefp.h>
20716                       #endif
20717
20718 int
20719 main ()
20720 {
20721  _isnan(0);
20722   ;
20723   return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728   (eval $ac_compile) 2>conftest.er1
20729   ac_status=$?
20730   grep -v '^ *+' conftest.er1 >conftest.err
20731   rm -f conftest.er1
20732   cat conftest.err >&5
20733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734   (exit $ac_status); } &&
20735          { ac_try='test -z "$ac_cxx_werror_flag"
20736                          || test ! -s conftest.err'
20737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738   (eval $ac_try) 2>&5
20739   ac_status=$?
20740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741   (exit $ac_status); }; } &&
20742          { ac_try='test -s conftest.$ac_objext'
20743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744   (eval $ac_try) 2>&5
20745   ac_status=$?
20746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747   (exit $ac_status); }; }; then
20748   glibcxx_cv_func__isnan_use=yes
20749 else
20750   echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 glibcxx_cv_func__isnan_use=no
20754 fi
20755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20756       ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20761
20762
20763 fi
20764
20765   fi
20766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
20767 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
20768
20769     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20770
20771 for ac_func in _isnan
20772 do
20773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20774 echo "$as_me:$LINENO: checking for $ac_func" >&5
20775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20776 if eval "test \"\${$as_ac_var+set}\" = set"; then
20777   echo $ECHO_N "(cached) $ECHO_C" >&6
20778 else
20779   if test x$gcc_no_link = xyes; then
20780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20782    { (exit 1); exit 1; }; }
20783 fi
20784 cat >conftest.$ac_ext <<_ACEOF
20785 /* confdefs.h.  */
20786 _ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h.  */
20790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20792 #define $ac_func innocuous_$ac_func
20793
20794 /* System header to define __stub macros and hopefully few prototypes,
20795     which can conflict with char $ac_func (); below.
20796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20797     <limits.h> exists even on freestanding compilers.  */
20798
20799 #ifdef __STDC__
20800 # include <limits.h>
20801 #else
20802 # include <assert.h>
20803 #endif
20804
20805 #undef $ac_func
20806
20807 /* Override any gcc2 internal prototype to avoid an error.  */
20808 #ifdef __cplusplus
20809 extern "C"
20810 {
20811 #endif
20812 /* We use char because int might match the return type of a gcc2
20813    builtin and then its argument prototype would still apply.  */
20814 char $ac_func ();
20815 /* The GNU C library defines this for functions which it implements
20816     to always fail with ENOSYS.  Some functions are actually named
20817     something starting with __ and the normal name is an alias.  */
20818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20819 choke me
20820 #else
20821 char (*f) () = $ac_func;
20822 #endif
20823 #ifdef __cplusplus
20824 }
20825 #endif
20826
20827 int
20828 main ()
20829 {
20830 return f != $ac_func;
20831   ;
20832   return 0;
20833 }
20834 _ACEOF
20835 rm -f conftest.$ac_objext conftest$ac_exeext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20837   (eval $ac_link) 2>conftest.er1
20838   ac_status=$?
20839   grep -v '^ *+' conftest.er1 >conftest.err
20840   rm -f conftest.er1
20841   cat conftest.err >&5
20842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843   (exit $ac_status); } &&
20844          { ac_try='test -z "$ac_c_werror_flag"
20845                          || test ! -s conftest.err'
20846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847   (eval $ac_try) 2>&5
20848   ac_status=$?
20849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850   (exit $ac_status); }; } &&
20851          { ac_try='test -s conftest$ac_exeext'
20852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853   (eval $ac_try) 2>&5
20854   ac_status=$?
20855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856   (exit $ac_status); }; }; then
20857   eval "$as_ac_var=yes"
20858 else
20859   echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 eval "$as_ac_var=no"
20863 fi
20864 rm -f conftest.err conftest.$ac_objext \
20865       conftest$ac_exeext conftest.$ac_ext
20866 fi
20867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20869 if test `eval echo '${'$as_ac_var'}'` = yes; then
20870   cat >>confdefs.h <<_ACEOF
20871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20872 _ACEOF
20873
20874 fi
20875 done
20876
20877     fi
20878   fi
20879
20880
20881
20882
20883
20884
20885   echo "$as_me:$LINENO: checking for finite declaration" >&5
20886 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
20887   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20888     if test "${glibcxx_cv_func_finite_use+set}" = set; then
20889   echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891
20892
20893
20894       ac_ext=cc
20895 ac_cpp='$CXXCPP $CPPFLAGS'
20896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20899
20900       cat >conftest.$ac_ext <<_ACEOF
20901 /* confdefs.h.  */
20902 _ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h.  */
20906 #include <math.h>
20907                       #ifdef HAVE_IEEEFP_H
20908                       #include <ieeefp.h>
20909                       #endif
20910
20911 int
20912 main ()
20913 {
20914  finite(0);
20915   ;
20916   return 0;
20917 }
20918 _ACEOF
20919 rm -f conftest.$ac_objext
20920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20921   (eval $ac_compile) 2>conftest.er1
20922   ac_status=$?
20923   grep -v '^ *+' conftest.er1 >conftest.err
20924   rm -f conftest.er1
20925   cat conftest.err >&5
20926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927   (exit $ac_status); } &&
20928          { ac_try='test -z "$ac_cxx_werror_flag"
20929                          || test ! -s conftest.err'
20930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931   (eval $ac_try) 2>&5
20932   ac_status=$?
20933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934   (exit $ac_status); }; } &&
20935          { ac_try='test -s conftest.$ac_objext'
20936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937   (eval $ac_try) 2>&5
20938   ac_status=$?
20939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940   (exit $ac_status); }; }; then
20941   glibcxx_cv_func_finite_use=yes
20942 else
20943   echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 glibcxx_cv_func_finite_use=no
20947 fi
20948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20949       ac_ext=c
20950 ac_cpp='$CPP $CPPFLAGS'
20951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20954
20955
20956 fi
20957
20958   fi
20959   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
20960 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
20961
20962   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20963
20964 for ac_func in finite
20965 do
20966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20967 echo "$as_me:$LINENO: checking for $ac_func" >&5
20968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20969 if eval "test \"\${$as_ac_var+set}\" = set"; then
20970   echo $ECHO_N "(cached) $ECHO_C" >&6
20971 else
20972   if test x$gcc_no_link = xyes; then
20973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20975    { (exit 1); exit 1; }; }
20976 fi
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h.  */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h.  */
20983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20984    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20985 #define $ac_func innocuous_$ac_func
20986
20987 /* System header to define __stub macros and hopefully few prototypes,
20988     which can conflict with char $ac_func (); below.
20989     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20990     <limits.h> exists even on freestanding compilers.  */
20991
20992 #ifdef __STDC__
20993 # include <limits.h>
20994 #else
20995 # include <assert.h>
20996 #endif
20997
20998 #undef $ac_func
20999
21000 /* Override any gcc2 internal prototype to avoid an error.  */
21001 #ifdef __cplusplus
21002 extern "C"
21003 {
21004 #endif
21005 /* We use char because int might match the return type of a gcc2
21006    builtin and then its argument prototype would still apply.  */
21007 char $ac_func ();
21008 /* The GNU C library defines this for functions which it implements
21009     to always fail with ENOSYS.  Some functions are actually named
21010     something starting with __ and the normal name is an alias.  */
21011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21012 choke me
21013 #else
21014 char (*f) () = $ac_func;
21015 #endif
21016 #ifdef __cplusplus
21017 }
21018 #endif
21019
21020 int
21021 main ()
21022 {
21023 return f != $ac_func;
21024   ;
21025   return 0;
21026 }
21027 _ACEOF
21028 rm -f conftest.$ac_objext conftest$ac_exeext
21029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21030   (eval $ac_link) 2>conftest.er1
21031   ac_status=$?
21032   grep -v '^ *+' conftest.er1 >conftest.err
21033   rm -f conftest.er1
21034   cat conftest.err >&5
21035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036   (exit $ac_status); } &&
21037          { ac_try='test -z "$ac_c_werror_flag"
21038                          || test ! -s conftest.err'
21039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040   (eval $ac_try) 2>&5
21041   ac_status=$?
21042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043   (exit $ac_status); }; } &&
21044          { ac_try='test -s conftest$ac_exeext'
21045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046   (eval $ac_try) 2>&5
21047   ac_status=$?
21048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049   (exit $ac_status); }; }; then
21050   eval "$as_ac_var=yes"
21051 else
21052   echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21054
21055 eval "$as_ac_var=no"
21056 fi
21057 rm -f conftest.err conftest.$ac_objext \
21058       conftest$ac_exeext conftest.$ac_ext
21059 fi
21060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21062 if test `eval echo '${'$as_ac_var'}'` = yes; then
21063   cat >>confdefs.h <<_ACEOF
21064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21065 _ACEOF
21066
21067 fi
21068 done
21069
21070   else
21071
21072   echo "$as_me:$LINENO: checking for _finite declaration" >&5
21073 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
21074   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21075     if test "${glibcxx_cv_func__finite_use+set}" = set; then
21076   echo $ECHO_N "(cached) $ECHO_C" >&6
21077 else
21078
21079
21080
21081       ac_ext=cc
21082 ac_cpp='$CXXCPP $CPPFLAGS'
21083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21086
21087       cat >conftest.$ac_ext <<_ACEOF
21088 /* confdefs.h.  */
21089 _ACEOF
21090 cat confdefs.h >>conftest.$ac_ext
21091 cat >>conftest.$ac_ext <<_ACEOF
21092 /* end confdefs.h.  */
21093 #include <math.h>
21094                       #ifdef HAVE_IEEEFP_H
21095                       #include <ieeefp.h>
21096                       #endif
21097
21098 int
21099 main ()
21100 {
21101  _finite(0);
21102   ;
21103   return 0;
21104 }
21105 _ACEOF
21106 rm -f conftest.$ac_objext
21107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21108   (eval $ac_compile) 2>conftest.er1
21109   ac_status=$?
21110   grep -v '^ *+' conftest.er1 >conftest.err
21111   rm -f conftest.er1
21112   cat conftest.err >&5
21113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114   (exit $ac_status); } &&
21115          { ac_try='test -z "$ac_cxx_werror_flag"
21116                          || test ! -s conftest.err'
21117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118   (eval $ac_try) 2>&5
21119   ac_status=$?
21120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121   (exit $ac_status); }; } &&
21122          { ac_try='test -s conftest.$ac_objext'
21123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21124   (eval $ac_try) 2>&5
21125   ac_status=$?
21126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127   (exit $ac_status); }; }; then
21128   glibcxx_cv_func__finite_use=yes
21129 else
21130   echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21132
21133 glibcxx_cv_func__finite_use=no
21134 fi
21135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21136       ac_ext=c
21137 ac_cpp='$CPP $CPPFLAGS'
21138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141
21142
21143 fi
21144
21145   fi
21146   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
21147 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
21148
21149     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21150
21151 for ac_func in _finite
21152 do
21153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21154 echo "$as_me:$LINENO: checking for $ac_func" >&5
21155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21156 if eval "test \"\${$as_ac_var+set}\" = set"; then
21157   echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159   if test x$gcc_no_link = xyes; then
21160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21162    { (exit 1); exit 1; }; }
21163 fi
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h.  */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h.  */
21170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21172 #define $ac_func innocuous_$ac_func
21173
21174 /* System header to define __stub macros and hopefully few prototypes,
21175     which can conflict with char $ac_func (); below.
21176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21177     <limits.h> exists even on freestanding compilers.  */
21178
21179 #ifdef __STDC__
21180 # include <limits.h>
21181 #else
21182 # include <assert.h>
21183 #endif
21184
21185 #undef $ac_func
21186
21187 /* Override any gcc2 internal prototype to avoid an error.  */
21188 #ifdef __cplusplus
21189 extern "C"
21190 {
21191 #endif
21192 /* We use char because int might match the return type of a gcc2
21193    builtin and then its argument prototype would still apply.  */
21194 char $ac_func ();
21195 /* The GNU C library defines this for functions which it implements
21196     to always fail with ENOSYS.  Some functions are actually named
21197     something starting with __ and the normal name is an alias.  */
21198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21199 choke me
21200 #else
21201 char (*f) () = $ac_func;
21202 #endif
21203 #ifdef __cplusplus
21204 }
21205 #endif
21206
21207 int
21208 main ()
21209 {
21210 return f != $ac_func;
21211   ;
21212   return 0;
21213 }
21214 _ACEOF
21215 rm -f conftest.$ac_objext conftest$ac_exeext
21216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21217   (eval $ac_link) 2>conftest.er1
21218   ac_status=$?
21219   grep -v '^ *+' conftest.er1 >conftest.err
21220   rm -f conftest.er1
21221   cat conftest.err >&5
21222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223   (exit $ac_status); } &&
21224          { ac_try='test -z "$ac_c_werror_flag"
21225                          || test ! -s conftest.err'
21226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21227   (eval $ac_try) 2>&5
21228   ac_status=$?
21229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230   (exit $ac_status); }; } &&
21231          { ac_try='test -s conftest$ac_exeext'
21232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233   (eval $ac_try) 2>&5
21234   ac_status=$?
21235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236   (exit $ac_status); }; }; then
21237   eval "$as_ac_var=yes"
21238 else
21239   echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.$ac_ext >&5
21241
21242 eval "$as_ac_var=no"
21243 fi
21244 rm -f conftest.err conftest.$ac_objext \
21245       conftest$ac_exeext conftest.$ac_ext
21246 fi
21247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21249 if test `eval echo '${'$as_ac_var'}'` = yes; then
21250   cat >>confdefs.h <<_ACEOF
21251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21252 _ACEOF
21253
21254 fi
21255 done
21256
21257     fi
21258   fi
21259
21260
21261
21262
21263
21264
21265   echo "$as_me:$LINENO: checking for copysign declaration" >&5
21266 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
21267   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
21268     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
21269   echo $ECHO_N "(cached) $ECHO_C" >&6
21270 else
21271
21272
21273
21274       ac_ext=cc
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21279
21280       cat >conftest.$ac_ext <<_ACEOF
21281 /* confdefs.h.  */
21282 _ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h.  */
21286 #include <math.h>
21287 int
21288 main ()
21289 {
21290  copysign(0, 0);
21291   ;
21292   return 0;
21293 }
21294 _ACEOF
21295 rm -f conftest.$ac_objext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21297   (eval $ac_compile) 2>conftest.er1
21298   ac_status=$?
21299   grep -v '^ *+' conftest.er1 >conftest.err
21300   rm -f conftest.er1
21301   cat conftest.err >&5
21302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303   (exit $ac_status); } &&
21304          { ac_try='test -z "$ac_cxx_werror_flag"
21305                          || test ! -s conftest.err'
21306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307   (eval $ac_try) 2>&5
21308   ac_status=$?
21309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310   (exit $ac_status); }; } &&
21311          { ac_try='test -s conftest.$ac_objext'
21312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313   (eval $ac_try) 2>&5
21314   ac_status=$?
21315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316   (exit $ac_status); }; }; then
21317   glibcxx_cv_func_copysign_use=yes
21318 else
21319   echo "$as_me: failed program was:" >&5
21320 sed 's/^/| /' conftest.$ac_ext >&5
21321
21322 glibcxx_cv_func_copysign_use=no
21323 fi
21324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21325       ac_ext=c
21326 ac_cpp='$CPP $CPPFLAGS'
21327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21330
21331
21332 fi
21333
21334   fi
21335   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
21336 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
21337
21338   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
21339
21340 for ac_func in copysign
21341 do
21342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21343 echo "$as_me:$LINENO: checking for $ac_func" >&5
21344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21345 if eval "test \"\${$as_ac_var+set}\" = set"; then
21346   echo $ECHO_N "(cached) $ECHO_C" >&6
21347 else
21348   if test x$gcc_no_link = xyes; then
21349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21351    { (exit 1); exit 1; }; }
21352 fi
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h.  */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h.  */
21359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21361 #define $ac_func innocuous_$ac_func
21362
21363 /* System header to define __stub macros and hopefully few prototypes,
21364     which can conflict with char $ac_func (); below.
21365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21366     <limits.h> exists even on freestanding compilers.  */
21367
21368 #ifdef __STDC__
21369 # include <limits.h>
21370 #else
21371 # include <assert.h>
21372 #endif
21373
21374 #undef $ac_func
21375
21376 /* Override any gcc2 internal prototype to avoid an error.  */
21377 #ifdef __cplusplus
21378 extern "C"
21379 {
21380 #endif
21381 /* We use char because int might match the return type of a gcc2
21382    builtin and then its argument prototype would still apply.  */
21383 char $ac_func ();
21384 /* The GNU C library defines this for functions which it implements
21385     to always fail with ENOSYS.  Some functions are actually named
21386     something starting with __ and the normal name is an alias.  */
21387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21388 choke me
21389 #else
21390 char (*f) () = $ac_func;
21391 #endif
21392 #ifdef __cplusplus
21393 }
21394 #endif
21395
21396 int
21397 main ()
21398 {
21399 return f != $ac_func;
21400   ;
21401   return 0;
21402 }
21403 _ACEOF
21404 rm -f conftest.$ac_objext conftest$ac_exeext
21405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21406   (eval $ac_link) 2>conftest.er1
21407   ac_status=$?
21408   grep -v '^ *+' conftest.er1 >conftest.err
21409   rm -f conftest.er1
21410   cat conftest.err >&5
21411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412   (exit $ac_status); } &&
21413          { ac_try='test -z "$ac_c_werror_flag"
21414                          || test ! -s conftest.err'
21415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416   (eval $ac_try) 2>&5
21417   ac_status=$?
21418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419   (exit $ac_status); }; } &&
21420          { ac_try='test -s conftest$ac_exeext'
21421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21422   (eval $ac_try) 2>&5
21423   ac_status=$?
21424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425   (exit $ac_status); }; }; then
21426   eval "$as_ac_var=yes"
21427 else
21428   echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 eval "$as_ac_var=no"
21432 fi
21433 rm -f conftest.err conftest.$ac_objext \
21434       conftest$ac_exeext conftest.$ac_ext
21435 fi
21436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21438 if test `eval echo '${'$as_ac_var'}'` = yes; then
21439   cat >>confdefs.h <<_ACEOF
21440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21441 _ACEOF
21442
21443 fi
21444 done
21445
21446   else
21447
21448   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
21449 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
21450   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
21451     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
21452   echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454
21455
21456
21457       ac_ext=cc
21458 ac_cpp='$CXXCPP $CPPFLAGS'
21459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21462
21463       cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h.  */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h.  */
21469 #include <math.h>
21470 int
21471 main ()
21472 {
21473  _copysign(0, 0);
21474   ;
21475   return 0;
21476 }
21477 _ACEOF
21478 rm -f conftest.$ac_objext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21480   (eval $ac_compile) 2>conftest.er1
21481   ac_status=$?
21482   grep -v '^ *+' conftest.er1 >conftest.err
21483   rm -f conftest.er1
21484   cat conftest.err >&5
21485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486   (exit $ac_status); } &&
21487          { ac_try='test -z "$ac_cxx_werror_flag"
21488                          || test ! -s conftest.err'
21489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490   (eval $ac_try) 2>&5
21491   ac_status=$?
21492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493   (exit $ac_status); }; } &&
21494          { ac_try='test -s conftest.$ac_objext'
21495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496   (eval $ac_try) 2>&5
21497   ac_status=$?
21498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499   (exit $ac_status); }; }; then
21500   glibcxx_cv_func__copysign_use=yes
21501 else
21502   echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21504
21505 glibcxx_cv_func__copysign_use=no
21506 fi
21507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21508       ac_ext=c
21509 ac_cpp='$CPP $CPPFLAGS'
21510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21513
21514
21515 fi
21516
21517   fi
21518   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
21519 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
21520
21521     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
21522
21523 for ac_func in _copysign
21524 do
21525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21526 echo "$as_me:$LINENO: checking for $ac_func" >&5
21527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21528 if eval "test \"\${$as_ac_var+set}\" = set"; then
21529   echo $ECHO_N "(cached) $ECHO_C" >&6
21530 else
21531   if test x$gcc_no_link = xyes; then
21532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21534    { (exit 1); exit 1; }; }
21535 fi
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h.  */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h.  */
21542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21544 #define $ac_func innocuous_$ac_func
21545
21546 /* System header to define __stub macros and hopefully few prototypes,
21547     which can conflict with char $ac_func (); below.
21548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21549     <limits.h> exists even on freestanding compilers.  */
21550
21551 #ifdef __STDC__
21552 # include <limits.h>
21553 #else
21554 # include <assert.h>
21555 #endif
21556
21557 #undef $ac_func
21558
21559 /* Override any gcc2 internal prototype to avoid an error.  */
21560 #ifdef __cplusplus
21561 extern "C"
21562 {
21563 #endif
21564 /* We use char because int might match the return type of a gcc2
21565    builtin and then its argument prototype would still apply.  */
21566 char $ac_func ();
21567 /* The GNU C library defines this for functions which it implements
21568     to always fail with ENOSYS.  Some functions are actually named
21569     something starting with __ and the normal name is an alias.  */
21570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21571 choke me
21572 #else
21573 char (*f) () = $ac_func;
21574 #endif
21575 #ifdef __cplusplus
21576 }
21577 #endif
21578
21579 int
21580 main ()
21581 {
21582 return f != $ac_func;
21583   ;
21584   return 0;
21585 }
21586 _ACEOF
21587 rm -f conftest.$ac_objext conftest$ac_exeext
21588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21589   (eval $ac_link) 2>conftest.er1
21590   ac_status=$?
21591   grep -v '^ *+' conftest.er1 >conftest.err
21592   rm -f conftest.er1
21593   cat conftest.err >&5
21594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595   (exit $ac_status); } &&
21596          { ac_try='test -z "$ac_c_werror_flag"
21597                          || test ! -s conftest.err'
21598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599   (eval $ac_try) 2>&5
21600   ac_status=$?
21601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602   (exit $ac_status); }; } &&
21603          { ac_try='test -s conftest$ac_exeext'
21604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605   (eval $ac_try) 2>&5
21606   ac_status=$?
21607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608   (exit $ac_status); }; }; then
21609   eval "$as_ac_var=yes"
21610 else
21611   echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 eval "$as_ac_var=no"
21615 fi
21616 rm -f conftest.err conftest.$ac_objext \
21617       conftest$ac_exeext conftest.$ac_ext
21618 fi
21619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21621 if test `eval echo '${'$as_ac_var'}'` = yes; then
21622   cat >>confdefs.h <<_ACEOF
21623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21624 _ACEOF
21625
21626 fi
21627 done
21628
21629     fi
21630   fi
21631
21632
21633
21634
21635
21636
21637   echo "$as_me:$LINENO: checking for sincos declaration" >&5
21638 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
21639   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21640     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
21641   echo $ECHO_N "(cached) $ECHO_C" >&6
21642 else
21643
21644
21645
21646       ac_ext=cc
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21651
21652       cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h.  */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h.  */
21658 #include <math.h>
21659 int
21660 main ()
21661 {
21662  sincos(0, 0, 0);
21663   ;
21664   return 0;
21665 }
21666 _ACEOF
21667 rm -f conftest.$ac_objext
21668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21669   (eval $ac_compile) 2>conftest.er1
21670   ac_status=$?
21671   grep -v '^ *+' conftest.er1 >conftest.err
21672   rm -f conftest.er1
21673   cat conftest.err >&5
21674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675   (exit $ac_status); } &&
21676          { ac_try='test -z "$ac_cxx_werror_flag"
21677                          || test ! -s conftest.err'
21678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21679   (eval $ac_try) 2>&5
21680   ac_status=$?
21681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682   (exit $ac_status); }; } &&
21683          { ac_try='test -s conftest.$ac_objext'
21684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21685   (eval $ac_try) 2>&5
21686   ac_status=$?
21687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688   (exit $ac_status); }; }; then
21689   glibcxx_cv_func_sincos_use=yes
21690 else
21691   echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21693
21694 glibcxx_cv_func_sincos_use=no
21695 fi
21696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21697       ac_ext=c
21698 ac_cpp='$CPP $CPPFLAGS'
21699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21702
21703
21704 fi
21705
21706   fi
21707   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
21708 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
21709
21710   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21711
21712 for ac_func in sincos
21713 do
21714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21715 echo "$as_me:$LINENO: checking for $ac_func" >&5
21716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21717 if eval "test \"\${$as_ac_var+set}\" = set"; then
21718   echo $ECHO_N "(cached) $ECHO_C" >&6
21719 else
21720   if test x$gcc_no_link = xyes; then
21721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21723    { (exit 1); exit 1; }; }
21724 fi
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h.  */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h.  */
21731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21733 #define $ac_func innocuous_$ac_func
21734
21735 /* System header to define __stub macros and hopefully few prototypes,
21736     which can conflict with char $ac_func (); below.
21737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21738     <limits.h> exists even on freestanding compilers.  */
21739
21740 #ifdef __STDC__
21741 # include <limits.h>
21742 #else
21743 # include <assert.h>
21744 #endif
21745
21746 #undef $ac_func
21747
21748 /* Override any gcc2 internal prototype to avoid an error.  */
21749 #ifdef __cplusplus
21750 extern "C"
21751 {
21752 #endif
21753 /* We use char because int might match the return type of a gcc2
21754    builtin and then its argument prototype would still apply.  */
21755 char $ac_func ();
21756 /* The GNU C library defines this for functions which it implements
21757     to always fail with ENOSYS.  Some functions are actually named
21758     something starting with __ and the normal name is an alias.  */
21759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21760 choke me
21761 #else
21762 char (*f) () = $ac_func;
21763 #endif
21764 #ifdef __cplusplus
21765 }
21766 #endif
21767
21768 int
21769 main ()
21770 {
21771 return f != $ac_func;
21772   ;
21773   return 0;
21774 }
21775 _ACEOF
21776 rm -f conftest.$ac_objext conftest$ac_exeext
21777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21778   (eval $ac_link) 2>conftest.er1
21779   ac_status=$?
21780   grep -v '^ *+' conftest.er1 >conftest.err
21781   rm -f conftest.er1
21782   cat conftest.err >&5
21783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784   (exit $ac_status); } &&
21785          { ac_try='test -z "$ac_c_werror_flag"
21786                          || test ! -s conftest.err'
21787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788   (eval $ac_try) 2>&5
21789   ac_status=$?
21790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791   (exit $ac_status); }; } &&
21792          { ac_try='test -s conftest$ac_exeext'
21793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794   (eval $ac_try) 2>&5
21795   ac_status=$?
21796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797   (exit $ac_status); }; }; then
21798   eval "$as_ac_var=yes"
21799 else
21800   echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 eval "$as_ac_var=no"
21804 fi
21805 rm -f conftest.err conftest.$ac_objext \
21806       conftest$ac_exeext conftest.$ac_ext
21807 fi
21808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21810 if test `eval echo '${'$as_ac_var'}'` = yes; then
21811   cat >>confdefs.h <<_ACEOF
21812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21813 _ACEOF
21814
21815 fi
21816 done
21817
21818   else
21819
21820   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
21821 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
21822   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21823     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
21824   echo $ECHO_N "(cached) $ECHO_C" >&6
21825 else
21826
21827
21828
21829       ac_ext=cc
21830 ac_cpp='$CXXCPP $CPPFLAGS'
21831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21834
21835       cat >conftest.$ac_ext <<_ACEOF
21836 /* confdefs.h.  */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h.  */
21841 #include <math.h>
21842 int
21843 main ()
21844 {
21845  _sincos(0, 0, 0);
21846   ;
21847   return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21852   (eval $ac_compile) 2>conftest.er1
21853   ac_status=$?
21854   grep -v '^ *+' conftest.er1 >conftest.err
21855   rm -f conftest.er1
21856   cat conftest.err >&5
21857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858   (exit $ac_status); } &&
21859          { ac_try='test -z "$ac_cxx_werror_flag"
21860                          || test ! -s conftest.err'
21861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862   (eval $ac_try) 2>&5
21863   ac_status=$?
21864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865   (exit $ac_status); }; } &&
21866          { ac_try='test -s conftest.$ac_objext'
21867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868   (eval $ac_try) 2>&5
21869   ac_status=$?
21870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871   (exit $ac_status); }; }; then
21872   glibcxx_cv_func__sincos_use=yes
21873 else
21874   echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 glibcxx_cv_func__sincos_use=no
21878 fi
21879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21880       ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21885
21886
21887 fi
21888
21889   fi
21890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
21891 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
21892
21893     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21894
21895 for ac_func in _sincos
21896 do
21897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21898 echo "$as_me:$LINENO: checking for $ac_func" >&5
21899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21900 if eval "test \"\${$as_ac_var+set}\" = set"; then
21901   echo $ECHO_N "(cached) $ECHO_C" >&6
21902 else
21903   if test x$gcc_no_link = xyes; then
21904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21906    { (exit 1); exit 1; }; }
21907 fi
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h.  */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h.  */
21914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21916 #define $ac_func innocuous_$ac_func
21917
21918 /* System header to define __stub macros and hopefully few prototypes,
21919     which can conflict with char $ac_func (); below.
21920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21921     <limits.h> exists even on freestanding compilers.  */
21922
21923 #ifdef __STDC__
21924 # include <limits.h>
21925 #else
21926 # include <assert.h>
21927 #endif
21928
21929 #undef $ac_func
21930
21931 /* Override any gcc2 internal prototype to avoid an error.  */
21932 #ifdef __cplusplus
21933 extern "C"
21934 {
21935 #endif
21936 /* We use char because int might match the return type of a gcc2
21937    builtin and then its argument prototype would still apply.  */
21938 char $ac_func ();
21939 /* The GNU C library defines this for functions which it implements
21940     to always fail with ENOSYS.  Some functions are actually named
21941     something starting with __ and the normal name is an alias.  */
21942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21943 choke me
21944 #else
21945 char (*f) () = $ac_func;
21946 #endif
21947 #ifdef __cplusplus
21948 }
21949 #endif
21950
21951 int
21952 main ()
21953 {
21954 return f != $ac_func;
21955   ;
21956   return 0;
21957 }
21958 _ACEOF
21959 rm -f conftest.$ac_objext conftest$ac_exeext
21960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21961   (eval $ac_link) 2>conftest.er1
21962   ac_status=$?
21963   grep -v '^ *+' conftest.er1 >conftest.err
21964   rm -f conftest.er1
21965   cat conftest.err >&5
21966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967   (exit $ac_status); } &&
21968          { ac_try='test -z "$ac_c_werror_flag"
21969                          || test ! -s conftest.err'
21970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971   (eval $ac_try) 2>&5
21972   ac_status=$?
21973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974   (exit $ac_status); }; } &&
21975          { ac_try='test -s conftest$ac_exeext'
21976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977   (eval $ac_try) 2>&5
21978   ac_status=$?
21979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980   (exit $ac_status); }; }; then
21981   eval "$as_ac_var=yes"
21982 else
21983   echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 eval "$as_ac_var=no"
21987 fi
21988 rm -f conftest.err conftest.$ac_objext \
21989       conftest$ac_exeext conftest.$ac_ext
21990 fi
21991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21993 if test `eval echo '${'$as_ac_var'}'` = yes; then
21994   cat >>confdefs.h <<_ACEOF
21995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21996 _ACEOF
21997
21998 fi
21999 done
22000
22001     fi
22002   fi
22003
22004
22005
22006
22007
22008
22009   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
22010 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
22011   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22012     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
22013   echo $ECHO_N "(cached) $ECHO_C" >&6
22014 else
22015
22016
22017
22018       ac_ext=cc
22019 ac_cpp='$CXXCPP $CPPFLAGS'
22020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22023
22024       cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h.  */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h.  */
22030 #include <math.h>
22031                       #ifdef HAVE_IEEEFP_H
22032                       #include <ieeefp.h>
22033                       #endif
22034
22035 int
22036 main ()
22037 {
22038  fpclass(0);
22039   ;
22040   return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22045   (eval $ac_compile) 2>conftest.er1
22046   ac_status=$?
22047   grep -v '^ *+' conftest.er1 >conftest.err
22048   rm -f conftest.er1
22049   cat conftest.err >&5
22050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051   (exit $ac_status); } &&
22052          { ac_try='test -z "$ac_cxx_werror_flag"
22053                          || test ! -s conftest.err'
22054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055   (eval $ac_try) 2>&5
22056   ac_status=$?
22057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058   (exit $ac_status); }; } &&
22059          { ac_try='test -s conftest.$ac_objext'
22060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061   (eval $ac_try) 2>&5
22062   ac_status=$?
22063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064   (exit $ac_status); }; }; then
22065   glibcxx_cv_func_fpclass_use=yes
22066 else
22067   echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 glibcxx_cv_func_fpclass_use=no
22071 fi
22072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22073       ac_ext=c
22074 ac_cpp='$CPP $CPPFLAGS'
22075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22078
22079
22080 fi
22081
22082   fi
22083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
22084 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
22085
22086   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22087
22088 for ac_func in fpclass
22089 do
22090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22091 echo "$as_me:$LINENO: checking for $ac_func" >&5
22092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22093 if eval "test \"\${$as_ac_var+set}\" = set"; then
22094   echo $ECHO_N "(cached) $ECHO_C" >&6
22095 else
22096   if test x$gcc_no_link = xyes; then
22097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22099    { (exit 1); exit 1; }; }
22100 fi
22101 cat >conftest.$ac_ext <<_ACEOF
22102 /* confdefs.h.  */
22103 _ACEOF
22104 cat confdefs.h >>conftest.$ac_ext
22105 cat >>conftest.$ac_ext <<_ACEOF
22106 /* end confdefs.h.  */
22107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22109 #define $ac_func innocuous_$ac_func
22110
22111 /* System header to define __stub macros and hopefully few prototypes,
22112     which can conflict with char $ac_func (); below.
22113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22114     <limits.h> exists even on freestanding compilers.  */
22115
22116 #ifdef __STDC__
22117 # include <limits.h>
22118 #else
22119 # include <assert.h>
22120 #endif
22121
22122 #undef $ac_func
22123
22124 /* Override any gcc2 internal prototype to avoid an error.  */
22125 #ifdef __cplusplus
22126 extern "C"
22127 {
22128 #endif
22129 /* We use char because int might match the return type of a gcc2
22130    builtin and then its argument prototype would still apply.  */
22131 char $ac_func ();
22132 /* The GNU C library defines this for functions which it implements
22133     to always fail with ENOSYS.  Some functions are actually named
22134     something starting with __ and the normal name is an alias.  */
22135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22136 choke me
22137 #else
22138 char (*f) () = $ac_func;
22139 #endif
22140 #ifdef __cplusplus
22141 }
22142 #endif
22143
22144 int
22145 main ()
22146 {
22147 return f != $ac_func;
22148   ;
22149   return 0;
22150 }
22151 _ACEOF
22152 rm -f conftest.$ac_objext conftest$ac_exeext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22154   (eval $ac_link) 2>conftest.er1
22155   ac_status=$?
22156   grep -v '^ *+' conftest.er1 >conftest.err
22157   rm -f conftest.er1
22158   cat conftest.err >&5
22159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160   (exit $ac_status); } &&
22161          { ac_try='test -z "$ac_c_werror_flag"
22162                          || test ! -s conftest.err'
22163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164   (eval $ac_try) 2>&5
22165   ac_status=$?
22166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167   (exit $ac_status); }; } &&
22168          { ac_try='test -s conftest$ac_exeext'
22169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170   (eval $ac_try) 2>&5
22171   ac_status=$?
22172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173   (exit $ac_status); }; }; then
22174   eval "$as_ac_var=yes"
22175 else
22176   echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.$ac_ext >&5
22178
22179 eval "$as_ac_var=no"
22180 fi
22181 rm -f conftest.err conftest.$ac_objext \
22182       conftest$ac_exeext conftest.$ac_ext
22183 fi
22184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22186 if test `eval echo '${'$as_ac_var'}'` = yes; then
22187   cat >>confdefs.h <<_ACEOF
22188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194   else
22195
22196   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
22197 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
22198   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22199     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
22200   echo $ECHO_N "(cached) $ECHO_C" >&6
22201 else
22202
22203
22204
22205       ac_ext=cc
22206 ac_cpp='$CXXCPP $CPPFLAGS'
22207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22210
22211       cat >conftest.$ac_ext <<_ACEOF
22212 /* confdefs.h.  */
22213 _ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h.  */
22217 #include <math.h>
22218                       #ifdef HAVE_IEEEFP_H
22219                       #include <ieeefp.h>
22220                       #endif
22221
22222 int
22223 main ()
22224 {
22225  _fpclass(0);
22226   ;
22227   return 0;
22228 }
22229 _ACEOF
22230 rm -f conftest.$ac_objext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22232   (eval $ac_compile) 2>conftest.er1
22233   ac_status=$?
22234   grep -v '^ *+' conftest.er1 >conftest.err
22235   rm -f conftest.er1
22236   cat conftest.err >&5
22237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238   (exit $ac_status); } &&
22239          { ac_try='test -z "$ac_cxx_werror_flag"
22240                          || test ! -s conftest.err'
22241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242   (eval $ac_try) 2>&5
22243   ac_status=$?
22244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245   (exit $ac_status); }; } &&
22246          { ac_try='test -s conftest.$ac_objext'
22247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248   (eval $ac_try) 2>&5
22249   ac_status=$?
22250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251   (exit $ac_status); }; }; then
22252   glibcxx_cv_func__fpclass_use=yes
22253 else
22254   echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 glibcxx_cv_func__fpclass_use=no
22258 fi
22259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22260       ac_ext=c
22261 ac_cpp='$CPP $CPPFLAGS'
22262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22265
22266
22267 fi
22268
22269   fi
22270   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
22271 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
22272
22273     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22274
22275 for ac_func in _fpclass
22276 do
22277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22278 echo "$as_me:$LINENO: checking for $ac_func" >&5
22279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22280 if eval "test \"\${$as_ac_var+set}\" = set"; then
22281   echo $ECHO_N "(cached) $ECHO_C" >&6
22282 else
22283   if test x$gcc_no_link = xyes; then
22284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22286    { (exit 1); exit 1; }; }
22287 fi
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h.  */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h.  */
22294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22296 #define $ac_func innocuous_$ac_func
22297
22298 /* System header to define __stub macros and hopefully few prototypes,
22299     which can conflict with char $ac_func (); below.
22300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22301     <limits.h> exists even on freestanding compilers.  */
22302
22303 #ifdef __STDC__
22304 # include <limits.h>
22305 #else
22306 # include <assert.h>
22307 #endif
22308
22309 #undef $ac_func
22310
22311 /* Override any gcc2 internal prototype to avoid an error.  */
22312 #ifdef __cplusplus
22313 extern "C"
22314 {
22315 #endif
22316 /* We use char because int might match the return type of a gcc2
22317    builtin and then its argument prototype would still apply.  */
22318 char $ac_func ();
22319 /* The GNU C library defines this for functions which it implements
22320     to always fail with ENOSYS.  Some functions are actually named
22321     something starting with __ and the normal name is an alias.  */
22322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22323 choke me
22324 #else
22325 char (*f) () = $ac_func;
22326 #endif
22327 #ifdef __cplusplus
22328 }
22329 #endif
22330
22331 int
22332 main ()
22333 {
22334 return f != $ac_func;
22335   ;
22336   return 0;
22337 }
22338 _ACEOF
22339 rm -f conftest.$ac_objext conftest$ac_exeext
22340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22341   (eval $ac_link) 2>conftest.er1
22342   ac_status=$?
22343   grep -v '^ *+' conftest.er1 >conftest.err
22344   rm -f conftest.er1
22345   cat conftest.err >&5
22346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347   (exit $ac_status); } &&
22348          { ac_try='test -z "$ac_c_werror_flag"
22349                          || test ! -s conftest.err'
22350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351   (eval $ac_try) 2>&5
22352   ac_status=$?
22353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354   (exit $ac_status); }; } &&
22355          { ac_try='test -s conftest$ac_exeext'
22356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357   (eval $ac_try) 2>&5
22358   ac_status=$?
22359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360   (exit $ac_status); }; }; then
22361   eval "$as_ac_var=yes"
22362 else
22363   echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22365
22366 eval "$as_ac_var=no"
22367 fi
22368 rm -f conftest.err conftest.$ac_objext \
22369       conftest$ac_exeext conftest.$ac_ext
22370 fi
22371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22373 if test `eval echo '${'$as_ac_var'}'` = yes; then
22374   cat >>confdefs.h <<_ACEOF
22375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22376 _ACEOF
22377
22378 fi
22379 done
22380
22381     fi
22382   fi
22383
22384
22385
22386
22387
22388
22389   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
22390 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
22391   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22392     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
22393   echo $ECHO_N "(cached) $ECHO_C" >&6
22394 else
22395
22396
22397
22398       ac_ext=cc
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403
22404       cat >conftest.$ac_ext <<_ACEOF
22405 /* confdefs.h.  */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h.  */
22410 #include <math.h>
22411                       #ifdef HAVE_IEEEFP_H
22412                       #include <ieeefp.h>
22413                       #endif
22414
22415 int
22416 main ()
22417 {
22418  qfpclass(0);
22419   ;
22420   return 0;
22421 }
22422 _ACEOF
22423 rm -f conftest.$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425   (eval $ac_compile) 2>conftest.er1
22426   ac_status=$?
22427   grep -v '^ *+' conftest.er1 >conftest.err
22428   rm -f conftest.er1
22429   cat conftest.err >&5
22430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431   (exit $ac_status); } &&
22432          { ac_try='test -z "$ac_cxx_werror_flag"
22433                          || test ! -s conftest.err'
22434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435   (eval $ac_try) 2>&5
22436   ac_status=$?
22437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438   (exit $ac_status); }; } &&
22439          { ac_try='test -s conftest.$ac_objext'
22440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441   (eval $ac_try) 2>&5
22442   ac_status=$?
22443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444   (exit $ac_status); }; }; then
22445   glibcxx_cv_func_qfpclass_use=yes
22446 else
22447   echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22449
22450 glibcxx_cv_func_qfpclass_use=no
22451 fi
22452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22453       ac_ext=c
22454 ac_cpp='$CPP $CPPFLAGS'
22455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22458
22459
22460 fi
22461
22462   fi
22463   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
22464 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
22465
22466   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22467
22468 for ac_func in qfpclass
22469 do
22470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22471 echo "$as_me:$LINENO: checking for $ac_func" >&5
22472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22473 if eval "test \"\${$as_ac_var+set}\" = set"; then
22474   echo $ECHO_N "(cached) $ECHO_C" >&6
22475 else
22476   if test x$gcc_no_link = xyes; then
22477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22479    { (exit 1); exit 1; }; }
22480 fi
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h.  */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h.  */
22487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22489 #define $ac_func innocuous_$ac_func
22490
22491 /* System header to define __stub macros and hopefully few prototypes,
22492     which can conflict with char $ac_func (); below.
22493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22494     <limits.h> exists even on freestanding compilers.  */
22495
22496 #ifdef __STDC__
22497 # include <limits.h>
22498 #else
22499 # include <assert.h>
22500 #endif
22501
22502 #undef $ac_func
22503
22504 /* Override any gcc2 internal prototype to avoid an error.  */
22505 #ifdef __cplusplus
22506 extern "C"
22507 {
22508 #endif
22509 /* We use char because int might match the return type of a gcc2
22510    builtin and then its argument prototype would still apply.  */
22511 char $ac_func ();
22512 /* The GNU C library defines this for functions which it implements
22513     to always fail with ENOSYS.  Some functions are actually named
22514     something starting with __ and the normal name is an alias.  */
22515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22516 choke me
22517 #else
22518 char (*f) () = $ac_func;
22519 #endif
22520 #ifdef __cplusplus
22521 }
22522 #endif
22523
22524 int
22525 main ()
22526 {
22527 return f != $ac_func;
22528   ;
22529   return 0;
22530 }
22531 _ACEOF
22532 rm -f conftest.$ac_objext conftest$ac_exeext
22533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22534   (eval $ac_link) 2>conftest.er1
22535   ac_status=$?
22536   grep -v '^ *+' conftest.er1 >conftest.err
22537   rm -f conftest.er1
22538   cat conftest.err >&5
22539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540   (exit $ac_status); } &&
22541          { ac_try='test -z "$ac_c_werror_flag"
22542                          || test ! -s conftest.err'
22543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544   (eval $ac_try) 2>&5
22545   ac_status=$?
22546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547   (exit $ac_status); }; } &&
22548          { ac_try='test -s conftest$ac_exeext'
22549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550   (eval $ac_try) 2>&5
22551   ac_status=$?
22552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553   (exit $ac_status); }; }; then
22554   eval "$as_ac_var=yes"
22555 else
22556   echo "$as_me: failed program was:" >&5
22557 sed 's/^/| /' conftest.$ac_ext >&5
22558
22559 eval "$as_ac_var=no"
22560 fi
22561 rm -f conftest.err conftest.$ac_objext \
22562       conftest$ac_exeext conftest.$ac_ext
22563 fi
22564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22566 if test `eval echo '${'$as_ac_var'}'` = yes; then
22567   cat >>confdefs.h <<_ACEOF
22568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22569 _ACEOF
22570
22571 fi
22572 done
22573
22574   else
22575
22576   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
22577 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
22578   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22579     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
22580   echo $ECHO_N "(cached) $ECHO_C" >&6
22581 else
22582
22583
22584
22585       ac_ext=cc
22586 ac_cpp='$CXXCPP $CPPFLAGS'
22587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590
22591       cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h.  */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h.  */
22597 #include <math.h>
22598                       #ifdef HAVE_IEEEFP_H
22599                       #include <ieeefp.h>
22600                       #endif
22601
22602 int
22603 main ()
22604 {
22605  _qfpclass(0);
22606   ;
22607   return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22612   (eval $ac_compile) 2>conftest.er1
22613   ac_status=$?
22614   grep -v '^ *+' conftest.er1 >conftest.err
22615   rm -f conftest.er1
22616   cat conftest.err >&5
22617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618   (exit $ac_status); } &&
22619          { ac_try='test -z "$ac_cxx_werror_flag"
22620                          || test ! -s conftest.err'
22621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622   (eval $ac_try) 2>&5
22623   ac_status=$?
22624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625   (exit $ac_status); }; } &&
22626          { ac_try='test -s conftest.$ac_objext'
22627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628   (eval $ac_try) 2>&5
22629   ac_status=$?
22630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631   (exit $ac_status); }; }; then
22632   glibcxx_cv_func__qfpclass_use=yes
22633 else
22634   echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637 glibcxx_cv_func__qfpclass_use=no
22638 fi
22639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22640       ac_ext=c
22641 ac_cpp='$CPP $CPPFLAGS'
22642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22645
22646
22647 fi
22648
22649   fi
22650   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
22651 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
22652
22653     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22654
22655 for ac_func in _qfpclass
22656 do
22657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22658 echo "$as_me:$LINENO: checking for $ac_func" >&5
22659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22660 if eval "test \"\${$as_ac_var+set}\" = set"; then
22661   echo $ECHO_N "(cached) $ECHO_C" >&6
22662 else
22663   if test x$gcc_no_link = xyes; then
22664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22666    { (exit 1); exit 1; }; }
22667 fi
22668 cat >conftest.$ac_ext <<_ACEOF
22669 /* confdefs.h.  */
22670 _ACEOF
22671 cat confdefs.h >>conftest.$ac_ext
22672 cat >>conftest.$ac_ext <<_ACEOF
22673 /* end confdefs.h.  */
22674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22676 #define $ac_func innocuous_$ac_func
22677
22678 /* System header to define __stub macros and hopefully few prototypes,
22679     which can conflict with char $ac_func (); below.
22680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22681     <limits.h> exists even on freestanding compilers.  */
22682
22683 #ifdef __STDC__
22684 # include <limits.h>
22685 #else
22686 # include <assert.h>
22687 #endif
22688
22689 #undef $ac_func
22690
22691 /* Override any gcc2 internal prototype to avoid an error.  */
22692 #ifdef __cplusplus
22693 extern "C"
22694 {
22695 #endif
22696 /* We use char because int might match the return type of a gcc2
22697    builtin and then its argument prototype would still apply.  */
22698 char $ac_func ();
22699 /* The GNU C library defines this for functions which it implements
22700     to always fail with ENOSYS.  Some functions are actually named
22701     something starting with __ and the normal name is an alias.  */
22702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22703 choke me
22704 #else
22705 char (*f) () = $ac_func;
22706 #endif
22707 #ifdef __cplusplus
22708 }
22709 #endif
22710
22711 int
22712 main ()
22713 {
22714 return f != $ac_func;
22715   ;
22716   return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext conftest$ac_exeext
22720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22721   (eval $ac_link) 2>conftest.er1
22722   ac_status=$?
22723   grep -v '^ *+' conftest.er1 >conftest.err
22724   rm -f conftest.er1
22725   cat conftest.err >&5
22726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727   (exit $ac_status); } &&
22728          { ac_try='test -z "$ac_c_werror_flag"
22729                          || test ! -s conftest.err'
22730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731   (eval $ac_try) 2>&5
22732   ac_status=$?
22733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734   (exit $ac_status); }; } &&
22735          { ac_try='test -s conftest$ac_exeext'
22736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22737   (eval $ac_try) 2>&5
22738   ac_status=$?
22739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740   (exit $ac_status); }; }; then
22741   eval "$as_ac_var=yes"
22742 else
22743   echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22745
22746 eval "$as_ac_var=no"
22747 fi
22748 rm -f conftest.err conftest.$ac_objext \
22749       conftest$ac_exeext conftest.$ac_ext
22750 fi
22751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22753 if test `eval echo '${'$as_ac_var'}'` = yes; then
22754   cat >>confdefs.h <<_ACEOF
22755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22756 _ACEOF
22757
22758 fi
22759 done
22760
22761     fi
22762   fi
22763
22764
22765
22766
22767
22768
22769   echo "$as_me:$LINENO: checking for hypot declaration" >&5
22770 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
22771   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22772     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
22773   echo $ECHO_N "(cached) $ECHO_C" >&6
22774 else
22775
22776
22777
22778       ac_ext=cc
22779 ac_cpp='$CXXCPP $CPPFLAGS'
22780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22783
22784       cat >conftest.$ac_ext <<_ACEOF
22785 /* confdefs.h.  */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h.  */
22790 #include <math.h>
22791 int
22792 main ()
22793 {
22794  hypot(0, 0);
22795   ;
22796   return 0;
22797 }
22798 _ACEOF
22799 rm -f conftest.$ac_objext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801   (eval $ac_compile) 2>conftest.er1
22802   ac_status=$?
22803   grep -v '^ *+' conftest.er1 >conftest.err
22804   rm -f conftest.er1
22805   cat conftest.err >&5
22806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807   (exit $ac_status); } &&
22808          { ac_try='test -z "$ac_cxx_werror_flag"
22809                          || test ! -s conftest.err'
22810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811   (eval $ac_try) 2>&5
22812   ac_status=$?
22813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814   (exit $ac_status); }; } &&
22815          { ac_try='test -s conftest.$ac_objext'
22816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817   (eval $ac_try) 2>&5
22818   ac_status=$?
22819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820   (exit $ac_status); }; }; then
22821   glibcxx_cv_func_hypot_use=yes
22822 else
22823   echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.$ac_ext >&5
22825
22826 glibcxx_cv_func_hypot_use=no
22827 fi
22828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22829       ac_ext=c
22830 ac_cpp='$CPP $CPPFLAGS'
22831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22834
22835
22836 fi
22837
22838   fi
22839   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
22840 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
22841
22842   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22843
22844 for ac_func in hypot
22845 do
22846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22847 echo "$as_me:$LINENO: checking for $ac_func" >&5
22848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22849 if eval "test \"\${$as_ac_var+set}\" = set"; then
22850   echo $ECHO_N "(cached) $ECHO_C" >&6
22851 else
22852   if test x$gcc_no_link = xyes; then
22853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22855    { (exit 1); exit 1; }; }
22856 fi
22857 cat >conftest.$ac_ext <<_ACEOF
22858 /* confdefs.h.  */
22859 _ACEOF
22860 cat confdefs.h >>conftest.$ac_ext
22861 cat >>conftest.$ac_ext <<_ACEOF
22862 /* end confdefs.h.  */
22863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22865 #define $ac_func innocuous_$ac_func
22866
22867 /* System header to define __stub macros and hopefully few prototypes,
22868     which can conflict with char $ac_func (); below.
22869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22870     <limits.h> exists even on freestanding compilers.  */
22871
22872 #ifdef __STDC__
22873 # include <limits.h>
22874 #else
22875 # include <assert.h>
22876 #endif
22877
22878 #undef $ac_func
22879
22880 /* Override any gcc2 internal prototype to avoid an error.  */
22881 #ifdef __cplusplus
22882 extern "C"
22883 {
22884 #endif
22885 /* We use char because int might match the return type of a gcc2
22886    builtin and then its argument prototype would still apply.  */
22887 char $ac_func ();
22888 /* The GNU C library defines this for functions which it implements
22889     to always fail with ENOSYS.  Some functions are actually named
22890     something starting with __ and the normal name is an alias.  */
22891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22892 choke me
22893 #else
22894 char (*f) () = $ac_func;
22895 #endif
22896 #ifdef __cplusplus
22897 }
22898 #endif
22899
22900 int
22901 main ()
22902 {
22903 return f != $ac_func;
22904   ;
22905   return 0;
22906 }
22907 _ACEOF
22908 rm -f conftest.$ac_objext conftest$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910   (eval $ac_link) 2>conftest.er1
22911   ac_status=$?
22912   grep -v '^ *+' conftest.er1 >conftest.err
22913   rm -f conftest.er1
22914   cat conftest.err >&5
22915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916   (exit $ac_status); } &&
22917          { ac_try='test -z "$ac_c_werror_flag"
22918                          || test ! -s conftest.err'
22919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22920   (eval $ac_try) 2>&5
22921   ac_status=$?
22922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923   (exit $ac_status); }; } &&
22924          { ac_try='test -s conftest$ac_exeext'
22925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926   (eval $ac_try) 2>&5
22927   ac_status=$?
22928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929   (exit $ac_status); }; }; then
22930   eval "$as_ac_var=yes"
22931 else
22932   echo "$as_me: failed program was:" >&5
22933 sed 's/^/| /' conftest.$ac_ext >&5
22934
22935 eval "$as_ac_var=no"
22936 fi
22937 rm -f conftest.err conftest.$ac_objext \
22938       conftest$ac_exeext conftest.$ac_ext
22939 fi
22940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22942 if test `eval echo '${'$as_ac_var'}'` = yes; then
22943   cat >>confdefs.h <<_ACEOF
22944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22945 _ACEOF
22946
22947 fi
22948 done
22949
22950   else
22951
22952   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
22953 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
22954   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22955     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
22956   echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958
22959
22960
22961       ac_ext=cc
22962 ac_cpp='$CXXCPP $CPPFLAGS'
22963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966
22967       cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h.  */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h.  */
22973 #include <math.h>
22974 int
22975 main ()
22976 {
22977  _hypot(0, 0);
22978   ;
22979   return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext
22983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22984   (eval $ac_compile) 2>conftest.er1
22985   ac_status=$?
22986   grep -v '^ *+' conftest.er1 >conftest.err
22987   rm -f conftest.er1
22988   cat conftest.err >&5
22989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990   (exit $ac_status); } &&
22991          { ac_try='test -z "$ac_cxx_werror_flag"
22992                          || test ! -s conftest.err'
22993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994   (eval $ac_try) 2>&5
22995   ac_status=$?
22996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997   (exit $ac_status); }; } &&
22998          { ac_try='test -s conftest.$ac_objext'
22999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23000   (eval $ac_try) 2>&5
23001   ac_status=$?
23002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003   (exit $ac_status); }; }; then
23004   glibcxx_cv_func__hypot_use=yes
23005 else
23006   echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23008
23009 glibcxx_cv_func__hypot_use=no
23010 fi
23011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23012       ac_ext=c
23013 ac_cpp='$CPP $CPPFLAGS'
23014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017
23018
23019 fi
23020
23021   fi
23022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
23023 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
23024
23025     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23026
23027 for ac_func in _hypot
23028 do
23029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23030 echo "$as_me:$LINENO: checking for $ac_func" >&5
23031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23032 if eval "test \"\${$as_ac_var+set}\" = set"; then
23033   echo $ECHO_N "(cached) $ECHO_C" >&6
23034 else
23035   if test x$gcc_no_link = xyes; then
23036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23038    { (exit 1); exit 1; }; }
23039 fi
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h.  */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h.  */
23046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23048 #define $ac_func innocuous_$ac_func
23049
23050 /* System header to define __stub macros and hopefully few prototypes,
23051     which can conflict with char $ac_func (); below.
23052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23053     <limits.h> exists even on freestanding compilers.  */
23054
23055 #ifdef __STDC__
23056 # include <limits.h>
23057 #else
23058 # include <assert.h>
23059 #endif
23060
23061 #undef $ac_func
23062
23063 /* Override any gcc2 internal prototype to avoid an error.  */
23064 #ifdef __cplusplus
23065 extern "C"
23066 {
23067 #endif
23068 /* We use char because int might match the return type of a gcc2
23069    builtin and then its argument prototype would still apply.  */
23070 char $ac_func ();
23071 /* The GNU C library defines this for functions which it implements
23072     to always fail with ENOSYS.  Some functions are actually named
23073     something starting with __ and the normal name is an alias.  */
23074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23075 choke me
23076 #else
23077 char (*f) () = $ac_func;
23078 #endif
23079 #ifdef __cplusplus
23080 }
23081 #endif
23082
23083 int
23084 main ()
23085 {
23086 return f != $ac_func;
23087   ;
23088   return 0;
23089 }
23090 _ACEOF
23091 rm -f conftest.$ac_objext conftest$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093   (eval $ac_link) 2>conftest.er1
23094   ac_status=$?
23095   grep -v '^ *+' conftest.er1 >conftest.err
23096   rm -f conftest.er1
23097   cat conftest.err >&5
23098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099   (exit $ac_status); } &&
23100          { ac_try='test -z "$ac_c_werror_flag"
23101                          || test ! -s conftest.err'
23102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103   (eval $ac_try) 2>&5
23104   ac_status=$?
23105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106   (exit $ac_status); }; } &&
23107          { ac_try='test -s conftest$ac_exeext'
23108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109   (eval $ac_try) 2>&5
23110   ac_status=$?
23111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112   (exit $ac_status); }; }; then
23113   eval "$as_ac_var=yes"
23114 else
23115   echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.$ac_ext >&5
23117
23118 eval "$as_ac_var=no"
23119 fi
23120 rm -f conftest.err conftest.$ac_objext \
23121       conftest$ac_exeext conftest.$ac_ext
23122 fi
23123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23125 if test `eval echo '${'$as_ac_var'}'` = yes; then
23126   cat >>confdefs.h <<_ACEOF
23127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23128 _ACEOF
23129
23130 fi
23131 done
23132
23133     fi
23134   fi
23135
23136
23137
23138
23139
23140
23141     echo "$as_me:$LINENO: checking for float trig functions" >&5
23142 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
23143   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
23144   echo $ECHO_N "(cached) $ECHO_C" >&6
23145 else
23146
23147
23148
23149     ac_ext=cc
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154
23155     cat >conftest.$ac_ext <<_ACEOF
23156 /* confdefs.h.  */
23157 _ACEOF
23158 cat confdefs.h >>conftest.$ac_ext
23159 cat >>conftest.$ac_ext <<_ACEOF
23160 /* end confdefs.h.  */
23161 #include <math.h>
23162 int
23163 main ()
23164 {
23165 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23166   ;
23167   return 0;
23168 }
23169 _ACEOF
23170 rm -f conftest.$ac_objext
23171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23172   (eval $ac_compile) 2>conftest.er1
23173   ac_status=$?
23174   grep -v '^ *+' conftest.er1 >conftest.err
23175   rm -f conftest.er1
23176   cat conftest.err >&5
23177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178   (exit $ac_status); } &&
23179          { ac_try='test -z "$ac_cxx_werror_flag"
23180                          || test ! -s conftest.err'
23181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182   (eval $ac_try) 2>&5
23183   ac_status=$?
23184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185   (exit $ac_status); }; } &&
23186          { ac_try='test -s conftest.$ac_objext'
23187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188   (eval $ac_try) 2>&5
23189   ac_status=$?
23190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191   (exit $ac_status); }; }; then
23192   glibcxx_cv_func_float_trig_use=yes
23193 else
23194   echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23196
23197 glibcxx_cv_func_float_trig_use=no
23198 fi
23199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23200     ac_ext=c
23201 ac_cpp='$CPP $CPPFLAGS'
23202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23205
23206 fi
23207
23208   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
23209 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
23210   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23221 do
23222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23223 echo "$as_me:$LINENO: checking for $ac_func" >&5
23224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23225 if eval "test \"\${$as_ac_var+set}\" = set"; then
23226   echo $ECHO_N "(cached) $ECHO_C" >&6
23227 else
23228   if test x$gcc_no_link = xyes; then
23229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23231    { (exit 1); exit 1; }; }
23232 fi
23233 cat >conftest.$ac_ext <<_ACEOF
23234 /* confdefs.h.  */
23235 _ACEOF
23236 cat confdefs.h >>conftest.$ac_ext
23237 cat >>conftest.$ac_ext <<_ACEOF
23238 /* end confdefs.h.  */
23239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23241 #define $ac_func innocuous_$ac_func
23242
23243 /* System header to define __stub macros and hopefully few prototypes,
23244     which can conflict with char $ac_func (); below.
23245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23246     <limits.h> exists even on freestanding compilers.  */
23247
23248 #ifdef __STDC__
23249 # include <limits.h>
23250 #else
23251 # include <assert.h>
23252 #endif
23253
23254 #undef $ac_func
23255
23256 /* Override any gcc2 internal prototype to avoid an error.  */
23257 #ifdef __cplusplus
23258 extern "C"
23259 {
23260 #endif
23261 /* We use char because int might match the return type of a gcc2
23262    builtin and then its argument prototype would still apply.  */
23263 char $ac_func ();
23264 /* The GNU C library defines this for functions which it implements
23265     to always fail with ENOSYS.  Some functions are actually named
23266     something starting with __ and the normal name is an alias.  */
23267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23268 choke me
23269 #else
23270 char (*f) () = $ac_func;
23271 #endif
23272 #ifdef __cplusplus
23273 }
23274 #endif
23275
23276 int
23277 main ()
23278 {
23279 return f != $ac_func;
23280   ;
23281   return 0;
23282 }
23283 _ACEOF
23284 rm -f conftest.$ac_objext conftest$ac_exeext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23286   (eval $ac_link) 2>conftest.er1
23287   ac_status=$?
23288   grep -v '^ *+' conftest.er1 >conftest.err
23289   rm -f conftest.er1
23290   cat conftest.err >&5
23291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292   (exit $ac_status); } &&
23293          { ac_try='test -z "$ac_c_werror_flag"
23294                          || test ! -s conftest.err'
23295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296   (eval $ac_try) 2>&5
23297   ac_status=$?
23298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299   (exit $ac_status); }; } &&
23300          { ac_try='test -s conftest$ac_exeext'
23301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302   (eval $ac_try) 2>&5
23303   ac_status=$?
23304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305   (exit $ac_status); }; }; then
23306   eval "$as_ac_var=yes"
23307 else
23308   echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.$ac_ext >&5
23310
23311 eval "$as_ac_var=no"
23312 fi
23313 rm -f conftest.err conftest.$ac_objext \
23314       conftest$ac_exeext conftest.$ac_ext
23315 fi
23316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23318 if test `eval echo '${'$as_ac_var'}'` = yes; then
23319   cat >>confdefs.h <<_ACEOF
23320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23321 _ACEOF
23322
23323 fi
23324 done
23325
23326   else
23327     echo "$as_me:$LINENO: checking for _float trig functions" >&5
23328 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
23329     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
23330   echo $ECHO_N "(cached) $ECHO_C" >&6
23331 else
23332
23333
23334
23335       ac_ext=cc
23336 ac_cpp='$CXXCPP $CPPFLAGS'
23337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340
23341       cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h.  */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h.  */
23347 #include <math.h>
23348 int
23349 main ()
23350 {
23351 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23352   ;
23353   return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest.$ac_objext
23357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23358   (eval $ac_compile) 2>conftest.er1
23359   ac_status=$?
23360   grep -v '^ *+' conftest.er1 >conftest.err
23361   rm -f conftest.er1
23362   cat conftest.err >&5
23363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364   (exit $ac_status); } &&
23365          { ac_try='test -z "$ac_cxx_werror_flag"
23366                          || test ! -s conftest.err'
23367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368   (eval $ac_try) 2>&5
23369   ac_status=$?
23370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371   (exit $ac_status); }; } &&
23372          { ac_try='test -s conftest.$ac_objext'
23373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374   (eval $ac_try) 2>&5
23375   ac_status=$?
23376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377   (exit $ac_status); }; }; then
23378   glibcxx_cv_func__float_trig_use=yes
23379 else
23380   echo "$as_me: failed program was:" >&5
23381 sed 's/^/| /' conftest.$ac_ext >&5
23382
23383 glibcxx_cv_func__float_trig_use=no
23384 fi
23385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23386       ac_ext=c
23387 ac_cpp='$CPP $CPPFLAGS'
23388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23391
23392 fi
23393
23394     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
23395 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
23396     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23407 do
23408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23409 echo "$as_me:$LINENO: checking for $ac_func" >&5
23410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23411 if eval "test \"\${$as_ac_var+set}\" = set"; then
23412   echo $ECHO_N "(cached) $ECHO_C" >&6
23413 else
23414   if test x$gcc_no_link = xyes; then
23415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23417    { (exit 1); exit 1; }; }
23418 fi
23419 cat >conftest.$ac_ext <<_ACEOF
23420 /* confdefs.h.  */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h.  */
23425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23427 #define $ac_func innocuous_$ac_func
23428
23429 /* System header to define __stub macros and hopefully few prototypes,
23430     which can conflict with char $ac_func (); below.
23431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23432     <limits.h> exists even on freestanding compilers.  */
23433
23434 #ifdef __STDC__
23435 # include <limits.h>
23436 #else
23437 # include <assert.h>
23438 #endif
23439
23440 #undef $ac_func
23441
23442 /* Override any gcc2 internal prototype to avoid an error.  */
23443 #ifdef __cplusplus
23444 extern "C"
23445 {
23446 #endif
23447 /* We use char because int might match the return type of a gcc2
23448    builtin and then its argument prototype would still apply.  */
23449 char $ac_func ();
23450 /* The GNU C library defines this for functions which it implements
23451     to always fail with ENOSYS.  Some functions are actually named
23452     something starting with __ and the normal name is an alias.  */
23453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23454 choke me
23455 #else
23456 char (*f) () = $ac_func;
23457 #endif
23458 #ifdef __cplusplus
23459 }
23460 #endif
23461
23462 int
23463 main ()
23464 {
23465 return f != $ac_func;
23466   ;
23467   return 0;
23468 }
23469 _ACEOF
23470 rm -f conftest.$ac_objext conftest$ac_exeext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23472   (eval $ac_link) 2>conftest.er1
23473   ac_status=$?
23474   grep -v '^ *+' conftest.er1 >conftest.err
23475   rm -f conftest.er1
23476   cat conftest.err >&5
23477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478   (exit $ac_status); } &&
23479          { ac_try='test -z "$ac_c_werror_flag"
23480                          || test ! -s conftest.err'
23481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482   (eval $ac_try) 2>&5
23483   ac_status=$?
23484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485   (exit $ac_status); }; } &&
23486          { ac_try='test -s conftest$ac_exeext'
23487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488   (eval $ac_try) 2>&5
23489   ac_status=$?
23490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491   (exit $ac_status); }; }; then
23492   eval "$as_ac_var=yes"
23493 else
23494   echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.$ac_ext >&5
23496
23497 eval "$as_ac_var=no"
23498 fi
23499 rm -f conftest.err conftest.$ac_objext \
23500       conftest$ac_exeext conftest.$ac_ext
23501 fi
23502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23504 if test `eval echo '${'$as_ac_var'}'` = yes; then
23505   cat >>confdefs.h <<_ACEOF
23506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23507 _ACEOF
23508
23509 fi
23510 done
23511
23512     fi
23513   fi
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528     echo "$as_me:$LINENO: checking for float round functions" >&5
23529 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
23530   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
23531   echo $ECHO_N "(cached) $ECHO_C" >&6
23532 else
23533
23534
23535
23536     ac_ext=cc
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541
23542     cat >conftest.$ac_ext <<_ACEOF
23543 /* confdefs.h.  */
23544 _ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h.  */
23548 #include <math.h>
23549 int
23550 main ()
23551 {
23552 ceilf (0); floorf (0);
23553   ;
23554   return 0;
23555 }
23556 _ACEOF
23557 rm -f conftest.$ac_objext
23558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23559   (eval $ac_compile) 2>conftest.er1
23560   ac_status=$?
23561   grep -v '^ *+' conftest.er1 >conftest.err
23562   rm -f conftest.er1
23563   cat conftest.err >&5
23564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565   (exit $ac_status); } &&
23566          { ac_try='test -z "$ac_cxx_werror_flag"
23567                          || test ! -s conftest.err'
23568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569   (eval $ac_try) 2>&5
23570   ac_status=$?
23571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572   (exit $ac_status); }; } &&
23573          { ac_try='test -s conftest.$ac_objext'
23574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575   (eval $ac_try) 2>&5
23576   ac_status=$?
23577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578   (exit $ac_status); }; }; then
23579   glibcxx_cv_func_float_round_use=yes
23580 else
23581   echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 glibcxx_cv_func_float_round_use=no
23585 fi
23586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23587     ac_ext=c
23588 ac_cpp='$CPP $CPPFLAGS'
23589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592
23593 fi
23594
23595   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
23596 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
23597   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23598
23599
23600 for ac_func in ceilf floorf
23601 do
23602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23603 echo "$as_me:$LINENO: checking for $ac_func" >&5
23604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23605 if eval "test \"\${$as_ac_var+set}\" = set"; then
23606   echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608   if test x$gcc_no_link = xyes; then
23609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23611    { (exit 1); exit 1; }; }
23612 fi
23613 cat >conftest.$ac_ext <<_ACEOF
23614 /* confdefs.h.  */
23615 _ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h.  */
23619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23620    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23621 #define $ac_func innocuous_$ac_func
23622
23623 /* System header to define __stub macros and hopefully few prototypes,
23624     which can conflict with char $ac_func (); below.
23625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23626     <limits.h> exists even on freestanding compilers.  */
23627
23628 #ifdef __STDC__
23629 # include <limits.h>
23630 #else
23631 # include <assert.h>
23632 #endif
23633
23634 #undef $ac_func
23635
23636 /* Override any gcc2 internal prototype to avoid an error.  */
23637 #ifdef __cplusplus
23638 extern "C"
23639 {
23640 #endif
23641 /* We use char because int might match the return type of a gcc2
23642    builtin and then its argument prototype would still apply.  */
23643 char $ac_func ();
23644 /* The GNU C library defines this for functions which it implements
23645     to always fail with ENOSYS.  Some functions are actually named
23646     something starting with __ and the normal name is an alias.  */
23647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23648 choke me
23649 #else
23650 char (*f) () = $ac_func;
23651 #endif
23652 #ifdef __cplusplus
23653 }
23654 #endif
23655
23656 int
23657 main ()
23658 {
23659 return f != $ac_func;
23660   ;
23661   return 0;
23662 }
23663 _ACEOF
23664 rm -f conftest.$ac_objext conftest$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666   (eval $ac_link) 2>conftest.er1
23667   ac_status=$?
23668   grep -v '^ *+' conftest.er1 >conftest.err
23669   rm -f conftest.er1
23670   cat conftest.err >&5
23671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672   (exit $ac_status); } &&
23673          { ac_try='test -z "$ac_c_werror_flag"
23674                          || test ! -s conftest.err'
23675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676   (eval $ac_try) 2>&5
23677   ac_status=$?
23678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679   (exit $ac_status); }; } &&
23680          { ac_try='test -s conftest$ac_exeext'
23681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682   (eval $ac_try) 2>&5
23683   ac_status=$?
23684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685   (exit $ac_status); }; }; then
23686   eval "$as_ac_var=yes"
23687 else
23688   echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 eval "$as_ac_var=no"
23692 fi
23693 rm -f conftest.err conftest.$ac_objext \
23694       conftest$ac_exeext conftest.$ac_ext
23695 fi
23696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23698 if test `eval echo '${'$as_ac_var'}'` = yes; then
23699   cat >>confdefs.h <<_ACEOF
23700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23701 _ACEOF
23702
23703 fi
23704 done
23705
23706   else
23707     echo "$as_me:$LINENO: checking for _float round functions" >&5
23708 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
23709     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
23710   echo $ECHO_N "(cached) $ECHO_C" >&6
23711 else
23712
23713
23714
23715       ac_ext=cc
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23720
23721       cat >conftest.$ac_ext <<_ACEOF
23722 /* confdefs.h.  */
23723 _ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h.  */
23727 #include <math.h>
23728 int
23729 main ()
23730 {
23731 _ceilf (0); _floorf (0);
23732   ;
23733   return 0;
23734 }
23735 _ACEOF
23736 rm -f conftest.$ac_objext
23737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23738   (eval $ac_compile) 2>conftest.er1
23739   ac_status=$?
23740   grep -v '^ *+' conftest.er1 >conftest.err
23741   rm -f conftest.er1
23742   cat conftest.err >&5
23743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744   (exit $ac_status); } &&
23745          { ac_try='test -z "$ac_cxx_werror_flag"
23746                          || test ! -s conftest.err'
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); }; } &&
23752          { ac_try='test -s conftest.$ac_objext'
23753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23754   (eval $ac_try) 2>&5
23755   ac_status=$?
23756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757   (exit $ac_status); }; }; then
23758   glibcxx_cv_func__float_round_use=yes
23759 else
23760   echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5
23762
23763 glibcxx_cv_func__float_round_use=no
23764 fi
23765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23766       ac_ext=c
23767 ac_cpp='$CPP $CPPFLAGS'
23768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771
23772 fi
23773
23774     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
23775 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
23776     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23777
23778
23779 for ac_func in _ceilf _floorf
23780 do
23781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23782 echo "$as_me:$LINENO: checking for $ac_func" >&5
23783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23784 if eval "test \"\${$as_ac_var+set}\" = set"; then
23785   echo $ECHO_N "(cached) $ECHO_C" >&6
23786 else
23787   if test x$gcc_no_link = xyes; then
23788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23790    { (exit 1); exit 1; }; }
23791 fi
23792 cat >conftest.$ac_ext <<_ACEOF
23793 /* confdefs.h.  */
23794 _ACEOF
23795 cat confdefs.h >>conftest.$ac_ext
23796 cat >>conftest.$ac_ext <<_ACEOF
23797 /* end confdefs.h.  */
23798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23800 #define $ac_func innocuous_$ac_func
23801
23802 /* System header to define __stub macros and hopefully few prototypes,
23803     which can conflict with char $ac_func (); below.
23804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23805     <limits.h> exists even on freestanding compilers.  */
23806
23807 #ifdef __STDC__
23808 # include <limits.h>
23809 #else
23810 # include <assert.h>
23811 #endif
23812
23813 #undef $ac_func
23814
23815 /* Override any gcc2 internal prototype to avoid an error.  */
23816 #ifdef __cplusplus
23817 extern "C"
23818 {
23819 #endif
23820 /* We use char because int might match the return type of a gcc2
23821    builtin and then its argument prototype would still apply.  */
23822 char $ac_func ();
23823 /* The GNU C library defines this for functions which it implements
23824     to always fail with ENOSYS.  Some functions are actually named
23825     something starting with __ and the normal name is an alias.  */
23826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23827 choke me
23828 #else
23829 char (*f) () = $ac_func;
23830 #endif
23831 #ifdef __cplusplus
23832 }
23833 #endif
23834
23835 int
23836 main ()
23837 {
23838 return f != $ac_func;
23839   ;
23840   return 0;
23841 }
23842 _ACEOF
23843 rm -f conftest.$ac_objext conftest$ac_exeext
23844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23845   (eval $ac_link) 2>conftest.er1
23846   ac_status=$?
23847   grep -v '^ *+' conftest.er1 >conftest.err
23848   rm -f conftest.er1
23849   cat conftest.err >&5
23850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851   (exit $ac_status); } &&
23852          { ac_try='test -z "$ac_c_werror_flag"
23853                          || test ! -s conftest.err'
23854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855   (eval $ac_try) 2>&5
23856   ac_status=$?
23857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858   (exit $ac_status); }; } &&
23859          { ac_try='test -s conftest$ac_exeext'
23860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861   (eval $ac_try) 2>&5
23862   ac_status=$?
23863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864   (exit $ac_status); }; }; then
23865   eval "$as_ac_var=yes"
23866 else
23867   echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.$ac_ext >&5
23869
23870 eval "$as_ac_var=no"
23871 fi
23872 rm -f conftest.err conftest.$ac_objext \
23873       conftest$ac_exeext conftest.$ac_ext
23874 fi
23875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23877 if test `eval echo '${'$as_ac_var'}'` = yes; then
23878   cat >>confdefs.h <<_ACEOF
23879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23880 _ACEOF
23881
23882 fi
23883 done
23884
23885     fi
23886   fi
23887
23888
23889
23890
23891
23892
23893
23894
23895   echo "$as_me:$LINENO: checking for expf declaration" >&5
23896 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
23897   if test x${glibcxx_cv_func_expf_use+set} != xset; then
23898     if test "${glibcxx_cv_func_expf_use+set}" = set; then
23899   echo $ECHO_N "(cached) $ECHO_C" >&6
23900 else
23901
23902
23903
23904       ac_ext=cc
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909
23910       cat >conftest.$ac_ext <<_ACEOF
23911 /* confdefs.h.  */
23912 _ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h.  */
23916 #include <math.h>
23917                       #ifdef HAVE_IEEEFP_H
23918                       #include <ieeefp.h>
23919                       #endif
23920
23921 int
23922 main ()
23923 {
23924  expf(0);
23925   ;
23926   return 0;
23927 }
23928 _ACEOF
23929 rm -f conftest.$ac_objext
23930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23931   (eval $ac_compile) 2>conftest.er1
23932   ac_status=$?
23933   grep -v '^ *+' conftest.er1 >conftest.err
23934   rm -f conftest.er1
23935   cat conftest.err >&5
23936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937   (exit $ac_status); } &&
23938          { ac_try='test -z "$ac_cxx_werror_flag"
23939                          || test ! -s conftest.err'
23940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941   (eval $ac_try) 2>&5
23942   ac_status=$?
23943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944   (exit $ac_status); }; } &&
23945          { ac_try='test -s conftest.$ac_objext'
23946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947   (eval $ac_try) 2>&5
23948   ac_status=$?
23949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950   (exit $ac_status); }; }; then
23951   glibcxx_cv_func_expf_use=yes
23952 else
23953   echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.$ac_ext >&5
23955
23956 glibcxx_cv_func_expf_use=no
23957 fi
23958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23959       ac_ext=c
23960 ac_cpp='$CPP $CPPFLAGS'
23961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23964
23965
23966 fi
23967
23968   fi
23969   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
23970 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
23971
23972   if test x$glibcxx_cv_func_expf_use = x"yes"; then
23973
23974 for ac_func in expf
23975 do
23976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23977 echo "$as_me:$LINENO: checking for $ac_func" >&5
23978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23979 if eval "test \"\${$as_ac_var+set}\" = set"; then
23980   echo $ECHO_N "(cached) $ECHO_C" >&6
23981 else
23982   if test x$gcc_no_link = xyes; then
23983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23985    { (exit 1); exit 1; }; }
23986 fi
23987 cat >conftest.$ac_ext <<_ACEOF
23988 /* confdefs.h.  */
23989 _ACEOF
23990 cat confdefs.h >>conftest.$ac_ext
23991 cat >>conftest.$ac_ext <<_ACEOF
23992 /* end confdefs.h.  */
23993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23995 #define $ac_func innocuous_$ac_func
23996
23997 /* System header to define __stub macros and hopefully few prototypes,
23998     which can conflict with char $ac_func (); below.
23999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24000     <limits.h> exists even on freestanding compilers.  */
24001
24002 #ifdef __STDC__
24003 # include <limits.h>
24004 #else
24005 # include <assert.h>
24006 #endif
24007
24008 #undef $ac_func
24009
24010 /* Override any gcc2 internal prototype to avoid an error.  */
24011 #ifdef __cplusplus
24012 extern "C"
24013 {
24014 #endif
24015 /* We use char because int might match the return type of a gcc2
24016    builtin and then its argument prototype would still apply.  */
24017 char $ac_func ();
24018 /* The GNU C library defines this for functions which it implements
24019     to always fail with ENOSYS.  Some functions are actually named
24020     something starting with __ and the normal name is an alias.  */
24021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24022 choke me
24023 #else
24024 char (*f) () = $ac_func;
24025 #endif
24026 #ifdef __cplusplus
24027 }
24028 #endif
24029
24030 int
24031 main ()
24032 {
24033 return f != $ac_func;
24034   ;
24035   return 0;
24036 }
24037 _ACEOF
24038 rm -f conftest.$ac_objext conftest$ac_exeext
24039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24040   (eval $ac_link) 2>conftest.er1
24041   ac_status=$?
24042   grep -v '^ *+' conftest.er1 >conftest.err
24043   rm -f conftest.er1
24044   cat conftest.err >&5
24045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046   (exit $ac_status); } &&
24047          { ac_try='test -z "$ac_c_werror_flag"
24048                          || test ! -s conftest.err'
24049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24050   (eval $ac_try) 2>&5
24051   ac_status=$?
24052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053   (exit $ac_status); }; } &&
24054          { ac_try='test -s conftest$ac_exeext'
24055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056   (eval $ac_try) 2>&5
24057   ac_status=$?
24058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059   (exit $ac_status); }; }; then
24060   eval "$as_ac_var=yes"
24061 else
24062   echo "$as_me: failed program was:" >&5
24063 sed 's/^/| /' conftest.$ac_ext >&5
24064
24065 eval "$as_ac_var=no"
24066 fi
24067 rm -f conftest.err conftest.$ac_objext \
24068       conftest$ac_exeext conftest.$ac_ext
24069 fi
24070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24072 if test `eval echo '${'$as_ac_var'}'` = yes; then
24073   cat >>confdefs.h <<_ACEOF
24074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24075 _ACEOF
24076
24077 fi
24078 done
24079
24080   else
24081
24082   echo "$as_me:$LINENO: checking for _expf declaration" >&5
24083 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
24084   if test x${glibcxx_cv_func__expf_use+set} != xset; then
24085     if test "${glibcxx_cv_func__expf_use+set}" = set; then
24086   echo $ECHO_N "(cached) $ECHO_C" >&6
24087 else
24088
24089
24090
24091       ac_ext=cc
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096
24097       cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h.  */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h.  */
24103 #include <math.h>
24104                       #ifdef HAVE_IEEEFP_H
24105                       #include <ieeefp.h>
24106                       #endif
24107
24108 int
24109 main ()
24110 {
24111  _expf(0);
24112   ;
24113   return 0;
24114 }
24115 _ACEOF
24116 rm -f conftest.$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118   (eval $ac_compile) 2>conftest.er1
24119   ac_status=$?
24120   grep -v '^ *+' conftest.er1 >conftest.err
24121   rm -f conftest.er1
24122   cat conftest.err >&5
24123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124   (exit $ac_status); } &&
24125          { ac_try='test -z "$ac_cxx_werror_flag"
24126                          || test ! -s conftest.err'
24127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128   (eval $ac_try) 2>&5
24129   ac_status=$?
24130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131   (exit $ac_status); }; } &&
24132          { ac_try='test -s conftest.$ac_objext'
24133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134   (eval $ac_try) 2>&5
24135   ac_status=$?
24136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137   (exit $ac_status); }; }; then
24138   glibcxx_cv_func__expf_use=yes
24139 else
24140   echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.$ac_ext >&5
24142
24143 glibcxx_cv_func__expf_use=no
24144 fi
24145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24146       ac_ext=c
24147 ac_cpp='$CPP $CPPFLAGS'
24148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24151
24152
24153 fi
24154
24155   fi
24156   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
24157 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
24158
24159     if test x$glibcxx_cv_func__expf_use = x"yes"; then
24160
24161 for ac_func in _expf
24162 do
24163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24164 echo "$as_me:$LINENO: checking for $ac_func" >&5
24165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24166 if eval "test \"\${$as_ac_var+set}\" = set"; then
24167   echo $ECHO_N "(cached) $ECHO_C" >&6
24168 else
24169   if test x$gcc_no_link = xyes; then
24170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24172    { (exit 1); exit 1; }; }
24173 fi
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h.  */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h.  */
24180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24182 #define $ac_func innocuous_$ac_func
24183
24184 /* System header to define __stub macros and hopefully few prototypes,
24185     which can conflict with char $ac_func (); below.
24186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24187     <limits.h> exists even on freestanding compilers.  */
24188
24189 #ifdef __STDC__
24190 # include <limits.h>
24191 #else
24192 # include <assert.h>
24193 #endif
24194
24195 #undef $ac_func
24196
24197 /* Override any gcc2 internal prototype to avoid an error.  */
24198 #ifdef __cplusplus
24199 extern "C"
24200 {
24201 #endif
24202 /* We use char because int might match the return type of a gcc2
24203    builtin and then its argument prototype would still apply.  */
24204 char $ac_func ();
24205 /* The GNU C library defines this for functions which it implements
24206     to always fail with ENOSYS.  Some functions are actually named
24207     something starting with __ and the normal name is an alias.  */
24208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24209 choke me
24210 #else
24211 char (*f) () = $ac_func;
24212 #endif
24213 #ifdef __cplusplus
24214 }
24215 #endif
24216
24217 int
24218 main ()
24219 {
24220 return f != $ac_func;
24221   ;
24222   return 0;
24223 }
24224 _ACEOF
24225 rm -f conftest.$ac_objext conftest$ac_exeext
24226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24227   (eval $ac_link) 2>conftest.er1
24228   ac_status=$?
24229   grep -v '^ *+' conftest.er1 >conftest.err
24230   rm -f conftest.er1
24231   cat conftest.err >&5
24232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233   (exit $ac_status); } &&
24234          { ac_try='test -z "$ac_c_werror_flag"
24235                          || test ! -s conftest.err'
24236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24237   (eval $ac_try) 2>&5
24238   ac_status=$?
24239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240   (exit $ac_status); }; } &&
24241          { ac_try='test -s conftest$ac_exeext'
24242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243   (eval $ac_try) 2>&5
24244   ac_status=$?
24245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246   (exit $ac_status); }; }; then
24247   eval "$as_ac_var=yes"
24248 else
24249   echo "$as_me: failed program was:" >&5
24250 sed 's/^/| /' conftest.$ac_ext >&5
24251
24252 eval "$as_ac_var=no"
24253 fi
24254 rm -f conftest.err conftest.$ac_objext \
24255       conftest$ac_exeext conftest.$ac_ext
24256 fi
24257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24259 if test `eval echo '${'$as_ac_var'}'` = yes; then
24260   cat >>confdefs.h <<_ACEOF
24261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24262 _ACEOF
24263
24264 fi
24265 done
24266
24267     fi
24268   fi
24269
24270
24271
24272
24273
24274
24275   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
24276 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
24277   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24278     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
24279   echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281
24282
24283
24284       ac_ext=cc
24285 ac_cpp='$CXXCPP $CPPFLAGS'
24286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24289
24290       cat >conftest.$ac_ext <<_ACEOF
24291 /* confdefs.h.  */
24292 _ACEOF
24293 cat confdefs.h >>conftest.$ac_ext
24294 cat >>conftest.$ac_ext <<_ACEOF
24295 /* end confdefs.h.  */
24296 #include <math.h>
24297                       #ifdef HAVE_IEEEFP_H
24298                       #include <ieeefp.h>
24299                       #endif
24300
24301 int
24302 main ()
24303 {
24304  isnanf(0);
24305   ;
24306   return 0;
24307 }
24308 _ACEOF
24309 rm -f conftest.$ac_objext
24310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24311   (eval $ac_compile) 2>conftest.er1
24312   ac_status=$?
24313   grep -v '^ *+' conftest.er1 >conftest.err
24314   rm -f conftest.er1
24315   cat conftest.err >&5
24316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317   (exit $ac_status); } &&
24318          { ac_try='test -z "$ac_cxx_werror_flag"
24319                          || test ! -s conftest.err'
24320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321   (eval $ac_try) 2>&5
24322   ac_status=$?
24323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324   (exit $ac_status); }; } &&
24325          { ac_try='test -s conftest.$ac_objext'
24326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327   (eval $ac_try) 2>&5
24328   ac_status=$?
24329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330   (exit $ac_status); }; }; then
24331   glibcxx_cv_func_isnanf_use=yes
24332 else
24333   echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.$ac_ext >&5
24335
24336 glibcxx_cv_func_isnanf_use=no
24337 fi
24338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24339       ac_ext=c
24340 ac_cpp='$CPP $CPPFLAGS'
24341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24344
24345
24346 fi
24347
24348   fi
24349   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
24350 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
24351
24352   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24353
24354 for ac_func in isnanf
24355 do
24356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24357 echo "$as_me:$LINENO: checking for $ac_func" >&5
24358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24359 if eval "test \"\${$as_ac_var+set}\" = set"; then
24360   echo $ECHO_N "(cached) $ECHO_C" >&6
24361 else
24362   if test x$gcc_no_link = xyes; then
24363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24365    { (exit 1); exit 1; }; }
24366 fi
24367 cat >conftest.$ac_ext <<_ACEOF
24368 /* confdefs.h.  */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h.  */
24373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24375 #define $ac_func innocuous_$ac_func
24376
24377 /* System header to define __stub macros and hopefully few prototypes,
24378     which can conflict with char $ac_func (); below.
24379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24380     <limits.h> exists even on freestanding compilers.  */
24381
24382 #ifdef __STDC__
24383 # include <limits.h>
24384 #else
24385 # include <assert.h>
24386 #endif
24387
24388 #undef $ac_func
24389
24390 /* Override any gcc2 internal prototype to avoid an error.  */
24391 #ifdef __cplusplus
24392 extern "C"
24393 {
24394 #endif
24395 /* We use char because int might match the return type of a gcc2
24396    builtin and then its argument prototype would still apply.  */
24397 char $ac_func ();
24398 /* The GNU C library defines this for functions which it implements
24399     to always fail with ENOSYS.  Some functions are actually named
24400     something starting with __ and the normal name is an alias.  */
24401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24402 choke me
24403 #else
24404 char (*f) () = $ac_func;
24405 #endif
24406 #ifdef __cplusplus
24407 }
24408 #endif
24409
24410 int
24411 main ()
24412 {
24413 return f != $ac_func;
24414   ;
24415   return 0;
24416 }
24417 _ACEOF
24418 rm -f conftest.$ac_objext conftest$ac_exeext
24419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24420   (eval $ac_link) 2>conftest.er1
24421   ac_status=$?
24422   grep -v '^ *+' conftest.er1 >conftest.err
24423   rm -f conftest.er1
24424   cat conftest.err >&5
24425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426   (exit $ac_status); } &&
24427          { ac_try='test -z "$ac_c_werror_flag"
24428                          || test ! -s conftest.err'
24429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430   (eval $ac_try) 2>&5
24431   ac_status=$?
24432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433   (exit $ac_status); }; } &&
24434          { ac_try='test -s conftest$ac_exeext'
24435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436   (eval $ac_try) 2>&5
24437   ac_status=$?
24438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439   (exit $ac_status); }; }; then
24440   eval "$as_ac_var=yes"
24441 else
24442   echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 eval "$as_ac_var=no"
24446 fi
24447 rm -f conftest.err conftest.$ac_objext \
24448       conftest$ac_exeext conftest.$ac_ext
24449 fi
24450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24452 if test `eval echo '${'$as_ac_var'}'` = yes; then
24453   cat >>confdefs.h <<_ACEOF
24454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24455 _ACEOF
24456
24457 fi
24458 done
24459
24460   else
24461
24462   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
24463 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
24464   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24465     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
24466   echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468
24469
24470
24471       ac_ext=cc
24472 ac_cpp='$CXXCPP $CPPFLAGS'
24473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24476
24477       cat >conftest.$ac_ext <<_ACEOF
24478 /* confdefs.h.  */
24479 _ACEOF
24480 cat confdefs.h >>conftest.$ac_ext
24481 cat >>conftest.$ac_ext <<_ACEOF
24482 /* end confdefs.h.  */
24483 #include <math.h>
24484                       #ifdef HAVE_IEEEFP_H
24485                       #include <ieeefp.h>
24486                       #endif
24487
24488 int
24489 main ()
24490 {
24491  _isnanf(0);
24492   ;
24493   return 0;
24494 }
24495 _ACEOF
24496 rm -f conftest.$ac_objext
24497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24498   (eval $ac_compile) 2>conftest.er1
24499   ac_status=$?
24500   grep -v '^ *+' conftest.er1 >conftest.err
24501   rm -f conftest.er1
24502   cat conftest.err >&5
24503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504   (exit $ac_status); } &&
24505          { ac_try='test -z "$ac_cxx_werror_flag"
24506                          || test ! -s conftest.err'
24507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24508   (eval $ac_try) 2>&5
24509   ac_status=$?
24510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511   (exit $ac_status); }; } &&
24512          { ac_try='test -s conftest.$ac_objext'
24513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24514   (eval $ac_try) 2>&5
24515   ac_status=$?
24516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517   (exit $ac_status); }; }; then
24518   glibcxx_cv_func__isnanf_use=yes
24519 else
24520   echo "$as_me: failed program was:" >&5
24521 sed 's/^/| /' conftest.$ac_ext >&5
24522
24523 glibcxx_cv_func__isnanf_use=no
24524 fi
24525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24526       ac_ext=c
24527 ac_cpp='$CPP $CPPFLAGS'
24528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24531
24532
24533 fi
24534
24535   fi
24536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
24537 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
24538
24539     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24540
24541 for ac_func in _isnanf
24542 do
24543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24544 echo "$as_me:$LINENO: checking for $ac_func" >&5
24545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24546 if eval "test \"\${$as_ac_var+set}\" = set"; then
24547   echo $ECHO_N "(cached) $ECHO_C" >&6
24548 else
24549   if test x$gcc_no_link = xyes; then
24550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24552    { (exit 1); exit 1; }; }
24553 fi
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h.  */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h.  */
24560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24562 #define $ac_func innocuous_$ac_func
24563
24564 /* System header to define __stub macros and hopefully few prototypes,
24565     which can conflict with char $ac_func (); below.
24566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24567     <limits.h> exists even on freestanding compilers.  */
24568
24569 #ifdef __STDC__
24570 # include <limits.h>
24571 #else
24572 # include <assert.h>
24573 #endif
24574
24575 #undef $ac_func
24576
24577 /* Override any gcc2 internal prototype to avoid an error.  */
24578 #ifdef __cplusplus
24579 extern "C"
24580 {
24581 #endif
24582 /* We use char because int might match the return type of a gcc2
24583    builtin and then its argument prototype would still apply.  */
24584 char $ac_func ();
24585 /* The GNU C library defines this for functions which it implements
24586     to always fail with ENOSYS.  Some functions are actually named
24587     something starting with __ and the normal name is an alias.  */
24588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24589 choke me
24590 #else
24591 char (*f) () = $ac_func;
24592 #endif
24593 #ifdef __cplusplus
24594 }
24595 #endif
24596
24597 int
24598 main ()
24599 {
24600 return f != $ac_func;
24601   ;
24602   return 0;
24603 }
24604 _ACEOF
24605 rm -f conftest.$ac_objext conftest$ac_exeext
24606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24607   (eval $ac_link) 2>conftest.er1
24608   ac_status=$?
24609   grep -v '^ *+' conftest.er1 >conftest.err
24610   rm -f conftest.er1
24611   cat conftest.err >&5
24612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613   (exit $ac_status); } &&
24614          { ac_try='test -z "$ac_c_werror_flag"
24615                          || test ! -s conftest.err'
24616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617   (eval $ac_try) 2>&5
24618   ac_status=$?
24619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620   (exit $ac_status); }; } &&
24621          { ac_try='test -s conftest$ac_exeext'
24622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623   (eval $ac_try) 2>&5
24624   ac_status=$?
24625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626   (exit $ac_status); }; }; then
24627   eval "$as_ac_var=yes"
24628 else
24629   echo "$as_me: failed program was:" >&5
24630 sed 's/^/| /' conftest.$ac_ext >&5
24631
24632 eval "$as_ac_var=no"
24633 fi
24634 rm -f conftest.err conftest.$ac_objext \
24635       conftest$ac_exeext conftest.$ac_ext
24636 fi
24637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24639 if test `eval echo '${'$as_ac_var'}'` = yes; then
24640   cat >>confdefs.h <<_ACEOF
24641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24642 _ACEOF
24643
24644 fi
24645 done
24646
24647     fi
24648   fi
24649
24650
24651
24652
24653
24654
24655   echo "$as_me:$LINENO: checking for isinff declaration" >&5
24656 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
24657   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24658     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
24659   echo $ECHO_N "(cached) $ECHO_C" >&6
24660 else
24661
24662
24663
24664       ac_ext=cc
24665 ac_cpp='$CXXCPP $CPPFLAGS'
24666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669
24670       cat >conftest.$ac_ext <<_ACEOF
24671 /* confdefs.h.  */
24672 _ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h.  */
24676 #include <math.h>
24677                       #ifdef HAVE_IEEEFP_H
24678                       #include <ieeefp.h>
24679                       #endif
24680
24681 int
24682 main ()
24683 {
24684  isinff(0);
24685   ;
24686   return 0;
24687 }
24688 _ACEOF
24689 rm -f conftest.$ac_objext
24690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24691   (eval $ac_compile) 2>conftest.er1
24692   ac_status=$?
24693   grep -v '^ *+' conftest.er1 >conftest.err
24694   rm -f conftest.er1
24695   cat conftest.err >&5
24696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697   (exit $ac_status); } &&
24698          { ac_try='test -z "$ac_cxx_werror_flag"
24699                          || test ! -s conftest.err'
24700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24701   (eval $ac_try) 2>&5
24702   ac_status=$?
24703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704   (exit $ac_status); }; } &&
24705          { ac_try='test -s conftest.$ac_objext'
24706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707   (eval $ac_try) 2>&5
24708   ac_status=$?
24709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710   (exit $ac_status); }; }; then
24711   glibcxx_cv_func_isinff_use=yes
24712 else
24713   echo "$as_me: failed program was:" >&5
24714 sed 's/^/| /' conftest.$ac_ext >&5
24715
24716 glibcxx_cv_func_isinff_use=no
24717 fi
24718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24719       ac_ext=c
24720 ac_cpp='$CPP $CPPFLAGS'
24721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24724
24725
24726 fi
24727
24728   fi
24729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
24730 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
24731
24732   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24733
24734 for ac_func in isinff
24735 do
24736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24737 echo "$as_me:$LINENO: checking for $ac_func" >&5
24738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24739 if eval "test \"\${$as_ac_var+set}\" = set"; then
24740   echo $ECHO_N "(cached) $ECHO_C" >&6
24741 else
24742   if test x$gcc_no_link = xyes; then
24743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24745    { (exit 1); exit 1; }; }
24746 fi
24747 cat >conftest.$ac_ext <<_ACEOF
24748 /* confdefs.h.  */
24749 _ACEOF
24750 cat confdefs.h >>conftest.$ac_ext
24751 cat >>conftest.$ac_ext <<_ACEOF
24752 /* end confdefs.h.  */
24753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24755 #define $ac_func innocuous_$ac_func
24756
24757 /* System header to define __stub macros and hopefully few prototypes,
24758     which can conflict with char $ac_func (); below.
24759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24760     <limits.h> exists even on freestanding compilers.  */
24761
24762 #ifdef __STDC__
24763 # include <limits.h>
24764 #else
24765 # include <assert.h>
24766 #endif
24767
24768 #undef $ac_func
24769
24770 /* Override any gcc2 internal prototype to avoid an error.  */
24771 #ifdef __cplusplus
24772 extern "C"
24773 {
24774 #endif
24775 /* We use char because int might match the return type of a gcc2
24776    builtin and then its argument prototype would still apply.  */
24777 char $ac_func ();
24778 /* The GNU C library defines this for functions which it implements
24779     to always fail with ENOSYS.  Some functions are actually named
24780     something starting with __ and the normal name is an alias.  */
24781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24782 choke me
24783 #else
24784 char (*f) () = $ac_func;
24785 #endif
24786 #ifdef __cplusplus
24787 }
24788 #endif
24789
24790 int
24791 main ()
24792 {
24793 return f != $ac_func;
24794   ;
24795   return 0;
24796 }
24797 _ACEOF
24798 rm -f conftest.$ac_objext conftest$ac_exeext
24799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24800   (eval $ac_link) 2>conftest.er1
24801   ac_status=$?
24802   grep -v '^ *+' conftest.er1 >conftest.err
24803   rm -f conftest.er1
24804   cat conftest.err >&5
24805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806   (exit $ac_status); } &&
24807          { ac_try='test -z "$ac_c_werror_flag"
24808                          || test ! -s conftest.err'
24809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810   (eval $ac_try) 2>&5
24811   ac_status=$?
24812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813   (exit $ac_status); }; } &&
24814          { ac_try='test -s conftest$ac_exeext'
24815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816   (eval $ac_try) 2>&5
24817   ac_status=$?
24818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819   (exit $ac_status); }; }; then
24820   eval "$as_ac_var=yes"
24821 else
24822   echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24824
24825 eval "$as_ac_var=no"
24826 fi
24827 rm -f conftest.err conftest.$ac_objext \
24828       conftest$ac_exeext conftest.$ac_ext
24829 fi
24830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24832 if test `eval echo '${'$as_ac_var'}'` = yes; then
24833   cat >>confdefs.h <<_ACEOF
24834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24835 _ACEOF
24836
24837 fi
24838 done
24839
24840   else
24841
24842   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
24843 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
24844   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24845     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
24846   echo $ECHO_N "(cached) $ECHO_C" >&6
24847 else
24848
24849
24850
24851       ac_ext=cc
24852 ac_cpp='$CXXCPP $CPPFLAGS'
24853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24856
24857       cat >conftest.$ac_ext <<_ACEOF
24858 /* confdefs.h.  */
24859 _ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h.  */
24863 #include <math.h>
24864                       #ifdef HAVE_IEEEFP_H
24865                       #include <ieeefp.h>
24866                       #endif
24867
24868 int
24869 main ()
24870 {
24871  _isinff(0);
24872   ;
24873   return 0;
24874 }
24875 _ACEOF
24876 rm -f conftest.$ac_objext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24878   (eval $ac_compile) 2>conftest.er1
24879   ac_status=$?
24880   grep -v '^ *+' conftest.er1 >conftest.err
24881   rm -f conftest.er1
24882   cat conftest.err >&5
24883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884   (exit $ac_status); } &&
24885          { ac_try='test -z "$ac_cxx_werror_flag"
24886                          || test ! -s conftest.err'
24887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888   (eval $ac_try) 2>&5
24889   ac_status=$?
24890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891   (exit $ac_status); }; } &&
24892          { ac_try='test -s conftest.$ac_objext'
24893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894   (eval $ac_try) 2>&5
24895   ac_status=$?
24896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897   (exit $ac_status); }; }; then
24898   glibcxx_cv_func__isinff_use=yes
24899 else
24900   echo "$as_me: failed program was:" >&5
24901 sed 's/^/| /' conftest.$ac_ext >&5
24902
24903 glibcxx_cv_func__isinff_use=no
24904 fi
24905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24906       ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24911
24912
24913 fi
24914
24915   fi
24916   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
24917 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
24918
24919     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24920
24921 for ac_func in _isinff
24922 do
24923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24924 echo "$as_me:$LINENO: checking for $ac_func" >&5
24925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24926 if eval "test \"\${$as_ac_var+set}\" = set"; then
24927   echo $ECHO_N "(cached) $ECHO_C" >&6
24928 else
24929   if test x$gcc_no_link = xyes; then
24930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24932    { (exit 1); exit 1; }; }
24933 fi
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h.  */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h.  */
24940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24942 #define $ac_func innocuous_$ac_func
24943
24944 /* System header to define __stub macros and hopefully few prototypes,
24945     which can conflict with char $ac_func (); below.
24946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24947     <limits.h> exists even on freestanding compilers.  */
24948
24949 #ifdef __STDC__
24950 # include <limits.h>
24951 #else
24952 # include <assert.h>
24953 #endif
24954
24955 #undef $ac_func
24956
24957 /* Override any gcc2 internal prototype to avoid an error.  */
24958 #ifdef __cplusplus
24959 extern "C"
24960 {
24961 #endif
24962 /* We use char because int might match the return type of a gcc2
24963    builtin and then its argument prototype would still apply.  */
24964 char $ac_func ();
24965 /* The GNU C library defines this for functions which it implements
24966     to always fail with ENOSYS.  Some functions are actually named
24967     something starting with __ and the normal name is an alias.  */
24968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24969 choke me
24970 #else
24971 char (*f) () = $ac_func;
24972 #endif
24973 #ifdef __cplusplus
24974 }
24975 #endif
24976
24977 int
24978 main ()
24979 {
24980 return f != $ac_func;
24981   ;
24982   return 0;
24983 }
24984 _ACEOF
24985 rm -f conftest.$ac_objext conftest$ac_exeext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24987   (eval $ac_link) 2>conftest.er1
24988   ac_status=$?
24989   grep -v '^ *+' conftest.er1 >conftest.err
24990   rm -f conftest.er1
24991   cat conftest.err >&5
24992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993   (exit $ac_status); } &&
24994          { ac_try='test -z "$ac_c_werror_flag"
24995                          || test ! -s conftest.err'
24996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997   (eval $ac_try) 2>&5
24998   ac_status=$?
24999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000   (exit $ac_status); }; } &&
25001          { ac_try='test -s conftest$ac_exeext'
25002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003   (eval $ac_try) 2>&5
25004   ac_status=$?
25005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006   (exit $ac_status); }; }; then
25007   eval "$as_ac_var=yes"
25008 else
25009   echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 eval "$as_ac_var=no"
25013 fi
25014 rm -f conftest.err conftest.$ac_objext \
25015       conftest$ac_exeext conftest.$ac_ext
25016 fi
25017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25019 if test `eval echo '${'$as_ac_var'}'` = yes; then
25020   cat >>confdefs.h <<_ACEOF
25021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25022 _ACEOF
25023
25024 fi
25025 done
25026
25027     fi
25028   fi
25029
25030
25031
25032
25033
25034
25035   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
25036 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
25037   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
25038     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
25039   echo $ECHO_N "(cached) $ECHO_C" >&6
25040 else
25041
25042
25043
25044       ac_ext=cc
25045 ac_cpp='$CXXCPP $CPPFLAGS'
25046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25049
25050       cat >conftest.$ac_ext <<_ACEOF
25051 /* confdefs.h.  */
25052 _ACEOF
25053 cat confdefs.h >>conftest.$ac_ext
25054 cat >>conftest.$ac_ext <<_ACEOF
25055 /* end confdefs.h.  */
25056 #include <math.h>
25057 int
25058 main ()
25059 {
25060  atan2f(0, 0);
25061   ;
25062   return 0;
25063 }
25064 _ACEOF
25065 rm -f conftest.$ac_objext
25066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25067   (eval $ac_compile) 2>conftest.er1
25068   ac_status=$?
25069   grep -v '^ *+' conftest.er1 >conftest.err
25070   rm -f conftest.er1
25071   cat conftest.err >&5
25072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073   (exit $ac_status); } &&
25074          { ac_try='test -z "$ac_cxx_werror_flag"
25075                          || test ! -s conftest.err'
25076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077   (eval $ac_try) 2>&5
25078   ac_status=$?
25079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080   (exit $ac_status); }; } &&
25081          { ac_try='test -s conftest.$ac_objext'
25082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25083   (eval $ac_try) 2>&5
25084   ac_status=$?
25085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086   (exit $ac_status); }; }; then
25087   glibcxx_cv_func_atan2f_use=yes
25088 else
25089   echo "$as_me: failed program was:" >&5
25090 sed 's/^/| /' conftest.$ac_ext >&5
25091
25092 glibcxx_cv_func_atan2f_use=no
25093 fi
25094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25095       ac_ext=c
25096 ac_cpp='$CPP $CPPFLAGS'
25097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25100
25101
25102 fi
25103
25104   fi
25105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
25106 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
25107
25108   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
25109
25110 for ac_func in atan2f
25111 do
25112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25113 echo "$as_me:$LINENO: checking for $ac_func" >&5
25114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25115 if eval "test \"\${$as_ac_var+set}\" = set"; then
25116   echo $ECHO_N "(cached) $ECHO_C" >&6
25117 else
25118   if test x$gcc_no_link = xyes; then
25119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25121    { (exit 1); exit 1; }; }
25122 fi
25123 cat >conftest.$ac_ext <<_ACEOF
25124 /* confdefs.h.  */
25125 _ACEOF
25126 cat confdefs.h >>conftest.$ac_ext
25127 cat >>conftest.$ac_ext <<_ACEOF
25128 /* end confdefs.h.  */
25129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25131 #define $ac_func innocuous_$ac_func
25132
25133 /* System header to define __stub macros and hopefully few prototypes,
25134     which can conflict with char $ac_func (); below.
25135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25136     <limits.h> exists even on freestanding compilers.  */
25137
25138 #ifdef __STDC__
25139 # include <limits.h>
25140 #else
25141 # include <assert.h>
25142 #endif
25143
25144 #undef $ac_func
25145
25146 /* Override any gcc2 internal prototype to avoid an error.  */
25147 #ifdef __cplusplus
25148 extern "C"
25149 {
25150 #endif
25151 /* We use char because int might match the return type of a gcc2
25152    builtin and then its argument prototype would still apply.  */
25153 char $ac_func ();
25154 /* The GNU C library defines this for functions which it implements
25155     to always fail with ENOSYS.  Some functions are actually named
25156     something starting with __ and the normal name is an alias.  */
25157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25158 choke me
25159 #else
25160 char (*f) () = $ac_func;
25161 #endif
25162 #ifdef __cplusplus
25163 }
25164 #endif
25165
25166 int
25167 main ()
25168 {
25169 return f != $ac_func;
25170   ;
25171   return 0;
25172 }
25173 _ACEOF
25174 rm -f conftest.$ac_objext conftest$ac_exeext
25175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25176   (eval $ac_link) 2>conftest.er1
25177   ac_status=$?
25178   grep -v '^ *+' conftest.er1 >conftest.err
25179   rm -f conftest.er1
25180   cat conftest.err >&5
25181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182   (exit $ac_status); } &&
25183          { ac_try='test -z "$ac_c_werror_flag"
25184                          || test ! -s conftest.err'
25185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186   (eval $ac_try) 2>&5
25187   ac_status=$?
25188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189   (exit $ac_status); }; } &&
25190          { ac_try='test -s conftest$ac_exeext'
25191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192   (eval $ac_try) 2>&5
25193   ac_status=$?
25194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195   (exit $ac_status); }; }; then
25196   eval "$as_ac_var=yes"
25197 else
25198   echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.$ac_ext >&5
25200
25201 eval "$as_ac_var=no"
25202 fi
25203 rm -f conftest.err conftest.$ac_objext \
25204       conftest$ac_exeext conftest.$ac_ext
25205 fi
25206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25208 if test `eval echo '${'$as_ac_var'}'` = yes; then
25209   cat >>confdefs.h <<_ACEOF
25210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25211 _ACEOF
25212
25213 fi
25214 done
25215
25216   else
25217
25218   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
25219 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
25220   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
25221     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
25222   echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224
25225
25226
25227       ac_ext=cc
25228 ac_cpp='$CXXCPP $CPPFLAGS'
25229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25232
25233       cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h.  */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h.  */
25239 #include <math.h>
25240 int
25241 main ()
25242 {
25243  _atan2f(0, 0);
25244   ;
25245   return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25250   (eval $ac_compile) 2>conftest.er1
25251   ac_status=$?
25252   grep -v '^ *+' conftest.er1 >conftest.err
25253   rm -f conftest.er1
25254   cat conftest.err >&5
25255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256   (exit $ac_status); } &&
25257          { ac_try='test -z "$ac_cxx_werror_flag"
25258                          || test ! -s conftest.err'
25259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25260   (eval $ac_try) 2>&5
25261   ac_status=$?
25262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263   (exit $ac_status); }; } &&
25264          { ac_try='test -s conftest.$ac_objext'
25265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25266   (eval $ac_try) 2>&5
25267   ac_status=$?
25268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269   (exit $ac_status); }; }; then
25270   glibcxx_cv_func__atan2f_use=yes
25271 else
25272   echo "$as_me: failed program was:" >&5
25273 sed 's/^/| /' conftest.$ac_ext >&5
25274
25275 glibcxx_cv_func__atan2f_use=no
25276 fi
25277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25278       ac_ext=c
25279 ac_cpp='$CPP $CPPFLAGS'
25280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25283
25284
25285 fi
25286
25287   fi
25288   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
25289 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
25290
25291     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
25292
25293 for ac_func in _atan2f
25294 do
25295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25296 echo "$as_me:$LINENO: checking for $ac_func" >&5
25297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25298 if eval "test \"\${$as_ac_var+set}\" = set"; then
25299   echo $ECHO_N "(cached) $ECHO_C" >&6
25300 else
25301   if test x$gcc_no_link = xyes; then
25302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25304    { (exit 1); exit 1; }; }
25305 fi
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h.  */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h.  */
25312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25314 #define $ac_func innocuous_$ac_func
25315
25316 /* System header to define __stub macros and hopefully few prototypes,
25317     which can conflict with char $ac_func (); below.
25318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25319     <limits.h> exists even on freestanding compilers.  */
25320
25321 #ifdef __STDC__
25322 # include <limits.h>
25323 #else
25324 # include <assert.h>
25325 #endif
25326
25327 #undef $ac_func
25328
25329 /* Override any gcc2 internal prototype to avoid an error.  */
25330 #ifdef __cplusplus
25331 extern "C"
25332 {
25333 #endif
25334 /* We use char because int might match the return type of a gcc2
25335    builtin and then its argument prototype would still apply.  */
25336 char $ac_func ();
25337 /* The GNU C library defines this for functions which it implements
25338     to always fail with ENOSYS.  Some functions are actually named
25339     something starting with __ and the normal name is an alias.  */
25340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25341 choke me
25342 #else
25343 char (*f) () = $ac_func;
25344 #endif
25345 #ifdef __cplusplus
25346 }
25347 #endif
25348
25349 int
25350 main ()
25351 {
25352 return f != $ac_func;
25353   ;
25354   return 0;
25355 }
25356 _ACEOF
25357 rm -f conftest.$ac_objext conftest$ac_exeext
25358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25359   (eval $ac_link) 2>conftest.er1
25360   ac_status=$?
25361   grep -v '^ *+' conftest.er1 >conftest.err
25362   rm -f conftest.er1
25363   cat conftest.err >&5
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); } &&
25366          { ac_try='test -z "$ac_c_werror_flag"
25367                          || test ! -s conftest.err'
25368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25369   (eval $ac_try) 2>&5
25370   ac_status=$?
25371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372   (exit $ac_status); }; } &&
25373          { ac_try='test -s conftest$ac_exeext'
25374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375   (eval $ac_try) 2>&5
25376   ac_status=$?
25377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378   (exit $ac_status); }; }; then
25379   eval "$as_ac_var=yes"
25380 else
25381   echo "$as_me: failed program was:" >&5
25382 sed 's/^/| /' conftest.$ac_ext >&5
25383
25384 eval "$as_ac_var=no"
25385 fi
25386 rm -f conftest.err conftest.$ac_objext \
25387       conftest$ac_exeext conftest.$ac_ext
25388 fi
25389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25391 if test `eval echo '${'$as_ac_var'}'` = yes; then
25392   cat >>confdefs.h <<_ACEOF
25393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25394 _ACEOF
25395
25396 fi
25397 done
25398
25399     fi
25400   fi
25401
25402
25403
25404
25405
25406
25407   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
25408 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
25409   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
25410     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
25411   echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413
25414
25415
25416       ac_ext=cc
25417 ac_cpp='$CXXCPP $CPPFLAGS'
25418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25421
25422       cat >conftest.$ac_ext <<_ACEOF
25423 /* confdefs.h.  */
25424 _ACEOF
25425 cat confdefs.h >>conftest.$ac_ext
25426 cat >>conftest.$ac_ext <<_ACEOF
25427 /* end confdefs.h.  */
25428 #include <math.h>
25429                       #ifdef HAVE_IEEEFP_H
25430                       #include <ieeefp.h>
25431                       #endif
25432
25433 int
25434 main ()
25435 {
25436  fabsf(0);
25437   ;
25438   return 0;
25439 }
25440 _ACEOF
25441 rm -f conftest.$ac_objext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25443   (eval $ac_compile) 2>conftest.er1
25444   ac_status=$?
25445   grep -v '^ *+' conftest.er1 >conftest.err
25446   rm -f conftest.er1
25447   cat conftest.err >&5
25448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449   (exit $ac_status); } &&
25450          { ac_try='test -z "$ac_cxx_werror_flag"
25451                          || test ! -s conftest.err'
25452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453   (eval $ac_try) 2>&5
25454   ac_status=$?
25455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456   (exit $ac_status); }; } &&
25457          { ac_try='test -s conftest.$ac_objext'
25458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459   (eval $ac_try) 2>&5
25460   ac_status=$?
25461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462   (exit $ac_status); }; }; then
25463   glibcxx_cv_func_fabsf_use=yes
25464 else
25465   echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25467
25468 glibcxx_cv_func_fabsf_use=no
25469 fi
25470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25471       ac_ext=c
25472 ac_cpp='$CPP $CPPFLAGS'
25473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25476
25477
25478 fi
25479
25480   fi
25481   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
25482 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
25483
25484   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
25485
25486 for ac_func in fabsf
25487 do
25488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25489 echo "$as_me:$LINENO: checking for $ac_func" >&5
25490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25491 if eval "test \"\${$as_ac_var+set}\" = set"; then
25492   echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25494   if test x$gcc_no_link = xyes; then
25495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25497    { (exit 1); exit 1; }; }
25498 fi
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h.  */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h.  */
25505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25507 #define $ac_func innocuous_$ac_func
25508
25509 /* System header to define __stub macros and hopefully few prototypes,
25510     which can conflict with char $ac_func (); below.
25511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25512     <limits.h> exists even on freestanding compilers.  */
25513
25514 #ifdef __STDC__
25515 # include <limits.h>
25516 #else
25517 # include <assert.h>
25518 #endif
25519
25520 #undef $ac_func
25521
25522 /* Override any gcc2 internal prototype to avoid an error.  */
25523 #ifdef __cplusplus
25524 extern "C"
25525 {
25526 #endif
25527 /* We use char because int might match the return type of a gcc2
25528    builtin and then its argument prototype would still apply.  */
25529 char $ac_func ();
25530 /* The GNU C library defines this for functions which it implements
25531     to always fail with ENOSYS.  Some functions are actually named
25532     something starting with __ and the normal name is an alias.  */
25533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25534 choke me
25535 #else
25536 char (*f) () = $ac_func;
25537 #endif
25538 #ifdef __cplusplus
25539 }
25540 #endif
25541
25542 int
25543 main ()
25544 {
25545 return f != $ac_func;
25546   ;
25547   return 0;
25548 }
25549 _ACEOF
25550 rm -f conftest.$ac_objext conftest$ac_exeext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25552   (eval $ac_link) 2>conftest.er1
25553   ac_status=$?
25554   grep -v '^ *+' conftest.er1 >conftest.err
25555   rm -f conftest.er1
25556   cat conftest.err >&5
25557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558   (exit $ac_status); } &&
25559          { ac_try='test -z "$ac_c_werror_flag"
25560                          || test ! -s conftest.err'
25561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562   (eval $ac_try) 2>&5
25563   ac_status=$?
25564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565   (exit $ac_status); }; } &&
25566          { ac_try='test -s conftest$ac_exeext'
25567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25568   (eval $ac_try) 2>&5
25569   ac_status=$?
25570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571   (exit $ac_status); }; }; then
25572   eval "$as_ac_var=yes"
25573 else
25574   echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.$ac_ext >&5
25576
25577 eval "$as_ac_var=no"
25578 fi
25579 rm -f conftest.err conftest.$ac_objext \
25580       conftest$ac_exeext conftest.$ac_ext
25581 fi
25582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25584 if test `eval echo '${'$as_ac_var'}'` = yes; then
25585   cat >>confdefs.h <<_ACEOF
25586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25587 _ACEOF
25588
25589 fi
25590 done
25591
25592   else
25593
25594   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
25595 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
25596   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
25597     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
25598   echo $ECHO_N "(cached) $ECHO_C" >&6
25599 else
25600
25601
25602
25603       ac_ext=cc
25604 ac_cpp='$CXXCPP $CPPFLAGS'
25605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25608
25609       cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h.  */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h.  */
25615 #include <math.h>
25616                       #ifdef HAVE_IEEEFP_H
25617                       #include <ieeefp.h>
25618                       #endif
25619
25620 int
25621 main ()
25622 {
25623  _fabsf(0);
25624   ;
25625   return 0;
25626 }
25627 _ACEOF
25628 rm -f conftest.$ac_objext
25629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25630   (eval $ac_compile) 2>conftest.er1
25631   ac_status=$?
25632   grep -v '^ *+' conftest.er1 >conftest.err
25633   rm -f conftest.er1
25634   cat conftest.err >&5
25635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636   (exit $ac_status); } &&
25637          { ac_try='test -z "$ac_cxx_werror_flag"
25638                          || test ! -s conftest.err'
25639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640   (eval $ac_try) 2>&5
25641   ac_status=$?
25642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643   (exit $ac_status); }; } &&
25644          { ac_try='test -s conftest.$ac_objext'
25645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646   (eval $ac_try) 2>&5
25647   ac_status=$?
25648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649   (exit $ac_status); }; }; then
25650   glibcxx_cv_func__fabsf_use=yes
25651 else
25652   echo "$as_me: failed program was:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25654
25655 glibcxx_cv_func__fabsf_use=no
25656 fi
25657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25658       ac_ext=c
25659 ac_cpp='$CPP $CPPFLAGS'
25660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25663
25664
25665 fi
25666
25667   fi
25668   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
25669 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
25670
25671     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
25672
25673 for ac_func in _fabsf
25674 do
25675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25676 echo "$as_me:$LINENO: checking for $ac_func" >&5
25677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25678 if eval "test \"\${$as_ac_var+set}\" = set"; then
25679   echo $ECHO_N "(cached) $ECHO_C" >&6
25680 else
25681   if test x$gcc_no_link = xyes; then
25682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25684    { (exit 1); exit 1; }; }
25685 fi
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h.  */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h.  */
25692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25694 #define $ac_func innocuous_$ac_func
25695
25696 /* System header to define __stub macros and hopefully few prototypes,
25697     which can conflict with char $ac_func (); below.
25698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25699     <limits.h> exists even on freestanding compilers.  */
25700
25701 #ifdef __STDC__
25702 # include <limits.h>
25703 #else
25704 # include <assert.h>
25705 #endif
25706
25707 #undef $ac_func
25708
25709 /* Override any gcc2 internal prototype to avoid an error.  */
25710 #ifdef __cplusplus
25711 extern "C"
25712 {
25713 #endif
25714 /* We use char because int might match the return type of a gcc2
25715    builtin and then its argument prototype would still apply.  */
25716 char $ac_func ();
25717 /* The GNU C library defines this for functions which it implements
25718     to always fail with ENOSYS.  Some functions are actually named
25719     something starting with __ and the normal name is an alias.  */
25720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25721 choke me
25722 #else
25723 char (*f) () = $ac_func;
25724 #endif
25725 #ifdef __cplusplus
25726 }
25727 #endif
25728
25729 int
25730 main ()
25731 {
25732 return f != $ac_func;
25733   ;
25734   return 0;
25735 }
25736 _ACEOF
25737 rm -f conftest.$ac_objext conftest$ac_exeext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25739   (eval $ac_link) 2>conftest.er1
25740   ac_status=$?
25741   grep -v '^ *+' conftest.er1 >conftest.err
25742   rm -f conftest.er1
25743   cat conftest.err >&5
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); } &&
25746          { ac_try='test -z "$ac_c_werror_flag"
25747                          || test ! -s conftest.err'
25748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749   (eval $ac_try) 2>&5
25750   ac_status=$?
25751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752   (exit $ac_status); }; } &&
25753          { ac_try='test -s conftest$ac_exeext'
25754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755   (eval $ac_try) 2>&5
25756   ac_status=$?
25757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758   (exit $ac_status); }; }; then
25759   eval "$as_ac_var=yes"
25760 else
25761   echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 eval "$as_ac_var=no"
25765 fi
25766 rm -f conftest.err conftest.$ac_objext \
25767       conftest$ac_exeext conftest.$ac_ext
25768 fi
25769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25771 if test `eval echo '${'$as_ac_var'}'` = yes; then
25772   cat >>confdefs.h <<_ACEOF
25773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25774 _ACEOF
25775
25776 fi
25777 done
25778
25779     fi
25780   fi
25781
25782
25783
25784
25785
25786
25787   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
25788 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
25789   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
25790     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
25791   echo $ECHO_N "(cached) $ECHO_C" >&6
25792 else
25793
25794
25795
25796       ac_ext=cc
25797 ac_cpp='$CXXCPP $CPPFLAGS'
25798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25801
25802       cat >conftest.$ac_ext <<_ACEOF
25803 /* confdefs.h.  */
25804 _ACEOF
25805 cat confdefs.h >>conftest.$ac_ext
25806 cat >>conftest.$ac_ext <<_ACEOF
25807 /* end confdefs.h.  */
25808 #include <math.h>
25809 int
25810 main ()
25811 {
25812  fmodf(0, 0);
25813   ;
25814   return 0;
25815 }
25816 _ACEOF
25817 rm -f conftest.$ac_objext
25818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25819   (eval $ac_compile) 2>conftest.er1
25820   ac_status=$?
25821   grep -v '^ *+' conftest.er1 >conftest.err
25822   rm -f conftest.er1
25823   cat conftest.err >&5
25824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825   (exit $ac_status); } &&
25826          { ac_try='test -z "$ac_cxx_werror_flag"
25827                          || test ! -s conftest.err'
25828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829   (eval $ac_try) 2>&5
25830   ac_status=$?
25831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832   (exit $ac_status); }; } &&
25833          { ac_try='test -s conftest.$ac_objext'
25834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835   (eval $ac_try) 2>&5
25836   ac_status=$?
25837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838   (exit $ac_status); }; }; then
25839   glibcxx_cv_func_fmodf_use=yes
25840 else
25841   echo "$as_me: failed program was:" >&5
25842 sed 's/^/| /' conftest.$ac_ext >&5
25843
25844 glibcxx_cv_func_fmodf_use=no
25845 fi
25846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25847       ac_ext=c
25848 ac_cpp='$CPP $CPPFLAGS'
25849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25852
25853
25854 fi
25855
25856   fi
25857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
25858 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
25859
25860   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
25861
25862 for ac_func in fmodf
25863 do
25864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25865 echo "$as_me:$LINENO: checking for $ac_func" >&5
25866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25867 if eval "test \"\${$as_ac_var+set}\" = set"; then
25868   echo $ECHO_N "(cached) $ECHO_C" >&6
25869 else
25870   if test x$gcc_no_link = xyes; then
25871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25873    { (exit 1); exit 1; }; }
25874 fi
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h.  */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h.  */
25881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25883 #define $ac_func innocuous_$ac_func
25884
25885 /* System header to define __stub macros and hopefully few prototypes,
25886     which can conflict with char $ac_func (); below.
25887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25888     <limits.h> exists even on freestanding compilers.  */
25889
25890 #ifdef __STDC__
25891 # include <limits.h>
25892 #else
25893 # include <assert.h>
25894 #endif
25895
25896 #undef $ac_func
25897
25898 /* Override any gcc2 internal prototype to avoid an error.  */
25899 #ifdef __cplusplus
25900 extern "C"
25901 {
25902 #endif
25903 /* We use char because int might match the return type of a gcc2
25904    builtin and then its argument prototype would still apply.  */
25905 char $ac_func ();
25906 /* The GNU C library defines this for functions which it implements
25907     to always fail with ENOSYS.  Some functions are actually named
25908     something starting with __ and the normal name is an alias.  */
25909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25910 choke me
25911 #else
25912 char (*f) () = $ac_func;
25913 #endif
25914 #ifdef __cplusplus
25915 }
25916 #endif
25917
25918 int
25919 main ()
25920 {
25921 return f != $ac_func;
25922   ;
25923   return 0;
25924 }
25925 _ACEOF
25926 rm -f conftest.$ac_objext conftest$ac_exeext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25928   (eval $ac_link) 2>conftest.er1
25929   ac_status=$?
25930   grep -v '^ *+' conftest.er1 >conftest.err
25931   rm -f conftest.er1
25932   cat conftest.err >&5
25933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934   (exit $ac_status); } &&
25935          { ac_try='test -z "$ac_c_werror_flag"
25936                          || test ! -s conftest.err'
25937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938   (eval $ac_try) 2>&5
25939   ac_status=$?
25940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941   (exit $ac_status); }; } &&
25942          { ac_try='test -s conftest$ac_exeext'
25943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944   (eval $ac_try) 2>&5
25945   ac_status=$?
25946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947   (exit $ac_status); }; }; then
25948   eval "$as_ac_var=yes"
25949 else
25950   echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 eval "$as_ac_var=no"
25954 fi
25955 rm -f conftest.err conftest.$ac_objext \
25956       conftest$ac_exeext conftest.$ac_ext
25957 fi
25958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25960 if test `eval echo '${'$as_ac_var'}'` = yes; then
25961   cat >>confdefs.h <<_ACEOF
25962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25963 _ACEOF
25964
25965 fi
25966 done
25967
25968   else
25969
25970   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
25971 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
25972   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
25973     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
25974   echo $ECHO_N "(cached) $ECHO_C" >&6
25975 else
25976
25977
25978
25979       ac_ext=cc
25980 ac_cpp='$CXXCPP $CPPFLAGS'
25981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25984
25985       cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h.  */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h.  */
25991 #include <math.h>
25992 int
25993 main ()
25994 {
25995  _fmodf(0, 0);
25996   ;
25997   return 0;
25998 }
25999 _ACEOF
26000 rm -f conftest.$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002   (eval $ac_compile) 2>conftest.er1
26003   ac_status=$?
26004   grep -v '^ *+' conftest.er1 >conftest.err
26005   rm -f conftest.er1
26006   cat conftest.err >&5
26007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008   (exit $ac_status); } &&
26009          { ac_try='test -z "$ac_cxx_werror_flag"
26010                          || test ! -s conftest.err'
26011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012   (eval $ac_try) 2>&5
26013   ac_status=$?
26014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015   (exit $ac_status); }; } &&
26016          { ac_try='test -s conftest.$ac_objext'
26017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018   (eval $ac_try) 2>&5
26019   ac_status=$?
26020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021   (exit $ac_status); }; }; then
26022   glibcxx_cv_func__fmodf_use=yes
26023 else
26024   echo "$as_me: failed program was:" >&5
26025 sed 's/^/| /' conftest.$ac_ext >&5
26026
26027 glibcxx_cv_func__fmodf_use=no
26028 fi
26029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26030       ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035
26036
26037 fi
26038
26039   fi
26040   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
26041 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
26042
26043     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
26044
26045 for ac_func in _fmodf
26046 do
26047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26048 echo "$as_me:$LINENO: checking for $ac_func" >&5
26049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26050 if eval "test \"\${$as_ac_var+set}\" = set"; then
26051   echo $ECHO_N "(cached) $ECHO_C" >&6
26052 else
26053   if test x$gcc_no_link = xyes; then
26054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26056    { (exit 1); exit 1; }; }
26057 fi
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h.  */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h.  */
26064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26066 #define $ac_func innocuous_$ac_func
26067
26068 /* System header to define __stub macros and hopefully few prototypes,
26069     which can conflict with char $ac_func (); below.
26070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26071     <limits.h> exists even on freestanding compilers.  */
26072
26073 #ifdef __STDC__
26074 # include <limits.h>
26075 #else
26076 # include <assert.h>
26077 #endif
26078
26079 #undef $ac_func
26080
26081 /* Override any gcc2 internal prototype to avoid an error.  */
26082 #ifdef __cplusplus
26083 extern "C"
26084 {
26085 #endif
26086 /* We use char because int might match the return type of a gcc2
26087    builtin and then its argument prototype would still apply.  */
26088 char $ac_func ();
26089 /* The GNU C library defines this for functions which it implements
26090     to always fail with ENOSYS.  Some functions are actually named
26091     something starting with __ and the normal name is an alias.  */
26092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26093 choke me
26094 #else
26095 char (*f) () = $ac_func;
26096 #endif
26097 #ifdef __cplusplus
26098 }
26099 #endif
26100
26101 int
26102 main ()
26103 {
26104 return f != $ac_func;
26105   ;
26106   return 0;
26107 }
26108 _ACEOF
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111   (eval $ac_link) 2>conftest.er1
26112   ac_status=$?
26113   grep -v '^ *+' conftest.er1 >conftest.err
26114   rm -f conftest.er1
26115   cat conftest.err >&5
26116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117   (exit $ac_status); } &&
26118          { ac_try='test -z "$ac_c_werror_flag"
26119                          || test ! -s conftest.err'
26120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121   (eval $ac_try) 2>&5
26122   ac_status=$?
26123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124   (exit $ac_status); }; } &&
26125          { ac_try='test -s conftest$ac_exeext'
26126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127   (eval $ac_try) 2>&5
26128   ac_status=$?
26129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130   (exit $ac_status); }; }; then
26131   eval "$as_ac_var=yes"
26132 else
26133   echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26135
26136 eval "$as_ac_var=no"
26137 fi
26138 rm -f conftest.err conftest.$ac_objext \
26139       conftest$ac_exeext conftest.$ac_ext
26140 fi
26141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26143 if test `eval echo '${'$as_ac_var'}'` = yes; then
26144   cat >>confdefs.h <<_ACEOF
26145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26146 _ACEOF
26147
26148 fi
26149 done
26150
26151     fi
26152   fi
26153
26154
26155
26156
26157
26158
26159   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
26160 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
26161   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
26162     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
26163   echo $ECHO_N "(cached) $ECHO_C" >&6
26164 else
26165
26166
26167
26168       ac_ext=cc
26169 ac_cpp='$CXXCPP $CPPFLAGS'
26170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26173
26174       cat >conftest.$ac_ext <<_ACEOF
26175 /* confdefs.h.  */
26176 _ACEOF
26177 cat confdefs.h >>conftest.$ac_ext
26178 cat >>conftest.$ac_ext <<_ACEOF
26179 /* end confdefs.h.  */
26180 #include <math.h>
26181 int
26182 main ()
26183 {
26184  frexpf(0, 0);
26185   ;
26186   return 0;
26187 }
26188 _ACEOF
26189 rm -f conftest.$ac_objext
26190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26191   (eval $ac_compile) 2>conftest.er1
26192   ac_status=$?
26193   grep -v '^ *+' conftest.er1 >conftest.err
26194   rm -f conftest.er1
26195   cat conftest.err >&5
26196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197   (exit $ac_status); } &&
26198          { ac_try='test -z "$ac_cxx_werror_flag"
26199                          || test ! -s conftest.err'
26200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201   (eval $ac_try) 2>&5
26202   ac_status=$?
26203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204   (exit $ac_status); }; } &&
26205          { ac_try='test -s conftest.$ac_objext'
26206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207   (eval $ac_try) 2>&5
26208   ac_status=$?
26209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210   (exit $ac_status); }; }; then
26211   glibcxx_cv_func_frexpf_use=yes
26212 else
26213   echo "$as_me: failed program was:" >&5
26214 sed 's/^/| /' conftest.$ac_ext >&5
26215
26216 glibcxx_cv_func_frexpf_use=no
26217 fi
26218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26219       ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224
26225
26226 fi
26227
26228   fi
26229   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
26230 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
26231
26232   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
26233
26234 for ac_func in frexpf
26235 do
26236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26237 echo "$as_me:$LINENO: checking for $ac_func" >&5
26238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26239 if eval "test \"\${$as_ac_var+set}\" = set"; then
26240   echo $ECHO_N "(cached) $ECHO_C" >&6
26241 else
26242   if test x$gcc_no_link = xyes; then
26243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26245    { (exit 1); exit 1; }; }
26246 fi
26247 cat >conftest.$ac_ext <<_ACEOF
26248 /* confdefs.h.  */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h.  */
26253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26254    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26255 #define $ac_func innocuous_$ac_func
26256
26257 /* System header to define __stub macros and hopefully few prototypes,
26258     which can conflict with char $ac_func (); below.
26259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26260     <limits.h> exists even on freestanding compilers.  */
26261
26262 #ifdef __STDC__
26263 # include <limits.h>
26264 #else
26265 # include <assert.h>
26266 #endif
26267
26268 #undef $ac_func
26269
26270 /* Override any gcc2 internal prototype to avoid an error.  */
26271 #ifdef __cplusplus
26272 extern "C"
26273 {
26274 #endif
26275 /* We use char because int might match the return type of a gcc2
26276    builtin and then its argument prototype would still apply.  */
26277 char $ac_func ();
26278 /* The GNU C library defines this for functions which it implements
26279     to always fail with ENOSYS.  Some functions are actually named
26280     something starting with __ and the normal name is an alias.  */
26281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26282 choke me
26283 #else
26284 char (*f) () = $ac_func;
26285 #endif
26286 #ifdef __cplusplus
26287 }
26288 #endif
26289
26290 int
26291 main ()
26292 {
26293 return f != $ac_func;
26294   ;
26295   return 0;
26296 }
26297 _ACEOF
26298 rm -f conftest.$ac_objext conftest$ac_exeext
26299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26300   (eval $ac_link) 2>conftest.er1
26301   ac_status=$?
26302   grep -v '^ *+' conftest.er1 >conftest.err
26303   rm -f conftest.er1
26304   cat conftest.err >&5
26305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306   (exit $ac_status); } &&
26307          { ac_try='test -z "$ac_c_werror_flag"
26308                          || test ! -s conftest.err'
26309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26310   (eval $ac_try) 2>&5
26311   ac_status=$?
26312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313   (exit $ac_status); }; } &&
26314          { ac_try='test -s conftest$ac_exeext'
26315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316   (eval $ac_try) 2>&5
26317   ac_status=$?
26318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319   (exit $ac_status); }; }; then
26320   eval "$as_ac_var=yes"
26321 else
26322   echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325 eval "$as_ac_var=no"
26326 fi
26327 rm -f conftest.err conftest.$ac_objext \
26328       conftest$ac_exeext conftest.$ac_ext
26329 fi
26330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26332 if test `eval echo '${'$as_ac_var'}'` = yes; then
26333   cat >>confdefs.h <<_ACEOF
26334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26335 _ACEOF
26336
26337 fi
26338 done
26339
26340   else
26341
26342   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
26343 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
26344   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
26345     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
26346   echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26348
26349
26350
26351       ac_ext=cc
26352 ac_cpp='$CXXCPP $CPPFLAGS'
26353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26356
26357       cat >conftest.$ac_ext <<_ACEOF
26358 /* confdefs.h.  */
26359 _ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h.  */
26363 #include <math.h>
26364 int
26365 main ()
26366 {
26367  _frexpf(0, 0);
26368   ;
26369   return 0;
26370 }
26371 _ACEOF
26372 rm -f conftest.$ac_objext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374   (eval $ac_compile) 2>conftest.er1
26375   ac_status=$?
26376   grep -v '^ *+' conftest.er1 >conftest.err
26377   rm -f conftest.er1
26378   cat conftest.err >&5
26379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380   (exit $ac_status); } &&
26381          { ac_try='test -z "$ac_cxx_werror_flag"
26382                          || test ! -s conftest.err'
26383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384   (eval $ac_try) 2>&5
26385   ac_status=$?
26386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387   (exit $ac_status); }; } &&
26388          { ac_try='test -s conftest.$ac_objext'
26389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390   (eval $ac_try) 2>&5
26391   ac_status=$?
26392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393   (exit $ac_status); }; }; then
26394   glibcxx_cv_func__frexpf_use=yes
26395 else
26396   echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 glibcxx_cv_func__frexpf_use=no
26400 fi
26401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26402       ac_ext=c
26403 ac_cpp='$CPP $CPPFLAGS'
26404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407
26408
26409 fi
26410
26411   fi
26412   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
26413 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
26414
26415     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
26416
26417 for ac_func in _frexpf
26418 do
26419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26420 echo "$as_me:$LINENO: checking for $ac_func" >&5
26421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26422 if eval "test \"\${$as_ac_var+set}\" = set"; then
26423   echo $ECHO_N "(cached) $ECHO_C" >&6
26424 else
26425   if test x$gcc_no_link = xyes; then
26426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26428    { (exit 1); exit 1; }; }
26429 fi
26430 cat >conftest.$ac_ext <<_ACEOF
26431 /* confdefs.h.  */
26432 _ACEOF
26433 cat confdefs.h >>conftest.$ac_ext
26434 cat >>conftest.$ac_ext <<_ACEOF
26435 /* end confdefs.h.  */
26436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26438 #define $ac_func innocuous_$ac_func
26439
26440 /* System header to define __stub macros and hopefully few prototypes,
26441     which can conflict with char $ac_func (); below.
26442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26443     <limits.h> exists even on freestanding compilers.  */
26444
26445 #ifdef __STDC__
26446 # include <limits.h>
26447 #else
26448 # include <assert.h>
26449 #endif
26450
26451 #undef $ac_func
26452
26453 /* Override any gcc2 internal prototype to avoid an error.  */
26454 #ifdef __cplusplus
26455 extern "C"
26456 {
26457 #endif
26458 /* We use char because int might match the return type of a gcc2
26459    builtin and then its argument prototype would still apply.  */
26460 char $ac_func ();
26461 /* The GNU C library defines this for functions which it implements
26462     to always fail with ENOSYS.  Some functions are actually named
26463     something starting with __ and the normal name is an alias.  */
26464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26465 choke me
26466 #else
26467 char (*f) () = $ac_func;
26468 #endif
26469 #ifdef __cplusplus
26470 }
26471 #endif
26472
26473 int
26474 main ()
26475 {
26476 return f != $ac_func;
26477   ;
26478   return 0;
26479 }
26480 _ACEOF
26481 rm -f conftest.$ac_objext conftest$ac_exeext
26482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26483   (eval $ac_link) 2>conftest.er1
26484   ac_status=$?
26485   grep -v '^ *+' conftest.er1 >conftest.err
26486   rm -f conftest.er1
26487   cat conftest.err >&5
26488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489   (exit $ac_status); } &&
26490          { ac_try='test -z "$ac_c_werror_flag"
26491                          || test ! -s conftest.err'
26492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493   (eval $ac_try) 2>&5
26494   ac_status=$?
26495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496   (exit $ac_status); }; } &&
26497          { ac_try='test -s conftest$ac_exeext'
26498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499   (eval $ac_try) 2>&5
26500   ac_status=$?
26501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502   (exit $ac_status); }; }; then
26503   eval "$as_ac_var=yes"
26504 else
26505   echo "$as_me: failed program was:" >&5
26506 sed 's/^/| /' conftest.$ac_ext >&5
26507
26508 eval "$as_ac_var=no"
26509 fi
26510 rm -f conftest.err conftest.$ac_objext \
26511       conftest$ac_exeext conftest.$ac_ext
26512 fi
26513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26515 if test `eval echo '${'$as_ac_var'}'` = yes; then
26516   cat >>confdefs.h <<_ACEOF
26517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26518 _ACEOF
26519
26520 fi
26521 done
26522
26523     fi
26524   fi
26525
26526
26527
26528
26529
26530
26531   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
26532 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
26533   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
26534     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
26535   echo $ECHO_N "(cached) $ECHO_C" >&6
26536 else
26537
26538
26539
26540       ac_ext=cc
26541 ac_cpp='$CXXCPP $CPPFLAGS'
26542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26545
26546       cat >conftest.$ac_ext <<_ACEOF
26547 /* confdefs.h.  */
26548 _ACEOF
26549 cat confdefs.h >>conftest.$ac_ext
26550 cat >>conftest.$ac_ext <<_ACEOF
26551 /* end confdefs.h.  */
26552 #include <math.h>
26553 int
26554 main ()
26555 {
26556  hypotf(0, 0);
26557   ;
26558   return 0;
26559 }
26560 _ACEOF
26561 rm -f conftest.$ac_objext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26563   (eval $ac_compile) 2>conftest.er1
26564   ac_status=$?
26565   grep -v '^ *+' conftest.er1 >conftest.err
26566   rm -f conftest.er1
26567   cat conftest.err >&5
26568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569   (exit $ac_status); } &&
26570          { ac_try='test -z "$ac_cxx_werror_flag"
26571                          || test ! -s conftest.err'
26572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573   (eval $ac_try) 2>&5
26574   ac_status=$?
26575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576   (exit $ac_status); }; } &&
26577          { ac_try='test -s conftest.$ac_objext'
26578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579   (eval $ac_try) 2>&5
26580   ac_status=$?
26581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582   (exit $ac_status); }; }; then
26583   glibcxx_cv_func_hypotf_use=yes
26584 else
26585   echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.$ac_ext >&5
26587
26588 glibcxx_cv_func_hypotf_use=no
26589 fi
26590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26591       ac_ext=c
26592 ac_cpp='$CPP $CPPFLAGS'
26593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26596
26597
26598 fi
26599
26600   fi
26601   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
26602 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
26603
26604   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
26605
26606 for ac_func in hypotf
26607 do
26608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26609 echo "$as_me:$LINENO: checking for $ac_func" >&5
26610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26611 if eval "test \"\${$as_ac_var+set}\" = set"; then
26612   echo $ECHO_N "(cached) $ECHO_C" >&6
26613 else
26614   if test x$gcc_no_link = xyes; then
26615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26617    { (exit 1); exit 1; }; }
26618 fi
26619 cat >conftest.$ac_ext <<_ACEOF
26620 /* confdefs.h.  */
26621 _ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h.  */
26625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26627 #define $ac_func innocuous_$ac_func
26628
26629 /* System header to define __stub macros and hopefully few prototypes,
26630     which can conflict with char $ac_func (); below.
26631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26632     <limits.h> exists even on freestanding compilers.  */
26633
26634 #ifdef __STDC__
26635 # include <limits.h>
26636 #else
26637 # include <assert.h>
26638 #endif
26639
26640 #undef $ac_func
26641
26642 /* Override any gcc2 internal prototype to avoid an error.  */
26643 #ifdef __cplusplus
26644 extern "C"
26645 {
26646 #endif
26647 /* We use char because int might match the return type of a gcc2
26648    builtin and then its argument prototype would still apply.  */
26649 char $ac_func ();
26650 /* The GNU C library defines this for functions which it implements
26651     to always fail with ENOSYS.  Some functions are actually named
26652     something starting with __ and the normal name is an alias.  */
26653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26654 choke me
26655 #else
26656 char (*f) () = $ac_func;
26657 #endif
26658 #ifdef __cplusplus
26659 }
26660 #endif
26661
26662 int
26663 main ()
26664 {
26665 return f != $ac_func;
26666   ;
26667   return 0;
26668 }
26669 _ACEOF
26670 rm -f conftest.$ac_objext conftest$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672   (eval $ac_link) 2>conftest.er1
26673   ac_status=$?
26674   grep -v '^ *+' conftest.er1 >conftest.err
26675   rm -f conftest.er1
26676   cat conftest.err >&5
26677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678   (exit $ac_status); } &&
26679          { ac_try='test -z "$ac_c_werror_flag"
26680                          || test ! -s conftest.err'
26681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682   (eval $ac_try) 2>&5
26683   ac_status=$?
26684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685   (exit $ac_status); }; } &&
26686          { ac_try='test -s conftest$ac_exeext'
26687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688   (eval $ac_try) 2>&5
26689   ac_status=$?
26690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691   (exit $ac_status); }; }; then
26692   eval "$as_ac_var=yes"
26693 else
26694   echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 eval "$as_ac_var=no"
26698 fi
26699 rm -f conftest.err conftest.$ac_objext \
26700       conftest$ac_exeext conftest.$ac_ext
26701 fi
26702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26704 if test `eval echo '${'$as_ac_var'}'` = yes; then
26705   cat >>confdefs.h <<_ACEOF
26706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26707 _ACEOF
26708
26709 fi
26710 done
26711
26712   else
26713
26714   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
26715 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
26716   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
26717     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
26718   echo $ECHO_N "(cached) $ECHO_C" >&6
26719 else
26720
26721
26722
26723       ac_ext=cc
26724 ac_cpp='$CXXCPP $CPPFLAGS'
26725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26728
26729       cat >conftest.$ac_ext <<_ACEOF
26730 /* confdefs.h.  */
26731 _ACEOF
26732 cat confdefs.h >>conftest.$ac_ext
26733 cat >>conftest.$ac_ext <<_ACEOF
26734 /* end confdefs.h.  */
26735 #include <math.h>
26736 int
26737 main ()
26738 {
26739  _hypotf(0, 0);
26740   ;
26741   return 0;
26742 }
26743 _ACEOF
26744 rm -f conftest.$ac_objext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26746   (eval $ac_compile) 2>conftest.er1
26747   ac_status=$?
26748   grep -v '^ *+' conftest.er1 >conftest.err
26749   rm -f conftest.er1
26750   cat conftest.err >&5
26751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752   (exit $ac_status); } &&
26753          { ac_try='test -z "$ac_cxx_werror_flag"
26754                          || test ! -s conftest.err'
26755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756   (eval $ac_try) 2>&5
26757   ac_status=$?
26758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759   (exit $ac_status); }; } &&
26760          { ac_try='test -s conftest.$ac_objext'
26761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762   (eval $ac_try) 2>&5
26763   ac_status=$?
26764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765   (exit $ac_status); }; }; then
26766   glibcxx_cv_func__hypotf_use=yes
26767 else
26768   echo "$as_me: failed program was:" >&5
26769 sed 's/^/| /' conftest.$ac_ext >&5
26770
26771 glibcxx_cv_func__hypotf_use=no
26772 fi
26773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26774       ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26779
26780
26781 fi
26782
26783   fi
26784   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
26785 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
26786
26787     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
26788
26789 for ac_func in _hypotf
26790 do
26791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26792 echo "$as_me:$LINENO: checking for $ac_func" >&5
26793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26794 if eval "test \"\${$as_ac_var+set}\" = set"; then
26795   echo $ECHO_N "(cached) $ECHO_C" >&6
26796 else
26797   if test x$gcc_no_link = xyes; then
26798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26800    { (exit 1); exit 1; }; }
26801 fi
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h.  */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h.  */
26808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26810 #define $ac_func innocuous_$ac_func
26811
26812 /* System header to define __stub macros and hopefully few prototypes,
26813     which can conflict with char $ac_func (); below.
26814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26815     <limits.h> exists even on freestanding compilers.  */
26816
26817 #ifdef __STDC__
26818 # include <limits.h>
26819 #else
26820 # include <assert.h>
26821 #endif
26822
26823 #undef $ac_func
26824
26825 /* Override any gcc2 internal prototype to avoid an error.  */
26826 #ifdef __cplusplus
26827 extern "C"
26828 {
26829 #endif
26830 /* We use char because int might match the return type of a gcc2
26831    builtin and then its argument prototype would still apply.  */
26832 char $ac_func ();
26833 /* The GNU C library defines this for functions which it implements
26834     to always fail with ENOSYS.  Some functions are actually named
26835     something starting with __ and the normal name is an alias.  */
26836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26837 choke me
26838 #else
26839 char (*f) () = $ac_func;
26840 #endif
26841 #ifdef __cplusplus
26842 }
26843 #endif
26844
26845 int
26846 main ()
26847 {
26848 return f != $ac_func;
26849   ;
26850   return 0;
26851 }
26852 _ACEOF
26853 rm -f conftest.$ac_objext conftest$ac_exeext
26854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26855   (eval $ac_link) 2>conftest.er1
26856   ac_status=$?
26857   grep -v '^ *+' conftest.er1 >conftest.err
26858   rm -f conftest.er1
26859   cat conftest.err >&5
26860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861   (exit $ac_status); } &&
26862          { ac_try='test -z "$ac_c_werror_flag"
26863                          || test ! -s conftest.err'
26864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26865   (eval $ac_try) 2>&5
26866   ac_status=$?
26867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868   (exit $ac_status); }; } &&
26869          { ac_try='test -s conftest$ac_exeext'
26870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26871   (eval $ac_try) 2>&5
26872   ac_status=$?
26873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874   (exit $ac_status); }; }; then
26875   eval "$as_ac_var=yes"
26876 else
26877   echo "$as_me: failed program was:" >&5
26878 sed 's/^/| /' conftest.$ac_ext >&5
26879
26880 eval "$as_ac_var=no"
26881 fi
26882 rm -f conftest.err conftest.$ac_objext \
26883       conftest$ac_exeext conftest.$ac_ext
26884 fi
26885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26887 if test `eval echo '${'$as_ac_var'}'` = yes; then
26888   cat >>confdefs.h <<_ACEOF
26889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26890 _ACEOF
26891
26892 fi
26893 done
26894
26895     fi
26896   fi
26897
26898
26899
26900
26901
26902
26903   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
26904 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
26905   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
26906     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
26907   echo $ECHO_N "(cached) $ECHO_C" >&6
26908 else
26909
26910
26911
26912       ac_ext=cc
26913 ac_cpp='$CXXCPP $CPPFLAGS'
26914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26917
26918       cat >conftest.$ac_ext <<_ACEOF
26919 /* confdefs.h.  */
26920 _ACEOF
26921 cat confdefs.h >>conftest.$ac_ext
26922 cat >>conftest.$ac_ext <<_ACEOF
26923 /* end confdefs.h.  */
26924 #include <math.h>
26925 int
26926 main ()
26927 {
26928  ldexpf(0, 0);
26929   ;
26930   return 0;
26931 }
26932 _ACEOF
26933 rm -f conftest.$ac_objext
26934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26935   (eval $ac_compile) 2>conftest.er1
26936   ac_status=$?
26937   grep -v '^ *+' conftest.er1 >conftest.err
26938   rm -f conftest.er1
26939   cat conftest.err >&5
26940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941   (exit $ac_status); } &&
26942          { ac_try='test -z "$ac_cxx_werror_flag"
26943                          || test ! -s conftest.err'
26944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26945   (eval $ac_try) 2>&5
26946   ac_status=$?
26947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948   (exit $ac_status); }; } &&
26949          { ac_try='test -s conftest.$ac_objext'
26950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26951   (eval $ac_try) 2>&5
26952   ac_status=$?
26953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954   (exit $ac_status); }; }; then
26955   glibcxx_cv_func_ldexpf_use=yes
26956 else
26957   echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26959
26960 glibcxx_cv_func_ldexpf_use=no
26961 fi
26962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26963       ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26968
26969
26970 fi
26971
26972   fi
26973   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
26974 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
26975
26976   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
26977
26978 for ac_func in ldexpf
26979 do
26980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26981 echo "$as_me:$LINENO: checking for $ac_func" >&5
26982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26983 if eval "test \"\${$as_ac_var+set}\" = set"; then
26984   echo $ECHO_N "(cached) $ECHO_C" >&6
26985 else
26986   if test x$gcc_no_link = xyes; then
26987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26989    { (exit 1); exit 1; }; }
26990 fi
26991 cat >conftest.$ac_ext <<_ACEOF
26992 /* confdefs.h.  */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h.  */
26997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26999 #define $ac_func innocuous_$ac_func
27000
27001 /* System header to define __stub macros and hopefully few prototypes,
27002     which can conflict with char $ac_func (); below.
27003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27004     <limits.h> exists even on freestanding compilers.  */
27005
27006 #ifdef __STDC__
27007 # include <limits.h>
27008 #else
27009 # include <assert.h>
27010 #endif
27011
27012 #undef $ac_func
27013
27014 /* Override any gcc2 internal prototype to avoid an error.  */
27015 #ifdef __cplusplus
27016 extern "C"
27017 {
27018 #endif
27019 /* We use char because int might match the return type of a gcc2
27020    builtin and then its argument prototype would still apply.  */
27021 char $ac_func ();
27022 /* The GNU C library defines this for functions which it implements
27023     to always fail with ENOSYS.  Some functions are actually named
27024     something starting with __ and the normal name is an alias.  */
27025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27026 choke me
27027 #else
27028 char (*f) () = $ac_func;
27029 #endif
27030 #ifdef __cplusplus
27031 }
27032 #endif
27033
27034 int
27035 main ()
27036 {
27037 return f != $ac_func;
27038   ;
27039   return 0;
27040 }
27041 _ACEOF
27042 rm -f conftest.$ac_objext conftest$ac_exeext
27043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27044   (eval $ac_link) 2>conftest.er1
27045   ac_status=$?
27046   grep -v '^ *+' conftest.er1 >conftest.err
27047   rm -f conftest.er1
27048   cat conftest.err >&5
27049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050   (exit $ac_status); } &&
27051          { ac_try='test -z "$ac_c_werror_flag"
27052                          || test ! -s conftest.err'
27053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054   (eval $ac_try) 2>&5
27055   ac_status=$?
27056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057   (exit $ac_status); }; } &&
27058          { ac_try='test -s conftest$ac_exeext'
27059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060   (eval $ac_try) 2>&5
27061   ac_status=$?
27062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063   (exit $ac_status); }; }; then
27064   eval "$as_ac_var=yes"
27065 else
27066   echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27068
27069 eval "$as_ac_var=no"
27070 fi
27071 rm -f conftest.err conftest.$ac_objext \
27072       conftest$ac_exeext conftest.$ac_ext
27073 fi
27074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27076 if test `eval echo '${'$as_ac_var'}'` = yes; then
27077   cat >>confdefs.h <<_ACEOF
27078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27079 _ACEOF
27080
27081 fi
27082 done
27083
27084   else
27085
27086   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
27087 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
27088   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
27089     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
27090   echo $ECHO_N "(cached) $ECHO_C" >&6
27091 else
27092
27093
27094
27095       ac_ext=cc
27096 ac_cpp='$CXXCPP $CPPFLAGS'
27097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27100
27101       cat >conftest.$ac_ext <<_ACEOF
27102 /* confdefs.h.  */
27103 _ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h.  */
27107 #include <math.h>
27108 int
27109 main ()
27110 {
27111  _ldexpf(0, 0);
27112   ;
27113   return 0;
27114 }
27115 _ACEOF
27116 rm -f conftest.$ac_objext
27117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27118   (eval $ac_compile) 2>conftest.er1
27119   ac_status=$?
27120   grep -v '^ *+' conftest.er1 >conftest.err
27121   rm -f conftest.er1
27122   cat conftest.err >&5
27123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124   (exit $ac_status); } &&
27125          { ac_try='test -z "$ac_cxx_werror_flag"
27126                          || test ! -s conftest.err'
27127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128   (eval $ac_try) 2>&5
27129   ac_status=$?
27130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131   (exit $ac_status); }; } &&
27132          { ac_try='test -s conftest.$ac_objext'
27133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134   (eval $ac_try) 2>&5
27135   ac_status=$?
27136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137   (exit $ac_status); }; }; then
27138   glibcxx_cv_func__ldexpf_use=yes
27139 else
27140   echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27142
27143 glibcxx_cv_func__ldexpf_use=no
27144 fi
27145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27146       ac_ext=c
27147 ac_cpp='$CPP $CPPFLAGS'
27148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27151
27152
27153 fi
27154
27155   fi
27156   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
27157 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
27158
27159     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
27160
27161 for ac_func in _ldexpf
27162 do
27163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27164 echo "$as_me:$LINENO: checking for $ac_func" >&5
27165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27166 if eval "test \"\${$as_ac_var+set}\" = set"; then
27167   echo $ECHO_N "(cached) $ECHO_C" >&6
27168 else
27169   if test x$gcc_no_link = xyes; then
27170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27172    { (exit 1); exit 1; }; }
27173 fi
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h.  */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h.  */
27180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27182 #define $ac_func innocuous_$ac_func
27183
27184 /* System header to define __stub macros and hopefully few prototypes,
27185     which can conflict with char $ac_func (); below.
27186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27187     <limits.h> exists even on freestanding compilers.  */
27188
27189 #ifdef __STDC__
27190 # include <limits.h>
27191 #else
27192 # include <assert.h>
27193 #endif
27194
27195 #undef $ac_func
27196
27197 /* Override any gcc2 internal prototype to avoid an error.  */
27198 #ifdef __cplusplus
27199 extern "C"
27200 {
27201 #endif
27202 /* We use char because int might match the return type of a gcc2
27203    builtin and then its argument prototype would still apply.  */
27204 char $ac_func ();
27205 /* The GNU C library defines this for functions which it implements
27206     to always fail with ENOSYS.  Some functions are actually named
27207     something starting with __ and the normal name is an alias.  */
27208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27209 choke me
27210 #else
27211 char (*f) () = $ac_func;
27212 #endif
27213 #ifdef __cplusplus
27214 }
27215 #endif
27216
27217 int
27218 main ()
27219 {
27220 return f != $ac_func;
27221   ;
27222   return 0;
27223 }
27224 _ACEOF
27225 rm -f conftest.$ac_objext conftest$ac_exeext
27226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27227   (eval $ac_link) 2>conftest.er1
27228   ac_status=$?
27229   grep -v '^ *+' conftest.er1 >conftest.err
27230   rm -f conftest.er1
27231   cat conftest.err >&5
27232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233   (exit $ac_status); } &&
27234          { ac_try='test -z "$ac_c_werror_flag"
27235                          || test ! -s conftest.err'
27236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237   (eval $ac_try) 2>&5
27238   ac_status=$?
27239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240   (exit $ac_status); }; } &&
27241          { ac_try='test -s conftest$ac_exeext'
27242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27243   (eval $ac_try) 2>&5
27244   ac_status=$?
27245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246   (exit $ac_status); }; }; then
27247   eval "$as_ac_var=yes"
27248 else
27249   echo "$as_me: failed program was:" >&5
27250 sed 's/^/| /' conftest.$ac_ext >&5
27251
27252 eval "$as_ac_var=no"
27253 fi
27254 rm -f conftest.err conftest.$ac_objext \
27255       conftest$ac_exeext conftest.$ac_ext
27256 fi
27257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27259 if test `eval echo '${'$as_ac_var'}'` = yes; then
27260   cat >>confdefs.h <<_ACEOF
27261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27262 _ACEOF
27263
27264 fi
27265 done
27266
27267     fi
27268   fi
27269
27270
27271
27272
27273
27274
27275   echo "$as_me:$LINENO: checking for logf declaration" >&5
27276 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
27277   if test x${glibcxx_cv_func_logf_use+set} != xset; then
27278     if test "${glibcxx_cv_func_logf_use+set}" = set; then
27279   echo $ECHO_N "(cached) $ECHO_C" >&6
27280 else
27281
27282
27283
27284       ac_ext=cc
27285 ac_cpp='$CXXCPP $CPPFLAGS'
27286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27289
27290       cat >conftest.$ac_ext <<_ACEOF
27291 /* confdefs.h.  */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h.  */
27296 #include <math.h>
27297                       #ifdef HAVE_IEEEFP_H
27298                       #include <ieeefp.h>
27299                       #endif
27300
27301 int
27302 main ()
27303 {
27304  logf(0);
27305   ;
27306   return 0;
27307 }
27308 _ACEOF
27309 rm -f conftest.$ac_objext
27310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27311   (eval $ac_compile) 2>conftest.er1
27312   ac_status=$?
27313   grep -v '^ *+' conftest.er1 >conftest.err
27314   rm -f conftest.er1
27315   cat conftest.err >&5
27316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317   (exit $ac_status); } &&
27318          { ac_try='test -z "$ac_cxx_werror_flag"
27319                          || test ! -s conftest.err'
27320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321   (eval $ac_try) 2>&5
27322   ac_status=$?
27323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324   (exit $ac_status); }; } &&
27325          { ac_try='test -s conftest.$ac_objext'
27326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27327   (eval $ac_try) 2>&5
27328   ac_status=$?
27329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330   (exit $ac_status); }; }; then
27331   glibcxx_cv_func_logf_use=yes
27332 else
27333   echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27335
27336 glibcxx_cv_func_logf_use=no
27337 fi
27338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27339       ac_ext=c
27340 ac_cpp='$CPP $CPPFLAGS'
27341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344
27345
27346 fi
27347
27348   fi
27349   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
27350 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
27351
27352   if test x$glibcxx_cv_func_logf_use = x"yes"; then
27353
27354 for ac_func in logf
27355 do
27356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27357 echo "$as_me:$LINENO: checking for $ac_func" >&5
27358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27359 if eval "test \"\${$as_ac_var+set}\" = set"; then
27360   echo $ECHO_N "(cached) $ECHO_C" >&6
27361 else
27362   if test x$gcc_no_link = xyes; then
27363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27365    { (exit 1); exit 1; }; }
27366 fi
27367 cat >conftest.$ac_ext <<_ACEOF
27368 /* confdefs.h.  */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h.  */
27373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27375 #define $ac_func innocuous_$ac_func
27376
27377 /* System header to define __stub macros and hopefully few prototypes,
27378     which can conflict with char $ac_func (); below.
27379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27380     <limits.h> exists even on freestanding compilers.  */
27381
27382 #ifdef __STDC__
27383 # include <limits.h>
27384 #else
27385 # include <assert.h>
27386 #endif
27387
27388 #undef $ac_func
27389
27390 /* Override any gcc2 internal prototype to avoid an error.  */
27391 #ifdef __cplusplus
27392 extern "C"
27393 {
27394 #endif
27395 /* We use char because int might match the return type of a gcc2
27396    builtin and then its argument prototype would still apply.  */
27397 char $ac_func ();
27398 /* The GNU C library defines this for functions which it implements
27399     to always fail with ENOSYS.  Some functions are actually named
27400     something starting with __ and the normal name is an alias.  */
27401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27402 choke me
27403 #else
27404 char (*f) () = $ac_func;
27405 #endif
27406 #ifdef __cplusplus
27407 }
27408 #endif
27409
27410 int
27411 main ()
27412 {
27413 return f != $ac_func;
27414   ;
27415   return 0;
27416 }
27417 _ACEOF
27418 rm -f conftest.$ac_objext conftest$ac_exeext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27420   (eval $ac_link) 2>conftest.er1
27421   ac_status=$?
27422   grep -v '^ *+' conftest.er1 >conftest.err
27423   rm -f conftest.er1
27424   cat conftest.err >&5
27425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426   (exit $ac_status); } &&
27427          { ac_try='test -z "$ac_c_werror_flag"
27428                          || test ! -s conftest.err'
27429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430   (eval $ac_try) 2>&5
27431   ac_status=$?
27432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433   (exit $ac_status); }; } &&
27434          { ac_try='test -s conftest$ac_exeext'
27435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436   (eval $ac_try) 2>&5
27437   ac_status=$?
27438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439   (exit $ac_status); }; }; then
27440   eval "$as_ac_var=yes"
27441 else
27442   echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27444
27445 eval "$as_ac_var=no"
27446 fi
27447 rm -f conftest.err conftest.$ac_objext \
27448       conftest$ac_exeext conftest.$ac_ext
27449 fi
27450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27452 if test `eval echo '${'$as_ac_var'}'` = yes; then
27453   cat >>confdefs.h <<_ACEOF
27454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27455 _ACEOF
27456
27457 fi
27458 done
27459
27460   else
27461
27462   echo "$as_me:$LINENO: checking for _logf declaration" >&5
27463 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
27464   if test x${glibcxx_cv_func__logf_use+set} != xset; then
27465     if test "${glibcxx_cv_func__logf_use+set}" = set; then
27466   echo $ECHO_N "(cached) $ECHO_C" >&6
27467 else
27468
27469
27470
27471       ac_ext=cc
27472 ac_cpp='$CXXCPP $CPPFLAGS'
27473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27476
27477       cat >conftest.$ac_ext <<_ACEOF
27478 /* confdefs.h.  */
27479 _ACEOF
27480 cat confdefs.h >>conftest.$ac_ext
27481 cat >>conftest.$ac_ext <<_ACEOF
27482 /* end confdefs.h.  */
27483 #include <math.h>
27484                       #ifdef HAVE_IEEEFP_H
27485                       #include <ieeefp.h>
27486                       #endif
27487
27488 int
27489 main ()
27490 {
27491  _logf(0);
27492   ;
27493   return 0;
27494 }
27495 _ACEOF
27496 rm -f conftest.$ac_objext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27498   (eval $ac_compile) 2>conftest.er1
27499   ac_status=$?
27500   grep -v '^ *+' conftest.er1 >conftest.err
27501   rm -f conftest.er1
27502   cat conftest.err >&5
27503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504   (exit $ac_status); } &&
27505          { ac_try='test -z "$ac_cxx_werror_flag"
27506                          || test ! -s conftest.err'
27507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508   (eval $ac_try) 2>&5
27509   ac_status=$?
27510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511   (exit $ac_status); }; } &&
27512          { ac_try='test -s conftest.$ac_objext'
27513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514   (eval $ac_try) 2>&5
27515   ac_status=$?
27516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517   (exit $ac_status); }; }; then
27518   glibcxx_cv_func__logf_use=yes
27519 else
27520   echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27522
27523 glibcxx_cv_func__logf_use=no
27524 fi
27525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27526       ac_ext=c
27527 ac_cpp='$CPP $CPPFLAGS'
27528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27531
27532
27533 fi
27534
27535   fi
27536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
27537 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
27538
27539     if test x$glibcxx_cv_func__logf_use = x"yes"; then
27540
27541 for ac_func in _logf
27542 do
27543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27544 echo "$as_me:$LINENO: checking for $ac_func" >&5
27545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27546 if eval "test \"\${$as_ac_var+set}\" = set"; then
27547   echo $ECHO_N "(cached) $ECHO_C" >&6
27548 else
27549   if test x$gcc_no_link = xyes; then
27550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27552    { (exit 1); exit 1; }; }
27553 fi
27554 cat >conftest.$ac_ext <<_ACEOF
27555 /* confdefs.h.  */
27556 _ACEOF
27557 cat confdefs.h >>conftest.$ac_ext
27558 cat >>conftest.$ac_ext <<_ACEOF
27559 /* end confdefs.h.  */
27560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27562 #define $ac_func innocuous_$ac_func
27563
27564 /* System header to define __stub macros and hopefully few prototypes,
27565     which can conflict with char $ac_func (); below.
27566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27567     <limits.h> exists even on freestanding compilers.  */
27568
27569 #ifdef __STDC__
27570 # include <limits.h>
27571 #else
27572 # include <assert.h>
27573 #endif
27574
27575 #undef $ac_func
27576
27577 /* Override any gcc2 internal prototype to avoid an error.  */
27578 #ifdef __cplusplus
27579 extern "C"
27580 {
27581 #endif
27582 /* We use char because int might match the return type of a gcc2
27583    builtin and then its argument prototype would still apply.  */
27584 char $ac_func ();
27585 /* The GNU C library defines this for functions which it implements
27586     to always fail with ENOSYS.  Some functions are actually named
27587     something starting with __ and the normal name is an alias.  */
27588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27589 choke me
27590 #else
27591 char (*f) () = $ac_func;
27592 #endif
27593 #ifdef __cplusplus
27594 }
27595 #endif
27596
27597 int
27598 main ()
27599 {
27600 return f != $ac_func;
27601   ;
27602   return 0;
27603 }
27604 _ACEOF
27605 rm -f conftest.$ac_objext conftest$ac_exeext
27606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27607   (eval $ac_link) 2>conftest.er1
27608   ac_status=$?
27609   grep -v '^ *+' conftest.er1 >conftest.err
27610   rm -f conftest.er1
27611   cat conftest.err >&5
27612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613   (exit $ac_status); } &&
27614          { ac_try='test -z "$ac_c_werror_flag"
27615                          || test ! -s conftest.err'
27616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617   (eval $ac_try) 2>&5
27618   ac_status=$?
27619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620   (exit $ac_status); }; } &&
27621          { ac_try='test -s conftest$ac_exeext'
27622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623   (eval $ac_try) 2>&5
27624   ac_status=$?
27625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626   (exit $ac_status); }; }; then
27627   eval "$as_ac_var=yes"
27628 else
27629   echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.$ac_ext >&5
27631
27632 eval "$as_ac_var=no"
27633 fi
27634 rm -f conftest.err conftest.$ac_objext \
27635       conftest$ac_exeext conftest.$ac_ext
27636 fi
27637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27639 if test `eval echo '${'$as_ac_var'}'` = yes; then
27640   cat >>confdefs.h <<_ACEOF
27641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27642 _ACEOF
27643
27644 fi
27645 done
27646
27647     fi
27648   fi
27649
27650
27651
27652
27653
27654
27655   echo "$as_me:$LINENO: checking for log10f declaration" >&5
27656 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
27657   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
27658     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
27659   echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661
27662
27663
27664       ac_ext=cc
27665 ac_cpp='$CXXCPP $CPPFLAGS'
27666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27669
27670       cat >conftest.$ac_ext <<_ACEOF
27671 /* confdefs.h.  */
27672 _ACEOF
27673 cat confdefs.h >>conftest.$ac_ext
27674 cat >>conftest.$ac_ext <<_ACEOF
27675 /* end confdefs.h.  */
27676 #include <math.h>
27677                       #ifdef HAVE_IEEEFP_H
27678                       #include <ieeefp.h>
27679                       #endif
27680
27681 int
27682 main ()
27683 {
27684  log10f(0);
27685   ;
27686   return 0;
27687 }
27688 _ACEOF
27689 rm -f conftest.$ac_objext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27691   (eval $ac_compile) 2>conftest.er1
27692   ac_status=$?
27693   grep -v '^ *+' conftest.er1 >conftest.err
27694   rm -f conftest.er1
27695   cat conftest.err >&5
27696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697   (exit $ac_status); } &&
27698          { ac_try='test -z "$ac_cxx_werror_flag"
27699                          || test ! -s conftest.err'
27700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701   (eval $ac_try) 2>&5
27702   ac_status=$?
27703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704   (exit $ac_status); }; } &&
27705          { ac_try='test -s conftest.$ac_objext'
27706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707   (eval $ac_try) 2>&5
27708   ac_status=$?
27709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710   (exit $ac_status); }; }; then
27711   glibcxx_cv_func_log10f_use=yes
27712 else
27713   echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 glibcxx_cv_func_log10f_use=no
27717 fi
27718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27719       ac_ext=c
27720 ac_cpp='$CPP $CPPFLAGS'
27721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724
27725
27726 fi
27727
27728   fi
27729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
27730 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
27731
27732   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
27733
27734 for ac_func in log10f
27735 do
27736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27737 echo "$as_me:$LINENO: checking for $ac_func" >&5
27738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27739 if eval "test \"\${$as_ac_var+set}\" = set"; then
27740   echo $ECHO_N "(cached) $ECHO_C" >&6
27741 else
27742   if test x$gcc_no_link = xyes; then
27743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27745    { (exit 1); exit 1; }; }
27746 fi
27747 cat >conftest.$ac_ext <<_ACEOF
27748 /* confdefs.h.  */
27749 _ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h.  */
27753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27755 #define $ac_func innocuous_$ac_func
27756
27757 /* System header to define __stub macros and hopefully few prototypes,
27758     which can conflict with char $ac_func (); below.
27759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27760     <limits.h> exists even on freestanding compilers.  */
27761
27762 #ifdef __STDC__
27763 # include <limits.h>
27764 #else
27765 # include <assert.h>
27766 #endif
27767
27768 #undef $ac_func
27769
27770 /* Override any gcc2 internal prototype to avoid an error.  */
27771 #ifdef __cplusplus
27772 extern "C"
27773 {
27774 #endif
27775 /* We use char because int might match the return type of a gcc2
27776    builtin and then its argument prototype would still apply.  */
27777 char $ac_func ();
27778 /* The GNU C library defines this for functions which it implements
27779     to always fail with ENOSYS.  Some functions are actually named
27780     something starting with __ and the normal name is an alias.  */
27781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27782 choke me
27783 #else
27784 char (*f) () = $ac_func;
27785 #endif
27786 #ifdef __cplusplus
27787 }
27788 #endif
27789
27790 int
27791 main ()
27792 {
27793 return f != $ac_func;
27794   ;
27795   return 0;
27796 }
27797 _ACEOF
27798 rm -f conftest.$ac_objext conftest$ac_exeext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800   (eval $ac_link) 2>conftest.er1
27801   ac_status=$?
27802   grep -v '^ *+' conftest.er1 >conftest.err
27803   rm -f conftest.er1
27804   cat conftest.err >&5
27805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806   (exit $ac_status); } &&
27807          { ac_try='test -z "$ac_c_werror_flag"
27808                          || test ! -s conftest.err'
27809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810   (eval $ac_try) 2>&5
27811   ac_status=$?
27812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813   (exit $ac_status); }; } &&
27814          { ac_try='test -s conftest$ac_exeext'
27815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816   (eval $ac_try) 2>&5
27817   ac_status=$?
27818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819   (exit $ac_status); }; }; then
27820   eval "$as_ac_var=yes"
27821 else
27822   echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 eval "$as_ac_var=no"
27826 fi
27827 rm -f conftest.err conftest.$ac_objext \
27828       conftest$ac_exeext conftest.$ac_ext
27829 fi
27830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27832 if test `eval echo '${'$as_ac_var'}'` = yes; then
27833   cat >>confdefs.h <<_ACEOF
27834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27835 _ACEOF
27836
27837 fi
27838 done
27839
27840   else
27841
27842   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
27843 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
27844   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
27845     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
27846   echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848
27849
27850
27851       ac_ext=cc
27852 ac_cpp='$CXXCPP $CPPFLAGS'
27853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27856
27857       cat >conftest.$ac_ext <<_ACEOF
27858 /* confdefs.h.  */
27859 _ACEOF
27860 cat confdefs.h >>conftest.$ac_ext
27861 cat >>conftest.$ac_ext <<_ACEOF
27862 /* end confdefs.h.  */
27863 #include <math.h>
27864                       #ifdef HAVE_IEEEFP_H
27865                       #include <ieeefp.h>
27866                       #endif
27867
27868 int
27869 main ()
27870 {
27871  _log10f(0);
27872   ;
27873   return 0;
27874 }
27875 _ACEOF
27876 rm -f conftest.$ac_objext
27877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27878   (eval $ac_compile) 2>conftest.er1
27879   ac_status=$?
27880   grep -v '^ *+' conftest.er1 >conftest.err
27881   rm -f conftest.er1
27882   cat conftest.err >&5
27883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884   (exit $ac_status); } &&
27885          { ac_try='test -z "$ac_cxx_werror_flag"
27886                          || test ! -s conftest.err'
27887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888   (eval $ac_try) 2>&5
27889   ac_status=$?
27890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891   (exit $ac_status); }; } &&
27892          { ac_try='test -s conftest.$ac_objext'
27893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894   (eval $ac_try) 2>&5
27895   ac_status=$?
27896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897   (exit $ac_status); }; }; then
27898   glibcxx_cv_func__log10f_use=yes
27899 else
27900   echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.$ac_ext >&5
27902
27903 glibcxx_cv_func__log10f_use=no
27904 fi
27905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27906       ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27911
27912
27913 fi
27914
27915   fi
27916   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
27917 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
27918
27919     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
27920
27921 for ac_func in _log10f
27922 do
27923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27924 echo "$as_me:$LINENO: checking for $ac_func" >&5
27925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27926 if eval "test \"\${$as_ac_var+set}\" = set"; then
27927   echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929   if test x$gcc_no_link = xyes; then
27930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27932    { (exit 1); exit 1; }; }
27933 fi
27934 cat >conftest.$ac_ext <<_ACEOF
27935 /* confdefs.h.  */
27936 _ACEOF
27937 cat confdefs.h >>conftest.$ac_ext
27938 cat >>conftest.$ac_ext <<_ACEOF
27939 /* end confdefs.h.  */
27940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27942 #define $ac_func innocuous_$ac_func
27943
27944 /* System header to define __stub macros and hopefully few prototypes,
27945     which can conflict with char $ac_func (); below.
27946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27947     <limits.h> exists even on freestanding compilers.  */
27948
27949 #ifdef __STDC__
27950 # include <limits.h>
27951 #else
27952 # include <assert.h>
27953 #endif
27954
27955 #undef $ac_func
27956
27957 /* Override any gcc2 internal prototype to avoid an error.  */
27958 #ifdef __cplusplus
27959 extern "C"
27960 {
27961 #endif
27962 /* We use char because int might match the return type of a gcc2
27963    builtin and then its argument prototype would still apply.  */
27964 char $ac_func ();
27965 /* The GNU C library defines this for functions which it implements
27966     to always fail with ENOSYS.  Some functions are actually named
27967     something starting with __ and the normal name is an alias.  */
27968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27969 choke me
27970 #else
27971 char (*f) () = $ac_func;
27972 #endif
27973 #ifdef __cplusplus
27974 }
27975 #endif
27976
27977 int
27978 main ()
27979 {
27980 return f != $ac_func;
27981   ;
27982   return 0;
27983 }
27984 _ACEOF
27985 rm -f conftest.$ac_objext conftest$ac_exeext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27987   (eval $ac_link) 2>conftest.er1
27988   ac_status=$?
27989   grep -v '^ *+' conftest.er1 >conftest.err
27990   rm -f conftest.er1
27991   cat conftest.err >&5
27992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993   (exit $ac_status); } &&
27994          { ac_try='test -z "$ac_c_werror_flag"
27995                          || test ! -s conftest.err'
27996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27997   (eval $ac_try) 2>&5
27998   ac_status=$?
27999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000   (exit $ac_status); }; } &&
28001          { ac_try='test -s conftest$ac_exeext'
28002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28003   (eval $ac_try) 2>&5
28004   ac_status=$?
28005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006   (exit $ac_status); }; }; then
28007   eval "$as_ac_var=yes"
28008 else
28009   echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.$ac_ext >&5
28011
28012 eval "$as_ac_var=no"
28013 fi
28014 rm -f conftest.err conftest.$ac_objext \
28015       conftest$ac_exeext conftest.$ac_ext
28016 fi
28017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28019 if test `eval echo '${'$as_ac_var'}'` = yes; then
28020   cat >>confdefs.h <<_ACEOF
28021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28022 _ACEOF
28023
28024 fi
28025 done
28026
28027     fi
28028   fi
28029
28030
28031
28032
28033
28034
28035   echo "$as_me:$LINENO: checking for modff declaration" >&5
28036 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
28037   if test x${glibcxx_cv_func_modff_use+set} != xset; then
28038     if test "${glibcxx_cv_func_modff_use+set}" = set; then
28039   echo $ECHO_N "(cached) $ECHO_C" >&6
28040 else
28041
28042
28043
28044       ac_ext=cc
28045 ac_cpp='$CXXCPP $CPPFLAGS'
28046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28049
28050       cat >conftest.$ac_ext <<_ACEOF
28051 /* confdefs.h.  */
28052 _ACEOF
28053 cat confdefs.h >>conftest.$ac_ext
28054 cat >>conftest.$ac_ext <<_ACEOF
28055 /* end confdefs.h.  */
28056 #include <math.h>
28057 int
28058 main ()
28059 {
28060  modff(0, 0);
28061   ;
28062   return 0;
28063 }
28064 _ACEOF
28065 rm -f conftest.$ac_objext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28067   (eval $ac_compile) 2>conftest.er1
28068   ac_status=$?
28069   grep -v '^ *+' conftest.er1 >conftest.err
28070   rm -f conftest.er1
28071   cat conftest.err >&5
28072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073   (exit $ac_status); } &&
28074          { ac_try='test -z "$ac_cxx_werror_flag"
28075                          || test ! -s conftest.err'
28076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077   (eval $ac_try) 2>&5
28078   ac_status=$?
28079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080   (exit $ac_status); }; } &&
28081          { ac_try='test -s conftest.$ac_objext'
28082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28083   (eval $ac_try) 2>&5
28084   ac_status=$?
28085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086   (exit $ac_status); }; }; then
28087   glibcxx_cv_func_modff_use=yes
28088 else
28089   echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28091
28092 glibcxx_cv_func_modff_use=no
28093 fi
28094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28095       ac_ext=c
28096 ac_cpp='$CPP $CPPFLAGS'
28097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28100
28101
28102 fi
28103
28104   fi
28105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
28106 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
28107
28108   if test x$glibcxx_cv_func_modff_use = x"yes"; then
28109
28110 for ac_func in modff
28111 do
28112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28113 echo "$as_me:$LINENO: checking for $ac_func" >&5
28114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28115 if eval "test \"\${$as_ac_var+set}\" = set"; then
28116   echo $ECHO_N "(cached) $ECHO_C" >&6
28117 else
28118   if test x$gcc_no_link = xyes; then
28119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28121    { (exit 1); exit 1; }; }
28122 fi
28123 cat >conftest.$ac_ext <<_ACEOF
28124 /* confdefs.h.  */
28125 _ACEOF
28126 cat confdefs.h >>conftest.$ac_ext
28127 cat >>conftest.$ac_ext <<_ACEOF
28128 /* end confdefs.h.  */
28129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28131 #define $ac_func innocuous_$ac_func
28132
28133 /* System header to define __stub macros and hopefully few prototypes,
28134     which can conflict with char $ac_func (); below.
28135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28136     <limits.h> exists even on freestanding compilers.  */
28137
28138 #ifdef __STDC__
28139 # include <limits.h>
28140 #else
28141 # include <assert.h>
28142 #endif
28143
28144 #undef $ac_func
28145
28146 /* Override any gcc2 internal prototype to avoid an error.  */
28147 #ifdef __cplusplus
28148 extern "C"
28149 {
28150 #endif
28151 /* We use char because int might match the return type of a gcc2
28152    builtin and then its argument prototype would still apply.  */
28153 char $ac_func ();
28154 /* The GNU C library defines this for functions which it implements
28155     to always fail with ENOSYS.  Some functions are actually named
28156     something starting with __ and the normal name is an alias.  */
28157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28158 choke me
28159 #else
28160 char (*f) () = $ac_func;
28161 #endif
28162 #ifdef __cplusplus
28163 }
28164 #endif
28165
28166 int
28167 main ()
28168 {
28169 return f != $ac_func;
28170   ;
28171   return 0;
28172 }
28173 _ACEOF
28174 rm -f conftest.$ac_objext conftest$ac_exeext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176   (eval $ac_link) 2>conftest.er1
28177   ac_status=$?
28178   grep -v '^ *+' conftest.er1 >conftest.err
28179   rm -f conftest.er1
28180   cat conftest.err >&5
28181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182   (exit $ac_status); } &&
28183          { ac_try='test -z "$ac_c_werror_flag"
28184                          || test ! -s conftest.err'
28185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28186   (eval $ac_try) 2>&5
28187   ac_status=$?
28188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189   (exit $ac_status); }; } &&
28190          { ac_try='test -s conftest$ac_exeext'
28191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192   (eval $ac_try) 2>&5
28193   ac_status=$?
28194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195   (exit $ac_status); }; }; then
28196   eval "$as_ac_var=yes"
28197 else
28198   echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28200
28201 eval "$as_ac_var=no"
28202 fi
28203 rm -f conftest.err conftest.$ac_objext \
28204       conftest$ac_exeext conftest.$ac_ext
28205 fi
28206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28208 if test `eval echo '${'$as_ac_var'}'` = yes; then
28209   cat >>confdefs.h <<_ACEOF
28210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28211 _ACEOF
28212
28213 fi
28214 done
28215
28216   else
28217
28218   echo "$as_me:$LINENO: checking for _modff declaration" >&5
28219 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
28220   if test x${glibcxx_cv_func__modff_use+set} != xset; then
28221     if test "${glibcxx_cv_func__modff_use+set}" = set; then
28222   echo $ECHO_N "(cached) $ECHO_C" >&6
28223 else
28224
28225
28226
28227       ac_ext=cc
28228 ac_cpp='$CXXCPP $CPPFLAGS'
28229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28232
28233       cat >conftest.$ac_ext <<_ACEOF
28234 /* confdefs.h.  */
28235 _ACEOF
28236 cat confdefs.h >>conftest.$ac_ext
28237 cat >>conftest.$ac_ext <<_ACEOF
28238 /* end confdefs.h.  */
28239 #include <math.h>
28240 int
28241 main ()
28242 {
28243  _modff(0, 0);
28244   ;
28245   return 0;
28246 }
28247 _ACEOF
28248 rm -f conftest.$ac_objext
28249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28250   (eval $ac_compile) 2>conftest.er1
28251   ac_status=$?
28252   grep -v '^ *+' conftest.er1 >conftest.err
28253   rm -f conftest.er1
28254   cat conftest.err >&5
28255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256   (exit $ac_status); } &&
28257          { ac_try='test -z "$ac_cxx_werror_flag"
28258                          || test ! -s conftest.err'
28259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28260   (eval $ac_try) 2>&5
28261   ac_status=$?
28262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263   (exit $ac_status); }; } &&
28264          { ac_try='test -s conftest.$ac_objext'
28265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28266   (eval $ac_try) 2>&5
28267   ac_status=$?
28268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269   (exit $ac_status); }; }; then
28270   glibcxx_cv_func__modff_use=yes
28271 else
28272   echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.$ac_ext >&5
28274
28275 glibcxx_cv_func__modff_use=no
28276 fi
28277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28278       ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28283
28284
28285 fi
28286
28287   fi
28288   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
28289 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
28290
28291     if test x$glibcxx_cv_func__modff_use = x"yes"; then
28292
28293 for ac_func in _modff
28294 do
28295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28296 echo "$as_me:$LINENO: checking for $ac_func" >&5
28297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28298 if eval "test \"\${$as_ac_var+set}\" = set"; then
28299   echo $ECHO_N "(cached) $ECHO_C" >&6
28300 else
28301   if test x$gcc_no_link = xyes; then
28302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28304    { (exit 1); exit 1; }; }
28305 fi
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h.  */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h.  */
28312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28314 #define $ac_func innocuous_$ac_func
28315
28316 /* System header to define __stub macros and hopefully few prototypes,
28317     which can conflict with char $ac_func (); below.
28318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28319     <limits.h> exists even on freestanding compilers.  */
28320
28321 #ifdef __STDC__
28322 # include <limits.h>
28323 #else
28324 # include <assert.h>
28325 #endif
28326
28327 #undef $ac_func
28328
28329 /* Override any gcc2 internal prototype to avoid an error.  */
28330 #ifdef __cplusplus
28331 extern "C"
28332 {
28333 #endif
28334 /* We use char because int might match the return type of a gcc2
28335    builtin and then its argument prototype would still apply.  */
28336 char $ac_func ();
28337 /* The GNU C library defines this for functions which it implements
28338     to always fail with ENOSYS.  Some functions are actually named
28339     something starting with __ and the normal name is an alias.  */
28340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28341 choke me
28342 #else
28343 char (*f) () = $ac_func;
28344 #endif
28345 #ifdef __cplusplus
28346 }
28347 #endif
28348
28349 int
28350 main ()
28351 {
28352 return f != $ac_func;
28353   ;
28354   return 0;
28355 }
28356 _ACEOF
28357 rm -f conftest.$ac_objext conftest$ac_exeext
28358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28359   (eval $ac_link) 2>conftest.er1
28360   ac_status=$?
28361   grep -v '^ *+' conftest.er1 >conftest.err
28362   rm -f conftest.er1
28363   cat conftest.err >&5
28364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365   (exit $ac_status); } &&
28366          { ac_try='test -z "$ac_c_werror_flag"
28367                          || test ! -s conftest.err'
28368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369   (eval $ac_try) 2>&5
28370   ac_status=$?
28371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372   (exit $ac_status); }; } &&
28373          { ac_try='test -s conftest$ac_exeext'
28374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375   (eval $ac_try) 2>&5
28376   ac_status=$?
28377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378   (exit $ac_status); }; }; then
28379   eval "$as_ac_var=yes"
28380 else
28381   echo "$as_me: failed program was:" >&5
28382 sed 's/^/| /' conftest.$ac_ext >&5
28383
28384 eval "$as_ac_var=no"
28385 fi
28386 rm -f conftest.err conftest.$ac_objext \
28387       conftest$ac_exeext conftest.$ac_ext
28388 fi
28389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28391 if test `eval echo '${'$as_ac_var'}'` = yes; then
28392   cat >>confdefs.h <<_ACEOF
28393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28394 _ACEOF
28395
28396 fi
28397 done
28398
28399     fi
28400   fi
28401
28402
28403
28404
28405
28406
28407   echo "$as_me:$LINENO: checking for modf declaration" >&5
28408 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
28409   if test x${glibcxx_cv_func_modf_use+set} != xset; then
28410     if test "${glibcxx_cv_func_modf_use+set}" = set; then
28411   echo $ECHO_N "(cached) $ECHO_C" >&6
28412 else
28413
28414
28415
28416       ac_ext=cc
28417 ac_cpp='$CXXCPP $CPPFLAGS'
28418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28421
28422       cat >conftest.$ac_ext <<_ACEOF
28423 /* confdefs.h.  */
28424 _ACEOF
28425 cat confdefs.h >>conftest.$ac_ext
28426 cat >>conftest.$ac_ext <<_ACEOF
28427 /* end confdefs.h.  */
28428 #include <math.h>
28429 int
28430 main ()
28431 {
28432  modf(0, 0);
28433   ;
28434   return 0;
28435 }
28436 _ACEOF
28437 rm -f conftest.$ac_objext
28438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28439   (eval $ac_compile) 2>conftest.er1
28440   ac_status=$?
28441   grep -v '^ *+' conftest.er1 >conftest.err
28442   rm -f conftest.er1
28443   cat conftest.err >&5
28444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445   (exit $ac_status); } &&
28446          { ac_try='test -z "$ac_cxx_werror_flag"
28447                          || test ! -s conftest.err'
28448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28449   (eval $ac_try) 2>&5
28450   ac_status=$?
28451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452   (exit $ac_status); }; } &&
28453          { ac_try='test -s conftest.$ac_objext'
28454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455   (eval $ac_try) 2>&5
28456   ac_status=$?
28457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458   (exit $ac_status); }; }; then
28459   glibcxx_cv_func_modf_use=yes
28460 else
28461   echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28463
28464 glibcxx_cv_func_modf_use=no
28465 fi
28466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28467       ac_ext=c
28468 ac_cpp='$CPP $CPPFLAGS'
28469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28472
28473
28474 fi
28475
28476   fi
28477   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
28478 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
28479
28480   if test x$glibcxx_cv_func_modf_use = x"yes"; then
28481
28482 for ac_func in modf
28483 do
28484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28485 echo "$as_me:$LINENO: checking for $ac_func" >&5
28486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28487 if eval "test \"\${$as_ac_var+set}\" = set"; then
28488   echo $ECHO_N "(cached) $ECHO_C" >&6
28489 else
28490   if test x$gcc_no_link = xyes; then
28491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28493    { (exit 1); exit 1; }; }
28494 fi
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h.  */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h.  */
28501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28503 #define $ac_func innocuous_$ac_func
28504
28505 /* System header to define __stub macros and hopefully few prototypes,
28506     which can conflict with char $ac_func (); below.
28507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28508     <limits.h> exists even on freestanding compilers.  */
28509
28510 #ifdef __STDC__
28511 # include <limits.h>
28512 #else
28513 # include <assert.h>
28514 #endif
28515
28516 #undef $ac_func
28517
28518 /* Override any gcc2 internal prototype to avoid an error.  */
28519 #ifdef __cplusplus
28520 extern "C"
28521 {
28522 #endif
28523 /* We use char because int might match the return type of a gcc2
28524    builtin and then its argument prototype would still apply.  */
28525 char $ac_func ();
28526 /* The GNU C library defines this for functions which it implements
28527     to always fail with ENOSYS.  Some functions are actually named
28528     something starting with __ and the normal name is an alias.  */
28529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28530 choke me
28531 #else
28532 char (*f) () = $ac_func;
28533 #endif
28534 #ifdef __cplusplus
28535 }
28536 #endif
28537
28538 int
28539 main ()
28540 {
28541 return f != $ac_func;
28542   ;
28543   return 0;
28544 }
28545 _ACEOF
28546 rm -f conftest.$ac_objext conftest$ac_exeext
28547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28548   (eval $ac_link) 2>conftest.er1
28549   ac_status=$?
28550   grep -v '^ *+' conftest.er1 >conftest.err
28551   rm -f conftest.er1
28552   cat conftest.err >&5
28553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554   (exit $ac_status); } &&
28555          { ac_try='test -z "$ac_c_werror_flag"
28556                          || test ! -s conftest.err'
28557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558   (eval $ac_try) 2>&5
28559   ac_status=$?
28560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561   (exit $ac_status); }; } &&
28562          { ac_try='test -s conftest$ac_exeext'
28563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564   (eval $ac_try) 2>&5
28565   ac_status=$?
28566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567   (exit $ac_status); }; }; then
28568   eval "$as_ac_var=yes"
28569 else
28570   echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.$ac_ext >&5
28572
28573 eval "$as_ac_var=no"
28574 fi
28575 rm -f conftest.err conftest.$ac_objext \
28576       conftest$ac_exeext conftest.$ac_ext
28577 fi
28578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28580 if test `eval echo '${'$as_ac_var'}'` = yes; then
28581   cat >>confdefs.h <<_ACEOF
28582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28583 _ACEOF
28584
28585 fi
28586 done
28587
28588   else
28589
28590   echo "$as_me:$LINENO: checking for _modf declaration" >&5
28591 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
28592   if test x${glibcxx_cv_func__modf_use+set} != xset; then
28593     if test "${glibcxx_cv_func__modf_use+set}" = set; then
28594   echo $ECHO_N "(cached) $ECHO_C" >&6
28595 else
28596
28597
28598
28599       ac_ext=cc
28600 ac_cpp='$CXXCPP $CPPFLAGS'
28601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28604
28605       cat >conftest.$ac_ext <<_ACEOF
28606 /* confdefs.h.  */
28607 _ACEOF
28608 cat confdefs.h >>conftest.$ac_ext
28609 cat >>conftest.$ac_ext <<_ACEOF
28610 /* end confdefs.h.  */
28611 #include <math.h>
28612 int
28613 main ()
28614 {
28615  _modf(0, 0);
28616   ;
28617   return 0;
28618 }
28619 _ACEOF
28620 rm -f conftest.$ac_objext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28622   (eval $ac_compile) 2>conftest.er1
28623   ac_status=$?
28624   grep -v '^ *+' conftest.er1 >conftest.err
28625   rm -f conftest.er1
28626   cat conftest.err >&5
28627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628   (exit $ac_status); } &&
28629          { ac_try='test -z "$ac_cxx_werror_flag"
28630                          || test ! -s conftest.err'
28631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632   (eval $ac_try) 2>&5
28633   ac_status=$?
28634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635   (exit $ac_status); }; } &&
28636          { ac_try='test -s conftest.$ac_objext'
28637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638   (eval $ac_try) 2>&5
28639   ac_status=$?
28640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641   (exit $ac_status); }; }; then
28642   glibcxx_cv_func__modf_use=yes
28643 else
28644   echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28646
28647 glibcxx_cv_func__modf_use=no
28648 fi
28649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28650       ac_ext=c
28651 ac_cpp='$CPP $CPPFLAGS'
28652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28655
28656
28657 fi
28658
28659   fi
28660   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
28661 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
28662
28663     if test x$glibcxx_cv_func__modf_use = x"yes"; then
28664
28665 for ac_func in _modf
28666 do
28667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28668 echo "$as_me:$LINENO: checking for $ac_func" >&5
28669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28670 if eval "test \"\${$as_ac_var+set}\" = set"; then
28671   echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673   if test x$gcc_no_link = xyes; then
28674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28676    { (exit 1); exit 1; }; }
28677 fi
28678 cat >conftest.$ac_ext <<_ACEOF
28679 /* confdefs.h.  */
28680 _ACEOF
28681 cat confdefs.h >>conftest.$ac_ext
28682 cat >>conftest.$ac_ext <<_ACEOF
28683 /* end confdefs.h.  */
28684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28686 #define $ac_func innocuous_$ac_func
28687
28688 /* System header to define __stub macros and hopefully few prototypes,
28689     which can conflict with char $ac_func (); below.
28690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28691     <limits.h> exists even on freestanding compilers.  */
28692
28693 #ifdef __STDC__
28694 # include <limits.h>
28695 #else
28696 # include <assert.h>
28697 #endif
28698
28699 #undef $ac_func
28700
28701 /* Override any gcc2 internal prototype to avoid an error.  */
28702 #ifdef __cplusplus
28703 extern "C"
28704 {
28705 #endif
28706 /* We use char because int might match the return type of a gcc2
28707    builtin and then its argument prototype would still apply.  */
28708 char $ac_func ();
28709 /* The GNU C library defines this for functions which it implements
28710     to always fail with ENOSYS.  Some functions are actually named
28711     something starting with __ and the normal name is an alias.  */
28712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28713 choke me
28714 #else
28715 char (*f) () = $ac_func;
28716 #endif
28717 #ifdef __cplusplus
28718 }
28719 #endif
28720
28721 int
28722 main ()
28723 {
28724 return f != $ac_func;
28725   ;
28726   return 0;
28727 }
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731   (eval $ac_link) 2>conftest.er1
28732   ac_status=$?
28733   grep -v '^ *+' conftest.er1 >conftest.err
28734   rm -f conftest.er1
28735   cat conftest.err >&5
28736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737   (exit $ac_status); } &&
28738          { ac_try='test -z "$ac_c_werror_flag"
28739                          || test ! -s conftest.err'
28740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741   (eval $ac_try) 2>&5
28742   ac_status=$?
28743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744   (exit $ac_status); }; } &&
28745          { ac_try='test -s conftest$ac_exeext'
28746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747   (eval $ac_try) 2>&5
28748   ac_status=$?
28749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750   (exit $ac_status); }; }; then
28751   eval "$as_ac_var=yes"
28752 else
28753   echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28755
28756 eval "$as_ac_var=no"
28757 fi
28758 rm -f conftest.err conftest.$ac_objext \
28759       conftest$ac_exeext conftest.$ac_ext
28760 fi
28761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28763 if test `eval echo '${'$as_ac_var'}'` = yes; then
28764   cat >>confdefs.h <<_ACEOF
28765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28766 _ACEOF
28767
28768 fi
28769 done
28770
28771     fi
28772   fi
28773
28774
28775
28776
28777
28778
28779   echo "$as_me:$LINENO: checking for powf declaration" >&5
28780 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
28781   if test x${glibcxx_cv_func_powf_use+set} != xset; then
28782     if test "${glibcxx_cv_func_powf_use+set}" = set; then
28783   echo $ECHO_N "(cached) $ECHO_C" >&6
28784 else
28785
28786
28787
28788       ac_ext=cc
28789 ac_cpp='$CXXCPP $CPPFLAGS'
28790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28793
28794       cat >conftest.$ac_ext <<_ACEOF
28795 /* confdefs.h.  */
28796 _ACEOF
28797 cat confdefs.h >>conftest.$ac_ext
28798 cat >>conftest.$ac_ext <<_ACEOF
28799 /* end confdefs.h.  */
28800 #include <math.h>
28801 int
28802 main ()
28803 {
28804  powf(0, 0);
28805   ;
28806   return 0;
28807 }
28808 _ACEOF
28809 rm -f conftest.$ac_objext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28811   (eval $ac_compile) 2>conftest.er1
28812   ac_status=$?
28813   grep -v '^ *+' conftest.er1 >conftest.err
28814   rm -f conftest.er1
28815   cat conftest.err >&5
28816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817   (exit $ac_status); } &&
28818          { ac_try='test -z "$ac_cxx_werror_flag"
28819                          || test ! -s conftest.err'
28820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28821   (eval $ac_try) 2>&5
28822   ac_status=$?
28823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824   (exit $ac_status); }; } &&
28825          { ac_try='test -s conftest.$ac_objext'
28826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827   (eval $ac_try) 2>&5
28828   ac_status=$?
28829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830   (exit $ac_status); }; }; then
28831   glibcxx_cv_func_powf_use=yes
28832 else
28833   echo "$as_me: failed program was:" >&5
28834 sed 's/^/| /' conftest.$ac_ext >&5
28835
28836 glibcxx_cv_func_powf_use=no
28837 fi
28838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28839       ac_ext=c
28840 ac_cpp='$CPP $CPPFLAGS'
28841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28844
28845
28846 fi
28847
28848   fi
28849   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
28850 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
28851
28852   if test x$glibcxx_cv_func_powf_use = x"yes"; then
28853
28854 for ac_func in powf
28855 do
28856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28857 echo "$as_me:$LINENO: checking for $ac_func" >&5
28858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28859 if eval "test \"\${$as_ac_var+set}\" = set"; then
28860   echo $ECHO_N "(cached) $ECHO_C" >&6
28861 else
28862   if test x$gcc_no_link = xyes; then
28863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28865    { (exit 1); exit 1; }; }
28866 fi
28867 cat >conftest.$ac_ext <<_ACEOF
28868 /* confdefs.h.  */
28869 _ACEOF
28870 cat confdefs.h >>conftest.$ac_ext
28871 cat >>conftest.$ac_ext <<_ACEOF
28872 /* end confdefs.h.  */
28873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28875 #define $ac_func innocuous_$ac_func
28876
28877 /* System header to define __stub macros and hopefully few prototypes,
28878     which can conflict with char $ac_func (); below.
28879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28880     <limits.h> exists even on freestanding compilers.  */
28881
28882 #ifdef __STDC__
28883 # include <limits.h>
28884 #else
28885 # include <assert.h>
28886 #endif
28887
28888 #undef $ac_func
28889
28890 /* Override any gcc2 internal prototype to avoid an error.  */
28891 #ifdef __cplusplus
28892 extern "C"
28893 {
28894 #endif
28895 /* We use char because int might match the return type of a gcc2
28896    builtin and then its argument prototype would still apply.  */
28897 char $ac_func ();
28898 /* The GNU C library defines this for functions which it implements
28899     to always fail with ENOSYS.  Some functions are actually named
28900     something starting with __ and the normal name is an alias.  */
28901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28902 choke me
28903 #else
28904 char (*f) () = $ac_func;
28905 #endif
28906 #ifdef __cplusplus
28907 }
28908 #endif
28909
28910 int
28911 main ()
28912 {
28913 return f != $ac_func;
28914   ;
28915   return 0;
28916 }
28917 _ACEOF
28918 rm -f conftest.$ac_objext conftest$ac_exeext
28919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28920   (eval $ac_link) 2>conftest.er1
28921   ac_status=$?
28922   grep -v '^ *+' conftest.er1 >conftest.err
28923   rm -f conftest.er1
28924   cat conftest.err >&5
28925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926   (exit $ac_status); } &&
28927          { ac_try='test -z "$ac_c_werror_flag"
28928                          || test ! -s conftest.err'
28929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930   (eval $ac_try) 2>&5
28931   ac_status=$?
28932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933   (exit $ac_status); }; } &&
28934          { ac_try='test -s conftest$ac_exeext'
28935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936   (eval $ac_try) 2>&5
28937   ac_status=$?
28938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939   (exit $ac_status); }; }; then
28940   eval "$as_ac_var=yes"
28941 else
28942   echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.$ac_ext >&5
28944
28945 eval "$as_ac_var=no"
28946 fi
28947 rm -f conftest.err conftest.$ac_objext \
28948       conftest$ac_exeext conftest.$ac_ext
28949 fi
28950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28952 if test `eval echo '${'$as_ac_var'}'` = yes; then
28953   cat >>confdefs.h <<_ACEOF
28954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28955 _ACEOF
28956
28957 fi
28958 done
28959
28960   else
28961
28962   echo "$as_me:$LINENO: checking for _powf declaration" >&5
28963 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
28964   if test x${glibcxx_cv_func__powf_use+set} != xset; then
28965     if test "${glibcxx_cv_func__powf_use+set}" = set; then
28966   echo $ECHO_N "(cached) $ECHO_C" >&6
28967 else
28968
28969
28970
28971       ac_ext=cc
28972 ac_cpp='$CXXCPP $CPPFLAGS'
28973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28976
28977       cat >conftest.$ac_ext <<_ACEOF
28978 /* confdefs.h.  */
28979 _ACEOF
28980 cat confdefs.h >>conftest.$ac_ext
28981 cat >>conftest.$ac_ext <<_ACEOF
28982 /* end confdefs.h.  */
28983 #include <math.h>
28984 int
28985 main ()
28986 {
28987  _powf(0, 0);
28988   ;
28989   return 0;
28990 }
28991 _ACEOF
28992 rm -f conftest.$ac_objext
28993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28994   (eval $ac_compile) 2>conftest.er1
28995   ac_status=$?
28996   grep -v '^ *+' conftest.er1 >conftest.err
28997   rm -f conftest.er1
28998   cat conftest.err >&5
28999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000   (exit $ac_status); } &&
29001          { ac_try='test -z "$ac_cxx_werror_flag"
29002                          || test ! -s conftest.err'
29003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29004   (eval $ac_try) 2>&5
29005   ac_status=$?
29006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007   (exit $ac_status); }; } &&
29008          { ac_try='test -s conftest.$ac_objext'
29009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010   (eval $ac_try) 2>&5
29011   ac_status=$?
29012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013   (exit $ac_status); }; }; then
29014   glibcxx_cv_func__powf_use=yes
29015 else
29016   echo "$as_me: failed program was:" >&5
29017 sed 's/^/| /' conftest.$ac_ext >&5
29018
29019 glibcxx_cv_func__powf_use=no
29020 fi
29021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29022       ac_ext=c
29023 ac_cpp='$CPP $CPPFLAGS'
29024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027
29028
29029 fi
29030
29031   fi
29032   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
29033 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
29034
29035     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29036
29037 for ac_func in _powf
29038 do
29039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29040 echo "$as_me:$LINENO: checking for $ac_func" >&5
29041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29042 if eval "test \"\${$as_ac_var+set}\" = set"; then
29043   echo $ECHO_N "(cached) $ECHO_C" >&6
29044 else
29045   if test x$gcc_no_link = xyes; then
29046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29048    { (exit 1); exit 1; }; }
29049 fi
29050 cat >conftest.$ac_ext <<_ACEOF
29051 /* confdefs.h.  */
29052 _ACEOF
29053 cat confdefs.h >>conftest.$ac_ext
29054 cat >>conftest.$ac_ext <<_ACEOF
29055 /* end confdefs.h.  */
29056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29058 #define $ac_func innocuous_$ac_func
29059
29060 /* System header to define __stub macros and hopefully few prototypes,
29061     which can conflict with char $ac_func (); below.
29062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29063     <limits.h> exists even on freestanding compilers.  */
29064
29065 #ifdef __STDC__
29066 # include <limits.h>
29067 #else
29068 # include <assert.h>
29069 #endif
29070
29071 #undef $ac_func
29072
29073 /* Override any gcc2 internal prototype to avoid an error.  */
29074 #ifdef __cplusplus
29075 extern "C"
29076 {
29077 #endif
29078 /* We use char because int might match the return type of a gcc2
29079    builtin and then its argument prototype would still apply.  */
29080 char $ac_func ();
29081 /* The GNU C library defines this for functions which it implements
29082     to always fail with ENOSYS.  Some functions are actually named
29083     something starting with __ and the normal name is an alias.  */
29084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29085 choke me
29086 #else
29087 char (*f) () = $ac_func;
29088 #endif
29089 #ifdef __cplusplus
29090 }
29091 #endif
29092
29093 int
29094 main ()
29095 {
29096 return f != $ac_func;
29097   ;
29098   return 0;
29099 }
29100 _ACEOF
29101 rm -f conftest.$ac_objext conftest$ac_exeext
29102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29103   (eval $ac_link) 2>conftest.er1
29104   ac_status=$?
29105   grep -v '^ *+' conftest.er1 >conftest.err
29106   rm -f conftest.er1
29107   cat conftest.err >&5
29108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109   (exit $ac_status); } &&
29110          { ac_try='test -z "$ac_c_werror_flag"
29111                          || test ! -s conftest.err'
29112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29113   (eval $ac_try) 2>&5
29114   ac_status=$?
29115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116   (exit $ac_status); }; } &&
29117          { ac_try='test -s conftest$ac_exeext'
29118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119   (eval $ac_try) 2>&5
29120   ac_status=$?
29121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122   (exit $ac_status); }; }; then
29123   eval "$as_ac_var=yes"
29124 else
29125   echo "$as_me: failed program was:" >&5
29126 sed 's/^/| /' conftest.$ac_ext >&5
29127
29128 eval "$as_ac_var=no"
29129 fi
29130 rm -f conftest.err conftest.$ac_objext \
29131       conftest$ac_exeext conftest.$ac_ext
29132 fi
29133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29135 if test `eval echo '${'$as_ac_var'}'` = yes; then
29136   cat >>confdefs.h <<_ACEOF
29137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29138 _ACEOF
29139
29140 fi
29141 done
29142
29143     fi
29144   fi
29145
29146
29147
29148
29149
29150
29151   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
29152 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
29153   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29154     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
29155   echo $ECHO_N "(cached) $ECHO_C" >&6
29156 else
29157
29158
29159
29160       ac_ext=cc
29161 ac_cpp='$CXXCPP $CPPFLAGS'
29162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29165
29166       cat >conftest.$ac_ext <<_ACEOF
29167 /* confdefs.h.  */
29168 _ACEOF
29169 cat confdefs.h >>conftest.$ac_ext
29170 cat >>conftest.$ac_ext <<_ACEOF
29171 /* end confdefs.h.  */
29172 #include <math.h>
29173                       #ifdef HAVE_IEEEFP_H
29174                       #include <ieeefp.h>
29175                       #endif
29176
29177 int
29178 main ()
29179 {
29180  sqrtf(0);
29181   ;
29182   return 0;
29183 }
29184 _ACEOF
29185 rm -f conftest.$ac_objext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29187   (eval $ac_compile) 2>conftest.er1
29188   ac_status=$?
29189   grep -v '^ *+' conftest.er1 >conftest.err
29190   rm -f conftest.er1
29191   cat conftest.err >&5
29192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193   (exit $ac_status); } &&
29194          { ac_try='test -z "$ac_cxx_werror_flag"
29195                          || test ! -s conftest.err'
29196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197   (eval $ac_try) 2>&5
29198   ac_status=$?
29199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200   (exit $ac_status); }; } &&
29201          { ac_try='test -s conftest.$ac_objext'
29202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29203   (eval $ac_try) 2>&5
29204   ac_status=$?
29205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206   (exit $ac_status); }; }; then
29207   glibcxx_cv_func_sqrtf_use=yes
29208 else
29209   echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 glibcxx_cv_func_sqrtf_use=no
29213 fi
29214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29215       ac_ext=c
29216 ac_cpp='$CPP $CPPFLAGS'
29217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29220
29221
29222 fi
29223
29224   fi
29225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
29226 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
29227
29228   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29229
29230 for ac_func in sqrtf
29231 do
29232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29233 echo "$as_me:$LINENO: checking for $ac_func" >&5
29234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29235 if eval "test \"\${$as_ac_var+set}\" = set"; then
29236   echo $ECHO_N "(cached) $ECHO_C" >&6
29237 else
29238   if test x$gcc_no_link = xyes; then
29239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29241    { (exit 1); exit 1; }; }
29242 fi
29243 cat >conftest.$ac_ext <<_ACEOF
29244 /* confdefs.h.  */
29245 _ACEOF
29246 cat confdefs.h >>conftest.$ac_ext
29247 cat >>conftest.$ac_ext <<_ACEOF
29248 /* end confdefs.h.  */
29249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29251 #define $ac_func innocuous_$ac_func
29252
29253 /* System header to define __stub macros and hopefully few prototypes,
29254     which can conflict with char $ac_func (); below.
29255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29256     <limits.h> exists even on freestanding compilers.  */
29257
29258 #ifdef __STDC__
29259 # include <limits.h>
29260 #else
29261 # include <assert.h>
29262 #endif
29263
29264 #undef $ac_func
29265
29266 /* Override any gcc2 internal prototype to avoid an error.  */
29267 #ifdef __cplusplus
29268 extern "C"
29269 {
29270 #endif
29271 /* We use char because int might match the return type of a gcc2
29272    builtin and then its argument prototype would still apply.  */
29273 char $ac_func ();
29274 /* The GNU C library defines this for functions which it implements
29275     to always fail with ENOSYS.  Some functions are actually named
29276     something starting with __ and the normal name is an alias.  */
29277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29278 choke me
29279 #else
29280 char (*f) () = $ac_func;
29281 #endif
29282 #ifdef __cplusplus
29283 }
29284 #endif
29285
29286 int
29287 main ()
29288 {
29289 return f != $ac_func;
29290   ;
29291   return 0;
29292 }
29293 _ACEOF
29294 rm -f conftest.$ac_objext conftest$ac_exeext
29295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29296   (eval $ac_link) 2>conftest.er1
29297   ac_status=$?
29298   grep -v '^ *+' conftest.er1 >conftest.err
29299   rm -f conftest.er1
29300   cat conftest.err >&5
29301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302   (exit $ac_status); } &&
29303          { ac_try='test -z "$ac_c_werror_flag"
29304                          || test ! -s conftest.err'
29305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306   (eval $ac_try) 2>&5
29307   ac_status=$?
29308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309   (exit $ac_status); }; } &&
29310          { ac_try='test -s conftest$ac_exeext'
29311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29312   (eval $ac_try) 2>&5
29313   ac_status=$?
29314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315   (exit $ac_status); }; }; then
29316   eval "$as_ac_var=yes"
29317 else
29318   echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29320
29321 eval "$as_ac_var=no"
29322 fi
29323 rm -f conftest.err conftest.$ac_objext \
29324       conftest$ac_exeext conftest.$ac_ext
29325 fi
29326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29328 if test `eval echo '${'$as_ac_var'}'` = yes; then
29329   cat >>confdefs.h <<_ACEOF
29330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29331 _ACEOF
29332
29333 fi
29334 done
29335
29336   else
29337
29338   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
29339 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
29340   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29341     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
29342   echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29344
29345
29346
29347       ac_ext=cc
29348 ac_cpp='$CXXCPP $CPPFLAGS'
29349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29352
29353       cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h.  */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h.  */
29359 #include <math.h>
29360                       #ifdef HAVE_IEEEFP_H
29361                       #include <ieeefp.h>
29362                       #endif
29363
29364 int
29365 main ()
29366 {
29367  _sqrtf(0);
29368   ;
29369   return 0;
29370 }
29371 _ACEOF
29372 rm -f conftest.$ac_objext
29373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29374   (eval $ac_compile) 2>conftest.er1
29375   ac_status=$?
29376   grep -v '^ *+' conftest.er1 >conftest.err
29377   rm -f conftest.er1
29378   cat conftest.err >&5
29379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380   (exit $ac_status); } &&
29381          { ac_try='test -z "$ac_cxx_werror_flag"
29382                          || test ! -s conftest.err'
29383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384   (eval $ac_try) 2>&5
29385   ac_status=$?
29386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387   (exit $ac_status); }; } &&
29388          { ac_try='test -s conftest.$ac_objext'
29389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390   (eval $ac_try) 2>&5
29391   ac_status=$?
29392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393   (exit $ac_status); }; }; then
29394   glibcxx_cv_func__sqrtf_use=yes
29395 else
29396   echo "$as_me: failed program was:" >&5
29397 sed 's/^/| /' conftest.$ac_ext >&5
29398
29399 glibcxx_cv_func__sqrtf_use=no
29400 fi
29401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29402       ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407
29408
29409 fi
29410
29411   fi
29412   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
29413 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
29414
29415     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29416
29417 for ac_func in _sqrtf
29418 do
29419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29420 echo "$as_me:$LINENO: checking for $ac_func" >&5
29421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29422 if eval "test \"\${$as_ac_var+set}\" = set"; then
29423   echo $ECHO_N "(cached) $ECHO_C" >&6
29424 else
29425   if test x$gcc_no_link = xyes; then
29426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29428    { (exit 1); exit 1; }; }
29429 fi
29430 cat >conftest.$ac_ext <<_ACEOF
29431 /* confdefs.h.  */
29432 _ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h.  */
29436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29438 #define $ac_func innocuous_$ac_func
29439
29440 /* System header to define __stub macros and hopefully few prototypes,
29441     which can conflict with char $ac_func (); below.
29442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29443     <limits.h> exists even on freestanding compilers.  */
29444
29445 #ifdef __STDC__
29446 # include <limits.h>
29447 #else
29448 # include <assert.h>
29449 #endif
29450
29451 #undef $ac_func
29452
29453 /* Override any gcc2 internal prototype to avoid an error.  */
29454 #ifdef __cplusplus
29455 extern "C"
29456 {
29457 #endif
29458 /* We use char because int might match the return type of a gcc2
29459    builtin and then its argument prototype would still apply.  */
29460 char $ac_func ();
29461 /* The GNU C library defines this for functions which it implements
29462     to always fail with ENOSYS.  Some functions are actually named
29463     something starting with __ and the normal name is an alias.  */
29464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29465 choke me
29466 #else
29467 char (*f) () = $ac_func;
29468 #endif
29469 #ifdef __cplusplus
29470 }
29471 #endif
29472
29473 int
29474 main ()
29475 {
29476 return f != $ac_func;
29477   ;
29478   return 0;
29479 }
29480 _ACEOF
29481 rm -f conftest.$ac_objext conftest$ac_exeext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29483   (eval $ac_link) 2>conftest.er1
29484   ac_status=$?
29485   grep -v '^ *+' conftest.er1 >conftest.err
29486   rm -f conftest.er1
29487   cat conftest.err >&5
29488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489   (exit $ac_status); } &&
29490          { ac_try='test -z "$ac_c_werror_flag"
29491                          || test ! -s conftest.err'
29492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493   (eval $ac_try) 2>&5
29494   ac_status=$?
29495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496   (exit $ac_status); }; } &&
29497          { ac_try='test -s conftest$ac_exeext'
29498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499   (eval $ac_try) 2>&5
29500   ac_status=$?
29501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502   (exit $ac_status); }; }; then
29503   eval "$as_ac_var=yes"
29504 else
29505   echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 eval "$as_ac_var=no"
29509 fi
29510 rm -f conftest.err conftest.$ac_objext \
29511       conftest$ac_exeext conftest.$ac_ext
29512 fi
29513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29515 if test `eval echo '${'$as_ac_var'}'` = yes; then
29516   cat >>confdefs.h <<_ACEOF
29517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29518 _ACEOF
29519
29520 fi
29521 done
29522
29523     fi
29524   fi
29525
29526
29527
29528
29529
29530
29531   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
29532 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
29533   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29534     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
29535   echo $ECHO_N "(cached) $ECHO_C" >&6
29536 else
29537
29538
29539
29540       ac_ext=cc
29541 ac_cpp='$CXXCPP $CPPFLAGS'
29542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29545
29546       cat >conftest.$ac_ext <<_ACEOF
29547 /* confdefs.h.  */
29548 _ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h.  */
29552 #include <math.h>
29553 int
29554 main ()
29555 {
29556  sincosf(0, 0, 0);
29557   ;
29558   return 0;
29559 }
29560 _ACEOF
29561 rm -f conftest.$ac_objext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29563   (eval $ac_compile) 2>conftest.er1
29564   ac_status=$?
29565   grep -v '^ *+' conftest.er1 >conftest.err
29566   rm -f conftest.er1
29567   cat conftest.err >&5
29568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569   (exit $ac_status); } &&
29570          { ac_try='test -z "$ac_cxx_werror_flag"
29571                          || test ! -s conftest.err'
29572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573   (eval $ac_try) 2>&5
29574   ac_status=$?
29575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576   (exit $ac_status); }; } &&
29577          { ac_try='test -s conftest.$ac_objext'
29578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579   (eval $ac_try) 2>&5
29580   ac_status=$?
29581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582   (exit $ac_status); }; }; then
29583   glibcxx_cv_func_sincosf_use=yes
29584 else
29585   echo "$as_me: failed program was:" >&5
29586 sed 's/^/| /' conftest.$ac_ext >&5
29587
29588 glibcxx_cv_func_sincosf_use=no
29589 fi
29590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29591       ac_ext=c
29592 ac_cpp='$CPP $CPPFLAGS'
29593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29596
29597
29598 fi
29599
29600   fi
29601   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
29602 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
29603
29604   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29605
29606 for ac_func in sincosf
29607 do
29608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29609 echo "$as_me:$LINENO: checking for $ac_func" >&5
29610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29611 if eval "test \"\${$as_ac_var+set}\" = set"; then
29612   echo $ECHO_N "(cached) $ECHO_C" >&6
29613 else
29614   if test x$gcc_no_link = xyes; then
29615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29617    { (exit 1); exit 1; }; }
29618 fi
29619 cat >conftest.$ac_ext <<_ACEOF
29620 /* confdefs.h.  */
29621 _ACEOF
29622 cat confdefs.h >>conftest.$ac_ext
29623 cat >>conftest.$ac_ext <<_ACEOF
29624 /* end confdefs.h.  */
29625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29627 #define $ac_func innocuous_$ac_func
29628
29629 /* System header to define __stub macros and hopefully few prototypes,
29630     which can conflict with char $ac_func (); below.
29631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29632     <limits.h> exists even on freestanding compilers.  */
29633
29634 #ifdef __STDC__
29635 # include <limits.h>
29636 #else
29637 # include <assert.h>
29638 #endif
29639
29640 #undef $ac_func
29641
29642 /* Override any gcc2 internal prototype to avoid an error.  */
29643 #ifdef __cplusplus
29644 extern "C"
29645 {
29646 #endif
29647 /* We use char because int might match the return type of a gcc2
29648    builtin and then its argument prototype would still apply.  */
29649 char $ac_func ();
29650 /* The GNU C library defines this for functions which it implements
29651     to always fail with ENOSYS.  Some functions are actually named
29652     something starting with __ and the normal name is an alias.  */
29653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29654 choke me
29655 #else
29656 char (*f) () = $ac_func;
29657 #endif
29658 #ifdef __cplusplus
29659 }
29660 #endif
29661
29662 int
29663 main ()
29664 {
29665 return f != $ac_func;
29666   ;
29667   return 0;
29668 }
29669 _ACEOF
29670 rm -f conftest.$ac_objext conftest$ac_exeext
29671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29672   (eval $ac_link) 2>conftest.er1
29673   ac_status=$?
29674   grep -v '^ *+' conftest.er1 >conftest.err
29675   rm -f conftest.er1
29676   cat conftest.err >&5
29677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678   (exit $ac_status); } &&
29679          { ac_try='test -z "$ac_c_werror_flag"
29680                          || test ! -s conftest.err'
29681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682   (eval $ac_try) 2>&5
29683   ac_status=$?
29684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685   (exit $ac_status); }; } &&
29686          { ac_try='test -s conftest$ac_exeext'
29687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688   (eval $ac_try) 2>&5
29689   ac_status=$?
29690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691   (exit $ac_status); }; }; then
29692   eval "$as_ac_var=yes"
29693 else
29694   echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29696
29697 eval "$as_ac_var=no"
29698 fi
29699 rm -f conftest.err conftest.$ac_objext \
29700       conftest$ac_exeext conftest.$ac_ext
29701 fi
29702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29704 if test `eval echo '${'$as_ac_var'}'` = yes; then
29705   cat >>confdefs.h <<_ACEOF
29706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29707 _ACEOF
29708
29709 fi
29710 done
29711
29712   else
29713
29714   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
29715 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
29716   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29717     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
29718   echo $ECHO_N "(cached) $ECHO_C" >&6
29719 else
29720
29721
29722
29723       ac_ext=cc
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729       cat >conftest.$ac_ext <<_ACEOF
29730 /* confdefs.h.  */
29731 _ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h.  */
29735 #include <math.h>
29736 int
29737 main ()
29738 {
29739  _sincosf(0, 0, 0);
29740   ;
29741   return 0;
29742 }
29743 _ACEOF
29744 rm -f conftest.$ac_objext
29745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29746   (eval $ac_compile) 2>conftest.er1
29747   ac_status=$?
29748   grep -v '^ *+' conftest.er1 >conftest.err
29749   rm -f conftest.er1
29750   cat conftest.err >&5
29751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752   (exit $ac_status); } &&
29753          { ac_try='test -z "$ac_cxx_werror_flag"
29754                          || test ! -s conftest.err'
29755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756   (eval $ac_try) 2>&5
29757   ac_status=$?
29758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759   (exit $ac_status); }; } &&
29760          { ac_try='test -s conftest.$ac_objext'
29761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762   (eval $ac_try) 2>&5
29763   ac_status=$?
29764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765   (exit $ac_status); }; }; then
29766   glibcxx_cv_func__sincosf_use=yes
29767 else
29768   echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 glibcxx_cv_func__sincosf_use=no
29772 fi
29773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29774       ac_ext=c
29775 ac_cpp='$CPP $CPPFLAGS'
29776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29779
29780
29781 fi
29782
29783   fi
29784   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
29785 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
29786
29787     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29788
29789 for ac_func in _sincosf
29790 do
29791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29792 echo "$as_me:$LINENO: checking for $ac_func" >&5
29793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29794 if eval "test \"\${$as_ac_var+set}\" = set"; then
29795   echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29797   if test x$gcc_no_link = xyes; then
29798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29800    { (exit 1); exit 1; }; }
29801 fi
29802 cat >conftest.$ac_ext <<_ACEOF
29803 /* confdefs.h.  */
29804 _ACEOF
29805 cat confdefs.h >>conftest.$ac_ext
29806 cat >>conftest.$ac_ext <<_ACEOF
29807 /* end confdefs.h.  */
29808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29810 #define $ac_func innocuous_$ac_func
29811
29812 /* System header to define __stub macros and hopefully few prototypes,
29813     which can conflict with char $ac_func (); below.
29814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29815     <limits.h> exists even on freestanding compilers.  */
29816
29817 #ifdef __STDC__
29818 # include <limits.h>
29819 #else
29820 # include <assert.h>
29821 #endif
29822
29823 #undef $ac_func
29824
29825 /* Override any gcc2 internal prototype to avoid an error.  */
29826 #ifdef __cplusplus
29827 extern "C"
29828 {
29829 #endif
29830 /* We use char because int might match the return type of a gcc2
29831    builtin and then its argument prototype would still apply.  */
29832 char $ac_func ();
29833 /* The GNU C library defines this for functions which it implements
29834     to always fail with ENOSYS.  Some functions are actually named
29835     something starting with __ and the normal name is an alias.  */
29836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29837 choke me
29838 #else
29839 char (*f) () = $ac_func;
29840 #endif
29841 #ifdef __cplusplus
29842 }
29843 #endif
29844
29845 int
29846 main ()
29847 {
29848 return f != $ac_func;
29849   ;
29850   return 0;
29851 }
29852 _ACEOF
29853 rm -f conftest.$ac_objext conftest$ac_exeext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29855   (eval $ac_link) 2>conftest.er1
29856   ac_status=$?
29857   grep -v '^ *+' conftest.er1 >conftest.err
29858   rm -f conftest.er1
29859   cat conftest.err >&5
29860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861   (exit $ac_status); } &&
29862          { ac_try='test -z "$ac_c_werror_flag"
29863                          || test ! -s conftest.err'
29864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865   (eval $ac_try) 2>&5
29866   ac_status=$?
29867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868   (exit $ac_status); }; } &&
29869          { ac_try='test -s conftest$ac_exeext'
29870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871   (eval $ac_try) 2>&5
29872   ac_status=$?
29873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874   (exit $ac_status); }; }; then
29875   eval "$as_ac_var=yes"
29876 else
29877   echo "$as_me: failed program was:" >&5
29878 sed 's/^/| /' conftest.$ac_ext >&5
29879
29880 eval "$as_ac_var=no"
29881 fi
29882 rm -f conftest.err conftest.$ac_objext \
29883       conftest$ac_exeext conftest.$ac_ext
29884 fi
29885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29887 if test `eval echo '${'$as_ac_var'}'` = yes; then
29888   cat >>confdefs.h <<_ACEOF
29889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29890 _ACEOF
29891
29892 fi
29893 done
29894
29895     fi
29896   fi
29897
29898
29899
29900
29901
29902
29903   echo "$as_me:$LINENO: checking for finitef declaration" >&5
29904 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
29905   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29906     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
29907   echo $ECHO_N "(cached) $ECHO_C" >&6
29908 else
29909
29910
29911
29912       ac_ext=cc
29913 ac_cpp='$CXXCPP $CPPFLAGS'
29914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29917
29918       cat >conftest.$ac_ext <<_ACEOF
29919 /* confdefs.h.  */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h.  */
29924 #include <math.h>
29925                       #ifdef HAVE_IEEEFP_H
29926                       #include <ieeefp.h>
29927                       #endif
29928
29929 int
29930 main ()
29931 {
29932  finitef(0);
29933   ;
29934   return 0;
29935 }
29936 _ACEOF
29937 rm -f conftest.$ac_objext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29939   (eval $ac_compile) 2>conftest.er1
29940   ac_status=$?
29941   grep -v '^ *+' conftest.er1 >conftest.err
29942   rm -f conftest.er1
29943   cat conftest.err >&5
29944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945   (exit $ac_status); } &&
29946          { ac_try='test -z "$ac_cxx_werror_flag"
29947                          || test ! -s conftest.err'
29948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949   (eval $ac_try) 2>&5
29950   ac_status=$?
29951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952   (exit $ac_status); }; } &&
29953          { ac_try='test -s conftest.$ac_objext'
29954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955   (eval $ac_try) 2>&5
29956   ac_status=$?
29957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958   (exit $ac_status); }; }; then
29959   glibcxx_cv_func_finitef_use=yes
29960 else
29961   echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.$ac_ext >&5
29963
29964 glibcxx_cv_func_finitef_use=no
29965 fi
29966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29967       ac_ext=c
29968 ac_cpp='$CPP $CPPFLAGS'
29969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29972
29973
29974 fi
29975
29976   fi
29977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
29978 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
29979
29980   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29981
29982 for ac_func in finitef
29983 do
29984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29985 echo "$as_me:$LINENO: checking for $ac_func" >&5
29986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29987 if eval "test \"\${$as_ac_var+set}\" = set"; then
29988   echo $ECHO_N "(cached) $ECHO_C" >&6
29989 else
29990   if test x$gcc_no_link = xyes; then
29991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29993    { (exit 1); exit 1; }; }
29994 fi
29995 cat >conftest.$ac_ext <<_ACEOF
29996 /* confdefs.h.  */
29997 _ACEOF
29998 cat confdefs.h >>conftest.$ac_ext
29999 cat >>conftest.$ac_ext <<_ACEOF
30000 /* end confdefs.h.  */
30001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30003 #define $ac_func innocuous_$ac_func
30004
30005 /* System header to define __stub macros and hopefully few prototypes,
30006     which can conflict with char $ac_func (); below.
30007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30008     <limits.h> exists even on freestanding compilers.  */
30009
30010 #ifdef __STDC__
30011 # include <limits.h>
30012 #else
30013 # include <assert.h>
30014 #endif
30015
30016 #undef $ac_func
30017
30018 /* Override any gcc2 internal prototype to avoid an error.  */
30019 #ifdef __cplusplus
30020 extern "C"
30021 {
30022 #endif
30023 /* We use char because int might match the return type of a gcc2
30024    builtin and then its argument prototype would still apply.  */
30025 char $ac_func ();
30026 /* The GNU C library defines this for functions which it implements
30027     to always fail with ENOSYS.  Some functions are actually named
30028     something starting with __ and the normal name is an alias.  */
30029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30030 choke me
30031 #else
30032 char (*f) () = $ac_func;
30033 #endif
30034 #ifdef __cplusplus
30035 }
30036 #endif
30037
30038 int
30039 main ()
30040 {
30041 return f != $ac_func;
30042   ;
30043   return 0;
30044 }
30045 _ACEOF
30046 rm -f conftest.$ac_objext conftest$ac_exeext
30047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30048   (eval $ac_link) 2>conftest.er1
30049   ac_status=$?
30050   grep -v '^ *+' conftest.er1 >conftest.err
30051   rm -f conftest.er1
30052   cat conftest.err >&5
30053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054   (exit $ac_status); } &&
30055          { ac_try='test -z "$ac_c_werror_flag"
30056                          || test ! -s conftest.err'
30057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058   (eval $ac_try) 2>&5
30059   ac_status=$?
30060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061   (exit $ac_status); }; } &&
30062          { ac_try='test -s conftest$ac_exeext'
30063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064   (eval $ac_try) 2>&5
30065   ac_status=$?
30066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067   (exit $ac_status); }; }; then
30068   eval "$as_ac_var=yes"
30069 else
30070   echo "$as_me: failed program was:" >&5
30071 sed 's/^/| /' conftest.$ac_ext >&5
30072
30073 eval "$as_ac_var=no"
30074 fi
30075 rm -f conftest.err conftest.$ac_objext \
30076       conftest$ac_exeext conftest.$ac_ext
30077 fi
30078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30080 if test `eval echo '${'$as_ac_var'}'` = yes; then
30081   cat >>confdefs.h <<_ACEOF
30082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30083 _ACEOF
30084
30085 fi
30086 done
30087
30088   else
30089
30090   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
30091 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
30092   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30093     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
30094   echo $ECHO_N "(cached) $ECHO_C" >&6
30095 else
30096
30097
30098
30099       ac_ext=cc
30100 ac_cpp='$CXXCPP $CPPFLAGS'
30101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30104
30105       cat >conftest.$ac_ext <<_ACEOF
30106 /* confdefs.h.  */
30107 _ACEOF
30108 cat confdefs.h >>conftest.$ac_ext
30109 cat >>conftest.$ac_ext <<_ACEOF
30110 /* end confdefs.h.  */
30111 #include <math.h>
30112                       #ifdef HAVE_IEEEFP_H
30113                       #include <ieeefp.h>
30114                       #endif
30115
30116 int
30117 main ()
30118 {
30119  _finitef(0);
30120   ;
30121   return 0;
30122 }
30123 _ACEOF
30124 rm -f conftest.$ac_objext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30126   (eval $ac_compile) 2>conftest.er1
30127   ac_status=$?
30128   grep -v '^ *+' conftest.er1 >conftest.err
30129   rm -f conftest.er1
30130   cat conftest.err >&5
30131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132   (exit $ac_status); } &&
30133          { ac_try='test -z "$ac_cxx_werror_flag"
30134                          || test ! -s conftest.err'
30135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136   (eval $ac_try) 2>&5
30137   ac_status=$?
30138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139   (exit $ac_status); }; } &&
30140          { ac_try='test -s conftest.$ac_objext'
30141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142   (eval $ac_try) 2>&5
30143   ac_status=$?
30144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145   (exit $ac_status); }; }; then
30146   glibcxx_cv_func__finitef_use=yes
30147 else
30148   echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30150
30151 glibcxx_cv_func__finitef_use=no
30152 fi
30153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30154       ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30159
30160
30161 fi
30162
30163   fi
30164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
30165 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
30166
30167     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30168
30169 for ac_func in _finitef
30170 do
30171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30172 echo "$as_me:$LINENO: checking for $ac_func" >&5
30173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30174 if eval "test \"\${$as_ac_var+set}\" = set"; then
30175   echo $ECHO_N "(cached) $ECHO_C" >&6
30176 else
30177   if test x$gcc_no_link = xyes; then
30178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30180    { (exit 1); exit 1; }; }
30181 fi
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h.  */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h.  */
30188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30190 #define $ac_func innocuous_$ac_func
30191
30192 /* System header to define __stub macros and hopefully few prototypes,
30193     which can conflict with char $ac_func (); below.
30194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195     <limits.h> exists even on freestanding compilers.  */
30196
30197 #ifdef __STDC__
30198 # include <limits.h>
30199 #else
30200 # include <assert.h>
30201 #endif
30202
30203 #undef $ac_func
30204
30205 /* Override any gcc2 internal prototype to avoid an error.  */
30206 #ifdef __cplusplus
30207 extern "C"
30208 {
30209 #endif
30210 /* We use char because int might match the return type of a gcc2
30211    builtin and then its argument prototype would still apply.  */
30212 char $ac_func ();
30213 /* The GNU C library defines this for functions which it implements
30214     to always fail with ENOSYS.  Some functions are actually named
30215     something starting with __ and the normal name is an alias.  */
30216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30217 choke me
30218 #else
30219 char (*f) () = $ac_func;
30220 #endif
30221 #ifdef __cplusplus
30222 }
30223 #endif
30224
30225 int
30226 main ()
30227 {
30228 return f != $ac_func;
30229   ;
30230   return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext conftest$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235   (eval $ac_link) 2>conftest.er1
30236   ac_status=$?
30237   grep -v '^ *+' conftest.er1 >conftest.err
30238   rm -f conftest.er1
30239   cat conftest.err >&5
30240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241   (exit $ac_status); } &&
30242          { ac_try='test -z "$ac_c_werror_flag"
30243                          || test ! -s conftest.err'
30244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245   (eval $ac_try) 2>&5
30246   ac_status=$?
30247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248   (exit $ac_status); }; } &&
30249          { ac_try='test -s conftest$ac_exeext'
30250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251   (eval $ac_try) 2>&5
30252   ac_status=$?
30253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254   (exit $ac_status); }; }; then
30255   eval "$as_ac_var=yes"
30256 else
30257   echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.$ac_ext >&5
30259
30260 eval "$as_ac_var=no"
30261 fi
30262 rm -f conftest.err conftest.$ac_objext \
30263       conftest$ac_exeext conftest.$ac_ext
30264 fi
30265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30267 if test `eval echo '${'$as_ac_var'}'` = yes; then
30268   cat >>confdefs.h <<_ACEOF
30269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30270 _ACEOF
30271
30272 fi
30273 done
30274
30275     fi
30276   fi
30277
30278
30279
30280
30281
30282
30283     echo "$as_me:$LINENO: checking for long double trig functions" >&5
30284 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
30285   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
30286   echo $ECHO_N "(cached) $ECHO_C" >&6
30287 else
30288
30289
30290
30291     ac_ext=cc
30292 ac_cpp='$CXXCPP $CPPFLAGS'
30293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30296
30297     cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h.  */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h.  */
30303 #include <math.h>
30304 int
30305 main ()
30306 {
30307 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30308   ;
30309   return 0;
30310 }
30311 _ACEOF
30312 rm -f conftest.$ac_objext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30314   (eval $ac_compile) 2>conftest.er1
30315   ac_status=$?
30316   grep -v '^ *+' conftest.er1 >conftest.err
30317   rm -f conftest.er1
30318   cat conftest.err >&5
30319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320   (exit $ac_status); } &&
30321          { ac_try='test -z "$ac_cxx_werror_flag"
30322                          || test ! -s conftest.err'
30323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324   (eval $ac_try) 2>&5
30325   ac_status=$?
30326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327   (exit $ac_status); }; } &&
30328          { ac_try='test -s conftest.$ac_objext'
30329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330   (eval $ac_try) 2>&5
30331   ac_status=$?
30332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333   (exit $ac_status); }; }; then
30334   glibcxx_cv_func_long_double_trig_use=yes
30335 else
30336   echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30338
30339 glibcxx_cv_func_long_double_trig_use=no
30340 fi
30341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30342     ac_ext=c
30343 ac_cpp='$CPP $CPPFLAGS'
30344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30347
30348 fi
30349
30350   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
30351 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
30352   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30363 do
30364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30365 echo "$as_me:$LINENO: checking for $ac_func" >&5
30366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30367 if eval "test \"\${$as_ac_var+set}\" = set"; then
30368   echo $ECHO_N "(cached) $ECHO_C" >&6
30369 else
30370   if test x$gcc_no_link = xyes; then
30371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30373    { (exit 1); exit 1; }; }
30374 fi
30375 cat >conftest.$ac_ext <<_ACEOF
30376 /* confdefs.h.  */
30377 _ACEOF
30378 cat confdefs.h >>conftest.$ac_ext
30379 cat >>conftest.$ac_ext <<_ACEOF
30380 /* end confdefs.h.  */
30381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30383 #define $ac_func innocuous_$ac_func
30384
30385 /* System header to define __stub macros and hopefully few prototypes,
30386     which can conflict with char $ac_func (); below.
30387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30388     <limits.h> exists even on freestanding compilers.  */
30389
30390 #ifdef __STDC__
30391 # include <limits.h>
30392 #else
30393 # include <assert.h>
30394 #endif
30395
30396 #undef $ac_func
30397
30398 /* Override any gcc2 internal prototype to avoid an error.  */
30399 #ifdef __cplusplus
30400 extern "C"
30401 {
30402 #endif
30403 /* We use char because int might match the return type of a gcc2
30404    builtin and then its argument prototype would still apply.  */
30405 char $ac_func ();
30406 /* The GNU C library defines this for functions which it implements
30407     to always fail with ENOSYS.  Some functions are actually named
30408     something starting with __ and the normal name is an alias.  */
30409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30410 choke me
30411 #else
30412 char (*f) () = $ac_func;
30413 #endif
30414 #ifdef __cplusplus
30415 }
30416 #endif
30417
30418 int
30419 main ()
30420 {
30421 return f != $ac_func;
30422   ;
30423   return 0;
30424 }
30425 _ACEOF
30426 rm -f conftest.$ac_objext conftest$ac_exeext
30427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30428   (eval $ac_link) 2>conftest.er1
30429   ac_status=$?
30430   grep -v '^ *+' conftest.er1 >conftest.err
30431   rm -f conftest.er1
30432   cat conftest.err >&5
30433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434   (exit $ac_status); } &&
30435          { ac_try='test -z "$ac_c_werror_flag"
30436                          || test ! -s conftest.err'
30437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30438   (eval $ac_try) 2>&5
30439   ac_status=$?
30440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441   (exit $ac_status); }; } &&
30442          { ac_try='test -s conftest$ac_exeext'
30443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30444   (eval $ac_try) 2>&5
30445   ac_status=$?
30446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447   (exit $ac_status); }; }; then
30448   eval "$as_ac_var=yes"
30449 else
30450   echo "$as_me: failed program was:" >&5
30451 sed 's/^/| /' conftest.$ac_ext >&5
30452
30453 eval "$as_ac_var=no"
30454 fi
30455 rm -f conftest.err conftest.$ac_objext \
30456       conftest$ac_exeext conftest.$ac_ext
30457 fi
30458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30460 if test `eval echo '${'$as_ac_var'}'` = yes; then
30461   cat >>confdefs.h <<_ACEOF
30462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30463 _ACEOF
30464
30465 fi
30466 done
30467
30468   else
30469     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
30470 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
30471     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
30472   echo $ECHO_N "(cached) $ECHO_C" >&6
30473 else
30474
30475
30476
30477       ac_ext=cc
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30482
30483       cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h.  */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h.  */
30489 #include <math.h>
30490 int
30491 main ()
30492 {
30493 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30494   ;
30495   return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30500   (eval $ac_compile) 2>conftest.er1
30501   ac_status=$?
30502   grep -v '^ *+' conftest.er1 >conftest.err
30503   rm -f conftest.er1
30504   cat conftest.err >&5
30505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506   (exit $ac_status); } &&
30507          { ac_try='test -z "$ac_cxx_werror_flag"
30508                          || test ! -s conftest.err'
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); }; } &&
30514          { ac_try='test -s conftest.$ac_objext'
30515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516   (eval $ac_try) 2>&5
30517   ac_status=$?
30518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519   (exit $ac_status); }; }; then
30520   glibcxx_cv_func__long_double_trig_use=yes
30521 else
30522   echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 glibcxx_cv_func__long_double_trig_use=no
30526 fi
30527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30528       ac_ext=c
30529 ac_cpp='$CPP $CPPFLAGS'
30530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30533
30534 fi
30535
30536     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
30537 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
30538     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30549 do
30550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30551 echo "$as_me:$LINENO: checking for $ac_func" >&5
30552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30553 if eval "test \"\${$as_ac_var+set}\" = set"; then
30554   echo $ECHO_N "(cached) $ECHO_C" >&6
30555 else
30556   if test x$gcc_no_link = xyes; then
30557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30559    { (exit 1); exit 1; }; }
30560 fi
30561 cat >conftest.$ac_ext <<_ACEOF
30562 /* confdefs.h.  */
30563 _ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h.  */
30567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30569 #define $ac_func innocuous_$ac_func
30570
30571 /* System header to define __stub macros and hopefully few prototypes,
30572     which can conflict with char $ac_func (); below.
30573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574     <limits.h> exists even on freestanding compilers.  */
30575
30576 #ifdef __STDC__
30577 # include <limits.h>
30578 #else
30579 # include <assert.h>
30580 #endif
30581
30582 #undef $ac_func
30583
30584 /* Override any gcc2 internal prototype to avoid an error.  */
30585 #ifdef __cplusplus
30586 extern "C"
30587 {
30588 #endif
30589 /* We use char because int might match the return type of a gcc2
30590    builtin and then its argument prototype would still apply.  */
30591 char $ac_func ();
30592 /* The GNU C library defines this for functions which it implements
30593     to always fail with ENOSYS.  Some functions are actually named
30594     something starting with __ and the normal name is an alias.  */
30595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30596 choke me
30597 #else
30598 char (*f) () = $ac_func;
30599 #endif
30600 #ifdef __cplusplus
30601 }
30602 #endif
30603
30604 int
30605 main ()
30606 {
30607 return f != $ac_func;
30608   ;
30609   return 0;
30610 }
30611 _ACEOF
30612 rm -f conftest.$ac_objext conftest$ac_exeext
30613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614   (eval $ac_link) 2>conftest.er1
30615   ac_status=$?
30616   grep -v '^ *+' conftest.er1 >conftest.err
30617   rm -f conftest.er1
30618   cat conftest.err >&5
30619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620   (exit $ac_status); } &&
30621          { ac_try='test -z "$ac_c_werror_flag"
30622                          || test ! -s conftest.err'
30623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624   (eval $ac_try) 2>&5
30625   ac_status=$?
30626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627   (exit $ac_status); }; } &&
30628          { ac_try='test -s conftest$ac_exeext'
30629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630   (eval $ac_try) 2>&5
30631   ac_status=$?
30632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633   (exit $ac_status); }; }; then
30634   eval "$as_ac_var=yes"
30635 else
30636   echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30638
30639 eval "$as_ac_var=no"
30640 fi
30641 rm -f conftest.err conftest.$ac_objext \
30642       conftest$ac_exeext conftest.$ac_ext
30643 fi
30644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30646 if test `eval echo '${'$as_ac_var'}'` = yes; then
30647   cat >>confdefs.h <<_ACEOF
30648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30649 _ACEOF
30650
30651 fi
30652 done
30653
30654     fi
30655   fi
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670     echo "$as_me:$LINENO: checking for long double round functions" >&5
30671 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
30672   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
30673   echo $ECHO_N "(cached) $ECHO_C" >&6
30674 else
30675
30676
30677
30678     ac_ext=cc
30679 ac_cpp='$CXXCPP $CPPFLAGS'
30680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683
30684     cat >conftest.$ac_ext <<_ACEOF
30685 /* confdefs.h.  */
30686 _ACEOF
30687 cat confdefs.h >>conftest.$ac_ext
30688 cat >>conftest.$ac_ext <<_ACEOF
30689 /* end confdefs.h.  */
30690 #include <math.h>
30691 int
30692 main ()
30693 {
30694 ceill (0); floorl (0);
30695   ;
30696   return 0;
30697 }
30698 _ACEOF
30699 rm -f conftest.$ac_objext
30700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30701   (eval $ac_compile) 2>conftest.er1
30702   ac_status=$?
30703   grep -v '^ *+' conftest.er1 >conftest.err
30704   rm -f conftest.er1
30705   cat conftest.err >&5
30706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707   (exit $ac_status); } &&
30708          { ac_try='test -z "$ac_cxx_werror_flag"
30709                          || test ! -s conftest.err'
30710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711   (eval $ac_try) 2>&5
30712   ac_status=$?
30713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714   (exit $ac_status); }; } &&
30715          { ac_try='test -s conftest.$ac_objext'
30716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717   (eval $ac_try) 2>&5
30718   ac_status=$?
30719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720   (exit $ac_status); }; }; then
30721   glibcxx_cv_func_long_double_round_use=yes
30722 else
30723   echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.$ac_ext >&5
30725
30726 glibcxx_cv_func_long_double_round_use=no
30727 fi
30728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30729     ac_ext=c
30730 ac_cpp='$CPP $CPPFLAGS'
30731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30734
30735 fi
30736
30737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
30738 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
30739   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30740
30741
30742 for ac_func in ceill floorl
30743 do
30744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30745 echo "$as_me:$LINENO: checking for $ac_func" >&5
30746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30747 if eval "test \"\${$as_ac_var+set}\" = set"; then
30748   echo $ECHO_N "(cached) $ECHO_C" >&6
30749 else
30750   if test x$gcc_no_link = xyes; then
30751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30753    { (exit 1); exit 1; }; }
30754 fi
30755 cat >conftest.$ac_ext <<_ACEOF
30756 /* confdefs.h.  */
30757 _ACEOF
30758 cat confdefs.h >>conftest.$ac_ext
30759 cat >>conftest.$ac_ext <<_ACEOF
30760 /* end confdefs.h.  */
30761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30763 #define $ac_func innocuous_$ac_func
30764
30765 /* System header to define __stub macros and hopefully few prototypes,
30766     which can conflict with char $ac_func (); below.
30767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768     <limits.h> exists even on freestanding compilers.  */
30769
30770 #ifdef __STDC__
30771 # include <limits.h>
30772 #else
30773 # include <assert.h>
30774 #endif
30775
30776 #undef $ac_func
30777
30778 /* Override any gcc2 internal prototype to avoid an error.  */
30779 #ifdef __cplusplus
30780 extern "C"
30781 {
30782 #endif
30783 /* We use char because int might match the return type of a gcc2
30784    builtin and then its argument prototype would still apply.  */
30785 char $ac_func ();
30786 /* The GNU C library defines this for functions which it implements
30787     to always fail with ENOSYS.  Some functions are actually named
30788     something starting with __ and the normal name is an alias.  */
30789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30790 choke me
30791 #else
30792 char (*f) () = $ac_func;
30793 #endif
30794 #ifdef __cplusplus
30795 }
30796 #endif
30797
30798 int
30799 main ()
30800 {
30801 return f != $ac_func;
30802   ;
30803   return 0;
30804 }
30805 _ACEOF
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808   (eval $ac_link) 2>conftest.er1
30809   ac_status=$?
30810   grep -v '^ *+' conftest.er1 >conftest.err
30811   rm -f conftest.er1
30812   cat conftest.err >&5
30813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814   (exit $ac_status); } &&
30815          { ac_try='test -z "$ac_c_werror_flag"
30816                          || test ! -s conftest.err'
30817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818   (eval $ac_try) 2>&5
30819   ac_status=$?
30820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821   (exit $ac_status); }; } &&
30822          { ac_try='test -s conftest$ac_exeext'
30823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824   (eval $ac_try) 2>&5
30825   ac_status=$?
30826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827   (exit $ac_status); }; }; then
30828   eval "$as_ac_var=yes"
30829 else
30830   echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30832
30833 eval "$as_ac_var=no"
30834 fi
30835 rm -f conftest.err conftest.$ac_objext \
30836       conftest$ac_exeext conftest.$ac_ext
30837 fi
30838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30840 if test `eval echo '${'$as_ac_var'}'` = yes; then
30841   cat >>confdefs.h <<_ACEOF
30842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30843 _ACEOF
30844
30845 fi
30846 done
30847
30848   else
30849     echo "$as_me:$LINENO: checking for _long double round functions" >&5
30850 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
30851     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
30852   echo $ECHO_N "(cached) $ECHO_C" >&6
30853 else
30854
30855
30856
30857       ac_ext=cc
30858 ac_cpp='$CXXCPP $CPPFLAGS'
30859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30862
30863       cat >conftest.$ac_ext <<_ACEOF
30864 /* confdefs.h.  */
30865 _ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h.  */
30869 #include <math.h>
30870 int
30871 main ()
30872 {
30873 _ceill (0); _floorl (0);
30874   ;
30875   return 0;
30876 }
30877 _ACEOF
30878 rm -f conftest.$ac_objext
30879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30880   (eval $ac_compile) 2>conftest.er1
30881   ac_status=$?
30882   grep -v '^ *+' conftest.er1 >conftest.err
30883   rm -f conftest.er1
30884   cat conftest.err >&5
30885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886   (exit $ac_status); } &&
30887          { ac_try='test -z "$ac_cxx_werror_flag"
30888                          || test ! -s conftest.err'
30889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890   (eval $ac_try) 2>&5
30891   ac_status=$?
30892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893   (exit $ac_status); }; } &&
30894          { ac_try='test -s conftest.$ac_objext'
30895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896   (eval $ac_try) 2>&5
30897   ac_status=$?
30898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899   (exit $ac_status); }; }; then
30900   glibcxx_cv_func__long_double_round_use=yes
30901 else
30902   echo "$as_me: failed program was:" >&5
30903 sed 's/^/| /' conftest.$ac_ext >&5
30904
30905 glibcxx_cv_func__long_double_round_use=no
30906 fi
30907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30908       ac_ext=c
30909 ac_cpp='$CPP $CPPFLAGS'
30910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30913
30914 fi
30915
30916     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
30917 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
30918     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30919
30920
30921 for ac_func in _ceill _floorl
30922 do
30923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30924 echo "$as_me:$LINENO: checking for $ac_func" >&5
30925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30926 if eval "test \"\${$as_ac_var+set}\" = set"; then
30927   echo $ECHO_N "(cached) $ECHO_C" >&6
30928 else
30929   if test x$gcc_no_link = xyes; then
30930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30932    { (exit 1); exit 1; }; }
30933 fi
30934 cat >conftest.$ac_ext <<_ACEOF
30935 /* confdefs.h.  */
30936 _ACEOF
30937 cat confdefs.h >>conftest.$ac_ext
30938 cat >>conftest.$ac_ext <<_ACEOF
30939 /* end confdefs.h.  */
30940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30942 #define $ac_func innocuous_$ac_func
30943
30944 /* System header to define __stub macros and hopefully few prototypes,
30945     which can conflict with char $ac_func (); below.
30946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30947     <limits.h> exists even on freestanding compilers.  */
30948
30949 #ifdef __STDC__
30950 # include <limits.h>
30951 #else
30952 # include <assert.h>
30953 #endif
30954
30955 #undef $ac_func
30956
30957 /* Override any gcc2 internal prototype to avoid an error.  */
30958 #ifdef __cplusplus
30959 extern "C"
30960 {
30961 #endif
30962 /* We use char because int might match the return type of a gcc2
30963    builtin and then its argument prototype would still apply.  */
30964 char $ac_func ();
30965 /* The GNU C library defines this for functions which it implements
30966     to always fail with ENOSYS.  Some functions are actually named
30967     something starting with __ and the normal name is an alias.  */
30968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30969 choke me
30970 #else
30971 char (*f) () = $ac_func;
30972 #endif
30973 #ifdef __cplusplus
30974 }
30975 #endif
30976
30977 int
30978 main ()
30979 {
30980 return f != $ac_func;
30981   ;
30982   return 0;
30983 }
30984 _ACEOF
30985 rm -f conftest.$ac_objext conftest$ac_exeext
30986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30987   (eval $ac_link) 2>conftest.er1
30988   ac_status=$?
30989   grep -v '^ *+' conftest.er1 >conftest.err
30990   rm -f conftest.er1
30991   cat conftest.err >&5
30992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993   (exit $ac_status); } &&
30994          { ac_try='test -z "$ac_c_werror_flag"
30995                          || test ! -s conftest.err'
30996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997   (eval $ac_try) 2>&5
30998   ac_status=$?
30999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000   (exit $ac_status); }; } &&
31001          { ac_try='test -s conftest$ac_exeext'
31002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31003   (eval $ac_try) 2>&5
31004   ac_status=$?
31005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006   (exit $ac_status); }; }; then
31007   eval "$as_ac_var=yes"
31008 else
31009   echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.$ac_ext >&5
31011
31012 eval "$as_ac_var=no"
31013 fi
31014 rm -f conftest.err conftest.$ac_objext \
31015       conftest$ac_exeext conftest.$ac_ext
31016 fi
31017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31019 if test `eval echo '${'$as_ac_var'}'` = yes; then
31020   cat >>confdefs.h <<_ACEOF
31021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31022 _ACEOF
31023
31024 fi
31025 done
31026
31027     fi
31028   fi
31029
31030
31031
31032
31033
31034
31035
31036
31037   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
31038 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
31039   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31040     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
31041   echo $ECHO_N "(cached) $ECHO_C" >&6
31042 else
31043
31044
31045
31046       ac_ext=cc
31047 ac_cpp='$CXXCPP $CPPFLAGS'
31048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31051
31052       cat >conftest.$ac_ext <<_ACEOF
31053 /* confdefs.h.  */
31054 _ACEOF
31055 cat confdefs.h >>conftest.$ac_ext
31056 cat >>conftest.$ac_ext <<_ACEOF
31057 /* end confdefs.h.  */
31058 #include <math.h>
31059                       #ifdef HAVE_IEEEFP_H
31060                       #include <ieeefp.h>
31061                       #endif
31062
31063 int
31064 main ()
31065 {
31066  isnanl(0);
31067   ;
31068   return 0;
31069 }
31070 _ACEOF
31071 rm -f conftest.$ac_objext
31072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31073   (eval $ac_compile) 2>conftest.er1
31074   ac_status=$?
31075   grep -v '^ *+' conftest.er1 >conftest.err
31076   rm -f conftest.er1
31077   cat conftest.err >&5
31078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079   (exit $ac_status); } &&
31080          { ac_try='test -z "$ac_cxx_werror_flag"
31081                          || test ! -s conftest.err'
31082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31083   (eval $ac_try) 2>&5
31084   ac_status=$?
31085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086   (exit $ac_status); }; } &&
31087          { ac_try='test -s conftest.$ac_objext'
31088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31089   (eval $ac_try) 2>&5
31090   ac_status=$?
31091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092   (exit $ac_status); }; }; then
31093   glibcxx_cv_func_isnanl_use=yes
31094 else
31095   echo "$as_me: failed program was:" >&5
31096 sed 's/^/| /' conftest.$ac_ext >&5
31097
31098 glibcxx_cv_func_isnanl_use=no
31099 fi
31100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31101       ac_ext=c
31102 ac_cpp='$CPP $CPPFLAGS'
31103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31106
31107
31108 fi
31109
31110   fi
31111   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
31112 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
31113
31114   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31115
31116 for ac_func in isnanl
31117 do
31118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31119 echo "$as_me:$LINENO: checking for $ac_func" >&5
31120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31121 if eval "test \"\${$as_ac_var+set}\" = set"; then
31122   echo $ECHO_N "(cached) $ECHO_C" >&6
31123 else
31124   if test x$gcc_no_link = xyes; then
31125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31127    { (exit 1); exit 1; }; }
31128 fi
31129 cat >conftest.$ac_ext <<_ACEOF
31130 /* confdefs.h.  */
31131 _ACEOF
31132 cat confdefs.h >>conftest.$ac_ext
31133 cat >>conftest.$ac_ext <<_ACEOF
31134 /* end confdefs.h.  */
31135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31137 #define $ac_func innocuous_$ac_func
31138
31139 /* System header to define __stub macros and hopefully few prototypes,
31140     which can conflict with char $ac_func (); below.
31141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142     <limits.h> exists even on freestanding compilers.  */
31143
31144 #ifdef __STDC__
31145 # include <limits.h>
31146 #else
31147 # include <assert.h>
31148 #endif
31149
31150 #undef $ac_func
31151
31152 /* Override any gcc2 internal prototype to avoid an error.  */
31153 #ifdef __cplusplus
31154 extern "C"
31155 {
31156 #endif
31157 /* We use char because int might match the return type of a gcc2
31158    builtin and then its argument prototype would still apply.  */
31159 char $ac_func ();
31160 /* The GNU C library defines this for functions which it implements
31161     to always fail with ENOSYS.  Some functions are actually named
31162     something starting with __ and the normal name is an alias.  */
31163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31164 choke me
31165 #else
31166 char (*f) () = $ac_func;
31167 #endif
31168 #ifdef __cplusplus
31169 }
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 return f != $ac_func;
31176   ;
31177   return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182   (eval $ac_link) 2>conftest.er1
31183   ac_status=$?
31184   grep -v '^ *+' conftest.er1 >conftest.err
31185   rm -f conftest.er1
31186   cat conftest.err >&5
31187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188   (exit $ac_status); } &&
31189          { ac_try='test -z "$ac_c_werror_flag"
31190                          || test ! -s conftest.err'
31191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192   (eval $ac_try) 2>&5
31193   ac_status=$?
31194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195   (exit $ac_status); }; } &&
31196          { ac_try='test -s conftest$ac_exeext'
31197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198   (eval $ac_try) 2>&5
31199   ac_status=$?
31200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201   (exit $ac_status); }; }; then
31202   eval "$as_ac_var=yes"
31203 else
31204   echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.$ac_ext >&5
31206
31207 eval "$as_ac_var=no"
31208 fi
31209 rm -f conftest.err conftest.$ac_objext \
31210       conftest$ac_exeext conftest.$ac_ext
31211 fi
31212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31214 if test `eval echo '${'$as_ac_var'}'` = yes; then
31215   cat >>confdefs.h <<_ACEOF
31216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31217 _ACEOF
31218
31219 fi
31220 done
31221
31222   else
31223
31224   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
31225 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
31226   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31227     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
31228   echo $ECHO_N "(cached) $ECHO_C" >&6
31229 else
31230
31231
31232
31233       ac_ext=cc
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239       cat >conftest.$ac_ext <<_ACEOF
31240 /* confdefs.h.  */
31241 _ACEOF
31242 cat confdefs.h >>conftest.$ac_ext
31243 cat >>conftest.$ac_ext <<_ACEOF
31244 /* end confdefs.h.  */
31245 #include <math.h>
31246                       #ifdef HAVE_IEEEFP_H
31247                       #include <ieeefp.h>
31248                       #endif
31249
31250 int
31251 main ()
31252 {
31253  _isnanl(0);
31254   ;
31255   return 0;
31256 }
31257 _ACEOF
31258 rm -f conftest.$ac_objext
31259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31260   (eval $ac_compile) 2>conftest.er1
31261   ac_status=$?
31262   grep -v '^ *+' conftest.er1 >conftest.err
31263   rm -f conftest.er1
31264   cat conftest.err >&5
31265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266   (exit $ac_status); } &&
31267          { ac_try='test -z "$ac_cxx_werror_flag"
31268                          || test ! -s conftest.err'
31269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270   (eval $ac_try) 2>&5
31271   ac_status=$?
31272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273   (exit $ac_status); }; } &&
31274          { ac_try='test -s conftest.$ac_objext'
31275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31276   (eval $ac_try) 2>&5
31277   ac_status=$?
31278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279   (exit $ac_status); }; }; then
31280   glibcxx_cv_func__isnanl_use=yes
31281 else
31282   echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.$ac_ext >&5
31284
31285 glibcxx_cv_func__isnanl_use=no
31286 fi
31287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31288       ac_ext=c
31289 ac_cpp='$CPP $CPPFLAGS'
31290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31293
31294
31295 fi
31296
31297   fi
31298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
31299 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
31300
31301     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31302
31303 for ac_func in _isnanl
31304 do
31305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31306 echo "$as_me:$LINENO: checking for $ac_func" >&5
31307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31308 if eval "test \"\${$as_ac_var+set}\" = set"; then
31309   echo $ECHO_N "(cached) $ECHO_C" >&6
31310 else
31311   if test x$gcc_no_link = xyes; then
31312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31314    { (exit 1); exit 1; }; }
31315 fi
31316 cat >conftest.$ac_ext <<_ACEOF
31317 /* confdefs.h.  */
31318 _ACEOF
31319 cat confdefs.h >>conftest.$ac_ext
31320 cat >>conftest.$ac_ext <<_ACEOF
31321 /* end confdefs.h.  */
31322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31324 #define $ac_func innocuous_$ac_func
31325
31326 /* System header to define __stub macros and hopefully few prototypes,
31327     which can conflict with char $ac_func (); below.
31328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31329     <limits.h> exists even on freestanding compilers.  */
31330
31331 #ifdef __STDC__
31332 # include <limits.h>
31333 #else
31334 # include <assert.h>
31335 #endif
31336
31337 #undef $ac_func
31338
31339 /* Override any gcc2 internal prototype to avoid an error.  */
31340 #ifdef __cplusplus
31341 extern "C"
31342 {
31343 #endif
31344 /* We use char because int might match the return type of a gcc2
31345    builtin and then its argument prototype would still apply.  */
31346 char $ac_func ();
31347 /* The GNU C library defines this for functions which it implements
31348     to always fail with ENOSYS.  Some functions are actually named
31349     something starting with __ and the normal name is an alias.  */
31350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31351 choke me
31352 #else
31353 char (*f) () = $ac_func;
31354 #endif
31355 #ifdef __cplusplus
31356 }
31357 #endif
31358
31359 int
31360 main ()
31361 {
31362 return f != $ac_func;
31363   ;
31364   return 0;
31365 }
31366 _ACEOF
31367 rm -f conftest.$ac_objext conftest$ac_exeext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31369   (eval $ac_link) 2>conftest.er1
31370   ac_status=$?
31371   grep -v '^ *+' conftest.er1 >conftest.err
31372   rm -f conftest.er1
31373   cat conftest.err >&5
31374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375   (exit $ac_status); } &&
31376          { ac_try='test -z "$ac_c_werror_flag"
31377                          || test ! -s conftest.err'
31378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31379   (eval $ac_try) 2>&5
31380   ac_status=$?
31381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382   (exit $ac_status); }; } &&
31383          { ac_try='test -s conftest$ac_exeext'
31384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385   (eval $ac_try) 2>&5
31386   ac_status=$?
31387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388   (exit $ac_status); }; }; then
31389   eval "$as_ac_var=yes"
31390 else
31391   echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31393
31394 eval "$as_ac_var=no"
31395 fi
31396 rm -f conftest.err conftest.$ac_objext \
31397       conftest$ac_exeext conftest.$ac_ext
31398 fi
31399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31401 if test `eval echo '${'$as_ac_var'}'` = yes; then
31402   cat >>confdefs.h <<_ACEOF
31403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31404 _ACEOF
31405
31406 fi
31407 done
31408
31409     fi
31410   fi
31411
31412
31413
31414
31415
31416
31417   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
31418 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
31419   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31420     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
31421   echo $ECHO_N "(cached) $ECHO_C" >&6
31422 else
31423
31424
31425
31426       ac_ext=cc
31427 ac_cpp='$CXXCPP $CPPFLAGS'
31428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31431
31432       cat >conftest.$ac_ext <<_ACEOF
31433 /* confdefs.h.  */
31434 _ACEOF
31435 cat confdefs.h >>conftest.$ac_ext
31436 cat >>conftest.$ac_ext <<_ACEOF
31437 /* end confdefs.h.  */
31438 #include <math.h>
31439                       #ifdef HAVE_IEEEFP_H
31440                       #include <ieeefp.h>
31441                       #endif
31442
31443 int
31444 main ()
31445 {
31446  isinfl(0);
31447   ;
31448   return 0;
31449 }
31450 _ACEOF
31451 rm -f conftest.$ac_objext
31452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31453   (eval $ac_compile) 2>conftest.er1
31454   ac_status=$?
31455   grep -v '^ *+' conftest.er1 >conftest.err
31456   rm -f conftest.er1
31457   cat conftest.err >&5
31458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459   (exit $ac_status); } &&
31460          { ac_try='test -z "$ac_cxx_werror_flag"
31461                          || test ! -s conftest.err'
31462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31463   (eval $ac_try) 2>&5
31464   ac_status=$?
31465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466   (exit $ac_status); }; } &&
31467          { ac_try='test -s conftest.$ac_objext'
31468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469   (eval $ac_try) 2>&5
31470   ac_status=$?
31471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472   (exit $ac_status); }; }; then
31473   glibcxx_cv_func_isinfl_use=yes
31474 else
31475   echo "$as_me: failed program was:" >&5
31476 sed 's/^/| /' conftest.$ac_ext >&5
31477
31478 glibcxx_cv_func_isinfl_use=no
31479 fi
31480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31481       ac_ext=c
31482 ac_cpp='$CPP $CPPFLAGS'
31483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31486
31487
31488 fi
31489
31490   fi
31491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
31492 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
31493
31494   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31495
31496 for ac_func in isinfl
31497 do
31498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31499 echo "$as_me:$LINENO: checking for $ac_func" >&5
31500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31501 if eval "test \"\${$as_ac_var+set}\" = set"; then
31502   echo $ECHO_N "(cached) $ECHO_C" >&6
31503 else
31504   if test x$gcc_no_link = xyes; then
31505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31507    { (exit 1); exit 1; }; }
31508 fi
31509 cat >conftest.$ac_ext <<_ACEOF
31510 /* confdefs.h.  */
31511 _ACEOF
31512 cat confdefs.h >>conftest.$ac_ext
31513 cat >>conftest.$ac_ext <<_ACEOF
31514 /* end confdefs.h.  */
31515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31517 #define $ac_func innocuous_$ac_func
31518
31519 /* System header to define __stub macros and hopefully few prototypes,
31520     which can conflict with char $ac_func (); below.
31521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31522     <limits.h> exists even on freestanding compilers.  */
31523
31524 #ifdef __STDC__
31525 # include <limits.h>
31526 #else
31527 # include <assert.h>
31528 #endif
31529
31530 #undef $ac_func
31531
31532 /* Override any gcc2 internal prototype to avoid an error.  */
31533 #ifdef __cplusplus
31534 extern "C"
31535 {
31536 #endif
31537 /* We use char because int might match the return type of a gcc2
31538    builtin and then its argument prototype would still apply.  */
31539 char $ac_func ();
31540 /* The GNU C library defines this for functions which it implements
31541     to always fail with ENOSYS.  Some functions are actually named
31542     something starting with __ and the normal name is an alias.  */
31543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31544 choke me
31545 #else
31546 char (*f) () = $ac_func;
31547 #endif
31548 #ifdef __cplusplus
31549 }
31550 #endif
31551
31552 int
31553 main ()
31554 {
31555 return f != $ac_func;
31556   ;
31557   return 0;
31558 }
31559 _ACEOF
31560 rm -f conftest.$ac_objext conftest$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562   (eval $ac_link) 2>conftest.er1
31563   ac_status=$?
31564   grep -v '^ *+' conftest.er1 >conftest.err
31565   rm -f conftest.er1
31566   cat conftest.err >&5
31567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568   (exit $ac_status); } &&
31569          { ac_try='test -z "$ac_c_werror_flag"
31570                          || test ! -s conftest.err'
31571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31572   (eval $ac_try) 2>&5
31573   ac_status=$?
31574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575   (exit $ac_status); }; } &&
31576          { ac_try='test -s conftest$ac_exeext'
31577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578   (eval $ac_try) 2>&5
31579   ac_status=$?
31580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581   (exit $ac_status); }; }; then
31582   eval "$as_ac_var=yes"
31583 else
31584   echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31586
31587 eval "$as_ac_var=no"
31588 fi
31589 rm -f conftest.err conftest.$ac_objext \
31590       conftest$ac_exeext conftest.$ac_ext
31591 fi
31592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31594 if test `eval echo '${'$as_ac_var'}'` = yes; then
31595   cat >>confdefs.h <<_ACEOF
31596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31597 _ACEOF
31598
31599 fi
31600 done
31601
31602   else
31603
31604   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
31605 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
31606   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31607     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
31608   echo $ECHO_N "(cached) $ECHO_C" >&6
31609 else
31610
31611
31612
31613       ac_ext=cc
31614 ac_cpp='$CXXCPP $CPPFLAGS'
31615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31618
31619       cat >conftest.$ac_ext <<_ACEOF
31620 /* confdefs.h.  */
31621 _ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h.  */
31625 #include <math.h>
31626                       #ifdef HAVE_IEEEFP_H
31627                       #include <ieeefp.h>
31628                       #endif
31629
31630 int
31631 main ()
31632 {
31633  _isinfl(0);
31634   ;
31635   return 0;
31636 }
31637 _ACEOF
31638 rm -f conftest.$ac_objext
31639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31640   (eval $ac_compile) 2>conftest.er1
31641   ac_status=$?
31642   grep -v '^ *+' conftest.er1 >conftest.err
31643   rm -f conftest.er1
31644   cat conftest.err >&5
31645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646   (exit $ac_status); } &&
31647          { ac_try='test -z "$ac_cxx_werror_flag"
31648                          || test ! -s conftest.err'
31649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31650   (eval $ac_try) 2>&5
31651   ac_status=$?
31652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653   (exit $ac_status); }; } &&
31654          { ac_try='test -s conftest.$ac_objext'
31655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31656   (eval $ac_try) 2>&5
31657   ac_status=$?
31658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659   (exit $ac_status); }; }; then
31660   glibcxx_cv_func__isinfl_use=yes
31661 else
31662   echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.$ac_ext >&5
31664
31665 glibcxx_cv_func__isinfl_use=no
31666 fi
31667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31668       ac_ext=c
31669 ac_cpp='$CPP $CPPFLAGS'
31670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31673
31674
31675 fi
31676
31677   fi
31678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
31679 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
31680
31681     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31682
31683 for ac_func in _isinfl
31684 do
31685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31686 echo "$as_me:$LINENO: checking for $ac_func" >&5
31687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31688 if eval "test \"\${$as_ac_var+set}\" = set"; then
31689   echo $ECHO_N "(cached) $ECHO_C" >&6
31690 else
31691   if test x$gcc_no_link = xyes; then
31692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31694    { (exit 1); exit 1; }; }
31695 fi
31696 cat >conftest.$ac_ext <<_ACEOF
31697 /* confdefs.h.  */
31698 _ACEOF
31699 cat confdefs.h >>conftest.$ac_ext
31700 cat >>conftest.$ac_ext <<_ACEOF
31701 /* end confdefs.h.  */
31702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31704 #define $ac_func innocuous_$ac_func
31705
31706 /* System header to define __stub macros and hopefully few prototypes,
31707     which can conflict with char $ac_func (); below.
31708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31709     <limits.h> exists even on freestanding compilers.  */
31710
31711 #ifdef __STDC__
31712 # include <limits.h>
31713 #else
31714 # include <assert.h>
31715 #endif
31716
31717 #undef $ac_func
31718
31719 /* Override any gcc2 internal prototype to avoid an error.  */
31720 #ifdef __cplusplus
31721 extern "C"
31722 {
31723 #endif
31724 /* We use char because int might match the return type of a gcc2
31725    builtin and then its argument prototype would still apply.  */
31726 char $ac_func ();
31727 /* The GNU C library defines this for functions which it implements
31728     to always fail with ENOSYS.  Some functions are actually named
31729     something starting with __ and the normal name is an alias.  */
31730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31731 choke me
31732 #else
31733 char (*f) () = $ac_func;
31734 #endif
31735 #ifdef __cplusplus
31736 }
31737 #endif
31738
31739 int
31740 main ()
31741 {
31742 return f != $ac_func;
31743   ;
31744   return 0;
31745 }
31746 _ACEOF
31747 rm -f conftest.$ac_objext conftest$ac_exeext
31748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31749   (eval $ac_link) 2>conftest.er1
31750   ac_status=$?
31751   grep -v '^ *+' conftest.er1 >conftest.err
31752   rm -f conftest.er1
31753   cat conftest.err >&5
31754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755   (exit $ac_status); } &&
31756          { ac_try='test -z "$ac_c_werror_flag"
31757                          || test ! -s conftest.err'
31758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759   (eval $ac_try) 2>&5
31760   ac_status=$?
31761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762   (exit $ac_status); }; } &&
31763          { ac_try='test -s conftest$ac_exeext'
31764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31765   (eval $ac_try) 2>&5
31766   ac_status=$?
31767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768   (exit $ac_status); }; }; then
31769   eval "$as_ac_var=yes"
31770 else
31771   echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31773
31774 eval "$as_ac_var=no"
31775 fi
31776 rm -f conftest.err conftest.$ac_objext \
31777       conftest$ac_exeext conftest.$ac_ext
31778 fi
31779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31781 if test `eval echo '${'$as_ac_var'}'` = yes; then
31782   cat >>confdefs.h <<_ACEOF
31783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31784 _ACEOF
31785
31786 fi
31787 done
31788
31789     fi
31790   fi
31791
31792
31793
31794
31795
31796
31797   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
31798 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
31799   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
31800     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
31801   echo $ECHO_N "(cached) $ECHO_C" >&6
31802 else
31803
31804
31805
31806       ac_ext=cc
31807 ac_cpp='$CXXCPP $CPPFLAGS'
31808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811
31812       cat >conftest.$ac_ext <<_ACEOF
31813 /* confdefs.h.  */
31814 _ACEOF
31815 cat confdefs.h >>conftest.$ac_ext
31816 cat >>conftest.$ac_ext <<_ACEOF
31817 /* end confdefs.h.  */
31818 #include <math.h>
31819 int
31820 main ()
31821 {
31822  copysignl(0, 0);
31823   ;
31824   return 0;
31825 }
31826 _ACEOF
31827 rm -f conftest.$ac_objext
31828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31829   (eval $ac_compile) 2>conftest.er1
31830   ac_status=$?
31831   grep -v '^ *+' conftest.er1 >conftest.err
31832   rm -f conftest.er1
31833   cat conftest.err >&5
31834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835   (exit $ac_status); } &&
31836          { ac_try='test -z "$ac_cxx_werror_flag"
31837                          || test ! -s conftest.err'
31838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31839   (eval $ac_try) 2>&5
31840   ac_status=$?
31841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842   (exit $ac_status); }; } &&
31843          { ac_try='test -s conftest.$ac_objext'
31844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845   (eval $ac_try) 2>&5
31846   ac_status=$?
31847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848   (exit $ac_status); }; }; then
31849   glibcxx_cv_func_copysignl_use=yes
31850 else
31851   echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.$ac_ext >&5
31853
31854 glibcxx_cv_func_copysignl_use=no
31855 fi
31856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31857       ac_ext=c
31858 ac_cpp='$CPP $CPPFLAGS'
31859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31862
31863
31864 fi
31865
31866   fi
31867   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
31868 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
31869
31870   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
31871
31872 for ac_func in copysignl
31873 do
31874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31875 echo "$as_me:$LINENO: checking for $ac_func" >&5
31876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31877 if eval "test \"\${$as_ac_var+set}\" = set"; then
31878   echo $ECHO_N "(cached) $ECHO_C" >&6
31879 else
31880   if test x$gcc_no_link = xyes; then
31881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31883    { (exit 1); exit 1; }; }
31884 fi
31885 cat >conftest.$ac_ext <<_ACEOF
31886 /* confdefs.h.  */
31887 _ACEOF
31888 cat confdefs.h >>conftest.$ac_ext
31889 cat >>conftest.$ac_ext <<_ACEOF
31890 /* end confdefs.h.  */
31891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31893 #define $ac_func innocuous_$ac_func
31894
31895 /* System header to define __stub macros and hopefully few prototypes,
31896     which can conflict with char $ac_func (); below.
31897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31898     <limits.h> exists even on freestanding compilers.  */
31899
31900 #ifdef __STDC__
31901 # include <limits.h>
31902 #else
31903 # include <assert.h>
31904 #endif
31905
31906 #undef $ac_func
31907
31908 /* Override any gcc2 internal prototype to avoid an error.  */
31909 #ifdef __cplusplus
31910 extern "C"
31911 {
31912 #endif
31913 /* We use char because int might match the return type of a gcc2
31914    builtin and then its argument prototype would still apply.  */
31915 char $ac_func ();
31916 /* The GNU C library defines this for functions which it implements
31917     to always fail with ENOSYS.  Some functions are actually named
31918     something starting with __ and the normal name is an alias.  */
31919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31920 choke me
31921 #else
31922 char (*f) () = $ac_func;
31923 #endif
31924 #ifdef __cplusplus
31925 }
31926 #endif
31927
31928 int
31929 main ()
31930 {
31931 return f != $ac_func;
31932   ;
31933   return 0;
31934 }
31935 _ACEOF
31936 rm -f conftest.$ac_objext conftest$ac_exeext
31937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31938   (eval $ac_link) 2>conftest.er1
31939   ac_status=$?
31940   grep -v '^ *+' conftest.er1 >conftest.err
31941   rm -f conftest.er1
31942   cat conftest.err >&5
31943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944   (exit $ac_status); } &&
31945          { ac_try='test -z "$ac_c_werror_flag"
31946                          || test ! -s conftest.err'
31947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31948   (eval $ac_try) 2>&5
31949   ac_status=$?
31950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951   (exit $ac_status); }; } &&
31952          { ac_try='test -s conftest$ac_exeext'
31953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954   (eval $ac_try) 2>&5
31955   ac_status=$?
31956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957   (exit $ac_status); }; }; then
31958   eval "$as_ac_var=yes"
31959 else
31960   echo "$as_me: failed program was:" >&5
31961 sed 's/^/| /' conftest.$ac_ext >&5
31962
31963 eval "$as_ac_var=no"
31964 fi
31965 rm -f conftest.err conftest.$ac_objext \
31966       conftest$ac_exeext conftest.$ac_ext
31967 fi
31968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31970 if test `eval echo '${'$as_ac_var'}'` = yes; then
31971   cat >>confdefs.h <<_ACEOF
31972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31973 _ACEOF
31974
31975 fi
31976 done
31977
31978   else
31979
31980   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
31981 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
31982   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
31983     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
31984   echo $ECHO_N "(cached) $ECHO_C" >&6
31985 else
31986
31987
31988
31989       ac_ext=cc
31990 ac_cpp='$CXXCPP $CPPFLAGS'
31991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31994
31995       cat >conftest.$ac_ext <<_ACEOF
31996 /* confdefs.h.  */
31997 _ACEOF
31998 cat confdefs.h >>conftest.$ac_ext
31999 cat >>conftest.$ac_ext <<_ACEOF
32000 /* end confdefs.h.  */
32001 #include <math.h>
32002 int
32003 main ()
32004 {
32005  _copysignl(0, 0);
32006   ;
32007   return 0;
32008 }
32009 _ACEOF
32010 rm -f conftest.$ac_objext
32011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32012   (eval $ac_compile) 2>conftest.er1
32013   ac_status=$?
32014   grep -v '^ *+' conftest.er1 >conftest.err
32015   rm -f conftest.er1
32016   cat conftest.err >&5
32017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018   (exit $ac_status); } &&
32019          { ac_try='test -z "$ac_cxx_werror_flag"
32020                          || test ! -s conftest.err'
32021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022   (eval $ac_try) 2>&5
32023   ac_status=$?
32024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025   (exit $ac_status); }; } &&
32026          { ac_try='test -s conftest.$ac_objext'
32027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028   (eval $ac_try) 2>&5
32029   ac_status=$?
32030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031   (exit $ac_status); }; }; then
32032   glibcxx_cv_func__copysignl_use=yes
32033 else
32034   echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.$ac_ext >&5
32036
32037 glibcxx_cv_func__copysignl_use=no
32038 fi
32039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32040       ac_ext=c
32041 ac_cpp='$CPP $CPPFLAGS'
32042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32045
32046
32047 fi
32048
32049   fi
32050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
32051 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
32052
32053     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
32054
32055 for ac_func in _copysignl
32056 do
32057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32058 echo "$as_me:$LINENO: checking for $ac_func" >&5
32059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32060 if eval "test \"\${$as_ac_var+set}\" = set"; then
32061   echo $ECHO_N "(cached) $ECHO_C" >&6
32062 else
32063   if test x$gcc_no_link = xyes; then
32064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32066    { (exit 1); exit 1; }; }
32067 fi
32068 cat >conftest.$ac_ext <<_ACEOF
32069 /* confdefs.h.  */
32070 _ACEOF
32071 cat confdefs.h >>conftest.$ac_ext
32072 cat >>conftest.$ac_ext <<_ACEOF
32073 /* end confdefs.h.  */
32074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32076 #define $ac_func innocuous_$ac_func
32077
32078 /* System header to define __stub macros and hopefully few prototypes,
32079     which can conflict with char $ac_func (); below.
32080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32081     <limits.h> exists even on freestanding compilers.  */
32082
32083 #ifdef __STDC__
32084 # include <limits.h>
32085 #else
32086 # include <assert.h>
32087 #endif
32088
32089 #undef $ac_func
32090
32091 /* Override any gcc2 internal prototype to avoid an error.  */
32092 #ifdef __cplusplus
32093 extern "C"
32094 {
32095 #endif
32096 /* We use char because int might match the return type of a gcc2
32097    builtin and then its argument prototype would still apply.  */
32098 char $ac_func ();
32099 /* The GNU C library defines this for functions which it implements
32100     to always fail with ENOSYS.  Some functions are actually named
32101     something starting with __ and the normal name is an alias.  */
32102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32103 choke me
32104 #else
32105 char (*f) () = $ac_func;
32106 #endif
32107 #ifdef __cplusplus
32108 }
32109 #endif
32110
32111 int
32112 main ()
32113 {
32114 return f != $ac_func;
32115   ;
32116   return 0;
32117 }
32118 _ACEOF
32119 rm -f conftest.$ac_objext conftest$ac_exeext
32120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32121   (eval $ac_link) 2>conftest.er1
32122   ac_status=$?
32123   grep -v '^ *+' conftest.er1 >conftest.err
32124   rm -f conftest.er1
32125   cat conftest.err >&5
32126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127   (exit $ac_status); } &&
32128          { ac_try='test -z "$ac_c_werror_flag"
32129                          || test ! -s conftest.err'
32130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131   (eval $ac_try) 2>&5
32132   ac_status=$?
32133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134   (exit $ac_status); }; } &&
32135          { ac_try='test -s conftest$ac_exeext'
32136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32137   (eval $ac_try) 2>&5
32138   ac_status=$?
32139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140   (exit $ac_status); }; }; then
32141   eval "$as_ac_var=yes"
32142 else
32143   echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.$ac_ext >&5
32145
32146 eval "$as_ac_var=no"
32147 fi
32148 rm -f conftest.err conftest.$ac_objext \
32149       conftest$ac_exeext conftest.$ac_ext
32150 fi
32151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32153 if test `eval echo '${'$as_ac_var'}'` = yes; then
32154   cat >>confdefs.h <<_ACEOF
32155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32156 _ACEOF
32157
32158 fi
32159 done
32160
32161     fi
32162   fi
32163
32164
32165
32166
32167
32168
32169   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
32170 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
32171   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32172     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
32173   echo $ECHO_N "(cached) $ECHO_C" >&6
32174 else
32175
32176
32177
32178       ac_ext=cc
32179 ac_cpp='$CXXCPP $CPPFLAGS'
32180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32183
32184       cat >conftest.$ac_ext <<_ACEOF
32185 /* confdefs.h.  */
32186 _ACEOF
32187 cat confdefs.h >>conftest.$ac_ext
32188 cat >>conftest.$ac_ext <<_ACEOF
32189 /* end confdefs.h.  */
32190 #include <math.h>
32191 int
32192 main ()
32193 {
32194  atan2l(0, 0);
32195   ;
32196   return 0;
32197 }
32198 _ACEOF
32199 rm -f conftest.$ac_objext
32200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32201   (eval $ac_compile) 2>conftest.er1
32202   ac_status=$?
32203   grep -v '^ *+' conftest.er1 >conftest.err
32204   rm -f conftest.er1
32205   cat conftest.err >&5
32206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207   (exit $ac_status); } &&
32208          { ac_try='test -z "$ac_cxx_werror_flag"
32209                          || test ! -s conftest.err'
32210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211   (eval $ac_try) 2>&5
32212   ac_status=$?
32213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214   (exit $ac_status); }; } &&
32215          { ac_try='test -s conftest.$ac_objext'
32216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32217   (eval $ac_try) 2>&5
32218   ac_status=$?
32219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220   (exit $ac_status); }; }; then
32221   glibcxx_cv_func_atan2l_use=yes
32222 else
32223   echo "$as_me: failed program was:" >&5
32224 sed 's/^/| /' conftest.$ac_ext >&5
32225
32226 glibcxx_cv_func_atan2l_use=no
32227 fi
32228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32229       ac_ext=c
32230 ac_cpp='$CPP $CPPFLAGS'
32231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32234
32235
32236 fi
32237
32238   fi
32239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
32240 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
32241
32242   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32243
32244 for ac_func in atan2l
32245 do
32246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32247 echo "$as_me:$LINENO: checking for $ac_func" >&5
32248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32249 if eval "test \"\${$as_ac_var+set}\" = set"; then
32250   echo $ECHO_N "(cached) $ECHO_C" >&6
32251 else
32252   if test x$gcc_no_link = xyes; then
32253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32255    { (exit 1); exit 1; }; }
32256 fi
32257 cat >conftest.$ac_ext <<_ACEOF
32258 /* confdefs.h.  */
32259 _ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h.  */
32263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32265 #define $ac_func innocuous_$ac_func
32266
32267 /* System header to define __stub macros and hopefully few prototypes,
32268     which can conflict with char $ac_func (); below.
32269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32270     <limits.h> exists even on freestanding compilers.  */
32271
32272 #ifdef __STDC__
32273 # include <limits.h>
32274 #else
32275 # include <assert.h>
32276 #endif
32277
32278 #undef $ac_func
32279
32280 /* Override any gcc2 internal prototype to avoid an error.  */
32281 #ifdef __cplusplus
32282 extern "C"
32283 {
32284 #endif
32285 /* We use char because int might match the return type of a gcc2
32286    builtin and then its argument prototype would still apply.  */
32287 char $ac_func ();
32288 /* The GNU C library defines this for functions which it implements
32289     to always fail with ENOSYS.  Some functions are actually named
32290     something starting with __ and the normal name is an alias.  */
32291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32292 choke me
32293 #else
32294 char (*f) () = $ac_func;
32295 #endif
32296 #ifdef __cplusplus
32297 }
32298 #endif
32299
32300 int
32301 main ()
32302 {
32303 return f != $ac_func;
32304   ;
32305   return 0;
32306 }
32307 _ACEOF
32308 rm -f conftest.$ac_objext conftest$ac_exeext
32309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32310   (eval $ac_link) 2>conftest.er1
32311   ac_status=$?
32312   grep -v '^ *+' conftest.er1 >conftest.err
32313   rm -f conftest.er1
32314   cat conftest.err >&5
32315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316   (exit $ac_status); } &&
32317          { ac_try='test -z "$ac_c_werror_flag"
32318                          || test ! -s conftest.err'
32319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32320   (eval $ac_try) 2>&5
32321   ac_status=$?
32322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323   (exit $ac_status); }; } &&
32324          { ac_try='test -s conftest$ac_exeext'
32325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32326   (eval $ac_try) 2>&5
32327   ac_status=$?
32328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329   (exit $ac_status); }; }; then
32330   eval "$as_ac_var=yes"
32331 else
32332   echo "$as_me: failed program was:" >&5
32333 sed 's/^/| /' conftest.$ac_ext >&5
32334
32335 eval "$as_ac_var=no"
32336 fi
32337 rm -f conftest.err conftest.$ac_objext \
32338       conftest$ac_exeext conftest.$ac_ext
32339 fi
32340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32342 if test `eval echo '${'$as_ac_var'}'` = yes; then
32343   cat >>confdefs.h <<_ACEOF
32344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32345 _ACEOF
32346
32347 fi
32348 done
32349
32350   else
32351
32352   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
32353 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
32354   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32355     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
32356   echo $ECHO_N "(cached) $ECHO_C" >&6
32357 else
32358
32359
32360
32361       ac_ext=cc
32362 ac_cpp='$CXXCPP $CPPFLAGS'
32363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32366
32367       cat >conftest.$ac_ext <<_ACEOF
32368 /* confdefs.h.  */
32369 _ACEOF
32370 cat confdefs.h >>conftest.$ac_ext
32371 cat >>conftest.$ac_ext <<_ACEOF
32372 /* end confdefs.h.  */
32373 #include <math.h>
32374 int
32375 main ()
32376 {
32377  _atan2l(0, 0);
32378   ;
32379   return 0;
32380 }
32381 _ACEOF
32382 rm -f conftest.$ac_objext
32383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32384   (eval $ac_compile) 2>conftest.er1
32385   ac_status=$?
32386   grep -v '^ *+' conftest.er1 >conftest.err
32387   rm -f conftest.er1
32388   cat conftest.err >&5
32389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390   (exit $ac_status); } &&
32391          { ac_try='test -z "$ac_cxx_werror_flag"
32392                          || test ! -s conftest.err'
32393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394   (eval $ac_try) 2>&5
32395   ac_status=$?
32396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397   (exit $ac_status); }; } &&
32398          { ac_try='test -s conftest.$ac_objext'
32399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400   (eval $ac_try) 2>&5
32401   ac_status=$?
32402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403   (exit $ac_status); }; }; then
32404   glibcxx_cv_func__atan2l_use=yes
32405 else
32406   echo "$as_me: failed program was:" >&5
32407 sed 's/^/| /' conftest.$ac_ext >&5
32408
32409 glibcxx_cv_func__atan2l_use=no
32410 fi
32411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32412       ac_ext=c
32413 ac_cpp='$CPP $CPPFLAGS'
32414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32417
32418
32419 fi
32420
32421   fi
32422   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
32423 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
32424
32425     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32426
32427 for ac_func in _atan2l
32428 do
32429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32430 echo "$as_me:$LINENO: checking for $ac_func" >&5
32431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32432 if eval "test \"\${$as_ac_var+set}\" = set"; then
32433   echo $ECHO_N "(cached) $ECHO_C" >&6
32434 else
32435   if test x$gcc_no_link = xyes; then
32436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32438    { (exit 1); exit 1; }; }
32439 fi
32440 cat >conftest.$ac_ext <<_ACEOF
32441 /* confdefs.h.  */
32442 _ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h.  */
32446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32448 #define $ac_func innocuous_$ac_func
32449
32450 /* System header to define __stub macros and hopefully few prototypes,
32451     which can conflict with char $ac_func (); below.
32452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32453     <limits.h> exists even on freestanding compilers.  */
32454
32455 #ifdef __STDC__
32456 # include <limits.h>
32457 #else
32458 # include <assert.h>
32459 #endif
32460
32461 #undef $ac_func
32462
32463 /* Override any gcc2 internal prototype to avoid an error.  */
32464 #ifdef __cplusplus
32465 extern "C"
32466 {
32467 #endif
32468 /* We use char because int might match the return type of a gcc2
32469    builtin and then its argument prototype would still apply.  */
32470 char $ac_func ();
32471 /* The GNU C library defines this for functions which it implements
32472     to always fail with ENOSYS.  Some functions are actually named
32473     something starting with __ and the normal name is an alias.  */
32474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32475 choke me
32476 #else
32477 char (*f) () = $ac_func;
32478 #endif
32479 #ifdef __cplusplus
32480 }
32481 #endif
32482
32483 int
32484 main ()
32485 {
32486 return f != $ac_func;
32487   ;
32488   return 0;
32489 }
32490 _ACEOF
32491 rm -f conftest.$ac_objext conftest$ac_exeext
32492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32493   (eval $ac_link) 2>conftest.er1
32494   ac_status=$?
32495   grep -v '^ *+' conftest.er1 >conftest.err
32496   rm -f conftest.er1
32497   cat conftest.err >&5
32498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499   (exit $ac_status); } &&
32500          { ac_try='test -z "$ac_c_werror_flag"
32501                          || test ! -s conftest.err'
32502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32503   (eval $ac_try) 2>&5
32504   ac_status=$?
32505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32506   (exit $ac_status); }; } &&
32507          { ac_try='test -s conftest$ac_exeext'
32508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32509   (eval $ac_try) 2>&5
32510   ac_status=$?
32511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512   (exit $ac_status); }; }; then
32513   eval "$as_ac_var=yes"
32514 else
32515   echo "$as_me: failed program was:" >&5
32516 sed 's/^/| /' conftest.$ac_ext >&5
32517
32518 eval "$as_ac_var=no"
32519 fi
32520 rm -f conftest.err conftest.$ac_objext \
32521       conftest$ac_exeext conftest.$ac_ext
32522 fi
32523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32525 if test `eval echo '${'$as_ac_var'}'` = yes; then
32526   cat >>confdefs.h <<_ACEOF
32527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32528 _ACEOF
32529
32530 fi
32531 done
32532
32533     fi
32534   fi
32535
32536
32537
32538
32539
32540
32541   echo "$as_me:$LINENO: checking for expl declaration" >&5
32542 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
32543   if test x${glibcxx_cv_func_expl_use+set} != xset; then
32544     if test "${glibcxx_cv_func_expl_use+set}" = set; then
32545   echo $ECHO_N "(cached) $ECHO_C" >&6
32546 else
32547
32548
32549
32550       ac_ext=cc
32551 ac_cpp='$CXXCPP $CPPFLAGS'
32552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32555
32556       cat >conftest.$ac_ext <<_ACEOF
32557 /* confdefs.h.  */
32558 _ACEOF
32559 cat confdefs.h >>conftest.$ac_ext
32560 cat >>conftest.$ac_ext <<_ACEOF
32561 /* end confdefs.h.  */
32562 #include <math.h>
32563                       #ifdef HAVE_IEEEFP_H
32564                       #include <ieeefp.h>
32565                       #endif
32566
32567 int
32568 main ()
32569 {
32570  expl(0);
32571   ;
32572   return 0;
32573 }
32574 _ACEOF
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577   (eval $ac_compile) 2>conftest.er1
32578   ac_status=$?
32579   grep -v '^ *+' conftest.er1 >conftest.err
32580   rm -f conftest.er1
32581   cat conftest.err >&5
32582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583   (exit $ac_status); } &&
32584          { ac_try='test -z "$ac_cxx_werror_flag"
32585                          || test ! -s conftest.err'
32586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587   (eval $ac_try) 2>&5
32588   ac_status=$?
32589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590   (exit $ac_status); }; } &&
32591          { ac_try='test -s conftest.$ac_objext'
32592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593   (eval $ac_try) 2>&5
32594   ac_status=$?
32595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596   (exit $ac_status); }; }; then
32597   glibcxx_cv_func_expl_use=yes
32598 else
32599   echo "$as_me: failed program was:" >&5
32600 sed 's/^/| /' conftest.$ac_ext >&5
32601
32602 glibcxx_cv_func_expl_use=no
32603 fi
32604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32605       ac_ext=c
32606 ac_cpp='$CPP $CPPFLAGS'
32607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32610
32611
32612 fi
32613
32614   fi
32615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
32616 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
32617
32618   if test x$glibcxx_cv_func_expl_use = x"yes"; then
32619
32620 for ac_func in expl
32621 do
32622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32623 echo "$as_me:$LINENO: checking for $ac_func" >&5
32624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32625 if eval "test \"\${$as_ac_var+set}\" = set"; then
32626   echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628   if test x$gcc_no_link = xyes; then
32629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32631    { (exit 1); exit 1; }; }
32632 fi
32633 cat >conftest.$ac_ext <<_ACEOF
32634 /* confdefs.h.  */
32635 _ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h.  */
32639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32641 #define $ac_func innocuous_$ac_func
32642
32643 /* System header to define __stub macros and hopefully few prototypes,
32644     which can conflict with char $ac_func (); below.
32645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32646     <limits.h> exists even on freestanding compilers.  */
32647
32648 #ifdef __STDC__
32649 # include <limits.h>
32650 #else
32651 # include <assert.h>
32652 #endif
32653
32654 #undef $ac_func
32655
32656 /* Override any gcc2 internal prototype to avoid an error.  */
32657 #ifdef __cplusplus
32658 extern "C"
32659 {
32660 #endif
32661 /* We use char because int might match the return type of a gcc2
32662    builtin and then its argument prototype would still apply.  */
32663 char $ac_func ();
32664 /* The GNU C library defines this for functions which it implements
32665     to always fail with ENOSYS.  Some functions are actually named
32666     something starting with __ and the normal name is an alias.  */
32667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32668 choke me
32669 #else
32670 char (*f) () = $ac_func;
32671 #endif
32672 #ifdef __cplusplus
32673 }
32674 #endif
32675
32676 int
32677 main ()
32678 {
32679 return f != $ac_func;
32680   ;
32681   return 0;
32682 }
32683 _ACEOF
32684 rm -f conftest.$ac_objext conftest$ac_exeext
32685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32686   (eval $ac_link) 2>conftest.er1
32687   ac_status=$?
32688   grep -v '^ *+' conftest.er1 >conftest.err
32689   rm -f conftest.er1
32690   cat conftest.err >&5
32691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692   (exit $ac_status); } &&
32693          { ac_try='test -z "$ac_c_werror_flag"
32694                          || test ! -s conftest.err'
32695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696   (eval $ac_try) 2>&5
32697   ac_status=$?
32698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699   (exit $ac_status); }; } &&
32700          { ac_try='test -s conftest$ac_exeext'
32701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702   (eval $ac_try) 2>&5
32703   ac_status=$?
32704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705   (exit $ac_status); }; }; then
32706   eval "$as_ac_var=yes"
32707 else
32708   echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32710
32711 eval "$as_ac_var=no"
32712 fi
32713 rm -f conftest.err conftest.$ac_objext \
32714       conftest$ac_exeext conftest.$ac_ext
32715 fi
32716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32718 if test `eval echo '${'$as_ac_var'}'` = yes; then
32719   cat >>confdefs.h <<_ACEOF
32720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32721 _ACEOF
32722
32723 fi
32724 done
32725
32726   else
32727
32728   echo "$as_me:$LINENO: checking for _expl declaration" >&5
32729 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
32730   if test x${glibcxx_cv_func__expl_use+set} != xset; then
32731     if test "${glibcxx_cv_func__expl_use+set}" = set; then
32732   echo $ECHO_N "(cached) $ECHO_C" >&6
32733 else
32734
32735
32736
32737       ac_ext=cc
32738 ac_cpp='$CXXCPP $CPPFLAGS'
32739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32742
32743       cat >conftest.$ac_ext <<_ACEOF
32744 /* confdefs.h.  */
32745 _ACEOF
32746 cat confdefs.h >>conftest.$ac_ext
32747 cat >>conftest.$ac_ext <<_ACEOF
32748 /* end confdefs.h.  */
32749 #include <math.h>
32750                       #ifdef HAVE_IEEEFP_H
32751                       #include <ieeefp.h>
32752                       #endif
32753
32754 int
32755 main ()
32756 {
32757  _expl(0);
32758   ;
32759   return 0;
32760 }
32761 _ACEOF
32762 rm -f conftest.$ac_objext
32763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32764   (eval $ac_compile) 2>conftest.er1
32765   ac_status=$?
32766   grep -v '^ *+' conftest.er1 >conftest.err
32767   rm -f conftest.er1
32768   cat conftest.err >&5
32769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770   (exit $ac_status); } &&
32771          { ac_try='test -z "$ac_cxx_werror_flag"
32772                          || test ! -s conftest.err'
32773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774   (eval $ac_try) 2>&5
32775   ac_status=$?
32776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777   (exit $ac_status); }; } &&
32778          { ac_try='test -s conftest.$ac_objext'
32779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780   (eval $ac_try) 2>&5
32781   ac_status=$?
32782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783   (exit $ac_status); }; }; then
32784   glibcxx_cv_func__expl_use=yes
32785 else
32786   echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.$ac_ext >&5
32788
32789 glibcxx_cv_func__expl_use=no
32790 fi
32791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32792       ac_ext=c
32793 ac_cpp='$CPP $CPPFLAGS'
32794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32797
32798
32799 fi
32800
32801   fi
32802   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
32803 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
32804
32805     if test x$glibcxx_cv_func__expl_use = x"yes"; then
32806
32807 for ac_func in _expl
32808 do
32809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32810 echo "$as_me:$LINENO: checking for $ac_func" >&5
32811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32812 if eval "test \"\${$as_ac_var+set}\" = set"; then
32813   echo $ECHO_N "(cached) $ECHO_C" >&6
32814 else
32815   if test x$gcc_no_link = xyes; then
32816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32818    { (exit 1); exit 1; }; }
32819 fi
32820 cat >conftest.$ac_ext <<_ACEOF
32821 /* confdefs.h.  */
32822 _ACEOF
32823 cat confdefs.h >>conftest.$ac_ext
32824 cat >>conftest.$ac_ext <<_ACEOF
32825 /* end confdefs.h.  */
32826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32828 #define $ac_func innocuous_$ac_func
32829
32830 /* System header to define __stub macros and hopefully few prototypes,
32831     which can conflict with char $ac_func (); below.
32832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32833     <limits.h> exists even on freestanding compilers.  */
32834
32835 #ifdef __STDC__
32836 # include <limits.h>
32837 #else
32838 # include <assert.h>
32839 #endif
32840
32841 #undef $ac_func
32842
32843 /* Override any gcc2 internal prototype to avoid an error.  */
32844 #ifdef __cplusplus
32845 extern "C"
32846 {
32847 #endif
32848 /* We use char because int might match the return type of a gcc2
32849    builtin and then its argument prototype would still apply.  */
32850 char $ac_func ();
32851 /* The GNU C library defines this for functions which it implements
32852     to always fail with ENOSYS.  Some functions are actually named
32853     something starting with __ and the normal name is an alias.  */
32854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32855 choke me
32856 #else
32857 char (*f) () = $ac_func;
32858 #endif
32859 #ifdef __cplusplus
32860 }
32861 #endif
32862
32863 int
32864 main ()
32865 {
32866 return f != $ac_func;
32867   ;
32868   return 0;
32869 }
32870 _ACEOF
32871 rm -f conftest.$ac_objext conftest$ac_exeext
32872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32873   (eval $ac_link) 2>conftest.er1
32874   ac_status=$?
32875   grep -v '^ *+' conftest.er1 >conftest.err
32876   rm -f conftest.er1
32877   cat conftest.err >&5
32878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32879   (exit $ac_status); } &&
32880          { ac_try='test -z "$ac_c_werror_flag"
32881                          || test ! -s conftest.err'
32882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883   (eval $ac_try) 2>&5
32884   ac_status=$?
32885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886   (exit $ac_status); }; } &&
32887          { ac_try='test -s conftest$ac_exeext'
32888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889   (eval $ac_try) 2>&5
32890   ac_status=$?
32891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892   (exit $ac_status); }; }; then
32893   eval "$as_ac_var=yes"
32894 else
32895   echo "$as_me: failed program was:" >&5
32896 sed 's/^/| /' conftest.$ac_ext >&5
32897
32898 eval "$as_ac_var=no"
32899 fi
32900 rm -f conftest.err conftest.$ac_objext \
32901       conftest$ac_exeext conftest.$ac_ext
32902 fi
32903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32905 if test `eval echo '${'$as_ac_var'}'` = yes; then
32906   cat >>confdefs.h <<_ACEOF
32907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32908 _ACEOF
32909
32910 fi
32911 done
32912
32913     fi
32914   fi
32915
32916
32917
32918
32919
32920
32921   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
32922 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
32923   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32924     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
32925   echo $ECHO_N "(cached) $ECHO_C" >&6
32926 else
32927
32928
32929
32930       ac_ext=cc
32931 ac_cpp='$CXXCPP $CPPFLAGS'
32932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32935
32936       cat >conftest.$ac_ext <<_ACEOF
32937 /* confdefs.h.  */
32938 _ACEOF
32939 cat confdefs.h >>conftest.$ac_ext
32940 cat >>conftest.$ac_ext <<_ACEOF
32941 /* end confdefs.h.  */
32942 #include <math.h>
32943                       #ifdef HAVE_IEEEFP_H
32944                       #include <ieeefp.h>
32945                       #endif
32946
32947 int
32948 main ()
32949 {
32950  fabsl(0);
32951   ;
32952   return 0;
32953 }
32954 _ACEOF
32955 rm -f conftest.$ac_objext
32956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32957   (eval $ac_compile) 2>conftest.er1
32958   ac_status=$?
32959   grep -v '^ *+' conftest.er1 >conftest.err
32960   rm -f conftest.er1
32961   cat conftest.err >&5
32962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963   (exit $ac_status); } &&
32964          { ac_try='test -z "$ac_cxx_werror_flag"
32965                          || test ! -s conftest.err'
32966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967   (eval $ac_try) 2>&5
32968   ac_status=$?
32969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970   (exit $ac_status); }; } &&
32971          { ac_try='test -s conftest.$ac_objext'
32972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32973   (eval $ac_try) 2>&5
32974   ac_status=$?
32975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976   (exit $ac_status); }; }; then
32977   glibcxx_cv_func_fabsl_use=yes
32978 else
32979   echo "$as_me: failed program was:" >&5
32980 sed 's/^/| /' conftest.$ac_ext >&5
32981
32982 glibcxx_cv_func_fabsl_use=no
32983 fi
32984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32985       ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32990
32991
32992 fi
32993
32994   fi
32995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
32996 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
32997
32998   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32999
33000 for ac_func in fabsl
33001 do
33002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33003 echo "$as_me:$LINENO: checking for $ac_func" >&5
33004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33005 if eval "test \"\${$as_ac_var+set}\" = set"; then
33006   echo $ECHO_N "(cached) $ECHO_C" >&6
33007 else
33008   if test x$gcc_no_link = xyes; then
33009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33011    { (exit 1); exit 1; }; }
33012 fi
33013 cat >conftest.$ac_ext <<_ACEOF
33014 /* confdefs.h.  */
33015 _ACEOF
33016 cat confdefs.h >>conftest.$ac_ext
33017 cat >>conftest.$ac_ext <<_ACEOF
33018 /* end confdefs.h.  */
33019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33021 #define $ac_func innocuous_$ac_func
33022
33023 /* System header to define __stub macros and hopefully few prototypes,
33024     which can conflict with char $ac_func (); below.
33025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33026     <limits.h> exists even on freestanding compilers.  */
33027
33028 #ifdef __STDC__
33029 # include <limits.h>
33030 #else
33031 # include <assert.h>
33032 #endif
33033
33034 #undef $ac_func
33035
33036 /* Override any gcc2 internal prototype to avoid an error.  */
33037 #ifdef __cplusplus
33038 extern "C"
33039 {
33040 #endif
33041 /* We use char because int might match the return type of a gcc2
33042    builtin and then its argument prototype would still apply.  */
33043 char $ac_func ();
33044 /* The GNU C library defines this for functions which it implements
33045     to always fail with ENOSYS.  Some functions are actually named
33046     something starting with __ and the normal name is an alias.  */
33047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33048 choke me
33049 #else
33050 char (*f) () = $ac_func;
33051 #endif
33052 #ifdef __cplusplus
33053 }
33054 #endif
33055
33056 int
33057 main ()
33058 {
33059 return f != $ac_func;
33060   ;
33061   return 0;
33062 }
33063 _ACEOF
33064 rm -f conftest.$ac_objext conftest$ac_exeext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33066   (eval $ac_link) 2>conftest.er1
33067   ac_status=$?
33068   grep -v '^ *+' conftest.er1 >conftest.err
33069   rm -f conftest.er1
33070   cat conftest.err >&5
33071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072   (exit $ac_status); } &&
33073          { ac_try='test -z "$ac_c_werror_flag"
33074                          || test ! -s conftest.err'
33075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076   (eval $ac_try) 2>&5
33077   ac_status=$?
33078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079   (exit $ac_status); }; } &&
33080          { ac_try='test -s conftest$ac_exeext'
33081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082   (eval $ac_try) 2>&5
33083   ac_status=$?
33084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085   (exit $ac_status); }; }; then
33086   eval "$as_ac_var=yes"
33087 else
33088   echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.$ac_ext >&5
33090
33091 eval "$as_ac_var=no"
33092 fi
33093 rm -f conftest.err conftest.$ac_objext \
33094       conftest$ac_exeext conftest.$ac_ext
33095 fi
33096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33098 if test `eval echo '${'$as_ac_var'}'` = yes; then
33099   cat >>confdefs.h <<_ACEOF
33100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33101 _ACEOF
33102
33103 fi
33104 done
33105
33106   else
33107
33108   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
33109 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
33110   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33111     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
33112   echo $ECHO_N "(cached) $ECHO_C" >&6
33113 else
33114
33115
33116
33117       ac_ext=cc
33118 ac_cpp='$CXXCPP $CPPFLAGS'
33119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33122
33123       cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h.  */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h.  */
33129 #include <math.h>
33130                       #ifdef HAVE_IEEEFP_H
33131                       #include <ieeefp.h>
33132                       #endif
33133
33134 int
33135 main ()
33136 {
33137  _fabsl(0);
33138   ;
33139   return 0;
33140 }
33141 _ACEOF
33142 rm -f conftest.$ac_objext
33143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33144   (eval $ac_compile) 2>conftest.er1
33145   ac_status=$?
33146   grep -v '^ *+' conftest.er1 >conftest.err
33147   rm -f conftest.er1
33148   cat conftest.err >&5
33149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150   (exit $ac_status); } &&
33151          { ac_try='test -z "$ac_cxx_werror_flag"
33152                          || test ! -s conftest.err'
33153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154   (eval $ac_try) 2>&5
33155   ac_status=$?
33156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157   (exit $ac_status); }; } &&
33158          { ac_try='test -s conftest.$ac_objext'
33159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33160   (eval $ac_try) 2>&5
33161   ac_status=$?
33162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163   (exit $ac_status); }; }; then
33164   glibcxx_cv_func__fabsl_use=yes
33165 else
33166   echo "$as_me: failed program was:" >&5
33167 sed 's/^/| /' conftest.$ac_ext >&5
33168
33169 glibcxx_cv_func__fabsl_use=no
33170 fi
33171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33172       ac_ext=c
33173 ac_cpp='$CPP $CPPFLAGS'
33174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33177
33178
33179 fi
33180
33181   fi
33182   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
33183 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
33184
33185     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33186
33187 for ac_func in _fabsl
33188 do
33189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33190 echo "$as_me:$LINENO: checking for $ac_func" >&5
33191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33192 if eval "test \"\${$as_ac_var+set}\" = set"; then
33193   echo $ECHO_N "(cached) $ECHO_C" >&6
33194 else
33195   if test x$gcc_no_link = xyes; then
33196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33198    { (exit 1); exit 1; }; }
33199 fi
33200 cat >conftest.$ac_ext <<_ACEOF
33201 /* confdefs.h.  */
33202 _ACEOF
33203 cat confdefs.h >>conftest.$ac_ext
33204 cat >>conftest.$ac_ext <<_ACEOF
33205 /* end confdefs.h.  */
33206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33208 #define $ac_func innocuous_$ac_func
33209
33210 /* System header to define __stub macros and hopefully few prototypes,
33211     which can conflict with char $ac_func (); below.
33212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33213     <limits.h> exists even on freestanding compilers.  */
33214
33215 #ifdef __STDC__
33216 # include <limits.h>
33217 #else
33218 # include <assert.h>
33219 #endif
33220
33221 #undef $ac_func
33222
33223 /* Override any gcc2 internal prototype to avoid an error.  */
33224 #ifdef __cplusplus
33225 extern "C"
33226 {
33227 #endif
33228 /* We use char because int might match the return type of a gcc2
33229    builtin and then its argument prototype would still apply.  */
33230 char $ac_func ();
33231 /* The GNU C library defines this for functions which it implements
33232     to always fail with ENOSYS.  Some functions are actually named
33233     something starting with __ and the normal name is an alias.  */
33234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33235 choke me
33236 #else
33237 char (*f) () = $ac_func;
33238 #endif
33239 #ifdef __cplusplus
33240 }
33241 #endif
33242
33243 int
33244 main ()
33245 {
33246 return f != $ac_func;
33247   ;
33248   return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext conftest$ac_exeext
33252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33253   (eval $ac_link) 2>conftest.er1
33254   ac_status=$?
33255   grep -v '^ *+' conftest.er1 >conftest.err
33256   rm -f conftest.er1
33257   cat conftest.err >&5
33258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259   (exit $ac_status); } &&
33260          { ac_try='test -z "$ac_c_werror_flag"
33261                          || test ! -s conftest.err'
33262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33263   (eval $ac_try) 2>&5
33264   ac_status=$?
33265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266   (exit $ac_status); }; } &&
33267          { ac_try='test -s conftest$ac_exeext'
33268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269   (eval $ac_try) 2>&5
33270   ac_status=$?
33271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272   (exit $ac_status); }; }; then
33273   eval "$as_ac_var=yes"
33274 else
33275   echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.$ac_ext >&5
33277
33278 eval "$as_ac_var=no"
33279 fi
33280 rm -f conftest.err conftest.$ac_objext \
33281       conftest$ac_exeext conftest.$ac_ext
33282 fi
33283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33285 if test `eval echo '${'$as_ac_var'}'` = yes; then
33286   cat >>confdefs.h <<_ACEOF
33287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33288 _ACEOF
33289
33290 fi
33291 done
33292
33293     fi
33294   fi
33295
33296
33297
33298
33299
33300
33301   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
33302 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
33303   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33304     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
33305   echo $ECHO_N "(cached) $ECHO_C" >&6
33306 else
33307
33308
33309
33310       ac_ext=cc
33311 ac_cpp='$CXXCPP $CPPFLAGS'
33312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33315
33316       cat >conftest.$ac_ext <<_ACEOF
33317 /* confdefs.h.  */
33318 _ACEOF
33319 cat confdefs.h >>conftest.$ac_ext
33320 cat >>conftest.$ac_ext <<_ACEOF
33321 /* end confdefs.h.  */
33322 #include <math.h>
33323 int
33324 main ()
33325 {
33326  fmodl(0, 0);
33327   ;
33328   return 0;
33329 }
33330 _ACEOF
33331 rm -f conftest.$ac_objext
33332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33333   (eval $ac_compile) 2>conftest.er1
33334   ac_status=$?
33335   grep -v '^ *+' conftest.er1 >conftest.err
33336   rm -f conftest.er1
33337   cat conftest.err >&5
33338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339   (exit $ac_status); } &&
33340          { ac_try='test -z "$ac_cxx_werror_flag"
33341                          || test ! -s conftest.err'
33342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343   (eval $ac_try) 2>&5
33344   ac_status=$?
33345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346   (exit $ac_status); }; } &&
33347          { ac_try='test -s conftest.$ac_objext'
33348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349   (eval $ac_try) 2>&5
33350   ac_status=$?
33351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352   (exit $ac_status); }; }; then
33353   glibcxx_cv_func_fmodl_use=yes
33354 else
33355   echo "$as_me: failed program was:" >&5
33356 sed 's/^/| /' conftest.$ac_ext >&5
33357
33358 glibcxx_cv_func_fmodl_use=no
33359 fi
33360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33361       ac_ext=c
33362 ac_cpp='$CPP $CPPFLAGS'
33363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33366
33367
33368 fi
33369
33370   fi
33371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
33372 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
33373
33374   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33375
33376 for ac_func in fmodl
33377 do
33378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33379 echo "$as_me:$LINENO: checking for $ac_func" >&5
33380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33381 if eval "test \"\${$as_ac_var+set}\" = set"; then
33382   echo $ECHO_N "(cached) $ECHO_C" >&6
33383 else
33384   if test x$gcc_no_link = xyes; then
33385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33387    { (exit 1); exit 1; }; }
33388 fi
33389 cat >conftest.$ac_ext <<_ACEOF
33390 /* confdefs.h.  */
33391 _ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h.  */
33395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33397 #define $ac_func innocuous_$ac_func
33398
33399 /* System header to define __stub macros and hopefully few prototypes,
33400     which can conflict with char $ac_func (); below.
33401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33402     <limits.h> exists even on freestanding compilers.  */
33403
33404 #ifdef __STDC__
33405 # include <limits.h>
33406 #else
33407 # include <assert.h>
33408 #endif
33409
33410 #undef $ac_func
33411
33412 /* Override any gcc2 internal prototype to avoid an error.  */
33413 #ifdef __cplusplus
33414 extern "C"
33415 {
33416 #endif
33417 /* We use char because int might match the return type of a gcc2
33418    builtin and then its argument prototype would still apply.  */
33419 char $ac_func ();
33420 /* The GNU C library defines this for functions which it implements
33421     to always fail with ENOSYS.  Some functions are actually named
33422     something starting with __ and the normal name is an alias.  */
33423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33424 choke me
33425 #else
33426 char (*f) () = $ac_func;
33427 #endif
33428 #ifdef __cplusplus
33429 }
33430 #endif
33431
33432 int
33433 main ()
33434 {
33435 return f != $ac_func;
33436   ;
33437   return 0;
33438 }
33439 _ACEOF
33440 rm -f conftest.$ac_objext conftest$ac_exeext
33441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33442   (eval $ac_link) 2>conftest.er1
33443   ac_status=$?
33444   grep -v '^ *+' conftest.er1 >conftest.err
33445   rm -f conftest.er1
33446   cat conftest.err >&5
33447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448   (exit $ac_status); } &&
33449          { ac_try='test -z "$ac_c_werror_flag"
33450                          || test ! -s conftest.err'
33451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452   (eval $ac_try) 2>&5
33453   ac_status=$?
33454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455   (exit $ac_status); }; } &&
33456          { ac_try='test -s conftest$ac_exeext'
33457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458   (eval $ac_try) 2>&5
33459   ac_status=$?
33460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461   (exit $ac_status); }; }; then
33462   eval "$as_ac_var=yes"
33463 else
33464   echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.$ac_ext >&5
33466
33467 eval "$as_ac_var=no"
33468 fi
33469 rm -f conftest.err conftest.$ac_objext \
33470       conftest$ac_exeext conftest.$ac_ext
33471 fi
33472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33474 if test `eval echo '${'$as_ac_var'}'` = yes; then
33475   cat >>confdefs.h <<_ACEOF
33476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33477 _ACEOF
33478
33479 fi
33480 done
33481
33482   else
33483
33484   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
33485 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
33486   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33487     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
33488   echo $ECHO_N "(cached) $ECHO_C" >&6
33489 else
33490
33491
33492
33493       ac_ext=cc
33494 ac_cpp='$CXXCPP $CPPFLAGS'
33495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498
33499       cat >conftest.$ac_ext <<_ACEOF
33500 /* confdefs.h.  */
33501 _ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h.  */
33505 #include <math.h>
33506 int
33507 main ()
33508 {
33509  _fmodl(0, 0);
33510   ;
33511   return 0;
33512 }
33513 _ACEOF
33514 rm -f conftest.$ac_objext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33516   (eval $ac_compile) 2>conftest.er1
33517   ac_status=$?
33518   grep -v '^ *+' conftest.er1 >conftest.err
33519   rm -f conftest.er1
33520   cat conftest.err >&5
33521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522   (exit $ac_status); } &&
33523          { ac_try='test -z "$ac_cxx_werror_flag"
33524                          || test ! -s conftest.err'
33525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526   (eval $ac_try) 2>&5
33527   ac_status=$?
33528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529   (exit $ac_status); }; } &&
33530          { ac_try='test -s conftest.$ac_objext'
33531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532   (eval $ac_try) 2>&5
33533   ac_status=$?
33534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535   (exit $ac_status); }; }; then
33536   glibcxx_cv_func__fmodl_use=yes
33537 else
33538   echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541 glibcxx_cv_func__fmodl_use=no
33542 fi
33543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33544       ac_ext=c
33545 ac_cpp='$CPP $CPPFLAGS'
33546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33549
33550
33551 fi
33552
33553   fi
33554   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
33555 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
33556
33557     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33558
33559 for ac_func in _fmodl
33560 do
33561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33562 echo "$as_me:$LINENO: checking for $ac_func" >&5
33563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33564 if eval "test \"\${$as_ac_var+set}\" = set"; then
33565   echo $ECHO_N "(cached) $ECHO_C" >&6
33566 else
33567   if test x$gcc_no_link = xyes; then
33568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33570    { (exit 1); exit 1; }; }
33571 fi
33572 cat >conftest.$ac_ext <<_ACEOF
33573 /* confdefs.h.  */
33574 _ACEOF
33575 cat confdefs.h >>conftest.$ac_ext
33576 cat >>conftest.$ac_ext <<_ACEOF
33577 /* end confdefs.h.  */
33578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33580 #define $ac_func innocuous_$ac_func
33581
33582 /* System header to define __stub macros and hopefully few prototypes,
33583     which can conflict with char $ac_func (); below.
33584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33585     <limits.h> exists even on freestanding compilers.  */
33586
33587 #ifdef __STDC__
33588 # include <limits.h>
33589 #else
33590 # include <assert.h>
33591 #endif
33592
33593 #undef $ac_func
33594
33595 /* Override any gcc2 internal prototype to avoid an error.  */
33596 #ifdef __cplusplus
33597 extern "C"
33598 {
33599 #endif
33600 /* We use char because int might match the return type of a gcc2
33601    builtin and then its argument prototype would still apply.  */
33602 char $ac_func ();
33603 /* The GNU C library defines this for functions which it implements
33604     to always fail with ENOSYS.  Some functions are actually named
33605     something starting with __ and the normal name is an alias.  */
33606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33607 choke me
33608 #else
33609 char (*f) () = $ac_func;
33610 #endif
33611 #ifdef __cplusplus
33612 }
33613 #endif
33614
33615 int
33616 main ()
33617 {
33618 return f != $ac_func;
33619   ;
33620   return 0;
33621 }
33622 _ACEOF
33623 rm -f conftest.$ac_objext conftest$ac_exeext
33624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33625   (eval $ac_link) 2>conftest.er1
33626   ac_status=$?
33627   grep -v '^ *+' conftest.er1 >conftest.err
33628   rm -f conftest.er1
33629   cat conftest.err >&5
33630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631   (exit $ac_status); } &&
33632          { ac_try='test -z "$ac_c_werror_flag"
33633                          || test ! -s conftest.err'
33634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635   (eval $ac_try) 2>&5
33636   ac_status=$?
33637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638   (exit $ac_status); }; } &&
33639          { ac_try='test -s conftest$ac_exeext'
33640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33641   (eval $ac_try) 2>&5
33642   ac_status=$?
33643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644   (exit $ac_status); }; }; then
33645   eval "$as_ac_var=yes"
33646 else
33647   echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33649
33650 eval "$as_ac_var=no"
33651 fi
33652 rm -f conftest.err conftest.$ac_objext \
33653       conftest$ac_exeext conftest.$ac_ext
33654 fi
33655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33657 if test `eval echo '${'$as_ac_var'}'` = yes; then
33658   cat >>confdefs.h <<_ACEOF
33659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33660 _ACEOF
33661
33662 fi
33663 done
33664
33665     fi
33666   fi
33667
33668
33669
33670
33671
33672
33673   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
33674 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
33675   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33676     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
33677   echo $ECHO_N "(cached) $ECHO_C" >&6
33678 else
33679
33680
33681
33682       ac_ext=cc
33683 ac_cpp='$CXXCPP $CPPFLAGS'
33684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33687
33688       cat >conftest.$ac_ext <<_ACEOF
33689 /* confdefs.h.  */
33690 _ACEOF
33691 cat confdefs.h >>conftest.$ac_ext
33692 cat >>conftest.$ac_ext <<_ACEOF
33693 /* end confdefs.h.  */
33694 #include <math.h>
33695 int
33696 main ()
33697 {
33698  frexpl(0, 0);
33699   ;
33700   return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33705   (eval $ac_compile) 2>conftest.er1
33706   ac_status=$?
33707   grep -v '^ *+' conftest.er1 >conftest.err
33708   rm -f conftest.er1
33709   cat conftest.err >&5
33710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33711   (exit $ac_status); } &&
33712          { ac_try='test -z "$ac_cxx_werror_flag"
33713                          || test ! -s conftest.err'
33714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715   (eval $ac_try) 2>&5
33716   ac_status=$?
33717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718   (exit $ac_status); }; } &&
33719          { ac_try='test -s conftest.$ac_objext'
33720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721   (eval $ac_try) 2>&5
33722   ac_status=$?
33723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724   (exit $ac_status); }; }; then
33725   glibcxx_cv_func_frexpl_use=yes
33726 else
33727   echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.$ac_ext >&5
33729
33730 glibcxx_cv_func_frexpl_use=no
33731 fi
33732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33733       ac_ext=c
33734 ac_cpp='$CPP $CPPFLAGS'
33735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33738
33739
33740 fi
33741
33742   fi
33743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
33744 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
33745
33746   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33747
33748 for ac_func in frexpl
33749 do
33750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33751 echo "$as_me:$LINENO: checking for $ac_func" >&5
33752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33753 if eval "test \"\${$as_ac_var+set}\" = set"; then
33754   echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756   if test x$gcc_no_link = xyes; then
33757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33759    { (exit 1); exit 1; }; }
33760 fi
33761 cat >conftest.$ac_ext <<_ACEOF
33762 /* confdefs.h.  */
33763 _ACEOF
33764 cat confdefs.h >>conftest.$ac_ext
33765 cat >>conftest.$ac_ext <<_ACEOF
33766 /* end confdefs.h.  */
33767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33769 #define $ac_func innocuous_$ac_func
33770
33771 /* System header to define __stub macros and hopefully few prototypes,
33772     which can conflict with char $ac_func (); below.
33773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33774     <limits.h> exists even on freestanding compilers.  */
33775
33776 #ifdef __STDC__
33777 # include <limits.h>
33778 #else
33779 # include <assert.h>
33780 #endif
33781
33782 #undef $ac_func
33783
33784 /* Override any gcc2 internal prototype to avoid an error.  */
33785 #ifdef __cplusplus
33786 extern "C"
33787 {
33788 #endif
33789 /* We use char because int might match the return type of a gcc2
33790    builtin and then its argument prototype would still apply.  */
33791 char $ac_func ();
33792 /* The GNU C library defines this for functions which it implements
33793     to always fail with ENOSYS.  Some functions are actually named
33794     something starting with __ and the normal name is an alias.  */
33795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33796 choke me
33797 #else
33798 char (*f) () = $ac_func;
33799 #endif
33800 #ifdef __cplusplus
33801 }
33802 #endif
33803
33804 int
33805 main ()
33806 {
33807 return f != $ac_func;
33808   ;
33809   return 0;
33810 }
33811 _ACEOF
33812 rm -f conftest.$ac_objext conftest$ac_exeext
33813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33814   (eval $ac_link) 2>conftest.er1
33815   ac_status=$?
33816   grep -v '^ *+' conftest.er1 >conftest.err
33817   rm -f conftest.er1
33818   cat conftest.err >&5
33819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820   (exit $ac_status); } &&
33821          { ac_try='test -z "$ac_c_werror_flag"
33822                          || test ! -s conftest.err'
33823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33824   (eval $ac_try) 2>&5
33825   ac_status=$?
33826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827   (exit $ac_status); }; } &&
33828          { ac_try='test -s conftest$ac_exeext'
33829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33830   (eval $ac_try) 2>&5
33831   ac_status=$?
33832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833   (exit $ac_status); }; }; then
33834   eval "$as_ac_var=yes"
33835 else
33836   echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.$ac_ext >&5
33838
33839 eval "$as_ac_var=no"
33840 fi
33841 rm -f conftest.err conftest.$ac_objext \
33842       conftest$ac_exeext conftest.$ac_ext
33843 fi
33844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33846 if test `eval echo '${'$as_ac_var'}'` = yes; then
33847   cat >>confdefs.h <<_ACEOF
33848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33849 _ACEOF
33850
33851 fi
33852 done
33853
33854   else
33855
33856   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
33857 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
33858   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33859     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
33860   echo $ECHO_N "(cached) $ECHO_C" >&6
33861 else
33862
33863
33864
33865       ac_ext=cc
33866 ac_cpp='$CXXCPP $CPPFLAGS'
33867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33870
33871       cat >conftest.$ac_ext <<_ACEOF
33872 /* confdefs.h.  */
33873 _ACEOF
33874 cat confdefs.h >>conftest.$ac_ext
33875 cat >>conftest.$ac_ext <<_ACEOF
33876 /* end confdefs.h.  */
33877 #include <math.h>
33878 int
33879 main ()
33880 {
33881  _frexpl(0, 0);
33882   ;
33883   return 0;
33884 }
33885 _ACEOF
33886 rm -f conftest.$ac_objext
33887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33888   (eval $ac_compile) 2>conftest.er1
33889   ac_status=$?
33890   grep -v '^ *+' conftest.er1 >conftest.err
33891   rm -f conftest.er1
33892   cat conftest.err >&5
33893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894   (exit $ac_status); } &&
33895          { ac_try='test -z "$ac_cxx_werror_flag"
33896                          || test ! -s conftest.err'
33897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33898   (eval $ac_try) 2>&5
33899   ac_status=$?
33900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901   (exit $ac_status); }; } &&
33902          { ac_try='test -s conftest.$ac_objext'
33903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33904   (eval $ac_try) 2>&5
33905   ac_status=$?
33906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907   (exit $ac_status); }; }; then
33908   glibcxx_cv_func__frexpl_use=yes
33909 else
33910   echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33912
33913 glibcxx_cv_func__frexpl_use=no
33914 fi
33915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33916       ac_ext=c
33917 ac_cpp='$CPP $CPPFLAGS'
33918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33921
33922
33923 fi
33924
33925   fi
33926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
33927 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
33928
33929     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33930
33931 for ac_func in _frexpl
33932 do
33933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934 echo "$as_me:$LINENO: checking for $ac_func" >&5
33935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936 if eval "test \"\${$as_ac_var+set}\" = set"; then
33937   echo $ECHO_N "(cached) $ECHO_C" >&6
33938 else
33939   if test x$gcc_no_link = xyes; then
33940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33942    { (exit 1); exit 1; }; }
33943 fi
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h.  */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h.  */
33950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33952 #define $ac_func innocuous_$ac_func
33953
33954 /* System header to define __stub macros and hopefully few prototypes,
33955     which can conflict with char $ac_func (); below.
33956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33957     <limits.h> exists even on freestanding compilers.  */
33958
33959 #ifdef __STDC__
33960 # include <limits.h>
33961 #else
33962 # include <assert.h>
33963 #endif
33964
33965 #undef $ac_func
33966
33967 /* Override any gcc2 internal prototype to avoid an error.  */
33968 #ifdef __cplusplus
33969 extern "C"
33970 {
33971 #endif
33972 /* We use char because int might match the return type of a gcc2
33973    builtin and then its argument prototype would still apply.  */
33974 char $ac_func ();
33975 /* The GNU C library defines this for functions which it implements
33976     to always fail with ENOSYS.  Some functions are actually named
33977     something starting with __ and the normal name is an alias.  */
33978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33979 choke me
33980 #else
33981 char (*f) () = $ac_func;
33982 #endif
33983 #ifdef __cplusplus
33984 }
33985 #endif
33986
33987 int
33988 main ()
33989 {
33990 return f != $ac_func;
33991   ;
33992   return 0;
33993 }
33994 _ACEOF
33995 rm -f conftest.$ac_objext conftest$ac_exeext
33996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33997   (eval $ac_link) 2>conftest.er1
33998   ac_status=$?
33999   grep -v '^ *+' conftest.er1 >conftest.err
34000   rm -f conftest.er1
34001   cat conftest.err >&5
34002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003   (exit $ac_status); } &&
34004          { ac_try='test -z "$ac_c_werror_flag"
34005                          || test ! -s conftest.err'
34006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34007   (eval $ac_try) 2>&5
34008   ac_status=$?
34009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010   (exit $ac_status); }; } &&
34011          { ac_try='test -s conftest$ac_exeext'
34012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013   (eval $ac_try) 2>&5
34014   ac_status=$?
34015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016   (exit $ac_status); }; }; then
34017   eval "$as_ac_var=yes"
34018 else
34019   echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34021
34022 eval "$as_ac_var=no"
34023 fi
34024 rm -f conftest.err conftest.$ac_objext \
34025       conftest$ac_exeext conftest.$ac_ext
34026 fi
34027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34029 if test `eval echo '${'$as_ac_var'}'` = yes; then
34030   cat >>confdefs.h <<_ACEOF
34031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34032 _ACEOF
34033
34034 fi
34035 done
34036
34037     fi
34038   fi
34039
34040
34041
34042
34043
34044
34045   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
34046 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
34047   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34048     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
34049   echo $ECHO_N "(cached) $ECHO_C" >&6
34050 else
34051
34052
34053
34054       ac_ext=cc
34055 ac_cpp='$CXXCPP $CPPFLAGS'
34056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34059
34060       cat >conftest.$ac_ext <<_ACEOF
34061 /* confdefs.h.  */
34062 _ACEOF
34063 cat confdefs.h >>conftest.$ac_ext
34064 cat >>conftest.$ac_ext <<_ACEOF
34065 /* end confdefs.h.  */
34066 #include <math.h>
34067 int
34068 main ()
34069 {
34070  hypotl(0, 0);
34071   ;
34072   return 0;
34073 }
34074 _ACEOF
34075 rm -f conftest.$ac_objext
34076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34077   (eval $ac_compile) 2>conftest.er1
34078   ac_status=$?
34079   grep -v '^ *+' conftest.er1 >conftest.err
34080   rm -f conftest.er1
34081   cat conftest.err >&5
34082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34083   (exit $ac_status); } &&
34084          { ac_try='test -z "$ac_cxx_werror_flag"
34085                          || test ! -s conftest.err'
34086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34087   (eval $ac_try) 2>&5
34088   ac_status=$?
34089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090   (exit $ac_status); }; } &&
34091          { ac_try='test -s conftest.$ac_objext'
34092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34093   (eval $ac_try) 2>&5
34094   ac_status=$?
34095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096   (exit $ac_status); }; }; then
34097   glibcxx_cv_func_hypotl_use=yes
34098 else
34099   echo "$as_me: failed program was:" >&5
34100 sed 's/^/| /' conftest.$ac_ext >&5
34101
34102 glibcxx_cv_func_hypotl_use=no
34103 fi
34104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34105       ac_ext=c
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34110
34111
34112 fi
34113
34114   fi
34115   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
34116 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
34117
34118   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34119
34120 for ac_func in hypotl
34121 do
34122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34123 echo "$as_me:$LINENO: checking for $ac_func" >&5
34124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34125 if eval "test \"\${$as_ac_var+set}\" = set"; then
34126   echo $ECHO_N "(cached) $ECHO_C" >&6
34127 else
34128   if test x$gcc_no_link = xyes; then
34129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34131    { (exit 1); exit 1; }; }
34132 fi
34133 cat >conftest.$ac_ext <<_ACEOF
34134 /* confdefs.h.  */
34135 _ACEOF
34136 cat confdefs.h >>conftest.$ac_ext
34137 cat >>conftest.$ac_ext <<_ACEOF
34138 /* end confdefs.h.  */
34139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34141 #define $ac_func innocuous_$ac_func
34142
34143 /* System header to define __stub macros and hopefully few prototypes,
34144     which can conflict with char $ac_func (); below.
34145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34146     <limits.h> exists even on freestanding compilers.  */
34147
34148 #ifdef __STDC__
34149 # include <limits.h>
34150 #else
34151 # include <assert.h>
34152 #endif
34153
34154 #undef $ac_func
34155
34156 /* Override any gcc2 internal prototype to avoid an error.  */
34157 #ifdef __cplusplus
34158 extern "C"
34159 {
34160 #endif
34161 /* We use char because int might match the return type of a gcc2
34162    builtin and then its argument prototype would still apply.  */
34163 char $ac_func ();
34164 /* The GNU C library defines this for functions which it implements
34165     to always fail with ENOSYS.  Some functions are actually named
34166     something starting with __ and the normal name is an alias.  */
34167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34168 choke me
34169 #else
34170 char (*f) () = $ac_func;
34171 #endif
34172 #ifdef __cplusplus
34173 }
34174 #endif
34175
34176 int
34177 main ()
34178 {
34179 return f != $ac_func;
34180   ;
34181   return 0;
34182 }
34183 _ACEOF
34184 rm -f conftest.$ac_objext conftest$ac_exeext
34185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34186   (eval $ac_link) 2>conftest.er1
34187   ac_status=$?
34188   grep -v '^ *+' conftest.er1 >conftest.err
34189   rm -f conftest.er1
34190   cat conftest.err >&5
34191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192   (exit $ac_status); } &&
34193          { ac_try='test -z "$ac_c_werror_flag"
34194                          || test ! -s conftest.err'
34195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34196   (eval $ac_try) 2>&5
34197   ac_status=$?
34198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199   (exit $ac_status); }; } &&
34200          { ac_try='test -s conftest$ac_exeext'
34201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34202   (eval $ac_try) 2>&5
34203   ac_status=$?
34204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205   (exit $ac_status); }; }; then
34206   eval "$as_ac_var=yes"
34207 else
34208   echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.$ac_ext >&5
34210
34211 eval "$as_ac_var=no"
34212 fi
34213 rm -f conftest.err conftest.$ac_objext \
34214       conftest$ac_exeext conftest.$ac_ext
34215 fi
34216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34218 if test `eval echo '${'$as_ac_var'}'` = yes; then
34219   cat >>confdefs.h <<_ACEOF
34220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34221 _ACEOF
34222
34223 fi
34224 done
34225
34226   else
34227
34228   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
34229 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
34230   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34231     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
34232   echo $ECHO_N "(cached) $ECHO_C" >&6
34233 else
34234
34235
34236
34237       ac_ext=cc
34238 ac_cpp='$CXXCPP $CPPFLAGS'
34239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34242
34243       cat >conftest.$ac_ext <<_ACEOF
34244 /* confdefs.h.  */
34245 _ACEOF
34246 cat confdefs.h >>conftest.$ac_ext
34247 cat >>conftest.$ac_ext <<_ACEOF
34248 /* end confdefs.h.  */
34249 #include <math.h>
34250 int
34251 main ()
34252 {
34253  _hypotl(0, 0);
34254   ;
34255   return 0;
34256 }
34257 _ACEOF
34258 rm -f conftest.$ac_objext
34259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34260   (eval $ac_compile) 2>conftest.er1
34261   ac_status=$?
34262   grep -v '^ *+' conftest.er1 >conftest.err
34263   rm -f conftest.er1
34264   cat conftest.err >&5
34265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266   (exit $ac_status); } &&
34267          { ac_try='test -z "$ac_cxx_werror_flag"
34268                          || test ! -s conftest.err'
34269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270   (eval $ac_try) 2>&5
34271   ac_status=$?
34272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273   (exit $ac_status); }; } &&
34274          { ac_try='test -s conftest.$ac_objext'
34275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276   (eval $ac_try) 2>&5
34277   ac_status=$?
34278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279   (exit $ac_status); }; }; then
34280   glibcxx_cv_func__hypotl_use=yes
34281 else
34282   echo "$as_me: failed program was:" >&5
34283 sed 's/^/| /' conftest.$ac_ext >&5
34284
34285 glibcxx_cv_func__hypotl_use=no
34286 fi
34287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34288       ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34293
34294
34295 fi
34296
34297   fi
34298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
34299 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
34300
34301     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34302
34303 for ac_func in _hypotl
34304 do
34305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34306 echo "$as_me:$LINENO: checking for $ac_func" >&5
34307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34308 if eval "test \"\${$as_ac_var+set}\" = set"; then
34309   echo $ECHO_N "(cached) $ECHO_C" >&6
34310 else
34311   if test x$gcc_no_link = xyes; then
34312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34314    { (exit 1); exit 1; }; }
34315 fi
34316 cat >conftest.$ac_ext <<_ACEOF
34317 /* confdefs.h.  */
34318 _ACEOF
34319 cat confdefs.h >>conftest.$ac_ext
34320 cat >>conftest.$ac_ext <<_ACEOF
34321 /* end confdefs.h.  */
34322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34324 #define $ac_func innocuous_$ac_func
34325
34326 /* System header to define __stub macros and hopefully few prototypes,
34327     which can conflict with char $ac_func (); below.
34328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34329     <limits.h> exists even on freestanding compilers.  */
34330
34331 #ifdef __STDC__
34332 # include <limits.h>
34333 #else
34334 # include <assert.h>
34335 #endif
34336
34337 #undef $ac_func
34338
34339 /* Override any gcc2 internal prototype to avoid an error.  */
34340 #ifdef __cplusplus
34341 extern "C"
34342 {
34343 #endif
34344 /* We use char because int might match the return type of a gcc2
34345    builtin and then its argument prototype would still apply.  */
34346 char $ac_func ();
34347 /* The GNU C library defines this for functions which it implements
34348     to always fail with ENOSYS.  Some functions are actually named
34349     something starting with __ and the normal name is an alias.  */
34350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34351 choke me
34352 #else
34353 char (*f) () = $ac_func;
34354 #endif
34355 #ifdef __cplusplus
34356 }
34357 #endif
34358
34359 int
34360 main ()
34361 {
34362 return f != $ac_func;
34363   ;
34364   return 0;
34365 }
34366 _ACEOF
34367 rm -f conftest.$ac_objext conftest$ac_exeext
34368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34369   (eval $ac_link) 2>conftest.er1
34370   ac_status=$?
34371   grep -v '^ *+' conftest.er1 >conftest.err
34372   rm -f conftest.er1
34373   cat conftest.err >&5
34374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375   (exit $ac_status); } &&
34376          { ac_try='test -z "$ac_c_werror_flag"
34377                          || test ! -s conftest.err'
34378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379   (eval $ac_try) 2>&5
34380   ac_status=$?
34381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382   (exit $ac_status); }; } &&
34383          { ac_try='test -s conftest$ac_exeext'
34384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34385   (eval $ac_try) 2>&5
34386   ac_status=$?
34387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388   (exit $ac_status); }; }; then
34389   eval "$as_ac_var=yes"
34390 else
34391   echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34393
34394 eval "$as_ac_var=no"
34395 fi
34396 rm -f conftest.err conftest.$ac_objext \
34397       conftest$ac_exeext conftest.$ac_ext
34398 fi
34399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34401 if test `eval echo '${'$as_ac_var'}'` = yes; then
34402   cat >>confdefs.h <<_ACEOF
34403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34404 _ACEOF
34405
34406 fi
34407 done
34408
34409     fi
34410   fi
34411
34412
34413
34414
34415
34416
34417   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
34418 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
34419   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34420     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
34421   echo $ECHO_N "(cached) $ECHO_C" >&6
34422 else
34423
34424
34425
34426       ac_ext=cc
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34431
34432       cat >conftest.$ac_ext <<_ACEOF
34433 /* confdefs.h.  */
34434 _ACEOF
34435 cat confdefs.h >>conftest.$ac_ext
34436 cat >>conftest.$ac_ext <<_ACEOF
34437 /* end confdefs.h.  */
34438 #include <math.h>
34439 int
34440 main ()
34441 {
34442  ldexpl(0, 0);
34443   ;
34444   return 0;
34445 }
34446 _ACEOF
34447 rm -f conftest.$ac_objext
34448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34449   (eval $ac_compile) 2>conftest.er1
34450   ac_status=$?
34451   grep -v '^ *+' conftest.er1 >conftest.err
34452   rm -f conftest.er1
34453   cat conftest.err >&5
34454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455   (exit $ac_status); } &&
34456          { ac_try='test -z "$ac_cxx_werror_flag"
34457                          || test ! -s conftest.err'
34458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459   (eval $ac_try) 2>&5
34460   ac_status=$?
34461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462   (exit $ac_status); }; } &&
34463          { ac_try='test -s conftest.$ac_objext'
34464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465   (eval $ac_try) 2>&5
34466   ac_status=$?
34467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468   (exit $ac_status); }; }; then
34469   glibcxx_cv_func_ldexpl_use=yes
34470 else
34471   echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 glibcxx_cv_func_ldexpl_use=no
34475 fi
34476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34477       ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482
34483
34484 fi
34485
34486   fi
34487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
34488 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
34489
34490   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34491
34492 for ac_func in ldexpl
34493 do
34494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34495 echo "$as_me:$LINENO: checking for $ac_func" >&5
34496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34497 if eval "test \"\${$as_ac_var+set}\" = set"; then
34498   echo $ECHO_N "(cached) $ECHO_C" >&6
34499 else
34500   if test x$gcc_no_link = xyes; then
34501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34503    { (exit 1); exit 1; }; }
34504 fi
34505 cat >conftest.$ac_ext <<_ACEOF
34506 /* confdefs.h.  */
34507 _ACEOF
34508 cat confdefs.h >>conftest.$ac_ext
34509 cat >>conftest.$ac_ext <<_ACEOF
34510 /* end confdefs.h.  */
34511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34513 #define $ac_func innocuous_$ac_func
34514
34515 /* System header to define __stub macros and hopefully few prototypes,
34516     which can conflict with char $ac_func (); below.
34517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34518     <limits.h> exists even on freestanding compilers.  */
34519
34520 #ifdef __STDC__
34521 # include <limits.h>
34522 #else
34523 # include <assert.h>
34524 #endif
34525
34526 #undef $ac_func
34527
34528 /* Override any gcc2 internal prototype to avoid an error.  */
34529 #ifdef __cplusplus
34530 extern "C"
34531 {
34532 #endif
34533 /* We use char because int might match the return type of a gcc2
34534    builtin and then its argument prototype would still apply.  */
34535 char $ac_func ();
34536 /* The GNU C library defines this for functions which it implements
34537     to always fail with ENOSYS.  Some functions are actually named
34538     something starting with __ and the normal name is an alias.  */
34539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34540 choke me
34541 #else
34542 char (*f) () = $ac_func;
34543 #endif
34544 #ifdef __cplusplus
34545 }
34546 #endif
34547
34548 int
34549 main ()
34550 {
34551 return f != $ac_func;
34552   ;
34553   return 0;
34554 }
34555 _ACEOF
34556 rm -f conftest.$ac_objext conftest$ac_exeext
34557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34558   (eval $ac_link) 2>conftest.er1
34559   ac_status=$?
34560   grep -v '^ *+' conftest.er1 >conftest.err
34561   rm -f conftest.er1
34562   cat conftest.err >&5
34563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564   (exit $ac_status); } &&
34565          { ac_try='test -z "$ac_c_werror_flag"
34566                          || test ! -s conftest.err'
34567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568   (eval $ac_try) 2>&5
34569   ac_status=$?
34570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571   (exit $ac_status); }; } &&
34572          { ac_try='test -s conftest$ac_exeext'
34573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34574   (eval $ac_try) 2>&5
34575   ac_status=$?
34576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577   (exit $ac_status); }; }; then
34578   eval "$as_ac_var=yes"
34579 else
34580   echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34582
34583 eval "$as_ac_var=no"
34584 fi
34585 rm -f conftest.err conftest.$ac_objext \
34586       conftest$ac_exeext conftest.$ac_ext
34587 fi
34588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34590 if test `eval echo '${'$as_ac_var'}'` = yes; then
34591   cat >>confdefs.h <<_ACEOF
34592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34593 _ACEOF
34594
34595 fi
34596 done
34597
34598   else
34599
34600   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
34601 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
34602   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34603     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
34604   echo $ECHO_N "(cached) $ECHO_C" >&6
34605 else
34606
34607
34608
34609       ac_ext=cc
34610 ac_cpp='$CXXCPP $CPPFLAGS'
34611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34614
34615       cat >conftest.$ac_ext <<_ACEOF
34616 /* confdefs.h.  */
34617 _ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h.  */
34621 #include <math.h>
34622 int
34623 main ()
34624 {
34625  _ldexpl(0, 0);
34626   ;
34627   return 0;
34628 }
34629 _ACEOF
34630 rm -f conftest.$ac_objext
34631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34632   (eval $ac_compile) 2>conftest.er1
34633   ac_status=$?
34634   grep -v '^ *+' conftest.er1 >conftest.err
34635   rm -f conftest.er1
34636   cat conftest.err >&5
34637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638   (exit $ac_status); } &&
34639          { ac_try='test -z "$ac_cxx_werror_flag"
34640                          || test ! -s conftest.err'
34641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34642   (eval $ac_try) 2>&5
34643   ac_status=$?
34644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645   (exit $ac_status); }; } &&
34646          { ac_try='test -s conftest.$ac_objext'
34647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34648   (eval $ac_try) 2>&5
34649   ac_status=$?
34650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651   (exit $ac_status); }; }; then
34652   glibcxx_cv_func__ldexpl_use=yes
34653 else
34654   echo "$as_me: failed program was:" >&5
34655 sed 's/^/| /' conftest.$ac_ext >&5
34656
34657 glibcxx_cv_func__ldexpl_use=no
34658 fi
34659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34660       ac_ext=c
34661 ac_cpp='$CPP $CPPFLAGS'
34662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34665
34666
34667 fi
34668
34669   fi
34670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
34671 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
34672
34673     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34674
34675 for ac_func in _ldexpl
34676 do
34677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34678 echo "$as_me:$LINENO: checking for $ac_func" >&5
34679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34680 if eval "test \"\${$as_ac_var+set}\" = set"; then
34681   echo $ECHO_N "(cached) $ECHO_C" >&6
34682 else
34683   if test x$gcc_no_link = xyes; then
34684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34686    { (exit 1); exit 1; }; }
34687 fi
34688 cat >conftest.$ac_ext <<_ACEOF
34689 /* confdefs.h.  */
34690 _ACEOF
34691 cat confdefs.h >>conftest.$ac_ext
34692 cat >>conftest.$ac_ext <<_ACEOF
34693 /* end confdefs.h.  */
34694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34696 #define $ac_func innocuous_$ac_func
34697
34698 /* System header to define __stub macros and hopefully few prototypes,
34699     which can conflict with char $ac_func (); below.
34700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34701     <limits.h> exists even on freestanding compilers.  */
34702
34703 #ifdef __STDC__
34704 # include <limits.h>
34705 #else
34706 # include <assert.h>
34707 #endif
34708
34709 #undef $ac_func
34710
34711 /* Override any gcc2 internal prototype to avoid an error.  */
34712 #ifdef __cplusplus
34713 extern "C"
34714 {
34715 #endif
34716 /* We use char because int might match the return type of a gcc2
34717    builtin and then its argument prototype would still apply.  */
34718 char $ac_func ();
34719 /* The GNU C library defines this for functions which it implements
34720     to always fail with ENOSYS.  Some functions are actually named
34721     something starting with __ and the normal name is an alias.  */
34722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34723 choke me
34724 #else
34725 char (*f) () = $ac_func;
34726 #endif
34727 #ifdef __cplusplus
34728 }
34729 #endif
34730
34731 int
34732 main ()
34733 {
34734 return f != $ac_func;
34735   ;
34736   return 0;
34737 }
34738 _ACEOF
34739 rm -f conftest.$ac_objext conftest$ac_exeext
34740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34741   (eval $ac_link) 2>conftest.er1
34742   ac_status=$?
34743   grep -v '^ *+' conftest.er1 >conftest.err
34744   rm -f conftest.er1
34745   cat conftest.err >&5
34746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747   (exit $ac_status); } &&
34748          { ac_try='test -z "$ac_c_werror_flag"
34749                          || test ! -s conftest.err'
34750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751   (eval $ac_try) 2>&5
34752   ac_status=$?
34753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754   (exit $ac_status); }; } &&
34755          { ac_try='test -s conftest$ac_exeext'
34756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757   (eval $ac_try) 2>&5
34758   ac_status=$?
34759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760   (exit $ac_status); }; }; then
34761   eval "$as_ac_var=yes"
34762 else
34763   echo "$as_me: failed program was:" >&5
34764 sed 's/^/| /' conftest.$ac_ext >&5
34765
34766 eval "$as_ac_var=no"
34767 fi
34768 rm -f conftest.err conftest.$ac_objext \
34769       conftest$ac_exeext conftest.$ac_ext
34770 fi
34771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34773 if test `eval echo '${'$as_ac_var'}'` = yes; then
34774   cat >>confdefs.h <<_ACEOF
34775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34776 _ACEOF
34777
34778 fi
34779 done
34780
34781     fi
34782   fi
34783
34784
34785
34786
34787
34788
34789   echo "$as_me:$LINENO: checking for logl declaration" >&5
34790 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
34791   if test x${glibcxx_cv_func_logl_use+set} != xset; then
34792     if test "${glibcxx_cv_func_logl_use+set}" = set; then
34793   echo $ECHO_N "(cached) $ECHO_C" >&6
34794 else
34795
34796
34797
34798       ac_ext=cc
34799 ac_cpp='$CXXCPP $CPPFLAGS'
34800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34803
34804       cat >conftest.$ac_ext <<_ACEOF
34805 /* confdefs.h.  */
34806 _ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h.  */
34810 #include <math.h>
34811                       #ifdef HAVE_IEEEFP_H
34812                       #include <ieeefp.h>
34813                       #endif
34814
34815 int
34816 main ()
34817 {
34818  logl(0);
34819   ;
34820   return 0;
34821 }
34822 _ACEOF
34823 rm -f conftest.$ac_objext
34824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34825   (eval $ac_compile) 2>conftest.er1
34826   ac_status=$?
34827   grep -v '^ *+' conftest.er1 >conftest.err
34828   rm -f conftest.er1
34829   cat conftest.err >&5
34830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831   (exit $ac_status); } &&
34832          { ac_try='test -z "$ac_cxx_werror_flag"
34833                          || test ! -s conftest.err'
34834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835   (eval $ac_try) 2>&5
34836   ac_status=$?
34837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838   (exit $ac_status); }; } &&
34839          { ac_try='test -s conftest.$ac_objext'
34840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841   (eval $ac_try) 2>&5
34842   ac_status=$?
34843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844   (exit $ac_status); }; }; then
34845   glibcxx_cv_func_logl_use=yes
34846 else
34847   echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.$ac_ext >&5
34849
34850 glibcxx_cv_func_logl_use=no
34851 fi
34852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34853       ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34858
34859
34860 fi
34861
34862   fi
34863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
34864 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
34865
34866   if test x$glibcxx_cv_func_logl_use = x"yes"; then
34867
34868 for ac_func in logl
34869 do
34870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34871 echo "$as_me:$LINENO: checking for $ac_func" >&5
34872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34873 if eval "test \"\${$as_ac_var+set}\" = set"; then
34874   echo $ECHO_N "(cached) $ECHO_C" >&6
34875 else
34876   if test x$gcc_no_link = xyes; then
34877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34879    { (exit 1); exit 1; }; }
34880 fi
34881 cat >conftest.$ac_ext <<_ACEOF
34882 /* confdefs.h.  */
34883 _ACEOF
34884 cat confdefs.h >>conftest.$ac_ext
34885 cat >>conftest.$ac_ext <<_ACEOF
34886 /* end confdefs.h.  */
34887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34889 #define $ac_func innocuous_$ac_func
34890
34891 /* System header to define __stub macros and hopefully few prototypes,
34892     which can conflict with char $ac_func (); below.
34893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34894     <limits.h> exists even on freestanding compilers.  */
34895
34896 #ifdef __STDC__
34897 # include <limits.h>
34898 #else
34899 # include <assert.h>
34900 #endif
34901
34902 #undef $ac_func
34903
34904 /* Override any gcc2 internal prototype to avoid an error.  */
34905 #ifdef __cplusplus
34906 extern "C"
34907 {
34908 #endif
34909 /* We use char because int might match the return type of a gcc2
34910    builtin and then its argument prototype would still apply.  */
34911 char $ac_func ();
34912 /* The GNU C library defines this for functions which it implements
34913     to always fail with ENOSYS.  Some functions are actually named
34914     something starting with __ and the normal name is an alias.  */
34915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34916 choke me
34917 #else
34918 char (*f) () = $ac_func;
34919 #endif
34920 #ifdef __cplusplus
34921 }
34922 #endif
34923
34924 int
34925 main ()
34926 {
34927 return f != $ac_func;
34928   ;
34929   return 0;
34930 }
34931 _ACEOF
34932 rm -f conftest.$ac_objext conftest$ac_exeext
34933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34934   (eval $ac_link) 2>conftest.er1
34935   ac_status=$?
34936   grep -v '^ *+' conftest.er1 >conftest.err
34937   rm -f conftest.er1
34938   cat conftest.err >&5
34939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940   (exit $ac_status); } &&
34941          { ac_try='test -z "$ac_c_werror_flag"
34942                          || test ! -s conftest.err'
34943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944   (eval $ac_try) 2>&5
34945   ac_status=$?
34946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947   (exit $ac_status); }; } &&
34948          { ac_try='test -s conftest$ac_exeext'
34949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34950   (eval $ac_try) 2>&5
34951   ac_status=$?
34952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953   (exit $ac_status); }; }; then
34954   eval "$as_ac_var=yes"
34955 else
34956   echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.$ac_ext >&5
34958
34959 eval "$as_ac_var=no"
34960 fi
34961 rm -f conftest.err conftest.$ac_objext \
34962       conftest$ac_exeext conftest.$ac_ext
34963 fi
34964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34966 if test `eval echo '${'$as_ac_var'}'` = yes; then
34967   cat >>confdefs.h <<_ACEOF
34968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34969 _ACEOF
34970
34971 fi
34972 done
34973
34974   else
34975
34976   echo "$as_me:$LINENO: checking for _logl declaration" >&5
34977 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
34978   if test x${glibcxx_cv_func__logl_use+set} != xset; then
34979     if test "${glibcxx_cv_func__logl_use+set}" = set; then
34980   echo $ECHO_N "(cached) $ECHO_C" >&6
34981 else
34982
34983
34984
34985       ac_ext=cc
34986 ac_cpp='$CXXCPP $CPPFLAGS'
34987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34990
34991       cat >conftest.$ac_ext <<_ACEOF
34992 /* confdefs.h.  */
34993 _ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h.  */
34997 #include <math.h>
34998                       #ifdef HAVE_IEEEFP_H
34999                       #include <ieeefp.h>
35000                       #endif
35001
35002 int
35003 main ()
35004 {
35005  _logl(0);
35006   ;
35007   return 0;
35008 }
35009 _ACEOF
35010 rm -f conftest.$ac_objext
35011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35012   (eval $ac_compile) 2>conftest.er1
35013   ac_status=$?
35014   grep -v '^ *+' conftest.er1 >conftest.err
35015   rm -f conftest.er1
35016   cat conftest.err >&5
35017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018   (exit $ac_status); } &&
35019          { ac_try='test -z "$ac_cxx_werror_flag"
35020                          || test ! -s conftest.err'
35021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022   (eval $ac_try) 2>&5
35023   ac_status=$?
35024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025   (exit $ac_status); }; } &&
35026          { ac_try='test -s conftest.$ac_objext'
35027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028   (eval $ac_try) 2>&5
35029   ac_status=$?
35030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031   (exit $ac_status); }; }; then
35032   glibcxx_cv_func__logl_use=yes
35033 else
35034   echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.$ac_ext >&5
35036
35037 glibcxx_cv_func__logl_use=no
35038 fi
35039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35040       ac_ext=c
35041 ac_cpp='$CPP $CPPFLAGS'
35042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35045
35046
35047 fi
35048
35049   fi
35050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
35051 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
35052
35053     if test x$glibcxx_cv_func__logl_use = x"yes"; then
35054
35055 for ac_func in _logl
35056 do
35057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35058 echo "$as_me:$LINENO: checking for $ac_func" >&5
35059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35060 if eval "test \"\${$as_ac_var+set}\" = set"; then
35061   echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35063   if test x$gcc_no_link = xyes; then
35064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35066    { (exit 1); exit 1; }; }
35067 fi
35068 cat >conftest.$ac_ext <<_ACEOF
35069 /* confdefs.h.  */
35070 _ACEOF
35071 cat confdefs.h >>conftest.$ac_ext
35072 cat >>conftest.$ac_ext <<_ACEOF
35073 /* end confdefs.h.  */
35074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35076 #define $ac_func innocuous_$ac_func
35077
35078 /* System header to define __stub macros and hopefully few prototypes,
35079     which can conflict with char $ac_func (); below.
35080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35081     <limits.h> exists even on freestanding compilers.  */
35082
35083 #ifdef __STDC__
35084 # include <limits.h>
35085 #else
35086 # include <assert.h>
35087 #endif
35088
35089 #undef $ac_func
35090
35091 /* Override any gcc2 internal prototype to avoid an error.  */
35092 #ifdef __cplusplus
35093 extern "C"
35094 {
35095 #endif
35096 /* We use char because int might match the return type of a gcc2
35097    builtin and then its argument prototype would still apply.  */
35098 char $ac_func ();
35099 /* The GNU C library defines this for functions which it implements
35100     to always fail with ENOSYS.  Some functions are actually named
35101     something starting with __ and the normal name is an alias.  */
35102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35103 choke me
35104 #else
35105 char (*f) () = $ac_func;
35106 #endif
35107 #ifdef __cplusplus
35108 }
35109 #endif
35110
35111 int
35112 main ()
35113 {
35114 return f != $ac_func;
35115   ;
35116   return 0;
35117 }
35118 _ACEOF
35119 rm -f conftest.$ac_objext conftest$ac_exeext
35120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35121   (eval $ac_link) 2>conftest.er1
35122   ac_status=$?
35123   grep -v '^ *+' conftest.er1 >conftest.err
35124   rm -f conftest.er1
35125   cat conftest.err >&5
35126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127   (exit $ac_status); } &&
35128          { ac_try='test -z "$ac_c_werror_flag"
35129                          || test ! -s conftest.err'
35130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131   (eval $ac_try) 2>&5
35132   ac_status=$?
35133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134   (exit $ac_status); }; } &&
35135          { ac_try='test -s conftest$ac_exeext'
35136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35137   (eval $ac_try) 2>&5
35138   ac_status=$?
35139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140   (exit $ac_status); }; }; then
35141   eval "$as_ac_var=yes"
35142 else
35143   echo "$as_me: failed program was:" >&5
35144 sed 's/^/| /' conftest.$ac_ext >&5
35145
35146 eval "$as_ac_var=no"
35147 fi
35148 rm -f conftest.err conftest.$ac_objext \
35149       conftest$ac_exeext conftest.$ac_ext
35150 fi
35151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35153 if test `eval echo '${'$as_ac_var'}'` = yes; then
35154   cat >>confdefs.h <<_ACEOF
35155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35156 _ACEOF
35157
35158 fi
35159 done
35160
35161     fi
35162   fi
35163
35164
35165
35166
35167
35168
35169   echo "$as_me:$LINENO: checking for log10l declaration" >&5
35170 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
35171   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
35172     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
35173   echo $ECHO_N "(cached) $ECHO_C" >&6
35174 else
35175
35176
35177
35178       ac_ext=cc
35179 ac_cpp='$CXXCPP $CPPFLAGS'
35180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35183
35184       cat >conftest.$ac_ext <<_ACEOF
35185 /* confdefs.h.  */
35186 _ACEOF
35187 cat confdefs.h >>conftest.$ac_ext
35188 cat >>conftest.$ac_ext <<_ACEOF
35189 /* end confdefs.h.  */
35190 #include <math.h>
35191                       #ifdef HAVE_IEEEFP_H
35192                       #include <ieeefp.h>
35193                       #endif
35194
35195 int
35196 main ()
35197 {
35198  log10l(0);
35199   ;
35200   return 0;
35201 }
35202 _ACEOF
35203 rm -f conftest.$ac_objext
35204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35205   (eval $ac_compile) 2>conftest.er1
35206   ac_status=$?
35207   grep -v '^ *+' conftest.er1 >conftest.err
35208   rm -f conftest.er1
35209   cat conftest.err >&5
35210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211   (exit $ac_status); } &&
35212          { ac_try='test -z "$ac_cxx_werror_flag"
35213                          || test ! -s conftest.err'
35214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215   (eval $ac_try) 2>&5
35216   ac_status=$?
35217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218   (exit $ac_status); }; } &&
35219          { ac_try='test -s conftest.$ac_objext'
35220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221   (eval $ac_try) 2>&5
35222   ac_status=$?
35223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224   (exit $ac_status); }; }; then
35225   glibcxx_cv_func_log10l_use=yes
35226 else
35227   echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.$ac_ext >&5
35229
35230 glibcxx_cv_func_log10l_use=no
35231 fi
35232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35233       ac_ext=c
35234 ac_cpp='$CPP $CPPFLAGS'
35235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35238
35239
35240 fi
35241
35242   fi
35243   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
35244 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
35245
35246   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
35247
35248 for ac_func in log10l
35249 do
35250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35251 echo "$as_me:$LINENO: checking for $ac_func" >&5
35252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35253 if eval "test \"\${$as_ac_var+set}\" = set"; then
35254   echo $ECHO_N "(cached) $ECHO_C" >&6
35255 else
35256   if test x$gcc_no_link = xyes; then
35257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35259    { (exit 1); exit 1; }; }
35260 fi
35261 cat >conftest.$ac_ext <<_ACEOF
35262 /* confdefs.h.  */
35263 _ACEOF
35264 cat confdefs.h >>conftest.$ac_ext
35265 cat >>conftest.$ac_ext <<_ACEOF
35266 /* end confdefs.h.  */
35267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35269 #define $ac_func innocuous_$ac_func
35270
35271 /* System header to define __stub macros and hopefully few prototypes,
35272     which can conflict with char $ac_func (); below.
35273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35274     <limits.h> exists even on freestanding compilers.  */
35275
35276 #ifdef __STDC__
35277 # include <limits.h>
35278 #else
35279 # include <assert.h>
35280 #endif
35281
35282 #undef $ac_func
35283
35284 /* Override any gcc2 internal prototype to avoid an error.  */
35285 #ifdef __cplusplus
35286 extern "C"
35287 {
35288 #endif
35289 /* We use char because int might match the return type of a gcc2
35290    builtin and then its argument prototype would still apply.  */
35291 char $ac_func ();
35292 /* The GNU C library defines this for functions which it implements
35293     to always fail with ENOSYS.  Some functions are actually named
35294     something starting with __ and the normal name is an alias.  */
35295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35296 choke me
35297 #else
35298 char (*f) () = $ac_func;
35299 #endif
35300 #ifdef __cplusplus
35301 }
35302 #endif
35303
35304 int
35305 main ()
35306 {
35307 return f != $ac_func;
35308   ;
35309   return 0;
35310 }
35311 _ACEOF
35312 rm -f conftest.$ac_objext conftest$ac_exeext
35313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35314   (eval $ac_link) 2>conftest.er1
35315   ac_status=$?
35316   grep -v '^ *+' conftest.er1 >conftest.err
35317   rm -f conftest.er1
35318   cat conftest.err >&5
35319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320   (exit $ac_status); } &&
35321          { ac_try='test -z "$ac_c_werror_flag"
35322                          || test ! -s conftest.err'
35323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324   (eval $ac_try) 2>&5
35325   ac_status=$?
35326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327   (exit $ac_status); }; } &&
35328          { ac_try='test -s conftest$ac_exeext'
35329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35330   (eval $ac_try) 2>&5
35331   ac_status=$?
35332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333   (exit $ac_status); }; }; then
35334   eval "$as_ac_var=yes"
35335 else
35336   echo "$as_me: failed program was:" >&5
35337 sed 's/^/| /' conftest.$ac_ext >&5
35338
35339 eval "$as_ac_var=no"
35340 fi
35341 rm -f conftest.err conftest.$ac_objext \
35342       conftest$ac_exeext conftest.$ac_ext
35343 fi
35344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35346 if test `eval echo '${'$as_ac_var'}'` = yes; then
35347   cat >>confdefs.h <<_ACEOF
35348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354   else
35355
35356   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
35357 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
35358   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
35359     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
35360   echo $ECHO_N "(cached) $ECHO_C" >&6
35361 else
35362
35363
35364
35365       ac_ext=cc
35366 ac_cpp='$CXXCPP $CPPFLAGS'
35367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35370
35371       cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h.  */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h.  */
35377 #include <math.h>
35378                       #ifdef HAVE_IEEEFP_H
35379                       #include <ieeefp.h>
35380                       #endif
35381
35382 int
35383 main ()
35384 {
35385  _log10l(0);
35386   ;
35387   return 0;
35388 }
35389 _ACEOF
35390 rm -f conftest.$ac_objext
35391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35392   (eval $ac_compile) 2>conftest.er1
35393   ac_status=$?
35394   grep -v '^ *+' conftest.er1 >conftest.err
35395   rm -f conftest.er1
35396   cat conftest.err >&5
35397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398   (exit $ac_status); } &&
35399          { ac_try='test -z "$ac_cxx_werror_flag"
35400                          || test ! -s conftest.err'
35401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402   (eval $ac_try) 2>&5
35403   ac_status=$?
35404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405   (exit $ac_status); }; } &&
35406          { ac_try='test -s conftest.$ac_objext'
35407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35408   (eval $ac_try) 2>&5
35409   ac_status=$?
35410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411   (exit $ac_status); }; }; then
35412   glibcxx_cv_func__log10l_use=yes
35413 else
35414   echo "$as_me: failed program was:" >&5
35415 sed 's/^/| /' conftest.$ac_ext >&5
35416
35417 glibcxx_cv_func__log10l_use=no
35418 fi
35419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35420       ac_ext=c
35421 ac_cpp='$CPP $CPPFLAGS'
35422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35425
35426
35427 fi
35428
35429   fi
35430   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
35431 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
35432
35433     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
35434
35435 for ac_func in _log10l
35436 do
35437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35438 echo "$as_me:$LINENO: checking for $ac_func" >&5
35439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35440 if eval "test \"\${$as_ac_var+set}\" = set"; then
35441   echo $ECHO_N "(cached) $ECHO_C" >&6
35442 else
35443   if test x$gcc_no_link = xyes; then
35444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35446    { (exit 1); exit 1; }; }
35447 fi
35448 cat >conftest.$ac_ext <<_ACEOF
35449 /* confdefs.h.  */
35450 _ACEOF
35451 cat confdefs.h >>conftest.$ac_ext
35452 cat >>conftest.$ac_ext <<_ACEOF
35453 /* end confdefs.h.  */
35454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35456 #define $ac_func innocuous_$ac_func
35457
35458 /* System header to define __stub macros and hopefully few prototypes,
35459     which can conflict with char $ac_func (); below.
35460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35461     <limits.h> exists even on freestanding compilers.  */
35462
35463 #ifdef __STDC__
35464 # include <limits.h>
35465 #else
35466 # include <assert.h>
35467 #endif
35468
35469 #undef $ac_func
35470
35471 /* Override any gcc2 internal prototype to avoid an error.  */
35472 #ifdef __cplusplus
35473 extern "C"
35474 {
35475 #endif
35476 /* We use char because int might match the return type of a gcc2
35477    builtin and then its argument prototype would still apply.  */
35478 char $ac_func ();
35479 /* The GNU C library defines this for functions which it implements
35480     to always fail with ENOSYS.  Some functions are actually named
35481     something starting with __ and the normal name is an alias.  */
35482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35483 choke me
35484 #else
35485 char (*f) () = $ac_func;
35486 #endif
35487 #ifdef __cplusplus
35488 }
35489 #endif
35490
35491 int
35492 main ()
35493 {
35494 return f != $ac_func;
35495   ;
35496   return 0;
35497 }
35498 _ACEOF
35499 rm -f conftest.$ac_objext conftest$ac_exeext
35500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35501   (eval $ac_link) 2>conftest.er1
35502   ac_status=$?
35503   grep -v '^ *+' conftest.er1 >conftest.err
35504   rm -f conftest.er1
35505   cat conftest.err >&5
35506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507   (exit $ac_status); } &&
35508          { ac_try='test -z "$ac_c_werror_flag"
35509                          || test ! -s conftest.err'
35510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35511   (eval $ac_try) 2>&5
35512   ac_status=$?
35513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514   (exit $ac_status); }; } &&
35515          { ac_try='test -s conftest$ac_exeext'
35516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517   (eval $ac_try) 2>&5
35518   ac_status=$?
35519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520   (exit $ac_status); }; }; then
35521   eval "$as_ac_var=yes"
35522 else
35523   echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.$ac_ext >&5
35525
35526 eval "$as_ac_var=no"
35527 fi
35528 rm -f conftest.err conftest.$ac_objext \
35529       conftest$ac_exeext conftest.$ac_ext
35530 fi
35531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35533 if test `eval echo '${'$as_ac_var'}'` = yes; then
35534   cat >>confdefs.h <<_ACEOF
35535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35536 _ACEOF
35537
35538 fi
35539 done
35540
35541     fi
35542   fi
35543
35544
35545
35546
35547
35548
35549   echo "$as_me:$LINENO: checking for modfl declaration" >&5
35550 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
35551   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35552     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
35553   echo $ECHO_N "(cached) $ECHO_C" >&6
35554 else
35555
35556
35557
35558       ac_ext=cc
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35563
35564       cat >conftest.$ac_ext <<_ACEOF
35565 /* confdefs.h.  */
35566 _ACEOF
35567 cat confdefs.h >>conftest.$ac_ext
35568 cat >>conftest.$ac_ext <<_ACEOF
35569 /* end confdefs.h.  */
35570 #include <math.h>
35571 int
35572 main ()
35573 {
35574  modfl(0, 0);
35575   ;
35576   return 0;
35577 }
35578 _ACEOF
35579 rm -f conftest.$ac_objext
35580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35581   (eval $ac_compile) 2>conftest.er1
35582   ac_status=$?
35583   grep -v '^ *+' conftest.er1 >conftest.err
35584   rm -f conftest.er1
35585   cat conftest.err >&5
35586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587   (exit $ac_status); } &&
35588          { ac_try='test -z "$ac_cxx_werror_flag"
35589                          || test ! -s conftest.err'
35590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591   (eval $ac_try) 2>&5
35592   ac_status=$?
35593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594   (exit $ac_status); }; } &&
35595          { ac_try='test -s conftest.$ac_objext'
35596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597   (eval $ac_try) 2>&5
35598   ac_status=$?
35599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600   (exit $ac_status); }; }; then
35601   glibcxx_cv_func_modfl_use=yes
35602 else
35603   echo "$as_me: failed program was:" >&5
35604 sed 's/^/| /' conftest.$ac_ext >&5
35605
35606 glibcxx_cv_func_modfl_use=no
35607 fi
35608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35609       ac_ext=c
35610 ac_cpp='$CPP $CPPFLAGS'
35611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35614
35615
35616 fi
35617
35618   fi
35619   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
35620 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
35621
35622   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35623
35624 for ac_func in modfl
35625 do
35626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35627 echo "$as_me:$LINENO: checking for $ac_func" >&5
35628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35629 if eval "test \"\${$as_ac_var+set}\" = set"; then
35630   echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632   if test x$gcc_no_link = xyes; then
35633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35635    { (exit 1); exit 1; }; }
35636 fi
35637 cat >conftest.$ac_ext <<_ACEOF
35638 /* confdefs.h.  */
35639 _ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h.  */
35643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35645 #define $ac_func innocuous_$ac_func
35646
35647 /* System header to define __stub macros and hopefully few prototypes,
35648     which can conflict with char $ac_func (); below.
35649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35650     <limits.h> exists even on freestanding compilers.  */
35651
35652 #ifdef __STDC__
35653 # include <limits.h>
35654 #else
35655 # include <assert.h>
35656 #endif
35657
35658 #undef $ac_func
35659
35660 /* Override any gcc2 internal prototype to avoid an error.  */
35661 #ifdef __cplusplus
35662 extern "C"
35663 {
35664 #endif
35665 /* We use char because int might match the return type of a gcc2
35666    builtin and then its argument prototype would still apply.  */
35667 char $ac_func ();
35668 /* The GNU C library defines this for functions which it implements
35669     to always fail with ENOSYS.  Some functions are actually named
35670     something starting with __ and the normal name is an alias.  */
35671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35672 choke me
35673 #else
35674 char (*f) () = $ac_func;
35675 #endif
35676 #ifdef __cplusplus
35677 }
35678 #endif
35679
35680 int
35681 main ()
35682 {
35683 return f != $ac_func;
35684   ;
35685   return 0;
35686 }
35687 _ACEOF
35688 rm -f conftest.$ac_objext conftest$ac_exeext
35689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35690   (eval $ac_link) 2>conftest.er1
35691   ac_status=$?
35692   grep -v '^ *+' conftest.er1 >conftest.err
35693   rm -f conftest.er1
35694   cat conftest.err >&5
35695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696   (exit $ac_status); } &&
35697          { ac_try='test -z "$ac_c_werror_flag"
35698                          || test ! -s conftest.err'
35699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35700   (eval $ac_try) 2>&5
35701   ac_status=$?
35702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703   (exit $ac_status); }; } &&
35704          { ac_try='test -s conftest$ac_exeext'
35705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35706   (eval $ac_try) 2>&5
35707   ac_status=$?
35708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709   (exit $ac_status); }; }; then
35710   eval "$as_ac_var=yes"
35711 else
35712   echo "$as_me: failed program was:" >&5
35713 sed 's/^/| /' conftest.$ac_ext >&5
35714
35715 eval "$as_ac_var=no"
35716 fi
35717 rm -f conftest.err conftest.$ac_objext \
35718       conftest$ac_exeext conftest.$ac_ext
35719 fi
35720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35722 if test `eval echo '${'$as_ac_var'}'` = yes; then
35723   cat >>confdefs.h <<_ACEOF
35724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35725 _ACEOF
35726
35727 fi
35728 done
35729
35730   else
35731
35732   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
35733 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
35734   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35735     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
35736   echo $ECHO_N "(cached) $ECHO_C" >&6
35737 else
35738
35739
35740
35741       ac_ext=cc
35742 ac_cpp='$CXXCPP $CPPFLAGS'
35743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35746
35747       cat >conftest.$ac_ext <<_ACEOF
35748 /* confdefs.h.  */
35749 _ACEOF
35750 cat confdefs.h >>conftest.$ac_ext
35751 cat >>conftest.$ac_ext <<_ACEOF
35752 /* end confdefs.h.  */
35753 #include <math.h>
35754 int
35755 main ()
35756 {
35757  _modfl(0, 0);
35758   ;
35759   return 0;
35760 }
35761 _ACEOF
35762 rm -f conftest.$ac_objext
35763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35764   (eval $ac_compile) 2>conftest.er1
35765   ac_status=$?
35766   grep -v '^ *+' conftest.er1 >conftest.err
35767   rm -f conftest.er1
35768   cat conftest.err >&5
35769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770   (exit $ac_status); } &&
35771          { ac_try='test -z "$ac_cxx_werror_flag"
35772                          || test ! -s conftest.err'
35773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35774   (eval $ac_try) 2>&5
35775   ac_status=$?
35776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777   (exit $ac_status); }; } &&
35778          { ac_try='test -s conftest.$ac_objext'
35779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35780   (eval $ac_try) 2>&5
35781   ac_status=$?
35782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783   (exit $ac_status); }; }; then
35784   glibcxx_cv_func__modfl_use=yes
35785 else
35786   echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 glibcxx_cv_func__modfl_use=no
35790 fi
35791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35792       ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 fi
35800
35801   fi
35802   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
35803 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
35804
35805     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35806
35807 for ac_func in _modfl
35808 do
35809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35810 echo "$as_me:$LINENO: checking for $ac_func" >&5
35811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35812 if eval "test \"\${$as_ac_var+set}\" = set"; then
35813   echo $ECHO_N "(cached) $ECHO_C" >&6
35814 else
35815   if test x$gcc_no_link = xyes; then
35816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35818    { (exit 1); exit 1; }; }
35819 fi
35820 cat >conftest.$ac_ext <<_ACEOF
35821 /* confdefs.h.  */
35822 _ACEOF
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h.  */
35826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35828 #define $ac_func innocuous_$ac_func
35829
35830 /* System header to define __stub macros and hopefully few prototypes,
35831     which can conflict with char $ac_func (); below.
35832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35833     <limits.h> exists even on freestanding compilers.  */
35834
35835 #ifdef __STDC__
35836 # include <limits.h>
35837 #else
35838 # include <assert.h>
35839 #endif
35840
35841 #undef $ac_func
35842
35843 /* Override any gcc2 internal prototype to avoid an error.  */
35844 #ifdef __cplusplus
35845 extern "C"
35846 {
35847 #endif
35848 /* We use char because int might match the return type of a gcc2
35849    builtin and then its argument prototype would still apply.  */
35850 char $ac_func ();
35851 /* The GNU C library defines this for functions which it implements
35852     to always fail with ENOSYS.  Some functions are actually named
35853     something starting with __ and the normal name is an alias.  */
35854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35855 choke me
35856 #else
35857 char (*f) () = $ac_func;
35858 #endif
35859 #ifdef __cplusplus
35860 }
35861 #endif
35862
35863 int
35864 main ()
35865 {
35866 return f != $ac_func;
35867   ;
35868   return 0;
35869 }
35870 _ACEOF
35871 rm -f conftest.$ac_objext conftest$ac_exeext
35872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35873   (eval $ac_link) 2>conftest.er1
35874   ac_status=$?
35875   grep -v '^ *+' conftest.er1 >conftest.err
35876   rm -f conftest.er1
35877   cat conftest.err >&5
35878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879   (exit $ac_status); } &&
35880          { ac_try='test -z "$ac_c_werror_flag"
35881                          || test ! -s conftest.err'
35882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883   (eval $ac_try) 2>&5
35884   ac_status=$?
35885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886   (exit $ac_status); }; } &&
35887          { ac_try='test -s conftest$ac_exeext'
35888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889   (eval $ac_try) 2>&5
35890   ac_status=$?
35891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892   (exit $ac_status); }; }; then
35893   eval "$as_ac_var=yes"
35894 else
35895   echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.$ac_ext >&5
35897
35898 eval "$as_ac_var=no"
35899 fi
35900 rm -f conftest.err conftest.$ac_objext \
35901       conftest$ac_exeext conftest.$ac_ext
35902 fi
35903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35905 if test `eval echo '${'$as_ac_var'}'` = yes; then
35906   cat >>confdefs.h <<_ACEOF
35907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35908 _ACEOF
35909
35910 fi
35911 done
35912
35913     fi
35914   fi
35915
35916
35917
35918
35919
35920
35921   echo "$as_me:$LINENO: checking for powl declaration" >&5
35922 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
35923   if test x${glibcxx_cv_func_powl_use+set} != xset; then
35924     if test "${glibcxx_cv_func_powl_use+set}" = set; then
35925   echo $ECHO_N "(cached) $ECHO_C" >&6
35926 else
35927
35928
35929
35930       ac_ext=cc
35931 ac_cpp='$CXXCPP $CPPFLAGS'
35932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935
35936       cat >conftest.$ac_ext <<_ACEOF
35937 /* confdefs.h.  */
35938 _ACEOF
35939 cat confdefs.h >>conftest.$ac_ext
35940 cat >>conftest.$ac_ext <<_ACEOF
35941 /* end confdefs.h.  */
35942 #include <math.h>
35943 int
35944 main ()
35945 {
35946  powl(0, 0);
35947   ;
35948   return 0;
35949 }
35950 _ACEOF
35951 rm -f conftest.$ac_objext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35953   (eval $ac_compile) 2>conftest.er1
35954   ac_status=$?
35955   grep -v '^ *+' conftest.er1 >conftest.err
35956   rm -f conftest.er1
35957   cat conftest.err >&5
35958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959   (exit $ac_status); } &&
35960          { ac_try='test -z "$ac_cxx_werror_flag"
35961                          || test ! -s conftest.err'
35962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963   (eval $ac_try) 2>&5
35964   ac_status=$?
35965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966   (exit $ac_status); }; } &&
35967          { ac_try='test -s conftest.$ac_objext'
35968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969   (eval $ac_try) 2>&5
35970   ac_status=$?
35971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972   (exit $ac_status); }; }; then
35973   glibcxx_cv_func_powl_use=yes
35974 else
35975   echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978 glibcxx_cv_func_powl_use=no
35979 fi
35980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35981       ac_ext=c
35982 ac_cpp='$CPP $CPPFLAGS'
35983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35986
35987
35988 fi
35989
35990   fi
35991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
35992 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
35993
35994   if test x$glibcxx_cv_func_powl_use = x"yes"; then
35995
35996 for ac_func in powl
35997 do
35998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35999 echo "$as_me:$LINENO: checking for $ac_func" >&5
36000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36001 if eval "test \"\${$as_ac_var+set}\" = set"; then
36002   echo $ECHO_N "(cached) $ECHO_C" >&6
36003 else
36004   if test x$gcc_no_link = xyes; then
36005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36007    { (exit 1); exit 1; }; }
36008 fi
36009 cat >conftest.$ac_ext <<_ACEOF
36010 /* confdefs.h.  */
36011 _ACEOF
36012 cat confdefs.h >>conftest.$ac_ext
36013 cat >>conftest.$ac_ext <<_ACEOF
36014 /* end confdefs.h.  */
36015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36017 #define $ac_func innocuous_$ac_func
36018
36019 /* System header to define __stub macros and hopefully few prototypes,
36020     which can conflict with char $ac_func (); below.
36021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36022     <limits.h> exists even on freestanding compilers.  */
36023
36024 #ifdef __STDC__
36025 # include <limits.h>
36026 #else
36027 # include <assert.h>
36028 #endif
36029
36030 #undef $ac_func
36031
36032 /* Override any gcc2 internal prototype to avoid an error.  */
36033 #ifdef __cplusplus
36034 extern "C"
36035 {
36036 #endif
36037 /* We use char because int might match the return type of a gcc2
36038    builtin and then its argument prototype would still apply.  */
36039 char $ac_func ();
36040 /* The GNU C library defines this for functions which it implements
36041     to always fail with ENOSYS.  Some functions are actually named
36042     something starting with __ and the normal name is an alias.  */
36043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36044 choke me
36045 #else
36046 char (*f) () = $ac_func;
36047 #endif
36048 #ifdef __cplusplus
36049 }
36050 #endif
36051
36052 int
36053 main ()
36054 {
36055 return f != $ac_func;
36056   ;
36057   return 0;
36058 }
36059 _ACEOF
36060 rm -f conftest.$ac_objext conftest$ac_exeext
36061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36062   (eval $ac_link) 2>conftest.er1
36063   ac_status=$?
36064   grep -v '^ *+' conftest.er1 >conftest.err
36065   rm -f conftest.er1
36066   cat conftest.err >&5
36067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068   (exit $ac_status); } &&
36069          { ac_try='test -z "$ac_c_werror_flag"
36070                          || test ! -s conftest.err'
36071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36072   (eval $ac_try) 2>&5
36073   ac_status=$?
36074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36075   (exit $ac_status); }; } &&
36076          { ac_try='test -s conftest$ac_exeext'
36077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078   (eval $ac_try) 2>&5
36079   ac_status=$?
36080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081   (exit $ac_status); }; }; then
36082   eval "$as_ac_var=yes"
36083 else
36084   echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36086
36087 eval "$as_ac_var=no"
36088 fi
36089 rm -f conftest.err conftest.$ac_objext \
36090       conftest$ac_exeext conftest.$ac_ext
36091 fi
36092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36094 if test `eval echo '${'$as_ac_var'}'` = yes; then
36095   cat >>confdefs.h <<_ACEOF
36096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36097 _ACEOF
36098
36099 fi
36100 done
36101
36102   else
36103
36104   echo "$as_me:$LINENO: checking for _powl declaration" >&5
36105 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
36106   if test x${glibcxx_cv_func__powl_use+set} != xset; then
36107     if test "${glibcxx_cv_func__powl_use+set}" = set; then
36108   echo $ECHO_N "(cached) $ECHO_C" >&6
36109 else
36110
36111
36112
36113       ac_ext=cc
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118
36119       cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h.  */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h.  */
36125 #include <math.h>
36126 int
36127 main ()
36128 {
36129  _powl(0, 0);
36130   ;
36131   return 0;
36132 }
36133 _ACEOF
36134 rm -f conftest.$ac_objext
36135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36136   (eval $ac_compile) 2>conftest.er1
36137   ac_status=$?
36138   grep -v '^ *+' conftest.er1 >conftest.err
36139   rm -f conftest.er1
36140   cat conftest.err >&5
36141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142   (exit $ac_status); } &&
36143          { ac_try='test -z "$ac_cxx_werror_flag"
36144                          || test ! -s conftest.err'
36145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36146   (eval $ac_try) 2>&5
36147   ac_status=$?
36148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149   (exit $ac_status); }; } &&
36150          { ac_try='test -s conftest.$ac_objext'
36151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36152   (eval $ac_try) 2>&5
36153   ac_status=$?
36154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155   (exit $ac_status); }; }; then
36156   glibcxx_cv_func__powl_use=yes
36157 else
36158   echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36160
36161 glibcxx_cv_func__powl_use=no
36162 fi
36163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36164       ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36169
36170
36171 fi
36172
36173   fi
36174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
36175 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
36176
36177     if test x$glibcxx_cv_func__powl_use = x"yes"; then
36178
36179 for ac_func in _powl
36180 do
36181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36182 echo "$as_me:$LINENO: checking for $ac_func" >&5
36183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36184 if eval "test \"\${$as_ac_var+set}\" = set"; then
36185   echo $ECHO_N "(cached) $ECHO_C" >&6
36186 else
36187   if test x$gcc_no_link = xyes; then
36188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36190    { (exit 1); exit 1; }; }
36191 fi
36192 cat >conftest.$ac_ext <<_ACEOF
36193 /* confdefs.h.  */
36194 _ACEOF
36195 cat confdefs.h >>conftest.$ac_ext
36196 cat >>conftest.$ac_ext <<_ACEOF
36197 /* end confdefs.h.  */
36198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36200 #define $ac_func innocuous_$ac_func
36201
36202 /* System header to define __stub macros and hopefully few prototypes,
36203     which can conflict with char $ac_func (); below.
36204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36205     <limits.h> exists even on freestanding compilers.  */
36206
36207 #ifdef __STDC__
36208 # include <limits.h>
36209 #else
36210 # include <assert.h>
36211 #endif
36212
36213 #undef $ac_func
36214
36215 /* Override any gcc2 internal prototype to avoid an error.  */
36216 #ifdef __cplusplus
36217 extern "C"
36218 {
36219 #endif
36220 /* We use char because int might match the return type of a gcc2
36221    builtin and then its argument prototype would still apply.  */
36222 char $ac_func ();
36223 /* The GNU C library defines this for functions which it implements
36224     to always fail with ENOSYS.  Some functions are actually named
36225     something starting with __ and the normal name is an alias.  */
36226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36227 choke me
36228 #else
36229 char (*f) () = $ac_func;
36230 #endif
36231 #ifdef __cplusplus
36232 }
36233 #endif
36234
36235 int
36236 main ()
36237 {
36238 return f != $ac_func;
36239   ;
36240   return 0;
36241 }
36242 _ACEOF
36243 rm -f conftest.$ac_objext conftest$ac_exeext
36244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36245   (eval $ac_link) 2>conftest.er1
36246   ac_status=$?
36247   grep -v '^ *+' conftest.er1 >conftest.err
36248   rm -f conftest.er1
36249   cat conftest.err >&5
36250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251   (exit $ac_status); } &&
36252          { ac_try='test -z "$ac_c_werror_flag"
36253                          || test ! -s conftest.err'
36254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36255   (eval $ac_try) 2>&5
36256   ac_status=$?
36257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258   (exit $ac_status); }; } &&
36259          { ac_try='test -s conftest$ac_exeext'
36260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36261   (eval $ac_try) 2>&5
36262   ac_status=$?
36263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264   (exit $ac_status); }; }; then
36265   eval "$as_ac_var=yes"
36266 else
36267   echo "$as_me: failed program was:" >&5
36268 sed 's/^/| /' conftest.$ac_ext >&5
36269
36270 eval "$as_ac_var=no"
36271 fi
36272 rm -f conftest.err conftest.$ac_objext \
36273       conftest$ac_exeext conftest.$ac_ext
36274 fi
36275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36277 if test `eval echo '${'$as_ac_var'}'` = yes; then
36278   cat >>confdefs.h <<_ACEOF
36279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285     fi
36286   fi
36287
36288
36289
36290
36291
36292
36293   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
36294 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
36295   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
36296     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
36297   echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36299
36300
36301
36302       ac_ext=cc
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36307
36308       cat >conftest.$ac_ext <<_ACEOF
36309 /* confdefs.h.  */
36310 _ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h.  */
36314 #include <math.h>
36315                       #ifdef HAVE_IEEEFP_H
36316                       #include <ieeefp.h>
36317                       #endif
36318
36319 int
36320 main ()
36321 {
36322  sqrtl(0);
36323   ;
36324   return 0;
36325 }
36326 _ACEOF
36327 rm -f conftest.$ac_objext
36328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36329   (eval $ac_compile) 2>conftest.er1
36330   ac_status=$?
36331   grep -v '^ *+' conftest.er1 >conftest.err
36332   rm -f conftest.er1
36333   cat conftest.err >&5
36334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335   (exit $ac_status); } &&
36336          { ac_try='test -z "$ac_cxx_werror_flag"
36337                          || test ! -s conftest.err'
36338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339   (eval $ac_try) 2>&5
36340   ac_status=$?
36341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342   (exit $ac_status); }; } &&
36343          { ac_try='test -s conftest.$ac_objext'
36344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345   (eval $ac_try) 2>&5
36346   ac_status=$?
36347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348   (exit $ac_status); }; }; then
36349   glibcxx_cv_func_sqrtl_use=yes
36350 else
36351   echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.$ac_ext >&5
36353
36354 glibcxx_cv_func_sqrtl_use=no
36355 fi
36356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36357       ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362
36363
36364 fi
36365
36366   fi
36367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
36368 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
36369
36370   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
36371
36372 for ac_func in sqrtl
36373 do
36374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36375 echo "$as_me:$LINENO: checking for $ac_func" >&5
36376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36377 if eval "test \"\${$as_ac_var+set}\" = set"; then
36378   echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36380   if test x$gcc_no_link = xyes; then
36381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36383    { (exit 1); exit 1; }; }
36384 fi
36385 cat >conftest.$ac_ext <<_ACEOF
36386 /* confdefs.h.  */
36387 _ACEOF
36388 cat confdefs.h >>conftest.$ac_ext
36389 cat >>conftest.$ac_ext <<_ACEOF
36390 /* end confdefs.h.  */
36391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36393 #define $ac_func innocuous_$ac_func
36394
36395 /* System header to define __stub macros and hopefully few prototypes,
36396     which can conflict with char $ac_func (); below.
36397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36398     <limits.h> exists even on freestanding compilers.  */
36399
36400 #ifdef __STDC__
36401 # include <limits.h>
36402 #else
36403 # include <assert.h>
36404 #endif
36405
36406 #undef $ac_func
36407
36408 /* Override any gcc2 internal prototype to avoid an error.  */
36409 #ifdef __cplusplus
36410 extern "C"
36411 {
36412 #endif
36413 /* We use char because int might match the return type of a gcc2
36414    builtin and then its argument prototype would still apply.  */
36415 char $ac_func ();
36416 /* The GNU C library defines this for functions which it implements
36417     to always fail with ENOSYS.  Some functions are actually named
36418     something starting with __ and the normal name is an alias.  */
36419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36420 choke me
36421 #else
36422 char (*f) () = $ac_func;
36423 #endif
36424 #ifdef __cplusplus
36425 }
36426 #endif
36427
36428 int
36429 main ()
36430 {
36431 return f != $ac_func;
36432   ;
36433   return 0;
36434 }
36435 _ACEOF
36436 rm -f conftest.$ac_objext conftest$ac_exeext
36437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36438   (eval $ac_link) 2>conftest.er1
36439   ac_status=$?
36440   grep -v '^ *+' conftest.er1 >conftest.err
36441   rm -f conftest.er1
36442   cat conftest.err >&5
36443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444   (exit $ac_status); } &&
36445          { ac_try='test -z "$ac_c_werror_flag"
36446                          || test ! -s conftest.err'
36447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36448   (eval $ac_try) 2>&5
36449   ac_status=$?
36450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451   (exit $ac_status); }; } &&
36452          { ac_try='test -s conftest$ac_exeext'
36453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454   (eval $ac_try) 2>&5
36455   ac_status=$?
36456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457   (exit $ac_status); }; }; then
36458   eval "$as_ac_var=yes"
36459 else
36460   echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.$ac_ext >&5
36462
36463 eval "$as_ac_var=no"
36464 fi
36465 rm -f conftest.err conftest.$ac_objext \
36466       conftest$ac_exeext conftest.$ac_ext
36467 fi
36468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36470 if test `eval echo '${'$as_ac_var'}'` = yes; then
36471   cat >>confdefs.h <<_ACEOF
36472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36473 _ACEOF
36474
36475 fi
36476 done
36477
36478   else
36479
36480   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
36481 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
36482   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
36483     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
36484   echo $ECHO_N "(cached) $ECHO_C" >&6
36485 else
36486
36487
36488
36489       ac_ext=cc
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36494
36495       cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h.  */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h.  */
36501 #include <math.h>
36502                       #ifdef HAVE_IEEEFP_H
36503                       #include <ieeefp.h>
36504                       #endif
36505
36506 int
36507 main ()
36508 {
36509  _sqrtl(0);
36510   ;
36511   return 0;
36512 }
36513 _ACEOF
36514 rm -f conftest.$ac_objext
36515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36516   (eval $ac_compile) 2>conftest.er1
36517   ac_status=$?
36518   grep -v '^ *+' conftest.er1 >conftest.err
36519   rm -f conftest.er1
36520   cat conftest.err >&5
36521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522   (exit $ac_status); } &&
36523          { ac_try='test -z "$ac_cxx_werror_flag"
36524                          || test ! -s conftest.err'
36525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526   (eval $ac_try) 2>&5
36527   ac_status=$?
36528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529   (exit $ac_status); }; } &&
36530          { ac_try='test -s conftest.$ac_objext'
36531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36532   (eval $ac_try) 2>&5
36533   ac_status=$?
36534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535   (exit $ac_status); }; }; then
36536   glibcxx_cv_func__sqrtl_use=yes
36537 else
36538   echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36540
36541 glibcxx_cv_func__sqrtl_use=no
36542 fi
36543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36544       ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36549
36550
36551 fi
36552
36553   fi
36554   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
36555 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
36556
36557     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
36558
36559 for ac_func in _sqrtl
36560 do
36561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36562 echo "$as_me:$LINENO: checking for $ac_func" >&5
36563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36564 if eval "test \"\${$as_ac_var+set}\" = set"; then
36565   echo $ECHO_N "(cached) $ECHO_C" >&6
36566 else
36567   if test x$gcc_no_link = xyes; then
36568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36570    { (exit 1); exit 1; }; }
36571 fi
36572 cat >conftest.$ac_ext <<_ACEOF
36573 /* confdefs.h.  */
36574 _ACEOF
36575 cat confdefs.h >>conftest.$ac_ext
36576 cat >>conftest.$ac_ext <<_ACEOF
36577 /* end confdefs.h.  */
36578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36580 #define $ac_func innocuous_$ac_func
36581
36582 /* System header to define __stub macros and hopefully few prototypes,
36583     which can conflict with char $ac_func (); below.
36584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36585     <limits.h> exists even on freestanding compilers.  */
36586
36587 #ifdef __STDC__
36588 # include <limits.h>
36589 #else
36590 # include <assert.h>
36591 #endif
36592
36593 #undef $ac_func
36594
36595 /* Override any gcc2 internal prototype to avoid an error.  */
36596 #ifdef __cplusplus
36597 extern "C"
36598 {
36599 #endif
36600 /* We use char because int might match the return type of a gcc2
36601    builtin and then its argument prototype would still apply.  */
36602 char $ac_func ();
36603 /* The GNU C library defines this for functions which it implements
36604     to always fail with ENOSYS.  Some functions are actually named
36605     something starting with __ and the normal name is an alias.  */
36606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36607 choke me
36608 #else
36609 char (*f) () = $ac_func;
36610 #endif
36611 #ifdef __cplusplus
36612 }
36613 #endif
36614
36615 int
36616 main ()
36617 {
36618 return f != $ac_func;
36619   ;
36620   return 0;
36621 }
36622 _ACEOF
36623 rm -f conftest.$ac_objext conftest$ac_exeext
36624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36625   (eval $ac_link) 2>conftest.er1
36626   ac_status=$?
36627   grep -v '^ *+' conftest.er1 >conftest.err
36628   rm -f conftest.er1
36629   cat conftest.err >&5
36630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631   (exit $ac_status); } &&
36632          { ac_try='test -z "$ac_c_werror_flag"
36633                          || test ! -s conftest.err'
36634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635   (eval $ac_try) 2>&5
36636   ac_status=$?
36637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638   (exit $ac_status); }; } &&
36639          { ac_try='test -s conftest$ac_exeext'
36640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641   (eval $ac_try) 2>&5
36642   ac_status=$?
36643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644   (exit $ac_status); }; }; then
36645   eval "$as_ac_var=yes"
36646 else
36647   echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36649
36650 eval "$as_ac_var=no"
36651 fi
36652 rm -f conftest.err conftest.$ac_objext \
36653       conftest$ac_exeext conftest.$ac_ext
36654 fi
36655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36657 if test `eval echo '${'$as_ac_var'}'` = yes; then
36658   cat >>confdefs.h <<_ACEOF
36659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36660 _ACEOF
36661
36662 fi
36663 done
36664
36665     fi
36666   fi
36667
36668
36669
36670
36671
36672
36673   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
36674 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
36675   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
36676     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
36677   echo $ECHO_N "(cached) $ECHO_C" >&6
36678 else
36679
36680
36681
36682       ac_ext=cc
36683 ac_cpp='$CXXCPP $CPPFLAGS'
36684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687
36688       cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h.  */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h.  */
36694 #include <math.h>
36695 int
36696 main ()
36697 {
36698  sincosl(0, 0, 0);
36699   ;
36700   return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36705   (eval $ac_compile) 2>conftest.er1
36706   ac_status=$?
36707   grep -v '^ *+' conftest.er1 >conftest.err
36708   rm -f conftest.er1
36709   cat conftest.err >&5
36710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711   (exit $ac_status); } &&
36712          { ac_try='test -z "$ac_cxx_werror_flag"
36713                          || test ! -s conftest.err'
36714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715   (eval $ac_try) 2>&5
36716   ac_status=$?
36717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718   (exit $ac_status); }; } &&
36719          { ac_try='test -s conftest.$ac_objext'
36720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36721   (eval $ac_try) 2>&5
36722   ac_status=$?
36723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724   (exit $ac_status); }; }; then
36725   glibcxx_cv_func_sincosl_use=yes
36726 else
36727   echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730 glibcxx_cv_func_sincosl_use=no
36731 fi
36732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36733       ac_ext=c
36734 ac_cpp='$CPP $CPPFLAGS'
36735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36738
36739
36740 fi
36741
36742   fi
36743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
36744 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
36745
36746   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
36747
36748 for ac_func in sincosl
36749 do
36750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36751 echo "$as_me:$LINENO: checking for $ac_func" >&5
36752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36753 if eval "test \"\${$as_ac_var+set}\" = set"; then
36754   echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36756   if test x$gcc_no_link = xyes; then
36757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36759    { (exit 1); exit 1; }; }
36760 fi
36761 cat >conftest.$ac_ext <<_ACEOF
36762 /* confdefs.h.  */
36763 _ACEOF
36764 cat confdefs.h >>conftest.$ac_ext
36765 cat >>conftest.$ac_ext <<_ACEOF
36766 /* end confdefs.h.  */
36767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36769 #define $ac_func innocuous_$ac_func
36770
36771 /* System header to define __stub macros and hopefully few prototypes,
36772     which can conflict with char $ac_func (); below.
36773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36774     <limits.h> exists even on freestanding compilers.  */
36775
36776 #ifdef __STDC__
36777 # include <limits.h>
36778 #else
36779 # include <assert.h>
36780 #endif
36781
36782 #undef $ac_func
36783
36784 /* Override any gcc2 internal prototype to avoid an error.  */
36785 #ifdef __cplusplus
36786 extern "C"
36787 {
36788 #endif
36789 /* We use char because int might match the return type of a gcc2
36790    builtin and then its argument prototype would still apply.  */
36791 char $ac_func ();
36792 /* The GNU C library defines this for functions which it implements
36793     to always fail with ENOSYS.  Some functions are actually named
36794     something starting with __ and the normal name is an alias.  */
36795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36796 choke me
36797 #else
36798 char (*f) () = $ac_func;
36799 #endif
36800 #ifdef __cplusplus
36801 }
36802 #endif
36803
36804 int
36805 main ()
36806 {
36807 return f != $ac_func;
36808   ;
36809   return 0;
36810 }
36811 _ACEOF
36812 rm -f conftest.$ac_objext conftest$ac_exeext
36813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36814   (eval $ac_link) 2>conftest.er1
36815   ac_status=$?
36816   grep -v '^ *+' conftest.er1 >conftest.err
36817   rm -f conftest.er1
36818   cat conftest.err >&5
36819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820   (exit $ac_status); } &&
36821          { ac_try='test -z "$ac_c_werror_flag"
36822                          || test ! -s conftest.err'
36823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824   (eval $ac_try) 2>&5
36825   ac_status=$?
36826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827   (exit $ac_status); }; } &&
36828          { ac_try='test -s conftest$ac_exeext'
36829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830   (eval $ac_try) 2>&5
36831   ac_status=$?
36832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833   (exit $ac_status); }; }; then
36834   eval "$as_ac_var=yes"
36835 else
36836   echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36838
36839 eval "$as_ac_var=no"
36840 fi
36841 rm -f conftest.err conftest.$ac_objext \
36842       conftest$ac_exeext conftest.$ac_ext
36843 fi
36844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36846 if test `eval echo '${'$as_ac_var'}'` = yes; then
36847   cat >>confdefs.h <<_ACEOF
36848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36849 _ACEOF
36850
36851 fi
36852 done
36853
36854   else
36855
36856   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
36857 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
36858   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
36859     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
36860   echo $ECHO_N "(cached) $ECHO_C" >&6
36861 else
36862
36863
36864
36865       ac_ext=cc
36866 ac_cpp='$CXXCPP $CPPFLAGS'
36867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870
36871       cat >conftest.$ac_ext <<_ACEOF
36872 /* confdefs.h.  */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h.  */
36877 #include <math.h>
36878 int
36879 main ()
36880 {
36881  _sincosl(0, 0, 0);
36882   ;
36883   return 0;
36884 }
36885 _ACEOF
36886 rm -f conftest.$ac_objext
36887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36888   (eval $ac_compile) 2>conftest.er1
36889   ac_status=$?
36890   grep -v '^ *+' conftest.er1 >conftest.err
36891   rm -f conftest.er1
36892   cat conftest.err >&5
36893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894   (exit $ac_status); } &&
36895          { ac_try='test -z "$ac_cxx_werror_flag"
36896                          || test ! -s conftest.err'
36897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36898   (eval $ac_try) 2>&5
36899   ac_status=$?
36900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901   (exit $ac_status); }; } &&
36902          { ac_try='test -s conftest.$ac_objext'
36903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36904   (eval $ac_try) 2>&5
36905   ac_status=$?
36906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907   (exit $ac_status); }; }; then
36908   glibcxx_cv_func__sincosl_use=yes
36909 else
36910   echo "$as_me: failed program was:" >&5
36911 sed 's/^/| /' conftest.$ac_ext >&5
36912
36913 glibcxx_cv_func__sincosl_use=no
36914 fi
36915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36916       ac_ext=c
36917 ac_cpp='$CPP $CPPFLAGS'
36918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921
36922
36923 fi
36924
36925   fi
36926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
36927 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
36928
36929     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
36930
36931 for ac_func in _sincosl
36932 do
36933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36934 echo "$as_me:$LINENO: checking for $ac_func" >&5
36935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36936 if eval "test \"\${$as_ac_var+set}\" = set"; then
36937   echo $ECHO_N "(cached) $ECHO_C" >&6
36938 else
36939   if test x$gcc_no_link = xyes; then
36940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36942    { (exit 1); exit 1; }; }
36943 fi
36944 cat >conftest.$ac_ext <<_ACEOF
36945 /* confdefs.h.  */
36946 _ACEOF
36947 cat confdefs.h >>conftest.$ac_ext
36948 cat >>conftest.$ac_ext <<_ACEOF
36949 /* end confdefs.h.  */
36950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36952 #define $ac_func innocuous_$ac_func
36953
36954 /* System header to define __stub macros and hopefully few prototypes,
36955     which can conflict with char $ac_func (); below.
36956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36957     <limits.h> exists even on freestanding compilers.  */
36958
36959 #ifdef __STDC__
36960 # include <limits.h>
36961 #else
36962 # include <assert.h>
36963 #endif
36964
36965 #undef $ac_func
36966
36967 /* Override any gcc2 internal prototype to avoid an error.  */
36968 #ifdef __cplusplus
36969 extern "C"
36970 {
36971 #endif
36972 /* We use char because int might match the return type of a gcc2
36973    builtin and then its argument prototype would still apply.  */
36974 char $ac_func ();
36975 /* The GNU C library defines this for functions which it implements
36976     to always fail with ENOSYS.  Some functions are actually named
36977     something starting with __ and the normal name is an alias.  */
36978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36979 choke me
36980 #else
36981 char (*f) () = $ac_func;
36982 #endif
36983 #ifdef __cplusplus
36984 }
36985 #endif
36986
36987 int
36988 main ()
36989 {
36990 return f != $ac_func;
36991   ;
36992   return 0;
36993 }
36994 _ACEOF
36995 rm -f conftest.$ac_objext conftest$ac_exeext
36996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36997   (eval $ac_link) 2>conftest.er1
36998   ac_status=$?
36999   grep -v '^ *+' conftest.er1 >conftest.err
37000   rm -f conftest.er1
37001   cat conftest.err >&5
37002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003   (exit $ac_status); } &&
37004          { ac_try='test -z "$ac_c_werror_flag"
37005                          || test ! -s conftest.err'
37006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007   (eval $ac_try) 2>&5
37008   ac_status=$?
37009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010   (exit $ac_status); }; } &&
37011          { ac_try='test -s conftest$ac_exeext'
37012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013   (eval $ac_try) 2>&5
37014   ac_status=$?
37015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016   (exit $ac_status); }; }; then
37017   eval "$as_ac_var=yes"
37018 else
37019   echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.$ac_ext >&5
37021
37022 eval "$as_ac_var=no"
37023 fi
37024 rm -f conftest.err conftest.$ac_objext \
37025       conftest$ac_exeext conftest.$ac_ext
37026 fi
37027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37029 if test `eval echo '${'$as_ac_var'}'` = yes; then
37030   cat >>confdefs.h <<_ACEOF
37031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37032 _ACEOF
37033
37034 fi
37035 done
37036
37037     fi
37038   fi
37039
37040
37041
37042
37043
37044
37045   echo "$as_me:$LINENO: checking for finitel declaration" >&5
37046 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
37047   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37048     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
37049   echo $ECHO_N "(cached) $ECHO_C" >&6
37050 else
37051
37052
37053
37054       ac_ext=cc
37055 ac_cpp='$CXXCPP $CPPFLAGS'
37056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37059
37060       cat >conftest.$ac_ext <<_ACEOF
37061 /* confdefs.h.  */
37062 _ACEOF
37063 cat confdefs.h >>conftest.$ac_ext
37064 cat >>conftest.$ac_ext <<_ACEOF
37065 /* end confdefs.h.  */
37066 #include <math.h>
37067                       #ifdef HAVE_IEEEFP_H
37068                       #include <ieeefp.h>
37069                       #endif
37070
37071 int
37072 main ()
37073 {
37074  finitel(0);
37075   ;
37076   return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37081   (eval $ac_compile) 2>conftest.er1
37082   ac_status=$?
37083   grep -v '^ *+' conftest.er1 >conftest.err
37084   rm -f conftest.er1
37085   cat conftest.err >&5
37086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087   (exit $ac_status); } &&
37088          { ac_try='test -z "$ac_cxx_werror_flag"
37089                          || test ! -s conftest.err'
37090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091   (eval $ac_try) 2>&5
37092   ac_status=$?
37093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094   (exit $ac_status); }; } &&
37095          { ac_try='test -s conftest.$ac_objext'
37096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097   (eval $ac_try) 2>&5
37098   ac_status=$?
37099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100   (exit $ac_status); }; }; then
37101   glibcxx_cv_func_finitel_use=yes
37102 else
37103   echo "$as_me: failed program was:" >&5
37104 sed 's/^/| /' conftest.$ac_ext >&5
37105
37106 glibcxx_cv_func_finitel_use=no
37107 fi
37108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37109       ac_ext=c
37110 ac_cpp='$CPP $CPPFLAGS'
37111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37114
37115
37116 fi
37117
37118   fi
37119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
37120 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
37121
37122   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37123
37124 for ac_func in finitel
37125 do
37126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37129 if eval "test \"\${$as_ac_var+set}\" = set"; then
37130   echo $ECHO_N "(cached) $ECHO_C" >&6
37131 else
37132   if test x$gcc_no_link = xyes; then
37133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37135    { (exit 1); exit 1; }; }
37136 fi
37137 cat >conftest.$ac_ext <<_ACEOF
37138 /* confdefs.h.  */
37139 _ACEOF
37140 cat confdefs.h >>conftest.$ac_ext
37141 cat >>conftest.$ac_ext <<_ACEOF
37142 /* end confdefs.h.  */
37143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37145 #define $ac_func innocuous_$ac_func
37146
37147 /* System header to define __stub macros and hopefully few prototypes,
37148     which can conflict with char $ac_func (); below.
37149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37150     <limits.h> exists even on freestanding compilers.  */
37151
37152 #ifdef __STDC__
37153 # include <limits.h>
37154 #else
37155 # include <assert.h>
37156 #endif
37157
37158 #undef $ac_func
37159
37160 /* Override any gcc2 internal prototype to avoid an error.  */
37161 #ifdef __cplusplus
37162 extern "C"
37163 {
37164 #endif
37165 /* We use char because int might match the return type of a gcc2
37166    builtin and then its argument prototype would still apply.  */
37167 char $ac_func ();
37168 /* The GNU C library defines this for functions which it implements
37169     to always fail with ENOSYS.  Some functions are actually named
37170     something starting with __ and the normal name is an alias.  */
37171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37172 choke me
37173 #else
37174 char (*f) () = $ac_func;
37175 #endif
37176 #ifdef __cplusplus
37177 }
37178 #endif
37179
37180 int
37181 main ()
37182 {
37183 return f != $ac_func;
37184   ;
37185   return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37190   (eval $ac_link) 2>conftest.er1
37191   ac_status=$?
37192   grep -v '^ *+' conftest.er1 >conftest.err
37193   rm -f conftest.er1
37194   cat conftest.err >&5
37195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196   (exit $ac_status); } &&
37197          { ac_try='test -z "$ac_c_werror_flag"
37198                          || test ! -s conftest.err'
37199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200   (eval $ac_try) 2>&5
37201   ac_status=$?
37202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203   (exit $ac_status); }; } &&
37204          { ac_try='test -s conftest$ac_exeext'
37205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206   (eval $ac_try) 2>&5
37207   ac_status=$?
37208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209   (exit $ac_status); }; }; then
37210   eval "$as_ac_var=yes"
37211 else
37212   echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37214
37215 eval "$as_ac_var=no"
37216 fi
37217 rm -f conftest.err conftest.$ac_objext \
37218       conftest$ac_exeext conftest.$ac_ext
37219 fi
37220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37222 if test `eval echo '${'$as_ac_var'}'` = yes; then
37223   cat >>confdefs.h <<_ACEOF
37224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37225 _ACEOF
37226
37227 fi
37228 done
37229
37230   else
37231
37232   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
37233 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
37234   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37235     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
37236   echo $ECHO_N "(cached) $ECHO_C" >&6
37237 else
37238
37239
37240
37241       ac_ext=cc
37242 ac_cpp='$CXXCPP $CPPFLAGS'
37243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37246
37247       cat >conftest.$ac_ext <<_ACEOF
37248 /* confdefs.h.  */
37249 _ACEOF
37250 cat confdefs.h >>conftest.$ac_ext
37251 cat >>conftest.$ac_ext <<_ACEOF
37252 /* end confdefs.h.  */
37253 #include <math.h>
37254                       #ifdef HAVE_IEEEFP_H
37255                       #include <ieeefp.h>
37256                       #endif
37257
37258 int
37259 main ()
37260 {
37261  _finitel(0);
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 rm -f conftest.$ac_objext
37267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37268   (eval $ac_compile) 2>conftest.er1
37269   ac_status=$?
37270   grep -v '^ *+' conftest.er1 >conftest.err
37271   rm -f conftest.er1
37272   cat conftest.err >&5
37273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274   (exit $ac_status); } &&
37275          { ac_try='test -z "$ac_cxx_werror_flag"
37276                          || test ! -s conftest.err'
37277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278   (eval $ac_try) 2>&5
37279   ac_status=$?
37280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281   (exit $ac_status); }; } &&
37282          { ac_try='test -s conftest.$ac_objext'
37283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284   (eval $ac_try) 2>&5
37285   ac_status=$?
37286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287   (exit $ac_status); }; }; then
37288   glibcxx_cv_func__finitel_use=yes
37289 else
37290   echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37292
37293 glibcxx_cv_func__finitel_use=no
37294 fi
37295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37296       ac_ext=c
37297 ac_cpp='$CPP $CPPFLAGS'
37298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37301
37302
37303 fi
37304
37305   fi
37306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
37307 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
37308
37309     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37310
37311 for ac_func in _finitel
37312 do
37313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37314 echo "$as_me:$LINENO: checking for $ac_func" >&5
37315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37316 if eval "test \"\${$as_ac_var+set}\" = set"; then
37317   echo $ECHO_N "(cached) $ECHO_C" >&6
37318 else
37319   if test x$gcc_no_link = xyes; then
37320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37322    { (exit 1); exit 1; }; }
37323 fi
37324 cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h.  */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h.  */
37330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37332 #define $ac_func innocuous_$ac_func
37333
37334 /* System header to define __stub macros and hopefully few prototypes,
37335     which can conflict with char $ac_func (); below.
37336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337     <limits.h> exists even on freestanding compilers.  */
37338
37339 #ifdef __STDC__
37340 # include <limits.h>
37341 #else
37342 # include <assert.h>
37343 #endif
37344
37345 #undef $ac_func
37346
37347 /* Override any gcc2 internal prototype to avoid an error.  */
37348 #ifdef __cplusplus
37349 extern "C"
37350 {
37351 #endif
37352 /* We use char because int might match the return type of a gcc2
37353    builtin and then its argument prototype would still apply.  */
37354 char $ac_func ();
37355 /* The GNU C library defines this for functions which it implements
37356     to always fail with ENOSYS.  Some functions are actually named
37357     something starting with __ and the normal name is an alias.  */
37358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37359 choke me
37360 #else
37361 char (*f) () = $ac_func;
37362 #endif
37363 #ifdef __cplusplus
37364 }
37365 #endif
37366
37367 int
37368 main ()
37369 {
37370 return f != $ac_func;
37371   ;
37372   return 0;
37373 }
37374 _ACEOF
37375 rm -f conftest.$ac_objext conftest$ac_exeext
37376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37377   (eval $ac_link) 2>conftest.er1
37378   ac_status=$?
37379   grep -v '^ *+' conftest.er1 >conftest.err
37380   rm -f conftest.er1
37381   cat conftest.err >&5
37382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383   (exit $ac_status); } &&
37384          { ac_try='test -z "$ac_c_werror_flag"
37385                          || test ! -s conftest.err'
37386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37387   (eval $ac_try) 2>&5
37388   ac_status=$?
37389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390   (exit $ac_status); }; } &&
37391          { ac_try='test -s conftest$ac_exeext'
37392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37393   (eval $ac_try) 2>&5
37394   ac_status=$?
37395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396   (exit $ac_status); }; }; then
37397   eval "$as_ac_var=yes"
37398 else
37399   echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.$ac_ext >&5
37401
37402 eval "$as_ac_var=no"
37403 fi
37404 rm -f conftest.err conftest.$ac_objext \
37405       conftest$ac_exeext conftest.$ac_ext
37406 fi
37407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37409 if test `eval echo '${'$as_ac_var'}'` = yes; then
37410   cat >>confdefs.h <<_ACEOF
37411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37412 _ACEOF
37413
37414 fi
37415 done
37416
37417     fi
37418   fi
37419
37420
37421
37422
37423
37424   LIBS="$ac_save_LIBS"
37425   CXXFLAGS="$ac_save_CXXFLAGS"
37426
37427
37428
37429   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
37430 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
37431   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
37432     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
37433   echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435
37436
37437
37438       ac_ext=cc
37439 ac_cpp='$CXXCPP $CPPFLAGS'
37440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37443
37444       cat >conftest.$ac_ext <<_ACEOF
37445 /* confdefs.h.  */
37446 _ACEOF
37447 cat confdefs.h >>conftest.$ac_ext
37448 cat >>conftest.$ac_ext <<_ACEOF
37449 /* end confdefs.h.  */
37450 #include <math.h>
37451 int
37452 main ()
37453 {
37454  __builtin_abs(0);
37455   ;
37456   return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37461   (eval $ac_compile) 2>conftest.er1
37462   ac_status=$?
37463   grep -v '^ *+' conftest.er1 >conftest.err
37464   rm -f conftest.er1
37465   cat conftest.err >&5
37466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467   (exit $ac_status); } &&
37468          { ac_try='test -z "$ac_cxx_werror_flag"
37469                          || test ! -s conftest.err'
37470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471   (eval $ac_try) 2>&5
37472   ac_status=$?
37473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474   (exit $ac_status); }; } &&
37475          { ac_try='test -s conftest.$ac_objext'
37476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477   (eval $ac_try) 2>&5
37478   ac_status=$?
37479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480   (exit $ac_status); }; }; then
37481   glibcxx_cv_func___builtin_abs_use=yes
37482 else
37483   echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 glibcxx_cv_func___builtin_abs_use=no
37487 fi
37488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37489       ac_ext=c
37490 ac_cpp='$CPP $CPPFLAGS'
37491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37494
37495
37496 fi
37497
37498   fi
37499   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
37500 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
37501   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
37502     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
37503 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
37504     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
37505       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
37506   echo $ECHO_N "(cached) $ECHO_C" >&6
37507 else
37508
37509         if test x$gcc_no_link = xyes; then
37510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37512    { (exit 1); exit 1; }; }
37513 fi
37514 cat >conftest.$ac_ext <<_ACEOF
37515 /* confdefs.h.  */
37516 _ACEOF
37517 cat confdefs.h >>conftest.$ac_ext
37518 cat >>conftest.$ac_ext <<_ACEOF
37519 /* end confdefs.h.  */
37520 #include <math.h>
37521 int
37522 main ()
37523 {
37524  __builtin_abs(0);
37525   ;
37526   return 0;
37527 }
37528 _ACEOF
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37531   (eval $ac_link) 2>conftest.er1
37532   ac_status=$?
37533   grep -v '^ *+' conftest.er1 >conftest.err
37534   rm -f conftest.er1
37535   cat conftest.err >&5
37536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537   (exit $ac_status); } &&
37538          { ac_try='test -z "$ac_c_werror_flag"
37539                          || test ! -s conftest.err'
37540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37541   (eval $ac_try) 2>&5
37542   ac_status=$?
37543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544   (exit $ac_status); }; } &&
37545          { ac_try='test -s conftest$ac_exeext'
37546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37547   (eval $ac_try) 2>&5
37548   ac_status=$?
37549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550   (exit $ac_status); }; }; then
37551   glibcxx_cv_func___builtin_abs_link=yes
37552 else
37553   echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.$ac_ext >&5
37555
37556 glibcxx_cv_func___builtin_abs_link=no
37557 fi
37558 rm -f conftest.err conftest.$ac_objext \
37559       conftest$ac_exeext conftest.$ac_ext
37560
37561 fi
37562
37563     fi
37564     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
37565 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
37566
37567     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
37568
37569 cat >>confdefs.h <<\_ACEOF
37570 #define HAVE___BUILTIN_ABS 1
37571 _ACEOF
37572
37573     fi
37574
37575   fi
37576
37577
37578   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
37579 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
37580   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
37581     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
37582   echo $ECHO_N "(cached) $ECHO_C" >&6
37583 else
37584
37585
37586
37587       ac_ext=cc
37588 ac_cpp='$CXXCPP $CPPFLAGS'
37589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37592
37593       cat >conftest.$ac_ext <<_ACEOF
37594 /* confdefs.h.  */
37595 _ACEOF
37596 cat confdefs.h >>conftest.$ac_ext
37597 cat >>conftest.$ac_ext <<_ACEOF
37598 /* end confdefs.h.  */
37599 #include <math.h>
37600 int
37601 main ()
37602 {
37603  __builtin_fabsf(0);
37604   ;
37605   return 0;
37606 }
37607 _ACEOF
37608 rm -f conftest.$ac_objext
37609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37610   (eval $ac_compile) 2>conftest.er1
37611   ac_status=$?
37612   grep -v '^ *+' conftest.er1 >conftest.err
37613   rm -f conftest.er1
37614   cat conftest.err >&5
37615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616   (exit $ac_status); } &&
37617          { ac_try='test -z "$ac_cxx_werror_flag"
37618                          || test ! -s conftest.err'
37619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620   (eval $ac_try) 2>&5
37621   ac_status=$?
37622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623   (exit $ac_status); }; } &&
37624          { ac_try='test -s conftest.$ac_objext'
37625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626   (eval $ac_try) 2>&5
37627   ac_status=$?
37628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629   (exit $ac_status); }; }; then
37630   glibcxx_cv_func___builtin_fabsf_use=yes
37631 else
37632   echo "$as_me: failed program was:" >&5
37633 sed 's/^/| /' conftest.$ac_ext >&5
37634
37635 glibcxx_cv_func___builtin_fabsf_use=no
37636 fi
37637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37638       ac_ext=c
37639 ac_cpp='$CPP $CPPFLAGS'
37640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37643
37644
37645 fi
37646
37647   fi
37648   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
37649 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
37650   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
37651     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
37652 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
37653     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
37654       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
37655   echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657
37658         if test x$gcc_no_link = xyes; then
37659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37661    { (exit 1); exit 1; }; }
37662 fi
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h.  */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h.  */
37669 #include <math.h>
37670 int
37671 main ()
37672 {
37673  __builtin_fabsf(0);
37674   ;
37675   return 0;
37676 }
37677 _ACEOF
37678 rm -f conftest.$ac_objext conftest$ac_exeext
37679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37680   (eval $ac_link) 2>conftest.er1
37681   ac_status=$?
37682   grep -v '^ *+' conftest.er1 >conftest.err
37683   rm -f conftest.er1
37684   cat conftest.err >&5
37685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686   (exit $ac_status); } &&
37687          { ac_try='test -z "$ac_c_werror_flag"
37688                          || test ! -s conftest.err'
37689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37690   (eval $ac_try) 2>&5
37691   ac_status=$?
37692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693   (exit $ac_status); }; } &&
37694          { ac_try='test -s conftest$ac_exeext'
37695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37696   (eval $ac_try) 2>&5
37697   ac_status=$?
37698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699   (exit $ac_status); }; }; then
37700   glibcxx_cv_func___builtin_fabsf_link=yes
37701 else
37702   echo "$as_me: failed program was:" >&5
37703 sed 's/^/| /' conftest.$ac_ext >&5
37704
37705 glibcxx_cv_func___builtin_fabsf_link=no
37706 fi
37707 rm -f conftest.err conftest.$ac_objext \
37708       conftest$ac_exeext conftest.$ac_ext
37709
37710 fi
37711
37712     fi
37713     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
37714 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
37715
37716     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
37717
37718 cat >>confdefs.h <<\_ACEOF
37719 #define HAVE___BUILTIN_FABSF 1
37720 _ACEOF
37721
37722     fi
37723
37724   fi
37725
37726
37727   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
37728 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
37729   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
37730     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
37731   echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733
37734
37735
37736       ac_ext=cc
37737 ac_cpp='$CXXCPP $CPPFLAGS'
37738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37741
37742       cat >conftest.$ac_ext <<_ACEOF
37743 /* confdefs.h.  */
37744 _ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h.  */
37748 #include <math.h>
37749 int
37750 main ()
37751 {
37752  __builtin_fabs(0);
37753   ;
37754   return 0;
37755 }
37756 _ACEOF
37757 rm -f conftest.$ac_objext
37758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37759   (eval $ac_compile) 2>conftest.er1
37760   ac_status=$?
37761   grep -v '^ *+' conftest.er1 >conftest.err
37762   rm -f conftest.er1
37763   cat conftest.err >&5
37764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765   (exit $ac_status); } &&
37766          { ac_try='test -z "$ac_cxx_werror_flag"
37767                          || test ! -s conftest.err'
37768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37769   (eval $ac_try) 2>&5
37770   ac_status=$?
37771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772   (exit $ac_status); }; } &&
37773          { ac_try='test -s conftest.$ac_objext'
37774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775   (eval $ac_try) 2>&5
37776   ac_status=$?
37777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778   (exit $ac_status); }; }; then
37779   glibcxx_cv_func___builtin_fabs_use=yes
37780 else
37781   echo "$as_me: failed program was:" >&5
37782 sed 's/^/| /' conftest.$ac_ext >&5
37783
37784 glibcxx_cv_func___builtin_fabs_use=no
37785 fi
37786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37787       ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793
37794 fi
37795
37796   fi
37797   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
37798 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
37799   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
37800     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
37801 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
37802     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
37803       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
37804   echo $ECHO_N "(cached) $ECHO_C" >&6
37805 else
37806
37807         if test x$gcc_no_link = xyes; then
37808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37810    { (exit 1); exit 1; }; }
37811 fi
37812 cat >conftest.$ac_ext <<_ACEOF
37813 /* confdefs.h.  */
37814 _ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h.  */
37818 #include <math.h>
37819 int
37820 main ()
37821 {
37822  __builtin_fabs(0);
37823   ;
37824   return 0;
37825 }
37826 _ACEOF
37827 rm -f conftest.$ac_objext conftest$ac_exeext
37828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37829   (eval $ac_link) 2>conftest.er1
37830   ac_status=$?
37831   grep -v '^ *+' conftest.er1 >conftest.err
37832   rm -f conftest.er1
37833   cat conftest.err >&5
37834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835   (exit $ac_status); } &&
37836          { ac_try='test -z "$ac_c_werror_flag"
37837                          || test ! -s conftest.err'
37838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37839   (eval $ac_try) 2>&5
37840   ac_status=$?
37841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842   (exit $ac_status); }; } &&
37843          { ac_try='test -s conftest$ac_exeext'
37844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845   (eval $ac_try) 2>&5
37846   ac_status=$?
37847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848   (exit $ac_status); }; }; then
37849   glibcxx_cv_func___builtin_fabs_link=yes
37850 else
37851   echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.$ac_ext >&5
37853
37854 glibcxx_cv_func___builtin_fabs_link=no
37855 fi
37856 rm -f conftest.err conftest.$ac_objext \
37857       conftest$ac_exeext conftest.$ac_ext
37858
37859 fi
37860
37861     fi
37862     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
37863 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
37864
37865     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
37866
37867 cat >>confdefs.h <<\_ACEOF
37868 #define HAVE___BUILTIN_FABS 1
37869 _ACEOF
37870
37871     fi
37872
37873   fi
37874
37875
37876   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
37877 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
37878   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
37879     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
37880   echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882
37883
37884
37885       ac_ext=cc
37886 ac_cpp='$CXXCPP $CPPFLAGS'
37887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37890
37891       cat >conftest.$ac_ext <<_ACEOF
37892 /* confdefs.h.  */
37893 _ACEOF
37894 cat confdefs.h >>conftest.$ac_ext
37895 cat >>conftest.$ac_ext <<_ACEOF
37896 /* end confdefs.h.  */
37897 #include <math.h>
37898 int
37899 main ()
37900 {
37901  __builtin_fabsl(0);
37902   ;
37903   return 0;
37904 }
37905 _ACEOF
37906 rm -f conftest.$ac_objext
37907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37908   (eval $ac_compile) 2>conftest.er1
37909   ac_status=$?
37910   grep -v '^ *+' conftest.er1 >conftest.err
37911   rm -f conftest.er1
37912   cat conftest.err >&5
37913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914   (exit $ac_status); } &&
37915          { ac_try='test -z "$ac_cxx_werror_flag"
37916                          || test ! -s conftest.err'
37917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37918   (eval $ac_try) 2>&5
37919   ac_status=$?
37920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921   (exit $ac_status); }; } &&
37922          { ac_try='test -s conftest.$ac_objext'
37923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924   (eval $ac_try) 2>&5
37925   ac_status=$?
37926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927   (exit $ac_status); }; }; then
37928   glibcxx_cv_func___builtin_fabsl_use=yes
37929 else
37930   echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37932
37933 glibcxx_cv_func___builtin_fabsl_use=no
37934 fi
37935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37936       ac_ext=c
37937 ac_cpp='$CPP $CPPFLAGS'
37938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37941
37942
37943 fi
37944
37945   fi
37946   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
37947 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
37948   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
37949     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
37950 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
37951     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
37952       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
37953   echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955
37956         if test x$gcc_no_link = xyes; then
37957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37959    { (exit 1); exit 1; }; }
37960 fi
37961 cat >conftest.$ac_ext <<_ACEOF
37962 /* confdefs.h.  */
37963 _ACEOF
37964 cat confdefs.h >>conftest.$ac_ext
37965 cat >>conftest.$ac_ext <<_ACEOF
37966 /* end confdefs.h.  */
37967 #include <math.h>
37968 int
37969 main ()
37970 {
37971  __builtin_fabsl(0);
37972   ;
37973   return 0;
37974 }
37975 _ACEOF
37976 rm -f conftest.$ac_objext conftest$ac_exeext
37977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37978   (eval $ac_link) 2>conftest.er1
37979   ac_status=$?
37980   grep -v '^ *+' conftest.er1 >conftest.err
37981   rm -f conftest.er1
37982   cat conftest.err >&5
37983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984   (exit $ac_status); } &&
37985          { ac_try='test -z "$ac_c_werror_flag"
37986                          || test ! -s conftest.err'
37987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988   (eval $ac_try) 2>&5
37989   ac_status=$?
37990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991   (exit $ac_status); }; } &&
37992          { ac_try='test -s conftest$ac_exeext'
37993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994   (eval $ac_try) 2>&5
37995   ac_status=$?
37996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997   (exit $ac_status); }; }; then
37998   glibcxx_cv_func___builtin_fabsl_link=yes
37999 else
38000   echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.$ac_ext >&5
38002
38003 glibcxx_cv_func___builtin_fabsl_link=no
38004 fi
38005 rm -f conftest.err conftest.$ac_objext \
38006       conftest$ac_exeext conftest.$ac_ext
38007
38008 fi
38009
38010     fi
38011     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
38012 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
38013
38014     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
38015
38016 cat >>confdefs.h <<\_ACEOF
38017 #define HAVE___BUILTIN_FABSL 1
38018 _ACEOF
38019
38020     fi
38021
38022   fi
38023
38024
38025   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
38026 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
38027   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
38028     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
38029   echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031
38032
38033
38034       ac_ext=cc
38035 ac_cpp='$CXXCPP $CPPFLAGS'
38036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38039
38040       cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h.  */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h.  */
38046 #include <math.h>
38047 int
38048 main ()
38049 {
38050  __builtin_labs(0);
38051   ;
38052   return 0;
38053 }
38054 _ACEOF
38055 rm -f conftest.$ac_objext
38056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38057   (eval $ac_compile) 2>conftest.er1
38058   ac_status=$?
38059   grep -v '^ *+' conftest.er1 >conftest.err
38060   rm -f conftest.er1
38061   cat conftest.err >&5
38062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063   (exit $ac_status); } &&
38064          { ac_try='test -z "$ac_cxx_werror_flag"
38065                          || test ! -s conftest.err'
38066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067   (eval $ac_try) 2>&5
38068   ac_status=$?
38069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070   (exit $ac_status); }; } &&
38071          { ac_try='test -s conftest.$ac_objext'
38072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073   (eval $ac_try) 2>&5
38074   ac_status=$?
38075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076   (exit $ac_status); }; }; then
38077   glibcxx_cv_func___builtin_labs_use=yes
38078 else
38079   echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.$ac_ext >&5
38081
38082 glibcxx_cv_func___builtin_labs_use=no
38083 fi
38084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38085       ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38090
38091
38092 fi
38093
38094   fi
38095   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
38096 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
38097   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
38098     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
38099 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
38100     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
38101       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
38102   echo $ECHO_N "(cached) $ECHO_C" >&6
38103 else
38104
38105         if test x$gcc_no_link = xyes; then
38106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38108    { (exit 1); exit 1; }; }
38109 fi
38110 cat >conftest.$ac_ext <<_ACEOF
38111 /* confdefs.h.  */
38112 _ACEOF
38113 cat confdefs.h >>conftest.$ac_ext
38114 cat >>conftest.$ac_ext <<_ACEOF
38115 /* end confdefs.h.  */
38116 #include <math.h>
38117 int
38118 main ()
38119 {
38120  __builtin_labs(0);
38121   ;
38122   return 0;
38123 }
38124 _ACEOF
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38127   (eval $ac_link) 2>conftest.er1
38128   ac_status=$?
38129   grep -v '^ *+' conftest.er1 >conftest.err
38130   rm -f conftest.er1
38131   cat conftest.err >&5
38132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133   (exit $ac_status); } &&
38134          { ac_try='test -z "$ac_c_werror_flag"
38135                          || test ! -s conftest.err'
38136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38137   (eval $ac_try) 2>&5
38138   ac_status=$?
38139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140   (exit $ac_status); }; } &&
38141          { ac_try='test -s conftest$ac_exeext'
38142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143   (eval $ac_try) 2>&5
38144   ac_status=$?
38145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146   (exit $ac_status); }; }; then
38147   glibcxx_cv_func___builtin_labs_link=yes
38148 else
38149   echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.$ac_ext >&5
38151
38152 glibcxx_cv_func___builtin_labs_link=no
38153 fi
38154 rm -f conftest.err conftest.$ac_objext \
38155       conftest$ac_exeext conftest.$ac_ext
38156
38157 fi
38158
38159     fi
38160     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
38161 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
38162
38163     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
38164
38165 cat >>confdefs.h <<\_ACEOF
38166 #define HAVE___BUILTIN_LABS 1
38167 _ACEOF
38168
38169     fi
38170
38171   fi
38172
38173
38174
38175   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
38176 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
38177   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
38178     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
38179   echo $ECHO_N "(cached) $ECHO_C" >&6
38180 else
38181
38182
38183
38184       ac_ext=cc
38185 ac_cpp='$CXXCPP $CPPFLAGS'
38186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189
38190       cat >conftest.$ac_ext <<_ACEOF
38191 /* confdefs.h.  */
38192 _ACEOF
38193 cat confdefs.h >>conftest.$ac_ext
38194 cat >>conftest.$ac_ext <<_ACEOF
38195 /* end confdefs.h.  */
38196 #include <math.h>
38197 int
38198 main ()
38199 {
38200  __builtin_sqrtf(0);
38201   ;
38202   return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext
38206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38207   (eval $ac_compile) 2>conftest.er1
38208   ac_status=$?
38209   grep -v '^ *+' conftest.er1 >conftest.err
38210   rm -f conftest.er1
38211   cat conftest.err >&5
38212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213   (exit $ac_status); } &&
38214          { ac_try='test -z "$ac_cxx_werror_flag"
38215                          || test ! -s conftest.err'
38216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217   (eval $ac_try) 2>&5
38218   ac_status=$?
38219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220   (exit $ac_status); }; } &&
38221          { ac_try='test -s conftest.$ac_objext'
38222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223   (eval $ac_try) 2>&5
38224   ac_status=$?
38225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226   (exit $ac_status); }; }; then
38227   glibcxx_cv_func___builtin_sqrtf_use=yes
38228 else
38229   echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 glibcxx_cv_func___builtin_sqrtf_use=no
38233 fi
38234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38235       ac_ext=c
38236 ac_cpp='$CPP $CPPFLAGS'
38237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38240
38241
38242 fi
38243
38244   fi
38245   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
38246 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
38247   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
38248     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
38249 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
38250     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
38251       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
38252   echo $ECHO_N "(cached) $ECHO_C" >&6
38253 else
38254
38255         if test x$gcc_no_link = xyes; then
38256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38258    { (exit 1); exit 1; }; }
38259 fi
38260 cat >conftest.$ac_ext <<_ACEOF
38261 /* confdefs.h.  */
38262 _ACEOF
38263 cat confdefs.h >>conftest.$ac_ext
38264 cat >>conftest.$ac_ext <<_ACEOF
38265 /* end confdefs.h.  */
38266 #include <math.h>
38267 int
38268 main ()
38269 {
38270  __builtin_sqrtf(0);
38271   ;
38272   return 0;
38273 }
38274 _ACEOF
38275 rm -f conftest.$ac_objext conftest$ac_exeext
38276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38277   (eval $ac_link) 2>conftest.er1
38278   ac_status=$?
38279   grep -v '^ *+' conftest.er1 >conftest.err
38280   rm -f conftest.er1
38281   cat conftest.err >&5
38282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283   (exit $ac_status); } &&
38284          { ac_try='test -z "$ac_c_werror_flag"
38285                          || test ! -s conftest.err'
38286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287   (eval $ac_try) 2>&5
38288   ac_status=$?
38289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290   (exit $ac_status); }; } &&
38291          { ac_try='test -s conftest$ac_exeext'
38292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293   (eval $ac_try) 2>&5
38294   ac_status=$?
38295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296   (exit $ac_status); }; }; then
38297   glibcxx_cv_func___builtin_sqrtf_link=yes
38298 else
38299   echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38301
38302 glibcxx_cv_func___builtin_sqrtf_link=no
38303 fi
38304 rm -f conftest.err conftest.$ac_objext \
38305       conftest$ac_exeext conftest.$ac_ext
38306
38307 fi
38308
38309     fi
38310     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
38311 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
38312
38313     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
38314
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE___BUILTIN_SQRTF 1
38317 _ACEOF
38318
38319     fi
38320
38321   fi
38322
38323
38324   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
38325 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
38326   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
38327     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
38328   echo $ECHO_N "(cached) $ECHO_C" >&6
38329 else
38330
38331
38332
38333       ac_ext=cc
38334 ac_cpp='$CXXCPP $CPPFLAGS'
38335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38338
38339       cat >conftest.$ac_ext <<_ACEOF
38340 /* confdefs.h.  */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h.  */
38345 #include <math.h>
38346 int
38347 main ()
38348 {
38349  __builtin_sqrt(0);
38350   ;
38351   return 0;
38352 }
38353 _ACEOF
38354 rm -f conftest.$ac_objext
38355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38356   (eval $ac_compile) 2>conftest.er1
38357   ac_status=$?
38358   grep -v '^ *+' conftest.er1 >conftest.err
38359   rm -f conftest.er1
38360   cat conftest.err >&5
38361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362   (exit $ac_status); } &&
38363          { ac_try='test -z "$ac_cxx_werror_flag"
38364                          || test ! -s conftest.err'
38365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366   (eval $ac_try) 2>&5
38367   ac_status=$?
38368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369   (exit $ac_status); }; } &&
38370          { ac_try='test -s conftest.$ac_objext'
38371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372   (eval $ac_try) 2>&5
38373   ac_status=$?
38374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375   (exit $ac_status); }; }; then
38376   glibcxx_cv_func___builtin_sqrt_use=yes
38377 else
38378   echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.$ac_ext >&5
38380
38381 glibcxx_cv_func___builtin_sqrt_use=no
38382 fi
38383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38384       ac_ext=c
38385 ac_cpp='$CPP $CPPFLAGS'
38386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38389
38390
38391 fi
38392
38393   fi
38394   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
38395 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
38396   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
38397     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
38398 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
38399     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
38400       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
38401   echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403
38404         if test x$gcc_no_link = xyes; then
38405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38407    { (exit 1); exit 1; }; }
38408 fi
38409 cat >conftest.$ac_ext <<_ACEOF
38410 /* confdefs.h.  */
38411 _ACEOF
38412 cat confdefs.h >>conftest.$ac_ext
38413 cat >>conftest.$ac_ext <<_ACEOF
38414 /* end confdefs.h.  */
38415 #include <math.h>
38416 int
38417 main ()
38418 {
38419  __builtin_sqrt(0);
38420   ;
38421   return 0;
38422 }
38423 _ACEOF
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38426   (eval $ac_link) 2>conftest.er1
38427   ac_status=$?
38428   grep -v '^ *+' conftest.er1 >conftest.err
38429   rm -f conftest.er1
38430   cat conftest.err >&5
38431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432   (exit $ac_status); } &&
38433          { ac_try='test -z "$ac_c_werror_flag"
38434                          || test ! -s conftest.err'
38435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38436   (eval $ac_try) 2>&5
38437   ac_status=$?
38438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439   (exit $ac_status); }; } &&
38440          { ac_try='test -s conftest$ac_exeext'
38441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38442   (eval $ac_try) 2>&5
38443   ac_status=$?
38444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445   (exit $ac_status); }; }; then
38446   glibcxx_cv_func___builtin_sqrt_link=yes
38447 else
38448   echo "$as_me: failed program was:" >&5
38449 sed 's/^/| /' conftest.$ac_ext >&5
38450
38451 glibcxx_cv_func___builtin_sqrt_link=no
38452 fi
38453 rm -f conftest.err conftest.$ac_objext \
38454       conftest$ac_exeext conftest.$ac_ext
38455
38456 fi
38457
38458     fi
38459     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
38460 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
38461
38462     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
38463
38464 cat >>confdefs.h <<\_ACEOF
38465 #define HAVE___BUILTIN_SQRT 1
38466 _ACEOF
38467
38468     fi
38469
38470   fi
38471
38472
38473   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
38474 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
38475   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
38476     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
38477   echo $ECHO_N "(cached) $ECHO_C" >&6
38478 else
38479
38480
38481
38482       ac_ext=cc
38483 ac_cpp='$CXXCPP $CPPFLAGS'
38484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38487
38488       cat >conftest.$ac_ext <<_ACEOF
38489 /* confdefs.h.  */
38490 _ACEOF
38491 cat confdefs.h >>conftest.$ac_ext
38492 cat >>conftest.$ac_ext <<_ACEOF
38493 /* end confdefs.h.  */
38494 #include <math.h>
38495 int
38496 main ()
38497 {
38498  __builtin_sqrtl(0);
38499   ;
38500   return 0;
38501 }
38502 _ACEOF
38503 rm -f conftest.$ac_objext
38504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38505   (eval $ac_compile) 2>conftest.er1
38506   ac_status=$?
38507   grep -v '^ *+' conftest.er1 >conftest.err
38508   rm -f conftest.er1
38509   cat conftest.err >&5
38510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511   (exit $ac_status); } &&
38512          { ac_try='test -z "$ac_cxx_werror_flag"
38513                          || test ! -s conftest.err'
38514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515   (eval $ac_try) 2>&5
38516   ac_status=$?
38517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518   (exit $ac_status); }; } &&
38519          { ac_try='test -s conftest.$ac_objext'
38520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521   (eval $ac_try) 2>&5
38522   ac_status=$?
38523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524   (exit $ac_status); }; }; then
38525   glibcxx_cv_func___builtin_sqrtl_use=yes
38526 else
38527   echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.$ac_ext >&5
38529
38530 glibcxx_cv_func___builtin_sqrtl_use=no
38531 fi
38532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38533       ac_ext=c
38534 ac_cpp='$CPP $CPPFLAGS'
38535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38538
38539
38540 fi
38541
38542   fi
38543   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
38544 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
38545   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
38546     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
38547 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
38548     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
38549       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
38550   echo $ECHO_N "(cached) $ECHO_C" >&6
38551 else
38552
38553         if test x$gcc_no_link = xyes; then
38554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38556    { (exit 1); exit 1; }; }
38557 fi
38558 cat >conftest.$ac_ext <<_ACEOF
38559 /* confdefs.h.  */
38560 _ACEOF
38561 cat confdefs.h >>conftest.$ac_ext
38562 cat >>conftest.$ac_ext <<_ACEOF
38563 /* end confdefs.h.  */
38564 #include <math.h>
38565 int
38566 main ()
38567 {
38568  __builtin_sqrtl(0);
38569   ;
38570   return 0;
38571 }
38572 _ACEOF
38573 rm -f conftest.$ac_objext conftest$ac_exeext
38574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38575   (eval $ac_link) 2>conftest.er1
38576   ac_status=$?
38577   grep -v '^ *+' conftest.er1 >conftest.err
38578   rm -f conftest.er1
38579   cat conftest.err >&5
38580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581   (exit $ac_status); } &&
38582          { ac_try='test -z "$ac_c_werror_flag"
38583                          || test ! -s conftest.err'
38584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585   (eval $ac_try) 2>&5
38586   ac_status=$?
38587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588   (exit $ac_status); }; } &&
38589          { ac_try='test -s conftest$ac_exeext'
38590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591   (eval $ac_try) 2>&5
38592   ac_status=$?
38593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594   (exit $ac_status); }; }; then
38595   glibcxx_cv_func___builtin_sqrtl_link=yes
38596 else
38597   echo "$as_me: failed program was:" >&5
38598 sed 's/^/| /' conftest.$ac_ext >&5
38599
38600 glibcxx_cv_func___builtin_sqrtl_link=no
38601 fi
38602 rm -f conftest.err conftest.$ac_objext \
38603       conftest$ac_exeext conftest.$ac_ext
38604
38605 fi
38606
38607     fi
38608     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
38609 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
38610
38611     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
38612
38613 cat >>confdefs.h <<\_ACEOF
38614 #define HAVE___BUILTIN_SQRTL 1
38615 _ACEOF
38616
38617     fi
38618
38619   fi
38620
38621
38622
38623   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
38624 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
38625   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
38626     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
38627   echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38629
38630
38631
38632       ac_ext=cc
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38637
38638       cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h.  */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h.  */
38644 #include <math.h>
38645 int
38646 main ()
38647 {
38648  __builtin_sinf(0);
38649   ;
38650   return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38655   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func___builtin_sinf_use=yes
38676 else
38677   echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38679
38680 glibcxx_cv_func___builtin_sinf_use=no
38681 fi
38682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38683       ac_ext=c
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38688
38689
38690 fi
38691
38692   fi
38693   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
38694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
38695   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
38696     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
38697 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
38698     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
38699       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
38700   echo $ECHO_N "(cached) $ECHO_C" >&6
38701 else
38702
38703         if test x$gcc_no_link = xyes; then
38704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38706    { (exit 1); exit 1; }; }
38707 fi
38708 cat >conftest.$ac_ext <<_ACEOF
38709 /* confdefs.h.  */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h.  */
38714 #include <math.h>
38715 int
38716 main ()
38717 {
38718  __builtin_sinf(0);
38719   ;
38720   return 0;
38721 }
38722 _ACEOF
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38725   (eval $ac_link) 2>conftest.er1
38726   ac_status=$?
38727   grep -v '^ *+' conftest.er1 >conftest.err
38728   rm -f conftest.er1
38729   cat conftest.err >&5
38730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731   (exit $ac_status); } &&
38732          { ac_try='test -z "$ac_c_werror_flag"
38733                          || test ! -s conftest.err'
38734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735   (eval $ac_try) 2>&5
38736   ac_status=$?
38737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738   (exit $ac_status); }; } &&
38739          { ac_try='test -s conftest$ac_exeext'
38740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38741   (eval $ac_try) 2>&5
38742   ac_status=$?
38743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744   (exit $ac_status); }; }; then
38745   glibcxx_cv_func___builtin_sinf_link=yes
38746 else
38747   echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.$ac_ext >&5
38749
38750 glibcxx_cv_func___builtin_sinf_link=no
38751 fi
38752 rm -f conftest.err conftest.$ac_objext \
38753       conftest$ac_exeext conftest.$ac_ext
38754
38755 fi
38756
38757     fi
38758     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
38759 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
38760
38761     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
38762
38763 cat >>confdefs.h <<\_ACEOF
38764 #define HAVE___BUILTIN_SINF 1
38765 _ACEOF
38766
38767     fi
38768
38769   fi
38770
38771
38772   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
38773 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
38774   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
38775     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
38776   echo $ECHO_N "(cached) $ECHO_C" >&6
38777 else
38778
38779
38780
38781       ac_ext=cc
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786
38787       cat >conftest.$ac_ext <<_ACEOF
38788 /* confdefs.h.  */
38789 _ACEOF
38790 cat confdefs.h >>conftest.$ac_ext
38791 cat >>conftest.$ac_ext <<_ACEOF
38792 /* end confdefs.h.  */
38793 #include <math.h>
38794 int
38795 main ()
38796 {
38797  __builtin_sin(0);
38798   ;
38799   return 0;
38800 }
38801 _ACEOF
38802 rm -f conftest.$ac_objext
38803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38804   (eval $ac_compile) 2>conftest.er1
38805   ac_status=$?
38806   grep -v '^ *+' conftest.er1 >conftest.err
38807   rm -f conftest.er1
38808   cat conftest.err >&5
38809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810   (exit $ac_status); } &&
38811          { ac_try='test -z "$ac_cxx_werror_flag"
38812                          || test ! -s conftest.err'
38813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814   (eval $ac_try) 2>&5
38815   ac_status=$?
38816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817   (exit $ac_status); }; } &&
38818          { ac_try='test -s conftest.$ac_objext'
38819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38820   (eval $ac_try) 2>&5
38821   ac_status=$?
38822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823   (exit $ac_status); }; }; then
38824   glibcxx_cv_func___builtin_sin_use=yes
38825 else
38826   echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38828
38829 glibcxx_cv_func___builtin_sin_use=no
38830 fi
38831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38832       ac_ext=c
38833 ac_cpp='$CPP $CPPFLAGS'
38834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38837
38838
38839 fi
38840
38841   fi
38842   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
38843 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
38844   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
38845     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
38846 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
38847     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
38848       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
38849   echo $ECHO_N "(cached) $ECHO_C" >&6
38850 else
38851
38852         if test x$gcc_no_link = xyes; then
38853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38855    { (exit 1); exit 1; }; }
38856 fi
38857 cat >conftest.$ac_ext <<_ACEOF
38858 /* confdefs.h.  */
38859 _ACEOF
38860 cat confdefs.h >>conftest.$ac_ext
38861 cat >>conftest.$ac_ext <<_ACEOF
38862 /* end confdefs.h.  */
38863 #include <math.h>
38864 int
38865 main ()
38866 {
38867  __builtin_sin(0);
38868   ;
38869   return 0;
38870 }
38871 _ACEOF
38872 rm -f conftest.$ac_objext conftest$ac_exeext
38873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38874   (eval $ac_link) 2>conftest.er1
38875   ac_status=$?
38876   grep -v '^ *+' conftest.er1 >conftest.err
38877   rm -f conftest.er1
38878   cat conftest.err >&5
38879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880   (exit $ac_status); } &&
38881          { ac_try='test -z "$ac_c_werror_flag"
38882                          || test ! -s conftest.err'
38883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38884   (eval $ac_try) 2>&5
38885   ac_status=$?
38886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38887   (exit $ac_status); }; } &&
38888          { ac_try='test -s conftest$ac_exeext'
38889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38890   (eval $ac_try) 2>&5
38891   ac_status=$?
38892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38893   (exit $ac_status); }; }; then
38894   glibcxx_cv_func___builtin_sin_link=yes
38895 else
38896   echo "$as_me: failed program was:" >&5
38897 sed 's/^/| /' conftest.$ac_ext >&5
38898
38899 glibcxx_cv_func___builtin_sin_link=no
38900 fi
38901 rm -f conftest.err conftest.$ac_objext \
38902       conftest$ac_exeext conftest.$ac_ext
38903
38904 fi
38905
38906     fi
38907     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
38908 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
38909
38910     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
38911
38912 cat >>confdefs.h <<\_ACEOF
38913 #define HAVE___BUILTIN_SIN 1
38914 _ACEOF
38915
38916     fi
38917
38918   fi
38919
38920
38921   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
38922 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
38923   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
38924     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
38925   echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927
38928
38929
38930       ac_ext=cc
38931 ac_cpp='$CXXCPP $CPPFLAGS'
38932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38935
38936       cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h.  */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h.  */
38942 #include <math.h>
38943 int
38944 main ()
38945 {
38946  __builtin_sinl(0);
38947   ;
38948   return 0;
38949 }
38950 _ACEOF
38951 rm -f conftest.$ac_objext
38952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38953   (eval $ac_compile) 2>conftest.er1
38954   ac_status=$?
38955   grep -v '^ *+' conftest.er1 >conftest.err
38956   rm -f conftest.er1
38957   cat conftest.err >&5
38958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959   (exit $ac_status); } &&
38960          { ac_try='test -z "$ac_cxx_werror_flag"
38961                          || test ! -s conftest.err'
38962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963   (eval $ac_try) 2>&5
38964   ac_status=$?
38965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966   (exit $ac_status); }; } &&
38967          { ac_try='test -s conftest.$ac_objext'
38968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969   (eval $ac_try) 2>&5
38970   ac_status=$?
38971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972   (exit $ac_status); }; }; then
38973   glibcxx_cv_func___builtin_sinl_use=yes
38974 else
38975   echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978 glibcxx_cv_func___builtin_sinl_use=no
38979 fi
38980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38981       ac_ext=c
38982 ac_cpp='$CPP $CPPFLAGS'
38983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38986
38987
38988 fi
38989
38990   fi
38991   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
38992 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
38993   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
38994     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
38995 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
38996     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
38997       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
38998   echo $ECHO_N "(cached) $ECHO_C" >&6
38999 else
39000
39001         if test x$gcc_no_link = xyes; then
39002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39004    { (exit 1); exit 1; }; }
39005 fi
39006 cat >conftest.$ac_ext <<_ACEOF
39007 /* confdefs.h.  */
39008 _ACEOF
39009 cat confdefs.h >>conftest.$ac_ext
39010 cat >>conftest.$ac_ext <<_ACEOF
39011 /* end confdefs.h.  */
39012 #include <math.h>
39013 int
39014 main ()
39015 {
39016  __builtin_sinl(0);
39017   ;
39018   return 0;
39019 }
39020 _ACEOF
39021 rm -f conftest.$ac_objext conftest$ac_exeext
39022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39023   (eval $ac_link) 2>conftest.er1
39024   ac_status=$?
39025   grep -v '^ *+' conftest.er1 >conftest.err
39026   rm -f conftest.er1
39027   cat conftest.err >&5
39028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029   (exit $ac_status); } &&
39030          { ac_try='test -z "$ac_c_werror_flag"
39031                          || test ! -s conftest.err'
39032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39033   (eval $ac_try) 2>&5
39034   ac_status=$?
39035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036   (exit $ac_status); }; } &&
39037          { ac_try='test -s conftest$ac_exeext'
39038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39039   (eval $ac_try) 2>&5
39040   ac_status=$?
39041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39042   (exit $ac_status); }; }; then
39043   glibcxx_cv_func___builtin_sinl_link=yes
39044 else
39045   echo "$as_me: failed program was:" >&5
39046 sed 's/^/| /' conftest.$ac_ext >&5
39047
39048 glibcxx_cv_func___builtin_sinl_link=no
39049 fi
39050 rm -f conftest.err conftest.$ac_objext \
39051       conftest$ac_exeext conftest.$ac_ext
39052
39053 fi
39054
39055     fi
39056     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
39057 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
39058
39059     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
39060
39061 cat >>confdefs.h <<\_ACEOF
39062 #define HAVE___BUILTIN_SINL 1
39063 _ACEOF
39064
39065     fi
39066
39067   fi
39068
39069
39070
39071   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
39072 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
39073   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
39074     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
39075   echo $ECHO_N "(cached) $ECHO_C" >&6
39076 else
39077
39078
39079
39080       ac_ext=cc
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39085
39086       cat >conftest.$ac_ext <<_ACEOF
39087 /* confdefs.h.  */
39088 _ACEOF
39089 cat confdefs.h >>conftest.$ac_ext
39090 cat >>conftest.$ac_ext <<_ACEOF
39091 /* end confdefs.h.  */
39092 #include <math.h>
39093 int
39094 main ()
39095 {
39096  __builtin_cosf(0);
39097   ;
39098   return 0;
39099 }
39100 _ACEOF
39101 rm -f conftest.$ac_objext
39102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39103   (eval $ac_compile) 2>conftest.er1
39104   ac_status=$?
39105   grep -v '^ *+' conftest.er1 >conftest.err
39106   rm -f conftest.er1
39107   cat conftest.err >&5
39108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109   (exit $ac_status); } &&
39110          { ac_try='test -z "$ac_cxx_werror_flag"
39111                          || test ! -s conftest.err'
39112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39113   (eval $ac_try) 2>&5
39114   ac_status=$?
39115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39116   (exit $ac_status); }; } &&
39117          { ac_try='test -s conftest.$ac_objext'
39118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39119   (eval $ac_try) 2>&5
39120   ac_status=$?
39121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122   (exit $ac_status); }; }; then
39123   glibcxx_cv_func___builtin_cosf_use=yes
39124 else
39125   echo "$as_me: failed program was:" >&5
39126 sed 's/^/| /' conftest.$ac_ext >&5
39127
39128 glibcxx_cv_func___builtin_cosf_use=no
39129 fi
39130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39131       ac_ext=c
39132 ac_cpp='$CPP $CPPFLAGS'
39133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39136
39137
39138 fi
39139
39140   fi
39141   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
39142 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
39143   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
39144     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
39145 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
39146     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
39147       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
39148   echo $ECHO_N "(cached) $ECHO_C" >&6
39149 else
39150
39151         if test x$gcc_no_link = xyes; then
39152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39154    { (exit 1); exit 1; }; }
39155 fi
39156 cat >conftest.$ac_ext <<_ACEOF
39157 /* confdefs.h.  */
39158 _ACEOF
39159 cat confdefs.h >>conftest.$ac_ext
39160 cat >>conftest.$ac_ext <<_ACEOF
39161 /* end confdefs.h.  */
39162 #include <math.h>
39163 int
39164 main ()
39165 {
39166  __builtin_cosf(0);
39167   ;
39168   return 0;
39169 }
39170 _ACEOF
39171 rm -f conftest.$ac_objext conftest$ac_exeext
39172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39173   (eval $ac_link) 2>conftest.er1
39174   ac_status=$?
39175   grep -v '^ *+' conftest.er1 >conftest.err
39176   rm -f conftest.er1
39177   cat conftest.err >&5
39178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179   (exit $ac_status); } &&
39180          { ac_try='test -z "$ac_c_werror_flag"
39181                          || test ! -s conftest.err'
39182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183   (eval $ac_try) 2>&5
39184   ac_status=$?
39185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186   (exit $ac_status); }; } &&
39187          { ac_try='test -s conftest$ac_exeext'
39188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39189   (eval $ac_try) 2>&5
39190   ac_status=$?
39191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192   (exit $ac_status); }; }; then
39193   glibcxx_cv_func___builtin_cosf_link=yes
39194 else
39195   echo "$as_me: failed program was:" >&5
39196 sed 's/^/| /' conftest.$ac_ext >&5
39197
39198 glibcxx_cv_func___builtin_cosf_link=no
39199 fi
39200 rm -f conftest.err conftest.$ac_objext \
39201       conftest$ac_exeext conftest.$ac_ext
39202
39203 fi
39204
39205     fi
39206     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
39207 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
39208
39209     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
39210
39211 cat >>confdefs.h <<\_ACEOF
39212 #define HAVE___BUILTIN_COSF 1
39213 _ACEOF
39214
39215     fi
39216
39217   fi
39218
39219
39220   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
39221 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
39222   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
39223     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
39224   echo $ECHO_N "(cached) $ECHO_C" >&6
39225 else
39226
39227
39228
39229       ac_ext=cc
39230 ac_cpp='$CXXCPP $CPPFLAGS'
39231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39234
39235       cat >conftest.$ac_ext <<_ACEOF
39236 /* confdefs.h.  */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h.  */
39241 #include <math.h>
39242 int
39243 main ()
39244 {
39245  __builtin_cos(0);
39246   ;
39247   return 0;
39248 }
39249 _ACEOF
39250 rm -f conftest.$ac_objext
39251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39252   (eval $ac_compile) 2>conftest.er1
39253   ac_status=$?
39254   grep -v '^ *+' conftest.er1 >conftest.err
39255   rm -f conftest.er1
39256   cat conftest.err >&5
39257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258   (exit $ac_status); } &&
39259          { ac_try='test -z "$ac_cxx_werror_flag"
39260                          || test ! -s conftest.err'
39261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39262   (eval $ac_try) 2>&5
39263   ac_status=$?
39264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265   (exit $ac_status); }; } &&
39266          { ac_try='test -s conftest.$ac_objext'
39267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268   (eval $ac_try) 2>&5
39269   ac_status=$?
39270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271   (exit $ac_status); }; }; then
39272   glibcxx_cv_func___builtin_cos_use=yes
39273 else
39274   echo "$as_me: failed program was:" >&5
39275 sed 's/^/| /' conftest.$ac_ext >&5
39276
39277 glibcxx_cv_func___builtin_cos_use=no
39278 fi
39279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39280       ac_ext=c
39281 ac_cpp='$CPP $CPPFLAGS'
39282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39285
39286
39287 fi
39288
39289   fi
39290   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
39291 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
39292   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
39293     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
39294 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
39295     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
39296       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
39297   echo $ECHO_N "(cached) $ECHO_C" >&6
39298 else
39299
39300         if test x$gcc_no_link = xyes; then
39301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39303    { (exit 1); exit 1; }; }
39304 fi
39305 cat >conftest.$ac_ext <<_ACEOF
39306 /* confdefs.h.  */
39307 _ACEOF
39308 cat confdefs.h >>conftest.$ac_ext
39309 cat >>conftest.$ac_ext <<_ACEOF
39310 /* end confdefs.h.  */
39311 #include <math.h>
39312 int
39313 main ()
39314 {
39315  __builtin_cos(0);
39316   ;
39317   return 0;
39318 }
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39322   (eval $ac_link) 2>conftest.er1
39323   ac_status=$?
39324   grep -v '^ *+' conftest.er1 >conftest.err
39325   rm -f conftest.er1
39326   cat conftest.err >&5
39327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328   (exit $ac_status); } &&
39329          { ac_try='test -z "$ac_c_werror_flag"
39330                          || test ! -s conftest.err'
39331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332   (eval $ac_try) 2>&5
39333   ac_status=$?
39334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335   (exit $ac_status); }; } &&
39336          { ac_try='test -s conftest$ac_exeext'
39337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39338   (eval $ac_try) 2>&5
39339   ac_status=$?
39340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39341   (exit $ac_status); }; }; then
39342   glibcxx_cv_func___builtin_cos_link=yes
39343 else
39344   echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39346
39347 glibcxx_cv_func___builtin_cos_link=no
39348 fi
39349 rm -f conftest.err conftest.$ac_objext \
39350       conftest$ac_exeext conftest.$ac_ext
39351
39352 fi
39353
39354     fi
39355     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
39356 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
39357
39358     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
39359
39360 cat >>confdefs.h <<\_ACEOF
39361 #define HAVE___BUILTIN_COS 1
39362 _ACEOF
39363
39364     fi
39365
39366   fi
39367
39368
39369   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
39370 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
39371   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
39372     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
39373   echo $ECHO_N "(cached) $ECHO_C" >&6
39374 else
39375
39376
39377
39378       ac_ext=cc
39379 ac_cpp='$CXXCPP $CPPFLAGS'
39380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39383
39384       cat >conftest.$ac_ext <<_ACEOF
39385 /* confdefs.h.  */
39386 _ACEOF
39387 cat confdefs.h >>conftest.$ac_ext
39388 cat >>conftest.$ac_ext <<_ACEOF
39389 /* end confdefs.h.  */
39390 #include <math.h>
39391 int
39392 main ()
39393 {
39394  __builtin_cosl(0);
39395   ;
39396   return 0;
39397 }
39398 _ACEOF
39399 rm -f conftest.$ac_objext
39400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39401   (eval $ac_compile) 2>conftest.er1
39402   ac_status=$?
39403   grep -v '^ *+' conftest.er1 >conftest.err
39404   rm -f conftest.er1
39405   cat conftest.err >&5
39406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407   (exit $ac_status); } &&
39408          { ac_try='test -z "$ac_cxx_werror_flag"
39409                          || test ! -s conftest.err'
39410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39411   (eval $ac_try) 2>&5
39412   ac_status=$?
39413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414   (exit $ac_status); }; } &&
39415          { ac_try='test -s conftest.$ac_objext'
39416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39417   (eval $ac_try) 2>&5
39418   ac_status=$?
39419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420   (exit $ac_status); }; }; then
39421   glibcxx_cv_func___builtin_cosl_use=yes
39422 else
39423   echo "$as_me: failed program was:" >&5
39424 sed 's/^/| /' conftest.$ac_ext >&5
39425
39426 glibcxx_cv_func___builtin_cosl_use=no
39427 fi
39428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39429       ac_ext=c
39430 ac_cpp='$CPP $CPPFLAGS'
39431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39434
39435
39436 fi
39437
39438   fi
39439   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
39440 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
39441   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
39442     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
39443 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
39444     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
39445       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
39446   echo $ECHO_N "(cached) $ECHO_C" >&6
39447 else
39448
39449         if test x$gcc_no_link = xyes; then
39450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39452    { (exit 1); exit 1; }; }
39453 fi
39454 cat >conftest.$ac_ext <<_ACEOF
39455 /* confdefs.h.  */
39456 _ACEOF
39457 cat confdefs.h >>conftest.$ac_ext
39458 cat >>conftest.$ac_ext <<_ACEOF
39459 /* end confdefs.h.  */
39460 #include <math.h>
39461 int
39462 main ()
39463 {
39464  __builtin_cosl(0);
39465   ;
39466   return 0;
39467 }
39468 _ACEOF
39469 rm -f conftest.$ac_objext conftest$ac_exeext
39470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39471   (eval $ac_link) 2>conftest.er1
39472   ac_status=$?
39473   grep -v '^ *+' conftest.er1 >conftest.err
39474   rm -f conftest.er1
39475   cat conftest.err >&5
39476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477   (exit $ac_status); } &&
39478          { ac_try='test -z "$ac_c_werror_flag"
39479                          || test ! -s conftest.err'
39480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39481   (eval $ac_try) 2>&5
39482   ac_status=$?
39483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484   (exit $ac_status); }; } &&
39485          { ac_try='test -s conftest$ac_exeext'
39486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487   (eval $ac_try) 2>&5
39488   ac_status=$?
39489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490   (exit $ac_status); }; }; then
39491   glibcxx_cv_func___builtin_cosl_link=yes
39492 else
39493   echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39495
39496 glibcxx_cv_func___builtin_cosl_link=no
39497 fi
39498 rm -f conftest.err conftest.$ac_objext \
39499       conftest$ac_exeext conftest.$ac_ext
39500
39501 fi
39502
39503     fi
39504     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
39505 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
39506
39507     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
39508
39509 cat >>confdefs.h <<\_ACEOF
39510 #define HAVE___BUILTIN_COSL 1
39511 _ACEOF
39512
39513     fi
39514
39515   fi
39516
39517
39518
39519
39520 echo "$as_me:$LINENO: checking for main in -lm" >&5
39521 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
39522 if test "${ac_cv_lib_m_main+set}" = set; then
39523   echo $ECHO_N "(cached) $ECHO_C" >&6
39524 else
39525   ac_check_lib_save_LIBS=$LIBS
39526 LIBS="-lm  $LIBS"
39527 if test x$gcc_no_link = xyes; then
39528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39530    { (exit 1); exit 1; }; }
39531 fi
39532 cat >conftest.$ac_ext <<_ACEOF
39533 /* confdefs.h.  */
39534 _ACEOF
39535 cat confdefs.h >>conftest.$ac_ext
39536 cat >>conftest.$ac_ext <<_ACEOF
39537 /* end confdefs.h.  */
39538
39539
39540 int
39541 main ()
39542 {
39543 main ();
39544   ;
39545   return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550   (eval $ac_link) 2>conftest.er1
39551   ac_status=$?
39552   grep -v '^ *+' conftest.er1 >conftest.err
39553   rm -f conftest.er1
39554   cat conftest.err >&5
39555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556   (exit $ac_status); } &&
39557          { ac_try='test -z "$ac_c_werror_flag"
39558                          || test ! -s conftest.err'
39559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39560   (eval $ac_try) 2>&5
39561   ac_status=$?
39562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563   (exit $ac_status); }; } &&
39564          { ac_try='test -s conftest$ac_exeext'
39565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39566   (eval $ac_try) 2>&5
39567   ac_status=$?
39568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569   (exit $ac_status); }; }; then
39570   ac_cv_lib_m_main=yes
39571 else
39572   echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 ac_cv_lib_m_main=no
39576 fi
39577 rm -f conftest.err conftest.$ac_objext \
39578       conftest$ac_exeext conftest.$ac_ext
39579 LIBS=$ac_check_lib_save_LIBS
39580 fi
39581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
39582 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
39583 if test $ac_cv_lib_m_main = yes; then
39584   cat >>confdefs.h <<_ACEOF
39585 #define HAVE_LIBM 1
39586 _ACEOF
39587
39588   LIBS="-lm $LIBS"
39589
39590 fi
39591
39592
39593 for ac_func in copysignf
39594 do
39595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39596 echo "$as_me:$LINENO: checking for $ac_func" >&5
39597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39598 if eval "test \"\${$as_ac_var+set}\" = set"; then
39599   echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601   if test x$gcc_no_link = xyes; then
39602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39604    { (exit 1); exit 1; }; }
39605 fi
39606 cat >conftest.$ac_ext <<_ACEOF
39607 /* confdefs.h.  */
39608 _ACEOF
39609 cat confdefs.h >>conftest.$ac_ext
39610 cat >>conftest.$ac_ext <<_ACEOF
39611 /* end confdefs.h.  */
39612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39614 #define $ac_func innocuous_$ac_func
39615
39616 /* System header to define __stub macros and hopefully few prototypes,
39617     which can conflict with char $ac_func (); below.
39618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39619     <limits.h> exists even on freestanding compilers.  */
39620
39621 #ifdef __STDC__
39622 # include <limits.h>
39623 #else
39624 # include <assert.h>
39625 #endif
39626
39627 #undef $ac_func
39628
39629 /* Override any gcc2 internal prototype to avoid an error.  */
39630 #ifdef __cplusplus
39631 extern "C"
39632 {
39633 #endif
39634 /* We use char because int might match the return type of a gcc2
39635    builtin and then its argument prototype would still apply.  */
39636 char $ac_func ();
39637 /* The GNU C library defines this for functions which it implements
39638     to always fail with ENOSYS.  Some functions are actually named
39639     something starting with __ and the normal name is an alias.  */
39640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39641 choke me
39642 #else
39643 char (*f) () = $ac_func;
39644 #endif
39645 #ifdef __cplusplus
39646 }
39647 #endif
39648
39649 int
39650 main ()
39651 {
39652 return f != $ac_func;
39653   ;
39654   return 0;
39655 }
39656 _ACEOF
39657 rm -f conftest.$ac_objext conftest$ac_exeext
39658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39659   (eval $ac_link) 2>conftest.er1
39660   ac_status=$?
39661   grep -v '^ *+' conftest.er1 >conftest.err
39662   rm -f conftest.er1
39663   cat conftest.err >&5
39664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665   (exit $ac_status); } &&
39666          { ac_try='test -z "$ac_c_werror_flag"
39667                          || test ! -s conftest.err'
39668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669   (eval $ac_try) 2>&5
39670   ac_status=$?
39671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672   (exit $ac_status); }; } &&
39673          { ac_try='test -s conftest$ac_exeext'
39674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39675   (eval $ac_try) 2>&5
39676   ac_status=$?
39677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678   (exit $ac_status); }; }; then
39679   eval "$as_ac_var=yes"
39680 else
39681   echo "$as_me: failed program was:" >&5
39682 sed 's/^/| /' conftest.$ac_ext >&5
39683
39684 eval "$as_ac_var=no"
39685 fi
39686 rm -f conftest.err conftest.$ac_objext \
39687       conftest$ac_exeext conftest.$ac_ext
39688 fi
39689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39691 if test `eval echo '${'$as_ac_var'}'` = yes; then
39692   cat >>confdefs.h <<_ACEOF
39693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39694 _ACEOF
39695
39696 else
39697   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
39698 fi
39699 done
39700
39701
39702
39703 for ac_func in __signbit
39704 do
39705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39706 echo "$as_me:$LINENO: checking for $ac_func" >&5
39707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39708 if eval "test \"\${$as_ac_var+set}\" = set"; then
39709   echo $ECHO_N "(cached) $ECHO_C" >&6
39710 else
39711   if test x$gcc_no_link = xyes; then
39712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39714    { (exit 1); exit 1; }; }
39715 fi
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h.  */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h.  */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39724 #define $ac_func innocuous_$ac_func
39725
39726 /* System header to define __stub macros and hopefully few prototypes,
39727     which can conflict with char $ac_func (); below.
39728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729     <limits.h> exists even on freestanding compilers.  */
39730
39731 #ifdef __STDC__
39732 # include <limits.h>
39733 #else
39734 # include <assert.h>
39735 #endif
39736
39737 #undef $ac_func
39738
39739 /* Override any gcc2 internal prototype to avoid an error.  */
39740 #ifdef __cplusplus
39741 extern "C"
39742 {
39743 #endif
39744 /* We use char because int might match the return type of a gcc2
39745    builtin and then its argument prototype would still apply.  */
39746 char $ac_func ();
39747 /* The GNU C library defines this for functions which it implements
39748     to always fail with ENOSYS.  Some functions are actually named
39749     something starting with __ and the normal name is an alias.  */
39750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39751 choke me
39752 #else
39753 char (*f) () = $ac_func;
39754 #endif
39755 #ifdef __cplusplus
39756 }
39757 #endif
39758
39759 int
39760 main ()
39761 {
39762 return f != $ac_func;
39763   ;
39764   return 0;
39765 }
39766 _ACEOF
39767 rm -f conftest.$ac_objext conftest$ac_exeext
39768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39769   (eval $ac_link) 2>conftest.er1
39770   ac_status=$?
39771   grep -v '^ *+' conftest.er1 >conftest.err
39772   rm -f conftest.er1
39773   cat conftest.err >&5
39774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775   (exit $ac_status); } &&
39776          { ac_try='test -z "$ac_c_werror_flag"
39777                          || test ! -s conftest.err'
39778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39779   (eval $ac_try) 2>&5
39780   ac_status=$?
39781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782   (exit $ac_status); }; } &&
39783          { ac_try='test -s conftest$ac_exeext'
39784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785   (eval $ac_try) 2>&5
39786   ac_status=$?
39787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788   (exit $ac_status); }; }; then
39789   eval "$as_ac_var=yes"
39790 else
39791   echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794 eval "$as_ac_var=no"
39795 fi
39796 rm -f conftest.err conftest.$ac_objext \
39797       conftest$ac_exeext conftest.$ac_ext
39798 fi
39799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39801 if test `eval echo '${'$as_ac_var'}'` = yes; then
39802   cat >>confdefs.h <<_ACEOF
39803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39804 _ACEOF
39805
39806 else
39807   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
39808 fi
39809 done
39810
39811
39812
39813 for ac_func in __signbitf
39814 do
39815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39816 echo "$as_me:$LINENO: checking for $ac_func" >&5
39817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39818 if eval "test \"\${$as_ac_var+set}\" = set"; then
39819   echo $ECHO_N "(cached) $ECHO_C" >&6
39820 else
39821   if test x$gcc_no_link = xyes; then
39822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39824    { (exit 1); exit 1; }; }
39825 fi
39826 cat >conftest.$ac_ext <<_ACEOF
39827 /* confdefs.h.  */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h.  */
39832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39834 #define $ac_func innocuous_$ac_func
39835
39836 /* System header to define __stub macros and hopefully few prototypes,
39837     which can conflict with char $ac_func (); below.
39838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839     <limits.h> exists even on freestanding compilers.  */
39840
39841 #ifdef __STDC__
39842 # include <limits.h>
39843 #else
39844 # include <assert.h>
39845 #endif
39846
39847 #undef $ac_func
39848
39849 /* Override any gcc2 internal prototype to avoid an error.  */
39850 #ifdef __cplusplus
39851 extern "C"
39852 {
39853 #endif
39854 /* We use char because int might match the return type of a gcc2
39855    builtin and then its argument prototype would still apply.  */
39856 char $ac_func ();
39857 /* The GNU C library defines this for functions which it implements
39858     to always fail with ENOSYS.  Some functions are actually named
39859     something starting with __ and the normal name is an alias.  */
39860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39861 choke me
39862 #else
39863 char (*f) () = $ac_func;
39864 #endif
39865 #ifdef __cplusplus
39866 }
39867 #endif
39868
39869 int
39870 main ()
39871 {
39872 return f != $ac_func;
39873   ;
39874   return 0;
39875 }
39876 _ACEOF
39877 rm -f conftest.$ac_objext conftest$ac_exeext
39878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39879   (eval $ac_link) 2>conftest.er1
39880   ac_status=$?
39881   grep -v '^ *+' conftest.er1 >conftest.err
39882   rm -f conftest.er1
39883   cat conftest.err >&5
39884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885   (exit $ac_status); } &&
39886          { ac_try='test -z "$ac_c_werror_flag"
39887                          || test ! -s conftest.err'
39888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39889   (eval $ac_try) 2>&5
39890   ac_status=$?
39891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892   (exit $ac_status); }; } &&
39893          { ac_try='test -s conftest$ac_exeext'
39894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895   (eval $ac_try) 2>&5
39896   ac_status=$?
39897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898   (exit $ac_status); }; }; then
39899   eval "$as_ac_var=yes"
39900 else
39901   echo "$as_me: failed program was:" >&5
39902 sed 's/^/| /' conftest.$ac_ext >&5
39903
39904 eval "$as_ac_var=no"
39905 fi
39906 rm -f conftest.err conftest.$ac_objext \
39907       conftest$ac_exeext conftest.$ac_ext
39908 fi
39909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39911 if test `eval echo '${'$as_ac_var'}'` = yes; then
39912   cat >>confdefs.h <<_ACEOF
39913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39914 _ACEOF
39915
39916 else
39917   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
39918 fi
39919 done
39920
39921
39922           if test x$ac_cv_func_copysignl = x"yes"; then
39923
39924 for ac_func in __signbitl
39925 do
39926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39927 echo "$as_me:$LINENO: checking for $ac_func" >&5
39928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39929 if eval "test \"\${$as_ac_var+set}\" = set"; then
39930   echo $ECHO_N "(cached) $ECHO_C" >&6
39931 else
39932   if test x$gcc_no_link = xyes; then
39933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39935    { (exit 1); exit 1; }; }
39936 fi
39937 cat >conftest.$ac_ext <<_ACEOF
39938 /* confdefs.h.  */
39939 _ACEOF
39940 cat confdefs.h >>conftest.$ac_ext
39941 cat >>conftest.$ac_ext <<_ACEOF
39942 /* end confdefs.h.  */
39943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39945 #define $ac_func innocuous_$ac_func
39946
39947 /* System header to define __stub macros and hopefully few prototypes,
39948     which can conflict with char $ac_func (); below.
39949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39950     <limits.h> exists even on freestanding compilers.  */
39951
39952 #ifdef __STDC__
39953 # include <limits.h>
39954 #else
39955 # include <assert.h>
39956 #endif
39957
39958 #undef $ac_func
39959
39960 /* Override any gcc2 internal prototype to avoid an error.  */
39961 #ifdef __cplusplus
39962 extern "C"
39963 {
39964 #endif
39965 /* We use char because int might match the return type of a gcc2
39966    builtin and then its argument prototype would still apply.  */
39967 char $ac_func ();
39968 /* The GNU C library defines this for functions which it implements
39969     to always fail with ENOSYS.  Some functions are actually named
39970     something starting with __ and the normal name is an alias.  */
39971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39972 choke me
39973 #else
39974 char (*f) () = $ac_func;
39975 #endif
39976 #ifdef __cplusplus
39977 }
39978 #endif
39979
39980 int
39981 main ()
39982 {
39983 return f != $ac_func;
39984   ;
39985   return 0;
39986 }
39987 _ACEOF
39988 rm -f conftest.$ac_objext conftest$ac_exeext
39989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39990   (eval $ac_link) 2>conftest.er1
39991   ac_status=$?
39992   grep -v '^ *+' conftest.er1 >conftest.err
39993   rm -f conftest.er1
39994   cat conftest.err >&5
39995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996   (exit $ac_status); } &&
39997          { ac_try='test -z "$ac_c_werror_flag"
39998                          || test ! -s conftest.err'
39999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40000   (eval $ac_try) 2>&5
40001   ac_status=$?
40002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003   (exit $ac_status); }; } &&
40004          { ac_try='test -s conftest$ac_exeext'
40005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40006   (eval $ac_try) 2>&5
40007   ac_status=$?
40008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009   (exit $ac_status); }; }; then
40010   eval "$as_ac_var=yes"
40011 else
40012   echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.$ac_ext >&5
40014
40015 eval "$as_ac_var=no"
40016 fi
40017 rm -f conftest.err conftest.$ac_objext \
40018       conftest$ac_exeext conftest.$ac_ext
40019 fi
40020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40022 if test `eval echo '${'$as_ac_var'}'` = yes; then
40023   cat >>confdefs.h <<_ACEOF
40024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40025 _ACEOF
40026
40027 else
40028   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
40029 fi
40030 done
40031
40032   fi
40033
40034   # Used in libmath/Makefile.am.
40035   if test -n "$LIBMATHOBJS"; then
40036     need_libmath=yes
40037   fi
40038
40039
40040
40041   ac_test_CXXFLAGS="${CXXFLAGS+set}"
40042   ac_save_CXXFLAGS="$CXXFLAGS"
40043   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40044
40045
40046   echo "$as_me:$LINENO: checking for strtold declaration" >&5
40047 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
40048   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40049     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
40050   echo $ECHO_N "(cached) $ECHO_C" >&6
40051 else
40052
40053
40054
40055       ac_ext=cc
40056 ac_cpp='$CXXCPP $CPPFLAGS'
40057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40060
40061       cat >conftest.$ac_ext <<_ACEOF
40062 /* confdefs.h.  */
40063 _ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h.  */
40067 #include <stdlib.h>
40068 int
40069 main ()
40070 {
40071  strtold(0, 0);
40072   ;
40073   return 0;
40074 }
40075 _ACEOF
40076 rm -f conftest.$ac_objext
40077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40078   (eval $ac_compile) 2>conftest.er1
40079   ac_status=$?
40080   grep -v '^ *+' conftest.er1 >conftest.err
40081   rm -f conftest.er1
40082   cat conftest.err >&5
40083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084   (exit $ac_status); } &&
40085          { ac_try='test -z "$ac_cxx_werror_flag"
40086                          || test ! -s conftest.err'
40087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40088   (eval $ac_try) 2>&5
40089   ac_status=$?
40090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091   (exit $ac_status); }; } &&
40092          { ac_try='test -s conftest.$ac_objext'
40093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40094   (eval $ac_try) 2>&5
40095   ac_status=$?
40096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097   (exit $ac_status); }; }; then
40098   glibcxx_cv_func_strtold_use=yes
40099 else
40100   echo "$as_me: failed program was:" >&5
40101 sed 's/^/| /' conftest.$ac_ext >&5
40102
40103 glibcxx_cv_func_strtold_use=no
40104 fi
40105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40106       ac_ext=c
40107 ac_cpp='$CPP $CPPFLAGS'
40108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40111
40112
40113 fi
40114
40115   fi
40116   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
40117 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
40118   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40119
40120 for ac_func in strtold
40121 do
40122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40123 echo "$as_me:$LINENO: checking for $ac_func" >&5
40124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40125 if eval "test \"\${$as_ac_var+set}\" = set"; then
40126   echo $ECHO_N "(cached) $ECHO_C" >&6
40127 else
40128   if test x$gcc_no_link = xyes; then
40129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40131    { (exit 1); exit 1; }; }
40132 fi
40133 cat >conftest.$ac_ext <<_ACEOF
40134 /* confdefs.h.  */
40135 _ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h.  */
40139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40141 #define $ac_func innocuous_$ac_func
40142
40143 /* System header to define __stub macros and hopefully few prototypes,
40144     which can conflict with char $ac_func (); below.
40145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40146     <limits.h> exists even on freestanding compilers.  */
40147
40148 #ifdef __STDC__
40149 # include <limits.h>
40150 #else
40151 # include <assert.h>
40152 #endif
40153
40154 #undef $ac_func
40155
40156 /* Override any gcc2 internal prototype to avoid an error.  */
40157 #ifdef __cplusplus
40158 extern "C"
40159 {
40160 #endif
40161 /* We use char because int might match the return type of a gcc2
40162    builtin and then its argument prototype would still apply.  */
40163 char $ac_func ();
40164 /* The GNU C library defines this for functions which it implements
40165     to always fail with ENOSYS.  Some functions are actually named
40166     something starting with __ and the normal name is an alias.  */
40167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40168 choke me
40169 #else
40170 char (*f) () = $ac_func;
40171 #endif
40172 #ifdef __cplusplus
40173 }
40174 #endif
40175
40176 int
40177 main ()
40178 {
40179 return f != $ac_func;
40180   ;
40181   return 0;
40182 }
40183 _ACEOF
40184 rm -f conftest.$ac_objext conftest$ac_exeext
40185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40186   (eval $ac_link) 2>conftest.er1
40187   ac_status=$?
40188   grep -v '^ *+' conftest.er1 >conftest.err
40189   rm -f conftest.er1
40190   cat conftest.err >&5
40191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192   (exit $ac_status); } &&
40193          { ac_try='test -z "$ac_c_werror_flag"
40194                          || test ! -s conftest.err'
40195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40196   (eval $ac_try) 2>&5
40197   ac_status=$?
40198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199   (exit $ac_status); }; } &&
40200          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40206   eval "$as_ac_var=yes"
40207 else
40208   echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.$ac_ext >&5
40210
40211 eval "$as_ac_var=no"
40212 fi
40213 rm -f conftest.err conftest.$ac_objext \
40214       conftest$ac_exeext conftest.$ac_ext
40215 fi
40216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40218 if test `eval echo '${'$as_ac_var'}'` = yes; then
40219   cat >>confdefs.h <<_ACEOF
40220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40221 _ACEOF
40222
40223 fi
40224 done
40225
40226   fi
40227
40228
40229
40230
40231
40232   echo "$as_me:$LINENO: checking for strtof declaration" >&5
40233 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
40234   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40235     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
40236   echo $ECHO_N "(cached) $ECHO_C" >&6
40237 else
40238
40239
40240
40241       ac_ext=cc
40242 ac_cpp='$CXXCPP $CPPFLAGS'
40243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246
40247       cat >conftest.$ac_ext <<_ACEOF
40248 /* confdefs.h.  */
40249 _ACEOF
40250 cat confdefs.h >>conftest.$ac_ext
40251 cat >>conftest.$ac_ext <<_ACEOF
40252 /* end confdefs.h.  */
40253 #include <stdlib.h>
40254 int
40255 main ()
40256 {
40257  strtof(0, 0);
40258   ;
40259   return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext
40263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40264   (eval $ac_compile) 2>conftest.er1
40265   ac_status=$?
40266   grep -v '^ *+' conftest.er1 >conftest.err
40267   rm -f conftest.er1
40268   cat conftest.err >&5
40269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270   (exit $ac_status); } &&
40271          { ac_try='test -z "$ac_cxx_werror_flag"
40272                          || test ! -s conftest.err'
40273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40274   (eval $ac_try) 2>&5
40275   ac_status=$?
40276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277   (exit $ac_status); }; } &&
40278          { ac_try='test -s conftest.$ac_objext'
40279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40280   (eval $ac_try) 2>&5
40281   ac_status=$?
40282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283   (exit $ac_status); }; }; then
40284   glibcxx_cv_func_strtof_use=yes
40285 else
40286   echo "$as_me: failed program was:" >&5
40287 sed 's/^/| /' conftest.$ac_ext >&5
40288
40289 glibcxx_cv_func_strtof_use=no
40290 fi
40291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40292       ac_ext=c
40293 ac_cpp='$CPP $CPPFLAGS'
40294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40297
40298
40299 fi
40300
40301   fi
40302   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
40303 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
40304   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40305
40306 for ac_func in strtof
40307 do
40308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40309 echo "$as_me:$LINENO: checking for $ac_func" >&5
40310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40311 if eval "test \"\${$as_ac_var+set}\" = set"; then
40312   echo $ECHO_N "(cached) $ECHO_C" >&6
40313 else
40314   if test x$gcc_no_link = xyes; then
40315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40317    { (exit 1); exit 1; }; }
40318 fi
40319 cat >conftest.$ac_ext <<_ACEOF
40320 /* confdefs.h.  */
40321 _ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h.  */
40325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40327 #define $ac_func innocuous_$ac_func
40328
40329 /* System header to define __stub macros and hopefully few prototypes,
40330     which can conflict with char $ac_func (); below.
40331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40332     <limits.h> exists even on freestanding compilers.  */
40333
40334 #ifdef __STDC__
40335 # include <limits.h>
40336 #else
40337 # include <assert.h>
40338 #endif
40339
40340 #undef $ac_func
40341
40342 /* Override any gcc2 internal prototype to avoid an error.  */
40343 #ifdef __cplusplus
40344 extern "C"
40345 {
40346 #endif
40347 /* We use char because int might match the return type of a gcc2
40348    builtin and then its argument prototype would still apply.  */
40349 char $ac_func ();
40350 /* The GNU C library defines this for functions which it implements
40351     to always fail with ENOSYS.  Some functions are actually named
40352     something starting with __ and the normal name is an alias.  */
40353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40354 choke me
40355 #else
40356 char (*f) () = $ac_func;
40357 #endif
40358 #ifdef __cplusplus
40359 }
40360 #endif
40361
40362 int
40363 main ()
40364 {
40365 return f != $ac_func;
40366   ;
40367   return 0;
40368 }
40369 _ACEOF
40370 rm -f conftest.$ac_objext conftest$ac_exeext
40371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40372   (eval $ac_link) 2>conftest.er1
40373   ac_status=$?
40374   grep -v '^ *+' conftest.er1 >conftest.err
40375   rm -f conftest.er1
40376   cat conftest.err >&5
40377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378   (exit $ac_status); } &&
40379          { ac_try='test -z "$ac_c_werror_flag"
40380                          || test ! -s conftest.err'
40381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382   (eval $ac_try) 2>&5
40383   ac_status=$?
40384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385   (exit $ac_status); }; } &&
40386          { ac_try='test -s conftest$ac_exeext'
40387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40388   (eval $ac_try) 2>&5
40389   ac_status=$?
40390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391   (exit $ac_status); }; }; then
40392   eval "$as_ac_var=yes"
40393 else
40394   echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.$ac_ext >&5
40396
40397 eval "$as_ac_var=no"
40398 fi
40399 rm -f conftest.err conftest.$ac_objext \
40400       conftest$ac_exeext conftest.$ac_ext
40401 fi
40402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40404 if test `eval echo '${'$as_ac_var'}'` = yes; then
40405   cat >>confdefs.h <<_ACEOF
40406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40407 _ACEOF
40408
40409 fi
40410 done
40411
40412   fi
40413
40414
40415
40416
40417
40418   CXXFLAGS="$ac_save_CXXFLAGS"
40419
40420
40421   # For showmanyc_helper().
40422
40423
40424 for ac_header in sys/ioctl.h sys/filio.h
40425 do
40426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40428   echo "$as_me:$LINENO: checking for $ac_header" >&5
40429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40431   echo $ECHO_N "(cached) $ECHO_C" >&6
40432 fi
40433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40435 else
40436   # Is the header compilable?
40437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40439 cat >conftest.$ac_ext <<_ACEOF
40440 /* confdefs.h.  */
40441 _ACEOF
40442 cat confdefs.h >>conftest.$ac_ext
40443 cat >>conftest.$ac_ext <<_ACEOF
40444 /* end confdefs.h.  */
40445 $ac_includes_default
40446 #include <$ac_header>
40447 _ACEOF
40448 rm -f conftest.$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450   (eval $ac_compile) 2>conftest.er1
40451   ac_status=$?
40452   grep -v '^ *+' conftest.er1 >conftest.err
40453   rm -f conftest.er1
40454   cat conftest.err >&5
40455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456   (exit $ac_status); } &&
40457          { ac_try='test -z "$ac_c_werror_flag"
40458                          || test ! -s conftest.err'
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); }; } &&
40464          { ac_try='test -s conftest.$ac_objext'
40465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466   (eval $ac_try) 2>&5
40467   ac_status=$?
40468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469   (exit $ac_status); }; }; then
40470   ac_header_compiler=yes
40471 else
40472   echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.$ac_ext >&5
40474
40475 ac_header_compiler=no
40476 fi
40477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40479 echo "${ECHO_T}$ac_header_compiler" >&6
40480
40481 # Is the header present?
40482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h.  */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h.  */
40490 #include <$ac_header>
40491 _ACEOF
40492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40493   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40494   ac_status=$?
40495   grep -v '^ *+' conftest.er1 >conftest.err
40496   rm -f conftest.er1
40497   cat conftest.err >&5
40498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499   (exit $ac_status); } >/dev/null; then
40500   if test -s conftest.err; then
40501     ac_cpp_err=$ac_c_preproc_warn_flag
40502     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40503   else
40504     ac_cpp_err=
40505   fi
40506 else
40507   ac_cpp_err=yes
40508 fi
40509 if test -z "$ac_cpp_err"; then
40510   ac_header_preproc=yes
40511 else
40512   echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40514
40515   ac_header_preproc=no
40516 fi
40517 rm -f conftest.err conftest.$ac_ext
40518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40519 echo "${ECHO_T}$ac_header_preproc" >&6
40520
40521 # So?  What about this header?
40522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40523   yes:no: )
40524     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40528     ac_header_preproc=yes
40529     ;;
40530   no:yes:* )
40531     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40533     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40534 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40535     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40537     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40538 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40539     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40541     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40543     (
40544       cat <<\_ASBOX
40545 ## ----------------------------------------- ##
40546 ## Report this to the package-unused lists.  ##
40547 ## ----------------------------------------- ##
40548 _ASBOX
40549     ) |
40550       sed "s/^/$as_me: WARNING:     /" >&2
40551     ;;
40552 esac
40553 echo "$as_me:$LINENO: checking for $ac_header" >&5
40554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40556   echo $ECHO_N "(cached) $ECHO_C" >&6
40557 else
40558   eval "$as_ac_Header=\$ac_header_preproc"
40559 fi
40560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40562
40563 fi
40564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40565   cat >>confdefs.h <<_ACEOF
40566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40567 _ACEOF
40568
40569 fi
40570
40571 done
40572
40573
40574   echo "$as_me:$LINENO: checking for poll" >&5
40575 echo $ECHO_N "checking for poll... $ECHO_C" >&6
40576   if test "${glibcxx_cv_POLL+set}" = set; then
40577   echo $ECHO_N "(cached) $ECHO_C" >&6
40578 else
40579
40580     if test x$gcc_no_link = xyes; then
40581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40583    { (exit 1); exit 1; }; }
40584 fi
40585 cat >conftest.$ac_ext <<_ACEOF
40586 /* confdefs.h.  */
40587 _ACEOF
40588 cat confdefs.h >>conftest.$ac_ext
40589 cat >>conftest.$ac_ext <<_ACEOF
40590 /* end confdefs.h.  */
40591 #include <poll.h>
40592 int
40593 main ()
40594 {
40595 struct pollfd pfd[1];
40596        pfd[0].events = POLLIN;
40597        poll(pfd, 1, 0);
40598   ;
40599   return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40604   (eval $ac_link) 2>conftest.er1
40605   ac_status=$?
40606   grep -v '^ *+' conftest.er1 >conftest.err
40607   rm -f conftest.er1
40608   cat conftest.err >&5
40609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610   (exit $ac_status); } &&
40611          { ac_try='test -z "$ac_c_werror_flag"
40612                          || test ! -s conftest.err'
40613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614   (eval $ac_try) 2>&5
40615   ac_status=$?
40616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617   (exit $ac_status); }; } &&
40618          { ac_try='test -s conftest$ac_exeext'
40619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40620   (eval $ac_try) 2>&5
40621   ac_status=$?
40622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623   (exit $ac_status); }; }; then
40624   glibcxx_cv_POLL=yes
40625 else
40626   echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 glibcxx_cv_POLL=no
40630 fi
40631 rm -f conftest.err conftest.$ac_objext \
40632       conftest$ac_exeext conftest.$ac_ext
40633
40634 fi
40635
40636   if test $glibcxx_cv_POLL = yes; then
40637
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_POLL 1
40640 _ACEOF
40641
40642   fi
40643   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
40644 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
40645
40646
40647   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
40648 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
40649   if test "${glibcxx_cv_S_ISREG+set}" = set; then
40650   echo $ECHO_N "(cached) $ECHO_C" >&6
40651 else
40652
40653     if test x$gcc_no_link = xyes; then
40654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40656    { (exit 1); exit 1; }; }
40657 fi
40658 cat >conftest.$ac_ext <<_ACEOF
40659 /* confdefs.h.  */
40660 _ACEOF
40661 cat confdefs.h >>conftest.$ac_ext
40662 cat >>conftest.$ac_ext <<_ACEOF
40663 /* end confdefs.h.  */
40664 #include <sys/stat.h>
40665 int
40666 main ()
40667 {
40668 struct stat buffer;
40669        fstat(0, &buffer);
40670        S_ISREG(buffer.st_mode);
40671   ;
40672   return 0;
40673 }
40674 _ACEOF
40675 rm -f conftest.$ac_objext conftest$ac_exeext
40676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40677   (eval $ac_link) 2>conftest.er1
40678   ac_status=$?
40679   grep -v '^ *+' conftest.er1 >conftest.err
40680   rm -f conftest.er1
40681   cat conftest.err >&5
40682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40683   (exit $ac_status); } &&
40684          { ac_try='test -z "$ac_c_werror_flag"
40685                          || test ! -s conftest.err'
40686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40687   (eval $ac_try) 2>&5
40688   ac_status=$?
40689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690   (exit $ac_status); }; } &&
40691          { ac_try='test -s conftest$ac_exeext'
40692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40693   (eval $ac_try) 2>&5
40694   ac_status=$?
40695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696   (exit $ac_status); }; }; then
40697   glibcxx_cv_S_ISREG=yes
40698 else
40699   echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.$ac_ext >&5
40701
40702 glibcxx_cv_S_ISREG=no
40703 fi
40704 rm -f conftest.err conftest.$ac_objext \
40705       conftest$ac_exeext conftest.$ac_ext
40706
40707 fi
40708
40709   if test "${glibcxx_cv_S_IFREG+set}" = set; then
40710   echo $ECHO_N "(cached) $ECHO_C" >&6
40711 else
40712
40713     if test x$gcc_no_link = xyes; then
40714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40716    { (exit 1); exit 1; }; }
40717 fi
40718 cat >conftest.$ac_ext <<_ACEOF
40719 /* confdefs.h.  */
40720 _ACEOF
40721 cat confdefs.h >>conftest.$ac_ext
40722 cat >>conftest.$ac_ext <<_ACEOF
40723 /* end confdefs.h.  */
40724 #include <sys/stat.h>
40725 int
40726 main ()
40727 {
40728 struct stat buffer;
40729        fstat(0, &buffer);
40730        S_IFREG & buffer.st_mode;
40731   ;
40732   return 0;
40733 }
40734 _ACEOF
40735 rm -f conftest.$ac_objext conftest$ac_exeext
40736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40737   (eval $ac_link) 2>conftest.er1
40738   ac_status=$?
40739   grep -v '^ *+' conftest.er1 >conftest.err
40740   rm -f conftest.er1
40741   cat conftest.err >&5
40742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743   (exit $ac_status); } &&
40744          { ac_try='test -z "$ac_c_werror_flag"
40745                          || test ! -s conftest.err'
40746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747   (eval $ac_try) 2>&5
40748   ac_status=$?
40749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750   (exit $ac_status); }; } &&
40751          { ac_try='test -s conftest$ac_exeext'
40752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40753   (eval $ac_try) 2>&5
40754   ac_status=$?
40755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756   (exit $ac_status); }; }; then
40757   glibcxx_cv_S_IFREG=yes
40758 else
40759   echo "$as_me: failed program was:" >&5
40760 sed 's/^/| /' conftest.$ac_ext >&5
40761
40762 glibcxx_cv_S_IFREG=no
40763 fi
40764 rm -f conftest.err conftest.$ac_objext \
40765       conftest$ac_exeext conftest.$ac_ext
40766
40767 fi
40768
40769   res=no
40770   if test $glibcxx_cv_S_ISREG = yes; then
40771
40772 cat >>confdefs.h <<\_ACEOF
40773 #define HAVE_S_ISREG 1
40774 _ACEOF
40775
40776     res=S_ISREG
40777   elif test $glibcxx_cv_S_IFREG = yes; then
40778
40779 cat >>confdefs.h <<\_ACEOF
40780 #define HAVE_S_IFREG 1
40781 _ACEOF
40782
40783     res=S_IFREG
40784   fi
40785   echo "$as_me:$LINENO: result: $res" >&5
40786 echo "${ECHO_T}$res" >&6
40787
40788
40789   # For xsputn_2().
40790
40791 for ac_header in sys/uio.h
40792 do
40793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40795   echo "$as_me:$LINENO: checking for $ac_header" >&5
40796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40798   echo $ECHO_N "(cached) $ECHO_C" >&6
40799 fi
40800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40802 else
40803   # Is the header compilable?
40804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40806 cat >conftest.$ac_ext <<_ACEOF
40807 /* confdefs.h.  */
40808 _ACEOF
40809 cat confdefs.h >>conftest.$ac_ext
40810 cat >>conftest.$ac_ext <<_ACEOF
40811 /* end confdefs.h.  */
40812 $ac_includes_default
40813 #include <$ac_header>
40814 _ACEOF
40815 rm -f conftest.$ac_objext
40816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40817   (eval $ac_compile) 2>conftest.er1
40818   ac_status=$?
40819   grep -v '^ *+' conftest.er1 >conftest.err
40820   rm -f conftest.er1
40821   cat conftest.err >&5
40822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823   (exit $ac_status); } &&
40824          { ac_try='test -z "$ac_c_werror_flag"
40825                          || test ! -s conftest.err'
40826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827   (eval $ac_try) 2>&5
40828   ac_status=$?
40829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830   (exit $ac_status); }; } &&
40831          { ac_try='test -s conftest.$ac_objext'
40832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40833   (eval $ac_try) 2>&5
40834   ac_status=$?
40835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836   (exit $ac_status); }; }; then
40837   ac_header_compiler=yes
40838 else
40839   echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.$ac_ext >&5
40841
40842 ac_header_compiler=no
40843 fi
40844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40846 echo "${ECHO_T}$ac_header_compiler" >&6
40847
40848 # Is the header present?
40849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40851 cat >conftest.$ac_ext <<_ACEOF
40852 /* confdefs.h.  */
40853 _ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h.  */
40857 #include <$ac_header>
40858 _ACEOF
40859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40860   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40861   ac_status=$?
40862   grep -v '^ *+' conftest.er1 >conftest.err
40863   rm -f conftest.er1
40864   cat conftest.err >&5
40865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866   (exit $ac_status); } >/dev/null; then
40867   if test -s conftest.err; then
40868     ac_cpp_err=$ac_c_preproc_warn_flag
40869     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40870   else
40871     ac_cpp_err=
40872   fi
40873 else
40874   ac_cpp_err=yes
40875 fi
40876 if test -z "$ac_cpp_err"; then
40877   ac_header_preproc=yes
40878 else
40879   echo "$as_me: failed program was:" >&5
40880 sed 's/^/| /' conftest.$ac_ext >&5
40881
40882   ac_header_preproc=no
40883 fi
40884 rm -f conftest.err conftest.$ac_ext
40885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40886 echo "${ECHO_T}$ac_header_preproc" >&6
40887
40888 # So?  What about this header?
40889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40890   yes:no: )
40891     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40893     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40895     ac_header_preproc=yes
40896     ;;
40897   no:yes:* )
40898     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40900     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40901 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40902     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40904     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40905 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40908     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40910     (
40911       cat <<\_ASBOX
40912 ## ----------------------------------------- ##
40913 ## Report this to the package-unused lists.  ##
40914 ## ----------------------------------------- ##
40915 _ASBOX
40916     ) |
40917       sed "s/^/$as_me: WARNING:     /" >&2
40918     ;;
40919 esac
40920 echo "$as_me:$LINENO: checking for $ac_header" >&5
40921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40923   echo $ECHO_N "(cached) $ECHO_C" >&6
40924 else
40925   eval "$as_ac_Header=\$ac_header_preproc"
40926 fi
40927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40929
40930 fi
40931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40932   cat >>confdefs.h <<_ACEOF
40933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40934 _ACEOF
40935
40936 fi
40937
40938 done
40939
40940
40941   echo "$as_me:$LINENO: checking for writev" >&5
40942 echo $ECHO_N "checking for writev... $ECHO_C" >&6
40943   if test "${glibcxx_cv_WRITEV+set}" = set; then
40944   echo $ECHO_N "(cached) $ECHO_C" >&6
40945 else
40946
40947     if test x$gcc_no_link = xyes; then
40948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40950    { (exit 1); exit 1; }; }
40951 fi
40952 cat >conftest.$ac_ext <<_ACEOF
40953 /* confdefs.h.  */
40954 _ACEOF
40955 cat confdefs.h >>conftest.$ac_ext
40956 cat >>conftest.$ac_ext <<_ACEOF
40957 /* end confdefs.h.  */
40958 #include <sys/uio.h>
40959 int
40960 main ()
40961 {
40962 struct iovec iov[2];
40963        writev(0, iov, 0);
40964   ;
40965   return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40970   (eval $ac_link) 2>conftest.er1
40971   ac_status=$?
40972   grep -v '^ *+' conftest.er1 >conftest.err
40973   rm -f conftest.er1
40974   cat conftest.err >&5
40975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976   (exit $ac_status); } &&
40977          { ac_try='test -z "$ac_c_werror_flag"
40978                          || test ! -s conftest.err'
40979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980   (eval $ac_try) 2>&5
40981   ac_status=$?
40982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983   (exit $ac_status); }; } &&
40984          { ac_try='test -s conftest$ac_exeext'
40985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40986   (eval $ac_try) 2>&5
40987   ac_status=$?
40988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989   (exit $ac_status); }; }; then
40990   glibcxx_cv_WRITEV=yes
40991 else
40992   echo "$as_me: failed program was:" >&5
40993 sed 's/^/| /' conftest.$ac_ext >&5
40994
40995 glibcxx_cv_WRITEV=no
40996 fi
40997 rm -f conftest.err conftest.$ac_objext \
40998       conftest$ac_exeext conftest.$ac_ext
40999
41000 fi
41001
41002   if test $glibcxx_cv_WRITEV = yes; then
41003
41004 cat >>confdefs.h <<\_ACEOF
41005 #define HAVE_WRITEV 1
41006 _ACEOF
41007
41008   fi
41009   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
41010 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
41011
41012
41013   # For LFS support.
41014
41015
41016
41017   ac_ext=cc
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022
41023   ac_save_CXXFLAGS="$CXXFLAGS"
41024   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41025   echo "$as_me:$LINENO: checking for LFS support" >&5
41026 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
41027   if test "${glibcxx_cv_LFS+set}" = set; then
41028   echo $ECHO_N "(cached) $ECHO_C" >&6
41029 else
41030
41031     if test x$gcc_no_link = xyes; then
41032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41034    { (exit 1); exit 1; }; }
41035 fi
41036 cat >conftest.$ac_ext <<_ACEOF
41037 /* confdefs.h.  */
41038 _ACEOF
41039 cat confdefs.h >>conftest.$ac_ext
41040 cat >>conftest.$ac_ext <<_ACEOF
41041 /* end confdefs.h.  */
41042 #include <unistd.h>
41043        #include <stdio.h>
41044        #include <sys/stat.h>
41045
41046 int
41047 main ()
41048 {
41049 FILE* fp;
41050        fopen64("t", "w");
41051        fseeko64(fp, 0, SEEK_CUR);
41052        ftello64(fp);
41053        lseek64(1, 0, SEEK_CUR);
41054        struct stat64 buf;
41055        fstat64(1, &buf);
41056   ;
41057   return 0;
41058 }
41059 _ACEOF
41060 rm -f conftest.$ac_objext conftest$ac_exeext
41061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41062   (eval $ac_link) 2>conftest.er1
41063   ac_status=$?
41064   grep -v '^ *+' conftest.er1 >conftest.err
41065   rm -f conftest.er1
41066   cat conftest.err >&5
41067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068   (exit $ac_status); } &&
41069          { ac_try='test -z "$ac_cxx_werror_flag"
41070                          || test ! -s conftest.err'
41071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41072   (eval $ac_try) 2>&5
41073   ac_status=$?
41074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41075   (exit $ac_status); }; } &&
41076          { ac_try='test -s conftest$ac_exeext'
41077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41078   (eval $ac_try) 2>&5
41079   ac_status=$?
41080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41081   (exit $ac_status); }; }; then
41082   glibcxx_cv_LFS=yes
41083 else
41084   echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.$ac_ext >&5
41086
41087 glibcxx_cv_LFS=no
41088 fi
41089 rm -f conftest.err conftest.$ac_objext \
41090       conftest$ac_exeext conftest.$ac_ext
41091
41092 fi
41093
41094   if test $glibcxx_cv_LFS = yes; then
41095
41096 cat >>confdefs.h <<\_ACEOF
41097 #define _GLIBCXX_USE_LFS 1
41098 _ACEOF
41099
41100   fi
41101   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
41102 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
41103   CXXFLAGS="$ac_save_CXXFLAGS"
41104   ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41109
41110
41111
41112   # For dev/random and dev/urandom for TR1.
41113
41114
41115   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
41116 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41117   if test "${glibcxx_cv_random_tr1+set}" = set; then
41118   echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41120
41121   if test "$cross_compiling" = yes; then
41122   glibcxx_cv_random_tr1=no
41123 else
41124   cat >conftest.$ac_ext <<_ACEOF
41125 /* confdefs.h.  */
41126 _ACEOF
41127 cat confdefs.h >>conftest.$ac_ext
41128 cat >>conftest.$ac_ext <<_ACEOF
41129 /* end confdefs.h.  */
41130 #include <stdio.h>
41131               int main()
41132               {
41133                 return !(fopen("/dev/random", "r")
41134                          && fopen("/dev/urandom", "r"));
41135               }
41136
41137 _ACEOF
41138 rm -f conftest$ac_exeext
41139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41140   (eval $ac_link) 2>&5
41141   ac_status=$?
41142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41145   (eval $ac_try) 2>&5
41146   ac_status=$?
41147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148   (exit $ac_status); }; }; then
41149   glibcxx_cv_random_tr1=yes
41150 else
41151   echo "$as_me: program exited with status $ac_status" >&5
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.$ac_ext >&5
41154
41155 ( exit $ac_status )
41156 glibcxx_cv_random_tr1=no
41157 fi
41158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41159 fi
41160
41161 fi
41162
41163   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41164 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41165   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41166
41167 cat >>confdefs.h <<\_ACEOF
41168 #define _GLIBCXX_USE_RANDOM_TR1 1
41169 _ACEOF
41170
41171   fi
41172
41173
41174
41175   # For clock_gettime support.
41176
41177
41178
41179
41180   ac_ext=cc
41181 ac_cpp='$CXXCPP $CPPFLAGS'
41182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41185
41186   ac_save_CXXFLAGS="$CXXFLAGS"
41187   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41188   ac_save_LIBS="$LIBS"
41189
41190   echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
41191 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
41192 if test "${ac_cv_search_clock_gettime+set}" = set; then
41193   echo $ECHO_N "(cached) $ECHO_C" >&6
41194 else
41195   ac_func_search_save_LIBS=$LIBS
41196 ac_cv_search_clock_gettime=no
41197 if test x$gcc_no_link = xyes; then
41198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41200    { (exit 1); exit 1; }; }
41201 fi
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h.  */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h.  */
41208
41209 /* Override any gcc2 internal prototype to avoid an error.  */
41210 #ifdef __cplusplus
41211 extern "C"
41212 #endif
41213 /* We use char because int might match the return type of a gcc2
41214    builtin and then its argument prototype would still apply.  */
41215 char clock_gettime ();
41216 int
41217 main ()
41218 {
41219 clock_gettime ();
41220   ;
41221   return 0;
41222 }
41223 _ACEOF
41224 rm -f conftest.$ac_objext conftest$ac_exeext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41226   (eval $ac_link) 2>conftest.er1
41227   ac_status=$?
41228   grep -v '^ *+' conftest.er1 >conftest.err
41229   rm -f conftest.er1
41230   cat conftest.err >&5
41231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232   (exit $ac_status); } &&
41233          { ac_try='test -z "$ac_cxx_werror_flag"
41234                          || test ! -s conftest.err'
41235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41236   (eval $ac_try) 2>&5
41237   ac_status=$?
41238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239   (exit $ac_status); }; } &&
41240          { ac_try='test -s conftest$ac_exeext'
41241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41242   (eval $ac_try) 2>&5
41243   ac_status=$?
41244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245   (exit $ac_status); }; }; then
41246   ac_cv_search_clock_gettime="none required"
41247 else
41248   echo "$as_me: failed program was:" >&5
41249 sed 's/^/| /' conftest.$ac_ext >&5
41250
41251 fi
41252 rm -f conftest.err conftest.$ac_objext \
41253       conftest$ac_exeext conftest.$ac_ext
41254 if test "$ac_cv_search_clock_gettime" = no; then
41255   for ac_lib in posix4; do
41256     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
41257     if test x$gcc_no_link = xyes; then
41258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41260    { (exit 1); exit 1; }; }
41261 fi
41262 cat >conftest.$ac_ext <<_ACEOF
41263 /* confdefs.h.  */
41264 _ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h.  */
41268
41269 /* Override any gcc2 internal prototype to avoid an error.  */
41270 #ifdef __cplusplus
41271 extern "C"
41272 #endif
41273 /* We use char because int might match the return type of a gcc2
41274    builtin and then its argument prototype would still apply.  */
41275 char clock_gettime ();
41276 int
41277 main ()
41278 {
41279 clock_gettime ();
41280   ;
41281   return 0;
41282 }
41283 _ACEOF
41284 rm -f conftest.$ac_objext conftest$ac_exeext
41285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41286   (eval $ac_link) 2>conftest.er1
41287   ac_status=$?
41288   grep -v '^ *+' conftest.er1 >conftest.err
41289   rm -f conftest.er1
41290   cat conftest.err >&5
41291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292   (exit $ac_status); } &&
41293          { ac_try='test -z "$ac_cxx_werror_flag"
41294                          || test ! -s conftest.err'
41295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296   (eval $ac_try) 2>&5
41297   ac_status=$?
41298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299   (exit $ac_status); }; } &&
41300          { ac_try='test -s conftest$ac_exeext'
41301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302   (eval $ac_try) 2>&5
41303   ac_status=$?
41304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305   (exit $ac_status); }; }; then
41306   ac_cv_search_clock_gettime="-l$ac_lib"
41307 break
41308 else
41309   echo "$as_me: failed program was:" >&5
41310 sed 's/^/| /' conftest.$ac_ext >&5
41311
41312 fi
41313 rm -f conftest.err conftest.$ac_objext \
41314       conftest$ac_exeext conftest.$ac_ext
41315   done
41316 fi
41317 LIBS=$ac_func_search_save_LIBS
41318 fi
41319 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
41320 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
41321 if test "$ac_cv_search_clock_gettime" != no; then
41322   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
41323
41324 fi
41325
41326
41327   # Link to -lposix4.
41328   case "$ac_cv_search_clock_gettime" in
41329     -lposix4*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
41330   esac
41331
41332
41333 for ac_header in unistd.h
41334 do
41335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41337   echo "$as_me:$LINENO: checking for $ac_header" >&5
41338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41340   echo $ECHO_N "(cached) $ECHO_C" >&6
41341 fi
41342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41344 else
41345   # Is the header compilable?
41346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41347 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
41355 #include <$ac_header>
41356 _ACEOF
41357 rm -f conftest.$ac_objext
41358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41359   (eval $ac_compile) 2>conftest.er1
41360   ac_status=$?
41361   grep -v '^ *+' conftest.er1 >conftest.err
41362   rm -f conftest.er1
41363   cat conftest.err >&5
41364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365   (exit $ac_status); } &&
41366          { ac_try='test -z "$ac_cxx_werror_flag"
41367                          || test ! -s conftest.err'
41368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41369   (eval $ac_try) 2>&5
41370   ac_status=$?
41371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41372   (exit $ac_status); }; } &&
41373          { ac_try='test -s conftest.$ac_objext'
41374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41375   (eval $ac_try) 2>&5
41376   ac_status=$?
41377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378   (exit $ac_status); }; }; then
41379   ac_header_compiler=yes
41380 else
41381   echo "$as_me: failed program was:" >&5
41382 sed 's/^/| /' conftest.$ac_ext >&5
41383
41384 ac_header_compiler=no
41385 fi
41386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41388 echo "${ECHO_T}$ac_header_compiler" >&6
41389
41390 # Is the header present?
41391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41393 cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h.  */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h.  */
41399 #include <$ac_header>
41400 _ACEOF
41401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41402   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41403   ac_status=$?
41404   grep -v '^ *+' conftest.er1 >conftest.err
41405   rm -f conftest.er1
41406   cat conftest.err >&5
41407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408   (exit $ac_status); } >/dev/null; then
41409   if test -s conftest.err; then
41410     ac_cpp_err=$ac_cxx_preproc_warn_flag
41411     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41412   else
41413     ac_cpp_err=
41414   fi
41415 else
41416   ac_cpp_err=yes
41417 fi
41418 if test -z "$ac_cpp_err"; then
41419   ac_header_preproc=yes
41420 else
41421   echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41423
41424   ac_header_preproc=no
41425 fi
41426 rm -f conftest.err conftest.$ac_ext
41427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41428 echo "${ECHO_T}$ac_header_preproc" >&6
41429
41430 # So?  What about this header?
41431 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41432   yes:no: )
41433     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41435     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41437     ac_header_preproc=yes
41438     ;;
41439   no:yes:* )
41440     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41442     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41443 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41444     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41446     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41447 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41448     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41450     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41452     (
41453       cat <<\_ASBOX
41454 ## ----------------------------------------- ##
41455 ## Report this to the package-unused lists.  ##
41456 ## ----------------------------------------- ##
41457 _ASBOX
41458     ) |
41459       sed "s/^/$as_me: WARNING:     /" >&2
41460     ;;
41461 esac
41462 echo "$as_me:$LINENO: checking for $ac_header" >&5
41463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41465   echo $ECHO_N "(cached) $ECHO_C" >&6
41466 else
41467   eval "$as_ac_Header=\$ac_header_preproc"
41468 fi
41469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41471
41472 fi
41473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41474   cat >>confdefs.h <<_ACEOF
41475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41476 _ACEOF
41477  ac_has_unistd_h=yes
41478 else
41479   ac_has_unistd_h=no
41480 fi
41481
41482 done
41483
41484
41485   ac_has_clock_monotonic=no;
41486   ac_has_clock_realtime=no;
41487   if test x"$ac_has_unistd_h" = x"yes"; then
41488     echo "$as_me:$LINENO: checking for monotonic clock" >&5
41489 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
41490     if test x$gcc_no_link = xyes; then
41491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41493    { (exit 1); exit 1; }; }
41494 fi
41495 cat >conftest.$ac_ext <<_ACEOF
41496 /* confdefs.h.  */
41497 _ACEOF
41498 cat confdefs.h >>conftest.$ac_ext
41499 cat >>conftest.$ac_ext <<_ACEOF
41500 /* end confdefs.h.  */
41501 #include <unistd.h>
41502        #include <time.h>
41503
41504 int
41505 main ()
41506 {
41507 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
41508         timespec tp;
41509        #endif
41510         clock_gettime(CLOCK_MONOTONIC, &tp);
41511
41512   ;
41513   return 0;
41514 }
41515 _ACEOF
41516 rm -f conftest.$ac_objext conftest$ac_exeext
41517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41518   (eval $ac_link) 2>conftest.er1
41519   ac_status=$?
41520   grep -v '^ *+' conftest.er1 >conftest.err
41521   rm -f conftest.er1
41522   cat conftest.err >&5
41523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524   (exit $ac_status); } &&
41525          { ac_try='test -z "$ac_cxx_werror_flag"
41526                          || test ! -s conftest.err'
41527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41528   (eval $ac_try) 2>&5
41529   ac_status=$?
41530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531   (exit $ac_status); }; } &&
41532          { ac_try='test -s conftest$ac_exeext'
41533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41534   (eval $ac_try) 2>&5
41535   ac_status=$?
41536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537   (exit $ac_status); }; }; then
41538   ac_has_clock_monotonic=yes
41539 else
41540   echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41542
41543 ac_has_clock_monotonic=no
41544 fi
41545 rm -f conftest.err conftest.$ac_objext \
41546       conftest$ac_exeext conftest.$ac_ext
41547
41548     echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
41549 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
41550
41551     echo "$as_me:$LINENO: checking for realtime clock" >&5
41552 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
41553     if test x$gcc_no_link = xyes; then
41554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41556    { (exit 1); exit 1; }; }
41557 fi
41558 cat >conftest.$ac_ext <<_ACEOF
41559 /* confdefs.h.  */
41560 _ACEOF
41561 cat confdefs.h >>conftest.$ac_ext
41562 cat >>conftest.$ac_ext <<_ACEOF
41563 /* end confdefs.h.  */
41564 #include <unistd.h>
41565        #include <time.h>
41566
41567 int
41568 main ()
41569 {
41570 #if _POSIX_TIMERS > 0
41571         timespec tp;
41572        #endif
41573         clock_gettime(CLOCK_REALTIME, &tp);
41574
41575   ;
41576   return 0;
41577 }
41578 _ACEOF
41579 rm -f conftest.$ac_objext conftest$ac_exeext
41580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41581   (eval $ac_link) 2>conftest.er1
41582   ac_status=$?
41583   grep -v '^ *+' conftest.er1 >conftest.err
41584   rm -f conftest.er1
41585   cat conftest.err >&5
41586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587   (exit $ac_status); } &&
41588          { ac_try='test -z "$ac_cxx_werror_flag"
41589                          || test ! -s conftest.err'
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); }; } &&
41595          { ac_try='test -s conftest$ac_exeext'
41596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41597   (eval $ac_try) 2>&5
41598   ac_status=$?
41599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600   (exit $ac_status); }; }; then
41601   ac_has_clock_realtime=yes
41602 else
41603   echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41605
41606 ac_has_clock_realtime=no
41607 fi
41608 rm -f conftest.err conftest.$ac_objext \
41609       conftest$ac_exeext conftest.$ac_ext
41610
41611     echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
41612 echo "${ECHO_T}$ac_has_clock_realtime" >&6
41613   fi
41614
41615   if test x"$ac_has_clock_monotonic" = x"yes"; then
41616
41617 cat >>confdefs.h <<\_ACEOF
41618 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
41619 _ACEOF
41620
41621   fi
41622
41623   if test x"$ac_has_clock_realtime" = x"yes"; then
41624
41625 cat >>confdefs.h <<\_ACEOF
41626 #define _GLIBCXX_USE_CLOCK_REALTIME 1
41627 _ACEOF
41628
41629   fi
41630
41631
41632
41633   CXXFLAGS="$ac_save_CXXFLAGS"
41634   LIBS="$ac_save_LIBS"
41635   ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642
41643   # For gettimeofday support.
41644
41645
41646
41647
41648   ac_ext=cc
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654   ac_save_CXXFLAGS="$CXXFLAGS"
41655   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41656
41657   ac_has_gettimeofday=no;
41658
41659 for ac_header in sys/time.h
41660 do
41661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41663   echo "$as_me:$LINENO: checking for $ac_header" >&5
41664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41666   echo $ECHO_N "(cached) $ECHO_C" >&6
41667 fi
41668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41670 else
41671   # Is the header compilable?
41672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41674 cat >conftest.$ac_ext <<_ACEOF
41675 /* confdefs.h.  */
41676 _ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h.  */
41680 $ac_includes_default
41681 #include <$ac_header>
41682 _ACEOF
41683 rm -f conftest.$ac_objext
41684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41685   (eval $ac_compile) 2>conftest.er1
41686   ac_status=$?
41687   grep -v '^ *+' conftest.er1 >conftest.err
41688   rm -f conftest.er1
41689   cat conftest.err >&5
41690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691   (exit $ac_status); } &&
41692          { ac_try='test -z "$ac_cxx_werror_flag"
41693                          || test ! -s conftest.err'
41694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41695   (eval $ac_try) 2>&5
41696   ac_status=$?
41697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698   (exit $ac_status); }; } &&
41699          { ac_try='test -s conftest.$ac_objext'
41700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41701   (eval $ac_try) 2>&5
41702   ac_status=$?
41703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704   (exit $ac_status); }; }; then
41705   ac_header_compiler=yes
41706 else
41707   echo "$as_me: failed program was:" >&5
41708 sed 's/^/| /' conftest.$ac_ext >&5
41709
41710 ac_header_compiler=no
41711 fi
41712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41714 echo "${ECHO_T}$ac_header_compiler" >&6
41715
41716 # Is the header present?
41717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h.  */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h.  */
41725 #include <$ac_header>
41726 _ACEOF
41727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41728   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41729   ac_status=$?
41730   grep -v '^ *+' conftest.er1 >conftest.err
41731   rm -f conftest.er1
41732   cat conftest.err >&5
41733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734   (exit $ac_status); } >/dev/null; then
41735   if test -s conftest.err; then
41736     ac_cpp_err=$ac_cxx_preproc_warn_flag
41737     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41738   else
41739     ac_cpp_err=
41740   fi
41741 else
41742   ac_cpp_err=yes
41743 fi
41744 if test -z "$ac_cpp_err"; then
41745   ac_header_preproc=yes
41746 else
41747   echo "$as_me: failed program was:" >&5
41748 sed 's/^/| /' conftest.$ac_ext >&5
41749
41750   ac_header_preproc=no
41751 fi
41752 rm -f conftest.err conftest.$ac_ext
41753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41754 echo "${ECHO_T}$ac_header_preproc" >&6
41755
41756 # So?  What about this header?
41757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41758   yes:no: )
41759     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41761     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41763     ac_header_preproc=yes
41764     ;;
41765   no:yes:* )
41766     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41768     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41769 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41770     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41772     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41773 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41774     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41776     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41778     (
41779       cat <<\_ASBOX
41780 ## ----------------------------------------- ##
41781 ## Report this to the package-unused lists.  ##
41782 ## ----------------------------------------- ##
41783 _ASBOX
41784     ) |
41785       sed "s/^/$as_me: WARNING:     /" >&2
41786     ;;
41787 esac
41788 echo "$as_me:$LINENO: checking for $ac_header" >&5
41789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41791   echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793   eval "$as_ac_Header=\$ac_header_preproc"
41794 fi
41795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41797
41798 fi
41799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41800   cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41802 _ACEOF
41803  ac_has_sys_time_h=yes
41804 else
41805   ac_has_sys_time_h=no
41806 fi
41807
41808 done
41809
41810   if test x"$ac_has_sys_time_h" = x"yes"; then
41811     echo "$as_me:$LINENO: checking for gettimeofday" >&5
41812 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
41813     if test x$gcc_no_link = xyes; then
41814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41816    { (exit 1); exit 1; }; }
41817 fi
41818 cat >conftest.$ac_ext <<_ACEOF
41819 /* confdefs.h.  */
41820 _ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h.  */
41824 #include <sys/time.h>
41825 int
41826 main ()
41827 {
41828 timeval tv; gettimeofday(&tv, 0);
41829   ;
41830   return 0;
41831 }
41832 _ACEOF
41833 rm -f conftest.$ac_objext conftest$ac_exeext
41834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41835   (eval $ac_link) 2>conftest.er1
41836   ac_status=$?
41837   grep -v '^ *+' conftest.er1 >conftest.err
41838   rm -f conftest.er1
41839   cat conftest.err >&5
41840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841   (exit $ac_status); } &&
41842          { ac_try='test -z "$ac_cxx_werror_flag"
41843                          || test ! -s conftest.err'
41844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41845   (eval $ac_try) 2>&5
41846   ac_status=$?
41847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848   (exit $ac_status); }; } &&
41849          { ac_try='test -s conftest$ac_exeext'
41850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851   (eval $ac_try) 2>&5
41852   ac_status=$?
41853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854   (exit $ac_status); }; }; then
41855   ac_has_gettimeofday=yes
41856 else
41857   echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41859
41860 ac_has_gettimeofday=no
41861 fi
41862 rm -f conftest.err conftest.$ac_objext \
41863       conftest$ac_exeext conftest.$ac_ext
41864
41865     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
41866 echo "${ECHO_T}$ac_has_gettimeofday" >&6
41867   fi
41868
41869   if test x"$ac_has_gettimeofday" = x"yes"; then
41870
41871 cat >>confdefs.h <<\_ACEOF
41872 #define _GLIBCXX_USE_GETTIMEOFDAY 1
41873 _ACEOF
41874
41875   fi
41876
41877   CXXFLAGS="$ac_save_CXXFLAGS"
41878   ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883
41884
41885
41886   # For TLS support.
41887
41888    # Check whether --enable-tls or --disable-tls was given.
41889 if test "${enable_tls+set}" = set; then
41890   enableval="$enable_tls"
41891
41892       case "$enableval" in
41893        yes|no) ;;
41894        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41895 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41896    { (exit 1); exit 1; }; } ;;
41897       esac
41898
41899 else
41900   enable_tls=yes
41901 fi;
41902
41903   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41904 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41905 if test "${gcc_cv_have_tls+set}" = set; then
41906   echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908
41909     if test "$cross_compiling" = yes; then
41910                 if test x$gcc_no_link = xyes; then
41911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41913    { (exit 1); exit 1; }; }
41914 fi
41915 cat >conftest.$ac_ext <<_ACEOF
41916 __thread int a; int b; int main() { return a = b; }
41917 _ACEOF
41918 rm -f conftest.$ac_objext conftest$ac_exeext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41920   (eval $ac_link) 2>conftest.er1
41921   ac_status=$?
41922   grep -v '^ *+' conftest.er1 >conftest.err
41923   rm -f conftest.er1
41924   cat conftest.err >&5
41925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926   (exit $ac_status); } &&
41927          { ac_try='test -z "$ac_c_werror_flag"
41928                          || test ! -s conftest.err'
41929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41930   (eval $ac_try) 2>&5
41931   ac_status=$?
41932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933   (exit $ac_status); }; } &&
41934          { ac_try='test -s conftest$ac_exeext'
41935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41936   (eval $ac_try) 2>&5
41937   ac_status=$?
41938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939   (exit $ac_status); }; }; then
41940   gcc_cv_have_tls=yes
41941 else
41942   echo "$as_me: failed program was:" >&5
41943 sed 's/^/| /' conftest.$ac_ext >&5
41944
41945 gcc_cv_have_tls=no
41946 fi
41947 rm -f conftest.err conftest.$ac_objext \
41948       conftest$ac_exeext conftest.$ac_ext
41949
41950
41951 else
41952   cat >conftest.$ac_ext <<_ACEOF
41953 __thread int a; int b; int main() { return a = b; }
41954 _ACEOF
41955 rm -f conftest$ac_exeext
41956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41957   (eval $ac_link) 2>&5
41958   ac_status=$?
41959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41962   (eval $ac_try) 2>&5
41963   ac_status=$?
41964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965   (exit $ac_status); }; }; then
41966                       chktls_save_LDFLAGS="$LDFLAGS"
41967       LDFLAGS="-static $LDFLAGS"
41968       if test x$gcc_no_link = xyes; then
41969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41971    { (exit 1); exit 1; }; }
41972 fi
41973 cat >conftest.$ac_ext <<_ACEOF
41974 int main() { return 0; }
41975 _ACEOF
41976 rm -f conftest.$ac_objext conftest$ac_exeext
41977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41978   (eval $ac_link) 2>conftest.er1
41979   ac_status=$?
41980   grep -v '^ *+' conftest.er1 >conftest.err
41981   rm -f conftest.er1
41982   cat conftest.err >&5
41983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984   (exit $ac_status); } &&
41985          { ac_try='test -z "$ac_c_werror_flag"
41986                          || test ! -s conftest.err'
41987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41988   (eval $ac_try) 2>&5
41989   ac_status=$?
41990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991   (exit $ac_status); }; } &&
41992          { ac_try='test -s conftest$ac_exeext'
41993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41994   (eval $ac_try) 2>&5
41995   ac_status=$?
41996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997   (exit $ac_status); }; }; then
41998   if test "$cross_compiling" = yes; then
41999   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
42000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
42001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42002 See \`config.log' for more details." >&5
42003 echo "$as_me: error: cannot run test program while cross compiling
42004 See \`config.log' for more details." >&2;}
42005    { (exit 1); exit 1; }; }; }
42006 else
42007   cat >conftest.$ac_ext <<_ACEOF
42008 __thread int a; int b; int main() { return a = b; }
42009 _ACEOF
42010 rm -f conftest$ac_exeext
42011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42012   (eval $ac_link) 2>&5
42013   ac_status=$?
42014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42017   (eval $ac_try) 2>&5
42018   ac_status=$?
42019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020   (exit $ac_status); }; }; then
42021   gcc_cv_have_tls=yes
42022 else
42023   echo "$as_me: program exited with status $ac_status" >&5
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42026
42027 ( exit $ac_status )
42028 gcc_cv_have_tls=no
42029 fi
42030 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42031 fi
42032 else
42033   echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42035
42036 gcc_cv_have_tls=yes
42037 fi
42038 rm -f conftest.err conftest.$ac_objext \
42039       conftest$ac_exeext conftest.$ac_ext
42040       LDFLAGS="$chktls_save_LDFLAGS"
42041       if test $gcc_cv_have_tls = yes; then
42042                                                 chktls_save_CFLAGS="$CFLAGS"
42043         thread_CFLAGS=failed
42044         for flag in '' '-pthread' '-lpthread'; do
42045           CFLAGS="$flag $chktls_save_CFLAGS"
42046           if test x$gcc_no_link = xyes; then
42047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42049    { (exit 1); exit 1; }; }
42050 fi
42051 cat >conftest.$ac_ext <<_ACEOF
42052 /* confdefs.h.  */
42053 _ACEOF
42054 cat confdefs.h >>conftest.$ac_ext
42055 cat >>conftest.$ac_ext <<_ACEOF
42056 /* end confdefs.h.  */
42057 #include <pthread.h>
42058                 void *g(void *d) { return NULL; }
42059 int
42060 main ()
42061 {
42062 pthread_t t; pthread_create(&t,NULL,g,NULL);
42063   ;
42064   return 0;
42065 }
42066 _ACEOF
42067 rm -f conftest.$ac_objext conftest$ac_exeext
42068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42069   (eval $ac_link) 2>conftest.er1
42070   ac_status=$?
42071   grep -v '^ *+' conftest.er1 >conftest.err
42072   rm -f conftest.er1
42073   cat conftest.err >&5
42074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075   (exit $ac_status); } &&
42076          { ac_try='test -z "$ac_c_werror_flag"
42077                          || test ! -s conftest.err'
42078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42079   (eval $ac_try) 2>&5
42080   ac_status=$?
42081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082   (exit $ac_status); }; } &&
42083          { ac_try='test -s conftest$ac_exeext'
42084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42085   (eval $ac_try) 2>&5
42086   ac_status=$?
42087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088   (exit $ac_status); }; }; then
42089   thread_CFLAGS="$flag"
42090 else
42091   echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.$ac_ext >&5
42093
42094 fi
42095 rm -f conftest.err conftest.$ac_objext \
42096       conftest$ac_exeext conftest.$ac_ext
42097           if test "X$thread_CFLAGS" != Xfailed; then
42098             break
42099           fi
42100         done
42101         CFLAGS="$chktls_save_CFLAGS"
42102         if test "X$thread_CFLAGS" != Xfailed; then
42103           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
42104           if test "$cross_compiling" = yes; then
42105   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
42106 echo "$as_me: error: in \`$ac_pwd':" >&2;}
42107 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42108 See \`config.log' for more details." >&5
42109 echo "$as_me: error: cannot run test program while cross compiling
42110 See \`config.log' for more details." >&2;}
42111    { (exit 1); exit 1; }; }; }
42112 else
42113   cat >conftest.$ac_ext <<_ACEOF
42114 /* confdefs.h.  */
42115 _ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h.  */
42119 #include <pthread.h>
42120                 __thread int a;
42121                 static int *a_in_other_thread;
42122                 static void *
42123                 thread_func (void *arg)
42124                 {
42125                   a_in_other_thread = &a;
42126                   return (void *)0;
42127                 }
42128 int
42129 main ()
42130 {
42131 pthread_t thread;
42132                 void *thread_retval;
42133                 int *a_in_main_thread;
42134                 if (pthread_create (&thread, (pthread_attr_t *)0,
42135                                     thread_func, (void *)0))
42136                   return 0;
42137                 a_in_main_thread = &a;
42138                 if (pthread_join (thread, &thread_retval))
42139                   return 0;
42140                 return (a_in_other_thread == a_in_main_thread);
42141   ;
42142   return 0;
42143 }
42144 _ACEOF
42145 rm -f conftest$ac_exeext
42146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42147   (eval $ac_link) 2>&5
42148   ac_status=$?
42149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
42156   gcc_cv_have_tls=yes
42157 else
42158   echo "$as_me: program exited with status $ac_status" >&5
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.$ac_ext >&5
42161
42162 ( exit $ac_status )
42163 gcc_cv_have_tls=no
42164 fi
42165 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42166 fi
42167           CFLAGS="$chktls_save_CFLAGS"
42168         fi
42169       fi
42170 else
42171   echo "$as_me: program exited with status $ac_status" >&5
42172 echo "$as_me: failed program was:" >&5
42173 sed 's/^/| /' conftest.$ac_ext >&5
42174
42175 ( exit $ac_status )
42176 gcc_cv_have_tls=no
42177 fi
42178 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42179 fi
42180 fi
42181 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
42182 echo "${ECHO_T}$gcc_cv_have_tls" >&6
42183   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
42184
42185 cat >>confdefs.h <<\_ACEOF
42186 #define HAVE_TLS 1
42187 _ACEOF
42188
42189   fi
42190
42191   # For _Unwind_GetIPInfo.
42192
42193
42194
42195   ac_ext=cc
42196 ac_cpp='$CXXCPP $CPPFLAGS'
42197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42200
42201   ac_save_CXXFLAGS="$CXXFLAGS"
42202   CXXFLAGS="$CXXFLAGS -fno-exceptions"
42203   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
42204 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
42205   if test "${gcc_cv_getipinfo+set}" = set; then
42206   echo $ECHO_N "(cached) $ECHO_C" >&6
42207 else
42208
42209   if test x$gcc_no_link = xyes; then
42210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42212    { (exit 1); exit 1; }; }
42213 fi
42214 cat >conftest.$ac_ext <<_ACEOF
42215 /* confdefs.h.  */
42216 _ACEOF
42217 cat confdefs.h >>conftest.$ac_ext
42218 cat >>conftest.$ac_ext <<_ACEOF
42219 /* end confdefs.h.  */
42220 extern "C" { extern void _Unwind_GetIPInfo(); }
42221 int
42222 main ()
42223 {
42224 _Unwind_GetIPInfo();
42225   ;
42226   return 0;
42227 }
42228 _ACEOF
42229 rm -f conftest.$ac_objext conftest$ac_exeext
42230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42231   (eval $ac_link) 2>conftest.er1
42232   ac_status=$?
42233   grep -v '^ *+' conftest.er1 >conftest.err
42234   rm -f conftest.er1
42235   cat conftest.err >&5
42236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237   (exit $ac_status); } &&
42238          { ac_try='test -z "$ac_cxx_werror_flag"
42239                          || test ! -s conftest.err'
42240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241   (eval $ac_try) 2>&5
42242   ac_status=$?
42243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244   (exit $ac_status); }; } &&
42245          { ac_try='test -s conftest$ac_exeext'
42246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42247   (eval $ac_try) 2>&5
42248   ac_status=$?
42249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250   (exit $ac_status); }; }; then
42251   gcc_cv_getipinfo=yes
42252 else
42253   echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.$ac_ext >&5
42255
42256 gcc_cv_getipinfo=no
42257 fi
42258 rm -f conftest.err conftest.$ac_objext \
42259       conftest$ac_exeext conftest.$ac_ext
42260
42261 fi
42262
42263   if test $gcc_cv_getipinfo = yes; then
42264
42265 cat >>confdefs.h <<\_ACEOF
42266 #define HAVE_GETIPINFO 1
42267 _ACEOF
42268
42269   fi
42270   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
42271 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
42272   CXXFLAGS="$ac_save_CXXFLAGS"
42273   ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280
42281
42282   if test "${ac_cv_header_locale_h+set}" = set; then
42283   echo "$as_me:$LINENO: checking for locale.h" >&5
42284 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42285 if test "${ac_cv_header_locale_h+set}" = set; then
42286   echo $ECHO_N "(cached) $ECHO_C" >&6
42287 fi
42288 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42289 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42290 else
42291   # Is the header compilable?
42292 echo "$as_me:$LINENO: checking locale.h usability" >&5
42293 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
42294 cat >conftest.$ac_ext <<_ACEOF
42295 /* confdefs.h.  */
42296 _ACEOF
42297 cat confdefs.h >>conftest.$ac_ext
42298 cat >>conftest.$ac_ext <<_ACEOF
42299 /* end confdefs.h.  */
42300 $ac_includes_default
42301 #include <locale.h>
42302 _ACEOF
42303 rm -f conftest.$ac_objext
42304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42305   (eval $ac_compile) 2>conftest.er1
42306   ac_status=$?
42307   grep -v '^ *+' conftest.er1 >conftest.err
42308   rm -f conftest.er1
42309   cat conftest.err >&5
42310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311   (exit $ac_status); } &&
42312          { ac_try='test -z "$ac_c_werror_flag"
42313                          || test ! -s conftest.err'
42314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42315   (eval $ac_try) 2>&5
42316   ac_status=$?
42317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318   (exit $ac_status); }; } &&
42319          { ac_try='test -s conftest.$ac_objext'
42320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42321   (eval $ac_try) 2>&5
42322   ac_status=$?
42323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324   (exit $ac_status); }; }; then
42325   ac_header_compiler=yes
42326 else
42327   echo "$as_me: failed program was:" >&5
42328 sed 's/^/| /' conftest.$ac_ext >&5
42329
42330 ac_header_compiler=no
42331 fi
42332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42334 echo "${ECHO_T}$ac_header_compiler" >&6
42335
42336 # Is the header present?
42337 echo "$as_me:$LINENO: checking locale.h presence" >&5
42338 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
42339 cat >conftest.$ac_ext <<_ACEOF
42340 /* confdefs.h.  */
42341 _ACEOF
42342 cat confdefs.h >>conftest.$ac_ext
42343 cat >>conftest.$ac_ext <<_ACEOF
42344 /* end confdefs.h.  */
42345 #include <locale.h>
42346 _ACEOF
42347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42348   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42349   ac_status=$?
42350   grep -v '^ *+' conftest.er1 >conftest.err
42351   rm -f conftest.er1
42352   cat conftest.err >&5
42353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354   (exit $ac_status); } >/dev/null; then
42355   if test -s conftest.err; then
42356     ac_cpp_err=$ac_c_preproc_warn_flag
42357     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42358   else
42359     ac_cpp_err=
42360   fi
42361 else
42362   ac_cpp_err=yes
42363 fi
42364 if test -z "$ac_cpp_err"; then
42365   ac_header_preproc=yes
42366 else
42367   echo "$as_me: failed program was:" >&5
42368 sed 's/^/| /' conftest.$ac_ext >&5
42369
42370   ac_header_preproc=no
42371 fi
42372 rm -f conftest.err conftest.$ac_ext
42373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42374 echo "${ECHO_T}$ac_header_preproc" >&6
42375
42376 # So?  What about this header?
42377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42378   yes:no: )
42379     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
42380 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42381     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
42382 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
42383     ac_header_preproc=yes
42384     ;;
42385   no:yes:* )
42386     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
42387 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
42388     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
42389 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
42390     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
42391 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
42392     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
42393 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
42394     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
42395 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
42396     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
42397 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
42398     (
42399       cat <<\_ASBOX
42400 ## ----------------------------------------- ##
42401 ## Report this to the package-unused lists.  ##
42402 ## ----------------------------------------- ##
42403 _ASBOX
42404     ) |
42405       sed "s/^/$as_me: WARNING:     /" >&2
42406     ;;
42407 esac
42408 echo "$as_me:$LINENO: checking for locale.h" >&5
42409 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42410 if test "${ac_cv_header_locale_h+set}" = set; then
42411   echo $ECHO_N "(cached) $ECHO_C" >&6
42412 else
42413   ac_cv_header_locale_h=$ac_header_preproc
42414 fi
42415 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42416 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42417
42418 fi
42419 if test $ac_cv_header_locale_h = yes; then
42420
42421     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
42422 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
42423 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
42424   echo $ECHO_N "(cached) $ECHO_C" >&6
42425 else
42426   if test x$gcc_no_link = xyes; then
42427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42429    { (exit 1); exit 1; }; }
42430 fi
42431 cat >conftest.$ac_ext <<_ACEOF
42432 /* confdefs.h.  */
42433 _ACEOF
42434 cat confdefs.h >>conftest.$ac_ext
42435 cat >>conftest.$ac_ext <<_ACEOF
42436 /* end confdefs.h.  */
42437 #include <locale.h>
42438 int
42439 main ()
42440 {
42441 return LC_MESSAGES
42442   ;
42443   return 0;
42444 }
42445 _ACEOF
42446 rm -f conftest.$ac_objext conftest$ac_exeext
42447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42448   (eval $ac_link) 2>conftest.er1
42449   ac_status=$?
42450   grep -v '^ *+' conftest.er1 >conftest.err
42451   rm -f conftest.er1
42452   cat conftest.err >&5
42453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454   (exit $ac_status); } &&
42455          { ac_try='test -z "$ac_c_werror_flag"
42456                          || test ! -s conftest.err'
42457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42458   (eval $ac_try) 2>&5
42459   ac_status=$?
42460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461   (exit $ac_status); }; } &&
42462          { ac_try='test -s conftest$ac_exeext'
42463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42464   (eval $ac_try) 2>&5
42465   ac_status=$?
42466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467   (exit $ac_status); }; }; then
42468   ac_cv_val_LC_MESSAGES=yes
42469 else
42470   echo "$as_me: failed program was:" >&5
42471 sed 's/^/| /' conftest.$ac_ext >&5
42472
42473 ac_cv_val_LC_MESSAGES=no
42474 fi
42475 rm -f conftest.err conftest.$ac_objext \
42476       conftest$ac_exeext conftest.$ac_ext
42477 fi
42478 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
42479 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
42480     if test $ac_cv_val_LC_MESSAGES = yes; then
42481
42482 cat >>confdefs.h <<\_ACEOF
42483 #define HAVE_LC_MESSAGES 1
42484 _ACEOF
42485
42486     fi
42487
42488 fi
42489
42490
42491
42492
42493   # For iconv support.
42494
42495       if test "X$prefix" = "XNONE"; then
42496     acl_final_prefix="$ac_default_prefix"
42497   else
42498     acl_final_prefix="$prefix"
42499   fi
42500   if test "X$exec_prefix" = "XNONE"; then
42501     acl_final_exec_prefix='${prefix}'
42502   else
42503     acl_final_exec_prefix="$exec_prefix"
42504   fi
42505   acl_save_prefix="$prefix"
42506   prefix="$acl_final_prefix"
42507   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42508   prefix="$acl_save_prefix"
42509
42510
42511 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42512 if test "${with_gnu_ld+set}" = set; then
42513   withval="$with_gnu_ld"
42514   test "$withval" = no || with_gnu_ld=yes
42515 else
42516   with_gnu_ld=no
42517 fi;
42518 # Prepare PATH_SEPARATOR.
42519 # The user is always right.
42520 if test "${PATH_SEPARATOR+set}" != set; then
42521   echo "#! /bin/sh" >conf$$.sh
42522   echo  "exit 0"   >>conf$$.sh
42523   chmod +x conf$$.sh
42524   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42525     PATH_SEPARATOR=';'
42526   else
42527     PATH_SEPARATOR=:
42528   fi
42529   rm -f conf$$.sh
42530 fi
42531 ac_prog=ld
42532 if test "$GCC" = yes; then
42533   # Check if gcc -print-prog-name=ld gives a path.
42534   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42535 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42536   case $host in
42537   *-*-mingw*)
42538     # gcc leaves a trailing carriage return which upsets mingw
42539     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42540   *)
42541     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42542   esac
42543   case $ac_prog in
42544     # Accept absolute paths.
42545     [\\/]* | [A-Za-z]:[\\/]*)
42546       re_direlt='/[^/][^/]*/\.\./'
42547       # Canonicalize the path of ld
42548       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42549       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42550         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42551       done
42552       test -z "$LD" && LD="$ac_prog"
42553       ;;
42554   "")
42555     # If it fails, then pretend we aren't using GCC.
42556     ac_prog=ld
42557     ;;
42558   *)
42559     # If it is relative, then search for the first ld in PATH.
42560     with_gnu_ld=unknown
42561     ;;
42562   esac
42563 elif test "$with_gnu_ld" = yes; then
42564   echo "$as_me:$LINENO: checking for GNU ld" >&5
42565 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42566 else
42567   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42568 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42569 fi
42570 if test "${acl_cv_path_LD+set}" = set; then
42571   echo $ECHO_N "(cached) $ECHO_C" >&6
42572 else
42573   if test -z "$LD"; then
42574   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42575   for ac_dir in $PATH; do
42576     test -z "$ac_dir" && ac_dir=.
42577     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42578       acl_cv_path_LD="$ac_dir/$ac_prog"
42579       # Check to see if the program is GNU ld.  I'd rather use --version,
42580       # but apparently some GNU ld's only accept -v.
42581       # Break only if it was the GNU/non-GNU ld that we prefer.
42582       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42583         test "$with_gnu_ld" != no && break
42584       else
42585         test "$with_gnu_ld" != yes && break
42586       fi
42587     fi
42588   done
42589   IFS="$ac_save_ifs"
42590 else
42591   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42592 fi
42593 fi
42594
42595 LD="$acl_cv_path_LD"
42596 if test -n "$LD"; then
42597   echo "$as_me:$LINENO: result: $LD" >&5
42598 echo "${ECHO_T}$LD" >&6
42599 else
42600   echo "$as_me:$LINENO: result: no" >&5
42601 echo "${ECHO_T}no" >&6
42602 fi
42603 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42604 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42605    { (exit 1); exit 1; }; }
42606 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42607 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42608 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42609   echo $ECHO_N "(cached) $ECHO_C" >&6
42610 else
42611   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42612 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42613   acl_cv_prog_gnu_ld=yes
42614 else
42615   acl_cv_prog_gnu_ld=no
42616 fi
42617 fi
42618 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42619 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42620 with_gnu_ld=$acl_cv_prog_gnu_ld
42621
42622
42623
42624                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42625 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42626 if test "${acl_cv_rpath+set}" = set; then
42627   echo $ECHO_N "(cached) $ECHO_C" >&6
42628 else
42629
42630     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42631     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42632     . ./conftest.sh
42633     rm -f ./conftest.sh
42634     acl_cv_rpath=done
42635
42636 fi
42637 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42638 echo "${ECHO_T}$acl_cv_rpath" >&6
42639   wl="$acl_cv_wl"
42640   libext="$acl_cv_libext"
42641   shlibext="$acl_cv_shlibext"
42642   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42643   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42644   hardcode_direct="$acl_cv_hardcode_direct"
42645   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42646     # Check whether --enable-rpath or --disable-rpath was given.
42647 if test "${enable_rpath+set}" = set; then
42648   enableval="$enable_rpath"
42649   :
42650 else
42651   enable_rpath=yes
42652 fi;
42653
42654
42655
42656
42657
42658
42659
42660     use_additional=yes
42661
42662   acl_save_prefix="$prefix"
42663   prefix="$acl_final_prefix"
42664   acl_save_exec_prefix="$exec_prefix"
42665   exec_prefix="$acl_final_exec_prefix"
42666
42667     eval additional_includedir=\"$includedir\"
42668     eval additional_libdir=\"$libdir\"
42669
42670   exec_prefix="$acl_save_exec_prefix"
42671   prefix="$acl_save_prefix"
42672
42673
42674 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42675 if test "${with_libiconv_prefix+set}" = set; then
42676   withval="$with_libiconv_prefix"
42677
42678     if test "X$withval" = "Xno"; then
42679       use_additional=no
42680     else
42681       if test "X$withval" = "X"; then
42682
42683   acl_save_prefix="$prefix"
42684   prefix="$acl_final_prefix"
42685   acl_save_exec_prefix="$exec_prefix"
42686   exec_prefix="$acl_final_exec_prefix"
42687
42688           eval additional_includedir=\"$includedir\"
42689           eval additional_libdir=\"$libdir\"
42690
42691   exec_prefix="$acl_save_exec_prefix"
42692   prefix="$acl_save_prefix"
42693
42694       else
42695         additional_includedir="$withval/include"
42696         additional_libdir="$withval/lib"
42697       fi
42698     fi
42699
42700 fi;
42701       LIBICONV=
42702   LTLIBICONV=
42703   INCICONV=
42704   rpathdirs=
42705   ltrpathdirs=
42706   names_already_handled=
42707   names_next_round='iconv '
42708   while test -n "$names_next_round"; do
42709     names_this_round="$names_next_round"
42710     names_next_round=
42711     for name in $names_this_round; do
42712       already_handled=
42713       for n in $names_already_handled; do
42714         if test "$n" = "$name"; then
42715           already_handled=yes
42716           break
42717         fi
42718       done
42719       if test -z "$already_handled"; then
42720         names_already_handled="$names_already_handled $name"
42721                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42722         eval value=\"\$HAVE_LIB$uppername\"
42723         if test -n "$value"; then
42724           if test "$value" = yes; then
42725             eval value=\"\$LIB$uppername\"
42726             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42727             eval value=\"\$LTLIB$uppername\"
42728             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42729           else
42730                                     :
42731           fi
42732         else
42733                               found_dir=
42734           found_la=
42735           found_so=
42736           found_a=
42737           if test $use_additional = yes; then
42738             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42739               found_dir="$additional_libdir"
42740               found_so="$additional_libdir/lib$name.$shlibext"
42741               if test -f "$additional_libdir/lib$name.la"; then
42742                 found_la="$additional_libdir/lib$name.la"
42743               fi
42744             else
42745               if test -f "$additional_libdir/lib$name.$libext"; then
42746                 found_dir="$additional_libdir"
42747                 found_a="$additional_libdir/lib$name.$libext"
42748                 if test -f "$additional_libdir/lib$name.la"; then
42749                   found_la="$additional_libdir/lib$name.la"
42750                 fi
42751               fi
42752             fi
42753           fi
42754           if test "X$found_dir" = "X"; then
42755             for x in $LDFLAGS $LTLIBICONV; do
42756
42757   acl_save_prefix="$prefix"
42758   prefix="$acl_final_prefix"
42759   acl_save_exec_prefix="$exec_prefix"
42760   exec_prefix="$acl_final_exec_prefix"
42761   eval x=\"$x\"
42762   exec_prefix="$acl_save_exec_prefix"
42763   prefix="$acl_save_prefix"
42764
42765               case "$x" in
42766                 -L*)
42767                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42768                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42769                     found_dir="$dir"
42770                     found_so="$dir/lib$name.$shlibext"
42771                     if test -f "$dir/lib$name.la"; then
42772                       found_la="$dir/lib$name.la"
42773                     fi
42774                   else
42775                     if test -f "$dir/lib$name.$libext"; then
42776                       found_dir="$dir"
42777                       found_a="$dir/lib$name.$libext"
42778                       if test -f "$dir/lib$name.la"; then
42779                         found_la="$dir/lib$name.la"
42780                       fi
42781                     fi
42782                   fi
42783                   ;;
42784               esac
42785               if test "X$found_dir" != "X"; then
42786                 break
42787               fi
42788             done
42789           fi
42790           if test "X$found_dir" != "X"; then
42791                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42792             if test "X$found_so" != "X"; then
42793                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42794                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42795               else
42796                                                                                 haveit=
42797                 for x in $ltrpathdirs; do
42798                   if test "X$x" = "X$found_dir"; then
42799                     haveit=yes
42800                     break
42801                   fi
42802                 done
42803                 if test -z "$haveit"; then
42804                   ltrpathdirs="$ltrpathdirs $found_dir"
42805                 fi
42806                                 if test "$hardcode_direct" = yes; then
42807                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42808                 else
42809                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42810                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42811                                                             haveit=
42812                     for x in $rpathdirs; do
42813                       if test "X$x" = "X$found_dir"; then
42814                         haveit=yes
42815                         break
42816                       fi
42817                     done
42818                     if test -z "$haveit"; then
42819                       rpathdirs="$rpathdirs $found_dir"
42820                     fi
42821                   else
42822                                                                                 haveit=
42823                     for x in $LDFLAGS $LIBICONV; do
42824
42825   acl_save_prefix="$prefix"
42826   prefix="$acl_final_prefix"
42827   acl_save_exec_prefix="$exec_prefix"
42828   exec_prefix="$acl_final_exec_prefix"
42829   eval x=\"$x\"
42830   exec_prefix="$acl_save_exec_prefix"
42831   prefix="$acl_save_prefix"
42832
42833                       if test "X$x" = "X-L$found_dir"; then
42834                         haveit=yes
42835                         break
42836                       fi
42837                     done
42838                     if test -z "$haveit"; then
42839                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42840                     fi
42841                     if test "$hardcode_minus_L" != no; then
42842                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42843                     else
42844                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42845                     fi
42846                   fi
42847                 fi
42848               fi
42849             else
42850               if test "X$found_a" != "X"; then
42851                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42852               else
42853                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42854               fi
42855             fi
42856                         additional_includedir=
42857             case "$found_dir" in
42858               */lib | */lib/)
42859                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42860                 additional_includedir="$basedir/include"
42861                 ;;
42862             esac
42863             if test "X$additional_includedir" != "X"; then
42864                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42865                 haveit=
42866                 if test "X$additional_includedir" = "X/usr/local/include"; then
42867                   if test -n "$GCC"; then
42868                     case $host_os in
42869                       linux*) haveit=yes;;
42870                     esac
42871                   fi
42872                 fi
42873                 if test -z "$haveit"; then
42874                   for x in $CPPFLAGS $INCICONV; do
42875
42876   acl_save_prefix="$prefix"
42877   prefix="$acl_final_prefix"
42878   acl_save_exec_prefix="$exec_prefix"
42879   exec_prefix="$acl_final_exec_prefix"
42880   eval x=\"$x\"
42881   exec_prefix="$acl_save_exec_prefix"
42882   prefix="$acl_save_prefix"
42883
42884                     if test "X$x" = "X-I$additional_includedir"; then
42885                       haveit=yes
42886                       break
42887                     fi
42888                   done
42889                   if test -z "$haveit"; then
42890                     if test -d "$additional_includedir"; then
42891                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42892                     fi
42893                   fi
42894                 fi
42895               fi
42896             fi
42897                         if test -n "$found_la"; then
42898                                                         save_libdir="$libdir"
42899               case "$found_la" in
42900                 */* | *\\*) . "$found_la" ;;
42901                 *) . "./$found_la" ;;
42902               esac
42903               libdir="$save_libdir"
42904                             for dep in $dependency_libs; do
42905                 case "$dep" in
42906                   -L*)
42907                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42908                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42909                       haveit=
42910                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42911                         if test -n "$GCC"; then
42912                           case $host_os in
42913                             linux*) haveit=yes;;
42914                           esac
42915                         fi
42916                       fi
42917                       if test -z "$haveit"; then
42918                         haveit=
42919                         for x in $LDFLAGS $LIBICONV; do
42920
42921   acl_save_prefix="$prefix"
42922   prefix="$acl_final_prefix"
42923   acl_save_exec_prefix="$exec_prefix"
42924   exec_prefix="$acl_final_exec_prefix"
42925   eval x=\"$x\"
42926   exec_prefix="$acl_save_exec_prefix"
42927   prefix="$acl_save_prefix"
42928
42929                           if test "X$x" = "X-L$additional_libdir"; then
42930                             haveit=yes
42931                             break
42932                           fi
42933                         done
42934                         if test -z "$haveit"; then
42935                           if test -d "$additional_libdir"; then
42936                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42937                           fi
42938                         fi
42939                         haveit=
42940                         for x in $LDFLAGS $LTLIBICONV; do
42941
42942   acl_save_prefix="$prefix"
42943   prefix="$acl_final_prefix"
42944   acl_save_exec_prefix="$exec_prefix"
42945   exec_prefix="$acl_final_exec_prefix"
42946   eval x=\"$x\"
42947   exec_prefix="$acl_save_exec_prefix"
42948   prefix="$acl_save_prefix"
42949
42950                           if test "X$x" = "X-L$additional_libdir"; then
42951                             haveit=yes
42952                             break
42953                           fi
42954                         done
42955                         if test -z "$haveit"; then
42956                           if test -d "$additional_libdir"; then
42957                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42958                           fi
42959                         fi
42960                       fi
42961                     fi
42962                     ;;
42963                   -R*)
42964                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42965                     if test "$enable_rpath" != no; then
42966                                                                   haveit=
42967                       for x in $rpathdirs; do
42968                         if test "X$x" = "X$dir"; then
42969                           haveit=yes
42970                           break
42971                         fi
42972                       done
42973                       if test -z "$haveit"; then
42974                         rpathdirs="$rpathdirs $dir"
42975                       fi
42976                                                                   haveit=
42977                       for x in $ltrpathdirs; do
42978                         if test "X$x" = "X$dir"; then
42979                           haveit=yes
42980                           break
42981                         fi
42982                       done
42983                       if test -z "$haveit"; then
42984                         ltrpathdirs="$ltrpathdirs $dir"
42985                       fi
42986                     fi
42987                     ;;
42988                   -l*)
42989                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42990                     ;;
42991                   *.la)
42992                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42993                     ;;
42994                   *)
42995                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42996                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42997                     ;;
42998                 esac
42999               done
43000             fi
43001           else
43002                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43003             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
43004           fi
43005         fi
43006       fi
43007     done
43008   done
43009   if test "X$rpathdirs" != "X"; then
43010     if test -n "$hardcode_libdir_separator"; then
43011                         alldirs=
43012       for found_dir in $rpathdirs; do
43013         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
43014       done
43015             acl_save_libdir="$libdir"
43016       libdir="$alldirs"
43017       eval flag=\"$hardcode_libdir_flag_spec\"
43018       libdir="$acl_save_libdir"
43019       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43020     else
43021             for found_dir in $rpathdirs; do
43022         acl_save_libdir="$libdir"
43023         libdir="$found_dir"
43024         eval flag=\"$hardcode_libdir_flag_spec\"
43025         libdir="$acl_save_libdir"
43026         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43027       done
43028     fi
43029   fi
43030   if test "X$ltrpathdirs" != "X"; then
43031             for found_dir in $ltrpathdirs; do
43032       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
43033     done
43034   fi
43035
43036
43037
43038
43039
43040
43041
43042           am_save_CPPFLAGS="$CPPFLAGS"
43043
43044   for element in $INCICONV; do
43045     haveit=
43046     for x in $CPPFLAGS; do
43047
43048   acl_save_prefix="$prefix"
43049   prefix="$acl_final_prefix"
43050   acl_save_exec_prefix="$exec_prefix"
43051   exec_prefix="$acl_final_exec_prefix"
43052   eval x=\"$x\"
43053   exec_prefix="$acl_save_exec_prefix"
43054   prefix="$acl_save_prefix"
43055
43056       if test "X$x" = "X$element"; then
43057         haveit=yes
43058         break
43059       fi
43060     done
43061     if test -z "$haveit"; then
43062       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43063     fi
43064   done
43065
43066
43067   echo "$as_me:$LINENO: checking for iconv" >&5
43068 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
43069 if test "${am_cv_func_iconv+set}" = set; then
43070   echo $ECHO_N "(cached) $ECHO_C" >&6
43071 else
43072
43073     am_cv_func_iconv="no, consider installing GNU libiconv"
43074     am_cv_lib_iconv=no
43075     if test x$gcc_no_link = xyes; then
43076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43078    { (exit 1); exit 1; }; }
43079 fi
43080 cat >conftest.$ac_ext <<_ACEOF
43081 /* confdefs.h.  */
43082 _ACEOF
43083 cat confdefs.h >>conftest.$ac_ext
43084 cat >>conftest.$ac_ext <<_ACEOF
43085 /* end confdefs.h.  */
43086 #include <stdlib.h>
43087 #include <iconv.h>
43088 int
43089 main ()
43090 {
43091 iconv_t cd = iconv_open("","");
43092        iconv(cd,NULL,NULL,NULL,NULL);
43093        iconv_close(cd);
43094   ;
43095   return 0;
43096 }
43097 _ACEOF
43098 rm -f conftest.$ac_objext conftest$ac_exeext
43099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43100   (eval $ac_link) 2>conftest.er1
43101   ac_status=$?
43102   grep -v '^ *+' conftest.er1 >conftest.err
43103   rm -f conftest.er1
43104   cat conftest.err >&5
43105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106   (exit $ac_status); } &&
43107          { ac_try='test -z "$ac_c_werror_flag"
43108                          || test ! -s conftest.err'
43109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43110   (eval $ac_try) 2>&5
43111   ac_status=$?
43112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43113   (exit $ac_status); }; } &&
43114          { ac_try='test -s conftest$ac_exeext'
43115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43116   (eval $ac_try) 2>&5
43117   ac_status=$?
43118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119   (exit $ac_status); }; }; then
43120   am_cv_func_iconv=yes
43121 else
43122   echo "$as_me: failed program was:" >&5
43123 sed 's/^/| /' conftest.$ac_ext >&5
43124
43125 fi
43126 rm -f conftest.err conftest.$ac_objext \
43127       conftest$ac_exeext conftest.$ac_ext
43128     if test "$am_cv_func_iconv" != yes; then
43129       am_save_LIBS="$LIBS"
43130       LIBS="$LIBS $LIBICONV"
43131       if test x$gcc_no_link = xyes; then
43132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43134    { (exit 1); exit 1; }; }
43135 fi
43136 cat >conftest.$ac_ext <<_ACEOF
43137 /* confdefs.h.  */
43138 _ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h.  */
43142 #include <stdlib.h>
43143 #include <iconv.h>
43144 int
43145 main ()
43146 {
43147 iconv_t cd = iconv_open("","");
43148          iconv(cd,NULL,NULL,NULL,NULL);
43149          iconv_close(cd);
43150   ;
43151   return 0;
43152 }
43153 _ACEOF
43154 rm -f conftest.$ac_objext conftest$ac_exeext
43155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43156   (eval $ac_link) 2>conftest.er1
43157   ac_status=$?
43158   grep -v '^ *+' conftest.er1 >conftest.err
43159   rm -f conftest.er1
43160   cat conftest.err >&5
43161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162   (exit $ac_status); } &&
43163          { ac_try='test -z "$ac_c_werror_flag"
43164                          || test ! -s conftest.err'
43165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166   (eval $ac_try) 2>&5
43167   ac_status=$?
43168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169   (exit $ac_status); }; } &&
43170          { ac_try='test -s conftest$ac_exeext'
43171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172   (eval $ac_try) 2>&5
43173   ac_status=$?
43174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175   (exit $ac_status); }; }; then
43176   am_cv_lib_iconv=yes
43177         am_cv_func_iconv=yes
43178 else
43179   echo "$as_me: failed program was:" >&5
43180 sed 's/^/| /' conftest.$ac_ext >&5
43181
43182 fi
43183 rm -f conftest.err conftest.$ac_objext \
43184       conftest$ac_exeext conftest.$ac_ext
43185       LIBS="$am_save_LIBS"
43186     fi
43187
43188 fi
43189 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
43190 echo "${ECHO_T}$am_cv_func_iconv" >&6
43191   if test "$am_cv_func_iconv" = yes; then
43192
43193 cat >>confdefs.h <<\_ACEOF
43194 #define HAVE_ICONV 1
43195 _ACEOF
43196
43197   fi
43198   if test "$am_cv_lib_iconv" = yes; then
43199     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
43200 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
43201     echo "$as_me:$LINENO: result: $LIBICONV" >&5
43202 echo "${ECHO_T}$LIBICONV" >&6
43203   else
43204             CPPFLAGS="$am_save_CPPFLAGS"
43205     LIBICONV=
43206     LTLIBICONV=
43207   fi
43208
43209
43210
43211   if test "$am_cv_func_iconv" = yes; then
43212     echo "$as_me:$LINENO: checking for iconv declaration" >&5
43213 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
43214     if test "${am_cv_proto_iconv+set}" = set; then
43215   echo $ECHO_N "(cached) $ECHO_C" >&6
43216 else
43217
43218       cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h.  */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h.  */
43224
43225 #include <stdlib.h>
43226 #include <iconv.h>
43227 extern
43228 #ifdef __cplusplus
43229 "C"
43230 #endif
43231 #if defined(__STDC__) || defined(__cplusplus)
43232 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43233 #else
43234 size_t iconv();
43235 #endif
43236
43237 int
43238 main ()
43239 {
43240
43241   ;
43242   return 0;
43243 }
43244 _ACEOF
43245 rm -f conftest.$ac_objext
43246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43247   (eval $ac_compile) 2>conftest.er1
43248   ac_status=$?
43249   grep -v '^ *+' conftest.er1 >conftest.err
43250   rm -f conftest.er1
43251   cat conftest.err >&5
43252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253   (exit $ac_status); } &&
43254          { ac_try='test -z "$ac_c_werror_flag"
43255                          || test ! -s conftest.err'
43256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43257   (eval $ac_try) 2>&5
43258   ac_status=$?
43259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260   (exit $ac_status); }; } &&
43261          { ac_try='test -s conftest.$ac_objext'
43262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43263   (eval $ac_try) 2>&5
43264   ac_status=$?
43265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266   (exit $ac_status); }; }; then
43267   am_cv_proto_iconv_arg1=""
43268 else
43269   echo "$as_me: failed program was:" >&5
43270 sed 's/^/| /' conftest.$ac_ext >&5
43271
43272 am_cv_proto_iconv_arg1="const"
43273 fi
43274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43275       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);"
43276 fi
43277
43278     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43279     echo "$as_me:$LINENO: result: ${ac_t:-
43280          }$am_cv_proto_iconv" >&5
43281 echo "${ECHO_T}${ac_t:-
43282          }$am_cv_proto_iconv" >&6
43283
43284 cat >>confdefs.h <<_ACEOF
43285 #define ICONV_CONST $am_cv_proto_iconv_arg1
43286 _ACEOF
43287
43288   fi
43289
43290
43291 else
43292
43293   # This lets us hard-code the functionality we know we'll have in the cross
43294   # target environment.  "Let" is a sugar-coated word placed on an especially
43295   # dull and tedious hack, actually.
43296   #
43297   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
43298   # that involve linking, can't be used:
43299   #    "cannot open sim-crt0.o"
43300   #    "cannot open crt0.o"
43301   # etc.  All this is because there currently exists no unified, consistent
43302   # way for top level CC information to be passed down to target directories:
43303   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
43304   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
43305   # crosses can be removed.
43306
43307   # If Canadian cross, then don't pick up tools from the build directory.
43308   # Used only in GLIBCXX_EXPORT_INCLUDES.
43309   if test -n "$with_cross_host" &&
43310      test x"$build_alias" != x"$with_cross_host" &&
43311      test x"$build" != x"$target";
43312   then
43313     CANADIAN=yes
43314   else
43315     CANADIAN=no
43316   fi
43317
43318   # Construct crosses by hand, eliminating bits that need ld...
43319   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
43320   # GLIBCXX_CHECK_MATH_SUPPORT
43321
43322   # First, test for "known" system libraries.  We may be using newlib even
43323   # on a hosted environment.
43324   if test "x${with_newlib}" = "xyes"; then
43325     os_include_dir="os/newlib"
43326     cat >>confdefs.h <<\_ACEOF
43327 #define HAVE_HYPOT 1
43328 _ACEOF
43329
43330
43331     # GLIBCXX_CHECK_STDLIB_SUPPORT
43332     cat >>confdefs.h <<\_ACEOF
43333 #define HAVE_STRTOF 1
43334 _ACEOF
43335
43336
43337     cat >>confdefs.h <<\_ACEOF
43338 #define HAVE_ACOSF 1
43339 _ACEOF
43340
43341     cat >>confdefs.h <<\_ACEOF
43342 #define HAVE_ASINF 1
43343 _ACEOF
43344
43345     cat >>confdefs.h <<\_ACEOF
43346 #define HAVE_ATAN2F 1
43347 _ACEOF
43348
43349     cat >>confdefs.h <<\_ACEOF
43350 #define HAVE_ATANF 1
43351 _ACEOF
43352
43353     cat >>confdefs.h <<\_ACEOF
43354 #define HAVE_CEILF 1
43355 _ACEOF
43356
43357     cat >>confdefs.h <<\_ACEOF
43358 #define HAVE_COPYSIGN 1
43359 _ACEOF
43360
43361     cat >>confdefs.h <<\_ACEOF
43362 #define HAVE_COPYSIGNF 1
43363 _ACEOF
43364
43365     cat >>confdefs.h <<\_ACEOF
43366 #define HAVE_COSF 1
43367 _ACEOF
43368
43369     cat >>confdefs.h <<\_ACEOF
43370 #define HAVE_COSHF 1
43371 _ACEOF
43372
43373     cat >>confdefs.h <<\_ACEOF
43374 #define HAVE_EXPF 1
43375 _ACEOF
43376
43377     cat >>confdefs.h <<\_ACEOF
43378 #define HAVE_FABSF 1
43379 _ACEOF
43380
43381     cat >>confdefs.h <<\_ACEOF
43382 #define HAVE_FLOORF 1
43383 _ACEOF
43384
43385     cat >>confdefs.h <<\_ACEOF
43386 #define HAVE_FMODF 1
43387 _ACEOF
43388
43389     cat >>confdefs.h <<\_ACEOF
43390 #define HAVE_FREXPF 1
43391 _ACEOF
43392
43393     cat >>confdefs.h <<\_ACEOF
43394 #define HAVE_LDEXPF 1
43395 _ACEOF
43396
43397     cat >>confdefs.h <<\_ACEOF
43398 #define HAVE_LOG10F 1
43399 _ACEOF
43400
43401     cat >>confdefs.h <<\_ACEOF
43402 #define HAVE_LOGF 1
43403 _ACEOF
43404
43405     cat >>confdefs.h <<\_ACEOF
43406 #define HAVE_MODFF 1
43407 _ACEOF
43408
43409     cat >>confdefs.h <<\_ACEOF
43410 #define HAVE_POWF 1
43411 _ACEOF
43412
43413     cat >>confdefs.h <<\_ACEOF
43414 #define HAVE_SINF 1
43415 _ACEOF
43416
43417     cat >>confdefs.h <<\_ACEOF
43418 #define HAVE_SINHF 1
43419 _ACEOF
43420
43421     cat >>confdefs.h <<\_ACEOF
43422 #define HAVE_SQRTF 1
43423 _ACEOF
43424
43425     cat >>confdefs.h <<\_ACEOF
43426 #define HAVE_TANF 1
43427 _ACEOF
43428
43429     cat >>confdefs.h <<\_ACEOF
43430 #define HAVE_TANHF 1
43431 _ACEOF
43432
43433
43434     cat >>confdefs.h <<\_ACEOF
43435 #define HAVE_S_ISREG 1
43436 _ACEOF
43437
43438     cat >>confdefs.h <<\_ACEOF
43439 #define HAVE_S_IFREG 1
43440 _ACEOF
43441
43442
43443     cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_ICONV 1
43445 _ACEOF
43446
43447   else
43448
43449 # Base decisions on target environment.
43450 case "${host}" in
43451   arm*-*-symbianelf*)
43452     # This is a freestanding configuration; there is nothing to do here.
43453     ;;
43454
43455   mips*-sde-elf*)
43456     # These definitions are for the SDE C library rather than newlib.
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472 for ac_header in float.h inttypes.h locale.h \
43473       stdint.h stdlib.h string.h unistd.h wchar.h \
43474       machine/endian.h sys/ioctl.h sys/resource.h \
43475       sys/stat.h sys/time.h sys/types.h sys/uio.h
43476 do
43477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43479   echo "$as_me:$LINENO: checking for $ac_header" >&5
43480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43482   echo $ECHO_N "(cached) $ECHO_C" >&6
43483 fi
43484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43486 else
43487   # Is the header compilable?
43488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43490 cat >conftest.$ac_ext <<_ACEOF
43491 /* confdefs.h.  */
43492 _ACEOF
43493 cat confdefs.h >>conftest.$ac_ext
43494 cat >>conftest.$ac_ext <<_ACEOF
43495 /* end confdefs.h.  */
43496 $ac_includes_default
43497 #include <$ac_header>
43498 _ACEOF
43499 rm -f conftest.$ac_objext
43500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43501   (eval $ac_compile) 2>conftest.er1
43502   ac_status=$?
43503   grep -v '^ *+' conftest.er1 >conftest.err
43504   rm -f conftest.er1
43505   cat conftest.err >&5
43506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507   (exit $ac_status); } &&
43508          { ac_try='test -z "$ac_c_werror_flag"
43509                          || test ! -s conftest.err'
43510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43511   (eval $ac_try) 2>&5
43512   ac_status=$?
43513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43514   (exit $ac_status); }; } &&
43515          { ac_try='test -s conftest.$ac_objext'
43516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43517   (eval $ac_try) 2>&5
43518   ac_status=$?
43519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520   (exit $ac_status); }; }; then
43521   ac_header_compiler=yes
43522 else
43523   echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43525
43526 ac_header_compiler=no
43527 fi
43528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43530 echo "${ECHO_T}$ac_header_compiler" >&6
43531
43532 # Is the header present?
43533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43535 cat >conftest.$ac_ext <<_ACEOF
43536 /* confdefs.h.  */
43537 _ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h.  */
43541 #include <$ac_header>
43542 _ACEOF
43543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43544   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43545   ac_status=$?
43546   grep -v '^ *+' conftest.er1 >conftest.err
43547   rm -f conftest.er1
43548   cat conftest.err >&5
43549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550   (exit $ac_status); } >/dev/null; then
43551   if test -s conftest.err; then
43552     ac_cpp_err=$ac_c_preproc_warn_flag
43553     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43554   else
43555     ac_cpp_err=
43556   fi
43557 else
43558   ac_cpp_err=yes
43559 fi
43560 if test -z "$ac_cpp_err"; then
43561   ac_header_preproc=yes
43562 else
43563   echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.$ac_ext >&5
43565
43566   ac_header_preproc=no
43567 fi
43568 rm -f conftest.err conftest.$ac_ext
43569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43570 echo "${ECHO_T}$ac_header_preproc" >&6
43571
43572 # So?  What about this header?
43573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43574   yes:no: )
43575     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43577     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43579     ac_header_preproc=yes
43580     ;;
43581   no:yes:* )
43582     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43584     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
43585 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
43586     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43588     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
43589 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
43590     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43592     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43594     (
43595       cat <<\_ASBOX
43596 ## ----------------------------------------- ##
43597 ## Report this to the package-unused lists.  ##
43598 ## ----------------------------------------- ##
43599 _ASBOX
43600     ) |
43601       sed "s/^/$as_me: WARNING:     /" >&2
43602     ;;
43603 esac
43604 echo "$as_me:$LINENO: checking for $ac_header" >&5
43605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43607   echo $ECHO_N "(cached) $ECHO_C" >&6
43608 else
43609   eval "$as_ac_Header=\$ac_header_preproc"
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
43614 fi
43615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43616   cat >>confdefs.h <<_ACEOF
43617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43618 _ACEOF
43619
43620 fi
43621
43622 done
43623
43624     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43625
43626
43627   # All these tests are for C++; save the language and the compiler flags.
43628   # The CXXFLAGS thing is suspicious, but based on similar bits previously
43629   # found in GLIBCXX_CONFIGURE.
43630
43631
43632   ac_ext=cc
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637
43638   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43639   ac_save_CXXFLAGS="$CXXFLAGS"
43640
43641   # Check for maintainer-mode bits.
43642   if test x"$USE_MAINTAINER_MODE" = xno; then
43643     WERROR=''
43644   else
43645     WERROR='-Werror'
43646   fi
43647
43648   # Check for -ffunction-sections -fdata-sections
43649   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43650 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43651   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43652   cat >conftest.$ac_ext <<_ACEOF
43653 /* confdefs.h.  */
43654 _ACEOF
43655 cat confdefs.h >>conftest.$ac_ext
43656 cat >>conftest.$ac_ext <<_ACEOF
43657 /* end confdefs.h.  */
43658 int foo; void bar() { };
43659 int
43660 main ()
43661 {
43662
43663   ;
43664   return 0;
43665 }
43666 _ACEOF
43667 rm -f conftest.$ac_objext
43668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43669   (eval $ac_compile) 2>conftest.er1
43670   ac_status=$?
43671   grep -v '^ *+' conftest.er1 >conftest.err
43672   rm -f conftest.er1
43673   cat conftest.err >&5
43674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675   (exit $ac_status); } &&
43676          { ac_try='test -z "$ac_cxx_werror_flag"
43677                          || test ! -s conftest.err'
43678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43679   (eval $ac_try) 2>&5
43680   ac_status=$?
43681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682   (exit $ac_status); }; } &&
43683          { ac_try='test -s conftest.$ac_objext'
43684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685   (eval $ac_try) 2>&5
43686   ac_status=$?
43687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688   (exit $ac_status); }; }; then
43689   ac_fdsections=yes
43690 else
43691   echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43693
43694 ac_fdsections=no
43695 fi
43696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43697   if test "$ac_test_CXXFLAGS" = set; then
43698     CXXFLAGS="$ac_save_CXXFLAGS"
43699   else
43700     # this is the suspicious part
43701     CXXFLAGS=''
43702   fi
43703   if test x"$ac_fdsections" = x"yes"; then
43704     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43705   fi
43706   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43707 echo "${ECHO_T}$ac_fdsections" >&6
43708
43709   ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715
43716
43717
43718
43719   # If we're not using GNU ld, then there's no point in even trying these
43720   # tests.  Check for that first.  We should have already tested for gld
43721   # by now (in libtool), but require it now just to be safe...
43722   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43723   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43724
43725
43726
43727   # The name set by libtool depends on the version of libtool.  Shame on us
43728   # for depending on an impl detail, but c'est la vie.  Older versions used
43729   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43730   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43731   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43732   # set (hence we're using an older libtool), then set it.
43733   if test x${with_gnu_ld+set} != xset; then
43734     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43735       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43736       with_gnu_ld=no
43737     else
43738       with_gnu_ld=$ac_cv_prog_gnu_ld
43739     fi
43740   fi
43741
43742   # Start by getting the version number.  I think the libtool test already
43743   # does some of this, but throws away the result.
43744   glibcxx_ld_is_gold=no
43745   if test x"$with_gnu_ld" = x"yes"; then
43746     echo "$as_me:$LINENO: checking for ld version" >&5
43747 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43748
43749     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43750       glibcxx_ld_is_gold=yes
43751     fi
43752     ldver=`$LD --version 2>/dev/null | head -1 | \
43753            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43754
43755     glibcxx_gnu_ld_version=`echo $ldver | \
43756            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43757     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43758 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43759   fi
43760
43761   # Set --gc-sections.
43762   glibcxx_have_gc_sections=no
43763   if test "$glibcxx_ld_is_gold" = "yes"; then
43764     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43765       glibcxx_have_gc_sections=yes
43766     fi
43767   else
43768     glibcxx_gcsections_min_ld=21602
43769     if test x"$with_gnu_ld" = x"yes" &&
43770         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43771       glibcxx_have_gc_sections=yes
43772     fi
43773   fi
43774   if test "$glibcxx_have_gc_sections" = "yes"; then
43775     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43776     # NB: This flag only works reliably after 2.16.1. Configure tests
43777     # for this are difficult, so hard wire a value that should work.
43778
43779     ac_test_CFLAGS="${CFLAGS+set}"
43780     ac_save_CFLAGS="$CFLAGS"
43781     CFLAGS='-Wl,--gc-sections'
43782
43783     # Check for -Wl,--gc-sections
43784     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43785 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43786     if test x$gcc_no_link = xyes; then
43787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43789    { (exit 1); exit 1; }; }
43790 fi
43791 cat >conftest.$ac_ext <<_ACEOF
43792 /* confdefs.h.  */
43793 _ACEOF
43794 cat confdefs.h >>conftest.$ac_ext
43795 cat >>conftest.$ac_ext <<_ACEOF
43796 /* end confdefs.h.  */
43797  int one(void) { return 1; }
43798      int two(void) { return 2; }
43799
43800 int
43801 main ()
43802 {
43803  two();
43804   ;
43805   return 0;
43806 }
43807 _ACEOF
43808 rm -f conftest.$ac_objext conftest$ac_exeext
43809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43810   (eval $ac_link) 2>conftest.er1
43811   ac_status=$?
43812   grep -v '^ *+' conftest.er1 >conftest.err
43813   rm -f conftest.er1
43814   cat conftest.err >&5
43815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816   (exit $ac_status); } &&
43817          { ac_try='test -z "$ac_c_werror_flag"
43818                          || test ! -s conftest.err'
43819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43820   (eval $ac_try) 2>&5
43821   ac_status=$?
43822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823   (exit $ac_status); }; } &&
43824          { ac_try='test -s conftest$ac_exeext'
43825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43826   (eval $ac_try) 2>&5
43827   ac_status=$?
43828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43829   (exit $ac_status); }; }; then
43830   ac_gcsections=yes
43831 else
43832   echo "$as_me: failed program was:" >&5
43833 sed 's/^/| /' conftest.$ac_ext >&5
43834
43835 ac_gcsections=no
43836 fi
43837 rm -f conftest.err conftest.$ac_objext \
43838       conftest$ac_exeext conftest.$ac_ext
43839     if test "$ac_gcsections" = "yes"; then
43840       rm -f conftest.c
43841       touch conftest.c
43842       if $CC -c conftest.c; then
43843         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43844            grep "Warning: gc-sections option ignored" > /dev/null; then
43845           ac_gcsections=no
43846         fi
43847       fi
43848       rm -f conftest.c conftest.o conftest
43849     fi
43850     if test "$ac_gcsections" = "yes"; then
43851       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43852     fi
43853     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43854 echo "${ECHO_T}$ac_gcsections" >&6
43855
43856     if test "$ac_test_CFLAGS" = set; then
43857       CFLAGS="$ac_save_CFLAGS"
43858     else
43859       # this is the suspicious part
43860       CFLAGS=''
43861     fi
43862   fi
43863
43864   # Set -z,relro.
43865   # Note this is only for shared objects.
43866   ac_ld_relro=no
43867   if test x"$with_gnu_ld" = x"yes"; then
43868     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43869 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43870     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43871     if test -n "$cxx_z_relo"; then
43872       OPT_LDFLAGS="-Wl,-z,relro"
43873       ac_ld_relro=yes
43874     fi
43875     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43876 echo "${ECHO_T}$ac_ld_relro" >&6
43877   fi
43878
43879   # Set linker optimization flags.
43880   if test x"$with_gnu_ld" = x"yes"; then
43881     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43882   fi
43883
43884
43885
43886
43887
43888   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43889   ac_save_CXXFLAGS="$CXXFLAGS"
43890   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43891
43892     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43893 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43894 if test "${ac_cv_lib_m_sin+set}" = set; then
43895   echo $ECHO_N "(cached) $ECHO_C" >&6
43896 else
43897   ac_check_lib_save_LIBS=$LIBS
43898 LIBS="-lm  $LIBS"
43899 if test x$gcc_no_link = xyes; then
43900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43902    { (exit 1); exit 1; }; }
43903 fi
43904 cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h.  */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h.  */
43910
43911 /* Override any gcc2 internal prototype to avoid an error.  */
43912 #ifdef __cplusplus
43913 extern "C"
43914 #endif
43915 /* We use char because int might match the return type of a gcc2
43916    builtin and then its argument prototype would still apply.  */
43917 char sin ();
43918 int
43919 main ()
43920 {
43921 sin ();
43922   ;
43923   return 0;
43924 }
43925 _ACEOF
43926 rm -f conftest.$ac_objext conftest$ac_exeext
43927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43928   (eval $ac_link) 2>conftest.er1
43929   ac_status=$?
43930   grep -v '^ *+' conftest.er1 >conftest.err
43931   rm -f conftest.er1
43932   cat conftest.err >&5
43933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934   (exit $ac_status); } &&
43935          { ac_try='test -z "$ac_c_werror_flag"
43936                          || test ! -s conftest.err'
43937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938   (eval $ac_try) 2>&5
43939   ac_status=$?
43940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941   (exit $ac_status); }; } &&
43942          { ac_try='test -s conftest$ac_exeext'
43943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944   (eval $ac_try) 2>&5
43945   ac_status=$?
43946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947   (exit $ac_status); }; }; then
43948   ac_cv_lib_m_sin=yes
43949 else
43950   echo "$as_me: failed program was:" >&5
43951 sed 's/^/| /' conftest.$ac_ext >&5
43952
43953 ac_cv_lib_m_sin=no
43954 fi
43955 rm -f conftest.err conftest.$ac_objext \
43956       conftest$ac_exeext conftest.$ac_ext
43957 LIBS=$ac_check_lib_save_LIBS
43958 fi
43959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43960 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43961 if test $ac_cv_lib_m_sin = yes; then
43962   libm="-lm"
43963 fi
43964
43965   ac_save_LIBS="$LIBS"
43966   LIBS="$LIBS $libm"
43967
43968
43969
43970   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43971 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43972   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43973     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43974   echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43976
43977
43978
43979       ac_ext=cc
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984
43985       cat >conftest.$ac_ext <<_ACEOF
43986 /* confdefs.h.  */
43987 _ACEOF
43988 cat confdefs.h >>conftest.$ac_ext
43989 cat >>conftest.$ac_ext <<_ACEOF
43990 /* end confdefs.h.  */
43991 #include <math.h>
43992                       #ifdef HAVE_IEEEFP_H
43993                       #include <ieeefp.h>
43994                       #endif
43995
43996 int
43997 main ()
43998 {
43999  isinf(0);
44000   ;
44001   return 0;
44002 }
44003 _ACEOF
44004 rm -f conftest.$ac_objext
44005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44006   (eval $ac_compile) 2>conftest.er1
44007   ac_status=$?
44008   grep -v '^ *+' conftest.er1 >conftest.err
44009   rm -f conftest.er1
44010   cat conftest.err >&5
44011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012   (exit $ac_status); } &&
44013          { ac_try='test -z "$ac_cxx_werror_flag"
44014                          || test ! -s conftest.err'
44015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44016   (eval $ac_try) 2>&5
44017   ac_status=$?
44018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44019   (exit $ac_status); }; } &&
44020          { ac_try='test -s conftest.$ac_objext'
44021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44022   (eval $ac_try) 2>&5
44023   ac_status=$?
44024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025   (exit $ac_status); }; }; then
44026   glibcxx_cv_func_isinf_use=yes
44027 else
44028   echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44030
44031 glibcxx_cv_func_isinf_use=no
44032 fi
44033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44034       ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039
44040
44041 fi
44042
44043   fi
44044   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
44045 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
44046
44047   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44048
44049 for ac_func in isinf
44050 do
44051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44052 echo "$as_me:$LINENO: checking for $ac_func" >&5
44053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44054 if eval "test \"\${$as_ac_var+set}\" = set"; then
44055   echo $ECHO_N "(cached) $ECHO_C" >&6
44056 else
44057   if test x$gcc_no_link = xyes; then
44058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44060    { (exit 1); exit 1; }; }
44061 fi
44062 cat >conftest.$ac_ext <<_ACEOF
44063 /* confdefs.h.  */
44064 _ACEOF
44065 cat confdefs.h >>conftest.$ac_ext
44066 cat >>conftest.$ac_ext <<_ACEOF
44067 /* end confdefs.h.  */
44068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44070 #define $ac_func innocuous_$ac_func
44071
44072 /* System header to define __stub macros and hopefully few prototypes,
44073     which can conflict with char $ac_func (); below.
44074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44075     <limits.h> exists even on freestanding compilers.  */
44076
44077 #ifdef __STDC__
44078 # include <limits.h>
44079 #else
44080 # include <assert.h>
44081 #endif
44082
44083 #undef $ac_func
44084
44085 /* Override any gcc2 internal prototype to avoid an error.  */
44086 #ifdef __cplusplus
44087 extern "C"
44088 {
44089 #endif
44090 /* We use char because int might match the return type of a gcc2
44091    builtin and then its argument prototype would still apply.  */
44092 char $ac_func ();
44093 /* The GNU C library defines this for functions which it implements
44094     to always fail with ENOSYS.  Some functions are actually named
44095     something starting with __ and the normal name is an alias.  */
44096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44097 choke me
44098 #else
44099 char (*f) () = $ac_func;
44100 #endif
44101 #ifdef __cplusplus
44102 }
44103 #endif
44104
44105 int
44106 main ()
44107 {
44108 return f != $ac_func;
44109   ;
44110   return 0;
44111 }
44112 _ACEOF
44113 rm -f conftest.$ac_objext conftest$ac_exeext
44114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44115   (eval $ac_link) 2>conftest.er1
44116   ac_status=$?
44117   grep -v '^ *+' conftest.er1 >conftest.err
44118   rm -f conftest.er1
44119   cat conftest.err >&5
44120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121   (exit $ac_status); } &&
44122          { ac_try='test -z "$ac_c_werror_flag"
44123                          || test ! -s conftest.err'
44124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44125   (eval $ac_try) 2>&5
44126   ac_status=$?
44127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128   (exit $ac_status); }; } &&
44129          { ac_try='test -s conftest$ac_exeext'
44130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131   (eval $ac_try) 2>&5
44132   ac_status=$?
44133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134   (exit $ac_status); }; }; then
44135   eval "$as_ac_var=yes"
44136 else
44137   echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.$ac_ext >&5
44139
44140 eval "$as_ac_var=no"
44141 fi
44142 rm -f conftest.err conftest.$ac_objext \
44143       conftest$ac_exeext conftest.$ac_ext
44144 fi
44145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44147 if test `eval echo '${'$as_ac_var'}'` = yes; then
44148   cat >>confdefs.h <<_ACEOF
44149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44150 _ACEOF
44151
44152 fi
44153 done
44154
44155   else
44156
44157   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
44158 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
44159   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44160     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
44161   echo $ECHO_N "(cached) $ECHO_C" >&6
44162 else
44163
44164
44165
44166       ac_ext=cc
44167 ac_cpp='$CXXCPP $CPPFLAGS'
44168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44171
44172       cat >conftest.$ac_ext <<_ACEOF
44173 /* confdefs.h.  */
44174 _ACEOF
44175 cat confdefs.h >>conftest.$ac_ext
44176 cat >>conftest.$ac_ext <<_ACEOF
44177 /* end confdefs.h.  */
44178 #include <math.h>
44179                       #ifdef HAVE_IEEEFP_H
44180                       #include <ieeefp.h>
44181                       #endif
44182
44183 int
44184 main ()
44185 {
44186  _isinf(0);
44187   ;
44188   return 0;
44189 }
44190 _ACEOF
44191 rm -f conftest.$ac_objext
44192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44193   (eval $ac_compile) 2>conftest.er1
44194   ac_status=$?
44195   grep -v '^ *+' conftest.er1 >conftest.err
44196   rm -f conftest.er1
44197   cat conftest.err >&5
44198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199   (exit $ac_status); } &&
44200          { ac_try='test -z "$ac_cxx_werror_flag"
44201                          || test ! -s conftest.err'
44202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44203   (eval $ac_try) 2>&5
44204   ac_status=$?
44205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206   (exit $ac_status); }; } &&
44207          { ac_try='test -s conftest.$ac_objext'
44208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209   (eval $ac_try) 2>&5
44210   ac_status=$?
44211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212   (exit $ac_status); }; }; then
44213   glibcxx_cv_func__isinf_use=yes
44214 else
44215   echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.$ac_ext >&5
44217
44218 glibcxx_cv_func__isinf_use=no
44219 fi
44220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44221       ac_ext=c
44222 ac_cpp='$CPP $CPPFLAGS'
44223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44226
44227
44228 fi
44229
44230   fi
44231   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
44232 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
44233
44234     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44235
44236 for ac_func in _isinf
44237 do
44238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44239 echo "$as_me:$LINENO: checking for $ac_func" >&5
44240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44241 if eval "test \"\${$as_ac_var+set}\" = set"; then
44242   echo $ECHO_N "(cached) $ECHO_C" >&6
44243 else
44244   if test x$gcc_no_link = xyes; then
44245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44247    { (exit 1); exit 1; }; }
44248 fi
44249 cat >conftest.$ac_ext <<_ACEOF
44250 /* confdefs.h.  */
44251 _ACEOF
44252 cat confdefs.h >>conftest.$ac_ext
44253 cat >>conftest.$ac_ext <<_ACEOF
44254 /* end confdefs.h.  */
44255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44257 #define $ac_func innocuous_$ac_func
44258
44259 /* System header to define __stub macros and hopefully few prototypes,
44260     which can conflict with char $ac_func (); below.
44261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44262     <limits.h> exists even on freestanding compilers.  */
44263
44264 #ifdef __STDC__
44265 # include <limits.h>
44266 #else
44267 # include <assert.h>
44268 #endif
44269
44270 #undef $ac_func
44271
44272 /* Override any gcc2 internal prototype to avoid an error.  */
44273 #ifdef __cplusplus
44274 extern "C"
44275 {
44276 #endif
44277 /* We use char because int might match the return type of a gcc2
44278    builtin and then its argument prototype would still apply.  */
44279 char $ac_func ();
44280 /* The GNU C library defines this for functions which it implements
44281     to always fail with ENOSYS.  Some functions are actually named
44282     something starting with __ and the normal name is an alias.  */
44283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44284 choke me
44285 #else
44286 char (*f) () = $ac_func;
44287 #endif
44288 #ifdef __cplusplus
44289 }
44290 #endif
44291
44292 int
44293 main ()
44294 {
44295 return f != $ac_func;
44296   ;
44297   return 0;
44298 }
44299 _ACEOF
44300 rm -f conftest.$ac_objext conftest$ac_exeext
44301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44302   (eval $ac_link) 2>conftest.er1
44303   ac_status=$?
44304   grep -v '^ *+' conftest.er1 >conftest.err
44305   rm -f conftest.er1
44306   cat conftest.err >&5
44307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308   (exit $ac_status); } &&
44309          { ac_try='test -z "$ac_c_werror_flag"
44310                          || test ! -s conftest.err'
44311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44312   (eval $ac_try) 2>&5
44313   ac_status=$?
44314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315   (exit $ac_status); }; } &&
44316          { ac_try='test -s conftest$ac_exeext'
44317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318   (eval $ac_try) 2>&5
44319   ac_status=$?
44320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321   (exit $ac_status); }; }; then
44322   eval "$as_ac_var=yes"
44323 else
44324   echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44326
44327 eval "$as_ac_var=no"
44328 fi
44329 rm -f conftest.err conftest.$ac_objext \
44330       conftest$ac_exeext conftest.$ac_ext
44331 fi
44332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44334 if test `eval echo '${'$as_ac_var'}'` = yes; then
44335   cat >>confdefs.h <<_ACEOF
44336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44337 _ACEOF
44338
44339 fi
44340 done
44341
44342     fi
44343   fi
44344
44345
44346
44347
44348
44349
44350   echo "$as_me:$LINENO: checking for isnan declaration" >&5
44351 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
44352   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44353     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
44354   echo $ECHO_N "(cached) $ECHO_C" >&6
44355 else
44356
44357
44358
44359       ac_ext=cc
44360 ac_cpp='$CXXCPP $CPPFLAGS'
44361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44364
44365       cat >conftest.$ac_ext <<_ACEOF
44366 /* confdefs.h.  */
44367 _ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h.  */
44371 #include <math.h>
44372                       #ifdef HAVE_IEEEFP_H
44373                       #include <ieeefp.h>
44374                       #endif
44375
44376 int
44377 main ()
44378 {
44379  isnan(0);
44380   ;
44381   return 0;
44382 }
44383 _ACEOF
44384 rm -f conftest.$ac_objext
44385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44386   (eval $ac_compile) 2>conftest.er1
44387   ac_status=$?
44388   grep -v '^ *+' conftest.er1 >conftest.err
44389   rm -f conftest.er1
44390   cat conftest.err >&5
44391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392   (exit $ac_status); } &&
44393          { ac_try='test -z "$ac_cxx_werror_flag"
44394                          || test ! -s conftest.err'
44395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44396   (eval $ac_try) 2>&5
44397   ac_status=$?
44398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399   (exit $ac_status); }; } &&
44400          { ac_try='test -s conftest.$ac_objext'
44401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44402   (eval $ac_try) 2>&5
44403   ac_status=$?
44404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405   (exit $ac_status); }; }; then
44406   glibcxx_cv_func_isnan_use=yes
44407 else
44408   echo "$as_me: failed program was:" >&5
44409 sed 's/^/| /' conftest.$ac_ext >&5
44410
44411 glibcxx_cv_func_isnan_use=no
44412 fi
44413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44414       ac_ext=c
44415 ac_cpp='$CPP $CPPFLAGS'
44416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44419
44420
44421 fi
44422
44423   fi
44424   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44425 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44426
44427   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44428
44429 for ac_func in isnan
44430 do
44431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44432 echo "$as_me:$LINENO: checking for $ac_func" >&5
44433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44434 if eval "test \"\${$as_ac_var+set}\" = set"; then
44435   echo $ECHO_N "(cached) $ECHO_C" >&6
44436 else
44437   if test x$gcc_no_link = xyes; then
44438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44440    { (exit 1); exit 1; }; }
44441 fi
44442 cat >conftest.$ac_ext <<_ACEOF
44443 /* confdefs.h.  */
44444 _ACEOF
44445 cat confdefs.h >>conftest.$ac_ext
44446 cat >>conftest.$ac_ext <<_ACEOF
44447 /* end confdefs.h.  */
44448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44450 #define $ac_func innocuous_$ac_func
44451
44452 /* System header to define __stub macros and hopefully few prototypes,
44453     which can conflict with char $ac_func (); below.
44454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44455     <limits.h> exists even on freestanding compilers.  */
44456
44457 #ifdef __STDC__
44458 # include <limits.h>
44459 #else
44460 # include <assert.h>
44461 #endif
44462
44463 #undef $ac_func
44464
44465 /* Override any gcc2 internal prototype to avoid an error.  */
44466 #ifdef __cplusplus
44467 extern "C"
44468 {
44469 #endif
44470 /* We use char because int might match the return type of a gcc2
44471    builtin and then its argument prototype would still apply.  */
44472 char $ac_func ();
44473 /* The GNU C library defines this for functions which it implements
44474     to always fail with ENOSYS.  Some functions are actually named
44475     something starting with __ and the normal name is an alias.  */
44476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44477 choke me
44478 #else
44479 char (*f) () = $ac_func;
44480 #endif
44481 #ifdef __cplusplus
44482 }
44483 #endif
44484
44485 int
44486 main ()
44487 {
44488 return f != $ac_func;
44489   ;
44490   return 0;
44491 }
44492 _ACEOF
44493 rm -f conftest.$ac_objext conftest$ac_exeext
44494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44495   (eval $ac_link) 2>conftest.er1
44496   ac_status=$?
44497   grep -v '^ *+' conftest.er1 >conftest.err
44498   rm -f conftest.er1
44499   cat conftest.err >&5
44500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501   (exit $ac_status); } &&
44502          { ac_try='test -z "$ac_c_werror_flag"
44503                          || test ! -s conftest.err'
44504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44505   (eval $ac_try) 2>&5
44506   ac_status=$?
44507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508   (exit $ac_status); }; } &&
44509          { ac_try='test -s conftest$ac_exeext'
44510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511   (eval $ac_try) 2>&5
44512   ac_status=$?
44513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514   (exit $ac_status); }; }; then
44515   eval "$as_ac_var=yes"
44516 else
44517   echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.$ac_ext >&5
44519
44520 eval "$as_ac_var=no"
44521 fi
44522 rm -f conftest.err conftest.$ac_objext \
44523       conftest$ac_exeext conftest.$ac_ext
44524 fi
44525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44527 if test `eval echo '${'$as_ac_var'}'` = yes; then
44528   cat >>confdefs.h <<_ACEOF
44529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44530 _ACEOF
44531
44532 fi
44533 done
44534
44535   else
44536
44537   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44538 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44539   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44540     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44541   echo $ECHO_N "(cached) $ECHO_C" >&6
44542 else
44543
44544
44545
44546       ac_ext=cc
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552       cat >conftest.$ac_ext <<_ACEOF
44553 /* confdefs.h.  */
44554 _ACEOF
44555 cat confdefs.h >>conftest.$ac_ext
44556 cat >>conftest.$ac_ext <<_ACEOF
44557 /* end confdefs.h.  */
44558 #include <math.h>
44559                       #ifdef HAVE_IEEEFP_H
44560                       #include <ieeefp.h>
44561                       #endif
44562
44563 int
44564 main ()
44565 {
44566  _isnan(0);
44567   ;
44568   return 0;
44569 }
44570 _ACEOF
44571 rm -f conftest.$ac_objext
44572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44573   (eval $ac_compile) 2>conftest.er1
44574   ac_status=$?
44575   grep -v '^ *+' conftest.er1 >conftest.err
44576   rm -f conftest.er1
44577   cat conftest.err >&5
44578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579   (exit $ac_status); } &&
44580          { ac_try='test -z "$ac_cxx_werror_flag"
44581                          || test ! -s conftest.err'
44582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44583   (eval $ac_try) 2>&5
44584   ac_status=$?
44585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586   (exit $ac_status); }; } &&
44587          { ac_try='test -s conftest.$ac_objext'
44588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589   (eval $ac_try) 2>&5
44590   ac_status=$?
44591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592   (exit $ac_status); }; }; then
44593   glibcxx_cv_func__isnan_use=yes
44594 else
44595   echo "$as_me: failed program was:" >&5
44596 sed 's/^/| /' conftest.$ac_ext >&5
44597
44598 glibcxx_cv_func__isnan_use=no
44599 fi
44600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44601       ac_ext=c
44602 ac_cpp='$CPP $CPPFLAGS'
44603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44606
44607
44608 fi
44609
44610   fi
44611   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44612 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44613
44614     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44615
44616 for ac_func in _isnan
44617 do
44618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44619 echo "$as_me:$LINENO: checking for $ac_func" >&5
44620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44621 if eval "test \"\${$as_ac_var+set}\" = set"; then
44622   echo $ECHO_N "(cached) $ECHO_C" >&6
44623 else
44624   if test x$gcc_no_link = xyes; then
44625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44627    { (exit 1); exit 1; }; }
44628 fi
44629 cat >conftest.$ac_ext <<_ACEOF
44630 /* confdefs.h.  */
44631 _ACEOF
44632 cat confdefs.h >>conftest.$ac_ext
44633 cat >>conftest.$ac_ext <<_ACEOF
44634 /* end confdefs.h.  */
44635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44637 #define $ac_func innocuous_$ac_func
44638
44639 /* System header to define __stub macros and hopefully few prototypes,
44640     which can conflict with char $ac_func (); below.
44641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44642     <limits.h> exists even on freestanding compilers.  */
44643
44644 #ifdef __STDC__
44645 # include <limits.h>
44646 #else
44647 # include <assert.h>
44648 #endif
44649
44650 #undef $ac_func
44651
44652 /* Override any gcc2 internal prototype to avoid an error.  */
44653 #ifdef __cplusplus
44654 extern "C"
44655 {
44656 #endif
44657 /* We use char because int might match the return type of a gcc2
44658    builtin and then its argument prototype would still apply.  */
44659 char $ac_func ();
44660 /* The GNU C library defines this for functions which it implements
44661     to always fail with ENOSYS.  Some functions are actually named
44662     something starting with __ and the normal name is an alias.  */
44663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44664 choke me
44665 #else
44666 char (*f) () = $ac_func;
44667 #endif
44668 #ifdef __cplusplus
44669 }
44670 #endif
44671
44672 int
44673 main ()
44674 {
44675 return f != $ac_func;
44676   ;
44677   return 0;
44678 }
44679 _ACEOF
44680 rm -f conftest.$ac_objext conftest$ac_exeext
44681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44682   (eval $ac_link) 2>conftest.er1
44683   ac_status=$?
44684   grep -v '^ *+' conftest.er1 >conftest.err
44685   rm -f conftest.er1
44686   cat conftest.err >&5
44687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688   (exit $ac_status); } &&
44689          { ac_try='test -z "$ac_c_werror_flag"
44690                          || test ! -s conftest.err'
44691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44692   (eval $ac_try) 2>&5
44693   ac_status=$?
44694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695   (exit $ac_status); }; } &&
44696          { ac_try='test -s conftest$ac_exeext'
44697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698   (eval $ac_try) 2>&5
44699   ac_status=$?
44700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701   (exit $ac_status); }; }; then
44702   eval "$as_ac_var=yes"
44703 else
44704   echo "$as_me: failed program was:" >&5
44705 sed 's/^/| /' conftest.$ac_ext >&5
44706
44707 eval "$as_ac_var=no"
44708 fi
44709 rm -f conftest.err conftest.$ac_objext \
44710       conftest$ac_exeext conftest.$ac_ext
44711 fi
44712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44714 if test `eval echo '${'$as_ac_var'}'` = yes; then
44715   cat >>confdefs.h <<_ACEOF
44716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44717 _ACEOF
44718
44719 fi
44720 done
44721
44722     fi
44723   fi
44724
44725
44726
44727
44728
44729
44730   echo "$as_me:$LINENO: checking for finite declaration" >&5
44731 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44732   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44733     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44734   echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736
44737
44738
44739       ac_ext=cc
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44744
44745       cat >conftest.$ac_ext <<_ACEOF
44746 /* confdefs.h.  */
44747 _ACEOF
44748 cat confdefs.h >>conftest.$ac_ext
44749 cat >>conftest.$ac_ext <<_ACEOF
44750 /* end confdefs.h.  */
44751 #include <math.h>
44752                       #ifdef HAVE_IEEEFP_H
44753                       #include <ieeefp.h>
44754                       #endif
44755
44756 int
44757 main ()
44758 {
44759  finite(0);
44760   ;
44761   return 0;
44762 }
44763 _ACEOF
44764 rm -f conftest.$ac_objext
44765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44766   (eval $ac_compile) 2>conftest.er1
44767   ac_status=$?
44768   grep -v '^ *+' conftest.er1 >conftest.err
44769   rm -f conftest.er1
44770   cat conftest.err >&5
44771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772   (exit $ac_status); } &&
44773          { ac_try='test -z "$ac_cxx_werror_flag"
44774                          || test ! -s conftest.err'
44775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44776   (eval $ac_try) 2>&5
44777   ac_status=$?
44778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44779   (exit $ac_status); }; } &&
44780          { ac_try='test -s conftest.$ac_objext'
44781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44782   (eval $ac_try) 2>&5
44783   ac_status=$?
44784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785   (exit $ac_status); }; }; then
44786   glibcxx_cv_func_finite_use=yes
44787 else
44788   echo "$as_me: failed program was:" >&5
44789 sed 's/^/| /' conftest.$ac_ext >&5
44790
44791 glibcxx_cv_func_finite_use=no
44792 fi
44793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44794       ac_ext=c
44795 ac_cpp='$CPP $CPPFLAGS'
44796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44799
44800
44801 fi
44802
44803   fi
44804   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44805 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44806
44807   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44808
44809 for ac_func in finite
44810 do
44811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44812 echo "$as_me:$LINENO: checking for $ac_func" >&5
44813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44814 if eval "test \"\${$as_ac_var+set}\" = set"; then
44815   echo $ECHO_N "(cached) $ECHO_C" >&6
44816 else
44817   if test x$gcc_no_link = xyes; then
44818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44820    { (exit 1); exit 1; }; }
44821 fi
44822 cat >conftest.$ac_ext <<_ACEOF
44823 /* confdefs.h.  */
44824 _ACEOF
44825 cat confdefs.h >>conftest.$ac_ext
44826 cat >>conftest.$ac_ext <<_ACEOF
44827 /* end confdefs.h.  */
44828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44830 #define $ac_func innocuous_$ac_func
44831
44832 /* System header to define __stub macros and hopefully few prototypes,
44833     which can conflict with char $ac_func (); below.
44834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44835     <limits.h> exists even on freestanding compilers.  */
44836
44837 #ifdef __STDC__
44838 # include <limits.h>
44839 #else
44840 # include <assert.h>
44841 #endif
44842
44843 #undef $ac_func
44844
44845 /* Override any gcc2 internal prototype to avoid an error.  */
44846 #ifdef __cplusplus
44847 extern "C"
44848 {
44849 #endif
44850 /* We use char because int might match the return type of a gcc2
44851    builtin and then its argument prototype would still apply.  */
44852 char $ac_func ();
44853 /* The GNU C library defines this for functions which it implements
44854     to always fail with ENOSYS.  Some functions are actually named
44855     something starting with __ and the normal name is an alias.  */
44856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44857 choke me
44858 #else
44859 char (*f) () = $ac_func;
44860 #endif
44861 #ifdef __cplusplus
44862 }
44863 #endif
44864
44865 int
44866 main ()
44867 {
44868 return f != $ac_func;
44869   ;
44870   return 0;
44871 }
44872 _ACEOF
44873 rm -f conftest.$ac_objext conftest$ac_exeext
44874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44875   (eval $ac_link) 2>conftest.er1
44876   ac_status=$?
44877   grep -v '^ *+' conftest.er1 >conftest.err
44878   rm -f conftest.er1
44879   cat conftest.err >&5
44880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881   (exit $ac_status); } &&
44882          { ac_try='test -z "$ac_c_werror_flag"
44883                          || test ! -s conftest.err'
44884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44885   (eval $ac_try) 2>&5
44886   ac_status=$?
44887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888   (exit $ac_status); }; } &&
44889          { ac_try='test -s conftest$ac_exeext'
44890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891   (eval $ac_try) 2>&5
44892   ac_status=$?
44893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894   (exit $ac_status); }; }; then
44895   eval "$as_ac_var=yes"
44896 else
44897   echo "$as_me: failed program was:" >&5
44898 sed 's/^/| /' conftest.$ac_ext >&5
44899
44900 eval "$as_ac_var=no"
44901 fi
44902 rm -f conftest.err conftest.$ac_objext \
44903       conftest$ac_exeext conftest.$ac_ext
44904 fi
44905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44907 if test `eval echo '${'$as_ac_var'}'` = yes; then
44908   cat >>confdefs.h <<_ACEOF
44909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44910 _ACEOF
44911
44912 fi
44913 done
44914
44915   else
44916
44917   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44918 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44919   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44920     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44921   echo $ECHO_N "(cached) $ECHO_C" >&6
44922 else
44923
44924
44925
44926       ac_ext=cc
44927 ac_cpp='$CXXCPP $CPPFLAGS'
44928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44931
44932       cat >conftest.$ac_ext <<_ACEOF
44933 /* confdefs.h.  */
44934 _ACEOF
44935 cat confdefs.h >>conftest.$ac_ext
44936 cat >>conftest.$ac_ext <<_ACEOF
44937 /* end confdefs.h.  */
44938 #include <math.h>
44939                       #ifdef HAVE_IEEEFP_H
44940                       #include <ieeefp.h>
44941                       #endif
44942
44943 int
44944 main ()
44945 {
44946  _finite(0);
44947   ;
44948   return 0;
44949 }
44950 _ACEOF
44951 rm -f conftest.$ac_objext
44952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44953   (eval $ac_compile) 2>conftest.er1
44954   ac_status=$?
44955   grep -v '^ *+' conftest.er1 >conftest.err
44956   rm -f conftest.er1
44957   cat conftest.err >&5
44958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44959   (exit $ac_status); } &&
44960          { ac_try='test -z "$ac_cxx_werror_flag"
44961                          || test ! -s conftest.err'
44962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44963   (eval $ac_try) 2>&5
44964   ac_status=$?
44965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966   (exit $ac_status); }; } &&
44967          { ac_try='test -s conftest.$ac_objext'
44968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44969   (eval $ac_try) 2>&5
44970   ac_status=$?
44971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44972   (exit $ac_status); }; }; then
44973   glibcxx_cv_func__finite_use=yes
44974 else
44975   echo "$as_me: failed program was:" >&5
44976 sed 's/^/| /' conftest.$ac_ext >&5
44977
44978 glibcxx_cv_func__finite_use=no
44979 fi
44980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44981       ac_ext=c
44982 ac_cpp='$CPP $CPPFLAGS'
44983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44986
44987
44988 fi
44989
44990   fi
44991   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44992 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44993
44994     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44995
44996 for ac_func in _finite
44997 do
44998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44999 echo "$as_me:$LINENO: checking for $ac_func" >&5
45000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45001 if eval "test \"\${$as_ac_var+set}\" = set"; then
45002   echo $ECHO_N "(cached) $ECHO_C" >&6
45003 else
45004   if test x$gcc_no_link = xyes; then
45005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45007    { (exit 1); exit 1; }; }
45008 fi
45009 cat >conftest.$ac_ext <<_ACEOF
45010 /* confdefs.h.  */
45011 _ACEOF
45012 cat confdefs.h >>conftest.$ac_ext
45013 cat >>conftest.$ac_ext <<_ACEOF
45014 /* end confdefs.h.  */
45015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45017 #define $ac_func innocuous_$ac_func
45018
45019 /* System header to define __stub macros and hopefully few prototypes,
45020     which can conflict with char $ac_func (); below.
45021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45022     <limits.h> exists even on freestanding compilers.  */
45023
45024 #ifdef __STDC__
45025 # include <limits.h>
45026 #else
45027 # include <assert.h>
45028 #endif
45029
45030 #undef $ac_func
45031
45032 /* Override any gcc2 internal prototype to avoid an error.  */
45033 #ifdef __cplusplus
45034 extern "C"
45035 {
45036 #endif
45037 /* We use char because int might match the return type of a gcc2
45038    builtin and then its argument prototype would still apply.  */
45039 char $ac_func ();
45040 /* The GNU C library defines this for functions which it implements
45041     to always fail with ENOSYS.  Some functions are actually named
45042     something starting with __ and the normal name is an alias.  */
45043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45044 choke me
45045 #else
45046 char (*f) () = $ac_func;
45047 #endif
45048 #ifdef __cplusplus
45049 }
45050 #endif
45051
45052 int
45053 main ()
45054 {
45055 return f != $ac_func;
45056   ;
45057   return 0;
45058 }
45059 _ACEOF
45060 rm -f conftest.$ac_objext conftest$ac_exeext
45061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45062   (eval $ac_link) 2>conftest.er1
45063   ac_status=$?
45064   grep -v '^ *+' conftest.er1 >conftest.err
45065   rm -f conftest.er1
45066   cat conftest.err >&5
45067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068   (exit $ac_status); } &&
45069          { ac_try='test -z "$ac_c_werror_flag"
45070                          || test ! -s conftest.err'
45071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072   (eval $ac_try) 2>&5
45073   ac_status=$?
45074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075   (exit $ac_status); }; } &&
45076          { ac_try='test -s conftest$ac_exeext'
45077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078   (eval $ac_try) 2>&5
45079   ac_status=$?
45080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081   (exit $ac_status); }; }; then
45082   eval "$as_ac_var=yes"
45083 else
45084   echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.$ac_ext >&5
45086
45087 eval "$as_ac_var=no"
45088 fi
45089 rm -f conftest.err conftest.$ac_objext \
45090       conftest$ac_exeext conftest.$ac_ext
45091 fi
45092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45094 if test `eval echo '${'$as_ac_var'}'` = yes; then
45095   cat >>confdefs.h <<_ACEOF
45096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45097 _ACEOF
45098
45099 fi
45100 done
45101
45102     fi
45103   fi
45104
45105
45106
45107
45108
45109
45110   echo "$as_me:$LINENO: checking for copysign declaration" >&5
45111 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
45112   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
45113     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
45114   echo $ECHO_N "(cached) $ECHO_C" >&6
45115 else
45116
45117
45118
45119       ac_ext=cc
45120 ac_cpp='$CXXCPP $CPPFLAGS'
45121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45124
45125       cat >conftest.$ac_ext <<_ACEOF
45126 /* confdefs.h.  */
45127 _ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h.  */
45131 #include <math.h>
45132 int
45133 main ()
45134 {
45135  copysign(0, 0);
45136   ;
45137   return 0;
45138 }
45139 _ACEOF
45140 rm -f conftest.$ac_objext
45141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45142   (eval $ac_compile) 2>conftest.er1
45143   ac_status=$?
45144   grep -v '^ *+' conftest.er1 >conftest.err
45145   rm -f conftest.er1
45146   cat conftest.err >&5
45147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148   (exit $ac_status); } &&
45149          { ac_try='test -z "$ac_cxx_werror_flag"
45150                          || test ! -s conftest.err'
45151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45152   (eval $ac_try) 2>&5
45153   ac_status=$?
45154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155   (exit $ac_status); }; } &&
45156          { ac_try='test -s conftest.$ac_objext'
45157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45158   (eval $ac_try) 2>&5
45159   ac_status=$?
45160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161   (exit $ac_status); }; }; then
45162   glibcxx_cv_func_copysign_use=yes
45163 else
45164   echo "$as_me: failed program was:" >&5
45165 sed 's/^/| /' conftest.$ac_ext >&5
45166
45167 glibcxx_cv_func_copysign_use=no
45168 fi
45169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45170       ac_ext=c
45171 ac_cpp='$CPP $CPPFLAGS'
45172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45175
45176
45177 fi
45178
45179   fi
45180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
45181 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
45182
45183   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
45184
45185 for ac_func in copysign
45186 do
45187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45188 echo "$as_me:$LINENO: checking for $ac_func" >&5
45189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45190 if eval "test \"\${$as_ac_var+set}\" = set"; then
45191   echo $ECHO_N "(cached) $ECHO_C" >&6
45192 else
45193   if test x$gcc_no_link = xyes; then
45194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45196    { (exit 1); exit 1; }; }
45197 fi
45198 cat >conftest.$ac_ext <<_ACEOF
45199 /* confdefs.h.  */
45200 _ACEOF
45201 cat confdefs.h >>conftest.$ac_ext
45202 cat >>conftest.$ac_ext <<_ACEOF
45203 /* end confdefs.h.  */
45204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45206 #define $ac_func innocuous_$ac_func
45207
45208 /* System header to define __stub macros and hopefully few prototypes,
45209     which can conflict with char $ac_func (); below.
45210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45211     <limits.h> exists even on freestanding compilers.  */
45212
45213 #ifdef __STDC__
45214 # include <limits.h>
45215 #else
45216 # include <assert.h>
45217 #endif
45218
45219 #undef $ac_func
45220
45221 /* Override any gcc2 internal prototype to avoid an error.  */
45222 #ifdef __cplusplus
45223 extern "C"
45224 {
45225 #endif
45226 /* We use char because int might match the return type of a gcc2
45227    builtin and then its argument prototype would still apply.  */
45228 char $ac_func ();
45229 /* The GNU C library defines this for functions which it implements
45230     to always fail with ENOSYS.  Some functions are actually named
45231     something starting with __ and the normal name is an alias.  */
45232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45233 choke me
45234 #else
45235 char (*f) () = $ac_func;
45236 #endif
45237 #ifdef __cplusplus
45238 }
45239 #endif
45240
45241 int
45242 main ()
45243 {
45244 return f != $ac_func;
45245   ;
45246   return 0;
45247 }
45248 _ACEOF
45249 rm -f conftest.$ac_objext conftest$ac_exeext
45250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45251   (eval $ac_link) 2>conftest.er1
45252   ac_status=$?
45253   grep -v '^ *+' conftest.er1 >conftest.err
45254   rm -f conftest.er1
45255   cat conftest.err >&5
45256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257   (exit $ac_status); } &&
45258          { ac_try='test -z "$ac_c_werror_flag"
45259                          || test ! -s conftest.err'
45260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261   (eval $ac_try) 2>&5
45262   ac_status=$?
45263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264   (exit $ac_status); }; } &&
45265          { ac_try='test -s conftest$ac_exeext'
45266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45267   (eval $ac_try) 2>&5
45268   ac_status=$?
45269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270   (exit $ac_status); }; }; then
45271   eval "$as_ac_var=yes"
45272 else
45273   echo "$as_me: failed program was:" >&5
45274 sed 's/^/| /' conftest.$ac_ext >&5
45275
45276 eval "$as_ac_var=no"
45277 fi
45278 rm -f conftest.err conftest.$ac_objext \
45279       conftest$ac_exeext conftest.$ac_ext
45280 fi
45281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45283 if test `eval echo '${'$as_ac_var'}'` = yes; then
45284   cat >>confdefs.h <<_ACEOF
45285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45286 _ACEOF
45287
45288 fi
45289 done
45290
45291   else
45292
45293   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
45294 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
45295   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
45296     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
45297   echo $ECHO_N "(cached) $ECHO_C" >&6
45298 else
45299
45300
45301
45302       ac_ext=cc
45303 ac_cpp='$CXXCPP $CPPFLAGS'
45304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45307
45308       cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h.  */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h.  */
45314 #include <math.h>
45315 int
45316 main ()
45317 {
45318  _copysign(0, 0);
45319   ;
45320   return 0;
45321 }
45322 _ACEOF
45323 rm -f conftest.$ac_objext
45324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45325   (eval $ac_compile) 2>conftest.er1
45326   ac_status=$?
45327   grep -v '^ *+' conftest.er1 >conftest.err
45328   rm -f conftest.er1
45329   cat conftest.err >&5
45330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331   (exit $ac_status); } &&
45332          { ac_try='test -z "$ac_cxx_werror_flag"
45333                          || test ! -s conftest.err'
45334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45335   (eval $ac_try) 2>&5
45336   ac_status=$?
45337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45338   (exit $ac_status); }; } &&
45339          { ac_try='test -s conftest.$ac_objext'
45340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45341   (eval $ac_try) 2>&5
45342   ac_status=$?
45343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344   (exit $ac_status); }; }; then
45345   glibcxx_cv_func__copysign_use=yes
45346 else
45347   echo "$as_me: failed program was:" >&5
45348 sed 's/^/| /' conftest.$ac_ext >&5
45349
45350 glibcxx_cv_func__copysign_use=no
45351 fi
45352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45353       ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45358
45359
45360 fi
45361
45362   fi
45363   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
45364 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
45365
45366     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
45367
45368 for ac_func in _copysign
45369 do
45370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45371 echo "$as_me:$LINENO: checking for $ac_func" >&5
45372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45373 if eval "test \"\${$as_ac_var+set}\" = set"; then
45374   echo $ECHO_N "(cached) $ECHO_C" >&6
45375 else
45376   if test x$gcc_no_link = xyes; then
45377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45379    { (exit 1); exit 1; }; }
45380 fi
45381 cat >conftest.$ac_ext <<_ACEOF
45382 /* confdefs.h.  */
45383 _ACEOF
45384 cat confdefs.h >>conftest.$ac_ext
45385 cat >>conftest.$ac_ext <<_ACEOF
45386 /* end confdefs.h.  */
45387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45389 #define $ac_func innocuous_$ac_func
45390
45391 /* System header to define __stub macros and hopefully few prototypes,
45392     which can conflict with char $ac_func (); below.
45393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45394     <limits.h> exists even on freestanding compilers.  */
45395
45396 #ifdef __STDC__
45397 # include <limits.h>
45398 #else
45399 # include <assert.h>
45400 #endif
45401
45402 #undef $ac_func
45403
45404 /* Override any gcc2 internal prototype to avoid an error.  */
45405 #ifdef __cplusplus
45406 extern "C"
45407 {
45408 #endif
45409 /* We use char because int might match the return type of a gcc2
45410    builtin and then its argument prototype would still apply.  */
45411 char $ac_func ();
45412 /* The GNU C library defines this for functions which it implements
45413     to always fail with ENOSYS.  Some functions are actually named
45414     something starting with __ and the normal name is an alias.  */
45415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45416 choke me
45417 #else
45418 char (*f) () = $ac_func;
45419 #endif
45420 #ifdef __cplusplus
45421 }
45422 #endif
45423
45424 int
45425 main ()
45426 {
45427 return f != $ac_func;
45428   ;
45429   return 0;
45430 }
45431 _ACEOF
45432 rm -f conftest.$ac_objext conftest$ac_exeext
45433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45434   (eval $ac_link) 2>conftest.er1
45435   ac_status=$?
45436   grep -v '^ *+' conftest.er1 >conftest.err
45437   rm -f conftest.er1
45438   cat conftest.err >&5
45439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440   (exit $ac_status); } &&
45441          { ac_try='test -z "$ac_c_werror_flag"
45442                          || test ! -s conftest.err'
45443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45444   (eval $ac_try) 2>&5
45445   ac_status=$?
45446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447   (exit $ac_status); }; } &&
45448          { ac_try='test -s conftest$ac_exeext'
45449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45450   (eval $ac_try) 2>&5
45451   ac_status=$?
45452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453   (exit $ac_status); }; }; then
45454   eval "$as_ac_var=yes"
45455 else
45456   echo "$as_me: failed program was:" >&5
45457 sed 's/^/| /' conftest.$ac_ext >&5
45458
45459 eval "$as_ac_var=no"
45460 fi
45461 rm -f conftest.err conftest.$ac_objext \
45462       conftest$ac_exeext conftest.$ac_ext
45463 fi
45464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45466 if test `eval echo '${'$as_ac_var'}'` = yes; then
45467   cat >>confdefs.h <<_ACEOF
45468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45469 _ACEOF
45470
45471 fi
45472 done
45473
45474     fi
45475   fi
45476
45477
45478
45479
45480
45481
45482   echo "$as_me:$LINENO: checking for sincos declaration" >&5
45483 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45484   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45485     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45486   echo $ECHO_N "(cached) $ECHO_C" >&6
45487 else
45488
45489
45490
45491       ac_ext=cc
45492 ac_cpp='$CXXCPP $CPPFLAGS'
45493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45496
45497       cat >conftest.$ac_ext <<_ACEOF
45498 /* confdefs.h.  */
45499 _ACEOF
45500 cat confdefs.h >>conftest.$ac_ext
45501 cat >>conftest.$ac_ext <<_ACEOF
45502 /* end confdefs.h.  */
45503 #include <math.h>
45504 int
45505 main ()
45506 {
45507  sincos(0, 0, 0);
45508   ;
45509   return 0;
45510 }
45511 _ACEOF
45512 rm -f conftest.$ac_objext
45513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45514   (eval $ac_compile) 2>conftest.er1
45515   ac_status=$?
45516   grep -v '^ *+' conftest.er1 >conftest.err
45517   rm -f conftest.er1
45518   cat conftest.err >&5
45519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45520   (exit $ac_status); } &&
45521          { ac_try='test -z "$ac_cxx_werror_flag"
45522                          || test ! -s conftest.err'
45523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45524   (eval $ac_try) 2>&5
45525   ac_status=$?
45526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527   (exit $ac_status); }; } &&
45528          { ac_try='test -s conftest.$ac_objext'
45529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45530   (eval $ac_try) 2>&5
45531   ac_status=$?
45532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533   (exit $ac_status); }; }; then
45534   glibcxx_cv_func_sincos_use=yes
45535 else
45536   echo "$as_me: failed program was:" >&5
45537 sed 's/^/| /' conftest.$ac_ext >&5
45538
45539 glibcxx_cv_func_sincos_use=no
45540 fi
45541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45542       ac_ext=c
45543 ac_cpp='$CPP $CPPFLAGS'
45544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547
45548
45549 fi
45550
45551   fi
45552   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45553 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45554
45555   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45556
45557 for ac_func in sincos
45558 do
45559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45560 echo "$as_me:$LINENO: checking for $ac_func" >&5
45561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45562 if eval "test \"\${$as_ac_var+set}\" = set"; then
45563   echo $ECHO_N "(cached) $ECHO_C" >&6
45564 else
45565   if test x$gcc_no_link = xyes; then
45566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45568    { (exit 1); exit 1; }; }
45569 fi
45570 cat >conftest.$ac_ext <<_ACEOF
45571 /* confdefs.h.  */
45572 _ACEOF
45573 cat confdefs.h >>conftest.$ac_ext
45574 cat >>conftest.$ac_ext <<_ACEOF
45575 /* end confdefs.h.  */
45576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45578 #define $ac_func innocuous_$ac_func
45579
45580 /* System header to define __stub macros and hopefully few prototypes,
45581     which can conflict with char $ac_func (); below.
45582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45583     <limits.h> exists even on freestanding compilers.  */
45584
45585 #ifdef __STDC__
45586 # include <limits.h>
45587 #else
45588 # include <assert.h>
45589 #endif
45590
45591 #undef $ac_func
45592
45593 /* Override any gcc2 internal prototype to avoid an error.  */
45594 #ifdef __cplusplus
45595 extern "C"
45596 {
45597 #endif
45598 /* We use char because int might match the return type of a gcc2
45599    builtin and then its argument prototype would still apply.  */
45600 char $ac_func ();
45601 /* The GNU C library defines this for functions which it implements
45602     to always fail with ENOSYS.  Some functions are actually named
45603     something starting with __ and the normal name is an alias.  */
45604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45605 choke me
45606 #else
45607 char (*f) () = $ac_func;
45608 #endif
45609 #ifdef __cplusplus
45610 }
45611 #endif
45612
45613 int
45614 main ()
45615 {
45616 return f != $ac_func;
45617   ;
45618   return 0;
45619 }
45620 _ACEOF
45621 rm -f conftest.$ac_objext conftest$ac_exeext
45622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45623   (eval $ac_link) 2>conftest.er1
45624   ac_status=$?
45625   grep -v '^ *+' conftest.er1 >conftest.err
45626   rm -f conftest.er1
45627   cat conftest.err >&5
45628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45629   (exit $ac_status); } &&
45630          { ac_try='test -z "$ac_c_werror_flag"
45631                          || test ! -s conftest.err'
45632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45633   (eval $ac_try) 2>&5
45634   ac_status=$?
45635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636   (exit $ac_status); }; } &&
45637          { ac_try='test -s conftest$ac_exeext'
45638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45639   (eval $ac_try) 2>&5
45640   ac_status=$?
45641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642   (exit $ac_status); }; }; then
45643   eval "$as_ac_var=yes"
45644 else
45645   echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45647
45648 eval "$as_ac_var=no"
45649 fi
45650 rm -f conftest.err conftest.$ac_objext \
45651       conftest$ac_exeext conftest.$ac_ext
45652 fi
45653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45655 if test `eval echo '${'$as_ac_var'}'` = yes; then
45656   cat >>confdefs.h <<_ACEOF
45657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45658 _ACEOF
45659
45660 fi
45661 done
45662
45663   else
45664
45665   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45666 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45667   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45668     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45669   echo $ECHO_N "(cached) $ECHO_C" >&6
45670 else
45671
45672
45673
45674       ac_ext=cc
45675 ac_cpp='$CXXCPP $CPPFLAGS'
45676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45679
45680       cat >conftest.$ac_ext <<_ACEOF
45681 /* confdefs.h.  */
45682 _ACEOF
45683 cat confdefs.h >>conftest.$ac_ext
45684 cat >>conftest.$ac_ext <<_ACEOF
45685 /* end confdefs.h.  */
45686 #include <math.h>
45687 int
45688 main ()
45689 {
45690  _sincos(0, 0, 0);
45691   ;
45692   return 0;
45693 }
45694 _ACEOF
45695 rm -f conftest.$ac_objext
45696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45697   (eval $ac_compile) 2>conftest.er1
45698   ac_status=$?
45699   grep -v '^ *+' conftest.er1 >conftest.err
45700   rm -f conftest.er1
45701   cat conftest.err >&5
45702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703   (exit $ac_status); } &&
45704          { ac_try='test -z "$ac_cxx_werror_flag"
45705                          || test ! -s conftest.err'
45706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45707   (eval $ac_try) 2>&5
45708   ac_status=$?
45709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45710   (exit $ac_status); }; } &&
45711          { ac_try='test -s conftest.$ac_objext'
45712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713   (eval $ac_try) 2>&5
45714   ac_status=$?
45715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716   (exit $ac_status); }; }; then
45717   glibcxx_cv_func__sincos_use=yes
45718 else
45719   echo "$as_me: failed program was:" >&5
45720 sed 's/^/| /' conftest.$ac_ext >&5
45721
45722 glibcxx_cv_func__sincos_use=no
45723 fi
45724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45725       ac_ext=c
45726 ac_cpp='$CPP $CPPFLAGS'
45727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45730
45731
45732 fi
45733
45734   fi
45735   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45736 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45737
45738     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45739
45740 for ac_func in _sincos
45741 do
45742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45743 echo "$as_me:$LINENO: checking for $ac_func" >&5
45744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45745 if eval "test \"\${$as_ac_var+set}\" = set"; then
45746   echo $ECHO_N "(cached) $ECHO_C" >&6
45747 else
45748   if test x$gcc_no_link = xyes; then
45749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45751    { (exit 1); exit 1; }; }
45752 fi
45753 cat >conftest.$ac_ext <<_ACEOF
45754 /* confdefs.h.  */
45755 _ACEOF
45756 cat confdefs.h >>conftest.$ac_ext
45757 cat >>conftest.$ac_ext <<_ACEOF
45758 /* end confdefs.h.  */
45759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45761 #define $ac_func innocuous_$ac_func
45762
45763 /* System header to define __stub macros and hopefully few prototypes,
45764     which can conflict with char $ac_func (); below.
45765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45766     <limits.h> exists even on freestanding compilers.  */
45767
45768 #ifdef __STDC__
45769 # include <limits.h>
45770 #else
45771 # include <assert.h>
45772 #endif
45773
45774 #undef $ac_func
45775
45776 /* Override any gcc2 internal prototype to avoid an error.  */
45777 #ifdef __cplusplus
45778 extern "C"
45779 {
45780 #endif
45781 /* We use char because int might match the return type of a gcc2
45782    builtin and then its argument prototype would still apply.  */
45783 char $ac_func ();
45784 /* The GNU C library defines this for functions which it implements
45785     to always fail with ENOSYS.  Some functions are actually named
45786     something starting with __ and the normal name is an alias.  */
45787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45788 choke me
45789 #else
45790 char (*f) () = $ac_func;
45791 #endif
45792 #ifdef __cplusplus
45793 }
45794 #endif
45795
45796 int
45797 main ()
45798 {
45799 return f != $ac_func;
45800   ;
45801   return 0;
45802 }
45803 _ACEOF
45804 rm -f conftest.$ac_objext conftest$ac_exeext
45805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45806   (eval $ac_link) 2>conftest.er1
45807   ac_status=$?
45808   grep -v '^ *+' conftest.er1 >conftest.err
45809   rm -f conftest.er1
45810   cat conftest.err >&5
45811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812   (exit $ac_status); } &&
45813          { ac_try='test -z "$ac_c_werror_flag"
45814                          || test ! -s conftest.err'
45815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45816   (eval $ac_try) 2>&5
45817   ac_status=$?
45818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45819   (exit $ac_status); }; } &&
45820          { ac_try='test -s conftest$ac_exeext'
45821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822   (eval $ac_try) 2>&5
45823   ac_status=$?
45824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825   (exit $ac_status); }; }; then
45826   eval "$as_ac_var=yes"
45827 else
45828   echo "$as_me: failed program was:" >&5
45829 sed 's/^/| /' conftest.$ac_ext >&5
45830
45831 eval "$as_ac_var=no"
45832 fi
45833 rm -f conftest.err conftest.$ac_objext \
45834       conftest$ac_exeext conftest.$ac_ext
45835 fi
45836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45838 if test `eval echo '${'$as_ac_var'}'` = yes; then
45839   cat >>confdefs.h <<_ACEOF
45840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45841 _ACEOF
45842
45843 fi
45844 done
45845
45846     fi
45847   fi
45848
45849
45850
45851
45852
45853
45854   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45855 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45856   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45857     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45858   echo $ECHO_N "(cached) $ECHO_C" >&6
45859 else
45860
45861
45862
45863       ac_ext=cc
45864 ac_cpp='$CXXCPP $CPPFLAGS'
45865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45868
45869       cat >conftest.$ac_ext <<_ACEOF
45870 /* confdefs.h.  */
45871 _ACEOF
45872 cat confdefs.h >>conftest.$ac_ext
45873 cat >>conftest.$ac_ext <<_ACEOF
45874 /* end confdefs.h.  */
45875 #include <math.h>
45876                       #ifdef HAVE_IEEEFP_H
45877                       #include <ieeefp.h>
45878                       #endif
45879
45880 int
45881 main ()
45882 {
45883  fpclass(0);
45884   ;
45885   return 0;
45886 }
45887 _ACEOF
45888 rm -f conftest.$ac_objext
45889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45890   (eval $ac_compile) 2>conftest.er1
45891   ac_status=$?
45892   grep -v '^ *+' conftest.er1 >conftest.err
45893   rm -f conftest.er1
45894   cat conftest.err >&5
45895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896   (exit $ac_status); } &&
45897          { ac_try='test -z "$ac_cxx_werror_flag"
45898                          || test ! -s conftest.err'
45899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45900   (eval $ac_try) 2>&5
45901   ac_status=$?
45902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903   (exit $ac_status); }; } &&
45904          { ac_try='test -s conftest.$ac_objext'
45905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45906   (eval $ac_try) 2>&5
45907   ac_status=$?
45908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45909   (exit $ac_status); }; }; then
45910   glibcxx_cv_func_fpclass_use=yes
45911 else
45912   echo "$as_me: failed program was:" >&5
45913 sed 's/^/| /' conftest.$ac_ext >&5
45914
45915 glibcxx_cv_func_fpclass_use=no
45916 fi
45917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45918       ac_ext=c
45919 ac_cpp='$CPP $CPPFLAGS'
45920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45923
45924
45925 fi
45926
45927   fi
45928   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45929 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45930
45931   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45932
45933 for ac_func in fpclass
45934 do
45935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45936 echo "$as_me:$LINENO: checking for $ac_func" >&5
45937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45938 if eval "test \"\${$as_ac_var+set}\" = set"; then
45939   echo $ECHO_N "(cached) $ECHO_C" >&6
45940 else
45941   if test x$gcc_no_link = xyes; then
45942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45944    { (exit 1); exit 1; }; }
45945 fi
45946 cat >conftest.$ac_ext <<_ACEOF
45947 /* confdefs.h.  */
45948 _ACEOF
45949 cat confdefs.h >>conftest.$ac_ext
45950 cat >>conftest.$ac_ext <<_ACEOF
45951 /* end confdefs.h.  */
45952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45954 #define $ac_func innocuous_$ac_func
45955
45956 /* System header to define __stub macros and hopefully few prototypes,
45957     which can conflict with char $ac_func (); below.
45958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45959     <limits.h> exists even on freestanding compilers.  */
45960
45961 #ifdef __STDC__
45962 # include <limits.h>
45963 #else
45964 # include <assert.h>
45965 #endif
45966
45967 #undef $ac_func
45968
45969 /* Override any gcc2 internal prototype to avoid an error.  */
45970 #ifdef __cplusplus
45971 extern "C"
45972 {
45973 #endif
45974 /* We use char because int might match the return type of a gcc2
45975    builtin and then its argument prototype would still apply.  */
45976 char $ac_func ();
45977 /* The GNU C library defines this for functions which it implements
45978     to always fail with ENOSYS.  Some functions are actually named
45979     something starting with __ and the normal name is an alias.  */
45980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45981 choke me
45982 #else
45983 char (*f) () = $ac_func;
45984 #endif
45985 #ifdef __cplusplus
45986 }
45987 #endif
45988
45989 int
45990 main ()
45991 {
45992 return f != $ac_func;
45993   ;
45994   return 0;
45995 }
45996 _ACEOF
45997 rm -f conftest.$ac_objext conftest$ac_exeext
45998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45999   (eval $ac_link) 2>conftest.er1
46000   ac_status=$?
46001   grep -v '^ *+' conftest.er1 >conftest.err
46002   rm -f conftest.er1
46003   cat conftest.err >&5
46004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46005   (exit $ac_status); } &&
46006          { ac_try='test -z "$ac_c_werror_flag"
46007                          || test ! -s conftest.err'
46008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46009   (eval $ac_try) 2>&5
46010   ac_status=$?
46011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012   (exit $ac_status); }; } &&
46013          { ac_try='test -s conftest$ac_exeext'
46014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46015   (eval $ac_try) 2>&5
46016   ac_status=$?
46017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018   (exit $ac_status); }; }; then
46019   eval "$as_ac_var=yes"
46020 else
46021   echo "$as_me: failed program was:" >&5
46022 sed 's/^/| /' conftest.$ac_ext >&5
46023
46024 eval "$as_ac_var=no"
46025 fi
46026 rm -f conftest.err conftest.$ac_objext \
46027       conftest$ac_exeext conftest.$ac_ext
46028 fi
46029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46031 if test `eval echo '${'$as_ac_var'}'` = yes; then
46032   cat >>confdefs.h <<_ACEOF
46033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46034 _ACEOF
46035
46036 fi
46037 done
46038
46039   else
46040
46041   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
46042 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
46043   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46044     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
46045   echo $ECHO_N "(cached) $ECHO_C" >&6
46046 else
46047
46048
46049
46050       ac_ext=cc
46051 ac_cpp='$CXXCPP $CPPFLAGS'
46052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46055
46056       cat >conftest.$ac_ext <<_ACEOF
46057 /* confdefs.h.  */
46058 _ACEOF
46059 cat confdefs.h >>conftest.$ac_ext
46060 cat >>conftest.$ac_ext <<_ACEOF
46061 /* end confdefs.h.  */
46062 #include <math.h>
46063                       #ifdef HAVE_IEEEFP_H
46064                       #include <ieeefp.h>
46065                       #endif
46066
46067 int
46068 main ()
46069 {
46070  _fpclass(0);
46071   ;
46072   return 0;
46073 }
46074 _ACEOF
46075 rm -f conftest.$ac_objext
46076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46077   (eval $ac_compile) 2>conftest.er1
46078   ac_status=$?
46079   grep -v '^ *+' conftest.er1 >conftest.err
46080   rm -f conftest.er1
46081   cat conftest.err >&5
46082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083   (exit $ac_status); } &&
46084          { ac_try='test -z "$ac_cxx_werror_flag"
46085                          || test ! -s conftest.err'
46086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46087   (eval $ac_try) 2>&5
46088   ac_status=$?
46089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46090   (exit $ac_status); }; } &&
46091          { ac_try='test -s conftest.$ac_objext'
46092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46093   (eval $ac_try) 2>&5
46094   ac_status=$?
46095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096   (exit $ac_status); }; }; then
46097   glibcxx_cv_func__fpclass_use=yes
46098 else
46099   echo "$as_me: failed program was:" >&5
46100 sed 's/^/| /' conftest.$ac_ext >&5
46101
46102 glibcxx_cv_func__fpclass_use=no
46103 fi
46104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46105       ac_ext=c
46106 ac_cpp='$CPP $CPPFLAGS'
46107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46110
46111
46112 fi
46113
46114   fi
46115   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
46116 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
46117
46118     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46119
46120 for ac_func in _fpclass
46121 do
46122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46123 echo "$as_me:$LINENO: checking for $ac_func" >&5
46124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46125 if eval "test \"\${$as_ac_var+set}\" = set"; then
46126   echo $ECHO_N "(cached) $ECHO_C" >&6
46127 else
46128   if test x$gcc_no_link = xyes; then
46129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46131    { (exit 1); exit 1; }; }
46132 fi
46133 cat >conftest.$ac_ext <<_ACEOF
46134 /* confdefs.h.  */
46135 _ACEOF
46136 cat confdefs.h >>conftest.$ac_ext
46137 cat >>conftest.$ac_ext <<_ACEOF
46138 /* end confdefs.h.  */
46139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46141 #define $ac_func innocuous_$ac_func
46142
46143 /* System header to define __stub macros and hopefully few prototypes,
46144     which can conflict with char $ac_func (); below.
46145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46146     <limits.h> exists even on freestanding compilers.  */
46147
46148 #ifdef __STDC__
46149 # include <limits.h>
46150 #else
46151 # include <assert.h>
46152 #endif
46153
46154 #undef $ac_func
46155
46156 /* Override any gcc2 internal prototype to avoid an error.  */
46157 #ifdef __cplusplus
46158 extern "C"
46159 {
46160 #endif
46161 /* We use char because int might match the return type of a gcc2
46162    builtin and then its argument prototype would still apply.  */
46163 char $ac_func ();
46164 /* The GNU C library defines this for functions which it implements
46165     to always fail with ENOSYS.  Some functions are actually named
46166     something starting with __ and the normal name is an alias.  */
46167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46168 choke me
46169 #else
46170 char (*f) () = $ac_func;
46171 #endif
46172 #ifdef __cplusplus
46173 }
46174 #endif
46175
46176 int
46177 main ()
46178 {
46179 return f != $ac_func;
46180   ;
46181   return 0;
46182 }
46183 _ACEOF
46184 rm -f conftest.$ac_objext conftest$ac_exeext
46185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46186   (eval $ac_link) 2>conftest.er1
46187   ac_status=$?
46188   grep -v '^ *+' conftest.er1 >conftest.err
46189   rm -f conftest.er1
46190   cat conftest.err >&5
46191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192   (exit $ac_status); } &&
46193          { ac_try='test -z "$ac_c_werror_flag"
46194                          || test ! -s conftest.err'
46195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46196   (eval $ac_try) 2>&5
46197   ac_status=$?
46198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199   (exit $ac_status); }; } &&
46200          { ac_try='test -s conftest$ac_exeext'
46201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46202   (eval $ac_try) 2>&5
46203   ac_status=$?
46204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205   (exit $ac_status); }; }; then
46206   eval "$as_ac_var=yes"
46207 else
46208   echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.$ac_ext >&5
46210
46211 eval "$as_ac_var=no"
46212 fi
46213 rm -f conftest.err conftest.$ac_objext \
46214       conftest$ac_exeext conftest.$ac_ext
46215 fi
46216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46218 if test `eval echo '${'$as_ac_var'}'` = yes; then
46219   cat >>confdefs.h <<_ACEOF
46220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46221 _ACEOF
46222
46223 fi
46224 done
46225
46226     fi
46227   fi
46228
46229
46230
46231
46232
46233
46234   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
46235 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
46236   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46237     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
46238   echo $ECHO_N "(cached) $ECHO_C" >&6
46239 else
46240
46241
46242
46243       ac_ext=cc
46244 ac_cpp='$CXXCPP $CPPFLAGS'
46245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46248
46249       cat >conftest.$ac_ext <<_ACEOF
46250 /* confdefs.h.  */
46251 _ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h.  */
46255 #include <math.h>
46256                       #ifdef HAVE_IEEEFP_H
46257                       #include <ieeefp.h>
46258                       #endif
46259
46260 int
46261 main ()
46262 {
46263  qfpclass(0);
46264   ;
46265   return 0;
46266 }
46267 _ACEOF
46268 rm -f conftest.$ac_objext
46269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46270   (eval $ac_compile) 2>conftest.er1
46271   ac_status=$?
46272   grep -v '^ *+' conftest.er1 >conftest.err
46273   rm -f conftest.er1
46274   cat conftest.err >&5
46275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46276   (exit $ac_status); } &&
46277          { ac_try='test -z "$ac_cxx_werror_flag"
46278                          || test ! -s conftest.err'
46279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46280   (eval $ac_try) 2>&5
46281   ac_status=$?
46282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46283   (exit $ac_status); }; } &&
46284          { ac_try='test -s conftest.$ac_objext'
46285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46286   (eval $ac_try) 2>&5
46287   ac_status=$?
46288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289   (exit $ac_status); }; }; then
46290   glibcxx_cv_func_qfpclass_use=yes
46291 else
46292   echo "$as_me: failed program was:" >&5
46293 sed 's/^/| /' conftest.$ac_ext >&5
46294
46295 glibcxx_cv_func_qfpclass_use=no
46296 fi
46297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46298       ac_ext=c
46299 ac_cpp='$CPP $CPPFLAGS'
46300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46303
46304
46305 fi
46306
46307   fi
46308   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
46309 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
46310
46311   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46312
46313 for ac_func in qfpclass
46314 do
46315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46316 echo "$as_me:$LINENO: checking for $ac_func" >&5
46317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46318 if eval "test \"\${$as_ac_var+set}\" = set"; then
46319   echo $ECHO_N "(cached) $ECHO_C" >&6
46320 else
46321   if test x$gcc_no_link = xyes; then
46322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46324    { (exit 1); exit 1; }; }
46325 fi
46326 cat >conftest.$ac_ext <<_ACEOF
46327 /* confdefs.h.  */
46328 _ACEOF
46329 cat confdefs.h >>conftest.$ac_ext
46330 cat >>conftest.$ac_ext <<_ACEOF
46331 /* end confdefs.h.  */
46332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46334 #define $ac_func innocuous_$ac_func
46335
46336 /* System header to define __stub macros and hopefully few prototypes,
46337     which can conflict with char $ac_func (); below.
46338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46339     <limits.h> exists even on freestanding compilers.  */
46340
46341 #ifdef __STDC__
46342 # include <limits.h>
46343 #else
46344 # include <assert.h>
46345 #endif
46346
46347 #undef $ac_func
46348
46349 /* Override any gcc2 internal prototype to avoid an error.  */
46350 #ifdef __cplusplus
46351 extern "C"
46352 {
46353 #endif
46354 /* We use char because int might match the return type of a gcc2
46355    builtin and then its argument prototype would still apply.  */
46356 char $ac_func ();
46357 /* The GNU C library defines this for functions which it implements
46358     to always fail with ENOSYS.  Some functions are actually named
46359     something starting with __ and the normal name is an alias.  */
46360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46361 choke me
46362 #else
46363 char (*f) () = $ac_func;
46364 #endif
46365 #ifdef __cplusplus
46366 }
46367 #endif
46368
46369 int
46370 main ()
46371 {
46372 return f != $ac_func;
46373   ;
46374   return 0;
46375 }
46376 _ACEOF
46377 rm -f conftest.$ac_objext conftest$ac_exeext
46378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46379   (eval $ac_link) 2>conftest.er1
46380   ac_status=$?
46381   grep -v '^ *+' conftest.er1 >conftest.err
46382   rm -f conftest.er1
46383   cat conftest.err >&5
46384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385   (exit $ac_status); } &&
46386          { ac_try='test -z "$ac_c_werror_flag"
46387                          || test ! -s conftest.err'
46388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46389   (eval $ac_try) 2>&5
46390   ac_status=$?
46391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392   (exit $ac_status); }; } &&
46393          { ac_try='test -s conftest$ac_exeext'
46394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46395   (eval $ac_try) 2>&5
46396   ac_status=$?
46397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398   (exit $ac_status); }; }; then
46399   eval "$as_ac_var=yes"
46400 else
46401   echo "$as_me: failed program was:" >&5
46402 sed 's/^/| /' conftest.$ac_ext >&5
46403
46404 eval "$as_ac_var=no"
46405 fi
46406 rm -f conftest.err conftest.$ac_objext \
46407       conftest$ac_exeext conftest.$ac_ext
46408 fi
46409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46411 if test `eval echo '${'$as_ac_var'}'` = yes; then
46412   cat >>confdefs.h <<_ACEOF
46413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46414 _ACEOF
46415
46416 fi
46417 done
46418
46419   else
46420
46421   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46422 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46423   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46424     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46425   echo $ECHO_N "(cached) $ECHO_C" >&6
46426 else
46427
46428
46429
46430       ac_ext=cc
46431 ac_cpp='$CXXCPP $CPPFLAGS'
46432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46435
46436       cat >conftest.$ac_ext <<_ACEOF
46437 /* confdefs.h.  */
46438 _ACEOF
46439 cat confdefs.h >>conftest.$ac_ext
46440 cat >>conftest.$ac_ext <<_ACEOF
46441 /* end confdefs.h.  */
46442 #include <math.h>
46443                       #ifdef HAVE_IEEEFP_H
46444                       #include <ieeefp.h>
46445                       #endif
46446
46447 int
46448 main ()
46449 {
46450  _qfpclass(0);
46451   ;
46452   return 0;
46453 }
46454 _ACEOF
46455 rm -f conftest.$ac_objext
46456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46457   (eval $ac_compile) 2>conftest.er1
46458   ac_status=$?
46459   grep -v '^ *+' conftest.er1 >conftest.err
46460   rm -f conftest.er1
46461   cat conftest.err >&5
46462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463   (exit $ac_status); } &&
46464          { ac_try='test -z "$ac_cxx_werror_flag"
46465                          || test ! -s conftest.err'
46466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46467   (eval $ac_try) 2>&5
46468   ac_status=$?
46469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46470   (exit $ac_status); }; } &&
46471          { ac_try='test -s conftest.$ac_objext'
46472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46473   (eval $ac_try) 2>&5
46474   ac_status=$?
46475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476   (exit $ac_status); }; }; then
46477   glibcxx_cv_func__qfpclass_use=yes
46478 else
46479   echo "$as_me: failed program was:" >&5
46480 sed 's/^/| /' conftest.$ac_ext >&5
46481
46482 glibcxx_cv_func__qfpclass_use=no
46483 fi
46484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46485       ac_ext=c
46486 ac_cpp='$CPP $CPPFLAGS'
46487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46490
46491
46492 fi
46493
46494   fi
46495   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46496 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46497
46498     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46499
46500 for ac_func in _qfpclass
46501 do
46502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46503 echo "$as_me:$LINENO: checking for $ac_func" >&5
46504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46505 if eval "test \"\${$as_ac_var+set}\" = set"; then
46506   echo $ECHO_N "(cached) $ECHO_C" >&6
46507 else
46508   if test x$gcc_no_link = xyes; then
46509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46511    { (exit 1); exit 1; }; }
46512 fi
46513 cat >conftest.$ac_ext <<_ACEOF
46514 /* confdefs.h.  */
46515 _ACEOF
46516 cat confdefs.h >>conftest.$ac_ext
46517 cat >>conftest.$ac_ext <<_ACEOF
46518 /* end confdefs.h.  */
46519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46521 #define $ac_func innocuous_$ac_func
46522
46523 /* System header to define __stub macros and hopefully few prototypes,
46524     which can conflict with char $ac_func (); below.
46525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46526     <limits.h> exists even on freestanding compilers.  */
46527
46528 #ifdef __STDC__
46529 # include <limits.h>
46530 #else
46531 # include <assert.h>
46532 #endif
46533
46534 #undef $ac_func
46535
46536 /* Override any gcc2 internal prototype to avoid an error.  */
46537 #ifdef __cplusplus
46538 extern "C"
46539 {
46540 #endif
46541 /* We use char because int might match the return type of a gcc2
46542    builtin and then its argument prototype would still apply.  */
46543 char $ac_func ();
46544 /* The GNU C library defines this for functions which it implements
46545     to always fail with ENOSYS.  Some functions are actually named
46546     something starting with __ and the normal name is an alias.  */
46547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46548 choke me
46549 #else
46550 char (*f) () = $ac_func;
46551 #endif
46552 #ifdef __cplusplus
46553 }
46554 #endif
46555
46556 int
46557 main ()
46558 {
46559 return f != $ac_func;
46560   ;
46561   return 0;
46562 }
46563 _ACEOF
46564 rm -f conftest.$ac_objext conftest$ac_exeext
46565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46566   (eval $ac_link) 2>conftest.er1
46567   ac_status=$?
46568   grep -v '^ *+' conftest.er1 >conftest.err
46569   rm -f conftest.er1
46570   cat conftest.err >&5
46571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572   (exit $ac_status); } &&
46573          { ac_try='test -z "$ac_c_werror_flag"
46574                          || test ! -s conftest.err'
46575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46576   (eval $ac_try) 2>&5
46577   ac_status=$?
46578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579   (exit $ac_status); }; } &&
46580          { ac_try='test -s conftest$ac_exeext'
46581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582   (eval $ac_try) 2>&5
46583   ac_status=$?
46584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585   (exit $ac_status); }; }; then
46586   eval "$as_ac_var=yes"
46587 else
46588   echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.$ac_ext >&5
46590
46591 eval "$as_ac_var=no"
46592 fi
46593 rm -f conftest.err conftest.$ac_objext \
46594       conftest$ac_exeext conftest.$ac_ext
46595 fi
46596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46598 if test `eval echo '${'$as_ac_var'}'` = yes; then
46599   cat >>confdefs.h <<_ACEOF
46600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46601 _ACEOF
46602
46603 fi
46604 done
46605
46606     fi
46607   fi
46608
46609
46610
46611
46612
46613
46614   echo "$as_me:$LINENO: checking for hypot declaration" >&5
46615 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46616   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46617     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46618   echo $ECHO_N "(cached) $ECHO_C" >&6
46619 else
46620
46621
46622
46623       ac_ext=cc
46624 ac_cpp='$CXXCPP $CPPFLAGS'
46625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46628
46629       cat >conftest.$ac_ext <<_ACEOF
46630 /* confdefs.h.  */
46631 _ACEOF
46632 cat confdefs.h >>conftest.$ac_ext
46633 cat >>conftest.$ac_ext <<_ACEOF
46634 /* end confdefs.h.  */
46635 #include <math.h>
46636 int
46637 main ()
46638 {
46639  hypot(0, 0);
46640   ;
46641   return 0;
46642 }
46643 _ACEOF
46644 rm -f conftest.$ac_objext
46645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46646   (eval $ac_compile) 2>conftest.er1
46647   ac_status=$?
46648   grep -v '^ *+' conftest.er1 >conftest.err
46649   rm -f conftest.er1
46650   cat conftest.err >&5
46651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652   (exit $ac_status); } &&
46653          { ac_try='test -z "$ac_cxx_werror_flag"
46654                          || test ! -s conftest.err'
46655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46656   (eval $ac_try) 2>&5
46657   ac_status=$?
46658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659   (exit $ac_status); }; } &&
46660          { ac_try='test -s conftest.$ac_objext'
46661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46662   (eval $ac_try) 2>&5
46663   ac_status=$?
46664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665   (exit $ac_status); }; }; then
46666   glibcxx_cv_func_hypot_use=yes
46667 else
46668   echo "$as_me: failed program was:" >&5
46669 sed 's/^/| /' conftest.$ac_ext >&5
46670
46671 glibcxx_cv_func_hypot_use=no
46672 fi
46673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46674       ac_ext=c
46675 ac_cpp='$CPP $CPPFLAGS'
46676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46679
46680
46681 fi
46682
46683   fi
46684   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46685 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46686
46687   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46688
46689 for ac_func in hypot
46690 do
46691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46692 echo "$as_me:$LINENO: checking for $ac_func" >&5
46693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46694 if eval "test \"\${$as_ac_var+set}\" = set"; then
46695   echo $ECHO_N "(cached) $ECHO_C" >&6
46696 else
46697   if test x$gcc_no_link = xyes; then
46698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46700    { (exit 1); exit 1; }; }
46701 fi
46702 cat >conftest.$ac_ext <<_ACEOF
46703 /* confdefs.h.  */
46704 _ACEOF
46705 cat confdefs.h >>conftest.$ac_ext
46706 cat >>conftest.$ac_ext <<_ACEOF
46707 /* end confdefs.h.  */
46708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46710 #define $ac_func innocuous_$ac_func
46711
46712 /* System header to define __stub macros and hopefully few prototypes,
46713     which can conflict with char $ac_func (); below.
46714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46715     <limits.h> exists even on freestanding compilers.  */
46716
46717 #ifdef __STDC__
46718 # include <limits.h>
46719 #else
46720 # include <assert.h>
46721 #endif
46722
46723 #undef $ac_func
46724
46725 /* Override any gcc2 internal prototype to avoid an error.  */
46726 #ifdef __cplusplus
46727 extern "C"
46728 {
46729 #endif
46730 /* We use char because int might match the return type of a gcc2
46731    builtin and then its argument prototype would still apply.  */
46732 char $ac_func ();
46733 /* The GNU C library defines this for functions which it implements
46734     to always fail with ENOSYS.  Some functions are actually named
46735     something starting with __ and the normal name is an alias.  */
46736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46737 choke me
46738 #else
46739 char (*f) () = $ac_func;
46740 #endif
46741 #ifdef __cplusplus
46742 }
46743 #endif
46744
46745 int
46746 main ()
46747 {
46748 return f != $ac_func;
46749   ;
46750   return 0;
46751 }
46752 _ACEOF
46753 rm -f conftest.$ac_objext conftest$ac_exeext
46754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46755   (eval $ac_link) 2>conftest.er1
46756   ac_status=$?
46757   grep -v '^ *+' conftest.er1 >conftest.err
46758   rm -f conftest.er1
46759   cat conftest.err >&5
46760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46761   (exit $ac_status); } &&
46762          { ac_try='test -z "$ac_c_werror_flag"
46763                          || test ! -s conftest.err'
46764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46765   (eval $ac_try) 2>&5
46766   ac_status=$?
46767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46768   (exit $ac_status); }; } &&
46769          { ac_try='test -s conftest$ac_exeext'
46770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46771   (eval $ac_try) 2>&5
46772   ac_status=$?
46773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46774   (exit $ac_status); }; }; then
46775   eval "$as_ac_var=yes"
46776 else
46777   echo "$as_me: failed program was:" >&5
46778 sed 's/^/| /' conftest.$ac_ext >&5
46779
46780 eval "$as_ac_var=no"
46781 fi
46782 rm -f conftest.err conftest.$ac_objext \
46783       conftest$ac_exeext conftest.$ac_ext
46784 fi
46785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46787 if test `eval echo '${'$as_ac_var'}'` = yes; then
46788   cat >>confdefs.h <<_ACEOF
46789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46790 _ACEOF
46791
46792 fi
46793 done
46794
46795   else
46796
46797   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46798 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46799   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46800     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46801   echo $ECHO_N "(cached) $ECHO_C" >&6
46802 else
46803
46804
46805
46806       ac_ext=cc
46807 ac_cpp='$CXXCPP $CPPFLAGS'
46808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811
46812       cat >conftest.$ac_ext <<_ACEOF
46813 /* confdefs.h.  */
46814 _ACEOF
46815 cat confdefs.h >>conftest.$ac_ext
46816 cat >>conftest.$ac_ext <<_ACEOF
46817 /* end confdefs.h.  */
46818 #include <math.h>
46819 int
46820 main ()
46821 {
46822  _hypot(0, 0);
46823   ;
46824   return 0;
46825 }
46826 _ACEOF
46827 rm -f conftest.$ac_objext
46828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46829   (eval $ac_compile) 2>conftest.er1
46830   ac_status=$?
46831   grep -v '^ *+' conftest.er1 >conftest.err
46832   rm -f conftest.er1
46833   cat conftest.err >&5
46834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835   (exit $ac_status); } &&
46836          { ac_try='test -z "$ac_cxx_werror_flag"
46837                          || test ! -s conftest.err'
46838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46839   (eval $ac_try) 2>&5
46840   ac_status=$?
46841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46842   (exit $ac_status); }; } &&
46843          { ac_try='test -s conftest.$ac_objext'
46844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46845   (eval $ac_try) 2>&5
46846   ac_status=$?
46847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848   (exit $ac_status); }; }; then
46849   glibcxx_cv_func__hypot_use=yes
46850 else
46851   echo "$as_me: failed program was:" >&5
46852 sed 's/^/| /' conftest.$ac_ext >&5
46853
46854 glibcxx_cv_func__hypot_use=no
46855 fi
46856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46857       ac_ext=c
46858 ac_cpp='$CPP $CPPFLAGS'
46859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46862
46863
46864 fi
46865
46866   fi
46867   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46868 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46869
46870     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46871
46872 for ac_func in _hypot
46873 do
46874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46875 echo "$as_me:$LINENO: checking for $ac_func" >&5
46876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46877 if eval "test \"\${$as_ac_var+set}\" = set"; then
46878   echo $ECHO_N "(cached) $ECHO_C" >&6
46879 else
46880   if test x$gcc_no_link = xyes; then
46881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46883    { (exit 1); exit 1; }; }
46884 fi
46885 cat >conftest.$ac_ext <<_ACEOF
46886 /* confdefs.h.  */
46887 _ACEOF
46888 cat confdefs.h >>conftest.$ac_ext
46889 cat >>conftest.$ac_ext <<_ACEOF
46890 /* end confdefs.h.  */
46891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46893 #define $ac_func innocuous_$ac_func
46894
46895 /* System header to define __stub macros and hopefully few prototypes,
46896     which can conflict with char $ac_func (); below.
46897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46898     <limits.h> exists even on freestanding compilers.  */
46899
46900 #ifdef __STDC__
46901 # include <limits.h>
46902 #else
46903 # include <assert.h>
46904 #endif
46905
46906 #undef $ac_func
46907
46908 /* Override any gcc2 internal prototype to avoid an error.  */
46909 #ifdef __cplusplus
46910 extern "C"
46911 {
46912 #endif
46913 /* We use char because int might match the return type of a gcc2
46914    builtin and then its argument prototype would still apply.  */
46915 char $ac_func ();
46916 /* The GNU C library defines this for functions which it implements
46917     to always fail with ENOSYS.  Some functions are actually named
46918     something starting with __ and the normal name is an alias.  */
46919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46920 choke me
46921 #else
46922 char (*f) () = $ac_func;
46923 #endif
46924 #ifdef __cplusplus
46925 }
46926 #endif
46927
46928 int
46929 main ()
46930 {
46931 return f != $ac_func;
46932   ;
46933   return 0;
46934 }
46935 _ACEOF
46936 rm -f conftest.$ac_objext conftest$ac_exeext
46937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46938   (eval $ac_link) 2>conftest.er1
46939   ac_status=$?
46940   grep -v '^ *+' conftest.er1 >conftest.err
46941   rm -f conftest.er1
46942   cat conftest.err >&5
46943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46944   (exit $ac_status); } &&
46945          { ac_try='test -z "$ac_c_werror_flag"
46946                          || test ! -s conftest.err'
46947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46948   (eval $ac_try) 2>&5
46949   ac_status=$?
46950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46951   (exit $ac_status); }; } &&
46952          { ac_try='test -s conftest$ac_exeext'
46953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46954   (eval $ac_try) 2>&5
46955   ac_status=$?
46956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957   (exit $ac_status); }; }; then
46958   eval "$as_ac_var=yes"
46959 else
46960   echo "$as_me: failed program was:" >&5
46961 sed 's/^/| /' conftest.$ac_ext >&5
46962
46963 eval "$as_ac_var=no"
46964 fi
46965 rm -f conftest.err conftest.$ac_objext \
46966       conftest$ac_exeext conftest.$ac_ext
46967 fi
46968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46970 if test `eval echo '${'$as_ac_var'}'` = yes; then
46971   cat >>confdefs.h <<_ACEOF
46972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46973 _ACEOF
46974
46975 fi
46976 done
46977
46978     fi
46979   fi
46980
46981
46982
46983
46984
46985
46986     echo "$as_me:$LINENO: checking for float trig functions" >&5
46987 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46988   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46989   echo $ECHO_N "(cached) $ECHO_C" >&6
46990 else
46991
46992
46993
46994     ac_ext=cc
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999
47000     cat >conftest.$ac_ext <<_ACEOF
47001 /* confdefs.h.  */
47002 _ACEOF
47003 cat confdefs.h >>conftest.$ac_ext
47004 cat >>conftest.$ac_ext <<_ACEOF
47005 /* end confdefs.h.  */
47006 #include <math.h>
47007 int
47008 main ()
47009 {
47010 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47011   ;
47012   return 0;
47013 }
47014 _ACEOF
47015 rm -f conftest.$ac_objext
47016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47017   (eval $ac_compile) 2>conftest.er1
47018   ac_status=$?
47019   grep -v '^ *+' conftest.er1 >conftest.err
47020   rm -f conftest.er1
47021   cat conftest.err >&5
47022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47023   (exit $ac_status); } &&
47024          { ac_try='test -z "$ac_cxx_werror_flag"
47025                          || test ! -s conftest.err'
47026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47027   (eval $ac_try) 2>&5
47028   ac_status=$?
47029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47030   (exit $ac_status); }; } &&
47031          { ac_try='test -s conftest.$ac_objext'
47032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47033   (eval $ac_try) 2>&5
47034   ac_status=$?
47035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47036   (exit $ac_status); }; }; then
47037   glibcxx_cv_func_float_trig_use=yes
47038 else
47039   echo "$as_me: failed program was:" >&5
47040 sed 's/^/| /' conftest.$ac_ext >&5
47041
47042 glibcxx_cv_func_float_trig_use=no
47043 fi
47044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47045     ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47050
47051 fi
47052
47053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
47054 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
47055   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47066 do
47067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47068 echo "$as_me:$LINENO: checking for $ac_func" >&5
47069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47070 if eval "test \"\${$as_ac_var+set}\" = set"; then
47071   echo $ECHO_N "(cached) $ECHO_C" >&6
47072 else
47073   if test x$gcc_no_link = xyes; then
47074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47076    { (exit 1); exit 1; }; }
47077 fi
47078 cat >conftest.$ac_ext <<_ACEOF
47079 /* confdefs.h.  */
47080 _ACEOF
47081 cat confdefs.h >>conftest.$ac_ext
47082 cat >>conftest.$ac_ext <<_ACEOF
47083 /* end confdefs.h.  */
47084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47086 #define $ac_func innocuous_$ac_func
47087
47088 /* System header to define __stub macros and hopefully few prototypes,
47089     which can conflict with char $ac_func (); below.
47090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47091     <limits.h> exists even on freestanding compilers.  */
47092
47093 #ifdef __STDC__
47094 # include <limits.h>
47095 #else
47096 # include <assert.h>
47097 #endif
47098
47099 #undef $ac_func
47100
47101 /* Override any gcc2 internal prototype to avoid an error.  */
47102 #ifdef __cplusplus
47103 extern "C"
47104 {
47105 #endif
47106 /* We use char because int might match the return type of a gcc2
47107    builtin and then its argument prototype would still apply.  */
47108 char $ac_func ();
47109 /* The GNU C library defines this for functions which it implements
47110     to always fail with ENOSYS.  Some functions are actually named
47111     something starting with __ and the normal name is an alias.  */
47112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47113 choke me
47114 #else
47115 char (*f) () = $ac_func;
47116 #endif
47117 #ifdef __cplusplus
47118 }
47119 #endif
47120
47121 int
47122 main ()
47123 {
47124 return f != $ac_func;
47125   ;
47126   return 0;
47127 }
47128 _ACEOF
47129 rm -f conftest.$ac_objext conftest$ac_exeext
47130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47131   (eval $ac_link) 2>conftest.er1
47132   ac_status=$?
47133   grep -v '^ *+' conftest.er1 >conftest.err
47134   rm -f conftest.er1
47135   cat conftest.err >&5
47136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137   (exit $ac_status); } &&
47138          { ac_try='test -z "$ac_c_werror_flag"
47139                          || test ! -s conftest.err'
47140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47141   (eval $ac_try) 2>&5
47142   ac_status=$?
47143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144   (exit $ac_status); }; } &&
47145          { ac_try='test -s conftest$ac_exeext'
47146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47147   (eval $ac_try) 2>&5
47148   ac_status=$?
47149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150   (exit $ac_status); }; }; then
47151   eval "$as_ac_var=yes"
47152 else
47153   echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.$ac_ext >&5
47155
47156 eval "$as_ac_var=no"
47157 fi
47158 rm -f conftest.err conftest.$ac_objext \
47159       conftest$ac_exeext conftest.$ac_ext
47160 fi
47161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47163 if test `eval echo '${'$as_ac_var'}'` = yes; then
47164   cat >>confdefs.h <<_ACEOF
47165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47166 _ACEOF
47167
47168 fi
47169 done
47170
47171   else
47172     echo "$as_me:$LINENO: checking for _float trig functions" >&5
47173 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47174     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47175   echo $ECHO_N "(cached) $ECHO_C" >&6
47176 else
47177
47178
47179
47180       ac_ext=cc
47181 ac_cpp='$CXXCPP $CPPFLAGS'
47182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47185
47186       cat >conftest.$ac_ext <<_ACEOF
47187 /* confdefs.h.  */
47188 _ACEOF
47189 cat confdefs.h >>conftest.$ac_ext
47190 cat >>conftest.$ac_ext <<_ACEOF
47191 /* end confdefs.h.  */
47192 #include <math.h>
47193 int
47194 main ()
47195 {
47196 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47197   ;
47198   return 0;
47199 }
47200 _ACEOF
47201 rm -f conftest.$ac_objext
47202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47203   (eval $ac_compile) 2>conftest.er1
47204   ac_status=$?
47205   grep -v '^ *+' conftest.er1 >conftest.err
47206   rm -f conftest.er1
47207   cat conftest.err >&5
47208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209   (exit $ac_status); } &&
47210          { ac_try='test -z "$ac_cxx_werror_flag"
47211                          || test ! -s conftest.err'
47212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47213   (eval $ac_try) 2>&5
47214   ac_status=$?
47215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47216   (exit $ac_status); }; } &&
47217          { ac_try='test -s conftest.$ac_objext'
47218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47219   (eval $ac_try) 2>&5
47220   ac_status=$?
47221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47222   (exit $ac_status); }; }; then
47223   glibcxx_cv_func__float_trig_use=yes
47224 else
47225   echo "$as_me: failed program was:" >&5
47226 sed 's/^/| /' conftest.$ac_ext >&5
47227
47228 glibcxx_cv_func__float_trig_use=no
47229 fi
47230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47231       ac_ext=c
47232 ac_cpp='$CPP $CPPFLAGS'
47233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47236
47237 fi
47238
47239     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47240 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47241     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47252 do
47253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47254 echo "$as_me:$LINENO: checking for $ac_func" >&5
47255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47256 if eval "test \"\${$as_ac_var+set}\" = set"; then
47257   echo $ECHO_N "(cached) $ECHO_C" >&6
47258 else
47259   if test x$gcc_no_link = xyes; then
47260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47262    { (exit 1); exit 1; }; }
47263 fi
47264 cat >conftest.$ac_ext <<_ACEOF
47265 /* confdefs.h.  */
47266 _ACEOF
47267 cat confdefs.h >>conftest.$ac_ext
47268 cat >>conftest.$ac_ext <<_ACEOF
47269 /* end confdefs.h.  */
47270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47272 #define $ac_func innocuous_$ac_func
47273
47274 /* System header to define __stub macros and hopefully few prototypes,
47275     which can conflict with char $ac_func (); below.
47276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47277     <limits.h> exists even on freestanding compilers.  */
47278
47279 #ifdef __STDC__
47280 # include <limits.h>
47281 #else
47282 # include <assert.h>
47283 #endif
47284
47285 #undef $ac_func
47286
47287 /* Override any gcc2 internal prototype to avoid an error.  */
47288 #ifdef __cplusplus
47289 extern "C"
47290 {
47291 #endif
47292 /* We use char because int might match the return type of a gcc2
47293    builtin and then its argument prototype would still apply.  */
47294 char $ac_func ();
47295 /* The GNU C library defines this for functions which it implements
47296     to always fail with ENOSYS.  Some functions are actually named
47297     something starting with __ and the normal name is an alias.  */
47298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47299 choke me
47300 #else
47301 char (*f) () = $ac_func;
47302 #endif
47303 #ifdef __cplusplus
47304 }
47305 #endif
47306
47307 int
47308 main ()
47309 {
47310 return f != $ac_func;
47311   ;
47312   return 0;
47313 }
47314 _ACEOF
47315 rm -f conftest.$ac_objext conftest$ac_exeext
47316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47317   (eval $ac_link) 2>conftest.er1
47318   ac_status=$?
47319   grep -v '^ *+' conftest.er1 >conftest.err
47320   rm -f conftest.er1
47321   cat conftest.err >&5
47322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323   (exit $ac_status); } &&
47324          { ac_try='test -z "$ac_c_werror_flag"
47325                          || test ! -s conftest.err'
47326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47327   (eval $ac_try) 2>&5
47328   ac_status=$?
47329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47330   (exit $ac_status); }; } &&
47331          { ac_try='test -s conftest$ac_exeext'
47332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47333   (eval $ac_try) 2>&5
47334   ac_status=$?
47335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47336   (exit $ac_status); }; }; then
47337   eval "$as_ac_var=yes"
47338 else
47339   echo "$as_me: failed program was:" >&5
47340 sed 's/^/| /' conftest.$ac_ext >&5
47341
47342 eval "$as_ac_var=no"
47343 fi
47344 rm -f conftest.err conftest.$ac_objext \
47345       conftest$ac_exeext conftest.$ac_ext
47346 fi
47347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47349 if test `eval echo '${'$as_ac_var'}'` = yes; then
47350   cat >>confdefs.h <<_ACEOF
47351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47352 _ACEOF
47353
47354 fi
47355 done
47356
47357     fi
47358   fi
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373     echo "$as_me:$LINENO: checking for float round functions" >&5
47374 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
47375   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
47376   echo $ECHO_N "(cached) $ECHO_C" >&6
47377 else
47378
47379
47380
47381     ac_ext=cc
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47386
47387     cat >conftest.$ac_ext <<_ACEOF
47388 /* confdefs.h.  */
47389 _ACEOF
47390 cat confdefs.h >>conftest.$ac_ext
47391 cat >>conftest.$ac_ext <<_ACEOF
47392 /* end confdefs.h.  */
47393 #include <math.h>
47394 int
47395 main ()
47396 {
47397 ceilf (0); floorf (0);
47398   ;
47399   return 0;
47400 }
47401 _ACEOF
47402 rm -f conftest.$ac_objext
47403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47404   (eval $ac_compile) 2>conftest.er1
47405   ac_status=$?
47406   grep -v '^ *+' conftest.er1 >conftest.err
47407   rm -f conftest.er1
47408   cat conftest.err >&5
47409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410   (exit $ac_status); } &&
47411          { ac_try='test -z "$ac_cxx_werror_flag"
47412                          || test ! -s conftest.err'
47413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47414   (eval $ac_try) 2>&5
47415   ac_status=$?
47416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47417   (exit $ac_status); }; } &&
47418          { ac_try='test -s conftest.$ac_objext'
47419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47420   (eval $ac_try) 2>&5
47421   ac_status=$?
47422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423   (exit $ac_status); }; }; then
47424   glibcxx_cv_func_float_round_use=yes
47425 else
47426   echo "$as_me: failed program was:" >&5
47427 sed 's/^/| /' conftest.$ac_ext >&5
47428
47429 glibcxx_cv_func_float_round_use=no
47430 fi
47431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47432     ac_ext=c
47433 ac_cpp='$CPP $CPPFLAGS'
47434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437
47438 fi
47439
47440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47441 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47442   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47443
47444
47445 for ac_func in ceilf floorf
47446 do
47447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47448 echo "$as_me:$LINENO: checking for $ac_func" >&5
47449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47450 if eval "test \"\${$as_ac_var+set}\" = set"; then
47451   echo $ECHO_N "(cached) $ECHO_C" >&6
47452 else
47453   if test x$gcc_no_link = xyes; then
47454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47456    { (exit 1); exit 1; }; }
47457 fi
47458 cat >conftest.$ac_ext <<_ACEOF
47459 /* confdefs.h.  */
47460 _ACEOF
47461 cat confdefs.h >>conftest.$ac_ext
47462 cat >>conftest.$ac_ext <<_ACEOF
47463 /* end confdefs.h.  */
47464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47466 #define $ac_func innocuous_$ac_func
47467
47468 /* System header to define __stub macros and hopefully few prototypes,
47469     which can conflict with char $ac_func (); below.
47470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47471     <limits.h> exists even on freestanding compilers.  */
47472
47473 #ifdef __STDC__
47474 # include <limits.h>
47475 #else
47476 # include <assert.h>
47477 #endif
47478
47479 #undef $ac_func
47480
47481 /* Override any gcc2 internal prototype to avoid an error.  */
47482 #ifdef __cplusplus
47483 extern "C"
47484 {
47485 #endif
47486 /* We use char because int might match the return type of a gcc2
47487    builtin and then its argument prototype would still apply.  */
47488 char $ac_func ();
47489 /* The GNU C library defines this for functions which it implements
47490     to always fail with ENOSYS.  Some functions are actually named
47491     something starting with __ and the normal name is an alias.  */
47492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47493 choke me
47494 #else
47495 char (*f) () = $ac_func;
47496 #endif
47497 #ifdef __cplusplus
47498 }
47499 #endif
47500
47501 int
47502 main ()
47503 {
47504 return f != $ac_func;
47505   ;
47506   return 0;
47507 }
47508 _ACEOF
47509 rm -f conftest.$ac_objext conftest$ac_exeext
47510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47511   (eval $ac_link) 2>conftest.er1
47512   ac_status=$?
47513   grep -v '^ *+' conftest.er1 >conftest.err
47514   rm -f conftest.er1
47515   cat conftest.err >&5
47516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517   (exit $ac_status); } &&
47518          { ac_try='test -z "$ac_c_werror_flag"
47519                          || test ! -s conftest.err'
47520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47521   (eval $ac_try) 2>&5
47522   ac_status=$?
47523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524   (exit $ac_status); }; } &&
47525          { ac_try='test -s conftest$ac_exeext'
47526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47527   (eval $ac_try) 2>&5
47528   ac_status=$?
47529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47530   (exit $ac_status); }; }; then
47531   eval "$as_ac_var=yes"
47532 else
47533   echo "$as_me: failed program was:" >&5
47534 sed 's/^/| /' conftest.$ac_ext >&5
47535
47536 eval "$as_ac_var=no"
47537 fi
47538 rm -f conftest.err conftest.$ac_objext \
47539       conftest$ac_exeext conftest.$ac_ext
47540 fi
47541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47543 if test `eval echo '${'$as_ac_var'}'` = yes; then
47544   cat >>confdefs.h <<_ACEOF
47545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47546 _ACEOF
47547
47548 fi
47549 done
47550
47551   else
47552     echo "$as_me:$LINENO: checking for _float round functions" >&5
47553 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47554     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47555   echo $ECHO_N "(cached) $ECHO_C" >&6
47556 else
47557
47558
47559
47560       ac_ext=cc
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565
47566       cat >conftest.$ac_ext <<_ACEOF
47567 /* confdefs.h.  */
47568 _ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h.  */
47572 #include <math.h>
47573 int
47574 main ()
47575 {
47576 _ceilf (0); _floorf (0);
47577   ;
47578   return 0;
47579 }
47580 _ACEOF
47581 rm -f conftest.$ac_objext
47582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47583   (eval $ac_compile) 2>conftest.er1
47584   ac_status=$?
47585   grep -v '^ *+' conftest.er1 >conftest.err
47586   rm -f conftest.er1
47587   cat conftest.err >&5
47588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47589   (exit $ac_status); } &&
47590          { ac_try='test -z "$ac_cxx_werror_flag"
47591                          || test ! -s conftest.err'
47592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47593   (eval $ac_try) 2>&5
47594   ac_status=$?
47595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47596   (exit $ac_status); }; } &&
47597          { ac_try='test -s conftest.$ac_objext'
47598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47599   (eval $ac_try) 2>&5
47600   ac_status=$?
47601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47602   (exit $ac_status); }; }; then
47603   glibcxx_cv_func__float_round_use=yes
47604 else
47605   echo "$as_me: failed program was:" >&5
47606 sed 's/^/| /' conftest.$ac_ext >&5
47607
47608 glibcxx_cv_func__float_round_use=no
47609 fi
47610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47611       ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616
47617 fi
47618
47619     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47620 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47621     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47622
47623
47624 for ac_func in _ceilf _floorf
47625 do
47626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47627 echo "$as_me:$LINENO: checking for $ac_func" >&5
47628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47629 if eval "test \"\${$as_ac_var+set}\" = set"; then
47630   echo $ECHO_N "(cached) $ECHO_C" >&6
47631 else
47632   if test x$gcc_no_link = xyes; then
47633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47635    { (exit 1); exit 1; }; }
47636 fi
47637 cat >conftest.$ac_ext <<_ACEOF
47638 /* confdefs.h.  */
47639 _ACEOF
47640 cat confdefs.h >>conftest.$ac_ext
47641 cat >>conftest.$ac_ext <<_ACEOF
47642 /* end confdefs.h.  */
47643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47645 #define $ac_func innocuous_$ac_func
47646
47647 /* System header to define __stub macros and hopefully few prototypes,
47648     which can conflict with char $ac_func (); below.
47649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47650     <limits.h> exists even on freestanding compilers.  */
47651
47652 #ifdef __STDC__
47653 # include <limits.h>
47654 #else
47655 # include <assert.h>
47656 #endif
47657
47658 #undef $ac_func
47659
47660 /* Override any gcc2 internal prototype to avoid an error.  */
47661 #ifdef __cplusplus
47662 extern "C"
47663 {
47664 #endif
47665 /* We use char because int might match the return type of a gcc2
47666    builtin and then its argument prototype would still apply.  */
47667 char $ac_func ();
47668 /* The GNU C library defines this for functions which it implements
47669     to always fail with ENOSYS.  Some functions are actually named
47670     something starting with __ and the normal name is an alias.  */
47671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47672 choke me
47673 #else
47674 char (*f) () = $ac_func;
47675 #endif
47676 #ifdef __cplusplus
47677 }
47678 #endif
47679
47680 int
47681 main ()
47682 {
47683 return f != $ac_func;
47684   ;
47685   return 0;
47686 }
47687 _ACEOF
47688 rm -f conftest.$ac_objext conftest$ac_exeext
47689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47690   (eval $ac_link) 2>conftest.er1
47691   ac_status=$?
47692   grep -v '^ *+' conftest.er1 >conftest.err
47693   rm -f conftest.er1
47694   cat conftest.err >&5
47695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696   (exit $ac_status); } &&
47697          { ac_try='test -z "$ac_c_werror_flag"
47698                          || test ! -s conftest.err'
47699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47700   (eval $ac_try) 2>&5
47701   ac_status=$?
47702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47703   (exit $ac_status); }; } &&
47704          { ac_try='test -s conftest$ac_exeext'
47705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47706   (eval $ac_try) 2>&5
47707   ac_status=$?
47708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47709   (exit $ac_status); }; }; then
47710   eval "$as_ac_var=yes"
47711 else
47712   echo "$as_me: failed program was:" >&5
47713 sed 's/^/| /' conftest.$ac_ext >&5
47714
47715 eval "$as_ac_var=no"
47716 fi
47717 rm -f conftest.err conftest.$ac_objext \
47718       conftest$ac_exeext conftest.$ac_ext
47719 fi
47720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47722 if test `eval echo '${'$as_ac_var'}'` = yes; then
47723   cat >>confdefs.h <<_ACEOF
47724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47725 _ACEOF
47726
47727 fi
47728 done
47729
47730     fi
47731   fi
47732
47733
47734
47735
47736
47737
47738
47739
47740   echo "$as_me:$LINENO: checking for expf declaration" >&5
47741 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47742   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47743     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47744   echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746
47747
47748
47749       ac_ext=cc
47750 ac_cpp='$CXXCPP $CPPFLAGS'
47751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47754
47755       cat >conftest.$ac_ext <<_ACEOF
47756 /* confdefs.h.  */
47757 _ACEOF
47758 cat confdefs.h >>conftest.$ac_ext
47759 cat >>conftest.$ac_ext <<_ACEOF
47760 /* end confdefs.h.  */
47761 #include <math.h>
47762                       #ifdef HAVE_IEEEFP_H
47763                       #include <ieeefp.h>
47764                       #endif
47765
47766 int
47767 main ()
47768 {
47769  expf(0);
47770   ;
47771   return 0;
47772 }
47773 _ACEOF
47774 rm -f conftest.$ac_objext
47775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47776   (eval $ac_compile) 2>conftest.er1
47777   ac_status=$?
47778   grep -v '^ *+' conftest.er1 >conftest.err
47779   rm -f conftest.er1
47780   cat conftest.err >&5
47781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47782   (exit $ac_status); } &&
47783          { ac_try='test -z "$ac_cxx_werror_flag"
47784                          || test ! -s conftest.err'
47785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47786   (eval $ac_try) 2>&5
47787   ac_status=$?
47788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789   (exit $ac_status); }; } &&
47790          { ac_try='test -s conftest.$ac_objext'
47791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47792   (eval $ac_try) 2>&5
47793   ac_status=$?
47794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795   (exit $ac_status); }; }; then
47796   glibcxx_cv_func_expf_use=yes
47797 else
47798   echo "$as_me: failed program was:" >&5
47799 sed 's/^/| /' conftest.$ac_ext >&5
47800
47801 glibcxx_cv_func_expf_use=no
47802 fi
47803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47804       ac_ext=c
47805 ac_cpp='$CPP $CPPFLAGS'
47806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47809
47810
47811 fi
47812
47813   fi
47814   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47815 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47816
47817   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47818
47819 for ac_func in expf
47820 do
47821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47822 echo "$as_me:$LINENO: checking for $ac_func" >&5
47823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47824 if eval "test \"\${$as_ac_var+set}\" = set"; then
47825   echo $ECHO_N "(cached) $ECHO_C" >&6
47826 else
47827   if test x$gcc_no_link = xyes; then
47828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47830    { (exit 1); exit 1; }; }
47831 fi
47832 cat >conftest.$ac_ext <<_ACEOF
47833 /* confdefs.h.  */
47834 _ACEOF
47835 cat confdefs.h >>conftest.$ac_ext
47836 cat >>conftest.$ac_ext <<_ACEOF
47837 /* end confdefs.h.  */
47838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47840 #define $ac_func innocuous_$ac_func
47841
47842 /* System header to define __stub macros and hopefully few prototypes,
47843     which can conflict with char $ac_func (); below.
47844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47845     <limits.h> exists even on freestanding compilers.  */
47846
47847 #ifdef __STDC__
47848 # include <limits.h>
47849 #else
47850 # include <assert.h>
47851 #endif
47852
47853 #undef $ac_func
47854
47855 /* Override any gcc2 internal prototype to avoid an error.  */
47856 #ifdef __cplusplus
47857 extern "C"
47858 {
47859 #endif
47860 /* We use char because int might match the return type of a gcc2
47861    builtin and then its argument prototype would still apply.  */
47862 char $ac_func ();
47863 /* The GNU C library defines this for functions which it implements
47864     to always fail with ENOSYS.  Some functions are actually named
47865     something starting with __ and the normal name is an alias.  */
47866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47867 choke me
47868 #else
47869 char (*f) () = $ac_func;
47870 #endif
47871 #ifdef __cplusplus
47872 }
47873 #endif
47874
47875 int
47876 main ()
47877 {
47878 return f != $ac_func;
47879   ;
47880   return 0;
47881 }
47882 _ACEOF
47883 rm -f conftest.$ac_objext conftest$ac_exeext
47884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47885   (eval $ac_link) 2>conftest.er1
47886   ac_status=$?
47887   grep -v '^ *+' conftest.er1 >conftest.err
47888   rm -f conftest.er1
47889   cat conftest.err >&5
47890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891   (exit $ac_status); } &&
47892          { ac_try='test -z "$ac_c_werror_flag"
47893                          || test ! -s conftest.err'
47894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47895   (eval $ac_try) 2>&5
47896   ac_status=$?
47897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47898   (exit $ac_status); }; } &&
47899          { ac_try='test -s conftest$ac_exeext'
47900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47901   (eval $ac_try) 2>&5
47902   ac_status=$?
47903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47904   (exit $ac_status); }; }; then
47905   eval "$as_ac_var=yes"
47906 else
47907   echo "$as_me: failed program was:" >&5
47908 sed 's/^/| /' conftest.$ac_ext >&5
47909
47910 eval "$as_ac_var=no"
47911 fi
47912 rm -f conftest.err conftest.$ac_objext \
47913       conftest$ac_exeext conftest.$ac_ext
47914 fi
47915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47917 if test `eval echo '${'$as_ac_var'}'` = yes; then
47918   cat >>confdefs.h <<_ACEOF
47919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47920 _ACEOF
47921
47922 fi
47923 done
47924
47925   else
47926
47927   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47928 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47929   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47930     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47931   echo $ECHO_N "(cached) $ECHO_C" >&6
47932 else
47933
47934
47935
47936       ac_ext=cc
47937 ac_cpp='$CXXCPP $CPPFLAGS'
47938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47941
47942       cat >conftest.$ac_ext <<_ACEOF
47943 /* confdefs.h.  */
47944 _ACEOF
47945 cat confdefs.h >>conftest.$ac_ext
47946 cat >>conftest.$ac_ext <<_ACEOF
47947 /* end confdefs.h.  */
47948 #include <math.h>
47949                       #ifdef HAVE_IEEEFP_H
47950                       #include <ieeefp.h>
47951                       #endif
47952
47953 int
47954 main ()
47955 {
47956  _expf(0);
47957   ;
47958   return 0;
47959 }
47960 _ACEOF
47961 rm -f conftest.$ac_objext
47962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47963   (eval $ac_compile) 2>conftest.er1
47964   ac_status=$?
47965   grep -v '^ *+' conftest.er1 >conftest.err
47966   rm -f conftest.er1
47967   cat conftest.err >&5
47968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47969   (exit $ac_status); } &&
47970          { ac_try='test -z "$ac_cxx_werror_flag"
47971                          || test ! -s conftest.err'
47972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47973   (eval $ac_try) 2>&5
47974   ac_status=$?
47975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976   (exit $ac_status); }; } &&
47977          { ac_try='test -s conftest.$ac_objext'
47978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47979   (eval $ac_try) 2>&5
47980   ac_status=$?
47981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47982   (exit $ac_status); }; }; then
47983   glibcxx_cv_func__expf_use=yes
47984 else
47985   echo "$as_me: failed program was:" >&5
47986 sed 's/^/| /' conftest.$ac_ext >&5
47987
47988 glibcxx_cv_func__expf_use=no
47989 fi
47990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47991       ac_ext=c
47992 ac_cpp='$CPP $CPPFLAGS'
47993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47996
47997
47998 fi
47999
48000   fi
48001   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
48002 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
48003
48004     if test x$glibcxx_cv_func__expf_use = x"yes"; then
48005
48006 for ac_func in _expf
48007 do
48008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48009 echo "$as_me:$LINENO: checking for $ac_func" >&5
48010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48011 if eval "test \"\${$as_ac_var+set}\" = set"; then
48012   echo $ECHO_N "(cached) $ECHO_C" >&6
48013 else
48014   if test x$gcc_no_link = xyes; then
48015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48017    { (exit 1); exit 1; }; }
48018 fi
48019 cat >conftest.$ac_ext <<_ACEOF
48020 /* confdefs.h.  */
48021 _ACEOF
48022 cat confdefs.h >>conftest.$ac_ext
48023 cat >>conftest.$ac_ext <<_ACEOF
48024 /* end confdefs.h.  */
48025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48027 #define $ac_func innocuous_$ac_func
48028
48029 /* System header to define __stub macros and hopefully few prototypes,
48030     which can conflict with char $ac_func (); below.
48031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48032     <limits.h> exists even on freestanding compilers.  */
48033
48034 #ifdef __STDC__
48035 # include <limits.h>
48036 #else
48037 # include <assert.h>
48038 #endif
48039
48040 #undef $ac_func
48041
48042 /* Override any gcc2 internal prototype to avoid an error.  */
48043 #ifdef __cplusplus
48044 extern "C"
48045 {
48046 #endif
48047 /* We use char because int might match the return type of a gcc2
48048    builtin and then its argument prototype would still apply.  */
48049 char $ac_func ();
48050 /* The GNU C library defines this for functions which it implements
48051     to always fail with ENOSYS.  Some functions are actually named
48052     something starting with __ and the normal name is an alias.  */
48053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48054 choke me
48055 #else
48056 char (*f) () = $ac_func;
48057 #endif
48058 #ifdef __cplusplus
48059 }
48060 #endif
48061
48062 int
48063 main ()
48064 {
48065 return f != $ac_func;
48066   ;
48067   return 0;
48068 }
48069 _ACEOF
48070 rm -f conftest.$ac_objext conftest$ac_exeext
48071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48072   (eval $ac_link) 2>conftest.er1
48073   ac_status=$?
48074   grep -v '^ *+' conftest.er1 >conftest.err
48075   rm -f conftest.er1
48076   cat conftest.err >&5
48077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48078   (exit $ac_status); } &&
48079          { ac_try='test -z "$ac_c_werror_flag"
48080                          || test ! -s conftest.err'
48081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48082   (eval $ac_try) 2>&5
48083   ac_status=$?
48084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085   (exit $ac_status); }; } &&
48086          { ac_try='test -s conftest$ac_exeext'
48087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48088   (eval $ac_try) 2>&5
48089   ac_status=$?
48090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091   (exit $ac_status); }; }; then
48092   eval "$as_ac_var=yes"
48093 else
48094   echo "$as_me: failed program was:" >&5
48095 sed 's/^/| /' conftest.$ac_ext >&5
48096
48097 eval "$as_ac_var=no"
48098 fi
48099 rm -f conftest.err conftest.$ac_objext \
48100       conftest$ac_exeext conftest.$ac_ext
48101 fi
48102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48104 if test `eval echo '${'$as_ac_var'}'` = yes; then
48105   cat >>confdefs.h <<_ACEOF
48106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48107 _ACEOF
48108
48109 fi
48110 done
48111
48112     fi
48113   fi
48114
48115
48116
48117
48118
48119
48120   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
48121 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
48122   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48123     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
48124   echo $ECHO_N "(cached) $ECHO_C" >&6
48125 else
48126
48127
48128
48129       ac_ext=cc
48130 ac_cpp='$CXXCPP $CPPFLAGS'
48131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48134
48135       cat >conftest.$ac_ext <<_ACEOF
48136 /* confdefs.h.  */
48137 _ACEOF
48138 cat confdefs.h >>conftest.$ac_ext
48139 cat >>conftest.$ac_ext <<_ACEOF
48140 /* end confdefs.h.  */
48141 #include <math.h>
48142                       #ifdef HAVE_IEEEFP_H
48143                       #include <ieeefp.h>
48144                       #endif
48145
48146 int
48147 main ()
48148 {
48149  isnanf(0);
48150   ;
48151   return 0;
48152 }
48153 _ACEOF
48154 rm -f conftest.$ac_objext
48155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48156   (eval $ac_compile) 2>conftest.er1
48157   ac_status=$?
48158   grep -v '^ *+' conftest.er1 >conftest.err
48159   rm -f conftest.er1
48160   cat conftest.err >&5
48161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48162   (exit $ac_status); } &&
48163          { ac_try='test -z "$ac_cxx_werror_flag"
48164                          || test ! -s conftest.err'
48165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48166   (eval $ac_try) 2>&5
48167   ac_status=$?
48168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48169   (exit $ac_status); }; } &&
48170          { ac_try='test -s conftest.$ac_objext'
48171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48172   (eval $ac_try) 2>&5
48173   ac_status=$?
48174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175   (exit $ac_status); }; }; then
48176   glibcxx_cv_func_isnanf_use=yes
48177 else
48178   echo "$as_me: failed program was:" >&5
48179 sed 's/^/| /' conftest.$ac_ext >&5
48180
48181 glibcxx_cv_func_isnanf_use=no
48182 fi
48183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48184       ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189
48190
48191 fi
48192
48193   fi
48194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
48195 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
48196
48197   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48198
48199 for ac_func in isnanf
48200 do
48201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48202 echo "$as_me:$LINENO: checking for $ac_func" >&5
48203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48204 if eval "test \"\${$as_ac_var+set}\" = set"; then
48205   echo $ECHO_N "(cached) $ECHO_C" >&6
48206 else
48207   if test x$gcc_no_link = xyes; then
48208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48210    { (exit 1); exit 1; }; }
48211 fi
48212 cat >conftest.$ac_ext <<_ACEOF
48213 /* confdefs.h.  */
48214 _ACEOF
48215 cat confdefs.h >>conftest.$ac_ext
48216 cat >>conftest.$ac_ext <<_ACEOF
48217 /* end confdefs.h.  */
48218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48220 #define $ac_func innocuous_$ac_func
48221
48222 /* System header to define __stub macros and hopefully few prototypes,
48223     which can conflict with char $ac_func (); below.
48224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48225     <limits.h> exists even on freestanding compilers.  */
48226
48227 #ifdef __STDC__
48228 # include <limits.h>
48229 #else
48230 # include <assert.h>
48231 #endif
48232
48233 #undef $ac_func
48234
48235 /* Override any gcc2 internal prototype to avoid an error.  */
48236 #ifdef __cplusplus
48237 extern "C"
48238 {
48239 #endif
48240 /* We use char because int might match the return type of a gcc2
48241    builtin and then its argument prototype would still apply.  */
48242 char $ac_func ();
48243 /* The GNU C library defines this for functions which it implements
48244     to always fail with ENOSYS.  Some functions are actually named
48245     something starting with __ and the normal name is an alias.  */
48246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48247 choke me
48248 #else
48249 char (*f) () = $ac_func;
48250 #endif
48251 #ifdef __cplusplus
48252 }
48253 #endif
48254
48255 int
48256 main ()
48257 {
48258 return f != $ac_func;
48259   ;
48260   return 0;
48261 }
48262 _ACEOF
48263 rm -f conftest.$ac_objext conftest$ac_exeext
48264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48265   (eval $ac_link) 2>conftest.er1
48266   ac_status=$?
48267   grep -v '^ *+' conftest.er1 >conftest.err
48268   rm -f conftest.er1
48269   cat conftest.err >&5
48270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48271   (exit $ac_status); } &&
48272          { ac_try='test -z "$ac_c_werror_flag"
48273                          || test ! -s conftest.err'
48274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48275   (eval $ac_try) 2>&5
48276   ac_status=$?
48277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48278   (exit $ac_status); }; } &&
48279          { ac_try='test -s conftest$ac_exeext'
48280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48281   (eval $ac_try) 2>&5
48282   ac_status=$?
48283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284   (exit $ac_status); }; }; then
48285   eval "$as_ac_var=yes"
48286 else
48287   echo "$as_me: failed program was:" >&5
48288 sed 's/^/| /' conftest.$ac_ext >&5
48289
48290 eval "$as_ac_var=no"
48291 fi
48292 rm -f conftest.err conftest.$ac_objext \
48293       conftest$ac_exeext conftest.$ac_ext
48294 fi
48295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48297 if test `eval echo '${'$as_ac_var'}'` = yes; then
48298   cat >>confdefs.h <<_ACEOF
48299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48300 _ACEOF
48301
48302 fi
48303 done
48304
48305   else
48306
48307   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
48308 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
48309   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48310     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
48311   echo $ECHO_N "(cached) $ECHO_C" >&6
48312 else
48313
48314
48315
48316       ac_ext=cc
48317 ac_cpp='$CXXCPP $CPPFLAGS'
48318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48321
48322       cat >conftest.$ac_ext <<_ACEOF
48323 /* confdefs.h.  */
48324 _ACEOF
48325 cat confdefs.h >>conftest.$ac_ext
48326 cat >>conftest.$ac_ext <<_ACEOF
48327 /* end confdefs.h.  */
48328 #include <math.h>
48329                       #ifdef HAVE_IEEEFP_H
48330                       #include <ieeefp.h>
48331                       #endif
48332
48333 int
48334 main ()
48335 {
48336  _isnanf(0);
48337   ;
48338   return 0;
48339 }
48340 _ACEOF
48341 rm -f conftest.$ac_objext
48342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48343   (eval $ac_compile) 2>conftest.er1
48344   ac_status=$?
48345   grep -v '^ *+' conftest.er1 >conftest.err
48346   rm -f conftest.er1
48347   cat conftest.err >&5
48348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349   (exit $ac_status); } &&
48350          { ac_try='test -z "$ac_cxx_werror_flag"
48351                          || test ! -s conftest.err'
48352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48353   (eval $ac_try) 2>&5
48354   ac_status=$?
48355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48356   (exit $ac_status); }; } &&
48357          { ac_try='test -s conftest.$ac_objext'
48358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48359   (eval $ac_try) 2>&5
48360   ac_status=$?
48361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48362   (exit $ac_status); }; }; then
48363   glibcxx_cv_func__isnanf_use=yes
48364 else
48365   echo "$as_me: failed program was:" >&5
48366 sed 's/^/| /' conftest.$ac_ext >&5
48367
48368 glibcxx_cv_func__isnanf_use=no
48369 fi
48370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48371       ac_ext=c
48372 ac_cpp='$CPP $CPPFLAGS'
48373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48376
48377
48378 fi
48379
48380   fi
48381   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
48382 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
48383
48384     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48385
48386 for ac_func in _isnanf
48387 do
48388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48389 echo "$as_me:$LINENO: checking for $ac_func" >&5
48390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48391 if eval "test \"\${$as_ac_var+set}\" = set"; then
48392   echo $ECHO_N "(cached) $ECHO_C" >&6
48393 else
48394   if test x$gcc_no_link = xyes; then
48395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48397    { (exit 1); exit 1; }; }
48398 fi
48399 cat >conftest.$ac_ext <<_ACEOF
48400 /* confdefs.h.  */
48401 _ACEOF
48402 cat confdefs.h >>conftest.$ac_ext
48403 cat >>conftest.$ac_ext <<_ACEOF
48404 /* end confdefs.h.  */
48405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48407 #define $ac_func innocuous_$ac_func
48408
48409 /* System header to define __stub macros and hopefully few prototypes,
48410     which can conflict with char $ac_func (); below.
48411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48412     <limits.h> exists even on freestanding compilers.  */
48413
48414 #ifdef __STDC__
48415 # include <limits.h>
48416 #else
48417 # include <assert.h>
48418 #endif
48419
48420 #undef $ac_func
48421
48422 /* Override any gcc2 internal prototype to avoid an error.  */
48423 #ifdef __cplusplus
48424 extern "C"
48425 {
48426 #endif
48427 /* We use char because int might match the return type of a gcc2
48428    builtin and then its argument prototype would still apply.  */
48429 char $ac_func ();
48430 /* The GNU C library defines this for functions which it implements
48431     to always fail with ENOSYS.  Some functions are actually named
48432     something starting with __ and the normal name is an alias.  */
48433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48434 choke me
48435 #else
48436 char (*f) () = $ac_func;
48437 #endif
48438 #ifdef __cplusplus
48439 }
48440 #endif
48441
48442 int
48443 main ()
48444 {
48445 return f != $ac_func;
48446   ;
48447   return 0;
48448 }
48449 _ACEOF
48450 rm -f conftest.$ac_objext conftest$ac_exeext
48451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48452   (eval $ac_link) 2>conftest.er1
48453   ac_status=$?
48454   grep -v '^ *+' conftest.er1 >conftest.err
48455   rm -f conftest.er1
48456   cat conftest.err >&5
48457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48458   (exit $ac_status); } &&
48459          { ac_try='test -z "$ac_c_werror_flag"
48460                          || test ! -s conftest.err'
48461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48462   (eval $ac_try) 2>&5
48463   ac_status=$?
48464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48465   (exit $ac_status); }; } &&
48466          { ac_try='test -s conftest$ac_exeext'
48467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48468   (eval $ac_try) 2>&5
48469   ac_status=$?
48470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48471   (exit $ac_status); }; }; then
48472   eval "$as_ac_var=yes"
48473 else
48474   echo "$as_me: failed program was:" >&5
48475 sed 's/^/| /' conftest.$ac_ext >&5
48476
48477 eval "$as_ac_var=no"
48478 fi
48479 rm -f conftest.err conftest.$ac_objext \
48480       conftest$ac_exeext conftest.$ac_ext
48481 fi
48482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48484 if test `eval echo '${'$as_ac_var'}'` = yes; then
48485   cat >>confdefs.h <<_ACEOF
48486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48487 _ACEOF
48488
48489 fi
48490 done
48491
48492     fi
48493   fi
48494
48495
48496
48497
48498
48499
48500   echo "$as_me:$LINENO: checking for isinff declaration" >&5
48501 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48502   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48503     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48504   echo $ECHO_N "(cached) $ECHO_C" >&6
48505 else
48506
48507
48508
48509       ac_ext=cc
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48514
48515       cat >conftest.$ac_ext <<_ACEOF
48516 /* confdefs.h.  */
48517 _ACEOF
48518 cat confdefs.h >>conftest.$ac_ext
48519 cat >>conftest.$ac_ext <<_ACEOF
48520 /* end confdefs.h.  */
48521 #include <math.h>
48522                       #ifdef HAVE_IEEEFP_H
48523                       #include <ieeefp.h>
48524                       #endif
48525
48526 int
48527 main ()
48528 {
48529  isinff(0);
48530   ;
48531   return 0;
48532 }
48533 _ACEOF
48534 rm -f conftest.$ac_objext
48535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48536   (eval $ac_compile) 2>conftest.er1
48537   ac_status=$?
48538   grep -v '^ *+' conftest.er1 >conftest.err
48539   rm -f conftest.er1
48540   cat conftest.err >&5
48541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48542   (exit $ac_status); } &&
48543          { ac_try='test -z "$ac_cxx_werror_flag"
48544                          || test ! -s conftest.err'
48545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48546   (eval $ac_try) 2>&5
48547   ac_status=$?
48548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549   (exit $ac_status); }; } &&
48550          { ac_try='test -s conftest.$ac_objext'
48551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48552   (eval $ac_try) 2>&5
48553   ac_status=$?
48554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48555   (exit $ac_status); }; }; then
48556   glibcxx_cv_func_isinff_use=yes
48557 else
48558   echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.$ac_ext >&5
48560
48561 glibcxx_cv_func_isinff_use=no
48562 fi
48563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48564       ac_ext=c
48565 ac_cpp='$CPP $CPPFLAGS'
48566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569
48570
48571 fi
48572
48573   fi
48574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48575 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48576
48577   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48578
48579 for ac_func in isinff
48580 do
48581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48582 echo "$as_me:$LINENO: checking for $ac_func" >&5
48583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48584 if eval "test \"\${$as_ac_var+set}\" = set"; then
48585   echo $ECHO_N "(cached) $ECHO_C" >&6
48586 else
48587   if test x$gcc_no_link = xyes; then
48588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48590    { (exit 1); exit 1; }; }
48591 fi
48592 cat >conftest.$ac_ext <<_ACEOF
48593 /* confdefs.h.  */
48594 _ACEOF
48595 cat confdefs.h >>conftest.$ac_ext
48596 cat >>conftest.$ac_ext <<_ACEOF
48597 /* end confdefs.h.  */
48598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48600 #define $ac_func innocuous_$ac_func
48601
48602 /* System header to define __stub macros and hopefully few prototypes,
48603     which can conflict with char $ac_func (); below.
48604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48605     <limits.h> exists even on freestanding compilers.  */
48606
48607 #ifdef __STDC__
48608 # include <limits.h>
48609 #else
48610 # include <assert.h>
48611 #endif
48612
48613 #undef $ac_func
48614
48615 /* Override any gcc2 internal prototype to avoid an error.  */
48616 #ifdef __cplusplus
48617 extern "C"
48618 {
48619 #endif
48620 /* We use char because int might match the return type of a gcc2
48621    builtin and then its argument prototype would still apply.  */
48622 char $ac_func ();
48623 /* The GNU C library defines this for functions which it implements
48624     to always fail with ENOSYS.  Some functions are actually named
48625     something starting with __ and the normal name is an alias.  */
48626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48627 choke me
48628 #else
48629 char (*f) () = $ac_func;
48630 #endif
48631 #ifdef __cplusplus
48632 }
48633 #endif
48634
48635 int
48636 main ()
48637 {
48638 return f != $ac_func;
48639   ;
48640   return 0;
48641 }
48642 _ACEOF
48643 rm -f conftest.$ac_objext conftest$ac_exeext
48644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48645   (eval $ac_link) 2>conftest.er1
48646   ac_status=$?
48647   grep -v '^ *+' conftest.er1 >conftest.err
48648   rm -f conftest.er1
48649   cat conftest.err >&5
48650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651   (exit $ac_status); } &&
48652          { ac_try='test -z "$ac_c_werror_flag"
48653                          || test ! -s conftest.err'
48654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48655   (eval $ac_try) 2>&5
48656   ac_status=$?
48657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48658   (exit $ac_status); }; } &&
48659          { ac_try='test -s conftest$ac_exeext'
48660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48661   (eval $ac_try) 2>&5
48662   ac_status=$?
48663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48664   (exit $ac_status); }; }; then
48665   eval "$as_ac_var=yes"
48666 else
48667   echo "$as_me: failed program was:" >&5
48668 sed 's/^/| /' conftest.$ac_ext >&5
48669
48670 eval "$as_ac_var=no"
48671 fi
48672 rm -f conftest.err conftest.$ac_objext \
48673       conftest$ac_exeext conftest.$ac_ext
48674 fi
48675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48677 if test `eval echo '${'$as_ac_var'}'` = yes; then
48678   cat >>confdefs.h <<_ACEOF
48679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48680 _ACEOF
48681
48682 fi
48683 done
48684
48685   else
48686
48687   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48688 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48689   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48690     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48691   echo $ECHO_N "(cached) $ECHO_C" >&6
48692 else
48693
48694
48695
48696       ac_ext=cc
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702       cat >conftest.$ac_ext <<_ACEOF
48703 /* confdefs.h.  */
48704 _ACEOF
48705 cat confdefs.h >>conftest.$ac_ext
48706 cat >>conftest.$ac_ext <<_ACEOF
48707 /* end confdefs.h.  */
48708 #include <math.h>
48709                       #ifdef HAVE_IEEEFP_H
48710                       #include <ieeefp.h>
48711                       #endif
48712
48713 int
48714 main ()
48715 {
48716  _isinff(0);
48717   ;
48718   return 0;
48719 }
48720 _ACEOF
48721 rm -f conftest.$ac_objext
48722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48723   (eval $ac_compile) 2>conftest.er1
48724   ac_status=$?
48725   grep -v '^ *+' conftest.er1 >conftest.err
48726   rm -f conftest.er1
48727   cat conftest.err >&5
48728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48729   (exit $ac_status); } &&
48730          { ac_try='test -z "$ac_cxx_werror_flag"
48731                          || test ! -s conftest.err'
48732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48733   (eval $ac_try) 2>&5
48734   ac_status=$?
48735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736   (exit $ac_status); }; } &&
48737          { ac_try='test -s conftest.$ac_objext'
48738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48739   (eval $ac_try) 2>&5
48740   ac_status=$?
48741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742   (exit $ac_status); }; }; then
48743   glibcxx_cv_func__isinff_use=yes
48744 else
48745   echo "$as_me: failed program was:" >&5
48746 sed 's/^/| /' conftest.$ac_ext >&5
48747
48748 glibcxx_cv_func__isinff_use=no
48749 fi
48750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48751       ac_ext=c
48752 ac_cpp='$CPP $CPPFLAGS'
48753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48756
48757
48758 fi
48759
48760   fi
48761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48762 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48763
48764     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48765
48766 for ac_func in _isinff
48767 do
48768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48769 echo "$as_me:$LINENO: checking for $ac_func" >&5
48770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48771 if eval "test \"\${$as_ac_var+set}\" = set"; then
48772   echo $ECHO_N "(cached) $ECHO_C" >&6
48773 else
48774   if test x$gcc_no_link = xyes; then
48775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48777    { (exit 1); exit 1; }; }
48778 fi
48779 cat >conftest.$ac_ext <<_ACEOF
48780 /* confdefs.h.  */
48781 _ACEOF
48782 cat confdefs.h >>conftest.$ac_ext
48783 cat >>conftest.$ac_ext <<_ACEOF
48784 /* end confdefs.h.  */
48785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48787 #define $ac_func innocuous_$ac_func
48788
48789 /* System header to define __stub macros and hopefully few prototypes,
48790     which can conflict with char $ac_func (); below.
48791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48792     <limits.h> exists even on freestanding compilers.  */
48793
48794 #ifdef __STDC__
48795 # include <limits.h>
48796 #else
48797 # include <assert.h>
48798 #endif
48799
48800 #undef $ac_func
48801
48802 /* Override any gcc2 internal prototype to avoid an error.  */
48803 #ifdef __cplusplus
48804 extern "C"
48805 {
48806 #endif
48807 /* We use char because int might match the return type of a gcc2
48808    builtin and then its argument prototype would still apply.  */
48809 char $ac_func ();
48810 /* The GNU C library defines this for functions which it implements
48811     to always fail with ENOSYS.  Some functions are actually named
48812     something starting with __ and the normal name is an alias.  */
48813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48814 choke me
48815 #else
48816 char (*f) () = $ac_func;
48817 #endif
48818 #ifdef __cplusplus
48819 }
48820 #endif
48821
48822 int
48823 main ()
48824 {
48825 return f != $ac_func;
48826   ;
48827   return 0;
48828 }
48829 _ACEOF
48830 rm -f conftest.$ac_objext conftest$ac_exeext
48831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48832   (eval $ac_link) 2>conftest.er1
48833   ac_status=$?
48834   grep -v '^ *+' conftest.er1 >conftest.err
48835   rm -f conftest.er1
48836   cat conftest.err >&5
48837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838   (exit $ac_status); } &&
48839          { ac_try='test -z "$ac_c_werror_flag"
48840                          || test ! -s conftest.err'
48841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48842   (eval $ac_try) 2>&5
48843   ac_status=$?
48844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845   (exit $ac_status); }; } &&
48846          { ac_try='test -s conftest$ac_exeext'
48847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48848   (eval $ac_try) 2>&5
48849   ac_status=$?
48850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48851   (exit $ac_status); }; }; then
48852   eval "$as_ac_var=yes"
48853 else
48854   echo "$as_me: failed program was:" >&5
48855 sed 's/^/| /' conftest.$ac_ext >&5
48856
48857 eval "$as_ac_var=no"
48858 fi
48859 rm -f conftest.err conftest.$ac_objext \
48860       conftest$ac_exeext conftest.$ac_ext
48861 fi
48862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48864 if test `eval echo '${'$as_ac_var'}'` = yes; then
48865   cat >>confdefs.h <<_ACEOF
48866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48867 _ACEOF
48868
48869 fi
48870 done
48871
48872     fi
48873   fi
48874
48875
48876
48877
48878
48879
48880   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48881 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48882   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48883     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48884   echo $ECHO_N "(cached) $ECHO_C" >&6
48885 else
48886
48887
48888
48889       ac_ext=cc
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894
48895       cat >conftest.$ac_ext <<_ACEOF
48896 /* confdefs.h.  */
48897 _ACEOF
48898 cat confdefs.h >>conftest.$ac_ext
48899 cat >>conftest.$ac_ext <<_ACEOF
48900 /* end confdefs.h.  */
48901 #include <math.h>
48902 int
48903 main ()
48904 {
48905  atan2f(0, 0);
48906   ;
48907   return 0;
48908 }
48909 _ACEOF
48910 rm -f conftest.$ac_objext
48911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48912   (eval $ac_compile) 2>conftest.er1
48913   ac_status=$?
48914   grep -v '^ *+' conftest.er1 >conftest.err
48915   rm -f conftest.er1
48916   cat conftest.err >&5
48917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918   (exit $ac_status); } &&
48919          { ac_try='test -z "$ac_cxx_werror_flag"
48920                          || test ! -s conftest.err'
48921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48922   (eval $ac_try) 2>&5
48923   ac_status=$?
48924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48925   (exit $ac_status); }; } &&
48926          { ac_try='test -s conftest.$ac_objext'
48927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48928   (eval $ac_try) 2>&5
48929   ac_status=$?
48930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48931   (exit $ac_status); }; }; then
48932   glibcxx_cv_func_atan2f_use=yes
48933 else
48934   echo "$as_me: failed program was:" >&5
48935 sed 's/^/| /' conftest.$ac_ext >&5
48936
48937 glibcxx_cv_func_atan2f_use=no
48938 fi
48939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48940       ac_ext=c
48941 ac_cpp='$CPP $CPPFLAGS'
48942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945
48946
48947 fi
48948
48949   fi
48950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48951 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48952
48953   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48954
48955 for ac_func in atan2f
48956 do
48957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48958 echo "$as_me:$LINENO: checking for $ac_func" >&5
48959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48960 if eval "test \"\${$as_ac_var+set}\" = set"; then
48961   echo $ECHO_N "(cached) $ECHO_C" >&6
48962 else
48963   if test x$gcc_no_link = xyes; then
48964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48966    { (exit 1); exit 1; }; }
48967 fi
48968 cat >conftest.$ac_ext <<_ACEOF
48969 /* confdefs.h.  */
48970 _ACEOF
48971 cat confdefs.h >>conftest.$ac_ext
48972 cat >>conftest.$ac_ext <<_ACEOF
48973 /* end confdefs.h.  */
48974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48976 #define $ac_func innocuous_$ac_func
48977
48978 /* System header to define __stub macros and hopefully few prototypes,
48979     which can conflict with char $ac_func (); below.
48980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48981     <limits.h> exists even on freestanding compilers.  */
48982
48983 #ifdef __STDC__
48984 # include <limits.h>
48985 #else
48986 # include <assert.h>
48987 #endif
48988
48989 #undef $ac_func
48990
48991 /* Override any gcc2 internal prototype to avoid an error.  */
48992 #ifdef __cplusplus
48993 extern "C"
48994 {
48995 #endif
48996 /* We use char because int might match the return type of a gcc2
48997    builtin and then its argument prototype would still apply.  */
48998 char $ac_func ();
48999 /* The GNU C library defines this for functions which it implements
49000     to always fail with ENOSYS.  Some functions are actually named
49001     something starting with __ and the normal name is an alias.  */
49002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49003 choke me
49004 #else
49005 char (*f) () = $ac_func;
49006 #endif
49007 #ifdef __cplusplus
49008 }
49009 #endif
49010
49011 int
49012 main ()
49013 {
49014 return f != $ac_func;
49015   ;
49016   return 0;
49017 }
49018 _ACEOF
49019 rm -f conftest.$ac_objext conftest$ac_exeext
49020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49021   (eval $ac_link) 2>conftest.er1
49022   ac_status=$?
49023   grep -v '^ *+' conftest.er1 >conftest.err
49024   rm -f conftest.er1
49025   cat conftest.err >&5
49026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49027   (exit $ac_status); } &&
49028          { ac_try='test -z "$ac_c_werror_flag"
49029                          || test ! -s conftest.err'
49030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49031   (eval $ac_try) 2>&5
49032   ac_status=$?
49033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034   (exit $ac_status); }; } &&
49035          { ac_try='test -s conftest$ac_exeext'
49036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49037   (eval $ac_try) 2>&5
49038   ac_status=$?
49039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49040   (exit $ac_status); }; }; then
49041   eval "$as_ac_var=yes"
49042 else
49043   echo "$as_me: failed program was:" >&5
49044 sed 's/^/| /' conftest.$ac_ext >&5
49045
49046 eval "$as_ac_var=no"
49047 fi
49048 rm -f conftest.err conftest.$ac_objext \
49049       conftest$ac_exeext conftest.$ac_ext
49050 fi
49051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49053 if test `eval echo '${'$as_ac_var'}'` = yes; then
49054   cat >>confdefs.h <<_ACEOF
49055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49056 _ACEOF
49057
49058 fi
49059 done
49060
49061   else
49062
49063   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
49064 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
49065   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49066     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
49067   echo $ECHO_N "(cached) $ECHO_C" >&6
49068 else
49069
49070
49071
49072       ac_ext=cc
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49077
49078       cat >conftest.$ac_ext <<_ACEOF
49079 /* confdefs.h.  */
49080 _ACEOF
49081 cat confdefs.h >>conftest.$ac_ext
49082 cat >>conftest.$ac_ext <<_ACEOF
49083 /* end confdefs.h.  */
49084 #include <math.h>
49085 int
49086 main ()
49087 {
49088  _atan2f(0, 0);
49089   ;
49090   return 0;
49091 }
49092 _ACEOF
49093 rm -f conftest.$ac_objext
49094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49095   (eval $ac_compile) 2>conftest.er1
49096   ac_status=$?
49097   grep -v '^ *+' conftest.er1 >conftest.err
49098   rm -f conftest.er1
49099   cat conftest.err >&5
49100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101   (exit $ac_status); } &&
49102          { ac_try='test -z "$ac_cxx_werror_flag"
49103                          || test ! -s conftest.err'
49104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49105   (eval $ac_try) 2>&5
49106   ac_status=$?
49107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49108   (exit $ac_status); }; } &&
49109          { ac_try='test -s conftest.$ac_objext'
49110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49111   (eval $ac_try) 2>&5
49112   ac_status=$?
49113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49114   (exit $ac_status); }; }; then
49115   glibcxx_cv_func__atan2f_use=yes
49116 else
49117   echo "$as_me: failed program was:" >&5
49118 sed 's/^/| /' conftest.$ac_ext >&5
49119
49120 glibcxx_cv_func__atan2f_use=no
49121 fi
49122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49123       ac_ext=c
49124 ac_cpp='$CPP $CPPFLAGS'
49125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128
49129
49130 fi
49131
49132   fi
49133   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
49134 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
49135
49136     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49137
49138 for ac_func in _atan2f
49139 do
49140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49141 echo "$as_me:$LINENO: checking for $ac_func" >&5
49142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49143 if eval "test \"\${$as_ac_var+set}\" = set"; then
49144   echo $ECHO_N "(cached) $ECHO_C" >&6
49145 else
49146   if test x$gcc_no_link = xyes; then
49147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49149    { (exit 1); exit 1; }; }
49150 fi
49151 cat >conftest.$ac_ext <<_ACEOF
49152 /* confdefs.h.  */
49153 _ACEOF
49154 cat confdefs.h >>conftest.$ac_ext
49155 cat >>conftest.$ac_ext <<_ACEOF
49156 /* end confdefs.h.  */
49157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49159 #define $ac_func innocuous_$ac_func
49160
49161 /* System header to define __stub macros and hopefully few prototypes,
49162     which can conflict with char $ac_func (); below.
49163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49164     <limits.h> exists even on freestanding compilers.  */
49165
49166 #ifdef __STDC__
49167 # include <limits.h>
49168 #else
49169 # include <assert.h>
49170 #endif
49171
49172 #undef $ac_func
49173
49174 /* Override any gcc2 internal prototype to avoid an error.  */
49175 #ifdef __cplusplus
49176 extern "C"
49177 {
49178 #endif
49179 /* We use char because int might match the return type of a gcc2
49180    builtin and then its argument prototype would still apply.  */
49181 char $ac_func ();
49182 /* The GNU C library defines this for functions which it implements
49183     to always fail with ENOSYS.  Some functions are actually named
49184     something starting with __ and the normal name is an alias.  */
49185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49186 choke me
49187 #else
49188 char (*f) () = $ac_func;
49189 #endif
49190 #ifdef __cplusplus
49191 }
49192 #endif
49193
49194 int
49195 main ()
49196 {
49197 return f != $ac_func;
49198   ;
49199   return 0;
49200 }
49201 _ACEOF
49202 rm -f conftest.$ac_objext conftest$ac_exeext
49203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49204   (eval $ac_link) 2>conftest.er1
49205   ac_status=$?
49206   grep -v '^ *+' conftest.er1 >conftest.err
49207   rm -f conftest.er1
49208   cat conftest.err >&5
49209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49210   (exit $ac_status); } &&
49211          { ac_try='test -z "$ac_c_werror_flag"
49212                          || test ! -s conftest.err'
49213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49214   (eval $ac_try) 2>&5
49215   ac_status=$?
49216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217   (exit $ac_status); }; } &&
49218          { ac_try='test -s conftest$ac_exeext'
49219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49220   (eval $ac_try) 2>&5
49221   ac_status=$?
49222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49223   (exit $ac_status); }; }; then
49224   eval "$as_ac_var=yes"
49225 else
49226   echo "$as_me: failed program was:" >&5
49227 sed 's/^/| /' conftest.$ac_ext >&5
49228
49229 eval "$as_ac_var=no"
49230 fi
49231 rm -f conftest.err conftest.$ac_objext \
49232       conftest$ac_exeext conftest.$ac_ext
49233 fi
49234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49236 if test `eval echo '${'$as_ac_var'}'` = yes; then
49237   cat >>confdefs.h <<_ACEOF
49238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49239 _ACEOF
49240
49241 fi
49242 done
49243
49244     fi
49245   fi
49246
49247
49248
49249
49250
49251
49252   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
49253 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
49254   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49255     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
49256   echo $ECHO_N "(cached) $ECHO_C" >&6
49257 else
49258
49259
49260
49261       ac_ext=cc
49262 ac_cpp='$CXXCPP $CPPFLAGS'
49263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266
49267       cat >conftest.$ac_ext <<_ACEOF
49268 /* confdefs.h.  */
49269 _ACEOF
49270 cat confdefs.h >>conftest.$ac_ext
49271 cat >>conftest.$ac_ext <<_ACEOF
49272 /* end confdefs.h.  */
49273 #include <math.h>
49274                       #ifdef HAVE_IEEEFP_H
49275                       #include <ieeefp.h>
49276                       #endif
49277
49278 int
49279 main ()
49280 {
49281  fabsf(0);
49282   ;
49283   return 0;
49284 }
49285 _ACEOF
49286 rm -f conftest.$ac_objext
49287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49288   (eval $ac_compile) 2>conftest.er1
49289   ac_status=$?
49290   grep -v '^ *+' conftest.er1 >conftest.err
49291   rm -f conftest.er1
49292   cat conftest.err >&5
49293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49294   (exit $ac_status); } &&
49295          { ac_try='test -z "$ac_cxx_werror_flag"
49296                          || test ! -s conftest.err'
49297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49298   (eval $ac_try) 2>&5
49299   ac_status=$?
49300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49301   (exit $ac_status); }; } &&
49302          { ac_try='test -s conftest.$ac_objext'
49303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49304   (eval $ac_try) 2>&5
49305   ac_status=$?
49306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49307   (exit $ac_status); }; }; then
49308   glibcxx_cv_func_fabsf_use=yes
49309 else
49310   echo "$as_me: failed program was:" >&5
49311 sed 's/^/| /' conftest.$ac_ext >&5
49312
49313 glibcxx_cv_func_fabsf_use=no
49314 fi
49315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49316       ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49321
49322
49323 fi
49324
49325   fi
49326   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
49327 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
49328
49329   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49330
49331 for ac_func in fabsf
49332 do
49333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49334 echo "$as_me:$LINENO: checking for $ac_func" >&5
49335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49336 if eval "test \"\${$as_ac_var+set}\" = set"; then
49337   echo $ECHO_N "(cached) $ECHO_C" >&6
49338 else
49339   if test x$gcc_no_link = xyes; then
49340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49342    { (exit 1); exit 1; }; }
49343 fi
49344 cat >conftest.$ac_ext <<_ACEOF
49345 /* confdefs.h.  */
49346 _ACEOF
49347 cat confdefs.h >>conftest.$ac_ext
49348 cat >>conftest.$ac_ext <<_ACEOF
49349 /* end confdefs.h.  */
49350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49352 #define $ac_func innocuous_$ac_func
49353
49354 /* System header to define __stub macros and hopefully few prototypes,
49355     which can conflict with char $ac_func (); below.
49356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49357     <limits.h> exists even on freestanding compilers.  */
49358
49359 #ifdef __STDC__
49360 # include <limits.h>
49361 #else
49362 # include <assert.h>
49363 #endif
49364
49365 #undef $ac_func
49366
49367 /* Override any gcc2 internal prototype to avoid an error.  */
49368 #ifdef __cplusplus
49369 extern "C"
49370 {
49371 #endif
49372 /* We use char because int might match the return type of a gcc2
49373    builtin and then its argument prototype would still apply.  */
49374 char $ac_func ();
49375 /* The GNU C library defines this for functions which it implements
49376     to always fail with ENOSYS.  Some functions are actually named
49377     something starting with __ and the normal name is an alias.  */
49378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49379 choke me
49380 #else
49381 char (*f) () = $ac_func;
49382 #endif
49383 #ifdef __cplusplus
49384 }
49385 #endif
49386
49387 int
49388 main ()
49389 {
49390 return f != $ac_func;
49391   ;
49392   return 0;
49393 }
49394 _ACEOF
49395 rm -f conftest.$ac_objext conftest$ac_exeext
49396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49397   (eval $ac_link) 2>conftest.er1
49398   ac_status=$?
49399   grep -v '^ *+' conftest.er1 >conftest.err
49400   rm -f conftest.er1
49401   cat conftest.err >&5
49402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403   (exit $ac_status); } &&
49404          { ac_try='test -z "$ac_c_werror_flag"
49405                          || test ! -s conftest.err'
49406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49407   (eval $ac_try) 2>&5
49408   ac_status=$?
49409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49410   (exit $ac_status); }; } &&
49411          { ac_try='test -s conftest$ac_exeext'
49412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49413   (eval $ac_try) 2>&5
49414   ac_status=$?
49415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49416   (exit $ac_status); }; }; then
49417   eval "$as_ac_var=yes"
49418 else
49419   echo "$as_me: failed program was:" >&5
49420 sed 's/^/| /' conftest.$ac_ext >&5
49421
49422 eval "$as_ac_var=no"
49423 fi
49424 rm -f conftest.err conftest.$ac_objext \
49425       conftest$ac_exeext conftest.$ac_ext
49426 fi
49427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49429 if test `eval echo '${'$as_ac_var'}'` = yes; then
49430   cat >>confdefs.h <<_ACEOF
49431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49432 _ACEOF
49433
49434 fi
49435 done
49436
49437   else
49438
49439   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49440 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49441   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49442     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49443   echo $ECHO_N "(cached) $ECHO_C" >&6
49444 else
49445
49446
49447
49448       ac_ext=cc
49449 ac_cpp='$CXXCPP $CPPFLAGS'
49450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49453
49454       cat >conftest.$ac_ext <<_ACEOF
49455 /* confdefs.h.  */
49456 _ACEOF
49457 cat confdefs.h >>conftest.$ac_ext
49458 cat >>conftest.$ac_ext <<_ACEOF
49459 /* end confdefs.h.  */
49460 #include <math.h>
49461                       #ifdef HAVE_IEEEFP_H
49462                       #include <ieeefp.h>
49463                       #endif
49464
49465 int
49466 main ()
49467 {
49468  _fabsf(0);
49469   ;
49470   return 0;
49471 }
49472 _ACEOF
49473 rm -f conftest.$ac_objext
49474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49475   (eval $ac_compile) 2>conftest.er1
49476   ac_status=$?
49477   grep -v '^ *+' conftest.er1 >conftest.err
49478   rm -f conftest.er1
49479   cat conftest.err >&5
49480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49481   (exit $ac_status); } &&
49482          { ac_try='test -z "$ac_cxx_werror_flag"
49483                          || test ! -s conftest.err'
49484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49485   (eval $ac_try) 2>&5
49486   ac_status=$?
49487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49488   (exit $ac_status); }; } &&
49489          { ac_try='test -s conftest.$ac_objext'
49490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49491   (eval $ac_try) 2>&5
49492   ac_status=$?
49493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49494   (exit $ac_status); }; }; then
49495   glibcxx_cv_func__fabsf_use=yes
49496 else
49497   echo "$as_me: failed program was:" >&5
49498 sed 's/^/| /' conftest.$ac_ext >&5
49499
49500 glibcxx_cv_func__fabsf_use=no
49501 fi
49502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49503       ac_ext=c
49504 ac_cpp='$CPP $CPPFLAGS'
49505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49508
49509
49510 fi
49511
49512   fi
49513   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49514 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49515
49516     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49517
49518 for ac_func in _fabsf
49519 do
49520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49521 echo "$as_me:$LINENO: checking for $ac_func" >&5
49522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49523 if eval "test \"\${$as_ac_var+set}\" = set"; then
49524   echo $ECHO_N "(cached) $ECHO_C" >&6
49525 else
49526   if test x$gcc_no_link = xyes; then
49527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49529    { (exit 1); exit 1; }; }
49530 fi
49531 cat >conftest.$ac_ext <<_ACEOF
49532 /* confdefs.h.  */
49533 _ACEOF
49534 cat confdefs.h >>conftest.$ac_ext
49535 cat >>conftest.$ac_ext <<_ACEOF
49536 /* end confdefs.h.  */
49537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49539 #define $ac_func innocuous_$ac_func
49540
49541 /* System header to define __stub macros and hopefully few prototypes,
49542     which can conflict with char $ac_func (); below.
49543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49544     <limits.h> exists even on freestanding compilers.  */
49545
49546 #ifdef __STDC__
49547 # include <limits.h>
49548 #else
49549 # include <assert.h>
49550 #endif
49551
49552 #undef $ac_func
49553
49554 /* Override any gcc2 internal prototype to avoid an error.  */
49555 #ifdef __cplusplus
49556 extern "C"
49557 {
49558 #endif
49559 /* We use char because int might match the return type of a gcc2
49560    builtin and then its argument prototype would still apply.  */
49561 char $ac_func ();
49562 /* The GNU C library defines this for functions which it implements
49563     to always fail with ENOSYS.  Some functions are actually named
49564     something starting with __ and the normal name is an alias.  */
49565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49566 choke me
49567 #else
49568 char (*f) () = $ac_func;
49569 #endif
49570 #ifdef __cplusplus
49571 }
49572 #endif
49573
49574 int
49575 main ()
49576 {
49577 return f != $ac_func;
49578   ;
49579   return 0;
49580 }
49581 _ACEOF
49582 rm -f conftest.$ac_objext conftest$ac_exeext
49583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49584   (eval $ac_link) 2>conftest.er1
49585   ac_status=$?
49586   grep -v '^ *+' conftest.er1 >conftest.err
49587   rm -f conftest.er1
49588   cat conftest.err >&5
49589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49590   (exit $ac_status); } &&
49591          { ac_try='test -z "$ac_c_werror_flag"
49592                          || test ! -s conftest.err'
49593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49594   (eval $ac_try) 2>&5
49595   ac_status=$?
49596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49597   (exit $ac_status); }; } &&
49598          { ac_try='test -s conftest$ac_exeext'
49599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49600   (eval $ac_try) 2>&5
49601   ac_status=$?
49602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49603   (exit $ac_status); }; }; then
49604   eval "$as_ac_var=yes"
49605 else
49606   echo "$as_me: failed program was:" >&5
49607 sed 's/^/| /' conftest.$ac_ext >&5
49608
49609 eval "$as_ac_var=no"
49610 fi
49611 rm -f conftest.err conftest.$ac_objext \
49612       conftest$ac_exeext conftest.$ac_ext
49613 fi
49614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49616 if test `eval echo '${'$as_ac_var'}'` = yes; then
49617   cat >>confdefs.h <<_ACEOF
49618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49619 _ACEOF
49620
49621 fi
49622 done
49623
49624     fi
49625   fi
49626
49627
49628
49629
49630
49631
49632   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49633 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49634   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49635     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49636   echo $ECHO_N "(cached) $ECHO_C" >&6
49637 else
49638
49639
49640
49641       ac_ext=cc
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646
49647       cat >conftest.$ac_ext <<_ACEOF
49648 /* confdefs.h.  */
49649 _ACEOF
49650 cat confdefs.h >>conftest.$ac_ext
49651 cat >>conftest.$ac_ext <<_ACEOF
49652 /* end confdefs.h.  */
49653 #include <math.h>
49654 int
49655 main ()
49656 {
49657  fmodf(0, 0);
49658   ;
49659   return 0;
49660 }
49661 _ACEOF
49662 rm -f conftest.$ac_objext
49663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49664   (eval $ac_compile) 2>conftest.er1
49665   ac_status=$?
49666   grep -v '^ *+' conftest.er1 >conftest.err
49667   rm -f conftest.er1
49668   cat conftest.err >&5
49669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49670   (exit $ac_status); } &&
49671          { ac_try='test -z "$ac_cxx_werror_flag"
49672                          || test ! -s conftest.err'
49673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49674   (eval $ac_try) 2>&5
49675   ac_status=$?
49676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49677   (exit $ac_status); }; } &&
49678          { ac_try='test -s conftest.$ac_objext'
49679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49680   (eval $ac_try) 2>&5
49681   ac_status=$?
49682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49683   (exit $ac_status); }; }; then
49684   glibcxx_cv_func_fmodf_use=yes
49685 else
49686   echo "$as_me: failed program was:" >&5
49687 sed 's/^/| /' conftest.$ac_ext >&5
49688
49689 glibcxx_cv_func_fmodf_use=no
49690 fi
49691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49692       ac_ext=c
49693 ac_cpp='$CPP $CPPFLAGS'
49694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49697
49698
49699 fi
49700
49701   fi
49702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49703 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49704
49705   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49706
49707 for ac_func in fmodf
49708 do
49709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49710 echo "$as_me:$LINENO: checking for $ac_func" >&5
49711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49712 if eval "test \"\${$as_ac_var+set}\" = set"; then
49713   echo $ECHO_N "(cached) $ECHO_C" >&6
49714 else
49715   if test x$gcc_no_link = xyes; then
49716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49718    { (exit 1); exit 1; }; }
49719 fi
49720 cat >conftest.$ac_ext <<_ACEOF
49721 /* confdefs.h.  */
49722 _ACEOF
49723 cat confdefs.h >>conftest.$ac_ext
49724 cat >>conftest.$ac_ext <<_ACEOF
49725 /* end confdefs.h.  */
49726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49728 #define $ac_func innocuous_$ac_func
49729
49730 /* System header to define __stub macros and hopefully few prototypes,
49731     which can conflict with char $ac_func (); below.
49732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49733     <limits.h> exists even on freestanding compilers.  */
49734
49735 #ifdef __STDC__
49736 # include <limits.h>
49737 #else
49738 # include <assert.h>
49739 #endif
49740
49741 #undef $ac_func
49742
49743 /* Override any gcc2 internal prototype to avoid an error.  */
49744 #ifdef __cplusplus
49745 extern "C"
49746 {
49747 #endif
49748 /* We use char because int might match the return type of a gcc2
49749    builtin and then its argument prototype would still apply.  */
49750 char $ac_func ();
49751 /* The GNU C library defines this for functions which it implements
49752     to always fail with ENOSYS.  Some functions are actually named
49753     something starting with __ and the normal name is an alias.  */
49754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49755 choke me
49756 #else
49757 char (*f) () = $ac_func;
49758 #endif
49759 #ifdef __cplusplus
49760 }
49761 #endif
49762
49763 int
49764 main ()
49765 {
49766 return f != $ac_func;
49767   ;
49768   return 0;
49769 }
49770 _ACEOF
49771 rm -f conftest.$ac_objext conftest$ac_exeext
49772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49773   (eval $ac_link) 2>conftest.er1
49774   ac_status=$?
49775   grep -v '^ *+' conftest.er1 >conftest.err
49776   rm -f conftest.er1
49777   cat conftest.err >&5
49778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49779   (exit $ac_status); } &&
49780          { ac_try='test -z "$ac_c_werror_flag"
49781                          || test ! -s conftest.err'
49782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49783   (eval $ac_try) 2>&5
49784   ac_status=$?
49785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49786   (exit $ac_status); }; } &&
49787          { ac_try='test -s conftest$ac_exeext'
49788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49789   (eval $ac_try) 2>&5
49790   ac_status=$?
49791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49792   (exit $ac_status); }; }; then
49793   eval "$as_ac_var=yes"
49794 else
49795   echo "$as_me: failed program was:" >&5
49796 sed 's/^/| /' conftest.$ac_ext >&5
49797
49798 eval "$as_ac_var=no"
49799 fi
49800 rm -f conftest.err conftest.$ac_objext \
49801       conftest$ac_exeext conftest.$ac_ext
49802 fi
49803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49805 if test `eval echo '${'$as_ac_var'}'` = yes; then
49806   cat >>confdefs.h <<_ACEOF
49807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49808 _ACEOF
49809
49810 fi
49811 done
49812
49813   else
49814
49815   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49816 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49817   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49818     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49819   echo $ECHO_N "(cached) $ECHO_C" >&6
49820 else
49821
49822
49823
49824       ac_ext=cc
49825 ac_cpp='$CXXCPP $CPPFLAGS'
49826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829
49830       cat >conftest.$ac_ext <<_ACEOF
49831 /* confdefs.h.  */
49832 _ACEOF
49833 cat confdefs.h >>conftest.$ac_ext
49834 cat >>conftest.$ac_ext <<_ACEOF
49835 /* end confdefs.h.  */
49836 #include <math.h>
49837 int
49838 main ()
49839 {
49840  _fmodf(0, 0);
49841   ;
49842   return 0;
49843 }
49844 _ACEOF
49845 rm -f conftest.$ac_objext
49846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49847   (eval $ac_compile) 2>conftest.er1
49848   ac_status=$?
49849   grep -v '^ *+' conftest.er1 >conftest.err
49850   rm -f conftest.er1
49851   cat conftest.err >&5
49852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49853   (exit $ac_status); } &&
49854          { ac_try='test -z "$ac_cxx_werror_flag"
49855                          || test ! -s conftest.err'
49856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49857   (eval $ac_try) 2>&5
49858   ac_status=$?
49859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49860   (exit $ac_status); }; } &&
49861          { ac_try='test -s conftest.$ac_objext'
49862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49863   (eval $ac_try) 2>&5
49864   ac_status=$?
49865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49866   (exit $ac_status); }; }; then
49867   glibcxx_cv_func__fmodf_use=yes
49868 else
49869   echo "$as_me: failed program was:" >&5
49870 sed 's/^/| /' conftest.$ac_ext >&5
49871
49872 glibcxx_cv_func__fmodf_use=no
49873 fi
49874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49875       ac_ext=c
49876 ac_cpp='$CPP $CPPFLAGS'
49877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49880
49881
49882 fi
49883
49884   fi
49885   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49886 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49887
49888     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49889
49890 for ac_func in _fmodf
49891 do
49892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49893 echo "$as_me:$LINENO: checking for $ac_func" >&5
49894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49895 if eval "test \"\${$as_ac_var+set}\" = set"; then
49896   echo $ECHO_N "(cached) $ECHO_C" >&6
49897 else
49898   if test x$gcc_no_link = xyes; then
49899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49901    { (exit 1); exit 1; }; }
49902 fi
49903 cat >conftest.$ac_ext <<_ACEOF
49904 /* confdefs.h.  */
49905 _ACEOF
49906 cat confdefs.h >>conftest.$ac_ext
49907 cat >>conftest.$ac_ext <<_ACEOF
49908 /* end confdefs.h.  */
49909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49911 #define $ac_func innocuous_$ac_func
49912
49913 /* System header to define __stub macros and hopefully few prototypes,
49914     which can conflict with char $ac_func (); below.
49915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49916     <limits.h> exists even on freestanding compilers.  */
49917
49918 #ifdef __STDC__
49919 # include <limits.h>
49920 #else
49921 # include <assert.h>
49922 #endif
49923
49924 #undef $ac_func
49925
49926 /* Override any gcc2 internal prototype to avoid an error.  */
49927 #ifdef __cplusplus
49928 extern "C"
49929 {
49930 #endif
49931 /* We use char because int might match the return type of a gcc2
49932    builtin and then its argument prototype would still apply.  */
49933 char $ac_func ();
49934 /* The GNU C library defines this for functions which it implements
49935     to always fail with ENOSYS.  Some functions are actually named
49936     something starting with __ and the normal name is an alias.  */
49937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49938 choke me
49939 #else
49940 char (*f) () = $ac_func;
49941 #endif
49942 #ifdef __cplusplus
49943 }
49944 #endif
49945
49946 int
49947 main ()
49948 {
49949 return f != $ac_func;
49950   ;
49951   return 0;
49952 }
49953 _ACEOF
49954 rm -f conftest.$ac_objext conftest$ac_exeext
49955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49956   (eval $ac_link) 2>conftest.er1
49957   ac_status=$?
49958   grep -v '^ *+' conftest.er1 >conftest.err
49959   rm -f conftest.er1
49960   cat conftest.err >&5
49961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49962   (exit $ac_status); } &&
49963          { ac_try='test -z "$ac_c_werror_flag"
49964                          || test ! -s conftest.err'
49965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49966   (eval $ac_try) 2>&5
49967   ac_status=$?
49968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49969   (exit $ac_status); }; } &&
49970          { ac_try='test -s conftest$ac_exeext'
49971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49972   (eval $ac_try) 2>&5
49973   ac_status=$?
49974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49975   (exit $ac_status); }; }; then
49976   eval "$as_ac_var=yes"
49977 else
49978   echo "$as_me: failed program was:" >&5
49979 sed 's/^/| /' conftest.$ac_ext >&5
49980
49981 eval "$as_ac_var=no"
49982 fi
49983 rm -f conftest.err conftest.$ac_objext \
49984       conftest$ac_exeext conftest.$ac_ext
49985 fi
49986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49988 if test `eval echo '${'$as_ac_var'}'` = yes; then
49989   cat >>confdefs.h <<_ACEOF
49990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49991 _ACEOF
49992
49993 fi
49994 done
49995
49996     fi
49997   fi
49998
49999
50000
50001
50002
50003
50004   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
50005 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
50006   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50007     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
50008   echo $ECHO_N "(cached) $ECHO_C" >&6
50009 else
50010
50011
50012
50013       ac_ext=cc
50014 ac_cpp='$CXXCPP $CPPFLAGS'
50015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50018
50019       cat >conftest.$ac_ext <<_ACEOF
50020 /* confdefs.h.  */
50021 _ACEOF
50022 cat confdefs.h >>conftest.$ac_ext
50023 cat >>conftest.$ac_ext <<_ACEOF
50024 /* end confdefs.h.  */
50025 #include <math.h>
50026 int
50027 main ()
50028 {
50029  frexpf(0, 0);
50030   ;
50031   return 0;
50032 }
50033 _ACEOF
50034 rm -f conftest.$ac_objext
50035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50036   (eval $ac_compile) 2>conftest.er1
50037   ac_status=$?
50038   grep -v '^ *+' conftest.er1 >conftest.err
50039   rm -f conftest.er1
50040   cat conftest.err >&5
50041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50042   (exit $ac_status); } &&
50043          { ac_try='test -z "$ac_cxx_werror_flag"
50044                          || test ! -s conftest.err'
50045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50046   (eval $ac_try) 2>&5
50047   ac_status=$?
50048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50049   (exit $ac_status); }; } &&
50050          { ac_try='test -s conftest.$ac_objext'
50051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50052   (eval $ac_try) 2>&5
50053   ac_status=$?
50054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50055   (exit $ac_status); }; }; then
50056   glibcxx_cv_func_frexpf_use=yes
50057 else
50058   echo "$as_me: failed program was:" >&5
50059 sed 's/^/| /' conftest.$ac_ext >&5
50060
50061 glibcxx_cv_func_frexpf_use=no
50062 fi
50063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50064       ac_ext=c
50065 ac_cpp='$CPP $CPPFLAGS'
50066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50069
50070
50071 fi
50072
50073   fi
50074   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
50075 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
50076
50077   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50078
50079 for ac_func in frexpf
50080 do
50081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50082 echo "$as_me:$LINENO: checking for $ac_func" >&5
50083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50084 if eval "test \"\${$as_ac_var+set}\" = set"; then
50085   echo $ECHO_N "(cached) $ECHO_C" >&6
50086 else
50087   if test x$gcc_no_link = xyes; then
50088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50090    { (exit 1); exit 1; }; }
50091 fi
50092 cat >conftest.$ac_ext <<_ACEOF
50093 /* confdefs.h.  */
50094 _ACEOF
50095 cat confdefs.h >>conftest.$ac_ext
50096 cat >>conftest.$ac_ext <<_ACEOF
50097 /* end confdefs.h.  */
50098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50100 #define $ac_func innocuous_$ac_func
50101
50102 /* System header to define __stub macros and hopefully few prototypes,
50103     which can conflict with char $ac_func (); below.
50104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50105     <limits.h> exists even on freestanding compilers.  */
50106
50107 #ifdef __STDC__
50108 # include <limits.h>
50109 #else
50110 # include <assert.h>
50111 #endif
50112
50113 #undef $ac_func
50114
50115 /* Override any gcc2 internal prototype to avoid an error.  */
50116 #ifdef __cplusplus
50117 extern "C"
50118 {
50119 #endif
50120 /* We use char because int might match the return type of a gcc2
50121    builtin and then its argument prototype would still apply.  */
50122 char $ac_func ();
50123 /* The GNU C library defines this for functions which it implements
50124     to always fail with ENOSYS.  Some functions are actually named
50125     something starting with __ and the normal name is an alias.  */
50126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50127 choke me
50128 #else
50129 char (*f) () = $ac_func;
50130 #endif
50131 #ifdef __cplusplus
50132 }
50133 #endif
50134
50135 int
50136 main ()
50137 {
50138 return f != $ac_func;
50139   ;
50140   return 0;
50141 }
50142 _ACEOF
50143 rm -f conftest.$ac_objext conftest$ac_exeext
50144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50145   (eval $ac_link) 2>conftest.er1
50146   ac_status=$?
50147   grep -v '^ *+' conftest.er1 >conftest.err
50148   rm -f conftest.er1
50149   cat conftest.err >&5
50150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50151   (exit $ac_status); } &&
50152          { ac_try='test -z "$ac_c_werror_flag"
50153                          || test ! -s conftest.err'
50154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50155   (eval $ac_try) 2>&5
50156   ac_status=$?
50157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50158   (exit $ac_status); }; } &&
50159          { ac_try='test -s conftest$ac_exeext'
50160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50161   (eval $ac_try) 2>&5
50162   ac_status=$?
50163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50164   (exit $ac_status); }; }; then
50165   eval "$as_ac_var=yes"
50166 else
50167   echo "$as_me: failed program was:" >&5
50168 sed 's/^/| /' conftest.$ac_ext >&5
50169
50170 eval "$as_ac_var=no"
50171 fi
50172 rm -f conftest.err conftest.$ac_objext \
50173       conftest$ac_exeext conftest.$ac_ext
50174 fi
50175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50177 if test `eval echo '${'$as_ac_var'}'` = yes; then
50178   cat >>confdefs.h <<_ACEOF
50179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50180 _ACEOF
50181
50182 fi
50183 done
50184
50185   else
50186
50187   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
50188 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
50189   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50190     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
50191   echo $ECHO_N "(cached) $ECHO_C" >&6
50192 else
50193
50194
50195
50196       ac_ext=cc
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50201
50202       cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h.  */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h.  */
50208 #include <math.h>
50209 int
50210 main ()
50211 {
50212  _frexpf(0, 0);
50213   ;
50214   return 0;
50215 }
50216 _ACEOF
50217 rm -f conftest.$ac_objext
50218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50219   (eval $ac_compile) 2>conftest.er1
50220   ac_status=$?
50221   grep -v '^ *+' conftest.er1 >conftest.err
50222   rm -f conftest.er1
50223   cat conftest.err >&5
50224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50225   (exit $ac_status); } &&
50226          { ac_try='test -z "$ac_cxx_werror_flag"
50227                          || test ! -s conftest.err'
50228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50229   (eval $ac_try) 2>&5
50230   ac_status=$?
50231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50232   (exit $ac_status); }; } &&
50233          { ac_try='test -s conftest.$ac_objext'
50234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50235   (eval $ac_try) 2>&5
50236   ac_status=$?
50237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238   (exit $ac_status); }; }; then
50239   glibcxx_cv_func__frexpf_use=yes
50240 else
50241   echo "$as_me: failed program was:" >&5
50242 sed 's/^/| /' conftest.$ac_ext >&5
50243
50244 glibcxx_cv_func__frexpf_use=no
50245 fi
50246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50247       ac_ext=c
50248 ac_cpp='$CPP $CPPFLAGS'
50249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50252
50253
50254 fi
50255
50256   fi
50257   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
50258 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
50259
50260     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50261
50262 for ac_func in _frexpf
50263 do
50264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50265 echo "$as_me:$LINENO: checking for $ac_func" >&5
50266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50267 if eval "test \"\${$as_ac_var+set}\" = set"; then
50268   echo $ECHO_N "(cached) $ECHO_C" >&6
50269 else
50270   if test x$gcc_no_link = xyes; then
50271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50273    { (exit 1); exit 1; }; }
50274 fi
50275 cat >conftest.$ac_ext <<_ACEOF
50276 /* confdefs.h.  */
50277 _ACEOF
50278 cat confdefs.h >>conftest.$ac_ext
50279 cat >>conftest.$ac_ext <<_ACEOF
50280 /* end confdefs.h.  */
50281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50283 #define $ac_func innocuous_$ac_func
50284
50285 /* System header to define __stub macros and hopefully few prototypes,
50286     which can conflict with char $ac_func (); below.
50287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50288     <limits.h> exists even on freestanding compilers.  */
50289
50290 #ifdef __STDC__
50291 # include <limits.h>
50292 #else
50293 # include <assert.h>
50294 #endif
50295
50296 #undef $ac_func
50297
50298 /* Override any gcc2 internal prototype to avoid an error.  */
50299 #ifdef __cplusplus
50300 extern "C"
50301 {
50302 #endif
50303 /* We use char because int might match the return type of a gcc2
50304    builtin and then its argument prototype would still apply.  */
50305 char $ac_func ();
50306 /* The GNU C library defines this for functions which it implements
50307     to always fail with ENOSYS.  Some functions are actually named
50308     something starting with __ and the normal name is an alias.  */
50309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50310 choke me
50311 #else
50312 char (*f) () = $ac_func;
50313 #endif
50314 #ifdef __cplusplus
50315 }
50316 #endif
50317
50318 int
50319 main ()
50320 {
50321 return f != $ac_func;
50322   ;
50323   return 0;
50324 }
50325 _ACEOF
50326 rm -f conftest.$ac_objext conftest$ac_exeext
50327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50328   (eval $ac_link) 2>conftest.er1
50329   ac_status=$?
50330   grep -v '^ *+' conftest.er1 >conftest.err
50331   rm -f conftest.er1
50332   cat conftest.err >&5
50333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50334   (exit $ac_status); } &&
50335          { ac_try='test -z "$ac_c_werror_flag"
50336                          || test ! -s conftest.err'
50337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50338   (eval $ac_try) 2>&5
50339   ac_status=$?
50340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341   (exit $ac_status); }; } &&
50342          { ac_try='test -s conftest$ac_exeext'
50343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50344   (eval $ac_try) 2>&5
50345   ac_status=$?
50346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50347   (exit $ac_status); }; }; then
50348   eval "$as_ac_var=yes"
50349 else
50350   echo "$as_me: failed program was:" >&5
50351 sed 's/^/| /' conftest.$ac_ext >&5
50352
50353 eval "$as_ac_var=no"
50354 fi
50355 rm -f conftest.err conftest.$ac_objext \
50356       conftest$ac_exeext conftest.$ac_ext
50357 fi
50358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50360 if test `eval echo '${'$as_ac_var'}'` = yes; then
50361   cat >>confdefs.h <<_ACEOF
50362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50363 _ACEOF
50364
50365 fi
50366 done
50367
50368     fi
50369   fi
50370
50371
50372
50373
50374
50375
50376   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
50377 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
50378   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50379     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
50380   echo $ECHO_N "(cached) $ECHO_C" >&6
50381 else
50382
50383
50384
50385       ac_ext=cc
50386 ac_cpp='$CXXCPP $CPPFLAGS'
50387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50390
50391       cat >conftest.$ac_ext <<_ACEOF
50392 /* confdefs.h.  */
50393 _ACEOF
50394 cat confdefs.h >>conftest.$ac_ext
50395 cat >>conftest.$ac_ext <<_ACEOF
50396 /* end confdefs.h.  */
50397 #include <math.h>
50398 int
50399 main ()
50400 {
50401  hypotf(0, 0);
50402   ;
50403   return 0;
50404 }
50405 _ACEOF
50406 rm -f conftest.$ac_objext
50407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50408   (eval $ac_compile) 2>conftest.er1
50409   ac_status=$?
50410   grep -v '^ *+' conftest.er1 >conftest.err
50411   rm -f conftest.er1
50412   cat conftest.err >&5
50413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50414   (exit $ac_status); } &&
50415          { ac_try='test -z "$ac_cxx_werror_flag"
50416                          || test ! -s conftest.err'
50417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50418   (eval $ac_try) 2>&5
50419   ac_status=$?
50420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50421   (exit $ac_status); }; } &&
50422          { ac_try='test -s conftest.$ac_objext'
50423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50424   (eval $ac_try) 2>&5
50425   ac_status=$?
50426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427   (exit $ac_status); }; }; then
50428   glibcxx_cv_func_hypotf_use=yes
50429 else
50430   echo "$as_me: failed program was:" >&5
50431 sed 's/^/| /' conftest.$ac_ext >&5
50432
50433 glibcxx_cv_func_hypotf_use=no
50434 fi
50435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50436       ac_ext=c
50437 ac_cpp='$CPP $CPPFLAGS'
50438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50441
50442
50443 fi
50444
50445   fi
50446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50447 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50448
50449   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50450
50451 for ac_func in hypotf
50452 do
50453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50454 echo "$as_me:$LINENO: checking for $ac_func" >&5
50455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50456 if eval "test \"\${$as_ac_var+set}\" = set"; then
50457   echo $ECHO_N "(cached) $ECHO_C" >&6
50458 else
50459   if test x$gcc_no_link = xyes; then
50460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50462    { (exit 1); exit 1; }; }
50463 fi
50464 cat >conftest.$ac_ext <<_ACEOF
50465 /* confdefs.h.  */
50466 _ACEOF
50467 cat confdefs.h >>conftest.$ac_ext
50468 cat >>conftest.$ac_ext <<_ACEOF
50469 /* end confdefs.h.  */
50470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50472 #define $ac_func innocuous_$ac_func
50473
50474 /* System header to define __stub macros and hopefully few prototypes,
50475     which can conflict with char $ac_func (); below.
50476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50477     <limits.h> exists even on freestanding compilers.  */
50478
50479 #ifdef __STDC__
50480 # include <limits.h>
50481 #else
50482 # include <assert.h>
50483 #endif
50484
50485 #undef $ac_func
50486
50487 /* Override any gcc2 internal prototype to avoid an error.  */
50488 #ifdef __cplusplus
50489 extern "C"
50490 {
50491 #endif
50492 /* We use char because int might match the return type of a gcc2
50493    builtin and then its argument prototype would still apply.  */
50494 char $ac_func ();
50495 /* The GNU C library defines this for functions which it implements
50496     to always fail with ENOSYS.  Some functions are actually named
50497     something starting with __ and the normal name is an alias.  */
50498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50499 choke me
50500 #else
50501 char (*f) () = $ac_func;
50502 #endif
50503 #ifdef __cplusplus
50504 }
50505 #endif
50506
50507 int
50508 main ()
50509 {
50510 return f != $ac_func;
50511   ;
50512   return 0;
50513 }
50514 _ACEOF
50515 rm -f conftest.$ac_objext conftest$ac_exeext
50516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50517   (eval $ac_link) 2>conftest.er1
50518   ac_status=$?
50519   grep -v '^ *+' conftest.er1 >conftest.err
50520   rm -f conftest.er1
50521   cat conftest.err >&5
50522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50523   (exit $ac_status); } &&
50524          { ac_try='test -z "$ac_c_werror_flag"
50525                          || test ! -s conftest.err'
50526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50527   (eval $ac_try) 2>&5
50528   ac_status=$?
50529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50530   (exit $ac_status); }; } &&
50531          { ac_try='test -s conftest$ac_exeext'
50532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50533   (eval $ac_try) 2>&5
50534   ac_status=$?
50535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50536   (exit $ac_status); }; }; then
50537   eval "$as_ac_var=yes"
50538 else
50539   echo "$as_me: failed program was:" >&5
50540 sed 's/^/| /' conftest.$ac_ext >&5
50541
50542 eval "$as_ac_var=no"
50543 fi
50544 rm -f conftest.err conftest.$ac_objext \
50545       conftest$ac_exeext conftest.$ac_ext
50546 fi
50547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50549 if test `eval echo '${'$as_ac_var'}'` = yes; then
50550   cat >>confdefs.h <<_ACEOF
50551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50552 _ACEOF
50553
50554 fi
50555 done
50556
50557   else
50558
50559   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50560 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50561   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50562     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50563   echo $ECHO_N "(cached) $ECHO_C" >&6
50564 else
50565
50566
50567
50568       ac_ext=cc
50569 ac_cpp='$CXXCPP $CPPFLAGS'
50570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50573
50574       cat >conftest.$ac_ext <<_ACEOF
50575 /* confdefs.h.  */
50576 _ACEOF
50577 cat confdefs.h >>conftest.$ac_ext
50578 cat >>conftest.$ac_ext <<_ACEOF
50579 /* end confdefs.h.  */
50580 #include <math.h>
50581 int
50582 main ()
50583 {
50584  _hypotf(0, 0);
50585   ;
50586   return 0;
50587 }
50588 _ACEOF
50589 rm -f conftest.$ac_objext
50590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50591   (eval $ac_compile) 2>conftest.er1
50592   ac_status=$?
50593   grep -v '^ *+' conftest.er1 >conftest.err
50594   rm -f conftest.er1
50595   cat conftest.err >&5
50596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597   (exit $ac_status); } &&
50598          { ac_try='test -z "$ac_cxx_werror_flag"
50599                          || test ! -s conftest.err'
50600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50601   (eval $ac_try) 2>&5
50602   ac_status=$?
50603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50604   (exit $ac_status); }; } &&
50605          { ac_try='test -s conftest.$ac_objext'
50606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50607   (eval $ac_try) 2>&5
50608   ac_status=$?
50609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50610   (exit $ac_status); }; }; then
50611   glibcxx_cv_func__hypotf_use=yes
50612 else
50613   echo "$as_me: failed program was:" >&5
50614 sed 's/^/| /' conftest.$ac_ext >&5
50615
50616 glibcxx_cv_func__hypotf_use=no
50617 fi
50618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50619       ac_ext=c
50620 ac_cpp='$CPP $CPPFLAGS'
50621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50624
50625
50626 fi
50627
50628   fi
50629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50630 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50631
50632     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50633
50634 for ac_func in _hypotf
50635 do
50636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50637 echo "$as_me:$LINENO: checking for $ac_func" >&5
50638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50639 if eval "test \"\${$as_ac_var+set}\" = set"; then
50640   echo $ECHO_N "(cached) $ECHO_C" >&6
50641 else
50642   if test x$gcc_no_link = xyes; then
50643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50645    { (exit 1); exit 1; }; }
50646 fi
50647 cat >conftest.$ac_ext <<_ACEOF
50648 /* confdefs.h.  */
50649 _ACEOF
50650 cat confdefs.h >>conftest.$ac_ext
50651 cat >>conftest.$ac_ext <<_ACEOF
50652 /* end confdefs.h.  */
50653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50655 #define $ac_func innocuous_$ac_func
50656
50657 /* System header to define __stub macros and hopefully few prototypes,
50658     which can conflict with char $ac_func (); below.
50659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50660     <limits.h> exists even on freestanding compilers.  */
50661
50662 #ifdef __STDC__
50663 # include <limits.h>
50664 #else
50665 # include <assert.h>
50666 #endif
50667
50668 #undef $ac_func
50669
50670 /* Override any gcc2 internal prototype to avoid an error.  */
50671 #ifdef __cplusplus
50672 extern "C"
50673 {
50674 #endif
50675 /* We use char because int might match the return type of a gcc2
50676    builtin and then its argument prototype would still apply.  */
50677 char $ac_func ();
50678 /* The GNU C library defines this for functions which it implements
50679     to always fail with ENOSYS.  Some functions are actually named
50680     something starting with __ and the normal name is an alias.  */
50681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50682 choke me
50683 #else
50684 char (*f) () = $ac_func;
50685 #endif
50686 #ifdef __cplusplus
50687 }
50688 #endif
50689
50690 int
50691 main ()
50692 {
50693 return f != $ac_func;
50694   ;
50695   return 0;
50696 }
50697 _ACEOF
50698 rm -f conftest.$ac_objext conftest$ac_exeext
50699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50700   (eval $ac_link) 2>conftest.er1
50701   ac_status=$?
50702   grep -v '^ *+' conftest.er1 >conftest.err
50703   rm -f conftest.er1
50704   cat conftest.err >&5
50705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50706   (exit $ac_status); } &&
50707          { ac_try='test -z "$ac_c_werror_flag"
50708                          || test ! -s conftest.err'
50709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50710   (eval $ac_try) 2>&5
50711   ac_status=$?
50712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713   (exit $ac_status); }; } &&
50714          { ac_try='test -s conftest$ac_exeext'
50715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50716   (eval $ac_try) 2>&5
50717   ac_status=$?
50718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719   (exit $ac_status); }; }; then
50720   eval "$as_ac_var=yes"
50721 else
50722   echo "$as_me: failed program was:" >&5
50723 sed 's/^/| /' conftest.$ac_ext >&5
50724
50725 eval "$as_ac_var=no"
50726 fi
50727 rm -f conftest.err conftest.$ac_objext \
50728       conftest$ac_exeext conftest.$ac_ext
50729 fi
50730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50732 if test `eval echo '${'$as_ac_var'}'` = yes; then
50733   cat >>confdefs.h <<_ACEOF
50734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50735 _ACEOF
50736
50737 fi
50738 done
50739
50740     fi
50741   fi
50742
50743
50744
50745
50746
50747
50748   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50749 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50750   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50751     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50752   echo $ECHO_N "(cached) $ECHO_C" >&6
50753 else
50754
50755
50756
50757       ac_ext=cc
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763       cat >conftest.$ac_ext <<_ACEOF
50764 /* confdefs.h.  */
50765 _ACEOF
50766 cat confdefs.h >>conftest.$ac_ext
50767 cat >>conftest.$ac_ext <<_ACEOF
50768 /* end confdefs.h.  */
50769 #include <math.h>
50770 int
50771 main ()
50772 {
50773  ldexpf(0, 0);
50774   ;
50775   return 0;
50776 }
50777 _ACEOF
50778 rm -f conftest.$ac_objext
50779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50780   (eval $ac_compile) 2>conftest.er1
50781   ac_status=$?
50782   grep -v '^ *+' conftest.er1 >conftest.err
50783   rm -f conftest.er1
50784   cat conftest.err >&5
50785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50786   (exit $ac_status); } &&
50787          { ac_try='test -z "$ac_cxx_werror_flag"
50788                          || test ! -s conftest.err'
50789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50790   (eval $ac_try) 2>&5
50791   ac_status=$?
50792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50793   (exit $ac_status); }; } &&
50794          { ac_try='test -s conftest.$ac_objext'
50795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50796   (eval $ac_try) 2>&5
50797   ac_status=$?
50798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50799   (exit $ac_status); }; }; then
50800   glibcxx_cv_func_ldexpf_use=yes
50801 else
50802   echo "$as_me: failed program was:" >&5
50803 sed 's/^/| /' conftest.$ac_ext >&5
50804
50805 glibcxx_cv_func_ldexpf_use=no
50806 fi
50807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50808       ac_ext=c
50809 ac_cpp='$CPP $CPPFLAGS'
50810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50813
50814
50815 fi
50816
50817   fi
50818   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50819 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50820
50821   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50822
50823 for ac_func in ldexpf
50824 do
50825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50826 echo "$as_me:$LINENO: checking for $ac_func" >&5
50827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50828 if eval "test \"\${$as_ac_var+set}\" = set"; then
50829   echo $ECHO_N "(cached) $ECHO_C" >&6
50830 else
50831   if test x$gcc_no_link = xyes; then
50832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50834    { (exit 1); exit 1; }; }
50835 fi
50836 cat >conftest.$ac_ext <<_ACEOF
50837 /* confdefs.h.  */
50838 _ACEOF
50839 cat confdefs.h >>conftest.$ac_ext
50840 cat >>conftest.$ac_ext <<_ACEOF
50841 /* end confdefs.h.  */
50842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50844 #define $ac_func innocuous_$ac_func
50845
50846 /* System header to define __stub macros and hopefully few prototypes,
50847     which can conflict with char $ac_func (); below.
50848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50849     <limits.h> exists even on freestanding compilers.  */
50850
50851 #ifdef __STDC__
50852 # include <limits.h>
50853 #else
50854 # include <assert.h>
50855 #endif
50856
50857 #undef $ac_func
50858
50859 /* Override any gcc2 internal prototype to avoid an error.  */
50860 #ifdef __cplusplus
50861 extern "C"
50862 {
50863 #endif
50864 /* We use char because int might match the return type of a gcc2
50865    builtin and then its argument prototype would still apply.  */
50866 char $ac_func ();
50867 /* The GNU C library defines this for functions which it implements
50868     to always fail with ENOSYS.  Some functions are actually named
50869     something starting with __ and the normal name is an alias.  */
50870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50871 choke me
50872 #else
50873 char (*f) () = $ac_func;
50874 #endif
50875 #ifdef __cplusplus
50876 }
50877 #endif
50878
50879 int
50880 main ()
50881 {
50882 return f != $ac_func;
50883   ;
50884   return 0;
50885 }
50886 _ACEOF
50887 rm -f conftest.$ac_objext conftest$ac_exeext
50888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50889   (eval $ac_link) 2>conftest.er1
50890   ac_status=$?
50891   grep -v '^ *+' conftest.er1 >conftest.err
50892   rm -f conftest.er1
50893   cat conftest.err >&5
50894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50895   (exit $ac_status); } &&
50896          { ac_try='test -z "$ac_c_werror_flag"
50897                          || test ! -s conftest.err'
50898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50899   (eval $ac_try) 2>&5
50900   ac_status=$?
50901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902   (exit $ac_status); }; } &&
50903          { ac_try='test -s conftest$ac_exeext'
50904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50905   (eval $ac_try) 2>&5
50906   ac_status=$?
50907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50908   (exit $ac_status); }; }; then
50909   eval "$as_ac_var=yes"
50910 else
50911   echo "$as_me: failed program was:" >&5
50912 sed 's/^/| /' conftest.$ac_ext >&5
50913
50914 eval "$as_ac_var=no"
50915 fi
50916 rm -f conftest.err conftest.$ac_objext \
50917       conftest$ac_exeext conftest.$ac_ext
50918 fi
50919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50921 if test `eval echo '${'$as_ac_var'}'` = yes; then
50922   cat >>confdefs.h <<_ACEOF
50923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50924 _ACEOF
50925
50926 fi
50927 done
50928
50929   else
50930
50931   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50932 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50933   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50934     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50935   echo $ECHO_N "(cached) $ECHO_C" >&6
50936 else
50937
50938
50939
50940       ac_ext=cc
50941 ac_cpp='$CXXCPP $CPPFLAGS'
50942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50945
50946       cat >conftest.$ac_ext <<_ACEOF
50947 /* confdefs.h.  */
50948 _ACEOF
50949 cat confdefs.h >>conftest.$ac_ext
50950 cat >>conftest.$ac_ext <<_ACEOF
50951 /* end confdefs.h.  */
50952 #include <math.h>
50953 int
50954 main ()
50955 {
50956  _ldexpf(0, 0);
50957   ;
50958   return 0;
50959 }
50960 _ACEOF
50961 rm -f conftest.$ac_objext
50962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50963   (eval $ac_compile) 2>conftest.er1
50964   ac_status=$?
50965   grep -v '^ *+' conftest.er1 >conftest.err
50966   rm -f conftest.er1
50967   cat conftest.err >&5
50968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50969   (exit $ac_status); } &&
50970          { ac_try='test -z "$ac_cxx_werror_flag"
50971                          || test ! -s conftest.err'
50972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50973   (eval $ac_try) 2>&5
50974   ac_status=$?
50975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50976   (exit $ac_status); }; } &&
50977          { ac_try='test -s conftest.$ac_objext'
50978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50979   (eval $ac_try) 2>&5
50980   ac_status=$?
50981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50982   (exit $ac_status); }; }; then
50983   glibcxx_cv_func__ldexpf_use=yes
50984 else
50985   echo "$as_me: failed program was:" >&5
50986 sed 's/^/| /' conftest.$ac_ext >&5
50987
50988 glibcxx_cv_func__ldexpf_use=no
50989 fi
50990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50991       ac_ext=c
50992 ac_cpp='$CPP $CPPFLAGS'
50993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50996
50997
50998 fi
50999
51000   fi
51001   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
51002 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
51003
51004     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51005
51006 for ac_func in _ldexpf
51007 do
51008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51009 echo "$as_me:$LINENO: checking for $ac_func" >&5
51010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51011 if eval "test \"\${$as_ac_var+set}\" = set"; then
51012   echo $ECHO_N "(cached) $ECHO_C" >&6
51013 else
51014   if test x$gcc_no_link = xyes; then
51015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51017    { (exit 1); exit 1; }; }
51018 fi
51019 cat >conftest.$ac_ext <<_ACEOF
51020 /* confdefs.h.  */
51021 _ACEOF
51022 cat confdefs.h >>conftest.$ac_ext
51023 cat >>conftest.$ac_ext <<_ACEOF
51024 /* end confdefs.h.  */
51025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51027 #define $ac_func innocuous_$ac_func
51028
51029 /* System header to define __stub macros and hopefully few prototypes,
51030     which can conflict with char $ac_func (); below.
51031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51032     <limits.h> exists even on freestanding compilers.  */
51033
51034 #ifdef __STDC__
51035 # include <limits.h>
51036 #else
51037 # include <assert.h>
51038 #endif
51039
51040 #undef $ac_func
51041
51042 /* Override any gcc2 internal prototype to avoid an error.  */
51043 #ifdef __cplusplus
51044 extern "C"
51045 {
51046 #endif
51047 /* We use char because int might match the return type of a gcc2
51048    builtin and then its argument prototype would still apply.  */
51049 char $ac_func ();
51050 /* The GNU C library defines this for functions which it implements
51051     to always fail with ENOSYS.  Some functions are actually named
51052     something starting with __ and the normal name is an alias.  */
51053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51054 choke me
51055 #else
51056 char (*f) () = $ac_func;
51057 #endif
51058 #ifdef __cplusplus
51059 }
51060 #endif
51061
51062 int
51063 main ()
51064 {
51065 return f != $ac_func;
51066   ;
51067   return 0;
51068 }
51069 _ACEOF
51070 rm -f conftest.$ac_objext conftest$ac_exeext
51071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51072   (eval $ac_link) 2>conftest.er1
51073   ac_status=$?
51074   grep -v '^ *+' conftest.er1 >conftest.err
51075   rm -f conftest.er1
51076   cat conftest.err >&5
51077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51078   (exit $ac_status); } &&
51079          { ac_try='test -z "$ac_c_werror_flag"
51080                          || test ! -s conftest.err'
51081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51082   (eval $ac_try) 2>&5
51083   ac_status=$?
51084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51085   (exit $ac_status); }; } &&
51086          { ac_try='test -s conftest$ac_exeext'
51087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51088   (eval $ac_try) 2>&5
51089   ac_status=$?
51090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51091   (exit $ac_status); }; }; then
51092   eval "$as_ac_var=yes"
51093 else
51094   echo "$as_me: failed program was:" >&5
51095 sed 's/^/| /' conftest.$ac_ext >&5
51096
51097 eval "$as_ac_var=no"
51098 fi
51099 rm -f conftest.err conftest.$ac_objext \
51100       conftest$ac_exeext conftest.$ac_ext
51101 fi
51102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51104 if test `eval echo '${'$as_ac_var'}'` = yes; then
51105   cat >>confdefs.h <<_ACEOF
51106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51107 _ACEOF
51108
51109 fi
51110 done
51111
51112     fi
51113   fi
51114
51115
51116
51117
51118
51119
51120   echo "$as_me:$LINENO: checking for logf declaration" >&5
51121 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
51122   if test x${glibcxx_cv_func_logf_use+set} != xset; then
51123     if test "${glibcxx_cv_func_logf_use+set}" = set; then
51124   echo $ECHO_N "(cached) $ECHO_C" >&6
51125 else
51126
51127
51128
51129       ac_ext=cc
51130 ac_cpp='$CXXCPP $CPPFLAGS'
51131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51134
51135       cat >conftest.$ac_ext <<_ACEOF
51136 /* confdefs.h.  */
51137 _ACEOF
51138 cat confdefs.h >>conftest.$ac_ext
51139 cat >>conftest.$ac_ext <<_ACEOF
51140 /* end confdefs.h.  */
51141 #include <math.h>
51142                       #ifdef HAVE_IEEEFP_H
51143                       #include <ieeefp.h>
51144                       #endif
51145
51146 int
51147 main ()
51148 {
51149  logf(0);
51150   ;
51151   return 0;
51152 }
51153 _ACEOF
51154 rm -f conftest.$ac_objext
51155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51156   (eval $ac_compile) 2>conftest.er1
51157   ac_status=$?
51158   grep -v '^ *+' conftest.er1 >conftest.err
51159   rm -f conftest.er1
51160   cat conftest.err >&5
51161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162   (exit $ac_status); } &&
51163          { ac_try='test -z "$ac_cxx_werror_flag"
51164                          || test ! -s conftest.err'
51165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51166   (eval $ac_try) 2>&5
51167   ac_status=$?
51168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169   (exit $ac_status); }; } &&
51170          { ac_try='test -s conftest.$ac_objext'
51171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51172   (eval $ac_try) 2>&5
51173   ac_status=$?
51174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51175   (exit $ac_status); }; }; then
51176   glibcxx_cv_func_logf_use=yes
51177 else
51178   echo "$as_me: failed program was:" >&5
51179 sed 's/^/| /' conftest.$ac_ext >&5
51180
51181 glibcxx_cv_func_logf_use=no
51182 fi
51183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51184       ac_ext=c
51185 ac_cpp='$CPP $CPPFLAGS'
51186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51189
51190
51191 fi
51192
51193   fi
51194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
51195 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
51196
51197   if test x$glibcxx_cv_func_logf_use = x"yes"; then
51198
51199 for ac_func in logf
51200 do
51201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51202 echo "$as_me:$LINENO: checking for $ac_func" >&5
51203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51204 if eval "test \"\${$as_ac_var+set}\" = set"; then
51205   echo $ECHO_N "(cached) $ECHO_C" >&6
51206 else
51207   if test x$gcc_no_link = xyes; then
51208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51210    { (exit 1); exit 1; }; }
51211 fi
51212 cat >conftest.$ac_ext <<_ACEOF
51213 /* confdefs.h.  */
51214 _ACEOF
51215 cat confdefs.h >>conftest.$ac_ext
51216 cat >>conftest.$ac_ext <<_ACEOF
51217 /* end confdefs.h.  */
51218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51220 #define $ac_func innocuous_$ac_func
51221
51222 /* System header to define __stub macros and hopefully few prototypes,
51223     which can conflict with char $ac_func (); below.
51224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51225     <limits.h> exists even on freestanding compilers.  */
51226
51227 #ifdef __STDC__
51228 # include <limits.h>
51229 #else
51230 # include <assert.h>
51231 #endif
51232
51233 #undef $ac_func
51234
51235 /* Override any gcc2 internal prototype to avoid an error.  */
51236 #ifdef __cplusplus
51237 extern "C"
51238 {
51239 #endif
51240 /* We use char because int might match the return type of a gcc2
51241    builtin and then its argument prototype would still apply.  */
51242 char $ac_func ();
51243 /* The GNU C library defines this for functions which it implements
51244     to always fail with ENOSYS.  Some functions are actually named
51245     something starting with __ and the normal name is an alias.  */
51246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51247 choke me
51248 #else
51249 char (*f) () = $ac_func;
51250 #endif
51251 #ifdef __cplusplus
51252 }
51253 #endif
51254
51255 int
51256 main ()
51257 {
51258 return f != $ac_func;
51259   ;
51260   return 0;
51261 }
51262 _ACEOF
51263 rm -f conftest.$ac_objext conftest$ac_exeext
51264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51265   (eval $ac_link) 2>conftest.er1
51266   ac_status=$?
51267   grep -v '^ *+' conftest.er1 >conftest.err
51268   rm -f conftest.er1
51269   cat conftest.err >&5
51270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51271   (exit $ac_status); } &&
51272          { ac_try='test -z "$ac_c_werror_flag"
51273                          || test ! -s conftest.err'
51274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51275   (eval $ac_try) 2>&5
51276   ac_status=$?
51277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278   (exit $ac_status); }; } &&
51279          { ac_try='test -s conftest$ac_exeext'
51280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51281   (eval $ac_try) 2>&5
51282   ac_status=$?
51283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284   (exit $ac_status); }; }; then
51285   eval "$as_ac_var=yes"
51286 else
51287   echo "$as_me: failed program was:" >&5
51288 sed 's/^/| /' conftest.$ac_ext >&5
51289
51290 eval "$as_ac_var=no"
51291 fi
51292 rm -f conftest.err conftest.$ac_objext \
51293       conftest$ac_exeext conftest.$ac_ext
51294 fi
51295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51297 if test `eval echo '${'$as_ac_var'}'` = yes; then
51298   cat >>confdefs.h <<_ACEOF
51299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51300 _ACEOF
51301
51302 fi
51303 done
51304
51305   else
51306
51307   echo "$as_me:$LINENO: checking for _logf declaration" >&5
51308 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
51309   if test x${glibcxx_cv_func__logf_use+set} != xset; then
51310     if test "${glibcxx_cv_func__logf_use+set}" = set; then
51311   echo $ECHO_N "(cached) $ECHO_C" >&6
51312 else
51313
51314
51315
51316       ac_ext=cc
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321
51322       cat >conftest.$ac_ext <<_ACEOF
51323 /* confdefs.h.  */
51324 _ACEOF
51325 cat confdefs.h >>conftest.$ac_ext
51326 cat >>conftest.$ac_ext <<_ACEOF
51327 /* end confdefs.h.  */
51328 #include <math.h>
51329                       #ifdef HAVE_IEEEFP_H
51330                       #include <ieeefp.h>
51331                       #endif
51332
51333 int
51334 main ()
51335 {
51336  _logf(0);
51337   ;
51338   return 0;
51339 }
51340 _ACEOF
51341 rm -f conftest.$ac_objext
51342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51343   (eval $ac_compile) 2>conftest.er1
51344   ac_status=$?
51345   grep -v '^ *+' conftest.er1 >conftest.err
51346   rm -f conftest.er1
51347   cat conftest.err >&5
51348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51349   (exit $ac_status); } &&
51350          { ac_try='test -z "$ac_cxx_werror_flag"
51351                          || test ! -s conftest.err'
51352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51353   (eval $ac_try) 2>&5
51354   ac_status=$?
51355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51356   (exit $ac_status); }; } &&
51357          { ac_try='test -s conftest.$ac_objext'
51358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51359   (eval $ac_try) 2>&5
51360   ac_status=$?
51361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51362   (exit $ac_status); }; }; then
51363   glibcxx_cv_func__logf_use=yes
51364 else
51365   echo "$as_me: failed program was:" >&5
51366 sed 's/^/| /' conftest.$ac_ext >&5
51367
51368 glibcxx_cv_func__logf_use=no
51369 fi
51370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51371       ac_ext=c
51372 ac_cpp='$CPP $CPPFLAGS'
51373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51376
51377
51378 fi
51379
51380   fi
51381   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
51382 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
51383
51384     if test x$glibcxx_cv_func__logf_use = x"yes"; then
51385
51386 for ac_func in _logf
51387 do
51388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51389 echo "$as_me:$LINENO: checking for $ac_func" >&5
51390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51391 if eval "test \"\${$as_ac_var+set}\" = set"; then
51392   echo $ECHO_N "(cached) $ECHO_C" >&6
51393 else
51394   if test x$gcc_no_link = xyes; then
51395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51397    { (exit 1); exit 1; }; }
51398 fi
51399 cat >conftest.$ac_ext <<_ACEOF
51400 /* confdefs.h.  */
51401 _ACEOF
51402 cat confdefs.h >>conftest.$ac_ext
51403 cat >>conftest.$ac_ext <<_ACEOF
51404 /* end confdefs.h.  */
51405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51407 #define $ac_func innocuous_$ac_func
51408
51409 /* System header to define __stub macros and hopefully few prototypes,
51410     which can conflict with char $ac_func (); below.
51411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51412     <limits.h> exists even on freestanding compilers.  */
51413
51414 #ifdef __STDC__
51415 # include <limits.h>
51416 #else
51417 # include <assert.h>
51418 #endif
51419
51420 #undef $ac_func
51421
51422 /* Override any gcc2 internal prototype to avoid an error.  */
51423 #ifdef __cplusplus
51424 extern "C"
51425 {
51426 #endif
51427 /* We use char because int might match the return type of a gcc2
51428    builtin and then its argument prototype would still apply.  */
51429 char $ac_func ();
51430 /* The GNU C library defines this for functions which it implements
51431     to always fail with ENOSYS.  Some functions are actually named
51432     something starting with __ and the normal name is an alias.  */
51433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51434 choke me
51435 #else
51436 char (*f) () = $ac_func;
51437 #endif
51438 #ifdef __cplusplus
51439 }
51440 #endif
51441
51442 int
51443 main ()
51444 {
51445 return f != $ac_func;
51446   ;
51447   return 0;
51448 }
51449 _ACEOF
51450 rm -f conftest.$ac_objext conftest$ac_exeext
51451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51452   (eval $ac_link) 2>conftest.er1
51453   ac_status=$?
51454   grep -v '^ *+' conftest.er1 >conftest.err
51455   rm -f conftest.er1
51456   cat conftest.err >&5
51457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51458   (exit $ac_status); } &&
51459          { ac_try='test -z "$ac_c_werror_flag"
51460                          || test ! -s conftest.err'
51461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51462   (eval $ac_try) 2>&5
51463   ac_status=$?
51464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51465   (exit $ac_status); }; } &&
51466          { ac_try='test -s conftest$ac_exeext'
51467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51468   (eval $ac_try) 2>&5
51469   ac_status=$?
51470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471   (exit $ac_status); }; }; then
51472   eval "$as_ac_var=yes"
51473 else
51474   echo "$as_me: failed program was:" >&5
51475 sed 's/^/| /' conftest.$ac_ext >&5
51476
51477 eval "$as_ac_var=no"
51478 fi
51479 rm -f conftest.err conftest.$ac_objext \
51480       conftest$ac_exeext conftest.$ac_ext
51481 fi
51482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51484 if test `eval echo '${'$as_ac_var'}'` = yes; then
51485   cat >>confdefs.h <<_ACEOF
51486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51487 _ACEOF
51488
51489 fi
51490 done
51491
51492     fi
51493   fi
51494
51495
51496
51497
51498
51499
51500   echo "$as_me:$LINENO: checking for log10f declaration" >&5
51501 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51502   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51503     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51504   echo $ECHO_N "(cached) $ECHO_C" >&6
51505 else
51506
51507
51508
51509       ac_ext=cc
51510 ac_cpp='$CXXCPP $CPPFLAGS'
51511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51514
51515       cat >conftest.$ac_ext <<_ACEOF
51516 /* confdefs.h.  */
51517 _ACEOF
51518 cat confdefs.h >>conftest.$ac_ext
51519 cat >>conftest.$ac_ext <<_ACEOF
51520 /* end confdefs.h.  */
51521 #include <math.h>
51522                       #ifdef HAVE_IEEEFP_H
51523                       #include <ieeefp.h>
51524                       #endif
51525
51526 int
51527 main ()
51528 {
51529  log10f(0);
51530   ;
51531   return 0;
51532 }
51533 _ACEOF
51534 rm -f conftest.$ac_objext
51535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51536   (eval $ac_compile) 2>conftest.er1
51537   ac_status=$?
51538   grep -v '^ *+' conftest.er1 >conftest.err
51539   rm -f conftest.er1
51540   cat conftest.err >&5
51541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51542   (exit $ac_status); } &&
51543          { ac_try='test -z "$ac_cxx_werror_flag"
51544                          || test ! -s conftest.err'
51545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51546   (eval $ac_try) 2>&5
51547   ac_status=$?
51548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549   (exit $ac_status); }; } &&
51550          { ac_try='test -s conftest.$ac_objext'
51551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552   (eval $ac_try) 2>&5
51553   ac_status=$?
51554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555   (exit $ac_status); }; }; then
51556   glibcxx_cv_func_log10f_use=yes
51557 else
51558   echo "$as_me: failed program was:" >&5
51559 sed 's/^/| /' conftest.$ac_ext >&5
51560
51561 glibcxx_cv_func_log10f_use=no
51562 fi
51563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51564       ac_ext=c
51565 ac_cpp='$CPP $CPPFLAGS'
51566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51569
51570
51571 fi
51572
51573   fi
51574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51575 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51576
51577   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51578
51579 for ac_func in log10f
51580 do
51581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51582 echo "$as_me:$LINENO: checking for $ac_func" >&5
51583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51584 if eval "test \"\${$as_ac_var+set}\" = set"; then
51585   echo $ECHO_N "(cached) $ECHO_C" >&6
51586 else
51587   if test x$gcc_no_link = xyes; then
51588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51590    { (exit 1); exit 1; }; }
51591 fi
51592 cat >conftest.$ac_ext <<_ACEOF
51593 /* confdefs.h.  */
51594 _ACEOF
51595 cat confdefs.h >>conftest.$ac_ext
51596 cat >>conftest.$ac_ext <<_ACEOF
51597 /* end confdefs.h.  */
51598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51600 #define $ac_func innocuous_$ac_func
51601
51602 /* System header to define __stub macros and hopefully few prototypes,
51603     which can conflict with char $ac_func (); below.
51604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51605     <limits.h> exists even on freestanding compilers.  */
51606
51607 #ifdef __STDC__
51608 # include <limits.h>
51609 #else
51610 # include <assert.h>
51611 #endif
51612
51613 #undef $ac_func
51614
51615 /* Override any gcc2 internal prototype to avoid an error.  */
51616 #ifdef __cplusplus
51617 extern "C"
51618 {
51619 #endif
51620 /* We use char because int might match the return type of a gcc2
51621    builtin and then its argument prototype would still apply.  */
51622 char $ac_func ();
51623 /* The GNU C library defines this for functions which it implements
51624     to always fail with ENOSYS.  Some functions are actually named
51625     something starting with __ and the normal name is an alias.  */
51626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51627 choke me
51628 #else
51629 char (*f) () = $ac_func;
51630 #endif
51631 #ifdef __cplusplus
51632 }
51633 #endif
51634
51635 int
51636 main ()
51637 {
51638 return f != $ac_func;
51639   ;
51640   return 0;
51641 }
51642 _ACEOF
51643 rm -f conftest.$ac_objext conftest$ac_exeext
51644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51645   (eval $ac_link) 2>conftest.er1
51646   ac_status=$?
51647   grep -v '^ *+' conftest.er1 >conftest.err
51648   rm -f conftest.er1
51649   cat conftest.err >&5
51650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51651   (exit $ac_status); } &&
51652          { ac_try='test -z "$ac_c_werror_flag"
51653                          || test ! -s conftest.err'
51654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51655   (eval $ac_try) 2>&5
51656   ac_status=$?
51657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51658   (exit $ac_status); }; } &&
51659          { ac_try='test -s conftest$ac_exeext'
51660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51661   (eval $ac_try) 2>&5
51662   ac_status=$?
51663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51664   (exit $ac_status); }; }; then
51665   eval "$as_ac_var=yes"
51666 else
51667   echo "$as_me: failed program was:" >&5
51668 sed 's/^/| /' conftest.$ac_ext >&5
51669
51670 eval "$as_ac_var=no"
51671 fi
51672 rm -f conftest.err conftest.$ac_objext \
51673       conftest$ac_exeext conftest.$ac_ext
51674 fi
51675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51677 if test `eval echo '${'$as_ac_var'}'` = yes; then
51678   cat >>confdefs.h <<_ACEOF
51679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51680 _ACEOF
51681
51682 fi
51683 done
51684
51685   else
51686
51687   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51688 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51689   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51690     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51691   echo $ECHO_N "(cached) $ECHO_C" >&6
51692 else
51693
51694
51695
51696       ac_ext=cc
51697 ac_cpp='$CXXCPP $CPPFLAGS'
51698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51701
51702       cat >conftest.$ac_ext <<_ACEOF
51703 /* confdefs.h.  */
51704 _ACEOF
51705 cat confdefs.h >>conftest.$ac_ext
51706 cat >>conftest.$ac_ext <<_ACEOF
51707 /* end confdefs.h.  */
51708 #include <math.h>
51709                       #ifdef HAVE_IEEEFP_H
51710                       #include <ieeefp.h>
51711                       #endif
51712
51713 int
51714 main ()
51715 {
51716  _log10f(0);
51717   ;
51718   return 0;
51719 }
51720 _ACEOF
51721 rm -f conftest.$ac_objext
51722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51723   (eval $ac_compile) 2>conftest.er1
51724   ac_status=$?
51725   grep -v '^ *+' conftest.er1 >conftest.err
51726   rm -f conftest.er1
51727   cat conftest.err >&5
51728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729   (exit $ac_status); } &&
51730          { ac_try='test -z "$ac_cxx_werror_flag"
51731                          || test ! -s conftest.err'
51732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51733   (eval $ac_try) 2>&5
51734   ac_status=$?
51735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51736   (exit $ac_status); }; } &&
51737          { ac_try='test -s conftest.$ac_objext'
51738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51739   (eval $ac_try) 2>&5
51740   ac_status=$?
51741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51742   (exit $ac_status); }; }; then
51743   glibcxx_cv_func__log10f_use=yes
51744 else
51745   echo "$as_me: failed program was:" >&5
51746 sed 's/^/| /' conftest.$ac_ext >&5
51747
51748 glibcxx_cv_func__log10f_use=no
51749 fi
51750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51751       ac_ext=c
51752 ac_cpp='$CPP $CPPFLAGS'
51753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756
51757
51758 fi
51759
51760   fi
51761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51762 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51763
51764     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51765
51766 for ac_func in _log10f
51767 do
51768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51769 echo "$as_me:$LINENO: checking for $ac_func" >&5
51770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51771 if eval "test \"\${$as_ac_var+set}\" = set"; then
51772   echo $ECHO_N "(cached) $ECHO_C" >&6
51773 else
51774   if test x$gcc_no_link = xyes; then
51775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51777    { (exit 1); exit 1; }; }
51778 fi
51779 cat >conftest.$ac_ext <<_ACEOF
51780 /* confdefs.h.  */
51781 _ACEOF
51782 cat confdefs.h >>conftest.$ac_ext
51783 cat >>conftest.$ac_ext <<_ACEOF
51784 /* end confdefs.h.  */
51785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51787 #define $ac_func innocuous_$ac_func
51788
51789 /* System header to define __stub macros and hopefully few prototypes,
51790     which can conflict with char $ac_func (); below.
51791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51792     <limits.h> exists even on freestanding compilers.  */
51793
51794 #ifdef __STDC__
51795 # include <limits.h>
51796 #else
51797 # include <assert.h>
51798 #endif
51799
51800 #undef $ac_func
51801
51802 /* Override any gcc2 internal prototype to avoid an error.  */
51803 #ifdef __cplusplus
51804 extern "C"
51805 {
51806 #endif
51807 /* We use char because int might match the return type of a gcc2
51808    builtin and then its argument prototype would still apply.  */
51809 char $ac_func ();
51810 /* The GNU C library defines this for functions which it implements
51811     to always fail with ENOSYS.  Some functions are actually named
51812     something starting with __ and the normal name is an alias.  */
51813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51814 choke me
51815 #else
51816 char (*f) () = $ac_func;
51817 #endif
51818 #ifdef __cplusplus
51819 }
51820 #endif
51821
51822 int
51823 main ()
51824 {
51825 return f != $ac_func;
51826   ;
51827   return 0;
51828 }
51829 _ACEOF
51830 rm -f conftest.$ac_objext conftest$ac_exeext
51831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51832   (eval $ac_link) 2>conftest.er1
51833   ac_status=$?
51834   grep -v '^ *+' conftest.er1 >conftest.err
51835   rm -f conftest.er1
51836   cat conftest.err >&5
51837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51838   (exit $ac_status); } &&
51839          { ac_try='test -z "$ac_c_werror_flag"
51840                          || test ! -s conftest.err'
51841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51842   (eval $ac_try) 2>&5
51843   ac_status=$?
51844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51845   (exit $ac_status); }; } &&
51846          { ac_try='test -s conftest$ac_exeext'
51847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51848   (eval $ac_try) 2>&5
51849   ac_status=$?
51850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51851   (exit $ac_status); }; }; then
51852   eval "$as_ac_var=yes"
51853 else
51854   echo "$as_me: failed program was:" >&5
51855 sed 's/^/| /' conftest.$ac_ext >&5
51856
51857 eval "$as_ac_var=no"
51858 fi
51859 rm -f conftest.err conftest.$ac_objext \
51860       conftest$ac_exeext conftest.$ac_ext
51861 fi
51862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51864 if test `eval echo '${'$as_ac_var'}'` = yes; then
51865   cat >>confdefs.h <<_ACEOF
51866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51867 _ACEOF
51868
51869 fi
51870 done
51871
51872     fi
51873   fi
51874
51875
51876
51877
51878
51879
51880   echo "$as_me:$LINENO: checking for modff declaration" >&5
51881 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51882   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51883     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51884   echo $ECHO_N "(cached) $ECHO_C" >&6
51885 else
51886
51887
51888
51889       ac_ext=cc
51890 ac_cpp='$CXXCPP $CPPFLAGS'
51891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51894
51895       cat >conftest.$ac_ext <<_ACEOF
51896 /* confdefs.h.  */
51897 _ACEOF
51898 cat confdefs.h >>conftest.$ac_ext
51899 cat >>conftest.$ac_ext <<_ACEOF
51900 /* end confdefs.h.  */
51901 #include <math.h>
51902 int
51903 main ()
51904 {
51905  modff(0, 0);
51906   ;
51907   return 0;
51908 }
51909 _ACEOF
51910 rm -f conftest.$ac_objext
51911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51912   (eval $ac_compile) 2>conftest.er1
51913   ac_status=$?
51914   grep -v '^ *+' conftest.er1 >conftest.err
51915   rm -f conftest.er1
51916   cat conftest.err >&5
51917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51918   (exit $ac_status); } &&
51919          { ac_try='test -z "$ac_cxx_werror_flag"
51920                          || test ! -s conftest.err'
51921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51922   (eval $ac_try) 2>&5
51923   ac_status=$?
51924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51925   (exit $ac_status); }; } &&
51926          { ac_try='test -s conftest.$ac_objext'
51927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51928   (eval $ac_try) 2>&5
51929   ac_status=$?
51930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51931   (exit $ac_status); }; }; then
51932   glibcxx_cv_func_modff_use=yes
51933 else
51934   echo "$as_me: failed program was:" >&5
51935 sed 's/^/| /' conftest.$ac_ext >&5
51936
51937 glibcxx_cv_func_modff_use=no
51938 fi
51939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51940       ac_ext=c
51941 ac_cpp='$CPP $CPPFLAGS'
51942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51945
51946
51947 fi
51948
51949   fi
51950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51951 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51952
51953   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51954
51955 for ac_func in modff
51956 do
51957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51958 echo "$as_me:$LINENO: checking for $ac_func" >&5
51959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51960 if eval "test \"\${$as_ac_var+set}\" = set"; then
51961   echo $ECHO_N "(cached) $ECHO_C" >&6
51962 else
51963   if test x$gcc_no_link = xyes; then
51964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51966    { (exit 1); exit 1; }; }
51967 fi
51968 cat >conftest.$ac_ext <<_ACEOF
51969 /* confdefs.h.  */
51970 _ACEOF
51971 cat confdefs.h >>conftest.$ac_ext
51972 cat >>conftest.$ac_ext <<_ACEOF
51973 /* end confdefs.h.  */
51974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51976 #define $ac_func innocuous_$ac_func
51977
51978 /* System header to define __stub macros and hopefully few prototypes,
51979     which can conflict with char $ac_func (); below.
51980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51981     <limits.h> exists even on freestanding compilers.  */
51982
51983 #ifdef __STDC__
51984 # include <limits.h>
51985 #else
51986 # include <assert.h>
51987 #endif
51988
51989 #undef $ac_func
51990
51991 /* Override any gcc2 internal prototype to avoid an error.  */
51992 #ifdef __cplusplus
51993 extern "C"
51994 {
51995 #endif
51996 /* We use char because int might match the return type of a gcc2
51997    builtin and then its argument prototype would still apply.  */
51998 char $ac_func ();
51999 /* The GNU C library defines this for functions which it implements
52000     to always fail with ENOSYS.  Some functions are actually named
52001     something starting with __ and the normal name is an alias.  */
52002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52003 choke me
52004 #else
52005 char (*f) () = $ac_func;
52006 #endif
52007 #ifdef __cplusplus
52008 }
52009 #endif
52010
52011 int
52012 main ()
52013 {
52014 return f != $ac_func;
52015   ;
52016   return 0;
52017 }
52018 _ACEOF
52019 rm -f conftest.$ac_objext conftest$ac_exeext
52020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52021   (eval $ac_link) 2>conftest.er1
52022   ac_status=$?
52023   grep -v '^ *+' conftest.er1 >conftest.err
52024   rm -f conftest.er1
52025   cat conftest.err >&5
52026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52027   (exit $ac_status); } &&
52028          { ac_try='test -z "$ac_c_werror_flag"
52029                          || test ! -s conftest.err'
52030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52031   (eval $ac_try) 2>&5
52032   ac_status=$?
52033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52034   (exit $ac_status); }; } &&
52035          { ac_try='test -s conftest$ac_exeext'
52036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52037   (eval $ac_try) 2>&5
52038   ac_status=$?
52039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52040   (exit $ac_status); }; }; then
52041   eval "$as_ac_var=yes"
52042 else
52043   echo "$as_me: failed program was:" >&5
52044 sed 's/^/| /' conftest.$ac_ext >&5
52045
52046 eval "$as_ac_var=no"
52047 fi
52048 rm -f conftest.err conftest.$ac_objext \
52049       conftest$ac_exeext conftest.$ac_ext
52050 fi
52051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52053 if test `eval echo '${'$as_ac_var'}'` = yes; then
52054   cat >>confdefs.h <<_ACEOF
52055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52056 _ACEOF
52057
52058 fi
52059 done
52060
52061   else
52062
52063   echo "$as_me:$LINENO: checking for _modff declaration" >&5
52064 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
52065   if test x${glibcxx_cv_func__modff_use+set} != xset; then
52066     if test "${glibcxx_cv_func__modff_use+set}" = set; then
52067   echo $ECHO_N "(cached) $ECHO_C" >&6
52068 else
52069
52070
52071
52072       ac_ext=cc
52073 ac_cpp='$CXXCPP $CPPFLAGS'
52074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52077
52078       cat >conftest.$ac_ext <<_ACEOF
52079 /* confdefs.h.  */
52080 _ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h.  */
52084 #include <math.h>
52085 int
52086 main ()
52087 {
52088  _modff(0, 0);
52089   ;
52090   return 0;
52091 }
52092 _ACEOF
52093 rm -f conftest.$ac_objext
52094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52095   (eval $ac_compile) 2>conftest.er1
52096   ac_status=$?
52097   grep -v '^ *+' conftest.er1 >conftest.err
52098   rm -f conftest.er1
52099   cat conftest.err >&5
52100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52101   (exit $ac_status); } &&
52102          { ac_try='test -z "$ac_cxx_werror_flag"
52103                          || test ! -s conftest.err'
52104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52105   (eval $ac_try) 2>&5
52106   ac_status=$?
52107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52108   (exit $ac_status); }; } &&
52109          { ac_try='test -s conftest.$ac_objext'
52110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52111   (eval $ac_try) 2>&5
52112   ac_status=$?
52113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52114   (exit $ac_status); }; }; then
52115   glibcxx_cv_func__modff_use=yes
52116 else
52117   echo "$as_me: failed program was:" >&5
52118 sed 's/^/| /' conftest.$ac_ext >&5
52119
52120 glibcxx_cv_func__modff_use=no
52121 fi
52122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52123       ac_ext=c
52124 ac_cpp='$CPP $CPPFLAGS'
52125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52128
52129
52130 fi
52131
52132   fi
52133   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
52134 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
52135
52136     if test x$glibcxx_cv_func__modff_use = x"yes"; then
52137
52138 for ac_func in _modff
52139 do
52140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52141 echo "$as_me:$LINENO: checking for $ac_func" >&5
52142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52143 if eval "test \"\${$as_ac_var+set}\" = set"; then
52144   echo $ECHO_N "(cached) $ECHO_C" >&6
52145 else
52146   if test x$gcc_no_link = xyes; then
52147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52149    { (exit 1); exit 1; }; }
52150 fi
52151 cat >conftest.$ac_ext <<_ACEOF
52152 /* confdefs.h.  */
52153 _ACEOF
52154 cat confdefs.h >>conftest.$ac_ext
52155 cat >>conftest.$ac_ext <<_ACEOF
52156 /* end confdefs.h.  */
52157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52159 #define $ac_func innocuous_$ac_func
52160
52161 /* System header to define __stub macros and hopefully few prototypes,
52162     which can conflict with char $ac_func (); below.
52163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52164     <limits.h> exists even on freestanding compilers.  */
52165
52166 #ifdef __STDC__
52167 # include <limits.h>
52168 #else
52169 # include <assert.h>
52170 #endif
52171
52172 #undef $ac_func
52173
52174 /* Override any gcc2 internal prototype to avoid an error.  */
52175 #ifdef __cplusplus
52176 extern "C"
52177 {
52178 #endif
52179 /* We use char because int might match the return type of a gcc2
52180    builtin and then its argument prototype would still apply.  */
52181 char $ac_func ();
52182 /* The GNU C library defines this for functions which it implements
52183     to always fail with ENOSYS.  Some functions are actually named
52184     something starting with __ and the normal name is an alias.  */
52185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52186 choke me
52187 #else
52188 char (*f) () = $ac_func;
52189 #endif
52190 #ifdef __cplusplus
52191 }
52192 #endif
52193
52194 int
52195 main ()
52196 {
52197 return f != $ac_func;
52198   ;
52199   return 0;
52200 }
52201 _ACEOF
52202 rm -f conftest.$ac_objext conftest$ac_exeext
52203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52204   (eval $ac_link) 2>conftest.er1
52205   ac_status=$?
52206   grep -v '^ *+' conftest.er1 >conftest.err
52207   rm -f conftest.er1
52208   cat conftest.err >&5
52209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52210   (exit $ac_status); } &&
52211          { ac_try='test -z "$ac_c_werror_flag"
52212                          || test ! -s conftest.err'
52213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52214   (eval $ac_try) 2>&5
52215   ac_status=$?
52216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52217   (exit $ac_status); }; } &&
52218          { ac_try='test -s conftest$ac_exeext'
52219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52220   (eval $ac_try) 2>&5
52221   ac_status=$?
52222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52223   (exit $ac_status); }; }; then
52224   eval "$as_ac_var=yes"
52225 else
52226   echo "$as_me: failed program was:" >&5
52227 sed 's/^/| /' conftest.$ac_ext >&5
52228
52229 eval "$as_ac_var=no"
52230 fi
52231 rm -f conftest.err conftest.$ac_objext \
52232       conftest$ac_exeext conftest.$ac_ext
52233 fi
52234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52236 if test `eval echo '${'$as_ac_var'}'` = yes; then
52237   cat >>confdefs.h <<_ACEOF
52238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52239 _ACEOF
52240
52241 fi
52242 done
52243
52244     fi
52245   fi
52246
52247
52248
52249
52250
52251
52252   echo "$as_me:$LINENO: checking for modf declaration" >&5
52253 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
52254   if test x${glibcxx_cv_func_modf_use+set} != xset; then
52255     if test "${glibcxx_cv_func_modf_use+set}" = set; then
52256   echo $ECHO_N "(cached) $ECHO_C" >&6
52257 else
52258
52259
52260
52261       ac_ext=cc
52262 ac_cpp='$CXXCPP $CPPFLAGS'
52263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52266
52267       cat >conftest.$ac_ext <<_ACEOF
52268 /* confdefs.h.  */
52269 _ACEOF
52270 cat confdefs.h >>conftest.$ac_ext
52271 cat >>conftest.$ac_ext <<_ACEOF
52272 /* end confdefs.h.  */
52273 #include <math.h>
52274 int
52275 main ()
52276 {
52277  modf(0, 0);
52278   ;
52279   return 0;
52280 }
52281 _ACEOF
52282 rm -f conftest.$ac_objext
52283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52284   (eval $ac_compile) 2>conftest.er1
52285   ac_status=$?
52286   grep -v '^ *+' conftest.er1 >conftest.err
52287   rm -f conftest.er1
52288   cat conftest.err >&5
52289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290   (exit $ac_status); } &&
52291          { ac_try='test -z "$ac_cxx_werror_flag"
52292                          || test ! -s conftest.err'
52293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52294   (eval $ac_try) 2>&5
52295   ac_status=$?
52296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52297   (exit $ac_status); }; } &&
52298          { ac_try='test -s conftest.$ac_objext'
52299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52300   (eval $ac_try) 2>&5
52301   ac_status=$?
52302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52303   (exit $ac_status); }; }; then
52304   glibcxx_cv_func_modf_use=yes
52305 else
52306   echo "$as_me: failed program was:" >&5
52307 sed 's/^/| /' conftest.$ac_ext >&5
52308
52309 glibcxx_cv_func_modf_use=no
52310 fi
52311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52312       ac_ext=c
52313 ac_cpp='$CPP $CPPFLAGS'
52314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52317
52318
52319 fi
52320
52321   fi
52322   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
52323 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
52324
52325   if test x$glibcxx_cv_func_modf_use = x"yes"; then
52326
52327 for ac_func in modf
52328 do
52329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52330 echo "$as_me:$LINENO: checking for $ac_func" >&5
52331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52332 if eval "test \"\${$as_ac_var+set}\" = set"; then
52333   echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335   if test x$gcc_no_link = xyes; then
52336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338    { (exit 1); exit 1; }; }
52339 fi
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h.  */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h.  */
52346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52348 #define $ac_func innocuous_$ac_func
52349
52350 /* System header to define __stub macros and hopefully few prototypes,
52351     which can conflict with char $ac_func (); below.
52352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52353     <limits.h> exists even on freestanding compilers.  */
52354
52355 #ifdef __STDC__
52356 # include <limits.h>
52357 #else
52358 # include <assert.h>
52359 #endif
52360
52361 #undef $ac_func
52362
52363 /* Override any gcc2 internal prototype to avoid an error.  */
52364 #ifdef __cplusplus
52365 extern "C"
52366 {
52367 #endif
52368 /* We use char because int might match the return type of a gcc2
52369    builtin and then its argument prototype would still apply.  */
52370 char $ac_func ();
52371 /* The GNU C library defines this for functions which it implements
52372     to always fail with ENOSYS.  Some functions are actually named
52373     something starting with __ and the normal name is an alias.  */
52374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52375 choke me
52376 #else
52377 char (*f) () = $ac_func;
52378 #endif
52379 #ifdef __cplusplus
52380 }
52381 #endif
52382
52383 int
52384 main ()
52385 {
52386 return f != $ac_func;
52387   ;
52388   return 0;
52389 }
52390 _ACEOF
52391 rm -f conftest.$ac_objext conftest$ac_exeext
52392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52393   (eval $ac_link) 2>conftest.er1
52394   ac_status=$?
52395   grep -v '^ *+' conftest.er1 >conftest.err
52396   rm -f conftest.er1
52397   cat conftest.err >&5
52398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399   (exit $ac_status); } &&
52400          { ac_try='test -z "$ac_c_werror_flag"
52401                          || test ! -s conftest.err'
52402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403   (eval $ac_try) 2>&5
52404   ac_status=$?
52405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406   (exit $ac_status); }; } &&
52407          { ac_try='test -s conftest$ac_exeext'
52408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409   (eval $ac_try) 2>&5
52410   ac_status=$?
52411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412   (exit $ac_status); }; }; then
52413   eval "$as_ac_var=yes"
52414 else
52415   echo "$as_me: failed program was:" >&5
52416 sed 's/^/| /' conftest.$ac_ext >&5
52417
52418 eval "$as_ac_var=no"
52419 fi
52420 rm -f conftest.err conftest.$ac_objext \
52421       conftest$ac_exeext conftest.$ac_ext
52422 fi
52423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52425 if test `eval echo '${'$as_ac_var'}'` = yes; then
52426   cat >>confdefs.h <<_ACEOF
52427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52428 _ACEOF
52429
52430 fi
52431 done
52432
52433   else
52434
52435   echo "$as_me:$LINENO: checking for _modf declaration" >&5
52436 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52437   if test x${glibcxx_cv_func__modf_use+set} != xset; then
52438     if test "${glibcxx_cv_func__modf_use+set}" = set; then
52439   echo $ECHO_N "(cached) $ECHO_C" >&6
52440 else
52441
52442
52443
52444       ac_ext=cc
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450       cat >conftest.$ac_ext <<_ACEOF
52451 /* confdefs.h.  */
52452 _ACEOF
52453 cat confdefs.h >>conftest.$ac_ext
52454 cat >>conftest.$ac_ext <<_ACEOF
52455 /* end confdefs.h.  */
52456 #include <math.h>
52457 int
52458 main ()
52459 {
52460  _modf(0, 0);
52461   ;
52462   return 0;
52463 }
52464 _ACEOF
52465 rm -f conftest.$ac_objext
52466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52467   (eval $ac_compile) 2>conftest.er1
52468   ac_status=$?
52469   grep -v '^ *+' conftest.er1 >conftest.err
52470   rm -f conftest.er1
52471   cat conftest.err >&5
52472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52473   (exit $ac_status); } &&
52474          { ac_try='test -z "$ac_cxx_werror_flag"
52475                          || test ! -s conftest.err'
52476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52477   (eval $ac_try) 2>&5
52478   ac_status=$?
52479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52480   (exit $ac_status); }; } &&
52481          { ac_try='test -s conftest.$ac_objext'
52482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52483   (eval $ac_try) 2>&5
52484   ac_status=$?
52485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52486   (exit $ac_status); }; }; then
52487   glibcxx_cv_func__modf_use=yes
52488 else
52489   echo "$as_me: failed program was:" >&5
52490 sed 's/^/| /' conftest.$ac_ext >&5
52491
52492 glibcxx_cv_func__modf_use=no
52493 fi
52494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52495       ac_ext=c
52496 ac_cpp='$CPP $CPPFLAGS'
52497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52500
52501
52502 fi
52503
52504   fi
52505   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52506 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52507
52508     if test x$glibcxx_cv_func__modf_use = x"yes"; then
52509
52510 for ac_func in _modf
52511 do
52512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52513 echo "$as_me:$LINENO: checking for $ac_func" >&5
52514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52515 if eval "test \"\${$as_ac_var+set}\" = set"; then
52516   echo $ECHO_N "(cached) $ECHO_C" >&6
52517 else
52518   if test x$gcc_no_link = xyes; then
52519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52521    { (exit 1); exit 1; }; }
52522 fi
52523 cat >conftest.$ac_ext <<_ACEOF
52524 /* confdefs.h.  */
52525 _ACEOF
52526 cat confdefs.h >>conftest.$ac_ext
52527 cat >>conftest.$ac_ext <<_ACEOF
52528 /* end confdefs.h.  */
52529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52531 #define $ac_func innocuous_$ac_func
52532
52533 /* System header to define __stub macros and hopefully few prototypes,
52534     which can conflict with char $ac_func (); below.
52535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52536     <limits.h> exists even on freestanding compilers.  */
52537
52538 #ifdef __STDC__
52539 # include <limits.h>
52540 #else
52541 # include <assert.h>
52542 #endif
52543
52544 #undef $ac_func
52545
52546 /* Override any gcc2 internal prototype to avoid an error.  */
52547 #ifdef __cplusplus
52548 extern "C"
52549 {
52550 #endif
52551 /* We use char because int might match the return type of a gcc2
52552    builtin and then its argument prototype would still apply.  */
52553 char $ac_func ();
52554 /* The GNU C library defines this for functions which it implements
52555     to always fail with ENOSYS.  Some functions are actually named
52556     something starting with __ and the normal name is an alias.  */
52557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52558 choke me
52559 #else
52560 char (*f) () = $ac_func;
52561 #endif
52562 #ifdef __cplusplus
52563 }
52564 #endif
52565
52566 int
52567 main ()
52568 {
52569 return f != $ac_func;
52570   ;
52571   return 0;
52572 }
52573 _ACEOF
52574 rm -f conftest.$ac_objext conftest$ac_exeext
52575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52576   (eval $ac_link) 2>conftest.er1
52577   ac_status=$?
52578   grep -v '^ *+' conftest.er1 >conftest.err
52579   rm -f conftest.er1
52580   cat conftest.err >&5
52581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52582   (exit $ac_status); } &&
52583          { ac_try='test -z "$ac_c_werror_flag"
52584                          || test ! -s conftest.err'
52585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52586   (eval $ac_try) 2>&5
52587   ac_status=$?
52588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52589   (exit $ac_status); }; } &&
52590          { ac_try='test -s conftest$ac_exeext'
52591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52592   (eval $ac_try) 2>&5
52593   ac_status=$?
52594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52595   (exit $ac_status); }; }; then
52596   eval "$as_ac_var=yes"
52597 else
52598   echo "$as_me: failed program was:" >&5
52599 sed 's/^/| /' conftest.$ac_ext >&5
52600
52601 eval "$as_ac_var=no"
52602 fi
52603 rm -f conftest.err conftest.$ac_objext \
52604       conftest$ac_exeext conftest.$ac_ext
52605 fi
52606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52608 if test `eval echo '${'$as_ac_var'}'` = yes; then
52609   cat >>confdefs.h <<_ACEOF
52610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52611 _ACEOF
52612
52613 fi
52614 done
52615
52616     fi
52617   fi
52618
52619
52620
52621
52622
52623
52624   echo "$as_me:$LINENO: checking for powf declaration" >&5
52625 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52626   if test x${glibcxx_cv_func_powf_use+set} != xset; then
52627     if test "${glibcxx_cv_func_powf_use+set}" = set; then
52628   echo $ECHO_N "(cached) $ECHO_C" >&6
52629 else
52630
52631
52632
52633       ac_ext=cc
52634 ac_cpp='$CXXCPP $CPPFLAGS'
52635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52638
52639       cat >conftest.$ac_ext <<_ACEOF
52640 /* confdefs.h.  */
52641 _ACEOF
52642 cat confdefs.h >>conftest.$ac_ext
52643 cat >>conftest.$ac_ext <<_ACEOF
52644 /* end confdefs.h.  */
52645 #include <math.h>
52646 int
52647 main ()
52648 {
52649  powf(0, 0);
52650   ;
52651   return 0;
52652 }
52653 _ACEOF
52654 rm -f conftest.$ac_objext
52655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52656   (eval $ac_compile) 2>conftest.er1
52657   ac_status=$?
52658   grep -v '^ *+' conftest.er1 >conftest.err
52659   rm -f conftest.er1
52660   cat conftest.err >&5
52661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52662   (exit $ac_status); } &&
52663          { ac_try='test -z "$ac_cxx_werror_flag"
52664                          || test ! -s conftest.err'
52665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52666   (eval $ac_try) 2>&5
52667   ac_status=$?
52668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52669   (exit $ac_status); }; } &&
52670          { ac_try='test -s conftest.$ac_objext'
52671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52672   (eval $ac_try) 2>&5
52673   ac_status=$?
52674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52675   (exit $ac_status); }; }; then
52676   glibcxx_cv_func_powf_use=yes
52677 else
52678   echo "$as_me: failed program was:" >&5
52679 sed 's/^/| /' conftest.$ac_ext >&5
52680
52681 glibcxx_cv_func_powf_use=no
52682 fi
52683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52684       ac_ext=c
52685 ac_cpp='$CPP $CPPFLAGS'
52686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52689
52690
52691 fi
52692
52693   fi
52694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52695 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52696
52697   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52698
52699 for ac_func in powf
52700 do
52701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52702 echo "$as_me:$LINENO: checking for $ac_func" >&5
52703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52704 if eval "test \"\${$as_ac_var+set}\" = set"; then
52705   echo $ECHO_N "(cached) $ECHO_C" >&6
52706 else
52707   if test x$gcc_no_link = xyes; then
52708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52710    { (exit 1); exit 1; }; }
52711 fi
52712 cat >conftest.$ac_ext <<_ACEOF
52713 /* confdefs.h.  */
52714 _ACEOF
52715 cat confdefs.h >>conftest.$ac_ext
52716 cat >>conftest.$ac_ext <<_ACEOF
52717 /* end confdefs.h.  */
52718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52720 #define $ac_func innocuous_$ac_func
52721
52722 /* System header to define __stub macros and hopefully few prototypes,
52723     which can conflict with char $ac_func (); below.
52724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52725     <limits.h> exists even on freestanding compilers.  */
52726
52727 #ifdef __STDC__
52728 # include <limits.h>
52729 #else
52730 # include <assert.h>
52731 #endif
52732
52733 #undef $ac_func
52734
52735 /* Override any gcc2 internal prototype to avoid an error.  */
52736 #ifdef __cplusplus
52737 extern "C"
52738 {
52739 #endif
52740 /* We use char because int might match the return type of a gcc2
52741    builtin and then its argument prototype would still apply.  */
52742 char $ac_func ();
52743 /* The GNU C library defines this for functions which it implements
52744     to always fail with ENOSYS.  Some functions are actually named
52745     something starting with __ and the normal name is an alias.  */
52746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52747 choke me
52748 #else
52749 char (*f) () = $ac_func;
52750 #endif
52751 #ifdef __cplusplus
52752 }
52753 #endif
52754
52755 int
52756 main ()
52757 {
52758 return f != $ac_func;
52759   ;
52760   return 0;
52761 }
52762 _ACEOF
52763 rm -f conftest.$ac_objext conftest$ac_exeext
52764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52765   (eval $ac_link) 2>conftest.er1
52766   ac_status=$?
52767   grep -v '^ *+' conftest.er1 >conftest.err
52768   rm -f conftest.er1
52769   cat conftest.err >&5
52770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52771   (exit $ac_status); } &&
52772          { ac_try='test -z "$ac_c_werror_flag"
52773                          || test ! -s conftest.err'
52774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52775   (eval $ac_try) 2>&5
52776   ac_status=$?
52777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52778   (exit $ac_status); }; } &&
52779          { ac_try='test -s conftest$ac_exeext'
52780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52781   (eval $ac_try) 2>&5
52782   ac_status=$?
52783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52784   (exit $ac_status); }; }; then
52785   eval "$as_ac_var=yes"
52786 else
52787   echo "$as_me: failed program was:" >&5
52788 sed 's/^/| /' conftest.$ac_ext >&5
52789
52790 eval "$as_ac_var=no"
52791 fi
52792 rm -f conftest.err conftest.$ac_objext \
52793       conftest$ac_exeext conftest.$ac_ext
52794 fi
52795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52797 if test `eval echo '${'$as_ac_var'}'` = yes; then
52798   cat >>confdefs.h <<_ACEOF
52799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52800 _ACEOF
52801
52802 fi
52803 done
52804
52805   else
52806
52807   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52808 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52809   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52810     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52811   echo $ECHO_N "(cached) $ECHO_C" >&6
52812 else
52813
52814
52815
52816       ac_ext=cc
52817 ac_cpp='$CXXCPP $CPPFLAGS'
52818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52821
52822       cat >conftest.$ac_ext <<_ACEOF
52823 /* confdefs.h.  */
52824 _ACEOF
52825 cat confdefs.h >>conftest.$ac_ext
52826 cat >>conftest.$ac_ext <<_ACEOF
52827 /* end confdefs.h.  */
52828 #include <math.h>
52829 int
52830 main ()
52831 {
52832  _powf(0, 0);
52833   ;
52834   return 0;
52835 }
52836 _ACEOF
52837 rm -f conftest.$ac_objext
52838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52839   (eval $ac_compile) 2>conftest.er1
52840   ac_status=$?
52841   grep -v '^ *+' conftest.er1 >conftest.err
52842   rm -f conftest.er1
52843   cat conftest.err >&5
52844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52845   (exit $ac_status); } &&
52846          { ac_try='test -z "$ac_cxx_werror_flag"
52847                          || test ! -s conftest.err'
52848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52849   (eval $ac_try) 2>&5
52850   ac_status=$?
52851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52852   (exit $ac_status); }; } &&
52853          { ac_try='test -s conftest.$ac_objext'
52854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52855   (eval $ac_try) 2>&5
52856   ac_status=$?
52857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52858   (exit $ac_status); }; }; then
52859   glibcxx_cv_func__powf_use=yes
52860 else
52861   echo "$as_me: failed program was:" >&5
52862 sed 's/^/| /' conftest.$ac_ext >&5
52863
52864 glibcxx_cv_func__powf_use=no
52865 fi
52866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52867       ac_ext=c
52868 ac_cpp='$CPP $CPPFLAGS'
52869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52872
52873
52874 fi
52875
52876   fi
52877   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52878 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52879
52880     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52881
52882 for ac_func in _powf
52883 do
52884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52885 echo "$as_me:$LINENO: checking for $ac_func" >&5
52886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52887 if eval "test \"\${$as_ac_var+set}\" = set"; then
52888   echo $ECHO_N "(cached) $ECHO_C" >&6
52889 else
52890   if test x$gcc_no_link = xyes; then
52891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52893    { (exit 1); exit 1; }; }
52894 fi
52895 cat >conftest.$ac_ext <<_ACEOF
52896 /* confdefs.h.  */
52897 _ACEOF
52898 cat confdefs.h >>conftest.$ac_ext
52899 cat >>conftest.$ac_ext <<_ACEOF
52900 /* end confdefs.h.  */
52901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52903 #define $ac_func innocuous_$ac_func
52904
52905 /* System header to define __stub macros and hopefully few prototypes,
52906     which can conflict with char $ac_func (); below.
52907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52908     <limits.h> exists even on freestanding compilers.  */
52909
52910 #ifdef __STDC__
52911 # include <limits.h>
52912 #else
52913 # include <assert.h>
52914 #endif
52915
52916 #undef $ac_func
52917
52918 /* Override any gcc2 internal prototype to avoid an error.  */
52919 #ifdef __cplusplus
52920 extern "C"
52921 {
52922 #endif
52923 /* We use char because int might match the return type of a gcc2
52924    builtin and then its argument prototype would still apply.  */
52925 char $ac_func ();
52926 /* The GNU C library defines this for functions which it implements
52927     to always fail with ENOSYS.  Some functions are actually named
52928     something starting with __ and the normal name is an alias.  */
52929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52930 choke me
52931 #else
52932 char (*f) () = $ac_func;
52933 #endif
52934 #ifdef __cplusplus
52935 }
52936 #endif
52937
52938 int
52939 main ()
52940 {
52941 return f != $ac_func;
52942   ;
52943   return 0;
52944 }
52945 _ACEOF
52946 rm -f conftest.$ac_objext conftest$ac_exeext
52947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52948   (eval $ac_link) 2>conftest.er1
52949   ac_status=$?
52950   grep -v '^ *+' conftest.er1 >conftest.err
52951   rm -f conftest.er1
52952   cat conftest.err >&5
52953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52954   (exit $ac_status); } &&
52955          { ac_try='test -z "$ac_c_werror_flag"
52956                          || test ! -s conftest.err'
52957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52958   (eval $ac_try) 2>&5
52959   ac_status=$?
52960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52961   (exit $ac_status); }; } &&
52962          { ac_try='test -s conftest$ac_exeext'
52963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52964   (eval $ac_try) 2>&5
52965   ac_status=$?
52966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967   (exit $ac_status); }; }; then
52968   eval "$as_ac_var=yes"
52969 else
52970   echo "$as_me: failed program was:" >&5
52971 sed 's/^/| /' conftest.$ac_ext >&5
52972
52973 eval "$as_ac_var=no"
52974 fi
52975 rm -f conftest.err conftest.$ac_objext \
52976       conftest$ac_exeext conftest.$ac_ext
52977 fi
52978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52980 if test `eval echo '${'$as_ac_var'}'` = yes; then
52981   cat >>confdefs.h <<_ACEOF
52982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52983 _ACEOF
52984
52985 fi
52986 done
52987
52988     fi
52989   fi
52990
52991
52992
52993
52994
52995
52996   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52997 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52998   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52999     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
53000   echo $ECHO_N "(cached) $ECHO_C" >&6
53001 else
53002
53003
53004
53005       ac_ext=cc
53006 ac_cpp='$CXXCPP $CPPFLAGS'
53007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53010
53011       cat >conftest.$ac_ext <<_ACEOF
53012 /* confdefs.h.  */
53013 _ACEOF
53014 cat confdefs.h >>conftest.$ac_ext
53015 cat >>conftest.$ac_ext <<_ACEOF
53016 /* end confdefs.h.  */
53017 #include <math.h>
53018                       #ifdef HAVE_IEEEFP_H
53019                       #include <ieeefp.h>
53020                       #endif
53021
53022 int
53023 main ()
53024 {
53025  sqrtf(0);
53026   ;
53027   return 0;
53028 }
53029 _ACEOF
53030 rm -f conftest.$ac_objext
53031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53032   (eval $ac_compile) 2>conftest.er1
53033   ac_status=$?
53034   grep -v '^ *+' conftest.er1 >conftest.err
53035   rm -f conftest.er1
53036   cat conftest.err >&5
53037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53038   (exit $ac_status); } &&
53039          { ac_try='test -z "$ac_cxx_werror_flag"
53040                          || test ! -s conftest.err'
53041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53042   (eval $ac_try) 2>&5
53043   ac_status=$?
53044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53045   (exit $ac_status); }; } &&
53046          { ac_try='test -s conftest.$ac_objext'
53047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53048   (eval $ac_try) 2>&5
53049   ac_status=$?
53050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53051   (exit $ac_status); }; }; then
53052   glibcxx_cv_func_sqrtf_use=yes
53053 else
53054   echo "$as_me: failed program was:" >&5
53055 sed 's/^/| /' conftest.$ac_ext >&5
53056
53057 glibcxx_cv_func_sqrtf_use=no
53058 fi
53059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53060       ac_ext=c
53061 ac_cpp='$CPP $CPPFLAGS'
53062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53065
53066
53067 fi
53068
53069   fi
53070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
53071 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
53072
53073   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53074
53075 for ac_func in sqrtf
53076 do
53077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53078 echo "$as_me:$LINENO: checking for $ac_func" >&5
53079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53080 if eval "test \"\${$as_ac_var+set}\" = set"; then
53081   echo $ECHO_N "(cached) $ECHO_C" >&6
53082 else
53083   if test x$gcc_no_link = xyes; then
53084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53086    { (exit 1); exit 1; }; }
53087 fi
53088 cat >conftest.$ac_ext <<_ACEOF
53089 /* confdefs.h.  */
53090 _ACEOF
53091 cat confdefs.h >>conftest.$ac_ext
53092 cat >>conftest.$ac_ext <<_ACEOF
53093 /* end confdefs.h.  */
53094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53096 #define $ac_func innocuous_$ac_func
53097
53098 /* System header to define __stub macros and hopefully few prototypes,
53099     which can conflict with char $ac_func (); below.
53100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53101     <limits.h> exists even on freestanding compilers.  */
53102
53103 #ifdef __STDC__
53104 # include <limits.h>
53105 #else
53106 # include <assert.h>
53107 #endif
53108
53109 #undef $ac_func
53110
53111 /* Override any gcc2 internal prototype to avoid an error.  */
53112 #ifdef __cplusplus
53113 extern "C"
53114 {
53115 #endif
53116 /* We use char because int might match the return type of a gcc2
53117    builtin and then its argument prototype would still apply.  */
53118 char $ac_func ();
53119 /* The GNU C library defines this for functions which it implements
53120     to always fail with ENOSYS.  Some functions are actually named
53121     something starting with __ and the normal name is an alias.  */
53122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53123 choke me
53124 #else
53125 char (*f) () = $ac_func;
53126 #endif
53127 #ifdef __cplusplus
53128 }
53129 #endif
53130
53131 int
53132 main ()
53133 {
53134 return f != $ac_func;
53135   ;
53136   return 0;
53137 }
53138 _ACEOF
53139 rm -f conftest.$ac_objext conftest$ac_exeext
53140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53141   (eval $ac_link) 2>conftest.er1
53142   ac_status=$?
53143   grep -v '^ *+' conftest.er1 >conftest.err
53144   rm -f conftest.er1
53145   cat conftest.err >&5
53146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53147   (exit $ac_status); } &&
53148          { ac_try='test -z "$ac_c_werror_flag"
53149                          || test ! -s conftest.err'
53150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53151   (eval $ac_try) 2>&5
53152   ac_status=$?
53153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53154   (exit $ac_status); }; } &&
53155          { ac_try='test -s conftest$ac_exeext'
53156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53157   (eval $ac_try) 2>&5
53158   ac_status=$?
53159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53160   (exit $ac_status); }; }; then
53161   eval "$as_ac_var=yes"
53162 else
53163   echo "$as_me: failed program was:" >&5
53164 sed 's/^/| /' conftest.$ac_ext >&5
53165
53166 eval "$as_ac_var=no"
53167 fi
53168 rm -f conftest.err conftest.$ac_objext \
53169       conftest$ac_exeext conftest.$ac_ext
53170 fi
53171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53173 if test `eval echo '${'$as_ac_var'}'` = yes; then
53174   cat >>confdefs.h <<_ACEOF
53175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53176 _ACEOF
53177
53178 fi
53179 done
53180
53181   else
53182
53183   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
53184 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
53185   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53186     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
53187   echo $ECHO_N "(cached) $ECHO_C" >&6
53188 else
53189
53190
53191
53192       ac_ext=cc
53193 ac_cpp='$CXXCPP $CPPFLAGS'
53194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53197
53198       cat >conftest.$ac_ext <<_ACEOF
53199 /* confdefs.h.  */
53200 _ACEOF
53201 cat confdefs.h >>conftest.$ac_ext
53202 cat >>conftest.$ac_ext <<_ACEOF
53203 /* end confdefs.h.  */
53204 #include <math.h>
53205                       #ifdef HAVE_IEEEFP_H
53206                       #include <ieeefp.h>
53207                       #endif
53208
53209 int
53210 main ()
53211 {
53212  _sqrtf(0);
53213   ;
53214   return 0;
53215 }
53216 _ACEOF
53217 rm -f conftest.$ac_objext
53218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53219   (eval $ac_compile) 2>conftest.er1
53220   ac_status=$?
53221   grep -v '^ *+' conftest.er1 >conftest.err
53222   rm -f conftest.er1
53223   cat conftest.err >&5
53224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53225   (exit $ac_status); } &&
53226          { ac_try='test -z "$ac_cxx_werror_flag"
53227                          || test ! -s conftest.err'
53228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53229   (eval $ac_try) 2>&5
53230   ac_status=$?
53231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53232   (exit $ac_status); }; } &&
53233          { ac_try='test -s conftest.$ac_objext'
53234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53235   (eval $ac_try) 2>&5
53236   ac_status=$?
53237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53238   (exit $ac_status); }; }; then
53239   glibcxx_cv_func__sqrtf_use=yes
53240 else
53241   echo "$as_me: failed program was:" >&5
53242 sed 's/^/| /' conftest.$ac_ext >&5
53243
53244 glibcxx_cv_func__sqrtf_use=no
53245 fi
53246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53247       ac_ext=c
53248 ac_cpp='$CPP $CPPFLAGS'
53249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53252
53253
53254 fi
53255
53256   fi
53257   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
53258 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
53259
53260     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53261
53262 for ac_func in _sqrtf
53263 do
53264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53265 echo "$as_me:$LINENO: checking for $ac_func" >&5
53266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53267 if eval "test \"\${$as_ac_var+set}\" = set"; then
53268   echo $ECHO_N "(cached) $ECHO_C" >&6
53269 else
53270   if test x$gcc_no_link = xyes; then
53271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53273    { (exit 1); exit 1; }; }
53274 fi
53275 cat >conftest.$ac_ext <<_ACEOF
53276 /* confdefs.h.  */
53277 _ACEOF
53278 cat confdefs.h >>conftest.$ac_ext
53279 cat >>conftest.$ac_ext <<_ACEOF
53280 /* end confdefs.h.  */
53281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53283 #define $ac_func innocuous_$ac_func
53284
53285 /* System header to define __stub macros and hopefully few prototypes,
53286     which can conflict with char $ac_func (); below.
53287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53288     <limits.h> exists even on freestanding compilers.  */
53289
53290 #ifdef __STDC__
53291 # include <limits.h>
53292 #else
53293 # include <assert.h>
53294 #endif
53295
53296 #undef $ac_func
53297
53298 /* Override any gcc2 internal prototype to avoid an error.  */
53299 #ifdef __cplusplus
53300 extern "C"
53301 {
53302 #endif
53303 /* We use char because int might match the return type of a gcc2
53304    builtin and then its argument prototype would still apply.  */
53305 char $ac_func ();
53306 /* The GNU C library defines this for functions which it implements
53307     to always fail with ENOSYS.  Some functions are actually named
53308     something starting with __ and the normal name is an alias.  */
53309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53310 choke me
53311 #else
53312 char (*f) () = $ac_func;
53313 #endif
53314 #ifdef __cplusplus
53315 }
53316 #endif
53317
53318 int
53319 main ()
53320 {
53321 return f != $ac_func;
53322   ;
53323   return 0;
53324 }
53325 _ACEOF
53326 rm -f conftest.$ac_objext conftest$ac_exeext
53327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53328   (eval $ac_link) 2>conftest.er1
53329   ac_status=$?
53330   grep -v '^ *+' conftest.er1 >conftest.err
53331   rm -f conftest.er1
53332   cat conftest.err >&5
53333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53334   (exit $ac_status); } &&
53335          { ac_try='test -z "$ac_c_werror_flag"
53336                          || test ! -s conftest.err'
53337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53338   (eval $ac_try) 2>&5
53339   ac_status=$?
53340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341   (exit $ac_status); }; } &&
53342          { ac_try='test -s conftest$ac_exeext'
53343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53344   (eval $ac_try) 2>&5
53345   ac_status=$?
53346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347   (exit $ac_status); }; }; then
53348   eval "$as_ac_var=yes"
53349 else
53350   echo "$as_me: failed program was:" >&5
53351 sed 's/^/| /' conftest.$ac_ext >&5
53352
53353 eval "$as_ac_var=no"
53354 fi
53355 rm -f conftest.err conftest.$ac_objext \
53356       conftest$ac_exeext conftest.$ac_ext
53357 fi
53358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53360 if test `eval echo '${'$as_ac_var'}'` = yes; then
53361   cat >>confdefs.h <<_ACEOF
53362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53363 _ACEOF
53364
53365 fi
53366 done
53367
53368     fi
53369   fi
53370
53371
53372
53373
53374
53375
53376   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
53377 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
53378   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53379     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
53380   echo $ECHO_N "(cached) $ECHO_C" >&6
53381 else
53382
53383
53384
53385       ac_ext=cc
53386 ac_cpp='$CXXCPP $CPPFLAGS'
53387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53390
53391       cat >conftest.$ac_ext <<_ACEOF
53392 /* confdefs.h.  */
53393 _ACEOF
53394 cat confdefs.h >>conftest.$ac_ext
53395 cat >>conftest.$ac_ext <<_ACEOF
53396 /* end confdefs.h.  */
53397 #include <math.h>
53398 int
53399 main ()
53400 {
53401  sincosf(0, 0, 0);
53402   ;
53403   return 0;
53404 }
53405 _ACEOF
53406 rm -f conftest.$ac_objext
53407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53408   (eval $ac_compile) 2>conftest.er1
53409   ac_status=$?
53410   grep -v '^ *+' conftest.er1 >conftest.err
53411   rm -f conftest.er1
53412   cat conftest.err >&5
53413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53414   (exit $ac_status); } &&
53415          { ac_try='test -z "$ac_cxx_werror_flag"
53416                          || test ! -s conftest.err'
53417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53418   (eval $ac_try) 2>&5
53419   ac_status=$?
53420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53421   (exit $ac_status); }; } &&
53422          { ac_try='test -s conftest.$ac_objext'
53423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53424   (eval $ac_try) 2>&5
53425   ac_status=$?
53426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53427   (exit $ac_status); }; }; then
53428   glibcxx_cv_func_sincosf_use=yes
53429 else
53430   echo "$as_me: failed program was:" >&5
53431 sed 's/^/| /' conftest.$ac_ext >&5
53432
53433 glibcxx_cv_func_sincosf_use=no
53434 fi
53435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53436       ac_ext=c
53437 ac_cpp='$CPP $CPPFLAGS'
53438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53441
53442
53443 fi
53444
53445   fi
53446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53447 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53448
53449   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53450
53451 for ac_func in sincosf
53452 do
53453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53454 echo "$as_me:$LINENO: checking for $ac_func" >&5
53455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53456 if eval "test \"\${$as_ac_var+set}\" = set"; then
53457   echo $ECHO_N "(cached) $ECHO_C" >&6
53458 else
53459   if test x$gcc_no_link = xyes; then
53460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53462    { (exit 1); exit 1; }; }
53463 fi
53464 cat >conftest.$ac_ext <<_ACEOF
53465 /* confdefs.h.  */
53466 _ACEOF
53467 cat confdefs.h >>conftest.$ac_ext
53468 cat >>conftest.$ac_ext <<_ACEOF
53469 /* end confdefs.h.  */
53470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53472 #define $ac_func innocuous_$ac_func
53473
53474 /* System header to define __stub macros and hopefully few prototypes,
53475     which can conflict with char $ac_func (); below.
53476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53477     <limits.h> exists even on freestanding compilers.  */
53478
53479 #ifdef __STDC__
53480 # include <limits.h>
53481 #else
53482 # include <assert.h>
53483 #endif
53484
53485 #undef $ac_func
53486
53487 /* Override any gcc2 internal prototype to avoid an error.  */
53488 #ifdef __cplusplus
53489 extern "C"
53490 {
53491 #endif
53492 /* We use char because int might match the return type of a gcc2
53493    builtin and then its argument prototype would still apply.  */
53494 char $ac_func ();
53495 /* The GNU C library defines this for functions which it implements
53496     to always fail with ENOSYS.  Some functions are actually named
53497     something starting with __ and the normal name is an alias.  */
53498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53499 choke me
53500 #else
53501 char (*f) () = $ac_func;
53502 #endif
53503 #ifdef __cplusplus
53504 }
53505 #endif
53506
53507 int
53508 main ()
53509 {
53510 return f != $ac_func;
53511   ;
53512   return 0;
53513 }
53514 _ACEOF
53515 rm -f conftest.$ac_objext conftest$ac_exeext
53516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53517   (eval $ac_link) 2>conftest.er1
53518   ac_status=$?
53519   grep -v '^ *+' conftest.er1 >conftest.err
53520   rm -f conftest.er1
53521   cat conftest.err >&5
53522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53523   (exit $ac_status); } &&
53524          { ac_try='test -z "$ac_c_werror_flag"
53525                          || test ! -s conftest.err'
53526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53527   (eval $ac_try) 2>&5
53528   ac_status=$?
53529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53530   (exit $ac_status); }; } &&
53531          { ac_try='test -s conftest$ac_exeext'
53532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53533   (eval $ac_try) 2>&5
53534   ac_status=$?
53535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53536   (exit $ac_status); }; }; then
53537   eval "$as_ac_var=yes"
53538 else
53539   echo "$as_me: failed program was:" >&5
53540 sed 's/^/| /' conftest.$ac_ext >&5
53541
53542 eval "$as_ac_var=no"
53543 fi
53544 rm -f conftest.err conftest.$ac_objext \
53545       conftest$ac_exeext conftest.$ac_ext
53546 fi
53547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53549 if test `eval echo '${'$as_ac_var'}'` = yes; then
53550   cat >>confdefs.h <<_ACEOF
53551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53552 _ACEOF
53553
53554 fi
53555 done
53556
53557   else
53558
53559   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53560 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53561   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53562     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53563   echo $ECHO_N "(cached) $ECHO_C" >&6
53564 else
53565
53566
53567
53568       ac_ext=cc
53569 ac_cpp='$CXXCPP $CPPFLAGS'
53570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53573
53574       cat >conftest.$ac_ext <<_ACEOF
53575 /* confdefs.h.  */
53576 _ACEOF
53577 cat confdefs.h >>conftest.$ac_ext
53578 cat >>conftest.$ac_ext <<_ACEOF
53579 /* end confdefs.h.  */
53580 #include <math.h>
53581 int
53582 main ()
53583 {
53584  _sincosf(0, 0, 0);
53585   ;
53586   return 0;
53587 }
53588 _ACEOF
53589 rm -f conftest.$ac_objext
53590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53591   (eval $ac_compile) 2>conftest.er1
53592   ac_status=$?
53593   grep -v '^ *+' conftest.er1 >conftest.err
53594   rm -f conftest.er1
53595   cat conftest.err >&5
53596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53597   (exit $ac_status); } &&
53598          { ac_try='test -z "$ac_cxx_werror_flag"
53599                          || test ! -s conftest.err'
53600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53601   (eval $ac_try) 2>&5
53602   ac_status=$?
53603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604   (exit $ac_status); }; } &&
53605          { ac_try='test -s conftest.$ac_objext'
53606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53607   (eval $ac_try) 2>&5
53608   ac_status=$?
53609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53610   (exit $ac_status); }; }; then
53611   glibcxx_cv_func__sincosf_use=yes
53612 else
53613   echo "$as_me: failed program was:" >&5
53614 sed 's/^/| /' conftest.$ac_ext >&5
53615
53616 glibcxx_cv_func__sincosf_use=no
53617 fi
53618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53619       ac_ext=c
53620 ac_cpp='$CPP $CPPFLAGS'
53621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53624
53625
53626 fi
53627
53628   fi
53629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53630 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53631
53632     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53633
53634 for ac_func in _sincosf
53635 do
53636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53637 echo "$as_me:$LINENO: checking for $ac_func" >&5
53638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53639 if eval "test \"\${$as_ac_var+set}\" = set"; then
53640   echo $ECHO_N "(cached) $ECHO_C" >&6
53641 else
53642   if test x$gcc_no_link = xyes; then
53643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53645    { (exit 1); exit 1; }; }
53646 fi
53647 cat >conftest.$ac_ext <<_ACEOF
53648 /* confdefs.h.  */
53649 _ACEOF
53650 cat confdefs.h >>conftest.$ac_ext
53651 cat >>conftest.$ac_ext <<_ACEOF
53652 /* end confdefs.h.  */
53653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53655 #define $ac_func innocuous_$ac_func
53656
53657 /* System header to define __stub macros and hopefully few prototypes,
53658     which can conflict with char $ac_func (); below.
53659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53660     <limits.h> exists even on freestanding compilers.  */
53661
53662 #ifdef __STDC__
53663 # include <limits.h>
53664 #else
53665 # include <assert.h>
53666 #endif
53667
53668 #undef $ac_func
53669
53670 /* Override any gcc2 internal prototype to avoid an error.  */
53671 #ifdef __cplusplus
53672 extern "C"
53673 {
53674 #endif
53675 /* We use char because int might match the return type of a gcc2
53676    builtin and then its argument prototype would still apply.  */
53677 char $ac_func ();
53678 /* The GNU C library defines this for functions which it implements
53679     to always fail with ENOSYS.  Some functions are actually named
53680     something starting with __ and the normal name is an alias.  */
53681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53682 choke me
53683 #else
53684 char (*f) () = $ac_func;
53685 #endif
53686 #ifdef __cplusplus
53687 }
53688 #endif
53689
53690 int
53691 main ()
53692 {
53693 return f != $ac_func;
53694   ;
53695   return 0;
53696 }
53697 _ACEOF
53698 rm -f conftest.$ac_objext conftest$ac_exeext
53699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53700   (eval $ac_link) 2>conftest.er1
53701   ac_status=$?
53702   grep -v '^ *+' conftest.er1 >conftest.err
53703   rm -f conftest.er1
53704   cat conftest.err >&5
53705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53706   (exit $ac_status); } &&
53707          { ac_try='test -z "$ac_c_werror_flag"
53708                          || test ! -s conftest.err'
53709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53710   (eval $ac_try) 2>&5
53711   ac_status=$?
53712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53713   (exit $ac_status); }; } &&
53714          { ac_try='test -s conftest$ac_exeext'
53715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53716   (eval $ac_try) 2>&5
53717   ac_status=$?
53718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53719   (exit $ac_status); }; }; then
53720   eval "$as_ac_var=yes"
53721 else
53722   echo "$as_me: failed program was:" >&5
53723 sed 's/^/| /' conftest.$ac_ext >&5
53724
53725 eval "$as_ac_var=no"
53726 fi
53727 rm -f conftest.err conftest.$ac_objext \
53728       conftest$ac_exeext conftest.$ac_ext
53729 fi
53730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53732 if test `eval echo '${'$as_ac_var'}'` = yes; then
53733   cat >>confdefs.h <<_ACEOF
53734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53735 _ACEOF
53736
53737 fi
53738 done
53739
53740     fi
53741   fi
53742
53743
53744
53745
53746
53747
53748   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53749 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53750   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53751     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53752   echo $ECHO_N "(cached) $ECHO_C" >&6
53753 else
53754
53755
53756
53757       ac_ext=cc
53758 ac_cpp='$CXXCPP $CPPFLAGS'
53759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762
53763       cat >conftest.$ac_ext <<_ACEOF
53764 /* confdefs.h.  */
53765 _ACEOF
53766 cat confdefs.h >>conftest.$ac_ext
53767 cat >>conftest.$ac_ext <<_ACEOF
53768 /* end confdefs.h.  */
53769 #include <math.h>
53770                       #ifdef HAVE_IEEEFP_H
53771                       #include <ieeefp.h>
53772                       #endif
53773
53774 int
53775 main ()
53776 {
53777  finitef(0);
53778   ;
53779   return 0;
53780 }
53781 _ACEOF
53782 rm -f conftest.$ac_objext
53783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53784   (eval $ac_compile) 2>conftest.er1
53785   ac_status=$?
53786   grep -v '^ *+' conftest.er1 >conftest.err
53787   rm -f conftest.er1
53788   cat conftest.err >&5
53789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53790   (exit $ac_status); } &&
53791          { ac_try='test -z "$ac_cxx_werror_flag"
53792                          || test ! -s conftest.err'
53793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53794   (eval $ac_try) 2>&5
53795   ac_status=$?
53796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797   (exit $ac_status); }; } &&
53798          { ac_try='test -s conftest.$ac_objext'
53799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53800   (eval $ac_try) 2>&5
53801   ac_status=$?
53802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53803   (exit $ac_status); }; }; then
53804   glibcxx_cv_func_finitef_use=yes
53805 else
53806   echo "$as_me: failed program was:" >&5
53807 sed 's/^/| /' conftest.$ac_ext >&5
53808
53809 glibcxx_cv_func_finitef_use=no
53810 fi
53811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53812       ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817
53818
53819 fi
53820
53821   fi
53822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53823 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53824
53825   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53826
53827 for ac_func in finitef
53828 do
53829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53830 echo "$as_me:$LINENO: checking for $ac_func" >&5
53831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53832 if eval "test \"\${$as_ac_var+set}\" = set"; then
53833   echo $ECHO_N "(cached) $ECHO_C" >&6
53834 else
53835   if test x$gcc_no_link = xyes; then
53836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53838    { (exit 1); exit 1; }; }
53839 fi
53840 cat >conftest.$ac_ext <<_ACEOF
53841 /* confdefs.h.  */
53842 _ACEOF
53843 cat confdefs.h >>conftest.$ac_ext
53844 cat >>conftest.$ac_ext <<_ACEOF
53845 /* end confdefs.h.  */
53846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53848 #define $ac_func innocuous_$ac_func
53849
53850 /* System header to define __stub macros and hopefully few prototypes,
53851     which can conflict with char $ac_func (); below.
53852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53853     <limits.h> exists even on freestanding compilers.  */
53854
53855 #ifdef __STDC__
53856 # include <limits.h>
53857 #else
53858 # include <assert.h>
53859 #endif
53860
53861 #undef $ac_func
53862
53863 /* Override any gcc2 internal prototype to avoid an error.  */
53864 #ifdef __cplusplus
53865 extern "C"
53866 {
53867 #endif
53868 /* We use char because int might match the return type of a gcc2
53869    builtin and then its argument prototype would still apply.  */
53870 char $ac_func ();
53871 /* The GNU C library defines this for functions which it implements
53872     to always fail with ENOSYS.  Some functions are actually named
53873     something starting with __ and the normal name is an alias.  */
53874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53875 choke me
53876 #else
53877 char (*f) () = $ac_func;
53878 #endif
53879 #ifdef __cplusplus
53880 }
53881 #endif
53882
53883 int
53884 main ()
53885 {
53886 return f != $ac_func;
53887   ;
53888   return 0;
53889 }
53890 _ACEOF
53891 rm -f conftest.$ac_objext conftest$ac_exeext
53892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53893   (eval $ac_link) 2>conftest.er1
53894   ac_status=$?
53895   grep -v '^ *+' conftest.er1 >conftest.err
53896   rm -f conftest.er1
53897   cat conftest.err >&5
53898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53899   (exit $ac_status); } &&
53900          { ac_try='test -z "$ac_c_werror_flag"
53901                          || test ! -s conftest.err'
53902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53903   (eval $ac_try) 2>&5
53904   ac_status=$?
53905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906   (exit $ac_status); }; } &&
53907          { ac_try='test -s conftest$ac_exeext'
53908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53909   (eval $ac_try) 2>&5
53910   ac_status=$?
53911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53912   (exit $ac_status); }; }; then
53913   eval "$as_ac_var=yes"
53914 else
53915   echo "$as_me: failed program was:" >&5
53916 sed 's/^/| /' conftest.$ac_ext >&5
53917
53918 eval "$as_ac_var=no"
53919 fi
53920 rm -f conftest.err conftest.$ac_objext \
53921       conftest$ac_exeext conftest.$ac_ext
53922 fi
53923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53925 if test `eval echo '${'$as_ac_var'}'` = yes; then
53926   cat >>confdefs.h <<_ACEOF
53927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53928 _ACEOF
53929
53930 fi
53931 done
53932
53933   else
53934
53935   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53936 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53937   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53938     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53939   echo $ECHO_N "(cached) $ECHO_C" >&6
53940 else
53941
53942
53943
53944       ac_ext=cc
53945 ac_cpp='$CXXCPP $CPPFLAGS'
53946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53949
53950       cat >conftest.$ac_ext <<_ACEOF
53951 /* confdefs.h.  */
53952 _ACEOF
53953 cat confdefs.h >>conftest.$ac_ext
53954 cat >>conftest.$ac_ext <<_ACEOF
53955 /* end confdefs.h.  */
53956 #include <math.h>
53957                       #ifdef HAVE_IEEEFP_H
53958                       #include <ieeefp.h>
53959                       #endif
53960
53961 int
53962 main ()
53963 {
53964  _finitef(0);
53965   ;
53966   return 0;
53967 }
53968 _ACEOF
53969 rm -f conftest.$ac_objext
53970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53971   (eval $ac_compile) 2>conftest.er1
53972   ac_status=$?
53973   grep -v '^ *+' conftest.er1 >conftest.err
53974   rm -f conftest.er1
53975   cat conftest.err >&5
53976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53977   (exit $ac_status); } &&
53978          { ac_try='test -z "$ac_cxx_werror_flag"
53979                          || test ! -s conftest.err'
53980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53981   (eval $ac_try) 2>&5
53982   ac_status=$?
53983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53984   (exit $ac_status); }; } &&
53985          { ac_try='test -s conftest.$ac_objext'
53986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53987   (eval $ac_try) 2>&5
53988   ac_status=$?
53989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990   (exit $ac_status); }; }; then
53991   glibcxx_cv_func__finitef_use=yes
53992 else
53993   echo "$as_me: failed program was:" >&5
53994 sed 's/^/| /' conftest.$ac_ext >&5
53995
53996 glibcxx_cv_func__finitef_use=no
53997 fi
53998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53999       ac_ext=c
54000 ac_cpp='$CPP $CPPFLAGS'
54001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54004
54005
54006 fi
54007
54008   fi
54009   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54010 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54011
54012     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54013
54014 for ac_func in _finitef
54015 do
54016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54017 echo "$as_me:$LINENO: checking for $ac_func" >&5
54018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54019 if eval "test \"\${$as_ac_var+set}\" = set"; then
54020   echo $ECHO_N "(cached) $ECHO_C" >&6
54021 else
54022   if test x$gcc_no_link = xyes; then
54023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54025    { (exit 1); exit 1; }; }
54026 fi
54027 cat >conftest.$ac_ext <<_ACEOF
54028 /* confdefs.h.  */
54029 _ACEOF
54030 cat confdefs.h >>conftest.$ac_ext
54031 cat >>conftest.$ac_ext <<_ACEOF
54032 /* end confdefs.h.  */
54033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54035 #define $ac_func innocuous_$ac_func
54036
54037 /* System header to define __stub macros and hopefully few prototypes,
54038     which can conflict with char $ac_func (); below.
54039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54040     <limits.h> exists even on freestanding compilers.  */
54041
54042 #ifdef __STDC__
54043 # include <limits.h>
54044 #else
54045 # include <assert.h>
54046 #endif
54047
54048 #undef $ac_func
54049
54050 /* Override any gcc2 internal prototype to avoid an error.  */
54051 #ifdef __cplusplus
54052 extern "C"
54053 {
54054 #endif
54055 /* We use char because int might match the return type of a gcc2
54056    builtin and then its argument prototype would still apply.  */
54057 char $ac_func ();
54058 /* The GNU C library defines this for functions which it implements
54059     to always fail with ENOSYS.  Some functions are actually named
54060     something starting with __ and the normal name is an alias.  */
54061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54062 choke me
54063 #else
54064 char (*f) () = $ac_func;
54065 #endif
54066 #ifdef __cplusplus
54067 }
54068 #endif
54069
54070 int
54071 main ()
54072 {
54073 return f != $ac_func;
54074   ;
54075   return 0;
54076 }
54077 _ACEOF
54078 rm -f conftest.$ac_objext conftest$ac_exeext
54079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54080   (eval $ac_link) 2>conftest.er1
54081   ac_status=$?
54082   grep -v '^ *+' conftest.er1 >conftest.err
54083   rm -f conftest.er1
54084   cat conftest.err >&5
54085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54086   (exit $ac_status); } &&
54087          { ac_try='test -z "$ac_c_werror_flag"
54088                          || test ! -s conftest.err'
54089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54090   (eval $ac_try) 2>&5
54091   ac_status=$?
54092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54093   (exit $ac_status); }; } &&
54094          { ac_try='test -s conftest$ac_exeext'
54095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54096   (eval $ac_try) 2>&5
54097   ac_status=$?
54098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54099   (exit $ac_status); }; }; then
54100   eval "$as_ac_var=yes"
54101 else
54102   echo "$as_me: failed program was:" >&5
54103 sed 's/^/| /' conftest.$ac_ext >&5
54104
54105 eval "$as_ac_var=no"
54106 fi
54107 rm -f conftest.err conftest.$ac_objext \
54108       conftest$ac_exeext conftest.$ac_ext
54109 fi
54110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54112 if test `eval echo '${'$as_ac_var'}'` = yes; then
54113   cat >>confdefs.h <<_ACEOF
54114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54115 _ACEOF
54116
54117 fi
54118 done
54119
54120     fi
54121   fi
54122
54123
54124
54125
54126
54127
54128     echo "$as_me:$LINENO: checking for long double trig functions" >&5
54129 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
54130   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
54131   echo $ECHO_N "(cached) $ECHO_C" >&6
54132 else
54133
54134
54135
54136     ac_ext=cc
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54141
54142     cat >conftest.$ac_ext <<_ACEOF
54143 /* confdefs.h.  */
54144 _ACEOF
54145 cat confdefs.h >>conftest.$ac_ext
54146 cat >>conftest.$ac_ext <<_ACEOF
54147 /* end confdefs.h.  */
54148 #include <math.h>
54149 int
54150 main ()
54151 {
54152 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54153   ;
54154   return 0;
54155 }
54156 _ACEOF
54157 rm -f conftest.$ac_objext
54158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54159   (eval $ac_compile) 2>conftest.er1
54160   ac_status=$?
54161   grep -v '^ *+' conftest.er1 >conftest.err
54162   rm -f conftest.er1
54163   cat conftest.err >&5
54164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165   (exit $ac_status); } &&
54166          { ac_try='test -z "$ac_cxx_werror_flag"
54167                          || test ! -s conftest.err'
54168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54169   (eval $ac_try) 2>&5
54170   ac_status=$?
54171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172   (exit $ac_status); }; } &&
54173          { ac_try='test -s conftest.$ac_objext'
54174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54175   (eval $ac_try) 2>&5
54176   ac_status=$?
54177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54178   (exit $ac_status); }; }; then
54179   glibcxx_cv_func_long_double_trig_use=yes
54180 else
54181   echo "$as_me: failed program was:" >&5
54182 sed 's/^/| /' conftest.$ac_ext >&5
54183
54184 glibcxx_cv_func_long_double_trig_use=no
54185 fi
54186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54187     ac_ext=c
54188 ac_cpp='$CPP $CPPFLAGS'
54189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54192
54193 fi
54194
54195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
54196 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
54197   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54198
54199
54200
54201
54202
54203
54204
54205
54206
54207 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54208 do
54209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54210 echo "$as_me:$LINENO: checking for $ac_func" >&5
54211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54212 if eval "test \"\${$as_ac_var+set}\" = set"; then
54213   echo $ECHO_N "(cached) $ECHO_C" >&6
54214 else
54215   if test x$gcc_no_link = xyes; then
54216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54218    { (exit 1); exit 1; }; }
54219 fi
54220 cat >conftest.$ac_ext <<_ACEOF
54221 /* confdefs.h.  */
54222 _ACEOF
54223 cat confdefs.h >>conftest.$ac_ext
54224 cat >>conftest.$ac_ext <<_ACEOF
54225 /* end confdefs.h.  */
54226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54228 #define $ac_func innocuous_$ac_func
54229
54230 /* System header to define __stub macros and hopefully few prototypes,
54231     which can conflict with char $ac_func (); below.
54232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54233     <limits.h> exists even on freestanding compilers.  */
54234
54235 #ifdef __STDC__
54236 # include <limits.h>
54237 #else
54238 # include <assert.h>
54239 #endif
54240
54241 #undef $ac_func
54242
54243 /* Override any gcc2 internal prototype to avoid an error.  */
54244 #ifdef __cplusplus
54245 extern "C"
54246 {
54247 #endif
54248 /* We use char because int might match the return type of a gcc2
54249    builtin and then its argument prototype would still apply.  */
54250 char $ac_func ();
54251 /* The GNU C library defines this for functions which it implements
54252     to always fail with ENOSYS.  Some functions are actually named
54253     something starting with __ and the normal name is an alias.  */
54254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54255 choke me
54256 #else
54257 char (*f) () = $ac_func;
54258 #endif
54259 #ifdef __cplusplus
54260 }
54261 #endif
54262
54263 int
54264 main ()
54265 {
54266 return f != $ac_func;
54267   ;
54268   return 0;
54269 }
54270 _ACEOF
54271 rm -f conftest.$ac_objext conftest$ac_exeext
54272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54273   (eval $ac_link) 2>conftest.er1
54274   ac_status=$?
54275   grep -v '^ *+' conftest.er1 >conftest.err
54276   rm -f conftest.er1
54277   cat conftest.err >&5
54278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54279   (exit $ac_status); } &&
54280          { ac_try='test -z "$ac_c_werror_flag"
54281                          || test ! -s conftest.err'
54282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54283   (eval $ac_try) 2>&5
54284   ac_status=$?
54285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286   (exit $ac_status); }; } &&
54287          { ac_try='test -s conftest$ac_exeext'
54288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54289   (eval $ac_try) 2>&5
54290   ac_status=$?
54291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54292   (exit $ac_status); }; }; then
54293   eval "$as_ac_var=yes"
54294 else
54295   echo "$as_me: failed program was:" >&5
54296 sed 's/^/| /' conftest.$ac_ext >&5
54297
54298 eval "$as_ac_var=no"
54299 fi
54300 rm -f conftest.err conftest.$ac_objext \
54301       conftest$ac_exeext conftest.$ac_ext
54302 fi
54303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54305 if test `eval echo '${'$as_ac_var'}'` = yes; then
54306   cat >>confdefs.h <<_ACEOF
54307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54308 _ACEOF
54309
54310 fi
54311 done
54312
54313   else
54314     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
54315 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
54316     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
54317   echo $ECHO_N "(cached) $ECHO_C" >&6
54318 else
54319
54320
54321
54322       ac_ext=cc
54323 ac_cpp='$CXXCPP $CPPFLAGS'
54324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54327
54328       cat >conftest.$ac_ext <<_ACEOF
54329 /* confdefs.h.  */
54330 _ACEOF
54331 cat confdefs.h >>conftest.$ac_ext
54332 cat >>conftest.$ac_ext <<_ACEOF
54333 /* end confdefs.h.  */
54334 #include <math.h>
54335 int
54336 main ()
54337 {
54338 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54339   ;
54340   return 0;
54341 }
54342 _ACEOF
54343 rm -f conftest.$ac_objext
54344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54345   (eval $ac_compile) 2>conftest.er1
54346   ac_status=$?
54347   grep -v '^ *+' conftest.er1 >conftest.err
54348   rm -f conftest.er1
54349   cat conftest.err >&5
54350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54351   (exit $ac_status); } &&
54352          { ac_try='test -z "$ac_cxx_werror_flag"
54353                          || test ! -s conftest.err'
54354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54355   (eval $ac_try) 2>&5
54356   ac_status=$?
54357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54358   (exit $ac_status); }; } &&
54359          { ac_try='test -s conftest.$ac_objext'
54360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54361   (eval $ac_try) 2>&5
54362   ac_status=$?
54363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54364   (exit $ac_status); }; }; then
54365   glibcxx_cv_func__long_double_trig_use=yes
54366 else
54367   echo "$as_me: failed program was:" >&5
54368 sed 's/^/| /' conftest.$ac_ext >&5
54369
54370 glibcxx_cv_func__long_double_trig_use=no
54371 fi
54372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54373       ac_ext=c
54374 ac_cpp='$CPP $CPPFLAGS'
54375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54378
54379 fi
54380
54381     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
54382 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
54383     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54384
54385
54386
54387
54388
54389
54390
54391
54392
54393 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54394 do
54395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54396 echo "$as_me:$LINENO: checking for $ac_func" >&5
54397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54398 if eval "test \"\${$as_ac_var+set}\" = set"; then
54399   echo $ECHO_N "(cached) $ECHO_C" >&6
54400 else
54401   if test x$gcc_no_link = xyes; then
54402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54404    { (exit 1); exit 1; }; }
54405 fi
54406 cat >conftest.$ac_ext <<_ACEOF
54407 /* confdefs.h.  */
54408 _ACEOF
54409 cat confdefs.h >>conftest.$ac_ext
54410 cat >>conftest.$ac_ext <<_ACEOF
54411 /* end confdefs.h.  */
54412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54414 #define $ac_func innocuous_$ac_func
54415
54416 /* System header to define __stub macros and hopefully few prototypes,
54417     which can conflict with char $ac_func (); below.
54418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54419     <limits.h> exists even on freestanding compilers.  */
54420
54421 #ifdef __STDC__
54422 # include <limits.h>
54423 #else
54424 # include <assert.h>
54425 #endif
54426
54427 #undef $ac_func
54428
54429 /* Override any gcc2 internal prototype to avoid an error.  */
54430 #ifdef __cplusplus
54431 extern "C"
54432 {
54433 #endif
54434 /* We use char because int might match the return type of a gcc2
54435    builtin and then its argument prototype would still apply.  */
54436 char $ac_func ();
54437 /* The GNU C library defines this for functions which it implements
54438     to always fail with ENOSYS.  Some functions are actually named
54439     something starting with __ and the normal name is an alias.  */
54440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54441 choke me
54442 #else
54443 char (*f) () = $ac_func;
54444 #endif
54445 #ifdef __cplusplus
54446 }
54447 #endif
54448
54449 int
54450 main ()
54451 {
54452 return f != $ac_func;
54453   ;
54454   return 0;
54455 }
54456 _ACEOF
54457 rm -f conftest.$ac_objext conftest$ac_exeext
54458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54459   (eval $ac_link) 2>conftest.er1
54460   ac_status=$?
54461   grep -v '^ *+' conftest.er1 >conftest.err
54462   rm -f conftest.er1
54463   cat conftest.err >&5
54464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54465   (exit $ac_status); } &&
54466          { ac_try='test -z "$ac_c_werror_flag"
54467                          || test ! -s conftest.err'
54468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54469   (eval $ac_try) 2>&5
54470   ac_status=$?
54471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54472   (exit $ac_status); }; } &&
54473          { ac_try='test -s conftest$ac_exeext'
54474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54475   (eval $ac_try) 2>&5
54476   ac_status=$?
54477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54478   (exit $ac_status); }; }; then
54479   eval "$as_ac_var=yes"
54480 else
54481   echo "$as_me: failed program was:" >&5
54482 sed 's/^/| /' conftest.$ac_ext >&5
54483
54484 eval "$as_ac_var=no"
54485 fi
54486 rm -f conftest.err conftest.$ac_objext \
54487       conftest$ac_exeext conftest.$ac_ext
54488 fi
54489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54491 if test `eval echo '${'$as_ac_var'}'` = yes; then
54492   cat >>confdefs.h <<_ACEOF
54493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54494 _ACEOF
54495
54496 fi
54497 done
54498
54499     fi
54500   fi
54501
54502
54503
54504
54505
54506
54507
54508
54509
54510
54511
54512
54513
54514
54515     echo "$as_me:$LINENO: checking for long double round functions" >&5
54516 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54517   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54518   echo $ECHO_N "(cached) $ECHO_C" >&6
54519 else
54520
54521
54522
54523     ac_ext=cc
54524 ac_cpp='$CXXCPP $CPPFLAGS'
54525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54528
54529     cat >conftest.$ac_ext <<_ACEOF
54530 /* confdefs.h.  */
54531 _ACEOF
54532 cat confdefs.h >>conftest.$ac_ext
54533 cat >>conftest.$ac_ext <<_ACEOF
54534 /* end confdefs.h.  */
54535 #include <math.h>
54536 int
54537 main ()
54538 {
54539 ceill (0); floorl (0);
54540   ;
54541   return 0;
54542 }
54543 _ACEOF
54544 rm -f conftest.$ac_objext
54545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54546   (eval $ac_compile) 2>conftest.er1
54547   ac_status=$?
54548   grep -v '^ *+' conftest.er1 >conftest.err
54549   rm -f conftest.er1
54550   cat conftest.err >&5
54551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54552   (exit $ac_status); } &&
54553          { ac_try='test -z "$ac_cxx_werror_flag"
54554                          || test ! -s conftest.err'
54555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54556   (eval $ac_try) 2>&5
54557   ac_status=$?
54558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54559   (exit $ac_status); }; } &&
54560          { ac_try='test -s conftest.$ac_objext'
54561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54562   (eval $ac_try) 2>&5
54563   ac_status=$?
54564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54565   (exit $ac_status); }; }; then
54566   glibcxx_cv_func_long_double_round_use=yes
54567 else
54568   echo "$as_me: failed program was:" >&5
54569 sed 's/^/| /' conftest.$ac_ext >&5
54570
54571 glibcxx_cv_func_long_double_round_use=no
54572 fi
54573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54574     ac_ext=c
54575 ac_cpp='$CPP $CPPFLAGS'
54576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54579
54580 fi
54581
54582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54583 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54584   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54585
54586
54587 for ac_func in ceill floorl
54588 do
54589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54590 echo "$as_me:$LINENO: checking for $ac_func" >&5
54591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54592 if eval "test \"\${$as_ac_var+set}\" = set"; then
54593   echo $ECHO_N "(cached) $ECHO_C" >&6
54594 else
54595   if test x$gcc_no_link = xyes; then
54596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54598    { (exit 1); exit 1; }; }
54599 fi
54600 cat >conftest.$ac_ext <<_ACEOF
54601 /* confdefs.h.  */
54602 _ACEOF
54603 cat confdefs.h >>conftest.$ac_ext
54604 cat >>conftest.$ac_ext <<_ACEOF
54605 /* end confdefs.h.  */
54606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54608 #define $ac_func innocuous_$ac_func
54609
54610 /* System header to define __stub macros and hopefully few prototypes,
54611     which can conflict with char $ac_func (); below.
54612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54613     <limits.h> exists even on freestanding compilers.  */
54614
54615 #ifdef __STDC__
54616 # include <limits.h>
54617 #else
54618 # include <assert.h>
54619 #endif
54620
54621 #undef $ac_func
54622
54623 /* Override any gcc2 internal prototype to avoid an error.  */
54624 #ifdef __cplusplus
54625 extern "C"
54626 {
54627 #endif
54628 /* We use char because int might match the return type of a gcc2
54629    builtin and then its argument prototype would still apply.  */
54630 char $ac_func ();
54631 /* The GNU C library defines this for functions which it implements
54632     to always fail with ENOSYS.  Some functions are actually named
54633     something starting with __ and the normal name is an alias.  */
54634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54635 choke me
54636 #else
54637 char (*f) () = $ac_func;
54638 #endif
54639 #ifdef __cplusplus
54640 }
54641 #endif
54642
54643 int
54644 main ()
54645 {
54646 return f != $ac_func;
54647   ;
54648   return 0;
54649 }
54650 _ACEOF
54651 rm -f conftest.$ac_objext conftest$ac_exeext
54652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54653   (eval $ac_link) 2>conftest.er1
54654   ac_status=$?
54655   grep -v '^ *+' conftest.er1 >conftest.err
54656   rm -f conftest.er1
54657   cat conftest.err >&5
54658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54659   (exit $ac_status); } &&
54660          { ac_try='test -z "$ac_c_werror_flag"
54661                          || test ! -s conftest.err'
54662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54663   (eval $ac_try) 2>&5
54664   ac_status=$?
54665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666   (exit $ac_status); }; } &&
54667          { ac_try='test -s conftest$ac_exeext'
54668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54669   (eval $ac_try) 2>&5
54670   ac_status=$?
54671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54672   (exit $ac_status); }; }; then
54673   eval "$as_ac_var=yes"
54674 else
54675   echo "$as_me: failed program was:" >&5
54676 sed 's/^/| /' conftest.$ac_ext >&5
54677
54678 eval "$as_ac_var=no"
54679 fi
54680 rm -f conftest.err conftest.$ac_objext \
54681       conftest$ac_exeext conftest.$ac_ext
54682 fi
54683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54685 if test `eval echo '${'$as_ac_var'}'` = yes; then
54686   cat >>confdefs.h <<_ACEOF
54687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54688 _ACEOF
54689
54690 fi
54691 done
54692
54693   else
54694     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54695 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54696     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54697   echo $ECHO_N "(cached) $ECHO_C" >&6
54698 else
54699
54700
54701
54702       ac_ext=cc
54703 ac_cpp='$CXXCPP $CPPFLAGS'
54704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54707
54708       cat >conftest.$ac_ext <<_ACEOF
54709 /* confdefs.h.  */
54710 _ACEOF
54711 cat confdefs.h >>conftest.$ac_ext
54712 cat >>conftest.$ac_ext <<_ACEOF
54713 /* end confdefs.h.  */
54714 #include <math.h>
54715 int
54716 main ()
54717 {
54718 _ceill (0); _floorl (0);
54719   ;
54720   return 0;
54721 }
54722 _ACEOF
54723 rm -f conftest.$ac_objext
54724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54725   (eval $ac_compile) 2>conftest.er1
54726   ac_status=$?
54727   grep -v '^ *+' conftest.er1 >conftest.err
54728   rm -f conftest.er1
54729   cat conftest.err >&5
54730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54731   (exit $ac_status); } &&
54732          { ac_try='test -z "$ac_cxx_werror_flag"
54733                          || test ! -s conftest.err'
54734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54735   (eval $ac_try) 2>&5
54736   ac_status=$?
54737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54738   (exit $ac_status); }; } &&
54739          { ac_try='test -s conftest.$ac_objext'
54740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54741   (eval $ac_try) 2>&5
54742   ac_status=$?
54743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744   (exit $ac_status); }; }; then
54745   glibcxx_cv_func__long_double_round_use=yes
54746 else
54747   echo "$as_me: failed program was:" >&5
54748 sed 's/^/| /' conftest.$ac_ext >&5
54749
54750 glibcxx_cv_func__long_double_round_use=no
54751 fi
54752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54753       ac_ext=c
54754 ac_cpp='$CPP $CPPFLAGS'
54755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54758
54759 fi
54760
54761     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54762 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54763     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54764
54765
54766 for ac_func in _ceill _floorl
54767 do
54768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54769 echo "$as_me:$LINENO: checking for $ac_func" >&5
54770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54771 if eval "test \"\${$as_ac_var+set}\" = set"; then
54772   echo $ECHO_N "(cached) $ECHO_C" >&6
54773 else
54774   if test x$gcc_no_link = xyes; then
54775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54777    { (exit 1); exit 1; }; }
54778 fi
54779 cat >conftest.$ac_ext <<_ACEOF
54780 /* confdefs.h.  */
54781 _ACEOF
54782 cat confdefs.h >>conftest.$ac_ext
54783 cat >>conftest.$ac_ext <<_ACEOF
54784 /* end confdefs.h.  */
54785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54787 #define $ac_func innocuous_$ac_func
54788
54789 /* System header to define __stub macros and hopefully few prototypes,
54790     which can conflict with char $ac_func (); below.
54791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54792     <limits.h> exists even on freestanding compilers.  */
54793
54794 #ifdef __STDC__
54795 # include <limits.h>
54796 #else
54797 # include <assert.h>
54798 #endif
54799
54800 #undef $ac_func
54801
54802 /* Override any gcc2 internal prototype to avoid an error.  */
54803 #ifdef __cplusplus
54804 extern "C"
54805 {
54806 #endif
54807 /* We use char because int might match the return type of a gcc2
54808    builtin and then its argument prototype would still apply.  */
54809 char $ac_func ();
54810 /* The GNU C library defines this for functions which it implements
54811     to always fail with ENOSYS.  Some functions are actually named
54812     something starting with __ and the normal name is an alias.  */
54813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54814 choke me
54815 #else
54816 char (*f) () = $ac_func;
54817 #endif
54818 #ifdef __cplusplus
54819 }
54820 #endif
54821
54822 int
54823 main ()
54824 {
54825 return f != $ac_func;
54826   ;
54827   return 0;
54828 }
54829 _ACEOF
54830 rm -f conftest.$ac_objext conftest$ac_exeext
54831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54832   (eval $ac_link) 2>conftest.er1
54833   ac_status=$?
54834   grep -v '^ *+' conftest.er1 >conftest.err
54835   rm -f conftest.er1
54836   cat conftest.err >&5
54837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838   (exit $ac_status); } &&
54839          { ac_try='test -z "$ac_c_werror_flag"
54840                          || test ! -s conftest.err'
54841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54842   (eval $ac_try) 2>&5
54843   ac_status=$?
54844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54845   (exit $ac_status); }; } &&
54846          { ac_try='test -s conftest$ac_exeext'
54847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54848   (eval $ac_try) 2>&5
54849   ac_status=$?
54850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851   (exit $ac_status); }; }; then
54852   eval "$as_ac_var=yes"
54853 else
54854   echo "$as_me: failed program was:" >&5
54855 sed 's/^/| /' conftest.$ac_ext >&5
54856
54857 eval "$as_ac_var=no"
54858 fi
54859 rm -f conftest.err conftest.$ac_objext \
54860       conftest$ac_exeext conftest.$ac_ext
54861 fi
54862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54864 if test `eval echo '${'$as_ac_var'}'` = yes; then
54865   cat >>confdefs.h <<_ACEOF
54866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54867 _ACEOF
54868
54869 fi
54870 done
54871
54872     fi
54873   fi
54874
54875
54876
54877
54878
54879
54880
54881
54882   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54883 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54884   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54885     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54886   echo $ECHO_N "(cached) $ECHO_C" >&6
54887 else
54888
54889
54890
54891       ac_ext=cc
54892 ac_cpp='$CXXCPP $CPPFLAGS'
54893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54896
54897       cat >conftest.$ac_ext <<_ACEOF
54898 /* confdefs.h.  */
54899 _ACEOF
54900 cat confdefs.h >>conftest.$ac_ext
54901 cat >>conftest.$ac_ext <<_ACEOF
54902 /* end confdefs.h.  */
54903 #include <math.h>
54904                       #ifdef HAVE_IEEEFP_H
54905                       #include <ieeefp.h>
54906                       #endif
54907
54908 int
54909 main ()
54910 {
54911  isnanl(0);
54912   ;
54913   return 0;
54914 }
54915 _ACEOF
54916 rm -f conftest.$ac_objext
54917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54918   (eval $ac_compile) 2>conftest.er1
54919   ac_status=$?
54920   grep -v '^ *+' conftest.er1 >conftest.err
54921   rm -f conftest.er1
54922   cat conftest.err >&5
54923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54924   (exit $ac_status); } &&
54925          { ac_try='test -z "$ac_cxx_werror_flag"
54926                          || test ! -s conftest.err'
54927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54928   (eval $ac_try) 2>&5
54929   ac_status=$?
54930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931   (exit $ac_status); }; } &&
54932          { ac_try='test -s conftest.$ac_objext'
54933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54934   (eval $ac_try) 2>&5
54935   ac_status=$?
54936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937   (exit $ac_status); }; }; then
54938   glibcxx_cv_func_isnanl_use=yes
54939 else
54940   echo "$as_me: failed program was:" >&5
54941 sed 's/^/| /' conftest.$ac_ext >&5
54942
54943 glibcxx_cv_func_isnanl_use=no
54944 fi
54945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54946       ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54951
54952
54953 fi
54954
54955   fi
54956   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54957 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54958
54959   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54960
54961 for ac_func in isnanl
54962 do
54963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54964 echo "$as_me:$LINENO: checking for $ac_func" >&5
54965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54966 if eval "test \"\${$as_ac_var+set}\" = set"; then
54967   echo $ECHO_N "(cached) $ECHO_C" >&6
54968 else
54969   if test x$gcc_no_link = xyes; then
54970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54972    { (exit 1); exit 1; }; }
54973 fi
54974 cat >conftest.$ac_ext <<_ACEOF
54975 /* confdefs.h.  */
54976 _ACEOF
54977 cat confdefs.h >>conftest.$ac_ext
54978 cat >>conftest.$ac_ext <<_ACEOF
54979 /* end confdefs.h.  */
54980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54982 #define $ac_func innocuous_$ac_func
54983
54984 /* System header to define __stub macros and hopefully few prototypes,
54985     which can conflict with char $ac_func (); below.
54986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54987     <limits.h> exists even on freestanding compilers.  */
54988
54989 #ifdef __STDC__
54990 # include <limits.h>
54991 #else
54992 # include <assert.h>
54993 #endif
54994
54995 #undef $ac_func
54996
54997 /* Override any gcc2 internal prototype to avoid an error.  */
54998 #ifdef __cplusplus
54999 extern "C"
55000 {
55001 #endif
55002 /* We use char because int might match the return type of a gcc2
55003    builtin and then its argument prototype would still apply.  */
55004 char $ac_func ();
55005 /* The GNU C library defines this for functions which it implements
55006     to always fail with ENOSYS.  Some functions are actually named
55007     something starting with __ and the normal name is an alias.  */
55008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55009 choke me
55010 #else
55011 char (*f) () = $ac_func;
55012 #endif
55013 #ifdef __cplusplus
55014 }
55015 #endif
55016
55017 int
55018 main ()
55019 {
55020 return f != $ac_func;
55021   ;
55022   return 0;
55023 }
55024 _ACEOF
55025 rm -f conftest.$ac_objext conftest$ac_exeext
55026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55027   (eval $ac_link) 2>conftest.er1
55028   ac_status=$?
55029   grep -v '^ *+' conftest.er1 >conftest.err
55030   rm -f conftest.er1
55031   cat conftest.err >&5
55032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55033   (exit $ac_status); } &&
55034          { ac_try='test -z "$ac_c_werror_flag"
55035                          || test ! -s conftest.err'
55036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55037   (eval $ac_try) 2>&5
55038   ac_status=$?
55039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55040   (exit $ac_status); }; } &&
55041          { ac_try='test -s conftest$ac_exeext'
55042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55043   (eval $ac_try) 2>&5
55044   ac_status=$?
55045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046   (exit $ac_status); }; }; then
55047   eval "$as_ac_var=yes"
55048 else
55049   echo "$as_me: failed program was:" >&5
55050 sed 's/^/| /' conftest.$ac_ext >&5
55051
55052 eval "$as_ac_var=no"
55053 fi
55054 rm -f conftest.err conftest.$ac_objext \
55055       conftest$ac_exeext conftest.$ac_ext
55056 fi
55057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55059 if test `eval echo '${'$as_ac_var'}'` = yes; then
55060   cat >>confdefs.h <<_ACEOF
55061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55062 _ACEOF
55063
55064 fi
55065 done
55066
55067   else
55068
55069   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55070 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55071   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55072     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55073   echo $ECHO_N "(cached) $ECHO_C" >&6
55074 else
55075
55076
55077
55078       ac_ext=cc
55079 ac_cpp='$CXXCPP $CPPFLAGS'
55080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55083
55084       cat >conftest.$ac_ext <<_ACEOF
55085 /* confdefs.h.  */
55086 _ACEOF
55087 cat confdefs.h >>conftest.$ac_ext
55088 cat >>conftest.$ac_ext <<_ACEOF
55089 /* end confdefs.h.  */
55090 #include <math.h>
55091                       #ifdef HAVE_IEEEFP_H
55092                       #include <ieeefp.h>
55093                       #endif
55094
55095 int
55096 main ()
55097 {
55098  _isnanl(0);
55099   ;
55100   return 0;
55101 }
55102 _ACEOF
55103 rm -f conftest.$ac_objext
55104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55105   (eval $ac_compile) 2>conftest.er1
55106   ac_status=$?
55107   grep -v '^ *+' conftest.er1 >conftest.err
55108   rm -f conftest.er1
55109   cat conftest.err >&5
55110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55111   (exit $ac_status); } &&
55112          { ac_try='test -z "$ac_cxx_werror_flag"
55113                          || test ! -s conftest.err'
55114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55115   (eval $ac_try) 2>&5
55116   ac_status=$?
55117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55118   (exit $ac_status); }; } &&
55119          { ac_try='test -s conftest.$ac_objext'
55120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55121   (eval $ac_try) 2>&5
55122   ac_status=$?
55123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55124   (exit $ac_status); }; }; then
55125   glibcxx_cv_func__isnanl_use=yes
55126 else
55127   echo "$as_me: failed program was:" >&5
55128 sed 's/^/| /' conftest.$ac_ext >&5
55129
55130 glibcxx_cv_func__isnanl_use=no
55131 fi
55132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55133       ac_ext=c
55134 ac_cpp='$CPP $CPPFLAGS'
55135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138
55139
55140 fi
55141
55142   fi
55143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55144 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55145
55146     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55147
55148 for ac_func in _isnanl
55149 do
55150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55151 echo "$as_me:$LINENO: checking for $ac_func" >&5
55152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55153 if eval "test \"\${$as_ac_var+set}\" = set"; then
55154   echo $ECHO_N "(cached) $ECHO_C" >&6
55155 else
55156   if test x$gcc_no_link = xyes; then
55157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55159    { (exit 1); exit 1; }; }
55160 fi
55161 cat >conftest.$ac_ext <<_ACEOF
55162 /* confdefs.h.  */
55163 _ACEOF
55164 cat confdefs.h >>conftest.$ac_ext
55165 cat >>conftest.$ac_ext <<_ACEOF
55166 /* end confdefs.h.  */
55167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55169 #define $ac_func innocuous_$ac_func
55170
55171 /* System header to define __stub macros and hopefully few prototypes,
55172     which can conflict with char $ac_func (); below.
55173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55174     <limits.h> exists even on freestanding compilers.  */
55175
55176 #ifdef __STDC__
55177 # include <limits.h>
55178 #else
55179 # include <assert.h>
55180 #endif
55181
55182 #undef $ac_func
55183
55184 /* Override any gcc2 internal prototype to avoid an error.  */
55185 #ifdef __cplusplus
55186 extern "C"
55187 {
55188 #endif
55189 /* We use char because int might match the return type of a gcc2
55190    builtin and then its argument prototype would still apply.  */
55191 char $ac_func ();
55192 /* The GNU C library defines this for functions which it implements
55193     to always fail with ENOSYS.  Some functions are actually named
55194     something starting with __ and the normal name is an alias.  */
55195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55196 choke me
55197 #else
55198 char (*f) () = $ac_func;
55199 #endif
55200 #ifdef __cplusplus
55201 }
55202 #endif
55203
55204 int
55205 main ()
55206 {
55207 return f != $ac_func;
55208   ;
55209   return 0;
55210 }
55211 _ACEOF
55212 rm -f conftest.$ac_objext conftest$ac_exeext
55213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55214   (eval $ac_link) 2>conftest.er1
55215   ac_status=$?
55216   grep -v '^ *+' conftest.er1 >conftest.err
55217   rm -f conftest.er1
55218   cat conftest.err >&5
55219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55220   (exit $ac_status); } &&
55221          { ac_try='test -z "$ac_c_werror_flag"
55222                          || test ! -s conftest.err'
55223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55224   (eval $ac_try) 2>&5
55225   ac_status=$?
55226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227   (exit $ac_status); }; } &&
55228          { ac_try='test -s conftest$ac_exeext'
55229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55230   (eval $ac_try) 2>&5
55231   ac_status=$?
55232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55233   (exit $ac_status); }; }; then
55234   eval "$as_ac_var=yes"
55235 else
55236   echo "$as_me: failed program was:" >&5
55237 sed 's/^/| /' conftest.$ac_ext >&5
55238
55239 eval "$as_ac_var=no"
55240 fi
55241 rm -f conftest.err conftest.$ac_objext \
55242       conftest$ac_exeext conftest.$ac_ext
55243 fi
55244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55246 if test `eval echo '${'$as_ac_var'}'` = yes; then
55247   cat >>confdefs.h <<_ACEOF
55248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55249 _ACEOF
55250
55251 fi
55252 done
55253
55254     fi
55255   fi
55256
55257
55258
55259
55260
55261
55262   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55263 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55264   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55265     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55266   echo $ECHO_N "(cached) $ECHO_C" >&6
55267 else
55268
55269
55270
55271       ac_ext=cc
55272 ac_cpp='$CXXCPP $CPPFLAGS'
55273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55276
55277       cat >conftest.$ac_ext <<_ACEOF
55278 /* confdefs.h.  */
55279 _ACEOF
55280 cat confdefs.h >>conftest.$ac_ext
55281 cat >>conftest.$ac_ext <<_ACEOF
55282 /* end confdefs.h.  */
55283 #include <math.h>
55284                       #ifdef HAVE_IEEEFP_H
55285                       #include <ieeefp.h>
55286                       #endif
55287
55288 int
55289 main ()
55290 {
55291  isinfl(0);
55292   ;
55293   return 0;
55294 }
55295 _ACEOF
55296 rm -f conftest.$ac_objext
55297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55298   (eval $ac_compile) 2>conftest.er1
55299   ac_status=$?
55300   grep -v '^ *+' conftest.er1 >conftest.err
55301   rm -f conftest.er1
55302   cat conftest.err >&5
55303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55304   (exit $ac_status); } &&
55305          { ac_try='test -z "$ac_cxx_werror_flag"
55306                          || test ! -s conftest.err'
55307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55308   (eval $ac_try) 2>&5
55309   ac_status=$?
55310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55311   (exit $ac_status); }; } &&
55312          { ac_try='test -s conftest.$ac_objext'
55313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55314   (eval $ac_try) 2>&5
55315   ac_status=$?
55316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55317   (exit $ac_status); }; }; then
55318   glibcxx_cv_func_isinfl_use=yes
55319 else
55320   echo "$as_me: failed program was:" >&5
55321 sed 's/^/| /' conftest.$ac_ext >&5
55322
55323 glibcxx_cv_func_isinfl_use=no
55324 fi
55325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55326       ac_ext=c
55327 ac_cpp='$CPP $CPPFLAGS'
55328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55331
55332
55333 fi
55334
55335   fi
55336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55337 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55338
55339   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55340
55341 for ac_func in isinfl
55342 do
55343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55344 echo "$as_me:$LINENO: checking for $ac_func" >&5
55345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55346 if eval "test \"\${$as_ac_var+set}\" = set"; then
55347   echo $ECHO_N "(cached) $ECHO_C" >&6
55348 else
55349   if test x$gcc_no_link = xyes; then
55350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55352    { (exit 1); exit 1; }; }
55353 fi
55354 cat >conftest.$ac_ext <<_ACEOF
55355 /* confdefs.h.  */
55356 _ACEOF
55357 cat confdefs.h >>conftest.$ac_ext
55358 cat >>conftest.$ac_ext <<_ACEOF
55359 /* end confdefs.h.  */
55360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55362 #define $ac_func innocuous_$ac_func
55363
55364 /* System header to define __stub macros and hopefully few prototypes,
55365     which can conflict with char $ac_func (); below.
55366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55367     <limits.h> exists even on freestanding compilers.  */
55368
55369 #ifdef __STDC__
55370 # include <limits.h>
55371 #else
55372 # include <assert.h>
55373 #endif
55374
55375 #undef $ac_func
55376
55377 /* Override any gcc2 internal prototype to avoid an error.  */
55378 #ifdef __cplusplus
55379 extern "C"
55380 {
55381 #endif
55382 /* We use char because int might match the return type of a gcc2
55383    builtin and then its argument prototype would still apply.  */
55384 char $ac_func ();
55385 /* The GNU C library defines this for functions which it implements
55386     to always fail with ENOSYS.  Some functions are actually named
55387     something starting with __ and the normal name is an alias.  */
55388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55389 choke me
55390 #else
55391 char (*f) () = $ac_func;
55392 #endif
55393 #ifdef __cplusplus
55394 }
55395 #endif
55396
55397 int
55398 main ()
55399 {
55400 return f != $ac_func;
55401   ;
55402   return 0;
55403 }
55404 _ACEOF
55405 rm -f conftest.$ac_objext conftest$ac_exeext
55406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55407   (eval $ac_link) 2>conftest.er1
55408   ac_status=$?
55409   grep -v '^ *+' conftest.er1 >conftest.err
55410   rm -f conftest.er1
55411   cat conftest.err >&5
55412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55413   (exit $ac_status); } &&
55414          { ac_try='test -z "$ac_c_werror_flag"
55415                          || test ! -s conftest.err'
55416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55417   (eval $ac_try) 2>&5
55418   ac_status=$?
55419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55420   (exit $ac_status); }; } &&
55421          { ac_try='test -s conftest$ac_exeext'
55422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55423   (eval $ac_try) 2>&5
55424   ac_status=$?
55425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55426   (exit $ac_status); }; }; then
55427   eval "$as_ac_var=yes"
55428 else
55429   echo "$as_me: failed program was:" >&5
55430 sed 's/^/| /' conftest.$ac_ext >&5
55431
55432 eval "$as_ac_var=no"
55433 fi
55434 rm -f conftest.err conftest.$ac_objext \
55435       conftest$ac_exeext conftest.$ac_ext
55436 fi
55437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55439 if test `eval echo '${'$as_ac_var'}'` = yes; then
55440   cat >>confdefs.h <<_ACEOF
55441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55442 _ACEOF
55443
55444 fi
55445 done
55446
55447   else
55448
55449   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55450 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55451   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55452     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55453   echo $ECHO_N "(cached) $ECHO_C" >&6
55454 else
55455
55456
55457
55458       ac_ext=cc
55459 ac_cpp='$CXXCPP $CPPFLAGS'
55460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55463
55464       cat >conftest.$ac_ext <<_ACEOF
55465 /* confdefs.h.  */
55466 _ACEOF
55467 cat confdefs.h >>conftest.$ac_ext
55468 cat >>conftest.$ac_ext <<_ACEOF
55469 /* end confdefs.h.  */
55470 #include <math.h>
55471                       #ifdef HAVE_IEEEFP_H
55472                       #include <ieeefp.h>
55473                       #endif
55474
55475 int
55476 main ()
55477 {
55478  _isinfl(0);
55479   ;
55480   return 0;
55481 }
55482 _ACEOF
55483 rm -f conftest.$ac_objext
55484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55485   (eval $ac_compile) 2>conftest.er1
55486   ac_status=$?
55487   grep -v '^ *+' conftest.er1 >conftest.err
55488   rm -f conftest.er1
55489   cat conftest.err >&5
55490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55491   (exit $ac_status); } &&
55492          { ac_try='test -z "$ac_cxx_werror_flag"
55493                          || test ! -s conftest.err'
55494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55495   (eval $ac_try) 2>&5
55496   ac_status=$?
55497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55498   (exit $ac_status); }; } &&
55499          { ac_try='test -s conftest.$ac_objext'
55500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55501   (eval $ac_try) 2>&5
55502   ac_status=$?
55503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55504   (exit $ac_status); }; }; then
55505   glibcxx_cv_func__isinfl_use=yes
55506 else
55507   echo "$as_me: failed program was:" >&5
55508 sed 's/^/| /' conftest.$ac_ext >&5
55509
55510 glibcxx_cv_func__isinfl_use=no
55511 fi
55512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55513       ac_ext=c
55514 ac_cpp='$CPP $CPPFLAGS'
55515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55518
55519
55520 fi
55521
55522   fi
55523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55524 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55525
55526     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55527
55528 for ac_func in _isinfl
55529 do
55530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55531 echo "$as_me:$LINENO: checking for $ac_func" >&5
55532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55533 if eval "test \"\${$as_ac_var+set}\" = set"; then
55534   echo $ECHO_N "(cached) $ECHO_C" >&6
55535 else
55536   if test x$gcc_no_link = xyes; then
55537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55539    { (exit 1); exit 1; }; }
55540 fi
55541 cat >conftest.$ac_ext <<_ACEOF
55542 /* confdefs.h.  */
55543 _ACEOF
55544 cat confdefs.h >>conftest.$ac_ext
55545 cat >>conftest.$ac_ext <<_ACEOF
55546 /* end confdefs.h.  */
55547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55549 #define $ac_func innocuous_$ac_func
55550
55551 /* System header to define __stub macros and hopefully few prototypes,
55552     which can conflict with char $ac_func (); below.
55553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55554     <limits.h> exists even on freestanding compilers.  */
55555
55556 #ifdef __STDC__
55557 # include <limits.h>
55558 #else
55559 # include <assert.h>
55560 #endif
55561
55562 #undef $ac_func
55563
55564 /* Override any gcc2 internal prototype to avoid an error.  */
55565 #ifdef __cplusplus
55566 extern "C"
55567 {
55568 #endif
55569 /* We use char because int might match the return type of a gcc2
55570    builtin and then its argument prototype would still apply.  */
55571 char $ac_func ();
55572 /* The GNU C library defines this for functions which it implements
55573     to always fail with ENOSYS.  Some functions are actually named
55574     something starting with __ and the normal name is an alias.  */
55575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55576 choke me
55577 #else
55578 char (*f) () = $ac_func;
55579 #endif
55580 #ifdef __cplusplus
55581 }
55582 #endif
55583
55584 int
55585 main ()
55586 {
55587 return f != $ac_func;
55588   ;
55589   return 0;
55590 }
55591 _ACEOF
55592 rm -f conftest.$ac_objext conftest$ac_exeext
55593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55594   (eval $ac_link) 2>conftest.er1
55595   ac_status=$?
55596   grep -v '^ *+' conftest.er1 >conftest.err
55597   rm -f conftest.er1
55598   cat conftest.err >&5
55599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55600   (exit $ac_status); } &&
55601          { ac_try='test -z "$ac_c_werror_flag"
55602                          || test ! -s conftest.err'
55603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55604   (eval $ac_try) 2>&5
55605   ac_status=$?
55606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607   (exit $ac_status); }; } &&
55608          { ac_try='test -s conftest$ac_exeext'
55609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55610   (eval $ac_try) 2>&5
55611   ac_status=$?
55612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55613   (exit $ac_status); }; }; then
55614   eval "$as_ac_var=yes"
55615 else
55616   echo "$as_me: failed program was:" >&5
55617 sed 's/^/| /' conftest.$ac_ext >&5
55618
55619 eval "$as_ac_var=no"
55620 fi
55621 rm -f conftest.err conftest.$ac_objext \
55622       conftest$ac_exeext conftest.$ac_ext
55623 fi
55624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55626 if test `eval echo '${'$as_ac_var'}'` = yes; then
55627   cat >>confdefs.h <<_ACEOF
55628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55629 _ACEOF
55630
55631 fi
55632 done
55633
55634     fi
55635   fi
55636
55637
55638
55639
55640
55641
55642   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55643 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55644   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55645     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55646   echo $ECHO_N "(cached) $ECHO_C" >&6
55647 else
55648
55649
55650
55651       ac_ext=cc
55652 ac_cpp='$CXXCPP $CPPFLAGS'
55653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55656
55657       cat >conftest.$ac_ext <<_ACEOF
55658 /* confdefs.h.  */
55659 _ACEOF
55660 cat confdefs.h >>conftest.$ac_ext
55661 cat >>conftest.$ac_ext <<_ACEOF
55662 /* end confdefs.h.  */
55663 #include <math.h>
55664 int
55665 main ()
55666 {
55667  copysignl(0, 0);
55668   ;
55669   return 0;
55670 }
55671 _ACEOF
55672 rm -f conftest.$ac_objext
55673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55674   (eval $ac_compile) 2>conftest.er1
55675   ac_status=$?
55676   grep -v '^ *+' conftest.er1 >conftest.err
55677   rm -f conftest.er1
55678   cat conftest.err >&5
55679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55680   (exit $ac_status); } &&
55681          { ac_try='test -z "$ac_cxx_werror_flag"
55682                          || test ! -s conftest.err'
55683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55684   (eval $ac_try) 2>&5
55685   ac_status=$?
55686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55687   (exit $ac_status); }; } &&
55688          { ac_try='test -s conftest.$ac_objext'
55689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55690   (eval $ac_try) 2>&5
55691   ac_status=$?
55692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55693   (exit $ac_status); }; }; then
55694   glibcxx_cv_func_copysignl_use=yes
55695 else
55696   echo "$as_me: failed program was:" >&5
55697 sed 's/^/| /' conftest.$ac_ext >&5
55698
55699 glibcxx_cv_func_copysignl_use=no
55700 fi
55701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55702       ac_ext=c
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707
55708
55709 fi
55710
55711   fi
55712   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55713 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55714
55715   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55716
55717 for ac_func in copysignl
55718 do
55719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55720 echo "$as_me:$LINENO: checking for $ac_func" >&5
55721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55722 if eval "test \"\${$as_ac_var+set}\" = set"; then
55723   echo $ECHO_N "(cached) $ECHO_C" >&6
55724 else
55725   if test x$gcc_no_link = xyes; then
55726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55728    { (exit 1); exit 1; }; }
55729 fi
55730 cat >conftest.$ac_ext <<_ACEOF
55731 /* confdefs.h.  */
55732 _ACEOF
55733 cat confdefs.h >>conftest.$ac_ext
55734 cat >>conftest.$ac_ext <<_ACEOF
55735 /* end confdefs.h.  */
55736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55738 #define $ac_func innocuous_$ac_func
55739
55740 /* System header to define __stub macros and hopefully few prototypes,
55741     which can conflict with char $ac_func (); below.
55742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55743     <limits.h> exists even on freestanding compilers.  */
55744
55745 #ifdef __STDC__
55746 # include <limits.h>
55747 #else
55748 # include <assert.h>
55749 #endif
55750
55751 #undef $ac_func
55752
55753 /* Override any gcc2 internal prototype to avoid an error.  */
55754 #ifdef __cplusplus
55755 extern "C"
55756 {
55757 #endif
55758 /* We use char because int might match the return type of a gcc2
55759    builtin and then its argument prototype would still apply.  */
55760 char $ac_func ();
55761 /* The GNU C library defines this for functions which it implements
55762     to always fail with ENOSYS.  Some functions are actually named
55763     something starting with __ and the normal name is an alias.  */
55764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55765 choke me
55766 #else
55767 char (*f) () = $ac_func;
55768 #endif
55769 #ifdef __cplusplus
55770 }
55771 #endif
55772
55773 int
55774 main ()
55775 {
55776 return f != $ac_func;
55777   ;
55778   return 0;
55779 }
55780 _ACEOF
55781 rm -f conftest.$ac_objext conftest$ac_exeext
55782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55783   (eval $ac_link) 2>conftest.er1
55784   ac_status=$?
55785   grep -v '^ *+' conftest.er1 >conftest.err
55786   rm -f conftest.er1
55787   cat conftest.err >&5
55788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55789   (exit $ac_status); } &&
55790          { ac_try='test -z "$ac_c_werror_flag"
55791                          || test ! -s conftest.err'
55792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55793   (eval $ac_try) 2>&5
55794   ac_status=$?
55795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55796   (exit $ac_status); }; } &&
55797          { ac_try='test -s conftest$ac_exeext'
55798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55799   (eval $ac_try) 2>&5
55800   ac_status=$?
55801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802   (exit $ac_status); }; }; then
55803   eval "$as_ac_var=yes"
55804 else
55805   echo "$as_me: failed program was:" >&5
55806 sed 's/^/| /' conftest.$ac_ext >&5
55807
55808 eval "$as_ac_var=no"
55809 fi
55810 rm -f conftest.err conftest.$ac_objext \
55811       conftest$ac_exeext conftest.$ac_ext
55812 fi
55813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55815 if test `eval echo '${'$as_ac_var'}'` = yes; then
55816   cat >>confdefs.h <<_ACEOF
55817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55818 _ACEOF
55819
55820 fi
55821 done
55822
55823   else
55824
55825   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55826 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55827   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55828     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55829   echo $ECHO_N "(cached) $ECHO_C" >&6
55830 else
55831
55832
55833
55834       ac_ext=cc
55835 ac_cpp='$CXXCPP $CPPFLAGS'
55836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55839
55840       cat >conftest.$ac_ext <<_ACEOF
55841 /* confdefs.h.  */
55842 _ACEOF
55843 cat confdefs.h >>conftest.$ac_ext
55844 cat >>conftest.$ac_ext <<_ACEOF
55845 /* end confdefs.h.  */
55846 #include <math.h>
55847 int
55848 main ()
55849 {
55850  _copysignl(0, 0);
55851   ;
55852   return 0;
55853 }
55854 _ACEOF
55855 rm -f conftest.$ac_objext
55856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55857   (eval $ac_compile) 2>conftest.er1
55858   ac_status=$?
55859   grep -v '^ *+' conftest.er1 >conftest.err
55860   rm -f conftest.er1
55861   cat conftest.err >&5
55862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55863   (exit $ac_status); } &&
55864          { ac_try='test -z "$ac_cxx_werror_flag"
55865                          || test ! -s conftest.err'
55866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55867   (eval $ac_try) 2>&5
55868   ac_status=$?
55869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55870   (exit $ac_status); }; } &&
55871          { ac_try='test -s conftest.$ac_objext'
55872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55873   (eval $ac_try) 2>&5
55874   ac_status=$?
55875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55876   (exit $ac_status); }; }; then
55877   glibcxx_cv_func__copysignl_use=yes
55878 else
55879   echo "$as_me: failed program was:" >&5
55880 sed 's/^/| /' conftest.$ac_ext >&5
55881
55882 glibcxx_cv_func__copysignl_use=no
55883 fi
55884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55885       ac_ext=c
55886 ac_cpp='$CPP $CPPFLAGS'
55887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55890
55891
55892 fi
55893
55894   fi
55895   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55896 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55897
55898     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55899
55900 for ac_func in _copysignl
55901 do
55902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55903 echo "$as_me:$LINENO: checking for $ac_func" >&5
55904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55905 if eval "test \"\${$as_ac_var+set}\" = set"; then
55906   echo $ECHO_N "(cached) $ECHO_C" >&6
55907 else
55908   if test x$gcc_no_link = xyes; then
55909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55911    { (exit 1); exit 1; }; }
55912 fi
55913 cat >conftest.$ac_ext <<_ACEOF
55914 /* confdefs.h.  */
55915 _ACEOF
55916 cat confdefs.h >>conftest.$ac_ext
55917 cat >>conftest.$ac_ext <<_ACEOF
55918 /* end confdefs.h.  */
55919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55921 #define $ac_func innocuous_$ac_func
55922
55923 /* System header to define __stub macros and hopefully few prototypes,
55924     which can conflict with char $ac_func (); below.
55925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55926     <limits.h> exists even on freestanding compilers.  */
55927
55928 #ifdef __STDC__
55929 # include <limits.h>
55930 #else
55931 # include <assert.h>
55932 #endif
55933
55934 #undef $ac_func
55935
55936 /* Override any gcc2 internal prototype to avoid an error.  */
55937 #ifdef __cplusplus
55938 extern "C"
55939 {
55940 #endif
55941 /* We use char because int might match the return type of a gcc2
55942    builtin and then its argument prototype would still apply.  */
55943 char $ac_func ();
55944 /* The GNU C library defines this for functions which it implements
55945     to always fail with ENOSYS.  Some functions are actually named
55946     something starting with __ and the normal name is an alias.  */
55947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55948 choke me
55949 #else
55950 char (*f) () = $ac_func;
55951 #endif
55952 #ifdef __cplusplus
55953 }
55954 #endif
55955
55956 int
55957 main ()
55958 {
55959 return f != $ac_func;
55960   ;
55961   return 0;
55962 }
55963 _ACEOF
55964 rm -f conftest.$ac_objext conftest$ac_exeext
55965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55966   (eval $ac_link) 2>conftest.er1
55967   ac_status=$?
55968   grep -v '^ *+' conftest.er1 >conftest.err
55969   rm -f conftest.er1
55970   cat conftest.err >&5
55971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55972   (exit $ac_status); } &&
55973          { ac_try='test -z "$ac_c_werror_flag"
55974                          || test ! -s conftest.err'
55975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55976   (eval $ac_try) 2>&5
55977   ac_status=$?
55978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979   (exit $ac_status); }; } &&
55980          { ac_try='test -s conftest$ac_exeext'
55981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55982   (eval $ac_try) 2>&5
55983   ac_status=$?
55984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985   (exit $ac_status); }; }; then
55986   eval "$as_ac_var=yes"
55987 else
55988   echo "$as_me: failed program was:" >&5
55989 sed 's/^/| /' conftest.$ac_ext >&5
55990
55991 eval "$as_ac_var=no"
55992 fi
55993 rm -f conftest.err conftest.$ac_objext \
55994       conftest$ac_exeext conftest.$ac_ext
55995 fi
55996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55998 if test `eval echo '${'$as_ac_var'}'` = yes; then
55999   cat >>confdefs.h <<_ACEOF
56000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56001 _ACEOF
56002
56003 fi
56004 done
56005
56006     fi
56007   fi
56008
56009
56010
56011
56012
56013
56014   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56015 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56016   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56017     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56018   echo $ECHO_N "(cached) $ECHO_C" >&6
56019 else
56020
56021
56022
56023       ac_ext=cc
56024 ac_cpp='$CXXCPP $CPPFLAGS'
56025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028
56029       cat >conftest.$ac_ext <<_ACEOF
56030 /* confdefs.h.  */
56031 _ACEOF
56032 cat confdefs.h >>conftest.$ac_ext
56033 cat >>conftest.$ac_ext <<_ACEOF
56034 /* end confdefs.h.  */
56035 #include <math.h>
56036 int
56037 main ()
56038 {
56039  atan2l(0, 0);
56040   ;
56041   return 0;
56042 }
56043 _ACEOF
56044 rm -f conftest.$ac_objext
56045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56046   (eval $ac_compile) 2>conftest.er1
56047   ac_status=$?
56048   grep -v '^ *+' conftest.er1 >conftest.err
56049   rm -f conftest.er1
56050   cat conftest.err >&5
56051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56052   (exit $ac_status); } &&
56053          { ac_try='test -z "$ac_cxx_werror_flag"
56054                          || test ! -s conftest.err'
56055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56056   (eval $ac_try) 2>&5
56057   ac_status=$?
56058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56059   (exit $ac_status); }; } &&
56060          { ac_try='test -s conftest.$ac_objext'
56061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56062   (eval $ac_try) 2>&5
56063   ac_status=$?
56064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56065   (exit $ac_status); }; }; then
56066   glibcxx_cv_func_atan2l_use=yes
56067 else
56068   echo "$as_me: failed program was:" >&5
56069 sed 's/^/| /' conftest.$ac_ext >&5
56070
56071 glibcxx_cv_func_atan2l_use=no
56072 fi
56073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56074       ac_ext=c
56075 ac_cpp='$CPP $CPPFLAGS'
56076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56079
56080
56081 fi
56082
56083   fi
56084   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56085 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56086
56087   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56088
56089 for ac_func in atan2l
56090 do
56091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56092 echo "$as_me:$LINENO: checking for $ac_func" >&5
56093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56094 if eval "test \"\${$as_ac_var+set}\" = set"; then
56095   echo $ECHO_N "(cached) $ECHO_C" >&6
56096 else
56097   if test x$gcc_no_link = xyes; then
56098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56100    { (exit 1); exit 1; }; }
56101 fi
56102 cat >conftest.$ac_ext <<_ACEOF
56103 /* confdefs.h.  */
56104 _ACEOF
56105 cat confdefs.h >>conftest.$ac_ext
56106 cat >>conftest.$ac_ext <<_ACEOF
56107 /* end confdefs.h.  */
56108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56110 #define $ac_func innocuous_$ac_func
56111
56112 /* System header to define __stub macros and hopefully few prototypes,
56113     which can conflict with char $ac_func (); below.
56114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56115     <limits.h> exists even on freestanding compilers.  */
56116
56117 #ifdef __STDC__
56118 # include <limits.h>
56119 #else
56120 # include <assert.h>
56121 #endif
56122
56123 #undef $ac_func
56124
56125 /* Override any gcc2 internal prototype to avoid an error.  */
56126 #ifdef __cplusplus
56127 extern "C"
56128 {
56129 #endif
56130 /* We use char because int might match the return type of a gcc2
56131    builtin and then its argument prototype would still apply.  */
56132 char $ac_func ();
56133 /* The GNU C library defines this for functions which it implements
56134     to always fail with ENOSYS.  Some functions are actually named
56135     something starting with __ and the normal name is an alias.  */
56136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56137 choke me
56138 #else
56139 char (*f) () = $ac_func;
56140 #endif
56141 #ifdef __cplusplus
56142 }
56143 #endif
56144
56145 int
56146 main ()
56147 {
56148 return f != $ac_func;
56149   ;
56150   return 0;
56151 }
56152 _ACEOF
56153 rm -f conftest.$ac_objext conftest$ac_exeext
56154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56155   (eval $ac_link) 2>conftest.er1
56156   ac_status=$?
56157   grep -v '^ *+' conftest.er1 >conftest.err
56158   rm -f conftest.er1
56159   cat conftest.err >&5
56160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161   (exit $ac_status); } &&
56162          { ac_try='test -z "$ac_c_werror_flag"
56163                          || test ! -s conftest.err'
56164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56165   (eval $ac_try) 2>&5
56166   ac_status=$?
56167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56168   (exit $ac_status); }; } &&
56169          { ac_try='test -s conftest$ac_exeext'
56170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56171   (eval $ac_try) 2>&5
56172   ac_status=$?
56173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56174   (exit $ac_status); }; }; then
56175   eval "$as_ac_var=yes"
56176 else
56177   echo "$as_me: failed program was:" >&5
56178 sed 's/^/| /' conftest.$ac_ext >&5
56179
56180 eval "$as_ac_var=no"
56181 fi
56182 rm -f conftest.err conftest.$ac_objext \
56183       conftest$ac_exeext conftest.$ac_ext
56184 fi
56185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56187 if test `eval echo '${'$as_ac_var'}'` = yes; then
56188   cat >>confdefs.h <<_ACEOF
56189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56190 _ACEOF
56191
56192 fi
56193 done
56194
56195   else
56196
56197   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56198 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56199   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56200     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56201   echo $ECHO_N "(cached) $ECHO_C" >&6
56202 else
56203
56204
56205
56206       ac_ext=cc
56207 ac_cpp='$CXXCPP $CPPFLAGS'
56208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56211
56212       cat >conftest.$ac_ext <<_ACEOF
56213 /* confdefs.h.  */
56214 _ACEOF
56215 cat confdefs.h >>conftest.$ac_ext
56216 cat >>conftest.$ac_ext <<_ACEOF
56217 /* end confdefs.h.  */
56218 #include <math.h>
56219 int
56220 main ()
56221 {
56222  _atan2l(0, 0);
56223   ;
56224   return 0;
56225 }
56226 _ACEOF
56227 rm -f conftest.$ac_objext
56228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56229   (eval $ac_compile) 2>conftest.er1
56230   ac_status=$?
56231   grep -v '^ *+' conftest.er1 >conftest.err
56232   rm -f conftest.er1
56233   cat conftest.err >&5
56234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56235   (exit $ac_status); } &&
56236          { ac_try='test -z "$ac_cxx_werror_flag"
56237                          || test ! -s conftest.err'
56238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56239   (eval $ac_try) 2>&5
56240   ac_status=$?
56241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56242   (exit $ac_status); }; } &&
56243          { ac_try='test -s conftest.$ac_objext'
56244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56245   (eval $ac_try) 2>&5
56246   ac_status=$?
56247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56248   (exit $ac_status); }; }; then
56249   glibcxx_cv_func__atan2l_use=yes
56250 else
56251   echo "$as_me: failed program was:" >&5
56252 sed 's/^/| /' conftest.$ac_ext >&5
56253
56254 glibcxx_cv_func__atan2l_use=no
56255 fi
56256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56257       ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56262
56263
56264 fi
56265
56266   fi
56267   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56268 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56269
56270     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56271
56272 for ac_func in _atan2l
56273 do
56274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56275 echo "$as_me:$LINENO: checking for $ac_func" >&5
56276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56277 if eval "test \"\${$as_ac_var+set}\" = set"; then
56278   echo $ECHO_N "(cached) $ECHO_C" >&6
56279 else
56280   if test x$gcc_no_link = xyes; then
56281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56283    { (exit 1); exit 1; }; }
56284 fi
56285 cat >conftest.$ac_ext <<_ACEOF
56286 /* confdefs.h.  */
56287 _ACEOF
56288 cat confdefs.h >>conftest.$ac_ext
56289 cat >>conftest.$ac_ext <<_ACEOF
56290 /* end confdefs.h.  */
56291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56293 #define $ac_func innocuous_$ac_func
56294
56295 /* System header to define __stub macros and hopefully few prototypes,
56296     which can conflict with char $ac_func (); below.
56297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56298     <limits.h> exists even on freestanding compilers.  */
56299
56300 #ifdef __STDC__
56301 # include <limits.h>
56302 #else
56303 # include <assert.h>
56304 #endif
56305
56306 #undef $ac_func
56307
56308 /* Override any gcc2 internal prototype to avoid an error.  */
56309 #ifdef __cplusplus
56310 extern "C"
56311 {
56312 #endif
56313 /* We use char because int might match the return type of a gcc2
56314    builtin and then its argument prototype would still apply.  */
56315 char $ac_func ();
56316 /* The GNU C library defines this for functions which it implements
56317     to always fail with ENOSYS.  Some functions are actually named
56318     something starting with __ and the normal name is an alias.  */
56319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56320 choke me
56321 #else
56322 char (*f) () = $ac_func;
56323 #endif
56324 #ifdef __cplusplus
56325 }
56326 #endif
56327
56328 int
56329 main ()
56330 {
56331 return f != $ac_func;
56332   ;
56333   return 0;
56334 }
56335 _ACEOF
56336 rm -f conftest.$ac_objext conftest$ac_exeext
56337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56338   (eval $ac_link) 2>conftest.er1
56339   ac_status=$?
56340   grep -v '^ *+' conftest.er1 >conftest.err
56341   rm -f conftest.er1
56342   cat conftest.err >&5
56343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56344   (exit $ac_status); } &&
56345          { ac_try='test -z "$ac_c_werror_flag"
56346                          || test ! -s conftest.err'
56347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56348   (eval $ac_try) 2>&5
56349   ac_status=$?
56350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56351   (exit $ac_status); }; } &&
56352          { ac_try='test -s conftest$ac_exeext'
56353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56354   (eval $ac_try) 2>&5
56355   ac_status=$?
56356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56357   (exit $ac_status); }; }; then
56358   eval "$as_ac_var=yes"
56359 else
56360   echo "$as_me: failed program was:" >&5
56361 sed 's/^/| /' conftest.$ac_ext >&5
56362
56363 eval "$as_ac_var=no"
56364 fi
56365 rm -f conftest.err conftest.$ac_objext \
56366       conftest$ac_exeext conftest.$ac_ext
56367 fi
56368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56370 if test `eval echo '${'$as_ac_var'}'` = yes; then
56371   cat >>confdefs.h <<_ACEOF
56372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56373 _ACEOF
56374
56375 fi
56376 done
56377
56378     fi
56379   fi
56380
56381
56382
56383
56384
56385
56386   echo "$as_me:$LINENO: checking for expl declaration" >&5
56387 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56388   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56389     if test "${glibcxx_cv_func_expl_use+set}" = set; then
56390   echo $ECHO_N "(cached) $ECHO_C" >&6
56391 else
56392
56393
56394
56395       ac_ext=cc
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56400
56401       cat >conftest.$ac_ext <<_ACEOF
56402 /* confdefs.h.  */
56403 _ACEOF
56404 cat confdefs.h >>conftest.$ac_ext
56405 cat >>conftest.$ac_ext <<_ACEOF
56406 /* end confdefs.h.  */
56407 #include <math.h>
56408                       #ifdef HAVE_IEEEFP_H
56409                       #include <ieeefp.h>
56410                       #endif
56411
56412 int
56413 main ()
56414 {
56415  expl(0);
56416   ;
56417   return 0;
56418 }
56419 _ACEOF
56420 rm -f conftest.$ac_objext
56421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56422   (eval $ac_compile) 2>conftest.er1
56423   ac_status=$?
56424   grep -v '^ *+' conftest.er1 >conftest.err
56425   rm -f conftest.er1
56426   cat conftest.err >&5
56427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56428   (exit $ac_status); } &&
56429          { ac_try='test -z "$ac_cxx_werror_flag"
56430                          || test ! -s conftest.err'
56431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56432   (eval $ac_try) 2>&5
56433   ac_status=$?
56434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56435   (exit $ac_status); }; } &&
56436          { ac_try='test -s conftest.$ac_objext'
56437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56438   (eval $ac_try) 2>&5
56439   ac_status=$?
56440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56441   (exit $ac_status); }; }; then
56442   glibcxx_cv_func_expl_use=yes
56443 else
56444   echo "$as_me: failed program was:" >&5
56445 sed 's/^/| /' conftest.$ac_ext >&5
56446
56447 glibcxx_cv_func_expl_use=no
56448 fi
56449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56450       ac_ext=c
56451 ac_cpp='$CPP $CPPFLAGS'
56452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56455
56456
56457 fi
56458
56459   fi
56460   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56461 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56462
56463   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56464
56465 for ac_func in expl
56466 do
56467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56468 echo "$as_me:$LINENO: checking for $ac_func" >&5
56469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56470 if eval "test \"\${$as_ac_var+set}\" = set"; then
56471   echo $ECHO_N "(cached) $ECHO_C" >&6
56472 else
56473   if test x$gcc_no_link = xyes; then
56474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56476    { (exit 1); exit 1; }; }
56477 fi
56478 cat >conftest.$ac_ext <<_ACEOF
56479 /* confdefs.h.  */
56480 _ACEOF
56481 cat confdefs.h >>conftest.$ac_ext
56482 cat >>conftest.$ac_ext <<_ACEOF
56483 /* end confdefs.h.  */
56484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56486 #define $ac_func innocuous_$ac_func
56487
56488 /* System header to define __stub macros and hopefully few prototypes,
56489     which can conflict with char $ac_func (); below.
56490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56491     <limits.h> exists even on freestanding compilers.  */
56492
56493 #ifdef __STDC__
56494 # include <limits.h>
56495 #else
56496 # include <assert.h>
56497 #endif
56498
56499 #undef $ac_func
56500
56501 /* Override any gcc2 internal prototype to avoid an error.  */
56502 #ifdef __cplusplus
56503 extern "C"
56504 {
56505 #endif
56506 /* We use char because int might match the return type of a gcc2
56507    builtin and then its argument prototype would still apply.  */
56508 char $ac_func ();
56509 /* The GNU C library defines this for functions which it implements
56510     to always fail with ENOSYS.  Some functions are actually named
56511     something starting with __ and the normal name is an alias.  */
56512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56513 choke me
56514 #else
56515 char (*f) () = $ac_func;
56516 #endif
56517 #ifdef __cplusplus
56518 }
56519 #endif
56520
56521 int
56522 main ()
56523 {
56524 return f != $ac_func;
56525   ;
56526   return 0;
56527 }
56528 _ACEOF
56529 rm -f conftest.$ac_objext conftest$ac_exeext
56530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56531   (eval $ac_link) 2>conftest.er1
56532   ac_status=$?
56533   grep -v '^ *+' conftest.er1 >conftest.err
56534   rm -f conftest.er1
56535   cat conftest.err >&5
56536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56537   (exit $ac_status); } &&
56538          { ac_try='test -z "$ac_c_werror_flag"
56539                          || test ! -s conftest.err'
56540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56541   (eval $ac_try) 2>&5
56542   ac_status=$?
56543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56544   (exit $ac_status); }; } &&
56545          { ac_try='test -s conftest$ac_exeext'
56546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56547   (eval $ac_try) 2>&5
56548   ac_status=$?
56549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550   (exit $ac_status); }; }; then
56551   eval "$as_ac_var=yes"
56552 else
56553   echo "$as_me: failed program was:" >&5
56554 sed 's/^/| /' conftest.$ac_ext >&5
56555
56556 eval "$as_ac_var=no"
56557 fi
56558 rm -f conftest.err conftest.$ac_objext \
56559       conftest$ac_exeext conftest.$ac_ext
56560 fi
56561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56563 if test `eval echo '${'$as_ac_var'}'` = yes; then
56564   cat >>confdefs.h <<_ACEOF
56565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56566 _ACEOF
56567
56568 fi
56569 done
56570
56571   else
56572
56573   echo "$as_me:$LINENO: checking for _expl declaration" >&5
56574 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56575   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56576     if test "${glibcxx_cv_func__expl_use+set}" = set; then
56577   echo $ECHO_N "(cached) $ECHO_C" >&6
56578 else
56579
56580
56581
56582       ac_ext=cc
56583 ac_cpp='$CXXCPP $CPPFLAGS'
56584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56587
56588       cat >conftest.$ac_ext <<_ACEOF
56589 /* confdefs.h.  */
56590 _ACEOF
56591 cat confdefs.h >>conftest.$ac_ext
56592 cat >>conftest.$ac_ext <<_ACEOF
56593 /* end confdefs.h.  */
56594 #include <math.h>
56595                       #ifdef HAVE_IEEEFP_H
56596                       #include <ieeefp.h>
56597                       #endif
56598
56599 int
56600 main ()
56601 {
56602  _expl(0);
56603   ;
56604   return 0;
56605 }
56606 _ACEOF
56607 rm -f conftest.$ac_objext
56608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56609   (eval $ac_compile) 2>conftest.er1
56610   ac_status=$?
56611   grep -v '^ *+' conftest.er1 >conftest.err
56612   rm -f conftest.er1
56613   cat conftest.err >&5
56614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56615   (exit $ac_status); } &&
56616          { ac_try='test -z "$ac_cxx_werror_flag"
56617                          || test ! -s conftest.err'
56618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56619   (eval $ac_try) 2>&5
56620   ac_status=$?
56621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56622   (exit $ac_status); }; } &&
56623          { ac_try='test -s conftest.$ac_objext'
56624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56625   (eval $ac_try) 2>&5
56626   ac_status=$?
56627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628   (exit $ac_status); }; }; then
56629   glibcxx_cv_func__expl_use=yes
56630 else
56631   echo "$as_me: failed program was:" >&5
56632 sed 's/^/| /' conftest.$ac_ext >&5
56633
56634 glibcxx_cv_func__expl_use=no
56635 fi
56636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56637       ac_ext=c
56638 ac_cpp='$CPP $CPPFLAGS'
56639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56642
56643
56644 fi
56645
56646   fi
56647   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56648 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56649
56650     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56651
56652 for ac_func in _expl
56653 do
56654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56655 echo "$as_me:$LINENO: checking for $ac_func" >&5
56656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56657 if eval "test \"\${$as_ac_var+set}\" = set"; then
56658   echo $ECHO_N "(cached) $ECHO_C" >&6
56659 else
56660   if test x$gcc_no_link = xyes; then
56661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56663    { (exit 1); exit 1; }; }
56664 fi
56665 cat >conftest.$ac_ext <<_ACEOF
56666 /* confdefs.h.  */
56667 _ACEOF
56668 cat confdefs.h >>conftest.$ac_ext
56669 cat >>conftest.$ac_ext <<_ACEOF
56670 /* end confdefs.h.  */
56671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56673 #define $ac_func innocuous_$ac_func
56674
56675 /* System header to define __stub macros and hopefully few prototypes,
56676     which can conflict with char $ac_func (); below.
56677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56678     <limits.h> exists even on freestanding compilers.  */
56679
56680 #ifdef __STDC__
56681 # include <limits.h>
56682 #else
56683 # include <assert.h>
56684 #endif
56685
56686 #undef $ac_func
56687
56688 /* Override any gcc2 internal prototype to avoid an error.  */
56689 #ifdef __cplusplus
56690 extern "C"
56691 {
56692 #endif
56693 /* We use char because int might match the return type of a gcc2
56694    builtin and then its argument prototype would still apply.  */
56695 char $ac_func ();
56696 /* The GNU C library defines this for functions which it implements
56697     to always fail with ENOSYS.  Some functions are actually named
56698     something starting with __ and the normal name is an alias.  */
56699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56700 choke me
56701 #else
56702 char (*f) () = $ac_func;
56703 #endif
56704 #ifdef __cplusplus
56705 }
56706 #endif
56707
56708 int
56709 main ()
56710 {
56711 return f != $ac_func;
56712   ;
56713   return 0;
56714 }
56715 _ACEOF
56716 rm -f conftest.$ac_objext conftest$ac_exeext
56717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56718   (eval $ac_link) 2>conftest.er1
56719   ac_status=$?
56720   grep -v '^ *+' conftest.er1 >conftest.err
56721   rm -f conftest.er1
56722   cat conftest.err >&5
56723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56724   (exit $ac_status); } &&
56725          { ac_try='test -z "$ac_c_werror_flag"
56726                          || test ! -s conftest.err'
56727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56728   (eval $ac_try) 2>&5
56729   ac_status=$?
56730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56731   (exit $ac_status); }; } &&
56732          { ac_try='test -s conftest$ac_exeext'
56733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56734   (eval $ac_try) 2>&5
56735   ac_status=$?
56736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56737   (exit $ac_status); }; }; then
56738   eval "$as_ac_var=yes"
56739 else
56740   echo "$as_me: failed program was:" >&5
56741 sed 's/^/| /' conftest.$ac_ext >&5
56742
56743 eval "$as_ac_var=no"
56744 fi
56745 rm -f conftest.err conftest.$ac_objext \
56746       conftest$ac_exeext conftest.$ac_ext
56747 fi
56748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56750 if test `eval echo '${'$as_ac_var'}'` = yes; then
56751   cat >>confdefs.h <<_ACEOF
56752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56753 _ACEOF
56754
56755 fi
56756 done
56757
56758     fi
56759   fi
56760
56761
56762
56763
56764
56765
56766   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56767 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56768   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56769     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56770   echo $ECHO_N "(cached) $ECHO_C" >&6
56771 else
56772
56773
56774
56775       ac_ext=cc
56776 ac_cpp='$CXXCPP $CPPFLAGS'
56777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780
56781       cat >conftest.$ac_ext <<_ACEOF
56782 /* confdefs.h.  */
56783 _ACEOF
56784 cat confdefs.h >>conftest.$ac_ext
56785 cat >>conftest.$ac_ext <<_ACEOF
56786 /* end confdefs.h.  */
56787 #include <math.h>
56788                       #ifdef HAVE_IEEEFP_H
56789                       #include <ieeefp.h>
56790                       #endif
56791
56792 int
56793 main ()
56794 {
56795  fabsl(0);
56796   ;
56797   return 0;
56798 }
56799 _ACEOF
56800 rm -f conftest.$ac_objext
56801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56802   (eval $ac_compile) 2>conftest.er1
56803   ac_status=$?
56804   grep -v '^ *+' conftest.er1 >conftest.err
56805   rm -f conftest.er1
56806   cat conftest.err >&5
56807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56808   (exit $ac_status); } &&
56809          { ac_try='test -z "$ac_cxx_werror_flag"
56810                          || test ! -s conftest.err'
56811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56812   (eval $ac_try) 2>&5
56813   ac_status=$?
56814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56815   (exit $ac_status); }; } &&
56816          { ac_try='test -s conftest.$ac_objext'
56817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56818   (eval $ac_try) 2>&5
56819   ac_status=$?
56820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821   (exit $ac_status); }; }; then
56822   glibcxx_cv_func_fabsl_use=yes
56823 else
56824   echo "$as_me: failed program was:" >&5
56825 sed 's/^/| /' conftest.$ac_ext >&5
56826
56827 glibcxx_cv_func_fabsl_use=no
56828 fi
56829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56830       ac_ext=c
56831 ac_cpp='$CPP $CPPFLAGS'
56832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56835
56836
56837 fi
56838
56839   fi
56840   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56841 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56842
56843   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56844
56845 for ac_func in fabsl
56846 do
56847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56848 echo "$as_me:$LINENO: checking for $ac_func" >&5
56849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56850 if eval "test \"\${$as_ac_var+set}\" = set"; then
56851   echo $ECHO_N "(cached) $ECHO_C" >&6
56852 else
56853   if test x$gcc_no_link = xyes; then
56854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56856    { (exit 1); exit 1; }; }
56857 fi
56858 cat >conftest.$ac_ext <<_ACEOF
56859 /* confdefs.h.  */
56860 _ACEOF
56861 cat confdefs.h >>conftest.$ac_ext
56862 cat >>conftest.$ac_ext <<_ACEOF
56863 /* end confdefs.h.  */
56864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56866 #define $ac_func innocuous_$ac_func
56867
56868 /* System header to define __stub macros and hopefully few prototypes,
56869     which can conflict with char $ac_func (); below.
56870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56871     <limits.h> exists even on freestanding compilers.  */
56872
56873 #ifdef __STDC__
56874 # include <limits.h>
56875 #else
56876 # include <assert.h>
56877 #endif
56878
56879 #undef $ac_func
56880
56881 /* Override any gcc2 internal prototype to avoid an error.  */
56882 #ifdef __cplusplus
56883 extern "C"
56884 {
56885 #endif
56886 /* We use char because int might match the return type of a gcc2
56887    builtin and then its argument prototype would still apply.  */
56888 char $ac_func ();
56889 /* The GNU C library defines this for functions which it implements
56890     to always fail with ENOSYS.  Some functions are actually named
56891     something starting with __ and the normal name is an alias.  */
56892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56893 choke me
56894 #else
56895 char (*f) () = $ac_func;
56896 #endif
56897 #ifdef __cplusplus
56898 }
56899 #endif
56900
56901 int
56902 main ()
56903 {
56904 return f != $ac_func;
56905   ;
56906   return 0;
56907 }
56908 _ACEOF
56909 rm -f conftest.$ac_objext conftest$ac_exeext
56910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56911   (eval $ac_link) 2>conftest.er1
56912   ac_status=$?
56913   grep -v '^ *+' conftest.er1 >conftest.err
56914   rm -f conftest.er1
56915   cat conftest.err >&5
56916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56917   (exit $ac_status); } &&
56918          { ac_try='test -z "$ac_c_werror_flag"
56919                          || test ! -s conftest.err'
56920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56921   (eval $ac_try) 2>&5
56922   ac_status=$?
56923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56924   (exit $ac_status); }; } &&
56925          { ac_try='test -s conftest$ac_exeext'
56926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56927   (eval $ac_try) 2>&5
56928   ac_status=$?
56929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930   (exit $ac_status); }; }; then
56931   eval "$as_ac_var=yes"
56932 else
56933   echo "$as_me: failed program was:" >&5
56934 sed 's/^/| /' conftest.$ac_ext >&5
56935
56936 eval "$as_ac_var=no"
56937 fi
56938 rm -f conftest.err conftest.$ac_objext \
56939       conftest$ac_exeext conftest.$ac_ext
56940 fi
56941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56943 if test `eval echo '${'$as_ac_var'}'` = yes; then
56944   cat >>confdefs.h <<_ACEOF
56945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56946 _ACEOF
56947
56948 fi
56949 done
56950
56951   else
56952
56953   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56954 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56955   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56956     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56957   echo $ECHO_N "(cached) $ECHO_C" >&6
56958 else
56959
56960
56961
56962       ac_ext=cc
56963 ac_cpp='$CXXCPP $CPPFLAGS'
56964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967
56968       cat >conftest.$ac_ext <<_ACEOF
56969 /* confdefs.h.  */
56970 _ACEOF
56971 cat confdefs.h >>conftest.$ac_ext
56972 cat >>conftest.$ac_ext <<_ACEOF
56973 /* end confdefs.h.  */
56974 #include <math.h>
56975                       #ifdef HAVE_IEEEFP_H
56976                       #include <ieeefp.h>
56977                       #endif
56978
56979 int
56980 main ()
56981 {
56982  _fabsl(0);
56983   ;
56984   return 0;
56985 }
56986 _ACEOF
56987 rm -f conftest.$ac_objext
56988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56989   (eval $ac_compile) 2>conftest.er1
56990   ac_status=$?
56991   grep -v '^ *+' conftest.er1 >conftest.err
56992   rm -f conftest.er1
56993   cat conftest.err >&5
56994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56995   (exit $ac_status); } &&
56996          { ac_try='test -z "$ac_cxx_werror_flag"
56997                          || test ! -s conftest.err'
56998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56999   (eval $ac_try) 2>&5
57000   ac_status=$?
57001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57002   (exit $ac_status); }; } &&
57003          { ac_try='test -s conftest.$ac_objext'
57004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57005   (eval $ac_try) 2>&5
57006   ac_status=$?
57007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57008   (exit $ac_status); }; }; then
57009   glibcxx_cv_func__fabsl_use=yes
57010 else
57011   echo "$as_me: failed program was:" >&5
57012 sed 's/^/| /' conftest.$ac_ext >&5
57013
57014 glibcxx_cv_func__fabsl_use=no
57015 fi
57016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57017       ac_ext=c
57018 ac_cpp='$CPP $CPPFLAGS'
57019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57022
57023
57024 fi
57025
57026   fi
57027   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57028 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57029
57030     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57031
57032 for ac_func in _fabsl
57033 do
57034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57035 echo "$as_me:$LINENO: checking for $ac_func" >&5
57036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57037 if eval "test \"\${$as_ac_var+set}\" = set"; then
57038   echo $ECHO_N "(cached) $ECHO_C" >&6
57039 else
57040   if test x$gcc_no_link = xyes; then
57041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57043    { (exit 1); exit 1; }; }
57044 fi
57045 cat >conftest.$ac_ext <<_ACEOF
57046 /* confdefs.h.  */
57047 _ACEOF
57048 cat confdefs.h >>conftest.$ac_ext
57049 cat >>conftest.$ac_ext <<_ACEOF
57050 /* end confdefs.h.  */
57051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57053 #define $ac_func innocuous_$ac_func
57054
57055 /* System header to define __stub macros and hopefully few prototypes,
57056     which can conflict with char $ac_func (); below.
57057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57058     <limits.h> exists even on freestanding compilers.  */
57059
57060 #ifdef __STDC__
57061 # include <limits.h>
57062 #else
57063 # include <assert.h>
57064 #endif
57065
57066 #undef $ac_func
57067
57068 /* Override any gcc2 internal prototype to avoid an error.  */
57069 #ifdef __cplusplus
57070 extern "C"
57071 {
57072 #endif
57073 /* We use char because int might match the return type of a gcc2
57074    builtin and then its argument prototype would still apply.  */
57075 char $ac_func ();
57076 /* The GNU C library defines this for functions which it implements
57077     to always fail with ENOSYS.  Some functions are actually named
57078     something starting with __ and the normal name is an alias.  */
57079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57080 choke me
57081 #else
57082 char (*f) () = $ac_func;
57083 #endif
57084 #ifdef __cplusplus
57085 }
57086 #endif
57087
57088 int
57089 main ()
57090 {
57091 return f != $ac_func;
57092   ;
57093   return 0;
57094 }
57095 _ACEOF
57096 rm -f conftest.$ac_objext conftest$ac_exeext
57097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57098   (eval $ac_link) 2>conftest.er1
57099   ac_status=$?
57100   grep -v '^ *+' conftest.er1 >conftest.err
57101   rm -f conftest.er1
57102   cat conftest.err >&5
57103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57104   (exit $ac_status); } &&
57105          { ac_try='test -z "$ac_c_werror_flag"
57106                          || test ! -s conftest.err'
57107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57108   (eval $ac_try) 2>&5
57109   ac_status=$?
57110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111   (exit $ac_status); }; } &&
57112          { ac_try='test -s conftest$ac_exeext'
57113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57114   (eval $ac_try) 2>&5
57115   ac_status=$?
57116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57117   (exit $ac_status); }; }; then
57118   eval "$as_ac_var=yes"
57119 else
57120   echo "$as_me: failed program was:" >&5
57121 sed 's/^/| /' conftest.$ac_ext >&5
57122
57123 eval "$as_ac_var=no"
57124 fi
57125 rm -f conftest.err conftest.$ac_objext \
57126       conftest$ac_exeext conftest.$ac_ext
57127 fi
57128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57130 if test `eval echo '${'$as_ac_var'}'` = yes; then
57131   cat >>confdefs.h <<_ACEOF
57132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57133 _ACEOF
57134
57135 fi
57136 done
57137
57138     fi
57139   fi
57140
57141
57142
57143
57144
57145
57146   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57147 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57148   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57149     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57150   echo $ECHO_N "(cached) $ECHO_C" >&6
57151 else
57152
57153
57154
57155       ac_ext=cc
57156 ac_cpp='$CXXCPP $CPPFLAGS'
57157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57160
57161       cat >conftest.$ac_ext <<_ACEOF
57162 /* confdefs.h.  */
57163 _ACEOF
57164 cat confdefs.h >>conftest.$ac_ext
57165 cat >>conftest.$ac_ext <<_ACEOF
57166 /* end confdefs.h.  */
57167 #include <math.h>
57168 int
57169 main ()
57170 {
57171  fmodl(0, 0);
57172   ;
57173   return 0;
57174 }
57175 _ACEOF
57176 rm -f conftest.$ac_objext
57177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57178   (eval $ac_compile) 2>conftest.er1
57179   ac_status=$?
57180   grep -v '^ *+' conftest.er1 >conftest.err
57181   rm -f conftest.er1
57182   cat conftest.err >&5
57183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57184   (exit $ac_status); } &&
57185          { ac_try='test -z "$ac_cxx_werror_flag"
57186                          || test ! -s conftest.err'
57187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57188   (eval $ac_try) 2>&5
57189   ac_status=$?
57190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57191   (exit $ac_status); }; } &&
57192          { ac_try='test -s conftest.$ac_objext'
57193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57194   (eval $ac_try) 2>&5
57195   ac_status=$?
57196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57197   (exit $ac_status); }; }; then
57198   glibcxx_cv_func_fmodl_use=yes
57199 else
57200   echo "$as_me: failed program was:" >&5
57201 sed 's/^/| /' conftest.$ac_ext >&5
57202
57203 glibcxx_cv_func_fmodl_use=no
57204 fi
57205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57206       ac_ext=c
57207 ac_cpp='$CPP $CPPFLAGS'
57208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57211
57212
57213 fi
57214
57215   fi
57216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57217 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57218
57219   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57220
57221 for ac_func in fmodl
57222 do
57223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57224 echo "$as_me:$LINENO: checking for $ac_func" >&5
57225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57226 if eval "test \"\${$as_ac_var+set}\" = set"; then
57227   echo $ECHO_N "(cached) $ECHO_C" >&6
57228 else
57229   if test x$gcc_no_link = xyes; then
57230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57232    { (exit 1); exit 1; }; }
57233 fi
57234 cat >conftest.$ac_ext <<_ACEOF
57235 /* confdefs.h.  */
57236 _ACEOF
57237 cat confdefs.h >>conftest.$ac_ext
57238 cat >>conftest.$ac_ext <<_ACEOF
57239 /* end confdefs.h.  */
57240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57242 #define $ac_func innocuous_$ac_func
57243
57244 /* System header to define __stub macros and hopefully few prototypes,
57245     which can conflict with char $ac_func (); below.
57246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57247     <limits.h> exists even on freestanding compilers.  */
57248
57249 #ifdef __STDC__
57250 # include <limits.h>
57251 #else
57252 # include <assert.h>
57253 #endif
57254
57255 #undef $ac_func
57256
57257 /* Override any gcc2 internal prototype to avoid an error.  */
57258 #ifdef __cplusplus
57259 extern "C"
57260 {
57261 #endif
57262 /* We use char because int might match the return type of a gcc2
57263    builtin and then its argument prototype would still apply.  */
57264 char $ac_func ();
57265 /* The GNU C library defines this for functions which it implements
57266     to always fail with ENOSYS.  Some functions are actually named
57267     something starting with __ and the normal name is an alias.  */
57268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57269 choke me
57270 #else
57271 char (*f) () = $ac_func;
57272 #endif
57273 #ifdef __cplusplus
57274 }
57275 #endif
57276
57277 int
57278 main ()
57279 {
57280 return f != $ac_func;
57281   ;
57282   return 0;
57283 }
57284 _ACEOF
57285 rm -f conftest.$ac_objext conftest$ac_exeext
57286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57287   (eval $ac_link) 2>conftest.er1
57288   ac_status=$?
57289   grep -v '^ *+' conftest.er1 >conftest.err
57290   rm -f conftest.er1
57291   cat conftest.err >&5
57292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57293   (exit $ac_status); } &&
57294          { ac_try='test -z "$ac_c_werror_flag"
57295                          || test ! -s conftest.err'
57296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57297   (eval $ac_try) 2>&5
57298   ac_status=$?
57299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57300   (exit $ac_status); }; } &&
57301          { ac_try='test -s conftest$ac_exeext'
57302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57303   (eval $ac_try) 2>&5
57304   ac_status=$?
57305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57306   (exit $ac_status); }; }; then
57307   eval "$as_ac_var=yes"
57308 else
57309   echo "$as_me: failed program was:" >&5
57310 sed 's/^/| /' conftest.$ac_ext >&5
57311
57312 eval "$as_ac_var=no"
57313 fi
57314 rm -f conftest.err conftest.$ac_objext \
57315       conftest$ac_exeext conftest.$ac_ext
57316 fi
57317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57319 if test `eval echo '${'$as_ac_var'}'` = yes; then
57320   cat >>confdefs.h <<_ACEOF
57321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57322 _ACEOF
57323
57324 fi
57325 done
57326
57327   else
57328
57329   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57330 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57331   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57332     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57333   echo $ECHO_N "(cached) $ECHO_C" >&6
57334 else
57335
57336
57337
57338       ac_ext=cc
57339 ac_cpp='$CXXCPP $CPPFLAGS'
57340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57343
57344       cat >conftest.$ac_ext <<_ACEOF
57345 /* confdefs.h.  */
57346 _ACEOF
57347 cat confdefs.h >>conftest.$ac_ext
57348 cat >>conftest.$ac_ext <<_ACEOF
57349 /* end confdefs.h.  */
57350 #include <math.h>
57351 int
57352 main ()
57353 {
57354  _fmodl(0, 0);
57355   ;
57356   return 0;
57357 }
57358 _ACEOF
57359 rm -f conftest.$ac_objext
57360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57361   (eval $ac_compile) 2>conftest.er1
57362   ac_status=$?
57363   grep -v '^ *+' conftest.er1 >conftest.err
57364   rm -f conftest.er1
57365   cat conftest.err >&5
57366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57367   (exit $ac_status); } &&
57368          { ac_try='test -z "$ac_cxx_werror_flag"
57369                          || test ! -s conftest.err'
57370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57371   (eval $ac_try) 2>&5
57372   ac_status=$?
57373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57374   (exit $ac_status); }; } &&
57375          { ac_try='test -s conftest.$ac_objext'
57376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377   (eval $ac_try) 2>&5
57378   ac_status=$?
57379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380   (exit $ac_status); }; }; then
57381   glibcxx_cv_func__fmodl_use=yes
57382 else
57383   echo "$as_me: failed program was:" >&5
57384 sed 's/^/| /' conftest.$ac_ext >&5
57385
57386 glibcxx_cv_func__fmodl_use=no
57387 fi
57388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57389       ac_ext=c
57390 ac_cpp='$CPP $CPPFLAGS'
57391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57394
57395
57396 fi
57397
57398   fi
57399   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57400 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57401
57402     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57403
57404 for ac_func in _fmodl
57405 do
57406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57407 echo "$as_me:$LINENO: checking for $ac_func" >&5
57408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57409 if eval "test \"\${$as_ac_var+set}\" = set"; then
57410   echo $ECHO_N "(cached) $ECHO_C" >&6
57411 else
57412   if test x$gcc_no_link = xyes; then
57413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57415    { (exit 1); exit 1; }; }
57416 fi
57417 cat >conftest.$ac_ext <<_ACEOF
57418 /* confdefs.h.  */
57419 _ACEOF
57420 cat confdefs.h >>conftest.$ac_ext
57421 cat >>conftest.$ac_ext <<_ACEOF
57422 /* end confdefs.h.  */
57423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57425 #define $ac_func innocuous_$ac_func
57426
57427 /* System header to define __stub macros and hopefully few prototypes,
57428     which can conflict with char $ac_func (); below.
57429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57430     <limits.h> exists even on freestanding compilers.  */
57431
57432 #ifdef __STDC__
57433 # include <limits.h>
57434 #else
57435 # include <assert.h>
57436 #endif
57437
57438 #undef $ac_func
57439
57440 /* Override any gcc2 internal prototype to avoid an error.  */
57441 #ifdef __cplusplus
57442 extern "C"
57443 {
57444 #endif
57445 /* We use char because int might match the return type of a gcc2
57446    builtin and then its argument prototype would still apply.  */
57447 char $ac_func ();
57448 /* The GNU C library defines this for functions which it implements
57449     to always fail with ENOSYS.  Some functions are actually named
57450     something starting with __ and the normal name is an alias.  */
57451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57452 choke me
57453 #else
57454 char (*f) () = $ac_func;
57455 #endif
57456 #ifdef __cplusplus
57457 }
57458 #endif
57459
57460 int
57461 main ()
57462 {
57463 return f != $ac_func;
57464   ;
57465   return 0;
57466 }
57467 _ACEOF
57468 rm -f conftest.$ac_objext conftest$ac_exeext
57469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57470   (eval $ac_link) 2>conftest.er1
57471   ac_status=$?
57472   grep -v '^ *+' conftest.er1 >conftest.err
57473   rm -f conftest.er1
57474   cat conftest.err >&5
57475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57476   (exit $ac_status); } &&
57477          { ac_try='test -z "$ac_c_werror_flag"
57478                          || test ! -s conftest.err'
57479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57480   (eval $ac_try) 2>&5
57481   ac_status=$?
57482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57483   (exit $ac_status); }; } &&
57484          { ac_try='test -s conftest$ac_exeext'
57485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57486   (eval $ac_try) 2>&5
57487   ac_status=$?
57488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57489   (exit $ac_status); }; }; then
57490   eval "$as_ac_var=yes"
57491 else
57492   echo "$as_me: failed program was:" >&5
57493 sed 's/^/| /' conftest.$ac_ext >&5
57494
57495 eval "$as_ac_var=no"
57496 fi
57497 rm -f conftest.err conftest.$ac_objext \
57498       conftest$ac_exeext conftest.$ac_ext
57499 fi
57500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57502 if test `eval echo '${'$as_ac_var'}'` = yes; then
57503   cat >>confdefs.h <<_ACEOF
57504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57505 _ACEOF
57506
57507 fi
57508 done
57509
57510     fi
57511   fi
57512
57513
57514
57515
57516
57517
57518   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57519 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57520   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57521     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57522   echo $ECHO_N "(cached) $ECHO_C" >&6
57523 else
57524
57525
57526
57527       ac_ext=cc
57528 ac_cpp='$CXXCPP $CPPFLAGS'
57529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57532
57533       cat >conftest.$ac_ext <<_ACEOF
57534 /* confdefs.h.  */
57535 _ACEOF
57536 cat confdefs.h >>conftest.$ac_ext
57537 cat >>conftest.$ac_ext <<_ACEOF
57538 /* end confdefs.h.  */
57539 #include <math.h>
57540 int
57541 main ()
57542 {
57543  frexpl(0, 0);
57544   ;
57545   return 0;
57546 }
57547 _ACEOF
57548 rm -f conftest.$ac_objext
57549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57550   (eval $ac_compile) 2>conftest.er1
57551   ac_status=$?
57552   grep -v '^ *+' conftest.er1 >conftest.err
57553   rm -f conftest.er1
57554   cat conftest.err >&5
57555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556   (exit $ac_status); } &&
57557          { ac_try='test -z "$ac_cxx_werror_flag"
57558                          || test ! -s conftest.err'
57559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57560   (eval $ac_try) 2>&5
57561   ac_status=$?
57562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57563   (exit $ac_status); }; } &&
57564          { ac_try='test -s conftest.$ac_objext'
57565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57566   (eval $ac_try) 2>&5
57567   ac_status=$?
57568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57569   (exit $ac_status); }; }; then
57570   glibcxx_cv_func_frexpl_use=yes
57571 else
57572   echo "$as_me: failed program was:" >&5
57573 sed 's/^/| /' conftest.$ac_ext >&5
57574
57575 glibcxx_cv_func_frexpl_use=no
57576 fi
57577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57578       ac_ext=c
57579 ac_cpp='$CPP $CPPFLAGS'
57580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57583
57584
57585 fi
57586
57587   fi
57588   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57589 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57590
57591   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57592
57593 for ac_func in frexpl
57594 do
57595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57596 echo "$as_me:$LINENO: checking for $ac_func" >&5
57597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57598 if eval "test \"\${$as_ac_var+set}\" = set"; then
57599   echo $ECHO_N "(cached) $ECHO_C" >&6
57600 else
57601   if test x$gcc_no_link = xyes; then
57602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57604    { (exit 1); exit 1; }; }
57605 fi
57606 cat >conftest.$ac_ext <<_ACEOF
57607 /* confdefs.h.  */
57608 _ACEOF
57609 cat confdefs.h >>conftest.$ac_ext
57610 cat >>conftest.$ac_ext <<_ACEOF
57611 /* end confdefs.h.  */
57612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57614 #define $ac_func innocuous_$ac_func
57615
57616 /* System header to define __stub macros and hopefully few prototypes,
57617     which can conflict with char $ac_func (); below.
57618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57619     <limits.h> exists even on freestanding compilers.  */
57620
57621 #ifdef __STDC__
57622 # include <limits.h>
57623 #else
57624 # include <assert.h>
57625 #endif
57626
57627 #undef $ac_func
57628
57629 /* Override any gcc2 internal prototype to avoid an error.  */
57630 #ifdef __cplusplus
57631 extern "C"
57632 {
57633 #endif
57634 /* We use char because int might match the return type of a gcc2
57635    builtin and then its argument prototype would still apply.  */
57636 char $ac_func ();
57637 /* The GNU C library defines this for functions which it implements
57638     to always fail with ENOSYS.  Some functions are actually named
57639     something starting with __ and the normal name is an alias.  */
57640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57641 choke me
57642 #else
57643 char (*f) () = $ac_func;
57644 #endif
57645 #ifdef __cplusplus
57646 }
57647 #endif
57648
57649 int
57650 main ()
57651 {
57652 return f != $ac_func;
57653   ;
57654   return 0;
57655 }
57656 _ACEOF
57657 rm -f conftest.$ac_objext conftest$ac_exeext
57658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57659   (eval $ac_link) 2>conftest.er1
57660   ac_status=$?
57661   grep -v '^ *+' conftest.er1 >conftest.err
57662   rm -f conftest.er1
57663   cat conftest.err >&5
57664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57665   (exit $ac_status); } &&
57666          { ac_try='test -z "$ac_c_werror_flag"
57667                          || test ! -s conftest.err'
57668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57669   (eval $ac_try) 2>&5
57670   ac_status=$?
57671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57672   (exit $ac_status); }; } &&
57673          { ac_try='test -s conftest$ac_exeext'
57674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57675   (eval $ac_try) 2>&5
57676   ac_status=$?
57677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57678   (exit $ac_status); }; }; then
57679   eval "$as_ac_var=yes"
57680 else
57681   echo "$as_me: failed program was:" >&5
57682 sed 's/^/| /' conftest.$ac_ext >&5
57683
57684 eval "$as_ac_var=no"
57685 fi
57686 rm -f conftest.err conftest.$ac_objext \
57687       conftest$ac_exeext conftest.$ac_ext
57688 fi
57689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57691 if test `eval echo '${'$as_ac_var'}'` = yes; then
57692   cat >>confdefs.h <<_ACEOF
57693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57694 _ACEOF
57695
57696 fi
57697 done
57698
57699   else
57700
57701   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57702 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57703   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57704     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57705   echo $ECHO_N "(cached) $ECHO_C" >&6
57706 else
57707
57708
57709
57710       ac_ext=cc
57711 ac_cpp='$CXXCPP $CPPFLAGS'
57712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57715
57716       cat >conftest.$ac_ext <<_ACEOF
57717 /* confdefs.h.  */
57718 _ACEOF
57719 cat confdefs.h >>conftest.$ac_ext
57720 cat >>conftest.$ac_ext <<_ACEOF
57721 /* end confdefs.h.  */
57722 #include <math.h>
57723 int
57724 main ()
57725 {
57726  _frexpl(0, 0);
57727   ;
57728   return 0;
57729 }
57730 _ACEOF
57731 rm -f conftest.$ac_objext
57732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57733   (eval $ac_compile) 2>conftest.er1
57734   ac_status=$?
57735   grep -v '^ *+' conftest.er1 >conftest.err
57736   rm -f conftest.er1
57737   cat conftest.err >&5
57738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57739   (exit $ac_status); } &&
57740          { ac_try='test -z "$ac_cxx_werror_flag"
57741                          || test ! -s conftest.err'
57742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57743   (eval $ac_try) 2>&5
57744   ac_status=$?
57745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57746   (exit $ac_status); }; } &&
57747          { ac_try='test -s conftest.$ac_objext'
57748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57749   (eval $ac_try) 2>&5
57750   ac_status=$?
57751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57752   (exit $ac_status); }; }; then
57753   glibcxx_cv_func__frexpl_use=yes
57754 else
57755   echo "$as_me: failed program was:" >&5
57756 sed 's/^/| /' conftest.$ac_ext >&5
57757
57758 glibcxx_cv_func__frexpl_use=no
57759 fi
57760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57761       ac_ext=c
57762 ac_cpp='$CPP $CPPFLAGS'
57763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57766
57767
57768 fi
57769
57770   fi
57771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57772 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57773
57774     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57775
57776 for ac_func in _frexpl
57777 do
57778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57779 echo "$as_me:$LINENO: checking for $ac_func" >&5
57780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57781 if eval "test \"\${$as_ac_var+set}\" = set"; then
57782   echo $ECHO_N "(cached) $ECHO_C" >&6
57783 else
57784   if test x$gcc_no_link = xyes; then
57785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57787    { (exit 1); exit 1; }; }
57788 fi
57789 cat >conftest.$ac_ext <<_ACEOF
57790 /* confdefs.h.  */
57791 _ACEOF
57792 cat confdefs.h >>conftest.$ac_ext
57793 cat >>conftest.$ac_ext <<_ACEOF
57794 /* end confdefs.h.  */
57795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57797 #define $ac_func innocuous_$ac_func
57798
57799 /* System header to define __stub macros and hopefully few prototypes,
57800     which can conflict with char $ac_func (); below.
57801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57802     <limits.h> exists even on freestanding compilers.  */
57803
57804 #ifdef __STDC__
57805 # include <limits.h>
57806 #else
57807 # include <assert.h>
57808 #endif
57809
57810 #undef $ac_func
57811
57812 /* Override any gcc2 internal prototype to avoid an error.  */
57813 #ifdef __cplusplus
57814 extern "C"
57815 {
57816 #endif
57817 /* We use char because int might match the return type of a gcc2
57818    builtin and then its argument prototype would still apply.  */
57819 char $ac_func ();
57820 /* The GNU C library defines this for functions which it implements
57821     to always fail with ENOSYS.  Some functions are actually named
57822     something starting with __ and the normal name is an alias.  */
57823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57824 choke me
57825 #else
57826 char (*f) () = $ac_func;
57827 #endif
57828 #ifdef __cplusplus
57829 }
57830 #endif
57831
57832 int
57833 main ()
57834 {
57835 return f != $ac_func;
57836   ;
57837   return 0;
57838 }
57839 _ACEOF
57840 rm -f conftest.$ac_objext conftest$ac_exeext
57841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57842   (eval $ac_link) 2>conftest.er1
57843   ac_status=$?
57844   grep -v '^ *+' conftest.er1 >conftest.err
57845   rm -f conftest.er1
57846   cat conftest.err >&5
57847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57848   (exit $ac_status); } &&
57849          { ac_try='test -z "$ac_c_werror_flag"
57850                          || test ! -s conftest.err'
57851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57852   (eval $ac_try) 2>&5
57853   ac_status=$?
57854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57855   (exit $ac_status); }; } &&
57856          { ac_try='test -s conftest$ac_exeext'
57857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57858   (eval $ac_try) 2>&5
57859   ac_status=$?
57860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57861   (exit $ac_status); }; }; then
57862   eval "$as_ac_var=yes"
57863 else
57864   echo "$as_me: failed program was:" >&5
57865 sed 's/^/| /' conftest.$ac_ext >&5
57866
57867 eval "$as_ac_var=no"
57868 fi
57869 rm -f conftest.err conftest.$ac_objext \
57870       conftest$ac_exeext conftest.$ac_ext
57871 fi
57872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57874 if test `eval echo '${'$as_ac_var'}'` = yes; then
57875   cat >>confdefs.h <<_ACEOF
57876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57877 _ACEOF
57878
57879 fi
57880 done
57881
57882     fi
57883   fi
57884
57885
57886
57887
57888
57889
57890   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57891 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57892   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57893     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57894   echo $ECHO_N "(cached) $ECHO_C" >&6
57895 else
57896
57897
57898
57899       ac_ext=cc
57900 ac_cpp='$CXXCPP $CPPFLAGS'
57901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57904
57905       cat >conftest.$ac_ext <<_ACEOF
57906 /* confdefs.h.  */
57907 _ACEOF
57908 cat confdefs.h >>conftest.$ac_ext
57909 cat >>conftest.$ac_ext <<_ACEOF
57910 /* end confdefs.h.  */
57911 #include <math.h>
57912 int
57913 main ()
57914 {
57915  hypotl(0, 0);
57916   ;
57917   return 0;
57918 }
57919 _ACEOF
57920 rm -f conftest.$ac_objext
57921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57922   (eval $ac_compile) 2>conftest.er1
57923   ac_status=$?
57924   grep -v '^ *+' conftest.er1 >conftest.err
57925   rm -f conftest.er1
57926   cat conftest.err >&5
57927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57928   (exit $ac_status); } &&
57929          { ac_try='test -z "$ac_cxx_werror_flag"
57930                          || test ! -s conftest.err'
57931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57932   (eval $ac_try) 2>&5
57933   ac_status=$?
57934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57935   (exit $ac_status); }; } &&
57936          { ac_try='test -s conftest.$ac_objext'
57937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57938   (eval $ac_try) 2>&5
57939   ac_status=$?
57940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57941   (exit $ac_status); }; }; then
57942   glibcxx_cv_func_hypotl_use=yes
57943 else
57944   echo "$as_me: failed program was:" >&5
57945 sed 's/^/| /' conftest.$ac_ext >&5
57946
57947 glibcxx_cv_func_hypotl_use=no
57948 fi
57949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57950       ac_ext=c
57951 ac_cpp='$CPP $CPPFLAGS'
57952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57955
57956
57957 fi
57958
57959   fi
57960   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57961 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57962
57963   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57964
57965 for ac_func in hypotl
57966 do
57967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57968 echo "$as_me:$LINENO: checking for $ac_func" >&5
57969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57970 if eval "test \"\${$as_ac_var+set}\" = set"; then
57971   echo $ECHO_N "(cached) $ECHO_C" >&6
57972 else
57973   if test x$gcc_no_link = xyes; then
57974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57976    { (exit 1); exit 1; }; }
57977 fi
57978 cat >conftest.$ac_ext <<_ACEOF
57979 /* confdefs.h.  */
57980 _ACEOF
57981 cat confdefs.h >>conftest.$ac_ext
57982 cat >>conftest.$ac_ext <<_ACEOF
57983 /* end confdefs.h.  */
57984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57986 #define $ac_func innocuous_$ac_func
57987
57988 /* System header to define __stub macros and hopefully few prototypes,
57989     which can conflict with char $ac_func (); below.
57990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57991     <limits.h> exists even on freestanding compilers.  */
57992
57993 #ifdef __STDC__
57994 # include <limits.h>
57995 #else
57996 # include <assert.h>
57997 #endif
57998
57999 #undef $ac_func
58000
58001 /* Override any gcc2 internal prototype to avoid an error.  */
58002 #ifdef __cplusplus
58003 extern "C"
58004 {
58005 #endif
58006 /* We use char because int might match the return type of a gcc2
58007    builtin and then its argument prototype would still apply.  */
58008 char $ac_func ();
58009 /* The GNU C library defines this for functions which it implements
58010     to always fail with ENOSYS.  Some functions are actually named
58011     something starting with __ and the normal name is an alias.  */
58012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58013 choke me
58014 #else
58015 char (*f) () = $ac_func;
58016 #endif
58017 #ifdef __cplusplus
58018 }
58019 #endif
58020
58021 int
58022 main ()
58023 {
58024 return f != $ac_func;
58025   ;
58026   return 0;
58027 }
58028 _ACEOF
58029 rm -f conftest.$ac_objext conftest$ac_exeext
58030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58031   (eval $ac_link) 2>conftest.er1
58032   ac_status=$?
58033   grep -v '^ *+' conftest.er1 >conftest.err
58034   rm -f conftest.er1
58035   cat conftest.err >&5
58036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58037   (exit $ac_status); } &&
58038          { ac_try='test -z "$ac_c_werror_flag"
58039                          || test ! -s conftest.err'
58040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58041   (eval $ac_try) 2>&5
58042   ac_status=$?
58043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58044   (exit $ac_status); }; } &&
58045          { ac_try='test -s conftest$ac_exeext'
58046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58047   (eval $ac_try) 2>&5
58048   ac_status=$?
58049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58050   (exit $ac_status); }; }; then
58051   eval "$as_ac_var=yes"
58052 else
58053   echo "$as_me: failed program was:" >&5
58054 sed 's/^/| /' conftest.$ac_ext >&5
58055
58056 eval "$as_ac_var=no"
58057 fi
58058 rm -f conftest.err conftest.$ac_objext \
58059       conftest$ac_exeext conftest.$ac_ext
58060 fi
58061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58063 if test `eval echo '${'$as_ac_var'}'` = yes; then
58064   cat >>confdefs.h <<_ACEOF
58065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58066 _ACEOF
58067
58068 fi
58069 done
58070
58071   else
58072
58073   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58074 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58075   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58076     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58077   echo $ECHO_N "(cached) $ECHO_C" >&6
58078 else
58079
58080
58081
58082       ac_ext=cc
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58087
58088       cat >conftest.$ac_ext <<_ACEOF
58089 /* confdefs.h.  */
58090 _ACEOF
58091 cat confdefs.h >>conftest.$ac_ext
58092 cat >>conftest.$ac_ext <<_ACEOF
58093 /* end confdefs.h.  */
58094 #include <math.h>
58095 int
58096 main ()
58097 {
58098  _hypotl(0, 0);
58099   ;
58100   return 0;
58101 }
58102 _ACEOF
58103 rm -f conftest.$ac_objext
58104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58105   (eval $ac_compile) 2>conftest.er1
58106   ac_status=$?
58107   grep -v '^ *+' conftest.er1 >conftest.err
58108   rm -f conftest.er1
58109   cat conftest.err >&5
58110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111   (exit $ac_status); } &&
58112          { ac_try='test -z "$ac_cxx_werror_flag"
58113                          || test ! -s conftest.err'
58114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58115   (eval $ac_try) 2>&5
58116   ac_status=$?
58117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58118   (exit $ac_status); }; } &&
58119          { ac_try='test -s conftest.$ac_objext'
58120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58121   (eval $ac_try) 2>&5
58122   ac_status=$?
58123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58124   (exit $ac_status); }; }; then
58125   glibcxx_cv_func__hypotl_use=yes
58126 else
58127   echo "$as_me: failed program was:" >&5
58128 sed 's/^/| /' conftest.$ac_ext >&5
58129
58130 glibcxx_cv_func__hypotl_use=no
58131 fi
58132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58133       ac_ext=c
58134 ac_cpp='$CPP $CPPFLAGS'
58135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58138
58139
58140 fi
58141
58142   fi
58143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58144 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58145
58146     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58147
58148 for ac_func in _hypotl
58149 do
58150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58151 echo "$as_me:$LINENO: checking for $ac_func" >&5
58152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58153 if eval "test \"\${$as_ac_var+set}\" = set"; then
58154   echo $ECHO_N "(cached) $ECHO_C" >&6
58155 else
58156   if test x$gcc_no_link = xyes; then
58157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58159    { (exit 1); exit 1; }; }
58160 fi
58161 cat >conftest.$ac_ext <<_ACEOF
58162 /* confdefs.h.  */
58163 _ACEOF
58164 cat confdefs.h >>conftest.$ac_ext
58165 cat >>conftest.$ac_ext <<_ACEOF
58166 /* end confdefs.h.  */
58167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58169 #define $ac_func innocuous_$ac_func
58170
58171 /* System header to define __stub macros and hopefully few prototypes,
58172     which can conflict with char $ac_func (); below.
58173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58174     <limits.h> exists even on freestanding compilers.  */
58175
58176 #ifdef __STDC__
58177 # include <limits.h>
58178 #else
58179 # include <assert.h>
58180 #endif
58181
58182 #undef $ac_func
58183
58184 /* Override any gcc2 internal prototype to avoid an error.  */
58185 #ifdef __cplusplus
58186 extern "C"
58187 {
58188 #endif
58189 /* We use char because int might match the return type of a gcc2
58190    builtin and then its argument prototype would still apply.  */
58191 char $ac_func ();
58192 /* The GNU C library defines this for functions which it implements
58193     to always fail with ENOSYS.  Some functions are actually named
58194     something starting with __ and the normal name is an alias.  */
58195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58196 choke me
58197 #else
58198 char (*f) () = $ac_func;
58199 #endif
58200 #ifdef __cplusplus
58201 }
58202 #endif
58203
58204 int
58205 main ()
58206 {
58207 return f != $ac_func;
58208   ;
58209   return 0;
58210 }
58211 _ACEOF
58212 rm -f conftest.$ac_objext conftest$ac_exeext
58213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58214   (eval $ac_link) 2>conftest.er1
58215   ac_status=$?
58216   grep -v '^ *+' conftest.er1 >conftest.err
58217   rm -f conftest.er1
58218   cat conftest.err >&5
58219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58220   (exit $ac_status); } &&
58221          { ac_try='test -z "$ac_c_werror_flag"
58222                          || test ! -s conftest.err'
58223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58224   (eval $ac_try) 2>&5
58225   ac_status=$?
58226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227   (exit $ac_status); }; } &&
58228          { ac_try='test -s conftest$ac_exeext'
58229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58230   (eval $ac_try) 2>&5
58231   ac_status=$?
58232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58233   (exit $ac_status); }; }; then
58234   eval "$as_ac_var=yes"
58235 else
58236   echo "$as_me: failed program was:" >&5
58237 sed 's/^/| /' conftest.$ac_ext >&5
58238
58239 eval "$as_ac_var=no"
58240 fi
58241 rm -f conftest.err conftest.$ac_objext \
58242       conftest$ac_exeext conftest.$ac_ext
58243 fi
58244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58246 if test `eval echo '${'$as_ac_var'}'` = yes; then
58247   cat >>confdefs.h <<_ACEOF
58248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58249 _ACEOF
58250
58251 fi
58252 done
58253
58254     fi
58255   fi
58256
58257
58258
58259
58260
58261
58262   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58263 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58264   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58265     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58266   echo $ECHO_N "(cached) $ECHO_C" >&6
58267 else
58268
58269
58270
58271       ac_ext=cc
58272 ac_cpp='$CXXCPP $CPPFLAGS'
58273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276
58277       cat >conftest.$ac_ext <<_ACEOF
58278 /* confdefs.h.  */
58279 _ACEOF
58280 cat confdefs.h >>conftest.$ac_ext
58281 cat >>conftest.$ac_ext <<_ACEOF
58282 /* end confdefs.h.  */
58283 #include <math.h>
58284 int
58285 main ()
58286 {
58287  ldexpl(0, 0);
58288   ;
58289   return 0;
58290 }
58291 _ACEOF
58292 rm -f conftest.$ac_objext
58293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58294   (eval $ac_compile) 2>conftest.er1
58295   ac_status=$?
58296   grep -v '^ *+' conftest.er1 >conftest.err
58297   rm -f conftest.er1
58298   cat conftest.err >&5
58299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58300   (exit $ac_status); } &&
58301          { ac_try='test -z "$ac_cxx_werror_flag"
58302                          || test ! -s conftest.err'
58303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58304   (eval $ac_try) 2>&5
58305   ac_status=$?
58306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58307   (exit $ac_status); }; } &&
58308          { ac_try='test -s conftest.$ac_objext'
58309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58310   (eval $ac_try) 2>&5
58311   ac_status=$?
58312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58313   (exit $ac_status); }; }; then
58314   glibcxx_cv_func_ldexpl_use=yes
58315 else
58316   echo "$as_me: failed program was:" >&5
58317 sed 's/^/| /' conftest.$ac_ext >&5
58318
58319 glibcxx_cv_func_ldexpl_use=no
58320 fi
58321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58322       ac_ext=c
58323 ac_cpp='$CPP $CPPFLAGS'
58324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58327
58328
58329 fi
58330
58331   fi
58332   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58333 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58334
58335   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58336
58337 for ac_func in ldexpl
58338 do
58339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58340 echo "$as_me:$LINENO: checking for $ac_func" >&5
58341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58342 if eval "test \"\${$as_ac_var+set}\" = set"; then
58343   echo $ECHO_N "(cached) $ECHO_C" >&6
58344 else
58345   if test x$gcc_no_link = xyes; then
58346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58348    { (exit 1); exit 1; }; }
58349 fi
58350 cat >conftest.$ac_ext <<_ACEOF
58351 /* confdefs.h.  */
58352 _ACEOF
58353 cat confdefs.h >>conftest.$ac_ext
58354 cat >>conftest.$ac_ext <<_ACEOF
58355 /* end confdefs.h.  */
58356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58358 #define $ac_func innocuous_$ac_func
58359
58360 /* System header to define __stub macros and hopefully few prototypes,
58361     which can conflict with char $ac_func (); below.
58362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58363     <limits.h> exists even on freestanding compilers.  */
58364
58365 #ifdef __STDC__
58366 # include <limits.h>
58367 #else
58368 # include <assert.h>
58369 #endif
58370
58371 #undef $ac_func
58372
58373 /* Override any gcc2 internal prototype to avoid an error.  */
58374 #ifdef __cplusplus
58375 extern "C"
58376 {
58377 #endif
58378 /* We use char because int might match the return type of a gcc2
58379    builtin and then its argument prototype would still apply.  */
58380 char $ac_func ();
58381 /* The GNU C library defines this for functions which it implements
58382     to always fail with ENOSYS.  Some functions are actually named
58383     something starting with __ and the normal name is an alias.  */
58384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58385 choke me
58386 #else
58387 char (*f) () = $ac_func;
58388 #endif
58389 #ifdef __cplusplus
58390 }
58391 #endif
58392
58393 int
58394 main ()
58395 {
58396 return f != $ac_func;
58397   ;
58398   return 0;
58399 }
58400 _ACEOF
58401 rm -f conftest.$ac_objext conftest$ac_exeext
58402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58403   (eval $ac_link) 2>conftest.er1
58404   ac_status=$?
58405   grep -v '^ *+' conftest.er1 >conftest.err
58406   rm -f conftest.er1
58407   cat conftest.err >&5
58408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409   (exit $ac_status); } &&
58410          { ac_try='test -z "$ac_c_werror_flag"
58411                          || test ! -s conftest.err'
58412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58413   (eval $ac_try) 2>&5
58414   ac_status=$?
58415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58416   (exit $ac_status); }; } &&
58417          { ac_try='test -s conftest$ac_exeext'
58418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58419   (eval $ac_try) 2>&5
58420   ac_status=$?
58421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58422   (exit $ac_status); }; }; then
58423   eval "$as_ac_var=yes"
58424 else
58425   echo "$as_me: failed program was:" >&5
58426 sed 's/^/| /' conftest.$ac_ext >&5
58427
58428 eval "$as_ac_var=no"
58429 fi
58430 rm -f conftest.err conftest.$ac_objext \
58431       conftest$ac_exeext conftest.$ac_ext
58432 fi
58433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58435 if test `eval echo '${'$as_ac_var'}'` = yes; then
58436   cat >>confdefs.h <<_ACEOF
58437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58438 _ACEOF
58439
58440 fi
58441 done
58442
58443   else
58444
58445   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58446 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58447   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58448     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58449   echo $ECHO_N "(cached) $ECHO_C" >&6
58450 else
58451
58452
58453
58454       ac_ext=cc
58455 ac_cpp='$CXXCPP $CPPFLAGS'
58456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58459
58460       cat >conftest.$ac_ext <<_ACEOF
58461 /* confdefs.h.  */
58462 _ACEOF
58463 cat confdefs.h >>conftest.$ac_ext
58464 cat >>conftest.$ac_ext <<_ACEOF
58465 /* end confdefs.h.  */
58466 #include <math.h>
58467 int
58468 main ()
58469 {
58470  _ldexpl(0, 0);
58471   ;
58472   return 0;
58473 }
58474 _ACEOF
58475 rm -f conftest.$ac_objext
58476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58477   (eval $ac_compile) 2>conftest.er1
58478   ac_status=$?
58479   grep -v '^ *+' conftest.er1 >conftest.err
58480   rm -f conftest.er1
58481   cat conftest.err >&5
58482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58483   (exit $ac_status); } &&
58484          { ac_try='test -z "$ac_cxx_werror_flag"
58485                          || test ! -s conftest.err'
58486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58487   (eval $ac_try) 2>&5
58488   ac_status=$?
58489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58490   (exit $ac_status); }; } &&
58491          { ac_try='test -s conftest.$ac_objext'
58492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58493   (eval $ac_try) 2>&5
58494   ac_status=$?
58495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58496   (exit $ac_status); }; }; then
58497   glibcxx_cv_func__ldexpl_use=yes
58498 else
58499   echo "$as_me: failed program was:" >&5
58500 sed 's/^/| /' conftest.$ac_ext >&5
58501
58502 glibcxx_cv_func__ldexpl_use=no
58503 fi
58504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58505       ac_ext=c
58506 ac_cpp='$CPP $CPPFLAGS'
58507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58510
58511
58512 fi
58513
58514   fi
58515   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58516 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58517
58518     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58519
58520 for ac_func in _ldexpl
58521 do
58522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58523 echo "$as_me:$LINENO: checking for $ac_func" >&5
58524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58525 if eval "test \"\${$as_ac_var+set}\" = set"; then
58526   echo $ECHO_N "(cached) $ECHO_C" >&6
58527 else
58528   if test x$gcc_no_link = xyes; then
58529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58531    { (exit 1); exit 1; }; }
58532 fi
58533 cat >conftest.$ac_ext <<_ACEOF
58534 /* confdefs.h.  */
58535 _ACEOF
58536 cat confdefs.h >>conftest.$ac_ext
58537 cat >>conftest.$ac_ext <<_ACEOF
58538 /* end confdefs.h.  */
58539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58541 #define $ac_func innocuous_$ac_func
58542
58543 /* System header to define __stub macros and hopefully few prototypes,
58544     which can conflict with char $ac_func (); below.
58545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58546     <limits.h> exists even on freestanding compilers.  */
58547
58548 #ifdef __STDC__
58549 # include <limits.h>
58550 #else
58551 # include <assert.h>
58552 #endif
58553
58554 #undef $ac_func
58555
58556 /* Override any gcc2 internal prototype to avoid an error.  */
58557 #ifdef __cplusplus
58558 extern "C"
58559 {
58560 #endif
58561 /* We use char because int might match the return type of a gcc2
58562    builtin and then its argument prototype would still apply.  */
58563 char $ac_func ();
58564 /* The GNU C library defines this for functions which it implements
58565     to always fail with ENOSYS.  Some functions are actually named
58566     something starting with __ and the normal name is an alias.  */
58567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58568 choke me
58569 #else
58570 char (*f) () = $ac_func;
58571 #endif
58572 #ifdef __cplusplus
58573 }
58574 #endif
58575
58576 int
58577 main ()
58578 {
58579 return f != $ac_func;
58580   ;
58581   return 0;
58582 }
58583 _ACEOF
58584 rm -f conftest.$ac_objext conftest$ac_exeext
58585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58586   (eval $ac_link) 2>conftest.er1
58587   ac_status=$?
58588   grep -v '^ *+' conftest.er1 >conftest.err
58589   rm -f conftest.er1
58590   cat conftest.err >&5
58591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58592   (exit $ac_status); } &&
58593          { ac_try='test -z "$ac_c_werror_flag"
58594                          || test ! -s conftest.err'
58595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58596   (eval $ac_try) 2>&5
58597   ac_status=$?
58598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58599   (exit $ac_status); }; } &&
58600          { ac_try='test -s conftest$ac_exeext'
58601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58602   (eval $ac_try) 2>&5
58603   ac_status=$?
58604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58605   (exit $ac_status); }; }; then
58606   eval "$as_ac_var=yes"
58607 else
58608   echo "$as_me: failed program was:" >&5
58609 sed 's/^/| /' conftest.$ac_ext >&5
58610
58611 eval "$as_ac_var=no"
58612 fi
58613 rm -f conftest.err conftest.$ac_objext \
58614       conftest$ac_exeext conftest.$ac_ext
58615 fi
58616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58618 if test `eval echo '${'$as_ac_var'}'` = yes; then
58619   cat >>confdefs.h <<_ACEOF
58620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58621 _ACEOF
58622
58623 fi
58624 done
58625
58626     fi
58627   fi
58628
58629
58630
58631
58632
58633
58634   echo "$as_me:$LINENO: checking for logl declaration" >&5
58635 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58636   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58637     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58638   echo $ECHO_N "(cached) $ECHO_C" >&6
58639 else
58640
58641
58642
58643       ac_ext=cc
58644 ac_cpp='$CXXCPP $CPPFLAGS'
58645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58648
58649       cat >conftest.$ac_ext <<_ACEOF
58650 /* confdefs.h.  */
58651 _ACEOF
58652 cat confdefs.h >>conftest.$ac_ext
58653 cat >>conftest.$ac_ext <<_ACEOF
58654 /* end confdefs.h.  */
58655 #include <math.h>
58656                       #ifdef HAVE_IEEEFP_H
58657                       #include <ieeefp.h>
58658                       #endif
58659
58660 int
58661 main ()
58662 {
58663  logl(0);
58664   ;
58665   return 0;
58666 }
58667 _ACEOF
58668 rm -f conftest.$ac_objext
58669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58670   (eval $ac_compile) 2>conftest.er1
58671   ac_status=$?
58672   grep -v '^ *+' conftest.er1 >conftest.err
58673   rm -f conftest.er1
58674   cat conftest.err >&5
58675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58676   (exit $ac_status); } &&
58677          { ac_try='test -z "$ac_cxx_werror_flag"
58678                          || test ! -s conftest.err'
58679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58680   (eval $ac_try) 2>&5
58681   ac_status=$?
58682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58683   (exit $ac_status); }; } &&
58684          { ac_try='test -s conftest.$ac_objext'
58685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58686   (eval $ac_try) 2>&5
58687   ac_status=$?
58688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58689   (exit $ac_status); }; }; then
58690   glibcxx_cv_func_logl_use=yes
58691 else
58692   echo "$as_me: failed program was:" >&5
58693 sed 's/^/| /' conftest.$ac_ext >&5
58694
58695 glibcxx_cv_func_logl_use=no
58696 fi
58697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58698       ac_ext=c
58699 ac_cpp='$CPP $CPPFLAGS'
58700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58703
58704
58705 fi
58706
58707   fi
58708   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58709 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58710
58711   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58712
58713 for ac_func in logl
58714 do
58715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58716 echo "$as_me:$LINENO: checking for $ac_func" >&5
58717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58718 if eval "test \"\${$as_ac_var+set}\" = set"; then
58719   echo $ECHO_N "(cached) $ECHO_C" >&6
58720 else
58721   if test x$gcc_no_link = xyes; then
58722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58724    { (exit 1); exit 1; }; }
58725 fi
58726 cat >conftest.$ac_ext <<_ACEOF
58727 /* confdefs.h.  */
58728 _ACEOF
58729 cat confdefs.h >>conftest.$ac_ext
58730 cat >>conftest.$ac_ext <<_ACEOF
58731 /* end confdefs.h.  */
58732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58734 #define $ac_func innocuous_$ac_func
58735
58736 /* System header to define __stub macros and hopefully few prototypes,
58737     which can conflict with char $ac_func (); below.
58738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58739     <limits.h> exists even on freestanding compilers.  */
58740
58741 #ifdef __STDC__
58742 # include <limits.h>
58743 #else
58744 # include <assert.h>
58745 #endif
58746
58747 #undef $ac_func
58748
58749 /* Override any gcc2 internal prototype to avoid an error.  */
58750 #ifdef __cplusplus
58751 extern "C"
58752 {
58753 #endif
58754 /* We use char because int might match the return type of a gcc2
58755    builtin and then its argument prototype would still apply.  */
58756 char $ac_func ();
58757 /* The GNU C library defines this for functions which it implements
58758     to always fail with ENOSYS.  Some functions are actually named
58759     something starting with __ and the normal name is an alias.  */
58760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58761 choke me
58762 #else
58763 char (*f) () = $ac_func;
58764 #endif
58765 #ifdef __cplusplus
58766 }
58767 #endif
58768
58769 int
58770 main ()
58771 {
58772 return f != $ac_func;
58773   ;
58774   return 0;
58775 }
58776 _ACEOF
58777 rm -f conftest.$ac_objext conftest$ac_exeext
58778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58779   (eval $ac_link) 2>conftest.er1
58780   ac_status=$?
58781   grep -v '^ *+' conftest.er1 >conftest.err
58782   rm -f conftest.er1
58783   cat conftest.err >&5
58784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58785   (exit $ac_status); } &&
58786          { ac_try='test -z "$ac_c_werror_flag"
58787                          || test ! -s conftest.err'
58788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58789   (eval $ac_try) 2>&5
58790   ac_status=$?
58791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58792   (exit $ac_status); }; } &&
58793          { ac_try='test -s conftest$ac_exeext'
58794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58795   (eval $ac_try) 2>&5
58796   ac_status=$?
58797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798   (exit $ac_status); }; }; then
58799   eval "$as_ac_var=yes"
58800 else
58801   echo "$as_me: failed program was:" >&5
58802 sed 's/^/| /' conftest.$ac_ext >&5
58803
58804 eval "$as_ac_var=no"
58805 fi
58806 rm -f conftest.err conftest.$ac_objext \
58807       conftest$ac_exeext conftest.$ac_ext
58808 fi
58809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58811 if test `eval echo '${'$as_ac_var'}'` = yes; then
58812   cat >>confdefs.h <<_ACEOF
58813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58814 _ACEOF
58815
58816 fi
58817 done
58818
58819   else
58820
58821   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58822 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58823   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58824     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58825   echo $ECHO_N "(cached) $ECHO_C" >&6
58826 else
58827
58828
58829
58830       ac_ext=cc
58831 ac_cpp='$CXXCPP $CPPFLAGS'
58832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58835
58836       cat >conftest.$ac_ext <<_ACEOF
58837 /* confdefs.h.  */
58838 _ACEOF
58839 cat confdefs.h >>conftest.$ac_ext
58840 cat >>conftest.$ac_ext <<_ACEOF
58841 /* end confdefs.h.  */
58842 #include <math.h>
58843                       #ifdef HAVE_IEEEFP_H
58844                       #include <ieeefp.h>
58845                       #endif
58846
58847 int
58848 main ()
58849 {
58850  _logl(0);
58851   ;
58852   return 0;
58853 }
58854 _ACEOF
58855 rm -f conftest.$ac_objext
58856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58857   (eval $ac_compile) 2>conftest.er1
58858   ac_status=$?
58859   grep -v '^ *+' conftest.er1 >conftest.err
58860   rm -f conftest.er1
58861   cat conftest.err >&5
58862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58863   (exit $ac_status); } &&
58864          { ac_try='test -z "$ac_cxx_werror_flag"
58865                          || test ! -s conftest.err'
58866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58867   (eval $ac_try) 2>&5
58868   ac_status=$?
58869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58870   (exit $ac_status); }; } &&
58871          { ac_try='test -s conftest.$ac_objext'
58872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58873   (eval $ac_try) 2>&5
58874   ac_status=$?
58875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58876   (exit $ac_status); }; }; then
58877   glibcxx_cv_func__logl_use=yes
58878 else
58879   echo "$as_me: failed program was:" >&5
58880 sed 's/^/| /' conftest.$ac_ext >&5
58881
58882 glibcxx_cv_func__logl_use=no
58883 fi
58884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58885       ac_ext=c
58886 ac_cpp='$CPP $CPPFLAGS'
58887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58890
58891
58892 fi
58893
58894   fi
58895   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58896 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58897
58898     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58899
58900 for ac_func in _logl
58901 do
58902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58903 echo "$as_me:$LINENO: checking for $ac_func" >&5
58904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58905 if eval "test \"\${$as_ac_var+set}\" = set"; then
58906   echo $ECHO_N "(cached) $ECHO_C" >&6
58907 else
58908   if test x$gcc_no_link = xyes; then
58909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58911    { (exit 1); exit 1; }; }
58912 fi
58913 cat >conftest.$ac_ext <<_ACEOF
58914 /* confdefs.h.  */
58915 _ACEOF
58916 cat confdefs.h >>conftest.$ac_ext
58917 cat >>conftest.$ac_ext <<_ACEOF
58918 /* end confdefs.h.  */
58919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58921 #define $ac_func innocuous_$ac_func
58922
58923 /* System header to define __stub macros and hopefully few prototypes,
58924     which can conflict with char $ac_func (); below.
58925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58926     <limits.h> exists even on freestanding compilers.  */
58927
58928 #ifdef __STDC__
58929 # include <limits.h>
58930 #else
58931 # include <assert.h>
58932 #endif
58933
58934 #undef $ac_func
58935
58936 /* Override any gcc2 internal prototype to avoid an error.  */
58937 #ifdef __cplusplus
58938 extern "C"
58939 {
58940 #endif
58941 /* We use char because int might match the return type of a gcc2
58942    builtin and then its argument prototype would still apply.  */
58943 char $ac_func ();
58944 /* The GNU C library defines this for functions which it implements
58945     to always fail with ENOSYS.  Some functions are actually named
58946     something starting with __ and the normal name is an alias.  */
58947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58948 choke me
58949 #else
58950 char (*f) () = $ac_func;
58951 #endif
58952 #ifdef __cplusplus
58953 }
58954 #endif
58955
58956 int
58957 main ()
58958 {
58959 return f != $ac_func;
58960   ;
58961   return 0;
58962 }
58963 _ACEOF
58964 rm -f conftest.$ac_objext conftest$ac_exeext
58965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58966   (eval $ac_link) 2>conftest.er1
58967   ac_status=$?
58968   grep -v '^ *+' conftest.er1 >conftest.err
58969   rm -f conftest.er1
58970   cat conftest.err >&5
58971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58972   (exit $ac_status); } &&
58973          { ac_try='test -z "$ac_c_werror_flag"
58974                          || test ! -s conftest.err'
58975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58976   (eval $ac_try) 2>&5
58977   ac_status=$?
58978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58979   (exit $ac_status); }; } &&
58980          { ac_try='test -s conftest$ac_exeext'
58981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58982   (eval $ac_try) 2>&5
58983   ac_status=$?
58984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58985   (exit $ac_status); }; }; then
58986   eval "$as_ac_var=yes"
58987 else
58988   echo "$as_me: failed program was:" >&5
58989 sed 's/^/| /' conftest.$ac_ext >&5
58990
58991 eval "$as_ac_var=no"
58992 fi
58993 rm -f conftest.err conftest.$ac_objext \
58994       conftest$ac_exeext conftest.$ac_ext
58995 fi
58996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58998 if test `eval echo '${'$as_ac_var'}'` = yes; then
58999   cat >>confdefs.h <<_ACEOF
59000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59001 _ACEOF
59002
59003 fi
59004 done
59005
59006     fi
59007   fi
59008
59009
59010
59011
59012
59013
59014   echo "$as_me:$LINENO: checking for log10l declaration" >&5
59015 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
59016   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59017     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
59018   echo $ECHO_N "(cached) $ECHO_C" >&6
59019 else
59020
59021
59022
59023       ac_ext=cc
59024 ac_cpp='$CXXCPP $CPPFLAGS'
59025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59028
59029       cat >conftest.$ac_ext <<_ACEOF
59030 /* confdefs.h.  */
59031 _ACEOF
59032 cat confdefs.h >>conftest.$ac_ext
59033 cat >>conftest.$ac_ext <<_ACEOF
59034 /* end confdefs.h.  */
59035 #include <math.h>
59036                       #ifdef HAVE_IEEEFP_H
59037                       #include <ieeefp.h>
59038                       #endif
59039
59040 int
59041 main ()
59042 {
59043  log10l(0);
59044   ;
59045   return 0;
59046 }
59047 _ACEOF
59048 rm -f conftest.$ac_objext
59049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59050   (eval $ac_compile) 2>conftest.er1
59051   ac_status=$?
59052   grep -v '^ *+' conftest.er1 >conftest.err
59053   rm -f conftest.er1
59054   cat conftest.err >&5
59055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59056   (exit $ac_status); } &&
59057          { ac_try='test -z "$ac_cxx_werror_flag"
59058                          || test ! -s conftest.err'
59059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59060   (eval $ac_try) 2>&5
59061   ac_status=$?
59062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59063   (exit $ac_status); }; } &&
59064          { ac_try='test -s conftest.$ac_objext'
59065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59066   (eval $ac_try) 2>&5
59067   ac_status=$?
59068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59069   (exit $ac_status); }; }; then
59070   glibcxx_cv_func_log10l_use=yes
59071 else
59072   echo "$as_me: failed program was:" >&5
59073 sed 's/^/| /' conftest.$ac_ext >&5
59074
59075 glibcxx_cv_func_log10l_use=no
59076 fi
59077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59078       ac_ext=c
59079 ac_cpp='$CPP $CPPFLAGS'
59080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59083
59084
59085 fi
59086
59087   fi
59088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
59089 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
59090
59091   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59092
59093 for ac_func in log10l
59094 do
59095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59096 echo "$as_me:$LINENO: checking for $ac_func" >&5
59097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59098 if eval "test \"\${$as_ac_var+set}\" = set"; then
59099   echo $ECHO_N "(cached) $ECHO_C" >&6
59100 else
59101   if test x$gcc_no_link = xyes; then
59102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59104    { (exit 1); exit 1; }; }
59105 fi
59106 cat >conftest.$ac_ext <<_ACEOF
59107 /* confdefs.h.  */
59108 _ACEOF
59109 cat confdefs.h >>conftest.$ac_ext
59110 cat >>conftest.$ac_ext <<_ACEOF
59111 /* end confdefs.h.  */
59112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59114 #define $ac_func innocuous_$ac_func
59115
59116 /* System header to define __stub macros and hopefully few prototypes,
59117     which can conflict with char $ac_func (); below.
59118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59119     <limits.h> exists even on freestanding compilers.  */
59120
59121 #ifdef __STDC__
59122 # include <limits.h>
59123 #else
59124 # include <assert.h>
59125 #endif
59126
59127 #undef $ac_func
59128
59129 /* Override any gcc2 internal prototype to avoid an error.  */
59130 #ifdef __cplusplus
59131 extern "C"
59132 {
59133 #endif
59134 /* We use char because int might match the return type of a gcc2
59135    builtin and then its argument prototype would still apply.  */
59136 char $ac_func ();
59137 /* The GNU C library defines this for functions which it implements
59138     to always fail with ENOSYS.  Some functions are actually named
59139     something starting with __ and the normal name is an alias.  */
59140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59141 choke me
59142 #else
59143 char (*f) () = $ac_func;
59144 #endif
59145 #ifdef __cplusplus
59146 }
59147 #endif
59148
59149 int
59150 main ()
59151 {
59152 return f != $ac_func;
59153   ;
59154   return 0;
59155 }
59156 _ACEOF
59157 rm -f conftest.$ac_objext conftest$ac_exeext
59158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59159   (eval $ac_link) 2>conftest.er1
59160   ac_status=$?
59161   grep -v '^ *+' conftest.er1 >conftest.err
59162   rm -f conftest.er1
59163   cat conftest.err >&5
59164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59165   (exit $ac_status); } &&
59166          { ac_try='test -z "$ac_c_werror_flag"
59167                          || test ! -s conftest.err'
59168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59169   (eval $ac_try) 2>&5
59170   ac_status=$?
59171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59172   (exit $ac_status); }; } &&
59173          { ac_try='test -s conftest$ac_exeext'
59174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59175   (eval $ac_try) 2>&5
59176   ac_status=$?
59177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59178   (exit $ac_status); }; }; then
59179   eval "$as_ac_var=yes"
59180 else
59181   echo "$as_me: failed program was:" >&5
59182 sed 's/^/| /' conftest.$ac_ext >&5
59183
59184 eval "$as_ac_var=no"
59185 fi
59186 rm -f conftest.err conftest.$ac_objext \
59187       conftest$ac_exeext conftest.$ac_ext
59188 fi
59189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59191 if test `eval echo '${'$as_ac_var'}'` = yes; then
59192   cat >>confdefs.h <<_ACEOF
59193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59194 _ACEOF
59195
59196 fi
59197 done
59198
59199   else
59200
59201   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59202 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59203   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59204     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59205   echo $ECHO_N "(cached) $ECHO_C" >&6
59206 else
59207
59208
59209
59210       ac_ext=cc
59211 ac_cpp='$CXXCPP $CPPFLAGS'
59212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59215
59216       cat >conftest.$ac_ext <<_ACEOF
59217 /* confdefs.h.  */
59218 _ACEOF
59219 cat confdefs.h >>conftest.$ac_ext
59220 cat >>conftest.$ac_ext <<_ACEOF
59221 /* end confdefs.h.  */
59222 #include <math.h>
59223                       #ifdef HAVE_IEEEFP_H
59224                       #include <ieeefp.h>
59225                       #endif
59226
59227 int
59228 main ()
59229 {
59230  _log10l(0);
59231   ;
59232   return 0;
59233 }
59234 _ACEOF
59235 rm -f conftest.$ac_objext
59236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59237   (eval $ac_compile) 2>conftest.er1
59238   ac_status=$?
59239   grep -v '^ *+' conftest.er1 >conftest.err
59240   rm -f conftest.er1
59241   cat conftest.err >&5
59242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59243   (exit $ac_status); } &&
59244          { ac_try='test -z "$ac_cxx_werror_flag"
59245                          || test ! -s conftest.err'
59246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59247   (eval $ac_try) 2>&5
59248   ac_status=$?
59249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59250   (exit $ac_status); }; } &&
59251          { ac_try='test -s conftest.$ac_objext'
59252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59253   (eval $ac_try) 2>&5
59254   ac_status=$?
59255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59256   (exit $ac_status); }; }; then
59257   glibcxx_cv_func__log10l_use=yes
59258 else
59259   echo "$as_me: failed program was:" >&5
59260 sed 's/^/| /' conftest.$ac_ext >&5
59261
59262 glibcxx_cv_func__log10l_use=no
59263 fi
59264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59265       ac_ext=c
59266 ac_cpp='$CPP $CPPFLAGS'
59267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59270
59271
59272 fi
59273
59274   fi
59275   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59276 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59277
59278     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59279
59280 for ac_func in _log10l
59281 do
59282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59283 echo "$as_me:$LINENO: checking for $ac_func" >&5
59284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59285 if eval "test \"\${$as_ac_var+set}\" = set"; then
59286   echo $ECHO_N "(cached) $ECHO_C" >&6
59287 else
59288   if test x$gcc_no_link = xyes; then
59289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59291    { (exit 1); exit 1; }; }
59292 fi
59293 cat >conftest.$ac_ext <<_ACEOF
59294 /* confdefs.h.  */
59295 _ACEOF
59296 cat confdefs.h >>conftest.$ac_ext
59297 cat >>conftest.$ac_ext <<_ACEOF
59298 /* end confdefs.h.  */
59299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59301 #define $ac_func innocuous_$ac_func
59302
59303 /* System header to define __stub macros and hopefully few prototypes,
59304     which can conflict with char $ac_func (); below.
59305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59306     <limits.h> exists even on freestanding compilers.  */
59307
59308 #ifdef __STDC__
59309 # include <limits.h>
59310 #else
59311 # include <assert.h>
59312 #endif
59313
59314 #undef $ac_func
59315
59316 /* Override any gcc2 internal prototype to avoid an error.  */
59317 #ifdef __cplusplus
59318 extern "C"
59319 {
59320 #endif
59321 /* We use char because int might match the return type of a gcc2
59322    builtin and then its argument prototype would still apply.  */
59323 char $ac_func ();
59324 /* The GNU C library defines this for functions which it implements
59325     to always fail with ENOSYS.  Some functions are actually named
59326     something starting with __ and the normal name is an alias.  */
59327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59328 choke me
59329 #else
59330 char (*f) () = $ac_func;
59331 #endif
59332 #ifdef __cplusplus
59333 }
59334 #endif
59335
59336 int
59337 main ()
59338 {
59339 return f != $ac_func;
59340   ;
59341   return 0;
59342 }
59343 _ACEOF
59344 rm -f conftest.$ac_objext conftest$ac_exeext
59345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59346   (eval $ac_link) 2>conftest.er1
59347   ac_status=$?
59348   grep -v '^ *+' conftest.er1 >conftest.err
59349   rm -f conftest.er1
59350   cat conftest.err >&5
59351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59352   (exit $ac_status); } &&
59353          { ac_try='test -z "$ac_c_werror_flag"
59354                          || test ! -s conftest.err'
59355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59356   (eval $ac_try) 2>&5
59357   ac_status=$?
59358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59359   (exit $ac_status); }; } &&
59360          { ac_try='test -s conftest$ac_exeext'
59361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59362   (eval $ac_try) 2>&5
59363   ac_status=$?
59364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59365   (exit $ac_status); }; }; then
59366   eval "$as_ac_var=yes"
59367 else
59368   echo "$as_me: failed program was:" >&5
59369 sed 's/^/| /' conftest.$ac_ext >&5
59370
59371 eval "$as_ac_var=no"
59372 fi
59373 rm -f conftest.err conftest.$ac_objext \
59374       conftest$ac_exeext conftest.$ac_ext
59375 fi
59376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59378 if test `eval echo '${'$as_ac_var'}'` = yes; then
59379   cat >>confdefs.h <<_ACEOF
59380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59381 _ACEOF
59382
59383 fi
59384 done
59385
59386     fi
59387   fi
59388
59389
59390
59391
59392
59393
59394   echo "$as_me:$LINENO: checking for modfl declaration" >&5
59395 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59396   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59397     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59398   echo $ECHO_N "(cached) $ECHO_C" >&6
59399 else
59400
59401
59402
59403       ac_ext=cc
59404 ac_cpp='$CXXCPP $CPPFLAGS'
59405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59408
59409       cat >conftest.$ac_ext <<_ACEOF
59410 /* confdefs.h.  */
59411 _ACEOF
59412 cat confdefs.h >>conftest.$ac_ext
59413 cat >>conftest.$ac_ext <<_ACEOF
59414 /* end confdefs.h.  */
59415 #include <math.h>
59416 int
59417 main ()
59418 {
59419  modfl(0, 0);
59420   ;
59421   return 0;
59422 }
59423 _ACEOF
59424 rm -f conftest.$ac_objext
59425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59426   (eval $ac_compile) 2>conftest.er1
59427   ac_status=$?
59428   grep -v '^ *+' conftest.er1 >conftest.err
59429   rm -f conftest.er1
59430   cat conftest.err >&5
59431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59432   (exit $ac_status); } &&
59433          { ac_try='test -z "$ac_cxx_werror_flag"
59434                          || test ! -s conftest.err'
59435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59436   (eval $ac_try) 2>&5
59437   ac_status=$?
59438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59439   (exit $ac_status); }; } &&
59440          { ac_try='test -s conftest.$ac_objext'
59441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59442   (eval $ac_try) 2>&5
59443   ac_status=$?
59444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59445   (exit $ac_status); }; }; then
59446   glibcxx_cv_func_modfl_use=yes
59447 else
59448   echo "$as_me: failed program was:" >&5
59449 sed 's/^/| /' conftest.$ac_ext >&5
59450
59451 glibcxx_cv_func_modfl_use=no
59452 fi
59453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59454       ac_ext=c
59455 ac_cpp='$CPP $CPPFLAGS'
59456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59459
59460
59461 fi
59462
59463   fi
59464   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59465 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59466
59467   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59468
59469 for ac_func in modfl
59470 do
59471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59472 echo "$as_me:$LINENO: checking for $ac_func" >&5
59473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59474 if eval "test \"\${$as_ac_var+set}\" = set"; then
59475   echo $ECHO_N "(cached) $ECHO_C" >&6
59476 else
59477   if test x$gcc_no_link = xyes; then
59478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59480    { (exit 1); exit 1; }; }
59481 fi
59482 cat >conftest.$ac_ext <<_ACEOF
59483 /* confdefs.h.  */
59484 _ACEOF
59485 cat confdefs.h >>conftest.$ac_ext
59486 cat >>conftest.$ac_ext <<_ACEOF
59487 /* end confdefs.h.  */
59488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59490 #define $ac_func innocuous_$ac_func
59491
59492 /* System header to define __stub macros and hopefully few prototypes,
59493     which can conflict with char $ac_func (); below.
59494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59495     <limits.h> exists even on freestanding compilers.  */
59496
59497 #ifdef __STDC__
59498 # include <limits.h>
59499 #else
59500 # include <assert.h>
59501 #endif
59502
59503 #undef $ac_func
59504
59505 /* Override any gcc2 internal prototype to avoid an error.  */
59506 #ifdef __cplusplus
59507 extern "C"
59508 {
59509 #endif
59510 /* We use char because int might match the return type of a gcc2
59511    builtin and then its argument prototype would still apply.  */
59512 char $ac_func ();
59513 /* The GNU C library defines this for functions which it implements
59514     to always fail with ENOSYS.  Some functions are actually named
59515     something starting with __ and the normal name is an alias.  */
59516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59517 choke me
59518 #else
59519 char (*f) () = $ac_func;
59520 #endif
59521 #ifdef __cplusplus
59522 }
59523 #endif
59524
59525 int
59526 main ()
59527 {
59528 return f != $ac_func;
59529   ;
59530   return 0;
59531 }
59532 _ACEOF
59533 rm -f conftest.$ac_objext conftest$ac_exeext
59534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59535   (eval $ac_link) 2>conftest.er1
59536   ac_status=$?
59537   grep -v '^ *+' conftest.er1 >conftest.err
59538   rm -f conftest.er1
59539   cat conftest.err >&5
59540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59541   (exit $ac_status); } &&
59542          { ac_try='test -z "$ac_c_werror_flag"
59543                          || test ! -s conftest.err'
59544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59545   (eval $ac_try) 2>&5
59546   ac_status=$?
59547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59548   (exit $ac_status); }; } &&
59549          { ac_try='test -s conftest$ac_exeext'
59550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59551   (eval $ac_try) 2>&5
59552   ac_status=$?
59553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59554   (exit $ac_status); }; }; then
59555   eval "$as_ac_var=yes"
59556 else
59557   echo "$as_me: failed program was:" >&5
59558 sed 's/^/| /' conftest.$ac_ext >&5
59559
59560 eval "$as_ac_var=no"
59561 fi
59562 rm -f conftest.err conftest.$ac_objext \
59563       conftest$ac_exeext conftest.$ac_ext
59564 fi
59565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59567 if test `eval echo '${'$as_ac_var'}'` = yes; then
59568   cat >>confdefs.h <<_ACEOF
59569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59570 _ACEOF
59571
59572 fi
59573 done
59574
59575   else
59576
59577   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59578 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59579   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59580     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59581   echo $ECHO_N "(cached) $ECHO_C" >&6
59582 else
59583
59584
59585
59586       ac_ext=cc
59587 ac_cpp='$CXXCPP $CPPFLAGS'
59588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59591
59592       cat >conftest.$ac_ext <<_ACEOF
59593 /* confdefs.h.  */
59594 _ACEOF
59595 cat confdefs.h >>conftest.$ac_ext
59596 cat >>conftest.$ac_ext <<_ACEOF
59597 /* end confdefs.h.  */
59598 #include <math.h>
59599 int
59600 main ()
59601 {
59602  _modfl(0, 0);
59603   ;
59604   return 0;
59605 }
59606 _ACEOF
59607 rm -f conftest.$ac_objext
59608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59609   (eval $ac_compile) 2>conftest.er1
59610   ac_status=$?
59611   grep -v '^ *+' conftest.er1 >conftest.err
59612   rm -f conftest.er1
59613   cat conftest.err >&5
59614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59615   (exit $ac_status); } &&
59616          { ac_try='test -z "$ac_cxx_werror_flag"
59617                          || test ! -s conftest.err'
59618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59619   (eval $ac_try) 2>&5
59620   ac_status=$?
59621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59622   (exit $ac_status); }; } &&
59623          { ac_try='test -s conftest.$ac_objext'
59624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59625   (eval $ac_try) 2>&5
59626   ac_status=$?
59627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59628   (exit $ac_status); }; }; then
59629   glibcxx_cv_func__modfl_use=yes
59630 else
59631   echo "$as_me: failed program was:" >&5
59632 sed 's/^/| /' conftest.$ac_ext >&5
59633
59634 glibcxx_cv_func__modfl_use=no
59635 fi
59636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59637       ac_ext=c
59638 ac_cpp='$CPP $CPPFLAGS'
59639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59642
59643
59644 fi
59645
59646   fi
59647   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59648 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59649
59650     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59651
59652 for ac_func in _modfl
59653 do
59654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59655 echo "$as_me:$LINENO: checking for $ac_func" >&5
59656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59657 if eval "test \"\${$as_ac_var+set}\" = set"; then
59658   echo $ECHO_N "(cached) $ECHO_C" >&6
59659 else
59660   if test x$gcc_no_link = xyes; then
59661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59663    { (exit 1); exit 1; }; }
59664 fi
59665 cat >conftest.$ac_ext <<_ACEOF
59666 /* confdefs.h.  */
59667 _ACEOF
59668 cat confdefs.h >>conftest.$ac_ext
59669 cat >>conftest.$ac_ext <<_ACEOF
59670 /* end confdefs.h.  */
59671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59673 #define $ac_func innocuous_$ac_func
59674
59675 /* System header to define __stub macros and hopefully few prototypes,
59676     which can conflict with char $ac_func (); below.
59677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59678     <limits.h> exists even on freestanding compilers.  */
59679
59680 #ifdef __STDC__
59681 # include <limits.h>
59682 #else
59683 # include <assert.h>
59684 #endif
59685
59686 #undef $ac_func
59687
59688 /* Override any gcc2 internal prototype to avoid an error.  */
59689 #ifdef __cplusplus
59690 extern "C"
59691 {
59692 #endif
59693 /* We use char because int might match the return type of a gcc2
59694    builtin and then its argument prototype would still apply.  */
59695 char $ac_func ();
59696 /* The GNU C library defines this for functions which it implements
59697     to always fail with ENOSYS.  Some functions are actually named
59698     something starting with __ and the normal name is an alias.  */
59699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59700 choke me
59701 #else
59702 char (*f) () = $ac_func;
59703 #endif
59704 #ifdef __cplusplus
59705 }
59706 #endif
59707
59708 int
59709 main ()
59710 {
59711 return f != $ac_func;
59712   ;
59713   return 0;
59714 }
59715 _ACEOF
59716 rm -f conftest.$ac_objext conftest$ac_exeext
59717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59718   (eval $ac_link) 2>conftest.er1
59719   ac_status=$?
59720   grep -v '^ *+' conftest.er1 >conftest.err
59721   rm -f conftest.er1
59722   cat conftest.err >&5
59723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59724   (exit $ac_status); } &&
59725          { ac_try='test -z "$ac_c_werror_flag"
59726                          || test ! -s conftest.err'
59727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59728   (eval $ac_try) 2>&5
59729   ac_status=$?
59730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59731   (exit $ac_status); }; } &&
59732          { ac_try='test -s conftest$ac_exeext'
59733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59734   (eval $ac_try) 2>&5
59735   ac_status=$?
59736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59737   (exit $ac_status); }; }; then
59738   eval "$as_ac_var=yes"
59739 else
59740   echo "$as_me: failed program was:" >&5
59741 sed 's/^/| /' conftest.$ac_ext >&5
59742
59743 eval "$as_ac_var=no"
59744 fi
59745 rm -f conftest.err conftest.$ac_objext \
59746       conftest$ac_exeext conftest.$ac_ext
59747 fi
59748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59750 if test `eval echo '${'$as_ac_var'}'` = yes; then
59751   cat >>confdefs.h <<_ACEOF
59752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59753 _ACEOF
59754
59755 fi
59756 done
59757
59758     fi
59759   fi
59760
59761
59762
59763
59764
59765
59766   echo "$as_me:$LINENO: checking for powl declaration" >&5
59767 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59768   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59769     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59770   echo $ECHO_N "(cached) $ECHO_C" >&6
59771 else
59772
59773
59774
59775       ac_ext=cc
59776 ac_cpp='$CXXCPP $CPPFLAGS'
59777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59780
59781       cat >conftest.$ac_ext <<_ACEOF
59782 /* confdefs.h.  */
59783 _ACEOF
59784 cat confdefs.h >>conftest.$ac_ext
59785 cat >>conftest.$ac_ext <<_ACEOF
59786 /* end confdefs.h.  */
59787 #include <math.h>
59788 int
59789 main ()
59790 {
59791  powl(0, 0);
59792   ;
59793   return 0;
59794 }
59795 _ACEOF
59796 rm -f conftest.$ac_objext
59797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59798   (eval $ac_compile) 2>conftest.er1
59799   ac_status=$?
59800   grep -v '^ *+' conftest.er1 >conftest.err
59801   rm -f conftest.er1
59802   cat conftest.err >&5
59803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59804   (exit $ac_status); } &&
59805          { ac_try='test -z "$ac_cxx_werror_flag"
59806                          || test ! -s conftest.err'
59807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59808   (eval $ac_try) 2>&5
59809   ac_status=$?
59810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59811   (exit $ac_status); }; } &&
59812          { ac_try='test -s conftest.$ac_objext'
59813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59814   (eval $ac_try) 2>&5
59815   ac_status=$?
59816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59817   (exit $ac_status); }; }; then
59818   glibcxx_cv_func_powl_use=yes
59819 else
59820   echo "$as_me: failed program was:" >&5
59821 sed 's/^/| /' conftest.$ac_ext >&5
59822
59823 glibcxx_cv_func_powl_use=no
59824 fi
59825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59826       ac_ext=c
59827 ac_cpp='$CPP $CPPFLAGS'
59828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831
59832
59833 fi
59834
59835   fi
59836   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59837 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59838
59839   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59840
59841 for ac_func in powl
59842 do
59843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59844 echo "$as_me:$LINENO: checking for $ac_func" >&5
59845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59846 if eval "test \"\${$as_ac_var+set}\" = set"; then
59847   echo $ECHO_N "(cached) $ECHO_C" >&6
59848 else
59849   if test x$gcc_no_link = xyes; then
59850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59852    { (exit 1); exit 1; }; }
59853 fi
59854 cat >conftest.$ac_ext <<_ACEOF
59855 /* confdefs.h.  */
59856 _ACEOF
59857 cat confdefs.h >>conftest.$ac_ext
59858 cat >>conftest.$ac_ext <<_ACEOF
59859 /* end confdefs.h.  */
59860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59862 #define $ac_func innocuous_$ac_func
59863
59864 /* System header to define __stub macros and hopefully few prototypes,
59865     which can conflict with char $ac_func (); below.
59866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59867     <limits.h> exists even on freestanding compilers.  */
59868
59869 #ifdef __STDC__
59870 # include <limits.h>
59871 #else
59872 # include <assert.h>
59873 #endif
59874
59875 #undef $ac_func
59876
59877 /* Override any gcc2 internal prototype to avoid an error.  */
59878 #ifdef __cplusplus
59879 extern "C"
59880 {
59881 #endif
59882 /* We use char because int might match the return type of a gcc2
59883    builtin and then its argument prototype would still apply.  */
59884 char $ac_func ();
59885 /* The GNU C library defines this for functions which it implements
59886     to always fail with ENOSYS.  Some functions are actually named
59887     something starting with __ and the normal name is an alias.  */
59888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59889 choke me
59890 #else
59891 char (*f) () = $ac_func;
59892 #endif
59893 #ifdef __cplusplus
59894 }
59895 #endif
59896
59897 int
59898 main ()
59899 {
59900 return f != $ac_func;
59901   ;
59902   return 0;
59903 }
59904 _ACEOF
59905 rm -f conftest.$ac_objext conftest$ac_exeext
59906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59907   (eval $ac_link) 2>conftest.er1
59908   ac_status=$?
59909   grep -v '^ *+' conftest.er1 >conftest.err
59910   rm -f conftest.er1
59911   cat conftest.err >&5
59912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59913   (exit $ac_status); } &&
59914          { ac_try='test -z "$ac_c_werror_flag"
59915                          || test ! -s conftest.err'
59916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59917   (eval $ac_try) 2>&5
59918   ac_status=$?
59919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59920   (exit $ac_status); }; } &&
59921          { ac_try='test -s conftest$ac_exeext'
59922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59923   (eval $ac_try) 2>&5
59924   ac_status=$?
59925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59926   (exit $ac_status); }; }; then
59927   eval "$as_ac_var=yes"
59928 else
59929   echo "$as_me: failed program was:" >&5
59930 sed 's/^/| /' conftest.$ac_ext >&5
59931
59932 eval "$as_ac_var=no"
59933 fi
59934 rm -f conftest.err conftest.$ac_objext \
59935       conftest$ac_exeext conftest.$ac_ext
59936 fi
59937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59939 if test `eval echo '${'$as_ac_var'}'` = yes; then
59940   cat >>confdefs.h <<_ACEOF
59941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59942 _ACEOF
59943
59944 fi
59945 done
59946
59947   else
59948
59949   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59950 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59951   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59952     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59953   echo $ECHO_N "(cached) $ECHO_C" >&6
59954 else
59955
59956
59957
59958       ac_ext=cc
59959 ac_cpp='$CXXCPP $CPPFLAGS'
59960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59963
59964       cat >conftest.$ac_ext <<_ACEOF
59965 /* confdefs.h.  */
59966 _ACEOF
59967 cat confdefs.h >>conftest.$ac_ext
59968 cat >>conftest.$ac_ext <<_ACEOF
59969 /* end confdefs.h.  */
59970 #include <math.h>
59971 int
59972 main ()
59973 {
59974  _powl(0, 0);
59975   ;
59976   return 0;
59977 }
59978 _ACEOF
59979 rm -f conftest.$ac_objext
59980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59981   (eval $ac_compile) 2>conftest.er1
59982   ac_status=$?
59983   grep -v '^ *+' conftest.er1 >conftest.err
59984   rm -f conftest.er1
59985   cat conftest.err >&5
59986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987   (exit $ac_status); } &&
59988          { ac_try='test -z "$ac_cxx_werror_flag"
59989                          || test ! -s conftest.err'
59990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59991   (eval $ac_try) 2>&5
59992   ac_status=$?
59993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59994   (exit $ac_status); }; } &&
59995          { ac_try='test -s conftest.$ac_objext'
59996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59997   (eval $ac_try) 2>&5
59998   ac_status=$?
59999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60000   (exit $ac_status); }; }; then
60001   glibcxx_cv_func__powl_use=yes
60002 else
60003   echo "$as_me: failed program was:" >&5
60004 sed 's/^/| /' conftest.$ac_ext >&5
60005
60006 glibcxx_cv_func__powl_use=no
60007 fi
60008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60009       ac_ext=c
60010 ac_cpp='$CPP $CPPFLAGS'
60011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60014
60015
60016 fi
60017
60018   fi
60019   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
60020 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
60021
60022     if test x$glibcxx_cv_func__powl_use = x"yes"; then
60023
60024 for ac_func in _powl
60025 do
60026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60027 echo "$as_me:$LINENO: checking for $ac_func" >&5
60028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60029 if eval "test \"\${$as_ac_var+set}\" = set"; then
60030   echo $ECHO_N "(cached) $ECHO_C" >&6
60031 else
60032   if test x$gcc_no_link = xyes; then
60033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60035    { (exit 1); exit 1; }; }
60036 fi
60037 cat >conftest.$ac_ext <<_ACEOF
60038 /* confdefs.h.  */
60039 _ACEOF
60040 cat confdefs.h >>conftest.$ac_ext
60041 cat >>conftest.$ac_ext <<_ACEOF
60042 /* end confdefs.h.  */
60043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60045 #define $ac_func innocuous_$ac_func
60046
60047 /* System header to define __stub macros and hopefully few prototypes,
60048     which can conflict with char $ac_func (); below.
60049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60050     <limits.h> exists even on freestanding compilers.  */
60051
60052 #ifdef __STDC__
60053 # include <limits.h>
60054 #else
60055 # include <assert.h>
60056 #endif
60057
60058 #undef $ac_func
60059
60060 /* Override any gcc2 internal prototype to avoid an error.  */
60061 #ifdef __cplusplus
60062 extern "C"
60063 {
60064 #endif
60065 /* We use char because int might match the return type of a gcc2
60066    builtin and then its argument prototype would still apply.  */
60067 char $ac_func ();
60068 /* The GNU C library defines this for functions which it implements
60069     to always fail with ENOSYS.  Some functions are actually named
60070     something starting with __ and the normal name is an alias.  */
60071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60072 choke me
60073 #else
60074 char (*f) () = $ac_func;
60075 #endif
60076 #ifdef __cplusplus
60077 }
60078 #endif
60079
60080 int
60081 main ()
60082 {
60083 return f != $ac_func;
60084   ;
60085   return 0;
60086 }
60087 _ACEOF
60088 rm -f conftest.$ac_objext conftest$ac_exeext
60089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60090   (eval $ac_link) 2>conftest.er1
60091   ac_status=$?
60092   grep -v '^ *+' conftest.er1 >conftest.err
60093   rm -f conftest.er1
60094   cat conftest.err >&5
60095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60096   (exit $ac_status); } &&
60097          { ac_try='test -z "$ac_c_werror_flag"
60098                          || test ! -s conftest.err'
60099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60100   (eval $ac_try) 2>&5
60101   ac_status=$?
60102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60103   (exit $ac_status); }; } &&
60104          { ac_try='test -s conftest$ac_exeext'
60105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60106   (eval $ac_try) 2>&5
60107   ac_status=$?
60108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60109   (exit $ac_status); }; }; then
60110   eval "$as_ac_var=yes"
60111 else
60112   echo "$as_me: failed program was:" >&5
60113 sed 's/^/| /' conftest.$ac_ext >&5
60114
60115 eval "$as_ac_var=no"
60116 fi
60117 rm -f conftest.err conftest.$ac_objext \
60118       conftest$ac_exeext conftest.$ac_ext
60119 fi
60120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60122 if test `eval echo '${'$as_ac_var'}'` = yes; then
60123   cat >>confdefs.h <<_ACEOF
60124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60125 _ACEOF
60126
60127 fi
60128 done
60129
60130     fi
60131   fi
60132
60133
60134
60135
60136
60137
60138   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
60139 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
60140   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60141     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
60142   echo $ECHO_N "(cached) $ECHO_C" >&6
60143 else
60144
60145
60146
60147       ac_ext=cc
60148 ac_cpp='$CXXCPP $CPPFLAGS'
60149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60152
60153       cat >conftest.$ac_ext <<_ACEOF
60154 /* confdefs.h.  */
60155 _ACEOF
60156 cat confdefs.h >>conftest.$ac_ext
60157 cat >>conftest.$ac_ext <<_ACEOF
60158 /* end confdefs.h.  */
60159 #include <math.h>
60160                       #ifdef HAVE_IEEEFP_H
60161                       #include <ieeefp.h>
60162                       #endif
60163
60164 int
60165 main ()
60166 {
60167  sqrtl(0);
60168   ;
60169   return 0;
60170 }
60171 _ACEOF
60172 rm -f conftest.$ac_objext
60173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60174   (eval $ac_compile) 2>conftest.er1
60175   ac_status=$?
60176   grep -v '^ *+' conftest.er1 >conftest.err
60177   rm -f conftest.er1
60178   cat conftest.err >&5
60179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60180   (exit $ac_status); } &&
60181          { ac_try='test -z "$ac_cxx_werror_flag"
60182                          || test ! -s conftest.err'
60183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60184   (eval $ac_try) 2>&5
60185   ac_status=$?
60186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60187   (exit $ac_status); }; } &&
60188          { ac_try='test -s conftest.$ac_objext'
60189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60190   (eval $ac_try) 2>&5
60191   ac_status=$?
60192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60193   (exit $ac_status); }; }; then
60194   glibcxx_cv_func_sqrtl_use=yes
60195 else
60196   echo "$as_me: failed program was:" >&5
60197 sed 's/^/| /' conftest.$ac_ext >&5
60198
60199 glibcxx_cv_func_sqrtl_use=no
60200 fi
60201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60202       ac_ext=c
60203 ac_cpp='$CPP $CPPFLAGS'
60204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60207
60208
60209 fi
60210
60211   fi
60212   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
60213 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
60214
60215   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60216
60217 for ac_func in sqrtl
60218 do
60219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60220 echo "$as_me:$LINENO: checking for $ac_func" >&5
60221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60222 if eval "test \"\${$as_ac_var+set}\" = set"; then
60223   echo $ECHO_N "(cached) $ECHO_C" >&6
60224 else
60225   if test x$gcc_no_link = xyes; then
60226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60228    { (exit 1); exit 1; }; }
60229 fi
60230 cat >conftest.$ac_ext <<_ACEOF
60231 /* confdefs.h.  */
60232 _ACEOF
60233 cat confdefs.h >>conftest.$ac_ext
60234 cat >>conftest.$ac_ext <<_ACEOF
60235 /* end confdefs.h.  */
60236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60238 #define $ac_func innocuous_$ac_func
60239
60240 /* System header to define __stub macros and hopefully few prototypes,
60241     which can conflict with char $ac_func (); below.
60242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60243     <limits.h> exists even on freestanding compilers.  */
60244
60245 #ifdef __STDC__
60246 # include <limits.h>
60247 #else
60248 # include <assert.h>
60249 #endif
60250
60251 #undef $ac_func
60252
60253 /* Override any gcc2 internal prototype to avoid an error.  */
60254 #ifdef __cplusplus
60255 extern "C"
60256 {
60257 #endif
60258 /* We use char because int might match the return type of a gcc2
60259    builtin and then its argument prototype would still apply.  */
60260 char $ac_func ();
60261 /* The GNU C library defines this for functions which it implements
60262     to always fail with ENOSYS.  Some functions are actually named
60263     something starting with __ and the normal name is an alias.  */
60264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60265 choke me
60266 #else
60267 char (*f) () = $ac_func;
60268 #endif
60269 #ifdef __cplusplus
60270 }
60271 #endif
60272
60273 int
60274 main ()
60275 {
60276 return f != $ac_func;
60277   ;
60278   return 0;
60279 }
60280 _ACEOF
60281 rm -f conftest.$ac_objext conftest$ac_exeext
60282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60283   (eval $ac_link) 2>conftest.er1
60284   ac_status=$?
60285   grep -v '^ *+' conftest.er1 >conftest.err
60286   rm -f conftest.er1
60287   cat conftest.err >&5
60288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60289   (exit $ac_status); } &&
60290          { ac_try='test -z "$ac_c_werror_flag"
60291                          || test ! -s conftest.err'
60292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60293   (eval $ac_try) 2>&5
60294   ac_status=$?
60295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60296   (exit $ac_status); }; } &&
60297          { ac_try='test -s conftest$ac_exeext'
60298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60299   (eval $ac_try) 2>&5
60300   ac_status=$?
60301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60302   (exit $ac_status); }; }; then
60303   eval "$as_ac_var=yes"
60304 else
60305   echo "$as_me: failed program was:" >&5
60306 sed 's/^/| /' conftest.$ac_ext >&5
60307
60308 eval "$as_ac_var=no"
60309 fi
60310 rm -f conftest.err conftest.$ac_objext \
60311       conftest$ac_exeext conftest.$ac_ext
60312 fi
60313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60315 if test `eval echo '${'$as_ac_var'}'` = yes; then
60316   cat >>confdefs.h <<_ACEOF
60317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60318 _ACEOF
60319
60320 fi
60321 done
60322
60323   else
60324
60325   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
60326 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
60327   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60328     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
60329   echo $ECHO_N "(cached) $ECHO_C" >&6
60330 else
60331
60332
60333
60334       ac_ext=cc
60335 ac_cpp='$CXXCPP $CPPFLAGS'
60336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60339
60340       cat >conftest.$ac_ext <<_ACEOF
60341 /* confdefs.h.  */
60342 _ACEOF
60343 cat confdefs.h >>conftest.$ac_ext
60344 cat >>conftest.$ac_ext <<_ACEOF
60345 /* end confdefs.h.  */
60346 #include <math.h>
60347                       #ifdef HAVE_IEEEFP_H
60348                       #include <ieeefp.h>
60349                       #endif
60350
60351 int
60352 main ()
60353 {
60354  _sqrtl(0);
60355   ;
60356   return 0;
60357 }
60358 _ACEOF
60359 rm -f conftest.$ac_objext
60360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60361   (eval $ac_compile) 2>conftest.er1
60362   ac_status=$?
60363   grep -v '^ *+' conftest.er1 >conftest.err
60364   rm -f conftest.er1
60365   cat conftest.err >&5
60366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60367   (exit $ac_status); } &&
60368          { ac_try='test -z "$ac_cxx_werror_flag"
60369                          || test ! -s conftest.err'
60370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60371   (eval $ac_try) 2>&5
60372   ac_status=$?
60373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60374   (exit $ac_status); }; } &&
60375          { ac_try='test -s conftest.$ac_objext'
60376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60377   (eval $ac_try) 2>&5
60378   ac_status=$?
60379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60380   (exit $ac_status); }; }; then
60381   glibcxx_cv_func__sqrtl_use=yes
60382 else
60383   echo "$as_me: failed program was:" >&5
60384 sed 's/^/| /' conftest.$ac_ext >&5
60385
60386 glibcxx_cv_func__sqrtl_use=no
60387 fi
60388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60389       ac_ext=c
60390 ac_cpp='$CPP $CPPFLAGS'
60391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60394
60395
60396 fi
60397
60398   fi
60399   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60400 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60401
60402     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60403
60404 for ac_func in _sqrtl
60405 do
60406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60407 echo "$as_me:$LINENO: checking for $ac_func" >&5
60408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60409 if eval "test \"\${$as_ac_var+set}\" = set"; then
60410   echo $ECHO_N "(cached) $ECHO_C" >&6
60411 else
60412   if test x$gcc_no_link = xyes; then
60413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60415    { (exit 1); exit 1; }; }
60416 fi
60417 cat >conftest.$ac_ext <<_ACEOF
60418 /* confdefs.h.  */
60419 _ACEOF
60420 cat confdefs.h >>conftest.$ac_ext
60421 cat >>conftest.$ac_ext <<_ACEOF
60422 /* end confdefs.h.  */
60423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60425 #define $ac_func innocuous_$ac_func
60426
60427 /* System header to define __stub macros and hopefully few prototypes,
60428     which can conflict with char $ac_func (); below.
60429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60430     <limits.h> exists even on freestanding compilers.  */
60431
60432 #ifdef __STDC__
60433 # include <limits.h>
60434 #else
60435 # include <assert.h>
60436 #endif
60437
60438 #undef $ac_func
60439
60440 /* Override any gcc2 internal prototype to avoid an error.  */
60441 #ifdef __cplusplus
60442 extern "C"
60443 {
60444 #endif
60445 /* We use char because int might match the return type of a gcc2
60446    builtin and then its argument prototype would still apply.  */
60447 char $ac_func ();
60448 /* The GNU C library defines this for functions which it implements
60449     to always fail with ENOSYS.  Some functions are actually named
60450     something starting with __ and the normal name is an alias.  */
60451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60452 choke me
60453 #else
60454 char (*f) () = $ac_func;
60455 #endif
60456 #ifdef __cplusplus
60457 }
60458 #endif
60459
60460 int
60461 main ()
60462 {
60463 return f != $ac_func;
60464   ;
60465   return 0;
60466 }
60467 _ACEOF
60468 rm -f conftest.$ac_objext conftest$ac_exeext
60469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60470   (eval $ac_link) 2>conftest.er1
60471   ac_status=$?
60472   grep -v '^ *+' conftest.er1 >conftest.err
60473   rm -f conftest.er1
60474   cat conftest.err >&5
60475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60476   (exit $ac_status); } &&
60477          { ac_try='test -z "$ac_c_werror_flag"
60478                          || test ! -s conftest.err'
60479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60480   (eval $ac_try) 2>&5
60481   ac_status=$?
60482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60483   (exit $ac_status); }; } &&
60484          { ac_try='test -s conftest$ac_exeext'
60485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60486   (eval $ac_try) 2>&5
60487   ac_status=$?
60488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60489   (exit $ac_status); }; }; then
60490   eval "$as_ac_var=yes"
60491 else
60492   echo "$as_me: failed program was:" >&5
60493 sed 's/^/| /' conftest.$ac_ext >&5
60494
60495 eval "$as_ac_var=no"
60496 fi
60497 rm -f conftest.err conftest.$ac_objext \
60498       conftest$ac_exeext conftest.$ac_ext
60499 fi
60500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60502 if test `eval echo '${'$as_ac_var'}'` = yes; then
60503   cat >>confdefs.h <<_ACEOF
60504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60505 _ACEOF
60506
60507 fi
60508 done
60509
60510     fi
60511   fi
60512
60513
60514
60515
60516
60517
60518   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60519 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60520   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60521     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60522   echo $ECHO_N "(cached) $ECHO_C" >&6
60523 else
60524
60525
60526
60527       ac_ext=cc
60528 ac_cpp='$CXXCPP $CPPFLAGS'
60529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60532
60533       cat >conftest.$ac_ext <<_ACEOF
60534 /* confdefs.h.  */
60535 _ACEOF
60536 cat confdefs.h >>conftest.$ac_ext
60537 cat >>conftest.$ac_ext <<_ACEOF
60538 /* end confdefs.h.  */
60539 #include <math.h>
60540 int
60541 main ()
60542 {
60543  sincosl(0, 0, 0);
60544   ;
60545   return 0;
60546 }
60547 _ACEOF
60548 rm -f conftest.$ac_objext
60549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60550   (eval $ac_compile) 2>conftest.er1
60551   ac_status=$?
60552   grep -v '^ *+' conftest.er1 >conftest.err
60553   rm -f conftest.er1
60554   cat conftest.err >&5
60555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60556   (exit $ac_status); } &&
60557          { ac_try='test -z "$ac_cxx_werror_flag"
60558                          || test ! -s conftest.err'
60559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60560   (eval $ac_try) 2>&5
60561   ac_status=$?
60562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60563   (exit $ac_status); }; } &&
60564          { ac_try='test -s conftest.$ac_objext'
60565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60566   (eval $ac_try) 2>&5
60567   ac_status=$?
60568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60569   (exit $ac_status); }; }; then
60570   glibcxx_cv_func_sincosl_use=yes
60571 else
60572   echo "$as_me: failed program was:" >&5
60573 sed 's/^/| /' conftest.$ac_ext >&5
60574
60575 glibcxx_cv_func_sincosl_use=no
60576 fi
60577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60578       ac_ext=c
60579 ac_cpp='$CPP $CPPFLAGS'
60580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60583
60584
60585 fi
60586
60587   fi
60588   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60589 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60590
60591   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60592
60593 for ac_func in sincosl
60594 do
60595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60596 echo "$as_me:$LINENO: checking for $ac_func" >&5
60597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60598 if eval "test \"\${$as_ac_var+set}\" = set"; then
60599   echo $ECHO_N "(cached) $ECHO_C" >&6
60600 else
60601   if test x$gcc_no_link = xyes; then
60602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60604    { (exit 1); exit 1; }; }
60605 fi
60606 cat >conftest.$ac_ext <<_ACEOF
60607 /* confdefs.h.  */
60608 _ACEOF
60609 cat confdefs.h >>conftest.$ac_ext
60610 cat >>conftest.$ac_ext <<_ACEOF
60611 /* end confdefs.h.  */
60612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60614 #define $ac_func innocuous_$ac_func
60615
60616 /* System header to define __stub macros and hopefully few prototypes,
60617     which can conflict with char $ac_func (); below.
60618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60619     <limits.h> exists even on freestanding compilers.  */
60620
60621 #ifdef __STDC__
60622 # include <limits.h>
60623 #else
60624 # include <assert.h>
60625 #endif
60626
60627 #undef $ac_func
60628
60629 /* Override any gcc2 internal prototype to avoid an error.  */
60630 #ifdef __cplusplus
60631 extern "C"
60632 {
60633 #endif
60634 /* We use char because int might match the return type of a gcc2
60635    builtin and then its argument prototype would still apply.  */
60636 char $ac_func ();
60637 /* The GNU C library defines this for functions which it implements
60638     to always fail with ENOSYS.  Some functions are actually named
60639     something starting with __ and the normal name is an alias.  */
60640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60641 choke me
60642 #else
60643 char (*f) () = $ac_func;
60644 #endif
60645 #ifdef __cplusplus
60646 }
60647 #endif
60648
60649 int
60650 main ()
60651 {
60652 return f != $ac_func;
60653   ;
60654   return 0;
60655 }
60656 _ACEOF
60657 rm -f conftest.$ac_objext conftest$ac_exeext
60658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60659   (eval $ac_link) 2>conftest.er1
60660   ac_status=$?
60661   grep -v '^ *+' conftest.er1 >conftest.err
60662   rm -f conftest.er1
60663   cat conftest.err >&5
60664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60665   (exit $ac_status); } &&
60666          { ac_try='test -z "$ac_c_werror_flag"
60667                          || test ! -s conftest.err'
60668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60669   (eval $ac_try) 2>&5
60670   ac_status=$?
60671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60672   (exit $ac_status); }; } &&
60673          { ac_try='test -s conftest$ac_exeext'
60674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60675   (eval $ac_try) 2>&5
60676   ac_status=$?
60677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60678   (exit $ac_status); }; }; then
60679   eval "$as_ac_var=yes"
60680 else
60681   echo "$as_me: failed program was:" >&5
60682 sed 's/^/| /' conftest.$ac_ext >&5
60683
60684 eval "$as_ac_var=no"
60685 fi
60686 rm -f conftest.err conftest.$ac_objext \
60687       conftest$ac_exeext conftest.$ac_ext
60688 fi
60689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60691 if test `eval echo '${'$as_ac_var'}'` = yes; then
60692   cat >>confdefs.h <<_ACEOF
60693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60694 _ACEOF
60695
60696 fi
60697 done
60698
60699   else
60700
60701   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60702 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60703   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60704     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60705   echo $ECHO_N "(cached) $ECHO_C" >&6
60706 else
60707
60708
60709
60710       ac_ext=cc
60711 ac_cpp='$CXXCPP $CPPFLAGS'
60712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60715
60716       cat >conftest.$ac_ext <<_ACEOF
60717 /* confdefs.h.  */
60718 _ACEOF
60719 cat confdefs.h >>conftest.$ac_ext
60720 cat >>conftest.$ac_ext <<_ACEOF
60721 /* end confdefs.h.  */
60722 #include <math.h>
60723 int
60724 main ()
60725 {
60726  _sincosl(0, 0, 0);
60727   ;
60728   return 0;
60729 }
60730 _ACEOF
60731 rm -f conftest.$ac_objext
60732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60733   (eval $ac_compile) 2>conftest.er1
60734   ac_status=$?
60735   grep -v '^ *+' conftest.er1 >conftest.err
60736   rm -f conftest.er1
60737   cat conftest.err >&5
60738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60739   (exit $ac_status); } &&
60740          { ac_try='test -z "$ac_cxx_werror_flag"
60741                          || test ! -s conftest.err'
60742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60743   (eval $ac_try) 2>&5
60744   ac_status=$?
60745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60746   (exit $ac_status); }; } &&
60747          { ac_try='test -s conftest.$ac_objext'
60748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60749   (eval $ac_try) 2>&5
60750   ac_status=$?
60751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60752   (exit $ac_status); }; }; then
60753   glibcxx_cv_func__sincosl_use=yes
60754 else
60755   echo "$as_me: failed program was:" >&5
60756 sed 's/^/| /' conftest.$ac_ext >&5
60757
60758 glibcxx_cv_func__sincosl_use=no
60759 fi
60760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60761       ac_ext=c
60762 ac_cpp='$CPP $CPPFLAGS'
60763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60766
60767
60768 fi
60769
60770   fi
60771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60772 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60773
60774     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60775
60776 for ac_func in _sincosl
60777 do
60778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60779 echo "$as_me:$LINENO: checking for $ac_func" >&5
60780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60781 if eval "test \"\${$as_ac_var+set}\" = set"; then
60782   echo $ECHO_N "(cached) $ECHO_C" >&6
60783 else
60784   if test x$gcc_no_link = xyes; then
60785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60787    { (exit 1); exit 1; }; }
60788 fi
60789 cat >conftest.$ac_ext <<_ACEOF
60790 /* confdefs.h.  */
60791 _ACEOF
60792 cat confdefs.h >>conftest.$ac_ext
60793 cat >>conftest.$ac_ext <<_ACEOF
60794 /* end confdefs.h.  */
60795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60797 #define $ac_func innocuous_$ac_func
60798
60799 /* System header to define __stub macros and hopefully few prototypes,
60800     which can conflict with char $ac_func (); below.
60801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60802     <limits.h> exists even on freestanding compilers.  */
60803
60804 #ifdef __STDC__
60805 # include <limits.h>
60806 #else
60807 # include <assert.h>
60808 #endif
60809
60810 #undef $ac_func
60811
60812 /* Override any gcc2 internal prototype to avoid an error.  */
60813 #ifdef __cplusplus
60814 extern "C"
60815 {
60816 #endif
60817 /* We use char because int might match the return type of a gcc2
60818    builtin and then its argument prototype would still apply.  */
60819 char $ac_func ();
60820 /* The GNU C library defines this for functions which it implements
60821     to always fail with ENOSYS.  Some functions are actually named
60822     something starting with __ and the normal name is an alias.  */
60823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60824 choke me
60825 #else
60826 char (*f) () = $ac_func;
60827 #endif
60828 #ifdef __cplusplus
60829 }
60830 #endif
60831
60832 int
60833 main ()
60834 {
60835 return f != $ac_func;
60836   ;
60837   return 0;
60838 }
60839 _ACEOF
60840 rm -f conftest.$ac_objext conftest$ac_exeext
60841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60842   (eval $ac_link) 2>conftest.er1
60843   ac_status=$?
60844   grep -v '^ *+' conftest.er1 >conftest.err
60845   rm -f conftest.er1
60846   cat conftest.err >&5
60847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60848   (exit $ac_status); } &&
60849          { ac_try='test -z "$ac_c_werror_flag"
60850                          || test ! -s conftest.err'
60851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60852   (eval $ac_try) 2>&5
60853   ac_status=$?
60854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60855   (exit $ac_status); }; } &&
60856          { ac_try='test -s conftest$ac_exeext'
60857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60858   (eval $ac_try) 2>&5
60859   ac_status=$?
60860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60861   (exit $ac_status); }; }; then
60862   eval "$as_ac_var=yes"
60863 else
60864   echo "$as_me: failed program was:" >&5
60865 sed 's/^/| /' conftest.$ac_ext >&5
60866
60867 eval "$as_ac_var=no"
60868 fi
60869 rm -f conftest.err conftest.$ac_objext \
60870       conftest$ac_exeext conftest.$ac_ext
60871 fi
60872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60874 if test `eval echo '${'$as_ac_var'}'` = yes; then
60875   cat >>confdefs.h <<_ACEOF
60876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60877 _ACEOF
60878
60879 fi
60880 done
60881
60882     fi
60883   fi
60884
60885
60886
60887
60888
60889
60890   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60891 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60892   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60893     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60894   echo $ECHO_N "(cached) $ECHO_C" >&6
60895 else
60896
60897
60898
60899       ac_ext=cc
60900 ac_cpp='$CXXCPP $CPPFLAGS'
60901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60904
60905       cat >conftest.$ac_ext <<_ACEOF
60906 /* confdefs.h.  */
60907 _ACEOF
60908 cat confdefs.h >>conftest.$ac_ext
60909 cat >>conftest.$ac_ext <<_ACEOF
60910 /* end confdefs.h.  */
60911 #include <math.h>
60912                       #ifdef HAVE_IEEEFP_H
60913                       #include <ieeefp.h>
60914                       #endif
60915
60916 int
60917 main ()
60918 {
60919  finitel(0);
60920   ;
60921   return 0;
60922 }
60923 _ACEOF
60924 rm -f conftest.$ac_objext
60925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60926   (eval $ac_compile) 2>conftest.er1
60927   ac_status=$?
60928   grep -v '^ *+' conftest.er1 >conftest.err
60929   rm -f conftest.er1
60930   cat conftest.err >&5
60931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60932   (exit $ac_status); } &&
60933          { ac_try='test -z "$ac_cxx_werror_flag"
60934                          || test ! -s conftest.err'
60935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60936   (eval $ac_try) 2>&5
60937   ac_status=$?
60938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60939   (exit $ac_status); }; } &&
60940          { ac_try='test -s conftest.$ac_objext'
60941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60942   (eval $ac_try) 2>&5
60943   ac_status=$?
60944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60945   (exit $ac_status); }; }; then
60946   glibcxx_cv_func_finitel_use=yes
60947 else
60948   echo "$as_me: failed program was:" >&5
60949 sed 's/^/| /' conftest.$ac_ext >&5
60950
60951 glibcxx_cv_func_finitel_use=no
60952 fi
60953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60954       ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60959
60960
60961 fi
60962
60963   fi
60964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60965 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60966
60967   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60968
60969 for ac_func in finitel
60970 do
60971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60972 echo "$as_me:$LINENO: checking for $ac_func" >&5
60973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60974 if eval "test \"\${$as_ac_var+set}\" = set"; then
60975   echo $ECHO_N "(cached) $ECHO_C" >&6
60976 else
60977   if test x$gcc_no_link = xyes; then
60978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60980    { (exit 1); exit 1; }; }
60981 fi
60982 cat >conftest.$ac_ext <<_ACEOF
60983 /* confdefs.h.  */
60984 _ACEOF
60985 cat confdefs.h >>conftest.$ac_ext
60986 cat >>conftest.$ac_ext <<_ACEOF
60987 /* end confdefs.h.  */
60988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60990 #define $ac_func innocuous_$ac_func
60991
60992 /* System header to define __stub macros and hopefully few prototypes,
60993     which can conflict with char $ac_func (); below.
60994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60995     <limits.h> exists even on freestanding compilers.  */
60996
60997 #ifdef __STDC__
60998 # include <limits.h>
60999 #else
61000 # include <assert.h>
61001 #endif
61002
61003 #undef $ac_func
61004
61005 /* Override any gcc2 internal prototype to avoid an error.  */
61006 #ifdef __cplusplus
61007 extern "C"
61008 {
61009 #endif
61010 /* We use char because int might match the return type of a gcc2
61011    builtin and then its argument prototype would still apply.  */
61012 char $ac_func ();
61013 /* The GNU C library defines this for functions which it implements
61014     to always fail with ENOSYS.  Some functions are actually named
61015     something starting with __ and the normal name is an alias.  */
61016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61017 choke me
61018 #else
61019 char (*f) () = $ac_func;
61020 #endif
61021 #ifdef __cplusplus
61022 }
61023 #endif
61024
61025 int
61026 main ()
61027 {
61028 return f != $ac_func;
61029   ;
61030   return 0;
61031 }
61032 _ACEOF
61033 rm -f conftest.$ac_objext conftest$ac_exeext
61034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61035   (eval $ac_link) 2>conftest.er1
61036   ac_status=$?
61037   grep -v '^ *+' conftest.er1 >conftest.err
61038   rm -f conftest.er1
61039   cat conftest.err >&5
61040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61041   (exit $ac_status); } &&
61042          { ac_try='test -z "$ac_c_werror_flag"
61043                          || test ! -s conftest.err'
61044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61045   (eval $ac_try) 2>&5
61046   ac_status=$?
61047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61048   (exit $ac_status); }; } &&
61049          { ac_try='test -s conftest$ac_exeext'
61050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61051   (eval $ac_try) 2>&5
61052   ac_status=$?
61053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61054   (exit $ac_status); }; }; then
61055   eval "$as_ac_var=yes"
61056 else
61057   echo "$as_me: failed program was:" >&5
61058 sed 's/^/| /' conftest.$ac_ext >&5
61059
61060 eval "$as_ac_var=no"
61061 fi
61062 rm -f conftest.err conftest.$ac_objext \
61063       conftest$ac_exeext conftest.$ac_ext
61064 fi
61065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61067 if test `eval echo '${'$as_ac_var'}'` = yes; then
61068   cat >>confdefs.h <<_ACEOF
61069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61070 _ACEOF
61071
61072 fi
61073 done
61074
61075   else
61076
61077   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
61078 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
61079   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61080     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
61081   echo $ECHO_N "(cached) $ECHO_C" >&6
61082 else
61083
61084
61085
61086       ac_ext=cc
61087 ac_cpp='$CXXCPP $CPPFLAGS'
61088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61091
61092       cat >conftest.$ac_ext <<_ACEOF
61093 /* confdefs.h.  */
61094 _ACEOF
61095 cat confdefs.h >>conftest.$ac_ext
61096 cat >>conftest.$ac_ext <<_ACEOF
61097 /* end confdefs.h.  */
61098 #include <math.h>
61099                       #ifdef HAVE_IEEEFP_H
61100                       #include <ieeefp.h>
61101                       #endif
61102
61103 int
61104 main ()
61105 {
61106  _finitel(0);
61107   ;
61108   return 0;
61109 }
61110 _ACEOF
61111 rm -f conftest.$ac_objext
61112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61113   (eval $ac_compile) 2>conftest.er1
61114   ac_status=$?
61115   grep -v '^ *+' conftest.er1 >conftest.err
61116   rm -f conftest.er1
61117   cat conftest.err >&5
61118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61119   (exit $ac_status); } &&
61120          { ac_try='test -z "$ac_cxx_werror_flag"
61121                          || test ! -s conftest.err'
61122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61123   (eval $ac_try) 2>&5
61124   ac_status=$?
61125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126   (exit $ac_status); }; } &&
61127          { ac_try='test -s conftest.$ac_objext'
61128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61129   (eval $ac_try) 2>&5
61130   ac_status=$?
61131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61132   (exit $ac_status); }; }; then
61133   glibcxx_cv_func__finitel_use=yes
61134 else
61135   echo "$as_me: failed program was:" >&5
61136 sed 's/^/| /' conftest.$ac_ext >&5
61137
61138 glibcxx_cv_func__finitel_use=no
61139 fi
61140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61141       ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146
61147
61148 fi
61149
61150   fi
61151   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
61152 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
61153
61154     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61155
61156 for ac_func in _finitel
61157 do
61158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61159 echo "$as_me:$LINENO: checking for $ac_func" >&5
61160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61161 if eval "test \"\${$as_ac_var+set}\" = set"; then
61162   echo $ECHO_N "(cached) $ECHO_C" >&6
61163 else
61164   if test x$gcc_no_link = xyes; then
61165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61167    { (exit 1); exit 1; }; }
61168 fi
61169 cat >conftest.$ac_ext <<_ACEOF
61170 /* confdefs.h.  */
61171 _ACEOF
61172 cat confdefs.h >>conftest.$ac_ext
61173 cat >>conftest.$ac_ext <<_ACEOF
61174 /* end confdefs.h.  */
61175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61177 #define $ac_func innocuous_$ac_func
61178
61179 /* System header to define __stub macros and hopefully few prototypes,
61180     which can conflict with char $ac_func (); below.
61181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61182     <limits.h> exists even on freestanding compilers.  */
61183
61184 #ifdef __STDC__
61185 # include <limits.h>
61186 #else
61187 # include <assert.h>
61188 #endif
61189
61190 #undef $ac_func
61191
61192 /* Override any gcc2 internal prototype to avoid an error.  */
61193 #ifdef __cplusplus
61194 extern "C"
61195 {
61196 #endif
61197 /* We use char because int might match the return type of a gcc2
61198    builtin and then its argument prototype would still apply.  */
61199 char $ac_func ();
61200 /* The GNU C library defines this for functions which it implements
61201     to always fail with ENOSYS.  Some functions are actually named
61202     something starting with __ and the normal name is an alias.  */
61203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61204 choke me
61205 #else
61206 char (*f) () = $ac_func;
61207 #endif
61208 #ifdef __cplusplus
61209 }
61210 #endif
61211
61212 int
61213 main ()
61214 {
61215 return f != $ac_func;
61216   ;
61217   return 0;
61218 }
61219 _ACEOF
61220 rm -f conftest.$ac_objext conftest$ac_exeext
61221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61222   (eval $ac_link) 2>conftest.er1
61223   ac_status=$?
61224   grep -v '^ *+' conftest.er1 >conftest.err
61225   rm -f conftest.er1
61226   cat conftest.err >&5
61227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61228   (exit $ac_status); } &&
61229          { ac_try='test -z "$ac_c_werror_flag"
61230                          || test ! -s conftest.err'
61231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61232   (eval $ac_try) 2>&5
61233   ac_status=$?
61234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61235   (exit $ac_status); }; } &&
61236          { ac_try='test -s conftest$ac_exeext'
61237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61238   (eval $ac_try) 2>&5
61239   ac_status=$?
61240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61241   (exit $ac_status); }; }; then
61242   eval "$as_ac_var=yes"
61243 else
61244   echo "$as_me: failed program was:" >&5
61245 sed 's/^/| /' conftest.$ac_ext >&5
61246
61247 eval "$as_ac_var=no"
61248 fi
61249 rm -f conftest.err conftest.$ac_objext \
61250       conftest$ac_exeext conftest.$ac_ext
61251 fi
61252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61254 if test `eval echo '${'$as_ac_var'}'` = yes; then
61255   cat >>confdefs.h <<_ACEOF
61256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61257 _ACEOF
61258
61259 fi
61260 done
61261
61262     fi
61263   fi
61264
61265
61266
61267
61268
61269   LIBS="$ac_save_LIBS"
61270   CXXFLAGS="$ac_save_CXXFLAGS"
61271
61272
61273
61274   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61275 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61276   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61277     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61278   echo $ECHO_N "(cached) $ECHO_C" >&6
61279 else
61280
61281
61282
61283       ac_ext=cc
61284 ac_cpp='$CXXCPP $CPPFLAGS'
61285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61288
61289       cat >conftest.$ac_ext <<_ACEOF
61290 /* confdefs.h.  */
61291 _ACEOF
61292 cat confdefs.h >>conftest.$ac_ext
61293 cat >>conftest.$ac_ext <<_ACEOF
61294 /* end confdefs.h.  */
61295 #include <math.h>
61296 int
61297 main ()
61298 {
61299  __builtin_abs(0);
61300   ;
61301   return 0;
61302 }
61303 _ACEOF
61304 rm -f conftest.$ac_objext
61305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61306   (eval $ac_compile) 2>conftest.er1
61307   ac_status=$?
61308   grep -v '^ *+' conftest.er1 >conftest.err
61309   rm -f conftest.er1
61310   cat conftest.err >&5
61311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61312   (exit $ac_status); } &&
61313          { ac_try='test -z "$ac_cxx_werror_flag"
61314                          || test ! -s conftest.err'
61315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61316   (eval $ac_try) 2>&5
61317   ac_status=$?
61318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61319   (exit $ac_status); }; } &&
61320          { ac_try='test -s conftest.$ac_objext'
61321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61322   (eval $ac_try) 2>&5
61323   ac_status=$?
61324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61325   (exit $ac_status); }; }; then
61326   glibcxx_cv_func___builtin_abs_use=yes
61327 else
61328   echo "$as_me: failed program was:" >&5
61329 sed 's/^/| /' conftest.$ac_ext >&5
61330
61331 glibcxx_cv_func___builtin_abs_use=no
61332 fi
61333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61334       ac_ext=c
61335 ac_cpp='$CPP $CPPFLAGS'
61336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61339
61340
61341 fi
61342
61343   fi
61344   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61345 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61346   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61347     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61348 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61349     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61350       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61351   echo $ECHO_N "(cached) $ECHO_C" >&6
61352 else
61353
61354         if test x$gcc_no_link = xyes; then
61355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61357    { (exit 1); exit 1; }; }
61358 fi
61359 cat >conftest.$ac_ext <<_ACEOF
61360 /* confdefs.h.  */
61361 _ACEOF
61362 cat confdefs.h >>conftest.$ac_ext
61363 cat >>conftest.$ac_ext <<_ACEOF
61364 /* end confdefs.h.  */
61365 #include <math.h>
61366 int
61367 main ()
61368 {
61369  __builtin_abs(0);
61370   ;
61371   return 0;
61372 }
61373 _ACEOF
61374 rm -f conftest.$ac_objext conftest$ac_exeext
61375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61376   (eval $ac_link) 2>conftest.er1
61377   ac_status=$?
61378   grep -v '^ *+' conftest.er1 >conftest.err
61379   rm -f conftest.er1
61380   cat conftest.err >&5
61381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382   (exit $ac_status); } &&
61383          { ac_try='test -z "$ac_c_werror_flag"
61384                          || test ! -s conftest.err'
61385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61386   (eval $ac_try) 2>&5
61387   ac_status=$?
61388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61389   (exit $ac_status); }; } &&
61390          { ac_try='test -s conftest$ac_exeext'
61391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61392   (eval $ac_try) 2>&5
61393   ac_status=$?
61394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61395   (exit $ac_status); }; }; then
61396   glibcxx_cv_func___builtin_abs_link=yes
61397 else
61398   echo "$as_me: failed program was:" >&5
61399 sed 's/^/| /' conftest.$ac_ext >&5
61400
61401 glibcxx_cv_func___builtin_abs_link=no
61402 fi
61403 rm -f conftest.err conftest.$ac_objext \
61404       conftest$ac_exeext conftest.$ac_ext
61405
61406 fi
61407
61408     fi
61409     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61410 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61411
61412     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61413
61414 cat >>confdefs.h <<\_ACEOF
61415 #define HAVE___BUILTIN_ABS 1
61416 _ACEOF
61417
61418     fi
61419
61420   fi
61421
61422
61423   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61424 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61425   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61426     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61427   echo $ECHO_N "(cached) $ECHO_C" >&6
61428 else
61429
61430
61431
61432       ac_ext=cc
61433 ac_cpp='$CXXCPP $CPPFLAGS'
61434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61437
61438       cat >conftest.$ac_ext <<_ACEOF
61439 /* confdefs.h.  */
61440 _ACEOF
61441 cat confdefs.h >>conftest.$ac_ext
61442 cat >>conftest.$ac_ext <<_ACEOF
61443 /* end confdefs.h.  */
61444 #include <math.h>
61445 int
61446 main ()
61447 {
61448  __builtin_fabsf(0);
61449   ;
61450   return 0;
61451 }
61452 _ACEOF
61453 rm -f conftest.$ac_objext
61454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61455   (eval $ac_compile) 2>conftest.er1
61456   ac_status=$?
61457   grep -v '^ *+' conftest.er1 >conftest.err
61458   rm -f conftest.er1
61459   cat conftest.err >&5
61460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61461   (exit $ac_status); } &&
61462          { ac_try='test -z "$ac_cxx_werror_flag"
61463                          || test ! -s conftest.err'
61464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61465   (eval $ac_try) 2>&5
61466   ac_status=$?
61467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61468   (exit $ac_status); }; } &&
61469          { ac_try='test -s conftest.$ac_objext'
61470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61471   (eval $ac_try) 2>&5
61472   ac_status=$?
61473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61474   (exit $ac_status); }; }; then
61475   glibcxx_cv_func___builtin_fabsf_use=yes
61476 else
61477   echo "$as_me: failed program was:" >&5
61478 sed 's/^/| /' conftest.$ac_ext >&5
61479
61480 glibcxx_cv_func___builtin_fabsf_use=no
61481 fi
61482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61483       ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61488
61489
61490 fi
61491
61492   fi
61493   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61494 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61495   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61496     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61497 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61498     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61499       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61500   echo $ECHO_N "(cached) $ECHO_C" >&6
61501 else
61502
61503         if test x$gcc_no_link = xyes; then
61504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61506    { (exit 1); exit 1; }; }
61507 fi
61508 cat >conftest.$ac_ext <<_ACEOF
61509 /* confdefs.h.  */
61510 _ACEOF
61511 cat confdefs.h >>conftest.$ac_ext
61512 cat >>conftest.$ac_ext <<_ACEOF
61513 /* end confdefs.h.  */
61514 #include <math.h>
61515 int
61516 main ()
61517 {
61518  __builtin_fabsf(0);
61519   ;
61520   return 0;
61521 }
61522 _ACEOF
61523 rm -f conftest.$ac_objext conftest$ac_exeext
61524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61525   (eval $ac_link) 2>conftest.er1
61526   ac_status=$?
61527   grep -v '^ *+' conftest.er1 >conftest.err
61528   rm -f conftest.er1
61529   cat conftest.err >&5
61530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61531   (exit $ac_status); } &&
61532          { ac_try='test -z "$ac_c_werror_flag"
61533                          || test ! -s conftest.err'
61534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61535   (eval $ac_try) 2>&5
61536   ac_status=$?
61537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61538   (exit $ac_status); }; } &&
61539          { ac_try='test -s conftest$ac_exeext'
61540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61541   (eval $ac_try) 2>&5
61542   ac_status=$?
61543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61544   (exit $ac_status); }; }; then
61545   glibcxx_cv_func___builtin_fabsf_link=yes
61546 else
61547   echo "$as_me: failed program was:" >&5
61548 sed 's/^/| /' conftest.$ac_ext >&5
61549
61550 glibcxx_cv_func___builtin_fabsf_link=no
61551 fi
61552 rm -f conftest.err conftest.$ac_objext \
61553       conftest$ac_exeext conftest.$ac_ext
61554
61555 fi
61556
61557     fi
61558     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61559 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61560
61561     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61562
61563 cat >>confdefs.h <<\_ACEOF
61564 #define HAVE___BUILTIN_FABSF 1
61565 _ACEOF
61566
61567     fi
61568
61569   fi
61570
61571
61572   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61573 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61574   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61575     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61576   echo $ECHO_N "(cached) $ECHO_C" >&6
61577 else
61578
61579
61580
61581       ac_ext=cc
61582 ac_cpp='$CXXCPP $CPPFLAGS'
61583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61586
61587       cat >conftest.$ac_ext <<_ACEOF
61588 /* confdefs.h.  */
61589 _ACEOF
61590 cat confdefs.h >>conftest.$ac_ext
61591 cat >>conftest.$ac_ext <<_ACEOF
61592 /* end confdefs.h.  */
61593 #include <math.h>
61594 int
61595 main ()
61596 {
61597  __builtin_fabs(0);
61598   ;
61599   return 0;
61600 }
61601 _ACEOF
61602 rm -f conftest.$ac_objext
61603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61604   (eval $ac_compile) 2>conftest.er1
61605   ac_status=$?
61606   grep -v '^ *+' conftest.er1 >conftest.err
61607   rm -f conftest.er1
61608   cat conftest.err >&5
61609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61610   (exit $ac_status); } &&
61611          { ac_try='test -z "$ac_cxx_werror_flag"
61612                          || test ! -s conftest.err'
61613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61614   (eval $ac_try) 2>&5
61615   ac_status=$?
61616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61617   (exit $ac_status); }; } &&
61618          { ac_try='test -s conftest.$ac_objext'
61619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61620   (eval $ac_try) 2>&5
61621   ac_status=$?
61622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61623   (exit $ac_status); }; }; then
61624   glibcxx_cv_func___builtin_fabs_use=yes
61625 else
61626   echo "$as_me: failed program was:" >&5
61627 sed 's/^/| /' conftest.$ac_ext >&5
61628
61629 glibcxx_cv_func___builtin_fabs_use=no
61630 fi
61631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61632       ac_ext=c
61633 ac_cpp='$CPP $CPPFLAGS'
61634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637
61638
61639 fi
61640
61641   fi
61642   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61643 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61644   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61645     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61646 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61647     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61648       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61649   echo $ECHO_N "(cached) $ECHO_C" >&6
61650 else
61651
61652         if test x$gcc_no_link = xyes; then
61653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61655    { (exit 1); exit 1; }; }
61656 fi
61657 cat >conftest.$ac_ext <<_ACEOF
61658 /* confdefs.h.  */
61659 _ACEOF
61660 cat confdefs.h >>conftest.$ac_ext
61661 cat >>conftest.$ac_ext <<_ACEOF
61662 /* end confdefs.h.  */
61663 #include <math.h>
61664 int
61665 main ()
61666 {
61667  __builtin_fabs(0);
61668   ;
61669   return 0;
61670 }
61671 _ACEOF
61672 rm -f conftest.$ac_objext conftest$ac_exeext
61673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61674   (eval $ac_link) 2>conftest.er1
61675   ac_status=$?
61676   grep -v '^ *+' conftest.er1 >conftest.err
61677   rm -f conftest.er1
61678   cat conftest.err >&5
61679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61680   (exit $ac_status); } &&
61681          { ac_try='test -z "$ac_c_werror_flag"
61682                          || test ! -s conftest.err'
61683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61684   (eval $ac_try) 2>&5
61685   ac_status=$?
61686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61687   (exit $ac_status); }; } &&
61688          { ac_try='test -s conftest$ac_exeext'
61689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61690   (eval $ac_try) 2>&5
61691   ac_status=$?
61692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61693   (exit $ac_status); }; }; then
61694   glibcxx_cv_func___builtin_fabs_link=yes
61695 else
61696   echo "$as_me: failed program was:" >&5
61697 sed 's/^/| /' conftest.$ac_ext >&5
61698
61699 glibcxx_cv_func___builtin_fabs_link=no
61700 fi
61701 rm -f conftest.err conftest.$ac_objext \
61702       conftest$ac_exeext conftest.$ac_ext
61703
61704 fi
61705
61706     fi
61707     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61708 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61709
61710     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61711
61712 cat >>confdefs.h <<\_ACEOF
61713 #define HAVE___BUILTIN_FABS 1
61714 _ACEOF
61715
61716     fi
61717
61718   fi
61719
61720
61721   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61722 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61723   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61724     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61725   echo $ECHO_N "(cached) $ECHO_C" >&6
61726 else
61727
61728
61729
61730       ac_ext=cc
61731 ac_cpp='$CXXCPP $CPPFLAGS'
61732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61735
61736       cat >conftest.$ac_ext <<_ACEOF
61737 /* confdefs.h.  */
61738 _ACEOF
61739 cat confdefs.h >>conftest.$ac_ext
61740 cat >>conftest.$ac_ext <<_ACEOF
61741 /* end confdefs.h.  */
61742 #include <math.h>
61743 int
61744 main ()
61745 {
61746  __builtin_fabsl(0);
61747   ;
61748   return 0;
61749 }
61750 _ACEOF
61751 rm -f conftest.$ac_objext
61752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61753   (eval $ac_compile) 2>conftest.er1
61754   ac_status=$?
61755   grep -v '^ *+' conftest.er1 >conftest.err
61756   rm -f conftest.er1
61757   cat conftest.err >&5
61758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61759   (exit $ac_status); } &&
61760          { ac_try='test -z "$ac_cxx_werror_flag"
61761                          || test ! -s conftest.err'
61762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61763   (eval $ac_try) 2>&5
61764   ac_status=$?
61765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61766   (exit $ac_status); }; } &&
61767          { ac_try='test -s conftest.$ac_objext'
61768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61769   (eval $ac_try) 2>&5
61770   ac_status=$?
61771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61772   (exit $ac_status); }; }; then
61773   glibcxx_cv_func___builtin_fabsl_use=yes
61774 else
61775   echo "$as_me: failed program was:" >&5
61776 sed 's/^/| /' conftest.$ac_ext >&5
61777
61778 glibcxx_cv_func___builtin_fabsl_use=no
61779 fi
61780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61781       ac_ext=c
61782 ac_cpp='$CPP $CPPFLAGS'
61783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61786
61787
61788 fi
61789
61790   fi
61791   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61792 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61793   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61794     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61795 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61796     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61797       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61798   echo $ECHO_N "(cached) $ECHO_C" >&6
61799 else
61800
61801         if test x$gcc_no_link = xyes; then
61802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61804    { (exit 1); exit 1; }; }
61805 fi
61806 cat >conftest.$ac_ext <<_ACEOF
61807 /* confdefs.h.  */
61808 _ACEOF
61809 cat confdefs.h >>conftest.$ac_ext
61810 cat >>conftest.$ac_ext <<_ACEOF
61811 /* end confdefs.h.  */
61812 #include <math.h>
61813 int
61814 main ()
61815 {
61816  __builtin_fabsl(0);
61817   ;
61818   return 0;
61819 }
61820 _ACEOF
61821 rm -f conftest.$ac_objext conftest$ac_exeext
61822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61823   (eval $ac_link) 2>conftest.er1
61824   ac_status=$?
61825   grep -v '^ *+' conftest.er1 >conftest.err
61826   rm -f conftest.er1
61827   cat conftest.err >&5
61828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61829   (exit $ac_status); } &&
61830          { ac_try='test -z "$ac_c_werror_flag"
61831                          || test ! -s conftest.err'
61832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61833   (eval $ac_try) 2>&5
61834   ac_status=$?
61835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61836   (exit $ac_status); }; } &&
61837          { ac_try='test -s conftest$ac_exeext'
61838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61839   (eval $ac_try) 2>&5
61840   ac_status=$?
61841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61842   (exit $ac_status); }; }; then
61843   glibcxx_cv_func___builtin_fabsl_link=yes
61844 else
61845   echo "$as_me: failed program was:" >&5
61846 sed 's/^/| /' conftest.$ac_ext >&5
61847
61848 glibcxx_cv_func___builtin_fabsl_link=no
61849 fi
61850 rm -f conftest.err conftest.$ac_objext \
61851       conftest$ac_exeext conftest.$ac_ext
61852
61853 fi
61854
61855     fi
61856     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61857 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61858
61859     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61860
61861 cat >>confdefs.h <<\_ACEOF
61862 #define HAVE___BUILTIN_FABSL 1
61863 _ACEOF
61864
61865     fi
61866
61867   fi
61868
61869
61870   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61871 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61872   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61873     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61874   echo $ECHO_N "(cached) $ECHO_C" >&6
61875 else
61876
61877
61878
61879       ac_ext=cc
61880 ac_cpp='$CXXCPP $CPPFLAGS'
61881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61884
61885       cat >conftest.$ac_ext <<_ACEOF
61886 /* confdefs.h.  */
61887 _ACEOF
61888 cat confdefs.h >>conftest.$ac_ext
61889 cat >>conftest.$ac_ext <<_ACEOF
61890 /* end confdefs.h.  */
61891 #include <math.h>
61892 int
61893 main ()
61894 {
61895  __builtin_labs(0);
61896   ;
61897   return 0;
61898 }
61899 _ACEOF
61900 rm -f conftest.$ac_objext
61901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61902   (eval $ac_compile) 2>conftest.er1
61903   ac_status=$?
61904   grep -v '^ *+' conftest.er1 >conftest.err
61905   rm -f conftest.er1
61906   cat conftest.err >&5
61907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61908   (exit $ac_status); } &&
61909          { ac_try='test -z "$ac_cxx_werror_flag"
61910                          || test ! -s conftest.err'
61911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61912   (eval $ac_try) 2>&5
61913   ac_status=$?
61914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61915   (exit $ac_status); }; } &&
61916          { ac_try='test -s conftest.$ac_objext'
61917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61918   (eval $ac_try) 2>&5
61919   ac_status=$?
61920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921   (exit $ac_status); }; }; then
61922   glibcxx_cv_func___builtin_labs_use=yes
61923 else
61924   echo "$as_me: failed program was:" >&5
61925 sed 's/^/| /' conftest.$ac_ext >&5
61926
61927 glibcxx_cv_func___builtin_labs_use=no
61928 fi
61929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61930       ac_ext=c
61931 ac_cpp='$CPP $CPPFLAGS'
61932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61935
61936
61937 fi
61938
61939   fi
61940   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61941 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61942   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61943     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61944 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61945     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61946       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61947   echo $ECHO_N "(cached) $ECHO_C" >&6
61948 else
61949
61950         if test x$gcc_no_link = xyes; then
61951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61953    { (exit 1); exit 1; }; }
61954 fi
61955 cat >conftest.$ac_ext <<_ACEOF
61956 /* confdefs.h.  */
61957 _ACEOF
61958 cat confdefs.h >>conftest.$ac_ext
61959 cat >>conftest.$ac_ext <<_ACEOF
61960 /* end confdefs.h.  */
61961 #include <math.h>
61962 int
61963 main ()
61964 {
61965  __builtin_labs(0);
61966   ;
61967   return 0;
61968 }
61969 _ACEOF
61970 rm -f conftest.$ac_objext conftest$ac_exeext
61971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61972   (eval $ac_link) 2>conftest.er1
61973   ac_status=$?
61974   grep -v '^ *+' conftest.er1 >conftest.err
61975   rm -f conftest.er1
61976   cat conftest.err >&5
61977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61978   (exit $ac_status); } &&
61979          { ac_try='test -z "$ac_c_werror_flag"
61980                          || test ! -s conftest.err'
61981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61982   (eval $ac_try) 2>&5
61983   ac_status=$?
61984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61985   (exit $ac_status); }; } &&
61986          { ac_try='test -s conftest$ac_exeext'
61987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61988   (eval $ac_try) 2>&5
61989   ac_status=$?
61990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61991   (exit $ac_status); }; }; then
61992   glibcxx_cv_func___builtin_labs_link=yes
61993 else
61994   echo "$as_me: failed program was:" >&5
61995 sed 's/^/| /' conftest.$ac_ext >&5
61996
61997 glibcxx_cv_func___builtin_labs_link=no
61998 fi
61999 rm -f conftest.err conftest.$ac_objext \
62000       conftest$ac_exeext conftest.$ac_ext
62001
62002 fi
62003
62004     fi
62005     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62006 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62007
62008     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62009
62010 cat >>confdefs.h <<\_ACEOF
62011 #define HAVE___BUILTIN_LABS 1
62012 _ACEOF
62013
62014     fi
62015
62016   fi
62017
62018
62019
62020   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62021 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62022   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62023     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62024   echo $ECHO_N "(cached) $ECHO_C" >&6
62025 else
62026
62027
62028
62029       ac_ext=cc
62030 ac_cpp='$CXXCPP $CPPFLAGS'
62031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62034
62035       cat >conftest.$ac_ext <<_ACEOF
62036 /* confdefs.h.  */
62037 _ACEOF
62038 cat confdefs.h >>conftest.$ac_ext
62039 cat >>conftest.$ac_ext <<_ACEOF
62040 /* end confdefs.h.  */
62041 #include <math.h>
62042 int
62043 main ()
62044 {
62045  __builtin_sqrtf(0);
62046   ;
62047   return 0;
62048 }
62049 _ACEOF
62050 rm -f conftest.$ac_objext
62051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62052   (eval $ac_compile) 2>conftest.er1
62053   ac_status=$?
62054   grep -v '^ *+' conftest.er1 >conftest.err
62055   rm -f conftest.er1
62056   cat conftest.err >&5
62057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62058   (exit $ac_status); } &&
62059          { ac_try='test -z "$ac_cxx_werror_flag"
62060                          || test ! -s conftest.err'
62061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62062   (eval $ac_try) 2>&5
62063   ac_status=$?
62064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62065   (exit $ac_status); }; } &&
62066          { ac_try='test -s conftest.$ac_objext'
62067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62068   (eval $ac_try) 2>&5
62069   ac_status=$?
62070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62071   (exit $ac_status); }; }; then
62072   glibcxx_cv_func___builtin_sqrtf_use=yes
62073 else
62074   echo "$as_me: failed program was:" >&5
62075 sed 's/^/| /' conftest.$ac_ext >&5
62076
62077 glibcxx_cv_func___builtin_sqrtf_use=no
62078 fi
62079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62080       ac_ext=c
62081 ac_cpp='$CPP $CPPFLAGS'
62082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62085
62086
62087 fi
62088
62089   fi
62090   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62091 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62092   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62093     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62094 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62095     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62096       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62097   echo $ECHO_N "(cached) $ECHO_C" >&6
62098 else
62099
62100         if test x$gcc_no_link = xyes; then
62101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62103    { (exit 1); exit 1; }; }
62104 fi
62105 cat >conftest.$ac_ext <<_ACEOF
62106 /* confdefs.h.  */
62107 _ACEOF
62108 cat confdefs.h >>conftest.$ac_ext
62109 cat >>conftest.$ac_ext <<_ACEOF
62110 /* end confdefs.h.  */
62111 #include <math.h>
62112 int
62113 main ()
62114 {
62115  __builtin_sqrtf(0);
62116   ;
62117   return 0;
62118 }
62119 _ACEOF
62120 rm -f conftest.$ac_objext conftest$ac_exeext
62121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62122   (eval $ac_link) 2>conftest.er1
62123   ac_status=$?
62124   grep -v '^ *+' conftest.er1 >conftest.err
62125   rm -f conftest.er1
62126   cat conftest.err >&5
62127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62128   (exit $ac_status); } &&
62129          { ac_try='test -z "$ac_c_werror_flag"
62130                          || test ! -s conftest.err'
62131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62132   (eval $ac_try) 2>&5
62133   ac_status=$?
62134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62135   (exit $ac_status); }; } &&
62136          { ac_try='test -s conftest$ac_exeext'
62137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62138   (eval $ac_try) 2>&5
62139   ac_status=$?
62140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62141   (exit $ac_status); }; }; then
62142   glibcxx_cv_func___builtin_sqrtf_link=yes
62143 else
62144   echo "$as_me: failed program was:" >&5
62145 sed 's/^/| /' conftest.$ac_ext >&5
62146
62147 glibcxx_cv_func___builtin_sqrtf_link=no
62148 fi
62149 rm -f conftest.err conftest.$ac_objext \
62150       conftest$ac_exeext conftest.$ac_ext
62151
62152 fi
62153
62154     fi
62155     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62156 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62157
62158     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62159
62160 cat >>confdefs.h <<\_ACEOF
62161 #define HAVE___BUILTIN_SQRTF 1
62162 _ACEOF
62163
62164     fi
62165
62166   fi
62167
62168
62169   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62170 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62171   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62172     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62173   echo $ECHO_N "(cached) $ECHO_C" >&6
62174 else
62175
62176
62177
62178       ac_ext=cc
62179 ac_cpp='$CXXCPP $CPPFLAGS'
62180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62183
62184       cat >conftest.$ac_ext <<_ACEOF
62185 /* confdefs.h.  */
62186 _ACEOF
62187 cat confdefs.h >>conftest.$ac_ext
62188 cat >>conftest.$ac_ext <<_ACEOF
62189 /* end confdefs.h.  */
62190 #include <math.h>
62191 int
62192 main ()
62193 {
62194  __builtin_sqrt(0);
62195   ;
62196   return 0;
62197 }
62198 _ACEOF
62199 rm -f conftest.$ac_objext
62200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62201   (eval $ac_compile) 2>conftest.er1
62202   ac_status=$?
62203   grep -v '^ *+' conftest.er1 >conftest.err
62204   rm -f conftest.er1
62205   cat conftest.err >&5
62206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62207   (exit $ac_status); } &&
62208          { ac_try='test -z "$ac_cxx_werror_flag"
62209                          || test ! -s conftest.err'
62210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62211   (eval $ac_try) 2>&5
62212   ac_status=$?
62213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62214   (exit $ac_status); }; } &&
62215          { ac_try='test -s conftest.$ac_objext'
62216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62217   (eval $ac_try) 2>&5
62218   ac_status=$?
62219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62220   (exit $ac_status); }; }; then
62221   glibcxx_cv_func___builtin_sqrt_use=yes
62222 else
62223   echo "$as_me: failed program was:" >&5
62224 sed 's/^/| /' conftest.$ac_ext >&5
62225
62226 glibcxx_cv_func___builtin_sqrt_use=no
62227 fi
62228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62229       ac_ext=c
62230 ac_cpp='$CPP $CPPFLAGS'
62231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62234
62235
62236 fi
62237
62238   fi
62239   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62240 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62241   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62242     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62243 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62244     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62245       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62246   echo $ECHO_N "(cached) $ECHO_C" >&6
62247 else
62248
62249         if test x$gcc_no_link = xyes; then
62250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62252    { (exit 1); exit 1; }; }
62253 fi
62254 cat >conftest.$ac_ext <<_ACEOF
62255 /* confdefs.h.  */
62256 _ACEOF
62257 cat confdefs.h >>conftest.$ac_ext
62258 cat >>conftest.$ac_ext <<_ACEOF
62259 /* end confdefs.h.  */
62260 #include <math.h>
62261 int
62262 main ()
62263 {
62264  __builtin_sqrt(0);
62265   ;
62266   return 0;
62267 }
62268 _ACEOF
62269 rm -f conftest.$ac_objext conftest$ac_exeext
62270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62271   (eval $ac_link) 2>conftest.er1
62272   ac_status=$?
62273   grep -v '^ *+' conftest.er1 >conftest.err
62274   rm -f conftest.er1
62275   cat conftest.err >&5
62276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62277   (exit $ac_status); } &&
62278          { ac_try='test -z "$ac_c_werror_flag"
62279                          || test ! -s conftest.err'
62280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62281   (eval $ac_try) 2>&5
62282   ac_status=$?
62283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62284   (exit $ac_status); }; } &&
62285          { ac_try='test -s conftest$ac_exeext'
62286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62287   (eval $ac_try) 2>&5
62288   ac_status=$?
62289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62290   (exit $ac_status); }; }; then
62291   glibcxx_cv_func___builtin_sqrt_link=yes
62292 else
62293   echo "$as_me: failed program was:" >&5
62294 sed 's/^/| /' conftest.$ac_ext >&5
62295
62296 glibcxx_cv_func___builtin_sqrt_link=no
62297 fi
62298 rm -f conftest.err conftest.$ac_objext \
62299       conftest$ac_exeext conftest.$ac_ext
62300
62301 fi
62302
62303     fi
62304     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62306
62307     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62308
62309 cat >>confdefs.h <<\_ACEOF
62310 #define HAVE___BUILTIN_SQRT 1
62311 _ACEOF
62312
62313     fi
62314
62315   fi
62316
62317
62318   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62319 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62320   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62321     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62322   echo $ECHO_N "(cached) $ECHO_C" >&6
62323 else
62324
62325
62326
62327       ac_ext=cc
62328 ac_cpp='$CXXCPP $CPPFLAGS'
62329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62332
62333       cat >conftest.$ac_ext <<_ACEOF
62334 /* confdefs.h.  */
62335 _ACEOF
62336 cat confdefs.h >>conftest.$ac_ext
62337 cat >>conftest.$ac_ext <<_ACEOF
62338 /* end confdefs.h.  */
62339 #include <math.h>
62340 int
62341 main ()
62342 {
62343  __builtin_sqrtl(0);
62344   ;
62345   return 0;
62346 }
62347 _ACEOF
62348 rm -f conftest.$ac_objext
62349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62350   (eval $ac_compile) 2>conftest.er1
62351   ac_status=$?
62352   grep -v '^ *+' conftest.er1 >conftest.err
62353   rm -f conftest.er1
62354   cat conftest.err >&5
62355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62356   (exit $ac_status); } &&
62357          { ac_try='test -z "$ac_cxx_werror_flag"
62358                          || test ! -s conftest.err'
62359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62360   (eval $ac_try) 2>&5
62361   ac_status=$?
62362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62363   (exit $ac_status); }; } &&
62364          { ac_try='test -s conftest.$ac_objext'
62365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62366   (eval $ac_try) 2>&5
62367   ac_status=$?
62368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62369   (exit $ac_status); }; }; then
62370   glibcxx_cv_func___builtin_sqrtl_use=yes
62371 else
62372   echo "$as_me: failed program was:" >&5
62373 sed 's/^/| /' conftest.$ac_ext >&5
62374
62375 glibcxx_cv_func___builtin_sqrtl_use=no
62376 fi
62377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62378       ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383
62384
62385 fi
62386
62387   fi
62388   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62389 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62390   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62391     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62392 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62393     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62394       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62395   echo $ECHO_N "(cached) $ECHO_C" >&6
62396 else
62397
62398         if test x$gcc_no_link = xyes; then
62399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62401    { (exit 1); exit 1; }; }
62402 fi
62403 cat >conftest.$ac_ext <<_ACEOF
62404 /* confdefs.h.  */
62405 _ACEOF
62406 cat confdefs.h >>conftest.$ac_ext
62407 cat >>conftest.$ac_ext <<_ACEOF
62408 /* end confdefs.h.  */
62409 #include <math.h>
62410 int
62411 main ()
62412 {
62413  __builtin_sqrtl(0);
62414   ;
62415   return 0;
62416 }
62417 _ACEOF
62418 rm -f conftest.$ac_objext conftest$ac_exeext
62419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62420   (eval $ac_link) 2>conftest.er1
62421   ac_status=$?
62422   grep -v '^ *+' conftest.er1 >conftest.err
62423   rm -f conftest.er1
62424   cat conftest.err >&5
62425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62426   (exit $ac_status); } &&
62427          { ac_try='test -z "$ac_c_werror_flag"
62428                          || test ! -s conftest.err'
62429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62430   (eval $ac_try) 2>&5
62431   ac_status=$?
62432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62433   (exit $ac_status); }; } &&
62434          { ac_try='test -s conftest$ac_exeext'
62435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62436   (eval $ac_try) 2>&5
62437   ac_status=$?
62438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62439   (exit $ac_status); }; }; then
62440   glibcxx_cv_func___builtin_sqrtl_link=yes
62441 else
62442   echo "$as_me: failed program was:" >&5
62443 sed 's/^/| /' conftest.$ac_ext >&5
62444
62445 glibcxx_cv_func___builtin_sqrtl_link=no
62446 fi
62447 rm -f conftest.err conftest.$ac_objext \
62448       conftest$ac_exeext conftest.$ac_ext
62449
62450 fi
62451
62452     fi
62453     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62454 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62455
62456     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62457
62458 cat >>confdefs.h <<\_ACEOF
62459 #define HAVE___BUILTIN_SQRTL 1
62460 _ACEOF
62461
62462     fi
62463
62464   fi
62465
62466
62467
62468   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62469 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62470   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62471     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62472   echo $ECHO_N "(cached) $ECHO_C" >&6
62473 else
62474
62475
62476
62477       ac_ext=cc
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62482
62483       cat >conftest.$ac_ext <<_ACEOF
62484 /* confdefs.h.  */
62485 _ACEOF
62486 cat confdefs.h >>conftest.$ac_ext
62487 cat >>conftest.$ac_ext <<_ACEOF
62488 /* end confdefs.h.  */
62489 #include <math.h>
62490 int
62491 main ()
62492 {
62493  __builtin_sinf(0);
62494   ;
62495   return 0;
62496 }
62497 _ACEOF
62498 rm -f conftest.$ac_objext
62499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62500   (eval $ac_compile) 2>conftest.er1
62501   ac_status=$?
62502   grep -v '^ *+' conftest.er1 >conftest.err
62503   rm -f conftest.er1
62504   cat conftest.err >&5
62505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62506   (exit $ac_status); } &&
62507          { ac_try='test -z "$ac_cxx_werror_flag"
62508                          || test ! -s conftest.err'
62509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62510   (eval $ac_try) 2>&5
62511   ac_status=$?
62512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62513   (exit $ac_status); }; } &&
62514          { ac_try='test -s conftest.$ac_objext'
62515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62516   (eval $ac_try) 2>&5
62517   ac_status=$?
62518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62519   (exit $ac_status); }; }; then
62520   glibcxx_cv_func___builtin_sinf_use=yes
62521 else
62522   echo "$as_me: failed program was:" >&5
62523 sed 's/^/| /' conftest.$ac_ext >&5
62524
62525 glibcxx_cv_func___builtin_sinf_use=no
62526 fi
62527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62528       ac_ext=c
62529 ac_cpp='$CPP $CPPFLAGS'
62530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62533
62534
62535 fi
62536
62537   fi
62538   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62539 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62540   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62541     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62542 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62543     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62544       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62545   echo $ECHO_N "(cached) $ECHO_C" >&6
62546 else
62547
62548         if test x$gcc_no_link = xyes; then
62549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62551    { (exit 1); exit 1; }; }
62552 fi
62553 cat >conftest.$ac_ext <<_ACEOF
62554 /* confdefs.h.  */
62555 _ACEOF
62556 cat confdefs.h >>conftest.$ac_ext
62557 cat >>conftest.$ac_ext <<_ACEOF
62558 /* end confdefs.h.  */
62559 #include <math.h>
62560 int
62561 main ()
62562 {
62563  __builtin_sinf(0);
62564   ;
62565   return 0;
62566 }
62567 _ACEOF
62568 rm -f conftest.$ac_objext conftest$ac_exeext
62569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62570   (eval $ac_link) 2>conftest.er1
62571   ac_status=$?
62572   grep -v '^ *+' conftest.er1 >conftest.err
62573   rm -f conftest.er1
62574   cat conftest.err >&5
62575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62576   (exit $ac_status); } &&
62577          { ac_try='test -z "$ac_c_werror_flag"
62578                          || test ! -s conftest.err'
62579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62580   (eval $ac_try) 2>&5
62581   ac_status=$?
62582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62583   (exit $ac_status); }; } &&
62584          { ac_try='test -s conftest$ac_exeext'
62585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62586   (eval $ac_try) 2>&5
62587   ac_status=$?
62588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589   (exit $ac_status); }; }; then
62590   glibcxx_cv_func___builtin_sinf_link=yes
62591 else
62592   echo "$as_me: failed program was:" >&5
62593 sed 's/^/| /' conftest.$ac_ext >&5
62594
62595 glibcxx_cv_func___builtin_sinf_link=no
62596 fi
62597 rm -f conftest.err conftest.$ac_objext \
62598       conftest$ac_exeext conftest.$ac_ext
62599
62600 fi
62601
62602     fi
62603     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62604 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62605
62606     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62607
62608 cat >>confdefs.h <<\_ACEOF
62609 #define HAVE___BUILTIN_SINF 1
62610 _ACEOF
62611
62612     fi
62613
62614   fi
62615
62616
62617   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62618 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62619   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62620     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62621   echo $ECHO_N "(cached) $ECHO_C" >&6
62622 else
62623
62624
62625
62626       ac_ext=cc
62627 ac_cpp='$CXXCPP $CPPFLAGS'
62628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62631
62632       cat >conftest.$ac_ext <<_ACEOF
62633 /* confdefs.h.  */
62634 _ACEOF
62635 cat confdefs.h >>conftest.$ac_ext
62636 cat >>conftest.$ac_ext <<_ACEOF
62637 /* end confdefs.h.  */
62638 #include <math.h>
62639 int
62640 main ()
62641 {
62642  __builtin_sin(0);
62643   ;
62644   return 0;
62645 }
62646 _ACEOF
62647 rm -f conftest.$ac_objext
62648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62649   (eval $ac_compile) 2>conftest.er1
62650   ac_status=$?
62651   grep -v '^ *+' conftest.er1 >conftest.err
62652   rm -f conftest.er1
62653   cat conftest.err >&5
62654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62655   (exit $ac_status); } &&
62656          { ac_try='test -z "$ac_cxx_werror_flag"
62657                          || test ! -s conftest.err'
62658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62659   (eval $ac_try) 2>&5
62660   ac_status=$?
62661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62662   (exit $ac_status); }; } &&
62663          { ac_try='test -s conftest.$ac_objext'
62664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62665   (eval $ac_try) 2>&5
62666   ac_status=$?
62667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62668   (exit $ac_status); }; }; then
62669   glibcxx_cv_func___builtin_sin_use=yes
62670 else
62671   echo "$as_me: failed program was:" >&5
62672 sed 's/^/| /' conftest.$ac_ext >&5
62673
62674 glibcxx_cv_func___builtin_sin_use=no
62675 fi
62676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62677       ac_ext=c
62678 ac_cpp='$CPP $CPPFLAGS'
62679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62682
62683
62684 fi
62685
62686   fi
62687   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62688 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62689   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62690     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62691 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62692     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62693       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62694   echo $ECHO_N "(cached) $ECHO_C" >&6
62695 else
62696
62697         if test x$gcc_no_link = xyes; then
62698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62700    { (exit 1); exit 1; }; }
62701 fi
62702 cat >conftest.$ac_ext <<_ACEOF
62703 /* confdefs.h.  */
62704 _ACEOF
62705 cat confdefs.h >>conftest.$ac_ext
62706 cat >>conftest.$ac_ext <<_ACEOF
62707 /* end confdefs.h.  */
62708 #include <math.h>
62709 int
62710 main ()
62711 {
62712  __builtin_sin(0);
62713   ;
62714   return 0;
62715 }
62716 _ACEOF
62717 rm -f conftest.$ac_objext conftest$ac_exeext
62718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62719   (eval $ac_link) 2>conftest.er1
62720   ac_status=$?
62721   grep -v '^ *+' conftest.er1 >conftest.err
62722   rm -f conftest.er1
62723   cat conftest.err >&5
62724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62725   (exit $ac_status); } &&
62726          { ac_try='test -z "$ac_c_werror_flag"
62727                          || test ! -s conftest.err'
62728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62729   (eval $ac_try) 2>&5
62730   ac_status=$?
62731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62732   (exit $ac_status); }; } &&
62733          { ac_try='test -s conftest$ac_exeext'
62734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62735   (eval $ac_try) 2>&5
62736   ac_status=$?
62737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62738   (exit $ac_status); }; }; then
62739   glibcxx_cv_func___builtin_sin_link=yes
62740 else
62741   echo "$as_me: failed program was:" >&5
62742 sed 's/^/| /' conftest.$ac_ext >&5
62743
62744 glibcxx_cv_func___builtin_sin_link=no
62745 fi
62746 rm -f conftest.err conftest.$ac_objext \
62747       conftest$ac_exeext conftest.$ac_ext
62748
62749 fi
62750
62751     fi
62752     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62753 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62754
62755     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62756
62757 cat >>confdefs.h <<\_ACEOF
62758 #define HAVE___BUILTIN_SIN 1
62759 _ACEOF
62760
62761     fi
62762
62763   fi
62764
62765
62766   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62767 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62768   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62769     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62770   echo $ECHO_N "(cached) $ECHO_C" >&6
62771 else
62772
62773
62774
62775       ac_ext=cc
62776 ac_cpp='$CXXCPP $CPPFLAGS'
62777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62780
62781       cat >conftest.$ac_ext <<_ACEOF
62782 /* confdefs.h.  */
62783 _ACEOF
62784 cat confdefs.h >>conftest.$ac_ext
62785 cat >>conftest.$ac_ext <<_ACEOF
62786 /* end confdefs.h.  */
62787 #include <math.h>
62788 int
62789 main ()
62790 {
62791  __builtin_sinl(0);
62792   ;
62793   return 0;
62794 }
62795 _ACEOF
62796 rm -f conftest.$ac_objext
62797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62798   (eval $ac_compile) 2>conftest.er1
62799   ac_status=$?
62800   grep -v '^ *+' conftest.er1 >conftest.err
62801   rm -f conftest.er1
62802   cat conftest.err >&5
62803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804   (exit $ac_status); } &&
62805          { ac_try='test -z "$ac_cxx_werror_flag"
62806                          || test ! -s conftest.err'
62807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62808   (eval $ac_try) 2>&5
62809   ac_status=$?
62810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62811   (exit $ac_status); }; } &&
62812          { ac_try='test -s conftest.$ac_objext'
62813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62814   (eval $ac_try) 2>&5
62815   ac_status=$?
62816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62817   (exit $ac_status); }; }; then
62818   glibcxx_cv_func___builtin_sinl_use=yes
62819 else
62820   echo "$as_me: failed program was:" >&5
62821 sed 's/^/| /' conftest.$ac_ext >&5
62822
62823 glibcxx_cv_func___builtin_sinl_use=no
62824 fi
62825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62826       ac_ext=c
62827 ac_cpp='$CPP $CPPFLAGS'
62828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62831
62832
62833 fi
62834
62835   fi
62836   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62837 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62838   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62839     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62840 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62841     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62842       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62843   echo $ECHO_N "(cached) $ECHO_C" >&6
62844 else
62845
62846         if test x$gcc_no_link = xyes; then
62847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62849    { (exit 1); exit 1; }; }
62850 fi
62851 cat >conftest.$ac_ext <<_ACEOF
62852 /* confdefs.h.  */
62853 _ACEOF
62854 cat confdefs.h >>conftest.$ac_ext
62855 cat >>conftest.$ac_ext <<_ACEOF
62856 /* end confdefs.h.  */
62857 #include <math.h>
62858 int
62859 main ()
62860 {
62861  __builtin_sinl(0);
62862   ;
62863   return 0;
62864 }
62865 _ACEOF
62866 rm -f conftest.$ac_objext conftest$ac_exeext
62867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62868   (eval $ac_link) 2>conftest.er1
62869   ac_status=$?
62870   grep -v '^ *+' conftest.er1 >conftest.err
62871   rm -f conftest.er1
62872   cat conftest.err >&5
62873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62874   (exit $ac_status); } &&
62875          { ac_try='test -z "$ac_c_werror_flag"
62876                          || test ! -s conftest.err'
62877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62878   (eval $ac_try) 2>&5
62879   ac_status=$?
62880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62881   (exit $ac_status); }; } &&
62882          { ac_try='test -s conftest$ac_exeext'
62883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62884   (eval $ac_try) 2>&5
62885   ac_status=$?
62886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62887   (exit $ac_status); }; }; then
62888   glibcxx_cv_func___builtin_sinl_link=yes
62889 else
62890   echo "$as_me: failed program was:" >&5
62891 sed 's/^/| /' conftest.$ac_ext >&5
62892
62893 glibcxx_cv_func___builtin_sinl_link=no
62894 fi
62895 rm -f conftest.err conftest.$ac_objext \
62896       conftest$ac_exeext conftest.$ac_ext
62897
62898 fi
62899
62900     fi
62901     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62902 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62903
62904     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62905
62906 cat >>confdefs.h <<\_ACEOF
62907 #define HAVE___BUILTIN_SINL 1
62908 _ACEOF
62909
62910     fi
62911
62912   fi
62913
62914
62915
62916   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62917 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62918   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62919     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62920   echo $ECHO_N "(cached) $ECHO_C" >&6
62921 else
62922
62923
62924
62925       ac_ext=cc
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62930
62931       cat >conftest.$ac_ext <<_ACEOF
62932 /* confdefs.h.  */
62933 _ACEOF
62934 cat confdefs.h >>conftest.$ac_ext
62935 cat >>conftest.$ac_ext <<_ACEOF
62936 /* end confdefs.h.  */
62937 #include <math.h>
62938 int
62939 main ()
62940 {
62941  __builtin_cosf(0);
62942   ;
62943   return 0;
62944 }
62945 _ACEOF
62946 rm -f conftest.$ac_objext
62947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62948   (eval $ac_compile) 2>conftest.er1
62949   ac_status=$?
62950   grep -v '^ *+' conftest.er1 >conftest.err
62951   rm -f conftest.er1
62952   cat conftest.err >&5
62953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62954   (exit $ac_status); } &&
62955          { ac_try='test -z "$ac_cxx_werror_flag"
62956                          || test ! -s conftest.err'
62957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62958   (eval $ac_try) 2>&5
62959   ac_status=$?
62960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62961   (exit $ac_status); }; } &&
62962          { ac_try='test -s conftest.$ac_objext'
62963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62964   (eval $ac_try) 2>&5
62965   ac_status=$?
62966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62967   (exit $ac_status); }; }; then
62968   glibcxx_cv_func___builtin_cosf_use=yes
62969 else
62970   echo "$as_me: failed program was:" >&5
62971 sed 's/^/| /' conftest.$ac_ext >&5
62972
62973 glibcxx_cv_func___builtin_cosf_use=no
62974 fi
62975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62976       ac_ext=c
62977 ac_cpp='$CPP $CPPFLAGS'
62978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62981
62982
62983 fi
62984
62985   fi
62986   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62987 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62988   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62989     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62990 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62991     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62992       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62993   echo $ECHO_N "(cached) $ECHO_C" >&6
62994 else
62995
62996         if test x$gcc_no_link = xyes; then
62997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62999    { (exit 1); exit 1; }; }
63000 fi
63001 cat >conftest.$ac_ext <<_ACEOF
63002 /* confdefs.h.  */
63003 _ACEOF
63004 cat confdefs.h >>conftest.$ac_ext
63005 cat >>conftest.$ac_ext <<_ACEOF
63006 /* end confdefs.h.  */
63007 #include <math.h>
63008 int
63009 main ()
63010 {
63011  __builtin_cosf(0);
63012   ;
63013   return 0;
63014 }
63015 _ACEOF
63016 rm -f conftest.$ac_objext conftest$ac_exeext
63017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63018   (eval $ac_link) 2>conftest.er1
63019   ac_status=$?
63020   grep -v '^ *+' conftest.er1 >conftest.err
63021   rm -f conftest.er1
63022   cat conftest.err >&5
63023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63024   (exit $ac_status); } &&
63025          { ac_try='test -z "$ac_c_werror_flag"
63026                          || test ! -s conftest.err'
63027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63028   (eval $ac_try) 2>&5
63029   ac_status=$?
63030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63031   (exit $ac_status); }; } &&
63032          { ac_try='test -s conftest$ac_exeext'
63033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63034   (eval $ac_try) 2>&5
63035   ac_status=$?
63036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63037   (exit $ac_status); }; }; then
63038   glibcxx_cv_func___builtin_cosf_link=yes
63039 else
63040   echo "$as_me: failed program was:" >&5
63041 sed 's/^/| /' conftest.$ac_ext >&5
63042
63043 glibcxx_cv_func___builtin_cosf_link=no
63044 fi
63045 rm -f conftest.err conftest.$ac_objext \
63046       conftest$ac_exeext conftest.$ac_ext
63047
63048 fi
63049
63050     fi
63051     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
63052 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
63053
63054     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
63055
63056 cat >>confdefs.h <<\_ACEOF
63057 #define HAVE___BUILTIN_COSF 1
63058 _ACEOF
63059
63060     fi
63061
63062   fi
63063
63064
63065   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
63066 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
63067   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
63068     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
63069   echo $ECHO_N "(cached) $ECHO_C" >&6
63070 else
63071
63072
63073
63074       ac_ext=cc
63075 ac_cpp='$CXXCPP $CPPFLAGS'
63076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63079
63080       cat >conftest.$ac_ext <<_ACEOF
63081 /* confdefs.h.  */
63082 _ACEOF
63083 cat confdefs.h >>conftest.$ac_ext
63084 cat >>conftest.$ac_ext <<_ACEOF
63085 /* end confdefs.h.  */
63086 #include <math.h>
63087 int
63088 main ()
63089 {
63090  __builtin_cos(0);
63091   ;
63092   return 0;
63093 }
63094 _ACEOF
63095 rm -f conftest.$ac_objext
63096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63097   (eval $ac_compile) 2>conftest.er1
63098   ac_status=$?
63099   grep -v '^ *+' conftest.er1 >conftest.err
63100   rm -f conftest.er1
63101   cat conftest.err >&5
63102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63103   (exit $ac_status); } &&
63104          { ac_try='test -z "$ac_cxx_werror_flag"
63105                          || test ! -s conftest.err'
63106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63107   (eval $ac_try) 2>&5
63108   ac_status=$?
63109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63110   (exit $ac_status); }; } &&
63111          { ac_try='test -s conftest.$ac_objext'
63112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63113   (eval $ac_try) 2>&5
63114   ac_status=$?
63115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63116   (exit $ac_status); }; }; then
63117   glibcxx_cv_func___builtin_cos_use=yes
63118 else
63119   echo "$as_me: failed program was:" >&5
63120 sed 's/^/| /' conftest.$ac_ext >&5
63121
63122 glibcxx_cv_func___builtin_cos_use=no
63123 fi
63124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63125       ac_ext=c
63126 ac_cpp='$CPP $CPPFLAGS'
63127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63130
63131
63132 fi
63133
63134   fi
63135   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63136 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63137   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63138     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63139 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63140     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63141       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63142   echo $ECHO_N "(cached) $ECHO_C" >&6
63143 else
63144
63145         if test x$gcc_no_link = xyes; then
63146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63148    { (exit 1); exit 1; }; }
63149 fi
63150 cat >conftest.$ac_ext <<_ACEOF
63151 /* confdefs.h.  */
63152 _ACEOF
63153 cat confdefs.h >>conftest.$ac_ext
63154 cat >>conftest.$ac_ext <<_ACEOF
63155 /* end confdefs.h.  */
63156 #include <math.h>
63157 int
63158 main ()
63159 {
63160  __builtin_cos(0);
63161   ;
63162   return 0;
63163 }
63164 _ACEOF
63165 rm -f conftest.$ac_objext conftest$ac_exeext
63166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63167   (eval $ac_link) 2>conftest.er1
63168   ac_status=$?
63169   grep -v '^ *+' conftest.er1 >conftest.err
63170   rm -f conftest.er1
63171   cat conftest.err >&5
63172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63173   (exit $ac_status); } &&
63174          { ac_try='test -z "$ac_c_werror_flag"
63175                          || test ! -s conftest.err'
63176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63177   (eval $ac_try) 2>&5
63178   ac_status=$?
63179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63180   (exit $ac_status); }; } &&
63181          { ac_try='test -s conftest$ac_exeext'
63182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63183   (eval $ac_try) 2>&5
63184   ac_status=$?
63185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63186   (exit $ac_status); }; }; then
63187   glibcxx_cv_func___builtin_cos_link=yes
63188 else
63189   echo "$as_me: failed program was:" >&5
63190 sed 's/^/| /' conftest.$ac_ext >&5
63191
63192 glibcxx_cv_func___builtin_cos_link=no
63193 fi
63194 rm -f conftest.err conftest.$ac_objext \
63195       conftest$ac_exeext conftest.$ac_ext
63196
63197 fi
63198
63199     fi
63200     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63201 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63202
63203     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63204
63205 cat >>confdefs.h <<\_ACEOF
63206 #define HAVE___BUILTIN_COS 1
63207 _ACEOF
63208
63209     fi
63210
63211   fi
63212
63213
63214   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63215 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63216   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63217     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63218   echo $ECHO_N "(cached) $ECHO_C" >&6
63219 else
63220
63221
63222
63223       ac_ext=cc
63224 ac_cpp='$CXXCPP $CPPFLAGS'
63225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63228
63229       cat >conftest.$ac_ext <<_ACEOF
63230 /* confdefs.h.  */
63231 _ACEOF
63232 cat confdefs.h >>conftest.$ac_ext
63233 cat >>conftest.$ac_ext <<_ACEOF
63234 /* end confdefs.h.  */
63235 #include <math.h>
63236 int
63237 main ()
63238 {
63239  __builtin_cosl(0);
63240   ;
63241   return 0;
63242 }
63243 _ACEOF
63244 rm -f conftest.$ac_objext
63245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63246   (eval $ac_compile) 2>conftest.er1
63247   ac_status=$?
63248   grep -v '^ *+' conftest.er1 >conftest.err
63249   rm -f conftest.er1
63250   cat conftest.err >&5
63251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63252   (exit $ac_status); } &&
63253          { ac_try='test -z "$ac_cxx_werror_flag"
63254                          || test ! -s conftest.err'
63255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63256   (eval $ac_try) 2>&5
63257   ac_status=$?
63258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63259   (exit $ac_status); }; } &&
63260          { ac_try='test -s conftest.$ac_objext'
63261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63262   (eval $ac_try) 2>&5
63263   ac_status=$?
63264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63265   (exit $ac_status); }; }; then
63266   glibcxx_cv_func___builtin_cosl_use=yes
63267 else
63268   echo "$as_me: failed program was:" >&5
63269 sed 's/^/| /' conftest.$ac_ext >&5
63270
63271 glibcxx_cv_func___builtin_cosl_use=no
63272 fi
63273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63274       ac_ext=c
63275 ac_cpp='$CPP $CPPFLAGS'
63276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63279
63280
63281 fi
63282
63283   fi
63284   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63285 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63286   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63287     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63288 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63289     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63290       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63291   echo $ECHO_N "(cached) $ECHO_C" >&6
63292 else
63293
63294         if test x$gcc_no_link = xyes; then
63295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63297    { (exit 1); exit 1; }; }
63298 fi
63299 cat >conftest.$ac_ext <<_ACEOF
63300 /* confdefs.h.  */
63301 _ACEOF
63302 cat confdefs.h >>conftest.$ac_ext
63303 cat >>conftest.$ac_ext <<_ACEOF
63304 /* end confdefs.h.  */
63305 #include <math.h>
63306 int
63307 main ()
63308 {
63309  __builtin_cosl(0);
63310   ;
63311   return 0;
63312 }
63313 _ACEOF
63314 rm -f conftest.$ac_objext conftest$ac_exeext
63315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63316   (eval $ac_link) 2>conftest.er1
63317   ac_status=$?
63318   grep -v '^ *+' conftest.er1 >conftest.err
63319   rm -f conftest.er1
63320   cat conftest.err >&5
63321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63322   (exit $ac_status); } &&
63323          { ac_try='test -z "$ac_c_werror_flag"
63324                          || test ! -s conftest.err'
63325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63326   (eval $ac_try) 2>&5
63327   ac_status=$?
63328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63329   (exit $ac_status); }; } &&
63330          { ac_try='test -s conftest$ac_exeext'
63331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332   (eval $ac_try) 2>&5
63333   ac_status=$?
63334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335   (exit $ac_status); }; }; then
63336   glibcxx_cv_func___builtin_cosl_link=yes
63337 else
63338   echo "$as_me: failed program was:" >&5
63339 sed 's/^/| /' conftest.$ac_ext >&5
63340
63341 glibcxx_cv_func___builtin_cosl_link=no
63342 fi
63343 rm -f conftest.err conftest.$ac_objext \
63344       conftest$ac_exeext conftest.$ac_ext
63345
63346 fi
63347
63348     fi
63349     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63350 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63351
63352     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63353
63354 cat >>confdefs.h <<\_ACEOF
63355 #define HAVE___BUILTIN_COSL 1
63356 _ACEOF
63357
63358     fi
63359
63360   fi
63361
63362
63363
63364
63365 echo "$as_me:$LINENO: checking for main in -lm" >&5
63366 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63367 if test "${ac_cv_lib_m_main+set}" = set; then
63368   echo $ECHO_N "(cached) $ECHO_C" >&6
63369 else
63370   ac_check_lib_save_LIBS=$LIBS
63371 LIBS="-lm  $LIBS"
63372 if test x$gcc_no_link = xyes; then
63373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63375    { (exit 1); exit 1; }; }
63376 fi
63377 cat >conftest.$ac_ext <<_ACEOF
63378 /* confdefs.h.  */
63379 _ACEOF
63380 cat confdefs.h >>conftest.$ac_ext
63381 cat >>conftest.$ac_ext <<_ACEOF
63382 /* end confdefs.h.  */
63383
63384
63385 int
63386 main ()
63387 {
63388 main ();
63389   ;
63390   return 0;
63391 }
63392 _ACEOF
63393 rm -f conftest.$ac_objext conftest$ac_exeext
63394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63395   (eval $ac_link) 2>conftest.er1
63396   ac_status=$?
63397   grep -v '^ *+' conftest.er1 >conftest.err
63398   rm -f conftest.er1
63399   cat conftest.err >&5
63400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63401   (exit $ac_status); } &&
63402          { ac_try='test -z "$ac_c_werror_flag"
63403                          || test ! -s conftest.err'
63404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63405   (eval $ac_try) 2>&5
63406   ac_status=$?
63407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63408   (exit $ac_status); }; } &&
63409          { ac_try='test -s conftest$ac_exeext'
63410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63411   (eval $ac_try) 2>&5
63412   ac_status=$?
63413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63414   (exit $ac_status); }; }; then
63415   ac_cv_lib_m_main=yes
63416 else
63417   echo "$as_me: failed program was:" >&5
63418 sed 's/^/| /' conftest.$ac_ext >&5
63419
63420 ac_cv_lib_m_main=no
63421 fi
63422 rm -f conftest.err conftest.$ac_objext \
63423       conftest$ac_exeext conftest.$ac_ext
63424 LIBS=$ac_check_lib_save_LIBS
63425 fi
63426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63427 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63428 if test $ac_cv_lib_m_main = yes; then
63429   cat >>confdefs.h <<_ACEOF
63430 #define HAVE_LIBM 1
63431 _ACEOF
63432
63433   LIBS="-lm $LIBS"
63434
63435 fi
63436
63437
63438 for ac_func in copysignf
63439 do
63440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63441 echo "$as_me:$LINENO: checking for $ac_func" >&5
63442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63443 if eval "test \"\${$as_ac_var+set}\" = set"; then
63444   echo $ECHO_N "(cached) $ECHO_C" >&6
63445 else
63446   if test x$gcc_no_link = xyes; then
63447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63449    { (exit 1); exit 1; }; }
63450 fi
63451 cat >conftest.$ac_ext <<_ACEOF
63452 /* confdefs.h.  */
63453 _ACEOF
63454 cat confdefs.h >>conftest.$ac_ext
63455 cat >>conftest.$ac_ext <<_ACEOF
63456 /* end confdefs.h.  */
63457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63459 #define $ac_func innocuous_$ac_func
63460
63461 /* System header to define __stub macros and hopefully few prototypes,
63462     which can conflict with char $ac_func (); below.
63463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63464     <limits.h> exists even on freestanding compilers.  */
63465
63466 #ifdef __STDC__
63467 # include <limits.h>
63468 #else
63469 # include <assert.h>
63470 #endif
63471
63472 #undef $ac_func
63473
63474 /* Override any gcc2 internal prototype to avoid an error.  */
63475 #ifdef __cplusplus
63476 extern "C"
63477 {
63478 #endif
63479 /* We use char because int might match the return type of a gcc2
63480    builtin and then its argument prototype would still apply.  */
63481 char $ac_func ();
63482 /* The GNU C library defines this for functions which it implements
63483     to always fail with ENOSYS.  Some functions are actually named
63484     something starting with __ and the normal name is an alias.  */
63485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63486 choke me
63487 #else
63488 char (*f) () = $ac_func;
63489 #endif
63490 #ifdef __cplusplus
63491 }
63492 #endif
63493
63494 int
63495 main ()
63496 {
63497 return f != $ac_func;
63498   ;
63499   return 0;
63500 }
63501 _ACEOF
63502 rm -f conftest.$ac_objext conftest$ac_exeext
63503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63504   (eval $ac_link) 2>conftest.er1
63505   ac_status=$?
63506   grep -v '^ *+' conftest.er1 >conftest.err
63507   rm -f conftest.er1
63508   cat conftest.err >&5
63509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63510   (exit $ac_status); } &&
63511          { ac_try='test -z "$ac_c_werror_flag"
63512                          || test ! -s conftest.err'
63513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63514   (eval $ac_try) 2>&5
63515   ac_status=$?
63516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63517   (exit $ac_status); }; } &&
63518          { ac_try='test -s conftest$ac_exeext'
63519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63520   (eval $ac_try) 2>&5
63521   ac_status=$?
63522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63523   (exit $ac_status); }; }; then
63524   eval "$as_ac_var=yes"
63525 else
63526   echo "$as_me: failed program was:" >&5
63527 sed 's/^/| /' conftest.$ac_ext >&5
63528
63529 eval "$as_ac_var=no"
63530 fi
63531 rm -f conftest.err conftest.$ac_objext \
63532       conftest$ac_exeext conftest.$ac_ext
63533 fi
63534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63536 if test `eval echo '${'$as_ac_var'}'` = yes; then
63537   cat >>confdefs.h <<_ACEOF
63538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63539 _ACEOF
63540
63541 else
63542   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63543 fi
63544 done
63545
63546
63547
63548 for ac_func in __signbit
63549 do
63550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63551 echo "$as_me:$LINENO: checking for $ac_func" >&5
63552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63553 if eval "test \"\${$as_ac_var+set}\" = set"; then
63554   echo $ECHO_N "(cached) $ECHO_C" >&6
63555 else
63556   if test x$gcc_no_link = xyes; then
63557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63559    { (exit 1); exit 1; }; }
63560 fi
63561 cat >conftest.$ac_ext <<_ACEOF
63562 /* confdefs.h.  */
63563 _ACEOF
63564 cat confdefs.h >>conftest.$ac_ext
63565 cat >>conftest.$ac_ext <<_ACEOF
63566 /* end confdefs.h.  */
63567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63569 #define $ac_func innocuous_$ac_func
63570
63571 /* System header to define __stub macros and hopefully few prototypes,
63572     which can conflict with char $ac_func (); below.
63573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63574     <limits.h> exists even on freestanding compilers.  */
63575
63576 #ifdef __STDC__
63577 # include <limits.h>
63578 #else
63579 # include <assert.h>
63580 #endif
63581
63582 #undef $ac_func
63583
63584 /* Override any gcc2 internal prototype to avoid an error.  */
63585 #ifdef __cplusplus
63586 extern "C"
63587 {
63588 #endif
63589 /* We use char because int might match the return type of a gcc2
63590    builtin and then its argument prototype would still apply.  */
63591 char $ac_func ();
63592 /* The GNU C library defines this for functions which it implements
63593     to always fail with ENOSYS.  Some functions are actually named
63594     something starting with __ and the normal name is an alias.  */
63595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63596 choke me
63597 #else
63598 char (*f) () = $ac_func;
63599 #endif
63600 #ifdef __cplusplus
63601 }
63602 #endif
63603
63604 int
63605 main ()
63606 {
63607 return f != $ac_func;
63608   ;
63609   return 0;
63610 }
63611 _ACEOF
63612 rm -f conftest.$ac_objext conftest$ac_exeext
63613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63614   (eval $ac_link) 2>conftest.er1
63615   ac_status=$?
63616   grep -v '^ *+' conftest.er1 >conftest.err
63617   rm -f conftest.er1
63618   cat conftest.err >&5
63619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63620   (exit $ac_status); } &&
63621          { ac_try='test -z "$ac_c_werror_flag"
63622                          || test ! -s conftest.err'
63623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63624   (eval $ac_try) 2>&5
63625   ac_status=$?
63626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63627   (exit $ac_status); }; } &&
63628          { ac_try='test -s conftest$ac_exeext'
63629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63630   (eval $ac_try) 2>&5
63631   ac_status=$?
63632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63633   (exit $ac_status); }; }; then
63634   eval "$as_ac_var=yes"
63635 else
63636   echo "$as_me: failed program was:" >&5
63637 sed 's/^/| /' conftest.$ac_ext >&5
63638
63639 eval "$as_ac_var=no"
63640 fi
63641 rm -f conftest.err conftest.$ac_objext \
63642       conftest$ac_exeext conftest.$ac_ext
63643 fi
63644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63646 if test `eval echo '${'$as_ac_var'}'` = yes; then
63647   cat >>confdefs.h <<_ACEOF
63648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63649 _ACEOF
63650
63651 else
63652   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63653 fi
63654 done
63655
63656
63657
63658 for ac_func in __signbitf
63659 do
63660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63661 echo "$as_me:$LINENO: checking for $ac_func" >&5
63662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63663 if eval "test \"\${$as_ac_var+set}\" = set"; then
63664   echo $ECHO_N "(cached) $ECHO_C" >&6
63665 else
63666   if test x$gcc_no_link = xyes; then
63667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63669    { (exit 1); exit 1; }; }
63670 fi
63671 cat >conftest.$ac_ext <<_ACEOF
63672 /* confdefs.h.  */
63673 _ACEOF
63674 cat confdefs.h >>conftest.$ac_ext
63675 cat >>conftest.$ac_ext <<_ACEOF
63676 /* end confdefs.h.  */
63677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63679 #define $ac_func innocuous_$ac_func
63680
63681 /* System header to define __stub macros and hopefully few prototypes,
63682     which can conflict with char $ac_func (); below.
63683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63684     <limits.h> exists even on freestanding compilers.  */
63685
63686 #ifdef __STDC__
63687 # include <limits.h>
63688 #else
63689 # include <assert.h>
63690 #endif
63691
63692 #undef $ac_func
63693
63694 /* Override any gcc2 internal prototype to avoid an error.  */
63695 #ifdef __cplusplus
63696 extern "C"
63697 {
63698 #endif
63699 /* We use char because int might match the return type of a gcc2
63700    builtin and then its argument prototype would still apply.  */
63701 char $ac_func ();
63702 /* The GNU C library defines this for functions which it implements
63703     to always fail with ENOSYS.  Some functions are actually named
63704     something starting with __ and the normal name is an alias.  */
63705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63706 choke me
63707 #else
63708 char (*f) () = $ac_func;
63709 #endif
63710 #ifdef __cplusplus
63711 }
63712 #endif
63713
63714 int
63715 main ()
63716 {
63717 return f != $ac_func;
63718   ;
63719   return 0;
63720 }
63721 _ACEOF
63722 rm -f conftest.$ac_objext conftest$ac_exeext
63723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63724   (eval $ac_link) 2>conftest.er1
63725   ac_status=$?
63726   grep -v '^ *+' conftest.er1 >conftest.err
63727   rm -f conftest.er1
63728   cat conftest.err >&5
63729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63730   (exit $ac_status); } &&
63731          { ac_try='test -z "$ac_c_werror_flag"
63732                          || test ! -s conftest.err'
63733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63734   (eval $ac_try) 2>&5
63735   ac_status=$?
63736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63737   (exit $ac_status); }; } &&
63738          { ac_try='test -s conftest$ac_exeext'
63739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63740   (eval $ac_try) 2>&5
63741   ac_status=$?
63742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63743   (exit $ac_status); }; }; then
63744   eval "$as_ac_var=yes"
63745 else
63746   echo "$as_me: failed program was:" >&5
63747 sed 's/^/| /' conftest.$ac_ext >&5
63748
63749 eval "$as_ac_var=no"
63750 fi
63751 rm -f conftest.err conftest.$ac_objext \
63752       conftest$ac_exeext conftest.$ac_ext
63753 fi
63754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63756 if test `eval echo '${'$as_ac_var'}'` = yes; then
63757   cat >>confdefs.h <<_ACEOF
63758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63759 _ACEOF
63760
63761 else
63762   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63763 fi
63764 done
63765
63766
63767           if test x$ac_cv_func_copysignl = x"yes"; then
63768
63769 for ac_func in __signbitl
63770 do
63771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63772 echo "$as_me:$LINENO: checking for $ac_func" >&5
63773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63774 if eval "test \"\${$as_ac_var+set}\" = set"; then
63775   echo $ECHO_N "(cached) $ECHO_C" >&6
63776 else
63777   if test x$gcc_no_link = xyes; then
63778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63780    { (exit 1); exit 1; }; }
63781 fi
63782 cat >conftest.$ac_ext <<_ACEOF
63783 /* confdefs.h.  */
63784 _ACEOF
63785 cat confdefs.h >>conftest.$ac_ext
63786 cat >>conftest.$ac_ext <<_ACEOF
63787 /* end confdefs.h.  */
63788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63790 #define $ac_func innocuous_$ac_func
63791
63792 /* System header to define __stub macros and hopefully few prototypes,
63793     which can conflict with char $ac_func (); below.
63794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63795     <limits.h> exists even on freestanding compilers.  */
63796
63797 #ifdef __STDC__
63798 # include <limits.h>
63799 #else
63800 # include <assert.h>
63801 #endif
63802
63803 #undef $ac_func
63804
63805 /* Override any gcc2 internal prototype to avoid an error.  */
63806 #ifdef __cplusplus
63807 extern "C"
63808 {
63809 #endif
63810 /* We use char because int might match the return type of a gcc2
63811    builtin and then its argument prototype would still apply.  */
63812 char $ac_func ();
63813 /* The GNU C library defines this for functions which it implements
63814     to always fail with ENOSYS.  Some functions are actually named
63815     something starting with __ and the normal name is an alias.  */
63816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63817 choke me
63818 #else
63819 char (*f) () = $ac_func;
63820 #endif
63821 #ifdef __cplusplus
63822 }
63823 #endif
63824
63825 int
63826 main ()
63827 {
63828 return f != $ac_func;
63829   ;
63830   return 0;
63831 }
63832 _ACEOF
63833 rm -f conftest.$ac_objext conftest$ac_exeext
63834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63835   (eval $ac_link) 2>conftest.er1
63836   ac_status=$?
63837   grep -v '^ *+' conftest.er1 >conftest.err
63838   rm -f conftest.er1
63839   cat conftest.err >&5
63840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63841   (exit $ac_status); } &&
63842          { ac_try='test -z "$ac_c_werror_flag"
63843                          || test ! -s conftest.err'
63844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63845   (eval $ac_try) 2>&5
63846   ac_status=$?
63847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63848   (exit $ac_status); }; } &&
63849          { ac_try='test -s conftest$ac_exeext'
63850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63851   (eval $ac_try) 2>&5
63852   ac_status=$?
63853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63854   (exit $ac_status); }; }; then
63855   eval "$as_ac_var=yes"
63856 else
63857   echo "$as_me: failed program was:" >&5
63858 sed 's/^/| /' conftest.$ac_ext >&5
63859
63860 eval "$as_ac_var=no"
63861 fi
63862 rm -f conftest.err conftest.$ac_objext \
63863       conftest$ac_exeext conftest.$ac_ext
63864 fi
63865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63867 if test `eval echo '${'$as_ac_var'}'` = yes; then
63868   cat >>confdefs.h <<_ACEOF
63869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63870 _ACEOF
63871
63872 else
63873   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63874 fi
63875 done
63876
63877   fi
63878
63879   # Used in libmath/Makefile.am.
63880   if test -n "$LIBMATHOBJS"; then
63881     need_libmath=yes
63882   fi
63883
63884
63885
63886   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63887   ac_save_CXXFLAGS="$CXXFLAGS"
63888   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63889
63890
63891   echo "$as_me:$LINENO: checking for strtold declaration" >&5
63892 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63893   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63894     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63895   echo $ECHO_N "(cached) $ECHO_C" >&6
63896 else
63897
63898
63899
63900       ac_ext=cc
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63905
63906       cat >conftest.$ac_ext <<_ACEOF
63907 /* confdefs.h.  */
63908 _ACEOF
63909 cat confdefs.h >>conftest.$ac_ext
63910 cat >>conftest.$ac_ext <<_ACEOF
63911 /* end confdefs.h.  */
63912 #include <stdlib.h>
63913 int
63914 main ()
63915 {
63916  strtold(0, 0);
63917   ;
63918   return 0;
63919 }
63920 _ACEOF
63921 rm -f conftest.$ac_objext
63922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63923   (eval $ac_compile) 2>conftest.er1
63924   ac_status=$?
63925   grep -v '^ *+' conftest.er1 >conftest.err
63926   rm -f conftest.er1
63927   cat conftest.err >&5
63928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63929   (exit $ac_status); } &&
63930          { ac_try='test -z "$ac_cxx_werror_flag"
63931                          || test ! -s conftest.err'
63932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63933   (eval $ac_try) 2>&5
63934   ac_status=$?
63935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63936   (exit $ac_status); }; } &&
63937          { ac_try='test -s conftest.$ac_objext'
63938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63939   (eval $ac_try) 2>&5
63940   ac_status=$?
63941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63942   (exit $ac_status); }; }; then
63943   glibcxx_cv_func_strtold_use=yes
63944 else
63945   echo "$as_me: failed program was:" >&5
63946 sed 's/^/| /' conftest.$ac_ext >&5
63947
63948 glibcxx_cv_func_strtold_use=no
63949 fi
63950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63951       ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63956
63957
63958 fi
63959
63960   fi
63961   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63962 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63963   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63964
63965 for ac_func in strtold
63966 do
63967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63968 echo "$as_me:$LINENO: checking for $ac_func" >&5
63969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63970 if eval "test \"\${$as_ac_var+set}\" = set"; then
63971   echo $ECHO_N "(cached) $ECHO_C" >&6
63972 else
63973   if test x$gcc_no_link = xyes; then
63974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63976    { (exit 1); exit 1; }; }
63977 fi
63978 cat >conftest.$ac_ext <<_ACEOF
63979 /* confdefs.h.  */
63980 _ACEOF
63981 cat confdefs.h >>conftest.$ac_ext
63982 cat >>conftest.$ac_ext <<_ACEOF
63983 /* end confdefs.h.  */
63984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63986 #define $ac_func innocuous_$ac_func
63987
63988 /* System header to define __stub macros and hopefully few prototypes,
63989     which can conflict with char $ac_func (); below.
63990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63991     <limits.h> exists even on freestanding compilers.  */
63992
63993 #ifdef __STDC__
63994 # include <limits.h>
63995 #else
63996 # include <assert.h>
63997 #endif
63998
63999 #undef $ac_func
64000
64001 /* Override any gcc2 internal prototype to avoid an error.  */
64002 #ifdef __cplusplus
64003 extern "C"
64004 {
64005 #endif
64006 /* We use char because int might match the return type of a gcc2
64007    builtin and then its argument prototype would still apply.  */
64008 char $ac_func ();
64009 /* The GNU C library defines this for functions which it implements
64010     to always fail with ENOSYS.  Some functions are actually named
64011     something starting with __ and the normal name is an alias.  */
64012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64013 choke me
64014 #else
64015 char (*f) () = $ac_func;
64016 #endif
64017 #ifdef __cplusplus
64018 }
64019 #endif
64020
64021 int
64022 main ()
64023 {
64024 return f != $ac_func;
64025   ;
64026   return 0;
64027 }
64028 _ACEOF
64029 rm -f conftest.$ac_objext conftest$ac_exeext
64030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64031   (eval $ac_link) 2>conftest.er1
64032   ac_status=$?
64033   grep -v '^ *+' conftest.er1 >conftest.err
64034   rm -f conftest.er1
64035   cat conftest.err >&5
64036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64037   (exit $ac_status); } &&
64038          { ac_try='test -z "$ac_c_werror_flag"
64039                          || test ! -s conftest.err'
64040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64041   (eval $ac_try) 2>&5
64042   ac_status=$?
64043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64044   (exit $ac_status); }; } &&
64045          { ac_try='test -s conftest$ac_exeext'
64046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64047   (eval $ac_try) 2>&5
64048   ac_status=$?
64049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64050   (exit $ac_status); }; }; then
64051   eval "$as_ac_var=yes"
64052 else
64053   echo "$as_me: failed program was:" >&5
64054 sed 's/^/| /' conftest.$ac_ext >&5
64055
64056 eval "$as_ac_var=no"
64057 fi
64058 rm -f conftest.err conftest.$ac_objext \
64059       conftest$ac_exeext conftest.$ac_ext
64060 fi
64061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64063 if test `eval echo '${'$as_ac_var'}'` = yes; then
64064   cat >>confdefs.h <<_ACEOF
64065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64066 _ACEOF
64067
64068 fi
64069 done
64070
64071   fi
64072
64073
64074
64075
64076
64077   echo "$as_me:$LINENO: checking for strtof declaration" >&5
64078 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
64079   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64080     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
64081   echo $ECHO_N "(cached) $ECHO_C" >&6
64082 else
64083
64084
64085
64086       ac_ext=cc
64087 ac_cpp='$CXXCPP $CPPFLAGS'
64088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64091
64092       cat >conftest.$ac_ext <<_ACEOF
64093 /* confdefs.h.  */
64094 _ACEOF
64095 cat confdefs.h >>conftest.$ac_ext
64096 cat >>conftest.$ac_ext <<_ACEOF
64097 /* end confdefs.h.  */
64098 #include <stdlib.h>
64099 int
64100 main ()
64101 {
64102  strtof(0, 0);
64103   ;
64104   return 0;
64105 }
64106 _ACEOF
64107 rm -f conftest.$ac_objext
64108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64109   (eval $ac_compile) 2>conftest.er1
64110   ac_status=$?
64111   grep -v '^ *+' conftest.er1 >conftest.err
64112   rm -f conftest.er1
64113   cat conftest.err >&5
64114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64115   (exit $ac_status); } &&
64116          { ac_try='test -z "$ac_cxx_werror_flag"
64117                          || test ! -s conftest.err'
64118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64119   (eval $ac_try) 2>&5
64120   ac_status=$?
64121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64122   (exit $ac_status); }; } &&
64123          { ac_try='test -s conftest.$ac_objext'
64124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64125   (eval $ac_try) 2>&5
64126   ac_status=$?
64127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64128   (exit $ac_status); }; }; then
64129   glibcxx_cv_func_strtof_use=yes
64130 else
64131   echo "$as_me: failed program was:" >&5
64132 sed 's/^/| /' conftest.$ac_ext >&5
64133
64134 glibcxx_cv_func_strtof_use=no
64135 fi
64136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64137       ac_ext=c
64138 ac_cpp='$CPP $CPPFLAGS'
64139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64142
64143
64144 fi
64145
64146   fi
64147   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
64148 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
64149   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64150
64151 for ac_func in strtof
64152 do
64153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64154 echo "$as_me:$LINENO: checking for $ac_func" >&5
64155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64156 if eval "test \"\${$as_ac_var+set}\" = set"; then
64157   echo $ECHO_N "(cached) $ECHO_C" >&6
64158 else
64159   if test x$gcc_no_link = xyes; then
64160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64162    { (exit 1); exit 1; }; }
64163 fi
64164 cat >conftest.$ac_ext <<_ACEOF
64165 /* confdefs.h.  */
64166 _ACEOF
64167 cat confdefs.h >>conftest.$ac_ext
64168 cat >>conftest.$ac_ext <<_ACEOF
64169 /* end confdefs.h.  */
64170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64172 #define $ac_func innocuous_$ac_func
64173
64174 /* System header to define __stub macros and hopefully few prototypes,
64175     which can conflict with char $ac_func (); below.
64176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64177     <limits.h> exists even on freestanding compilers.  */
64178
64179 #ifdef __STDC__
64180 # include <limits.h>
64181 #else
64182 # include <assert.h>
64183 #endif
64184
64185 #undef $ac_func
64186
64187 /* Override any gcc2 internal prototype to avoid an error.  */
64188 #ifdef __cplusplus
64189 extern "C"
64190 {
64191 #endif
64192 /* We use char because int might match the return type of a gcc2
64193    builtin and then its argument prototype would still apply.  */
64194 char $ac_func ();
64195 /* The GNU C library defines this for functions which it implements
64196     to always fail with ENOSYS.  Some functions are actually named
64197     something starting with __ and the normal name is an alias.  */
64198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64199 choke me
64200 #else
64201 char (*f) () = $ac_func;
64202 #endif
64203 #ifdef __cplusplus
64204 }
64205 #endif
64206
64207 int
64208 main ()
64209 {
64210 return f != $ac_func;
64211   ;
64212   return 0;
64213 }
64214 _ACEOF
64215 rm -f conftest.$ac_objext conftest$ac_exeext
64216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64217   (eval $ac_link) 2>conftest.er1
64218   ac_status=$?
64219   grep -v '^ *+' conftest.er1 >conftest.err
64220   rm -f conftest.er1
64221   cat conftest.err >&5
64222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64223   (exit $ac_status); } &&
64224          { ac_try='test -z "$ac_c_werror_flag"
64225                          || test ! -s conftest.err'
64226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227   (eval $ac_try) 2>&5
64228   ac_status=$?
64229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230   (exit $ac_status); }; } &&
64231          { ac_try='test -s conftest$ac_exeext'
64232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64233   (eval $ac_try) 2>&5
64234   ac_status=$?
64235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64236   (exit $ac_status); }; }; then
64237   eval "$as_ac_var=yes"
64238 else
64239   echo "$as_me: failed program was:" >&5
64240 sed 's/^/| /' conftest.$ac_ext >&5
64241
64242 eval "$as_ac_var=no"
64243 fi
64244 rm -f conftest.err conftest.$ac_objext \
64245       conftest$ac_exeext conftest.$ac_ext
64246 fi
64247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64249 if test `eval echo '${'$as_ac_var'}'` = yes; then
64250   cat >>confdefs.h <<_ACEOF
64251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64252 _ACEOF
64253
64254 fi
64255 done
64256
64257   fi
64258
64259
64260
64261
64262
64263   CXXFLAGS="$ac_save_CXXFLAGS"
64264
64265
64266   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
64267 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
64268   if test "${glibcxx_cv_S_ISREG+set}" = set; then
64269   echo $ECHO_N "(cached) $ECHO_C" >&6
64270 else
64271
64272     if test x$gcc_no_link = xyes; then
64273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64275    { (exit 1); exit 1; }; }
64276 fi
64277 cat >conftest.$ac_ext <<_ACEOF
64278 /* confdefs.h.  */
64279 _ACEOF
64280 cat confdefs.h >>conftest.$ac_ext
64281 cat >>conftest.$ac_ext <<_ACEOF
64282 /* end confdefs.h.  */
64283 #include <sys/stat.h>
64284 int
64285 main ()
64286 {
64287 struct stat buffer;
64288        fstat(0, &buffer);
64289        S_ISREG(buffer.st_mode);
64290   ;
64291   return 0;
64292 }
64293 _ACEOF
64294 rm -f conftest.$ac_objext conftest$ac_exeext
64295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64296   (eval $ac_link) 2>conftest.er1
64297   ac_status=$?
64298   grep -v '^ *+' conftest.er1 >conftest.err
64299   rm -f conftest.er1
64300   cat conftest.err >&5
64301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302   (exit $ac_status); } &&
64303          { ac_try='test -z "$ac_c_werror_flag"
64304                          || test ! -s conftest.err'
64305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64306   (eval $ac_try) 2>&5
64307   ac_status=$?
64308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64309   (exit $ac_status); }; } &&
64310          { ac_try='test -s conftest$ac_exeext'
64311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64312   (eval $ac_try) 2>&5
64313   ac_status=$?
64314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64315   (exit $ac_status); }; }; then
64316   glibcxx_cv_S_ISREG=yes
64317 else
64318   echo "$as_me: failed program was:" >&5
64319 sed 's/^/| /' conftest.$ac_ext >&5
64320
64321 glibcxx_cv_S_ISREG=no
64322 fi
64323 rm -f conftest.err conftest.$ac_objext \
64324       conftest$ac_exeext conftest.$ac_ext
64325
64326 fi
64327
64328   if test "${glibcxx_cv_S_IFREG+set}" = set; then
64329   echo $ECHO_N "(cached) $ECHO_C" >&6
64330 else
64331
64332     if test x$gcc_no_link = xyes; then
64333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64335    { (exit 1); exit 1; }; }
64336 fi
64337 cat >conftest.$ac_ext <<_ACEOF
64338 /* confdefs.h.  */
64339 _ACEOF
64340 cat confdefs.h >>conftest.$ac_ext
64341 cat >>conftest.$ac_ext <<_ACEOF
64342 /* end confdefs.h.  */
64343 #include <sys/stat.h>
64344 int
64345 main ()
64346 {
64347 struct stat buffer;
64348        fstat(0, &buffer);
64349        S_IFREG & buffer.st_mode;
64350   ;
64351   return 0;
64352 }
64353 _ACEOF
64354 rm -f conftest.$ac_objext conftest$ac_exeext
64355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64356   (eval $ac_link) 2>conftest.er1
64357   ac_status=$?
64358   grep -v '^ *+' conftest.er1 >conftest.err
64359   rm -f conftest.er1
64360   cat conftest.err >&5
64361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64362   (exit $ac_status); } &&
64363          { ac_try='test -z "$ac_c_werror_flag"
64364                          || test ! -s conftest.err'
64365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64366   (eval $ac_try) 2>&5
64367   ac_status=$?
64368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64369   (exit $ac_status); }; } &&
64370          { ac_try='test -s conftest$ac_exeext'
64371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64372   (eval $ac_try) 2>&5
64373   ac_status=$?
64374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64375   (exit $ac_status); }; }; then
64376   glibcxx_cv_S_IFREG=yes
64377 else
64378   echo "$as_me: failed program was:" >&5
64379 sed 's/^/| /' conftest.$ac_ext >&5
64380
64381 glibcxx_cv_S_IFREG=no
64382 fi
64383 rm -f conftest.err conftest.$ac_objext \
64384       conftest$ac_exeext conftest.$ac_ext
64385
64386 fi
64387
64388   res=no
64389   if test $glibcxx_cv_S_ISREG = yes; then
64390
64391 cat >>confdefs.h <<\_ACEOF
64392 #define HAVE_S_ISREG 1
64393 _ACEOF
64394
64395     res=S_ISREG
64396   elif test $glibcxx_cv_S_IFREG = yes; then
64397
64398 cat >>confdefs.h <<\_ACEOF
64399 #define HAVE_S_IFREG 1
64400 _ACEOF
64401
64402     res=S_IFREG
64403   fi
64404   echo "$as_me:$LINENO: result: $res" >&5
64405 echo "${ECHO_T}$res" >&6
64406
64407     cat >>confdefs.h <<\_ACEOF
64408 #define HAVE_WRITEV 1
64409 _ACEOF
64410
64411
64412     cat >>confdefs.h <<\_ACEOF
64413 #define HAVE_LIBM 1
64414 _ACEOF
64415
64416     cat >>confdefs.h <<\_ACEOF
64417 #define HAVE_COPYSIGN 1
64418 _ACEOF
64419
64420     cat >>confdefs.h <<\_ACEOF
64421 #define HAVE_FINITE 1
64422 _ACEOF
64423
64424     cat >>confdefs.h <<\_ACEOF
64425 #define HAVE_HYPOT 1
64426 _ACEOF
64427
64428     cat >>confdefs.h <<\_ACEOF
64429 #define HAVE_ISNAN 1
64430 _ACEOF
64431
64432     cat >>confdefs.h <<\_ACEOF
64433 #define HAVE_ISINF 1
64434 _ACEOF
64435
64436
64437     cat >>confdefs.h <<\_ACEOF
64438 #define HAVE_LDEXPF 1
64439 _ACEOF
64440
64441     cat >>confdefs.h <<\_ACEOF
64442 #define HAVE_MODF 1
64443 _ACEOF
64444
64445     cat >>confdefs.h <<\_ACEOF
64446 #define HAVE_SQRTF 1
64447 _ACEOF
64448
64449     ;;
64450
64451   *-darwin*)
64452     # Darwin versions vary, but the linker should work in a cross environment,
64453     # so we just check for all the features here.
64454     # Check for available headers.
64455
64456
64457
64458
64459
64460
64461
64462
64463
64464
64465
64466
64467 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64468     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64469     sys/types.h
64470 do
64471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64473   echo "$as_me:$LINENO: checking for $ac_header" >&5
64474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64476   echo $ECHO_N "(cached) $ECHO_C" >&6
64477 fi
64478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64480 else
64481   # Is the header compilable?
64482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64484 cat >conftest.$ac_ext <<_ACEOF
64485 /* confdefs.h.  */
64486 _ACEOF
64487 cat confdefs.h >>conftest.$ac_ext
64488 cat >>conftest.$ac_ext <<_ACEOF
64489 /* end confdefs.h.  */
64490 $ac_includes_default
64491 #include <$ac_header>
64492 _ACEOF
64493 rm -f conftest.$ac_objext
64494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64495   (eval $ac_compile) 2>conftest.er1
64496   ac_status=$?
64497   grep -v '^ *+' conftest.er1 >conftest.err
64498   rm -f conftest.er1
64499   cat conftest.err >&5
64500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64501   (exit $ac_status); } &&
64502          { ac_try='test -z "$ac_c_werror_flag"
64503                          || test ! -s conftest.err'
64504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64505   (eval $ac_try) 2>&5
64506   ac_status=$?
64507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64508   (exit $ac_status); }; } &&
64509          { ac_try='test -s conftest.$ac_objext'
64510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64511   (eval $ac_try) 2>&5
64512   ac_status=$?
64513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64514   (exit $ac_status); }; }; then
64515   ac_header_compiler=yes
64516 else
64517   echo "$as_me: failed program was:" >&5
64518 sed 's/^/| /' conftest.$ac_ext >&5
64519
64520 ac_header_compiler=no
64521 fi
64522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64524 echo "${ECHO_T}$ac_header_compiler" >&6
64525
64526 # Is the header present?
64527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64529 cat >conftest.$ac_ext <<_ACEOF
64530 /* confdefs.h.  */
64531 _ACEOF
64532 cat confdefs.h >>conftest.$ac_ext
64533 cat >>conftest.$ac_ext <<_ACEOF
64534 /* end confdefs.h.  */
64535 #include <$ac_header>
64536 _ACEOF
64537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64538   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64539   ac_status=$?
64540   grep -v '^ *+' conftest.er1 >conftest.err
64541   rm -f conftest.er1
64542   cat conftest.err >&5
64543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64544   (exit $ac_status); } >/dev/null; then
64545   if test -s conftest.err; then
64546     ac_cpp_err=$ac_c_preproc_warn_flag
64547     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64548   else
64549     ac_cpp_err=
64550   fi
64551 else
64552   ac_cpp_err=yes
64553 fi
64554 if test -z "$ac_cpp_err"; then
64555   ac_header_preproc=yes
64556 else
64557   echo "$as_me: failed program was:" >&5
64558 sed 's/^/| /' conftest.$ac_ext >&5
64559
64560   ac_header_preproc=no
64561 fi
64562 rm -f conftest.err conftest.$ac_ext
64563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64564 echo "${ECHO_T}$ac_header_preproc" >&6
64565
64566 # So?  What about this header?
64567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64568   yes:no: )
64569     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64571     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64573     ac_header_preproc=yes
64574     ;;
64575   no:yes:* )
64576     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64578     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64579 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64580     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64582     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64583 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64584     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64586     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64588     (
64589       cat <<\_ASBOX
64590 ## ----------------------------------------- ##
64591 ## Report this to the package-unused lists.  ##
64592 ## ----------------------------------------- ##
64593 _ASBOX
64594     ) |
64595       sed "s/^/$as_me: WARNING:     /" >&2
64596     ;;
64597 esac
64598 echo "$as_me:$LINENO: checking for $ac_header" >&5
64599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64601   echo $ECHO_N "(cached) $ECHO_C" >&6
64602 else
64603   eval "$as_ac_Header=\$ac_header_preproc"
64604 fi
64605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64607
64608 fi
64609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64610   cat >>confdefs.h <<_ACEOF
64611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64612 _ACEOF
64613
64614 fi
64615
64616 done
64617
64618
64619     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64620
64621   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64622   ac_save_CXXFLAGS="$CXXFLAGS"
64623   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64624
64625     echo "$as_me:$LINENO: checking for sin in -lm" >&5
64626 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64627 if test "${ac_cv_lib_m_sin+set}" = set; then
64628   echo $ECHO_N "(cached) $ECHO_C" >&6
64629 else
64630   ac_check_lib_save_LIBS=$LIBS
64631 LIBS="-lm  $LIBS"
64632 if test x$gcc_no_link = xyes; then
64633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64635    { (exit 1); exit 1; }; }
64636 fi
64637 cat >conftest.$ac_ext <<_ACEOF
64638 /* confdefs.h.  */
64639 _ACEOF
64640 cat confdefs.h >>conftest.$ac_ext
64641 cat >>conftest.$ac_ext <<_ACEOF
64642 /* end confdefs.h.  */
64643
64644 /* Override any gcc2 internal prototype to avoid an error.  */
64645 #ifdef __cplusplus
64646 extern "C"
64647 #endif
64648 /* We use char because int might match the return type of a gcc2
64649    builtin and then its argument prototype would still apply.  */
64650 char sin ();
64651 int
64652 main ()
64653 {
64654 sin ();
64655   ;
64656   return 0;
64657 }
64658 _ACEOF
64659 rm -f conftest.$ac_objext conftest$ac_exeext
64660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64661   (eval $ac_link) 2>conftest.er1
64662   ac_status=$?
64663   grep -v '^ *+' conftest.er1 >conftest.err
64664   rm -f conftest.er1
64665   cat conftest.err >&5
64666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64667   (exit $ac_status); } &&
64668          { ac_try='test -z "$ac_c_werror_flag"
64669                          || test ! -s conftest.err'
64670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64671   (eval $ac_try) 2>&5
64672   ac_status=$?
64673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64674   (exit $ac_status); }; } &&
64675          { ac_try='test -s conftest$ac_exeext'
64676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64677   (eval $ac_try) 2>&5
64678   ac_status=$?
64679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64680   (exit $ac_status); }; }; then
64681   ac_cv_lib_m_sin=yes
64682 else
64683   echo "$as_me: failed program was:" >&5
64684 sed 's/^/| /' conftest.$ac_ext >&5
64685
64686 ac_cv_lib_m_sin=no
64687 fi
64688 rm -f conftest.err conftest.$ac_objext \
64689       conftest$ac_exeext conftest.$ac_ext
64690 LIBS=$ac_check_lib_save_LIBS
64691 fi
64692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64693 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64694 if test $ac_cv_lib_m_sin = yes; then
64695   libm="-lm"
64696 fi
64697
64698   ac_save_LIBS="$LIBS"
64699   LIBS="$LIBS $libm"
64700
64701
64702
64703   echo "$as_me:$LINENO: checking for isinf declaration" >&5
64704 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64705   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64706     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64707   echo $ECHO_N "(cached) $ECHO_C" >&6
64708 else
64709
64710
64711
64712       ac_ext=cc
64713 ac_cpp='$CXXCPP $CPPFLAGS'
64714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64717
64718       cat >conftest.$ac_ext <<_ACEOF
64719 /* confdefs.h.  */
64720 _ACEOF
64721 cat confdefs.h >>conftest.$ac_ext
64722 cat >>conftest.$ac_ext <<_ACEOF
64723 /* end confdefs.h.  */
64724 #include <math.h>
64725                       #ifdef HAVE_IEEEFP_H
64726                       #include <ieeefp.h>
64727                       #endif
64728
64729 int
64730 main ()
64731 {
64732  isinf(0);
64733   ;
64734   return 0;
64735 }
64736 _ACEOF
64737 rm -f conftest.$ac_objext
64738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64739   (eval $ac_compile) 2>conftest.er1
64740   ac_status=$?
64741   grep -v '^ *+' conftest.er1 >conftest.err
64742   rm -f conftest.er1
64743   cat conftest.err >&5
64744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64745   (exit $ac_status); } &&
64746          { ac_try='test -z "$ac_cxx_werror_flag"
64747                          || test ! -s conftest.err'
64748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64749   (eval $ac_try) 2>&5
64750   ac_status=$?
64751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64752   (exit $ac_status); }; } &&
64753          { ac_try='test -s conftest.$ac_objext'
64754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64755   (eval $ac_try) 2>&5
64756   ac_status=$?
64757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64758   (exit $ac_status); }; }; then
64759   glibcxx_cv_func_isinf_use=yes
64760 else
64761   echo "$as_me: failed program was:" >&5
64762 sed 's/^/| /' conftest.$ac_ext >&5
64763
64764 glibcxx_cv_func_isinf_use=no
64765 fi
64766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64767       ac_ext=c
64768 ac_cpp='$CPP $CPPFLAGS'
64769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64772
64773
64774 fi
64775
64776   fi
64777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64778 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64779
64780   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64781
64782 for ac_func in isinf
64783 do
64784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64785 echo "$as_me:$LINENO: checking for $ac_func" >&5
64786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64787 if eval "test \"\${$as_ac_var+set}\" = set"; then
64788   echo $ECHO_N "(cached) $ECHO_C" >&6
64789 else
64790   if test x$gcc_no_link = xyes; then
64791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64793    { (exit 1); exit 1; }; }
64794 fi
64795 cat >conftest.$ac_ext <<_ACEOF
64796 /* confdefs.h.  */
64797 _ACEOF
64798 cat confdefs.h >>conftest.$ac_ext
64799 cat >>conftest.$ac_ext <<_ACEOF
64800 /* end confdefs.h.  */
64801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64803 #define $ac_func innocuous_$ac_func
64804
64805 /* System header to define __stub macros and hopefully few prototypes,
64806     which can conflict with char $ac_func (); below.
64807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64808     <limits.h> exists even on freestanding compilers.  */
64809
64810 #ifdef __STDC__
64811 # include <limits.h>
64812 #else
64813 # include <assert.h>
64814 #endif
64815
64816 #undef $ac_func
64817
64818 /* Override any gcc2 internal prototype to avoid an error.  */
64819 #ifdef __cplusplus
64820 extern "C"
64821 {
64822 #endif
64823 /* We use char because int might match the return type of a gcc2
64824    builtin and then its argument prototype would still apply.  */
64825 char $ac_func ();
64826 /* The GNU C library defines this for functions which it implements
64827     to always fail with ENOSYS.  Some functions are actually named
64828     something starting with __ and the normal name is an alias.  */
64829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64830 choke me
64831 #else
64832 char (*f) () = $ac_func;
64833 #endif
64834 #ifdef __cplusplus
64835 }
64836 #endif
64837
64838 int
64839 main ()
64840 {
64841 return f != $ac_func;
64842   ;
64843   return 0;
64844 }
64845 _ACEOF
64846 rm -f conftest.$ac_objext conftest$ac_exeext
64847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64848   (eval $ac_link) 2>conftest.er1
64849   ac_status=$?
64850   grep -v '^ *+' conftest.er1 >conftest.err
64851   rm -f conftest.er1
64852   cat conftest.err >&5
64853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64854   (exit $ac_status); } &&
64855          { ac_try='test -z "$ac_c_werror_flag"
64856                          || test ! -s conftest.err'
64857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64858   (eval $ac_try) 2>&5
64859   ac_status=$?
64860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64861   (exit $ac_status); }; } &&
64862          { ac_try='test -s conftest$ac_exeext'
64863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64864   (eval $ac_try) 2>&5
64865   ac_status=$?
64866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64867   (exit $ac_status); }; }; then
64868   eval "$as_ac_var=yes"
64869 else
64870   echo "$as_me: failed program was:" >&5
64871 sed 's/^/| /' conftest.$ac_ext >&5
64872
64873 eval "$as_ac_var=no"
64874 fi
64875 rm -f conftest.err conftest.$ac_objext \
64876       conftest$ac_exeext conftest.$ac_ext
64877 fi
64878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64880 if test `eval echo '${'$as_ac_var'}'` = yes; then
64881   cat >>confdefs.h <<_ACEOF
64882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64883 _ACEOF
64884
64885 fi
64886 done
64887
64888   else
64889
64890   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64891 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64892   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64893     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64894   echo $ECHO_N "(cached) $ECHO_C" >&6
64895 else
64896
64897
64898
64899       ac_ext=cc
64900 ac_cpp='$CXXCPP $CPPFLAGS'
64901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64904
64905       cat >conftest.$ac_ext <<_ACEOF
64906 /* confdefs.h.  */
64907 _ACEOF
64908 cat confdefs.h >>conftest.$ac_ext
64909 cat >>conftest.$ac_ext <<_ACEOF
64910 /* end confdefs.h.  */
64911 #include <math.h>
64912                       #ifdef HAVE_IEEEFP_H
64913                       #include <ieeefp.h>
64914                       #endif
64915
64916 int
64917 main ()
64918 {
64919  _isinf(0);
64920   ;
64921   return 0;
64922 }
64923 _ACEOF
64924 rm -f conftest.$ac_objext
64925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64926   (eval $ac_compile) 2>conftest.er1
64927   ac_status=$?
64928   grep -v '^ *+' conftest.er1 >conftest.err
64929   rm -f conftest.er1
64930   cat conftest.err >&5
64931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64932   (exit $ac_status); } &&
64933          { ac_try='test -z "$ac_cxx_werror_flag"
64934                          || test ! -s conftest.err'
64935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64936   (eval $ac_try) 2>&5
64937   ac_status=$?
64938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64939   (exit $ac_status); }; } &&
64940          { ac_try='test -s conftest.$ac_objext'
64941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64942   (eval $ac_try) 2>&5
64943   ac_status=$?
64944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64945   (exit $ac_status); }; }; then
64946   glibcxx_cv_func__isinf_use=yes
64947 else
64948   echo "$as_me: failed program was:" >&5
64949 sed 's/^/| /' conftest.$ac_ext >&5
64950
64951 glibcxx_cv_func__isinf_use=no
64952 fi
64953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64954       ac_ext=c
64955 ac_cpp='$CPP $CPPFLAGS'
64956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64959
64960
64961 fi
64962
64963   fi
64964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64965 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64966
64967     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64968
64969 for ac_func in _isinf
64970 do
64971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64972 echo "$as_me:$LINENO: checking for $ac_func" >&5
64973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64974 if eval "test \"\${$as_ac_var+set}\" = set"; then
64975   echo $ECHO_N "(cached) $ECHO_C" >&6
64976 else
64977   if test x$gcc_no_link = xyes; then
64978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64980    { (exit 1); exit 1; }; }
64981 fi
64982 cat >conftest.$ac_ext <<_ACEOF
64983 /* confdefs.h.  */
64984 _ACEOF
64985 cat confdefs.h >>conftest.$ac_ext
64986 cat >>conftest.$ac_ext <<_ACEOF
64987 /* end confdefs.h.  */
64988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64990 #define $ac_func innocuous_$ac_func
64991
64992 /* System header to define __stub macros and hopefully few prototypes,
64993     which can conflict with char $ac_func (); below.
64994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64995     <limits.h> exists even on freestanding compilers.  */
64996
64997 #ifdef __STDC__
64998 # include <limits.h>
64999 #else
65000 # include <assert.h>
65001 #endif
65002
65003 #undef $ac_func
65004
65005 /* Override any gcc2 internal prototype to avoid an error.  */
65006 #ifdef __cplusplus
65007 extern "C"
65008 {
65009 #endif
65010 /* We use char because int might match the return type of a gcc2
65011    builtin and then its argument prototype would still apply.  */
65012 char $ac_func ();
65013 /* The GNU C library defines this for functions which it implements
65014     to always fail with ENOSYS.  Some functions are actually named
65015     something starting with __ and the normal name is an alias.  */
65016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65017 choke me
65018 #else
65019 char (*f) () = $ac_func;
65020 #endif
65021 #ifdef __cplusplus
65022 }
65023 #endif
65024
65025 int
65026 main ()
65027 {
65028 return f != $ac_func;
65029   ;
65030   return 0;
65031 }
65032 _ACEOF
65033 rm -f conftest.$ac_objext conftest$ac_exeext
65034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65035   (eval $ac_link) 2>conftest.er1
65036   ac_status=$?
65037   grep -v '^ *+' conftest.er1 >conftest.err
65038   rm -f conftest.er1
65039   cat conftest.err >&5
65040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65041   (exit $ac_status); } &&
65042          { ac_try='test -z "$ac_c_werror_flag"
65043                          || test ! -s conftest.err'
65044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65045   (eval $ac_try) 2>&5
65046   ac_status=$?
65047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65048   (exit $ac_status); }; } &&
65049          { ac_try='test -s conftest$ac_exeext'
65050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65051   (eval $ac_try) 2>&5
65052   ac_status=$?
65053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65054   (exit $ac_status); }; }; then
65055   eval "$as_ac_var=yes"
65056 else
65057   echo "$as_me: failed program was:" >&5
65058 sed 's/^/| /' conftest.$ac_ext >&5
65059
65060 eval "$as_ac_var=no"
65061 fi
65062 rm -f conftest.err conftest.$ac_objext \
65063       conftest$ac_exeext conftest.$ac_ext
65064 fi
65065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65067 if test `eval echo '${'$as_ac_var'}'` = yes; then
65068   cat >>confdefs.h <<_ACEOF
65069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65070 _ACEOF
65071
65072 fi
65073 done
65074
65075     fi
65076   fi
65077
65078
65079
65080
65081
65082
65083   echo "$as_me:$LINENO: checking for isnan declaration" >&5
65084 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65085   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65086     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65087   echo $ECHO_N "(cached) $ECHO_C" >&6
65088 else
65089
65090
65091
65092       ac_ext=cc
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65097
65098       cat >conftest.$ac_ext <<_ACEOF
65099 /* confdefs.h.  */
65100 _ACEOF
65101 cat confdefs.h >>conftest.$ac_ext
65102 cat >>conftest.$ac_ext <<_ACEOF
65103 /* end confdefs.h.  */
65104 #include <math.h>
65105                       #ifdef HAVE_IEEEFP_H
65106                       #include <ieeefp.h>
65107                       #endif
65108
65109 int
65110 main ()
65111 {
65112  isnan(0);
65113   ;
65114   return 0;
65115 }
65116 _ACEOF
65117 rm -f conftest.$ac_objext
65118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65119   (eval $ac_compile) 2>conftest.er1
65120   ac_status=$?
65121   grep -v '^ *+' conftest.er1 >conftest.err
65122   rm -f conftest.er1
65123   cat conftest.err >&5
65124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65125   (exit $ac_status); } &&
65126          { ac_try='test -z "$ac_cxx_werror_flag"
65127                          || test ! -s conftest.err'
65128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65129   (eval $ac_try) 2>&5
65130   ac_status=$?
65131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65132   (exit $ac_status); }; } &&
65133          { ac_try='test -s conftest.$ac_objext'
65134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65135   (eval $ac_try) 2>&5
65136   ac_status=$?
65137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65138   (exit $ac_status); }; }; then
65139   glibcxx_cv_func_isnan_use=yes
65140 else
65141   echo "$as_me: failed program was:" >&5
65142 sed 's/^/| /' conftest.$ac_ext >&5
65143
65144 glibcxx_cv_func_isnan_use=no
65145 fi
65146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65147       ac_ext=c
65148 ac_cpp='$CPP $CPPFLAGS'
65149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65152
65153
65154 fi
65155
65156   fi
65157   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65158 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65159
65160   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65161
65162 for ac_func in isnan
65163 do
65164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65165 echo "$as_me:$LINENO: checking for $ac_func" >&5
65166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65167 if eval "test \"\${$as_ac_var+set}\" = set"; then
65168   echo $ECHO_N "(cached) $ECHO_C" >&6
65169 else
65170   if test x$gcc_no_link = xyes; then
65171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65173    { (exit 1); exit 1; }; }
65174 fi
65175 cat >conftest.$ac_ext <<_ACEOF
65176 /* confdefs.h.  */
65177 _ACEOF
65178 cat confdefs.h >>conftest.$ac_ext
65179 cat >>conftest.$ac_ext <<_ACEOF
65180 /* end confdefs.h.  */
65181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65183 #define $ac_func innocuous_$ac_func
65184
65185 /* System header to define __stub macros and hopefully few prototypes,
65186     which can conflict with char $ac_func (); below.
65187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65188     <limits.h> exists even on freestanding compilers.  */
65189
65190 #ifdef __STDC__
65191 # include <limits.h>
65192 #else
65193 # include <assert.h>
65194 #endif
65195
65196 #undef $ac_func
65197
65198 /* Override any gcc2 internal prototype to avoid an error.  */
65199 #ifdef __cplusplus
65200 extern "C"
65201 {
65202 #endif
65203 /* We use char because int might match the return type of a gcc2
65204    builtin and then its argument prototype would still apply.  */
65205 char $ac_func ();
65206 /* The GNU C library defines this for functions which it implements
65207     to always fail with ENOSYS.  Some functions are actually named
65208     something starting with __ and the normal name is an alias.  */
65209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65210 choke me
65211 #else
65212 char (*f) () = $ac_func;
65213 #endif
65214 #ifdef __cplusplus
65215 }
65216 #endif
65217
65218 int
65219 main ()
65220 {
65221 return f != $ac_func;
65222   ;
65223   return 0;
65224 }
65225 _ACEOF
65226 rm -f conftest.$ac_objext conftest$ac_exeext
65227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65228   (eval $ac_link) 2>conftest.er1
65229   ac_status=$?
65230   grep -v '^ *+' conftest.er1 >conftest.err
65231   rm -f conftest.er1
65232   cat conftest.err >&5
65233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65234   (exit $ac_status); } &&
65235          { ac_try='test -z "$ac_c_werror_flag"
65236                          || test ! -s conftest.err'
65237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65238   (eval $ac_try) 2>&5
65239   ac_status=$?
65240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65241   (exit $ac_status); }; } &&
65242          { ac_try='test -s conftest$ac_exeext'
65243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65244   (eval $ac_try) 2>&5
65245   ac_status=$?
65246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65247   (exit $ac_status); }; }; then
65248   eval "$as_ac_var=yes"
65249 else
65250   echo "$as_me: failed program was:" >&5
65251 sed 's/^/| /' conftest.$ac_ext >&5
65252
65253 eval "$as_ac_var=no"
65254 fi
65255 rm -f conftest.err conftest.$ac_objext \
65256       conftest$ac_exeext conftest.$ac_ext
65257 fi
65258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65260 if test `eval echo '${'$as_ac_var'}'` = yes; then
65261   cat >>confdefs.h <<_ACEOF
65262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65263 _ACEOF
65264
65265 fi
65266 done
65267
65268   else
65269
65270   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65271 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65272   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65273     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65274   echo $ECHO_N "(cached) $ECHO_C" >&6
65275 else
65276
65277
65278
65279       ac_ext=cc
65280 ac_cpp='$CXXCPP $CPPFLAGS'
65281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65284
65285       cat >conftest.$ac_ext <<_ACEOF
65286 /* confdefs.h.  */
65287 _ACEOF
65288 cat confdefs.h >>conftest.$ac_ext
65289 cat >>conftest.$ac_ext <<_ACEOF
65290 /* end confdefs.h.  */
65291 #include <math.h>
65292                       #ifdef HAVE_IEEEFP_H
65293                       #include <ieeefp.h>
65294                       #endif
65295
65296 int
65297 main ()
65298 {
65299  _isnan(0);
65300   ;
65301   return 0;
65302 }
65303 _ACEOF
65304 rm -f conftest.$ac_objext
65305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65306   (eval $ac_compile) 2>conftest.er1
65307   ac_status=$?
65308   grep -v '^ *+' conftest.er1 >conftest.err
65309   rm -f conftest.er1
65310   cat conftest.err >&5
65311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65312   (exit $ac_status); } &&
65313          { ac_try='test -z "$ac_cxx_werror_flag"
65314                          || test ! -s conftest.err'
65315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65316   (eval $ac_try) 2>&5
65317   ac_status=$?
65318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65319   (exit $ac_status); }; } &&
65320          { ac_try='test -s conftest.$ac_objext'
65321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65322   (eval $ac_try) 2>&5
65323   ac_status=$?
65324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65325   (exit $ac_status); }; }; then
65326   glibcxx_cv_func__isnan_use=yes
65327 else
65328   echo "$as_me: failed program was:" >&5
65329 sed 's/^/| /' conftest.$ac_ext >&5
65330
65331 glibcxx_cv_func__isnan_use=no
65332 fi
65333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65334       ac_ext=c
65335 ac_cpp='$CPP $CPPFLAGS'
65336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65339
65340
65341 fi
65342
65343   fi
65344   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
65345 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
65346
65347     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65348
65349 for ac_func in _isnan
65350 do
65351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65352 echo "$as_me:$LINENO: checking for $ac_func" >&5
65353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65354 if eval "test \"\${$as_ac_var+set}\" = set"; then
65355   echo $ECHO_N "(cached) $ECHO_C" >&6
65356 else
65357   if test x$gcc_no_link = xyes; then
65358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65360    { (exit 1); exit 1; }; }
65361 fi
65362 cat >conftest.$ac_ext <<_ACEOF
65363 /* confdefs.h.  */
65364 _ACEOF
65365 cat confdefs.h >>conftest.$ac_ext
65366 cat >>conftest.$ac_ext <<_ACEOF
65367 /* end confdefs.h.  */
65368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65370 #define $ac_func innocuous_$ac_func
65371
65372 /* System header to define __stub macros and hopefully few prototypes,
65373     which can conflict with char $ac_func (); below.
65374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65375     <limits.h> exists even on freestanding compilers.  */
65376
65377 #ifdef __STDC__
65378 # include <limits.h>
65379 #else
65380 # include <assert.h>
65381 #endif
65382
65383 #undef $ac_func
65384
65385 /* Override any gcc2 internal prototype to avoid an error.  */
65386 #ifdef __cplusplus
65387 extern "C"
65388 {
65389 #endif
65390 /* We use char because int might match the return type of a gcc2
65391    builtin and then its argument prototype would still apply.  */
65392 char $ac_func ();
65393 /* The GNU C library defines this for functions which it implements
65394     to always fail with ENOSYS.  Some functions are actually named
65395     something starting with __ and the normal name is an alias.  */
65396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65397 choke me
65398 #else
65399 char (*f) () = $ac_func;
65400 #endif
65401 #ifdef __cplusplus
65402 }
65403 #endif
65404
65405 int
65406 main ()
65407 {
65408 return f != $ac_func;
65409   ;
65410   return 0;
65411 }
65412 _ACEOF
65413 rm -f conftest.$ac_objext conftest$ac_exeext
65414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65415   (eval $ac_link) 2>conftest.er1
65416   ac_status=$?
65417   grep -v '^ *+' conftest.er1 >conftest.err
65418   rm -f conftest.er1
65419   cat conftest.err >&5
65420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65421   (exit $ac_status); } &&
65422          { ac_try='test -z "$ac_c_werror_flag"
65423                          || test ! -s conftest.err'
65424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65425   (eval $ac_try) 2>&5
65426   ac_status=$?
65427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65428   (exit $ac_status); }; } &&
65429          { ac_try='test -s conftest$ac_exeext'
65430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65431   (eval $ac_try) 2>&5
65432   ac_status=$?
65433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65434   (exit $ac_status); }; }; then
65435   eval "$as_ac_var=yes"
65436 else
65437   echo "$as_me: failed program was:" >&5
65438 sed 's/^/| /' conftest.$ac_ext >&5
65439
65440 eval "$as_ac_var=no"
65441 fi
65442 rm -f conftest.err conftest.$ac_objext \
65443       conftest$ac_exeext conftest.$ac_ext
65444 fi
65445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65447 if test `eval echo '${'$as_ac_var'}'` = yes; then
65448   cat >>confdefs.h <<_ACEOF
65449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65450 _ACEOF
65451
65452 fi
65453 done
65454
65455     fi
65456   fi
65457
65458
65459
65460
65461
65462
65463   echo "$as_me:$LINENO: checking for finite declaration" >&5
65464 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65465   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65466     if test "${glibcxx_cv_func_finite_use+set}" = set; then
65467   echo $ECHO_N "(cached) $ECHO_C" >&6
65468 else
65469
65470
65471
65472       ac_ext=cc
65473 ac_cpp='$CXXCPP $CPPFLAGS'
65474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65477
65478       cat >conftest.$ac_ext <<_ACEOF
65479 /* confdefs.h.  */
65480 _ACEOF
65481 cat confdefs.h >>conftest.$ac_ext
65482 cat >>conftest.$ac_ext <<_ACEOF
65483 /* end confdefs.h.  */
65484 #include <math.h>
65485                       #ifdef HAVE_IEEEFP_H
65486                       #include <ieeefp.h>
65487                       #endif
65488
65489 int
65490 main ()
65491 {
65492  finite(0);
65493   ;
65494   return 0;
65495 }
65496 _ACEOF
65497 rm -f conftest.$ac_objext
65498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65499   (eval $ac_compile) 2>conftest.er1
65500   ac_status=$?
65501   grep -v '^ *+' conftest.er1 >conftest.err
65502   rm -f conftest.er1
65503   cat conftest.err >&5
65504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65505   (exit $ac_status); } &&
65506          { ac_try='test -z "$ac_cxx_werror_flag"
65507                          || test ! -s conftest.err'
65508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65509   (eval $ac_try) 2>&5
65510   ac_status=$?
65511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65512   (exit $ac_status); }; } &&
65513          { ac_try='test -s conftest.$ac_objext'
65514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65515   (eval $ac_try) 2>&5
65516   ac_status=$?
65517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65518   (exit $ac_status); }; }; then
65519   glibcxx_cv_func_finite_use=yes
65520 else
65521   echo "$as_me: failed program was:" >&5
65522 sed 's/^/| /' conftest.$ac_ext >&5
65523
65524 glibcxx_cv_func_finite_use=no
65525 fi
65526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65527       ac_ext=c
65528 ac_cpp='$CPP $CPPFLAGS'
65529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65532
65533
65534 fi
65535
65536   fi
65537   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65538 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65539
65540   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65541
65542 for ac_func in finite
65543 do
65544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65545 echo "$as_me:$LINENO: checking for $ac_func" >&5
65546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65547 if eval "test \"\${$as_ac_var+set}\" = set"; then
65548   echo $ECHO_N "(cached) $ECHO_C" >&6
65549 else
65550   if test x$gcc_no_link = xyes; then
65551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65553    { (exit 1); exit 1; }; }
65554 fi
65555 cat >conftest.$ac_ext <<_ACEOF
65556 /* confdefs.h.  */
65557 _ACEOF
65558 cat confdefs.h >>conftest.$ac_ext
65559 cat >>conftest.$ac_ext <<_ACEOF
65560 /* end confdefs.h.  */
65561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65563 #define $ac_func innocuous_$ac_func
65564
65565 /* System header to define __stub macros and hopefully few prototypes,
65566     which can conflict with char $ac_func (); below.
65567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65568     <limits.h> exists even on freestanding compilers.  */
65569
65570 #ifdef __STDC__
65571 # include <limits.h>
65572 #else
65573 # include <assert.h>
65574 #endif
65575
65576 #undef $ac_func
65577
65578 /* Override any gcc2 internal prototype to avoid an error.  */
65579 #ifdef __cplusplus
65580 extern "C"
65581 {
65582 #endif
65583 /* We use char because int might match the return type of a gcc2
65584    builtin and then its argument prototype would still apply.  */
65585 char $ac_func ();
65586 /* The GNU C library defines this for functions which it implements
65587     to always fail with ENOSYS.  Some functions are actually named
65588     something starting with __ and the normal name is an alias.  */
65589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65590 choke me
65591 #else
65592 char (*f) () = $ac_func;
65593 #endif
65594 #ifdef __cplusplus
65595 }
65596 #endif
65597
65598 int
65599 main ()
65600 {
65601 return f != $ac_func;
65602   ;
65603   return 0;
65604 }
65605 _ACEOF
65606 rm -f conftest.$ac_objext conftest$ac_exeext
65607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65608   (eval $ac_link) 2>conftest.er1
65609   ac_status=$?
65610   grep -v '^ *+' conftest.er1 >conftest.err
65611   rm -f conftest.er1
65612   cat conftest.err >&5
65613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614   (exit $ac_status); } &&
65615          { ac_try='test -z "$ac_c_werror_flag"
65616                          || test ! -s conftest.err'
65617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65618   (eval $ac_try) 2>&5
65619   ac_status=$?
65620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65621   (exit $ac_status); }; } &&
65622          { ac_try='test -s conftest$ac_exeext'
65623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65624   (eval $ac_try) 2>&5
65625   ac_status=$?
65626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65627   (exit $ac_status); }; }; then
65628   eval "$as_ac_var=yes"
65629 else
65630   echo "$as_me: failed program was:" >&5
65631 sed 's/^/| /' conftest.$ac_ext >&5
65632
65633 eval "$as_ac_var=no"
65634 fi
65635 rm -f conftest.err conftest.$ac_objext \
65636       conftest$ac_exeext conftest.$ac_ext
65637 fi
65638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65640 if test `eval echo '${'$as_ac_var'}'` = yes; then
65641   cat >>confdefs.h <<_ACEOF
65642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65643 _ACEOF
65644
65645 fi
65646 done
65647
65648   else
65649
65650   echo "$as_me:$LINENO: checking for _finite declaration" >&5
65651 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65652   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65653     if test "${glibcxx_cv_func__finite_use+set}" = set; then
65654   echo $ECHO_N "(cached) $ECHO_C" >&6
65655 else
65656
65657
65658
65659       ac_ext=cc
65660 ac_cpp='$CXXCPP $CPPFLAGS'
65661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65664
65665       cat >conftest.$ac_ext <<_ACEOF
65666 /* confdefs.h.  */
65667 _ACEOF
65668 cat confdefs.h >>conftest.$ac_ext
65669 cat >>conftest.$ac_ext <<_ACEOF
65670 /* end confdefs.h.  */
65671 #include <math.h>
65672                       #ifdef HAVE_IEEEFP_H
65673                       #include <ieeefp.h>
65674                       #endif
65675
65676 int
65677 main ()
65678 {
65679  _finite(0);
65680   ;
65681   return 0;
65682 }
65683 _ACEOF
65684 rm -f conftest.$ac_objext
65685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65686   (eval $ac_compile) 2>conftest.er1
65687   ac_status=$?
65688   grep -v '^ *+' conftest.er1 >conftest.err
65689   rm -f conftest.er1
65690   cat conftest.err >&5
65691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65692   (exit $ac_status); } &&
65693          { ac_try='test -z "$ac_cxx_werror_flag"
65694                          || test ! -s conftest.err'
65695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65696   (eval $ac_try) 2>&5
65697   ac_status=$?
65698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65699   (exit $ac_status); }; } &&
65700          { ac_try='test -s conftest.$ac_objext'
65701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65702   (eval $ac_try) 2>&5
65703   ac_status=$?
65704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65705   (exit $ac_status); }; }; then
65706   glibcxx_cv_func__finite_use=yes
65707 else
65708   echo "$as_me: failed program was:" >&5
65709 sed 's/^/| /' conftest.$ac_ext >&5
65710
65711 glibcxx_cv_func__finite_use=no
65712 fi
65713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65714       ac_ext=c
65715 ac_cpp='$CPP $CPPFLAGS'
65716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65719
65720
65721 fi
65722
65723   fi
65724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65725 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65726
65727     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65728
65729 for ac_func in _finite
65730 do
65731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65732 echo "$as_me:$LINENO: checking for $ac_func" >&5
65733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65734 if eval "test \"\${$as_ac_var+set}\" = set"; then
65735   echo $ECHO_N "(cached) $ECHO_C" >&6
65736 else
65737   if test x$gcc_no_link = xyes; then
65738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65740    { (exit 1); exit 1; }; }
65741 fi
65742 cat >conftest.$ac_ext <<_ACEOF
65743 /* confdefs.h.  */
65744 _ACEOF
65745 cat confdefs.h >>conftest.$ac_ext
65746 cat >>conftest.$ac_ext <<_ACEOF
65747 /* end confdefs.h.  */
65748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65750 #define $ac_func innocuous_$ac_func
65751
65752 /* System header to define __stub macros and hopefully few prototypes,
65753     which can conflict with char $ac_func (); below.
65754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65755     <limits.h> exists even on freestanding compilers.  */
65756
65757 #ifdef __STDC__
65758 # include <limits.h>
65759 #else
65760 # include <assert.h>
65761 #endif
65762
65763 #undef $ac_func
65764
65765 /* Override any gcc2 internal prototype to avoid an error.  */
65766 #ifdef __cplusplus
65767 extern "C"
65768 {
65769 #endif
65770 /* We use char because int might match the return type of a gcc2
65771    builtin and then its argument prototype would still apply.  */
65772 char $ac_func ();
65773 /* The GNU C library defines this for functions which it implements
65774     to always fail with ENOSYS.  Some functions are actually named
65775     something starting with __ and the normal name is an alias.  */
65776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65777 choke me
65778 #else
65779 char (*f) () = $ac_func;
65780 #endif
65781 #ifdef __cplusplus
65782 }
65783 #endif
65784
65785 int
65786 main ()
65787 {
65788 return f != $ac_func;
65789   ;
65790   return 0;
65791 }
65792 _ACEOF
65793 rm -f conftest.$ac_objext conftest$ac_exeext
65794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65795   (eval $ac_link) 2>conftest.er1
65796   ac_status=$?
65797   grep -v '^ *+' conftest.er1 >conftest.err
65798   rm -f conftest.er1
65799   cat conftest.err >&5
65800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801   (exit $ac_status); } &&
65802          { ac_try='test -z "$ac_c_werror_flag"
65803                          || test ! -s conftest.err'
65804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65805   (eval $ac_try) 2>&5
65806   ac_status=$?
65807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65808   (exit $ac_status); }; } &&
65809          { ac_try='test -s conftest$ac_exeext'
65810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65811   (eval $ac_try) 2>&5
65812   ac_status=$?
65813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65814   (exit $ac_status); }; }; then
65815   eval "$as_ac_var=yes"
65816 else
65817   echo "$as_me: failed program was:" >&5
65818 sed 's/^/| /' conftest.$ac_ext >&5
65819
65820 eval "$as_ac_var=no"
65821 fi
65822 rm -f conftest.err conftest.$ac_objext \
65823       conftest$ac_exeext conftest.$ac_ext
65824 fi
65825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65827 if test `eval echo '${'$as_ac_var'}'` = yes; then
65828   cat >>confdefs.h <<_ACEOF
65829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65830 _ACEOF
65831
65832 fi
65833 done
65834
65835     fi
65836   fi
65837
65838
65839
65840
65841
65842
65843   echo "$as_me:$LINENO: checking for copysign declaration" >&5
65844 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65845   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65846     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65847   echo $ECHO_N "(cached) $ECHO_C" >&6
65848 else
65849
65850
65851
65852       ac_ext=cc
65853 ac_cpp='$CXXCPP $CPPFLAGS'
65854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65857
65858       cat >conftest.$ac_ext <<_ACEOF
65859 /* confdefs.h.  */
65860 _ACEOF
65861 cat confdefs.h >>conftest.$ac_ext
65862 cat >>conftest.$ac_ext <<_ACEOF
65863 /* end confdefs.h.  */
65864 #include <math.h>
65865 int
65866 main ()
65867 {
65868  copysign(0, 0);
65869   ;
65870   return 0;
65871 }
65872 _ACEOF
65873 rm -f conftest.$ac_objext
65874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65875   (eval $ac_compile) 2>conftest.er1
65876   ac_status=$?
65877   grep -v '^ *+' conftest.er1 >conftest.err
65878   rm -f conftest.er1
65879   cat conftest.err >&5
65880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65881   (exit $ac_status); } &&
65882          { ac_try='test -z "$ac_cxx_werror_flag"
65883                          || test ! -s conftest.err'
65884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65885   (eval $ac_try) 2>&5
65886   ac_status=$?
65887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65888   (exit $ac_status); }; } &&
65889          { ac_try='test -s conftest.$ac_objext'
65890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65891   (eval $ac_try) 2>&5
65892   ac_status=$?
65893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65894   (exit $ac_status); }; }; then
65895   glibcxx_cv_func_copysign_use=yes
65896 else
65897   echo "$as_me: failed program was:" >&5
65898 sed 's/^/| /' conftest.$ac_ext >&5
65899
65900 glibcxx_cv_func_copysign_use=no
65901 fi
65902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65903       ac_ext=c
65904 ac_cpp='$CPP $CPPFLAGS'
65905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65908
65909
65910 fi
65911
65912   fi
65913   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65914 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65915
65916   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65917
65918 for ac_func in copysign
65919 do
65920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65921 echo "$as_me:$LINENO: checking for $ac_func" >&5
65922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65923 if eval "test \"\${$as_ac_var+set}\" = set"; then
65924   echo $ECHO_N "(cached) $ECHO_C" >&6
65925 else
65926   if test x$gcc_no_link = xyes; then
65927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65929    { (exit 1); exit 1; }; }
65930 fi
65931 cat >conftest.$ac_ext <<_ACEOF
65932 /* confdefs.h.  */
65933 _ACEOF
65934 cat confdefs.h >>conftest.$ac_ext
65935 cat >>conftest.$ac_ext <<_ACEOF
65936 /* end confdefs.h.  */
65937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65939 #define $ac_func innocuous_$ac_func
65940
65941 /* System header to define __stub macros and hopefully few prototypes,
65942     which can conflict with char $ac_func (); below.
65943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65944     <limits.h> exists even on freestanding compilers.  */
65945
65946 #ifdef __STDC__
65947 # include <limits.h>
65948 #else
65949 # include <assert.h>
65950 #endif
65951
65952 #undef $ac_func
65953
65954 /* Override any gcc2 internal prototype to avoid an error.  */
65955 #ifdef __cplusplus
65956 extern "C"
65957 {
65958 #endif
65959 /* We use char because int might match the return type of a gcc2
65960    builtin and then its argument prototype would still apply.  */
65961 char $ac_func ();
65962 /* The GNU C library defines this for functions which it implements
65963     to always fail with ENOSYS.  Some functions are actually named
65964     something starting with __ and the normal name is an alias.  */
65965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65966 choke me
65967 #else
65968 char (*f) () = $ac_func;
65969 #endif
65970 #ifdef __cplusplus
65971 }
65972 #endif
65973
65974 int
65975 main ()
65976 {
65977 return f != $ac_func;
65978   ;
65979   return 0;
65980 }
65981 _ACEOF
65982 rm -f conftest.$ac_objext conftest$ac_exeext
65983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65984   (eval $ac_link) 2>conftest.er1
65985   ac_status=$?
65986   grep -v '^ *+' conftest.er1 >conftest.err
65987   rm -f conftest.er1
65988   cat conftest.err >&5
65989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65990   (exit $ac_status); } &&
65991          { ac_try='test -z "$ac_c_werror_flag"
65992                          || test ! -s conftest.err'
65993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65994   (eval $ac_try) 2>&5
65995   ac_status=$?
65996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65997   (exit $ac_status); }; } &&
65998          { ac_try='test -s conftest$ac_exeext'
65999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66000   (eval $ac_try) 2>&5
66001   ac_status=$?
66002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66003   (exit $ac_status); }; }; then
66004   eval "$as_ac_var=yes"
66005 else
66006   echo "$as_me: failed program was:" >&5
66007 sed 's/^/| /' conftest.$ac_ext >&5
66008
66009 eval "$as_ac_var=no"
66010 fi
66011 rm -f conftest.err conftest.$ac_objext \
66012       conftest$ac_exeext conftest.$ac_ext
66013 fi
66014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66016 if test `eval echo '${'$as_ac_var'}'` = yes; then
66017   cat >>confdefs.h <<_ACEOF
66018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66019 _ACEOF
66020
66021 fi
66022 done
66023
66024   else
66025
66026   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66027 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66028   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66029     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66030   echo $ECHO_N "(cached) $ECHO_C" >&6
66031 else
66032
66033
66034
66035       ac_ext=cc
66036 ac_cpp='$CXXCPP $CPPFLAGS'
66037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66040
66041       cat >conftest.$ac_ext <<_ACEOF
66042 /* confdefs.h.  */
66043 _ACEOF
66044 cat confdefs.h >>conftest.$ac_ext
66045 cat >>conftest.$ac_ext <<_ACEOF
66046 /* end confdefs.h.  */
66047 #include <math.h>
66048 int
66049 main ()
66050 {
66051  _copysign(0, 0);
66052   ;
66053   return 0;
66054 }
66055 _ACEOF
66056 rm -f conftest.$ac_objext
66057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66058   (eval $ac_compile) 2>conftest.er1
66059   ac_status=$?
66060   grep -v '^ *+' conftest.er1 >conftest.err
66061   rm -f conftest.er1
66062   cat conftest.err >&5
66063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66064   (exit $ac_status); } &&
66065          { ac_try='test -z "$ac_cxx_werror_flag"
66066                          || test ! -s conftest.err'
66067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66068   (eval $ac_try) 2>&5
66069   ac_status=$?
66070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071   (exit $ac_status); }; } &&
66072          { ac_try='test -s conftest.$ac_objext'
66073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66074   (eval $ac_try) 2>&5
66075   ac_status=$?
66076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66077   (exit $ac_status); }; }; then
66078   glibcxx_cv_func__copysign_use=yes
66079 else
66080   echo "$as_me: failed program was:" >&5
66081 sed 's/^/| /' conftest.$ac_ext >&5
66082
66083 glibcxx_cv_func__copysign_use=no
66084 fi
66085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66086       ac_ext=c
66087 ac_cpp='$CPP $CPPFLAGS'
66088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66091
66092
66093 fi
66094
66095   fi
66096   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66097 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66098
66099     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66100
66101 for ac_func in _copysign
66102 do
66103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66104 echo "$as_me:$LINENO: checking for $ac_func" >&5
66105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66106 if eval "test \"\${$as_ac_var+set}\" = set"; then
66107   echo $ECHO_N "(cached) $ECHO_C" >&6
66108 else
66109   if test x$gcc_no_link = xyes; then
66110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66112    { (exit 1); exit 1; }; }
66113 fi
66114 cat >conftest.$ac_ext <<_ACEOF
66115 /* confdefs.h.  */
66116 _ACEOF
66117 cat confdefs.h >>conftest.$ac_ext
66118 cat >>conftest.$ac_ext <<_ACEOF
66119 /* end confdefs.h.  */
66120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66122 #define $ac_func innocuous_$ac_func
66123
66124 /* System header to define __stub macros and hopefully few prototypes,
66125     which can conflict with char $ac_func (); below.
66126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66127     <limits.h> exists even on freestanding compilers.  */
66128
66129 #ifdef __STDC__
66130 # include <limits.h>
66131 #else
66132 # include <assert.h>
66133 #endif
66134
66135 #undef $ac_func
66136
66137 /* Override any gcc2 internal prototype to avoid an error.  */
66138 #ifdef __cplusplus
66139 extern "C"
66140 {
66141 #endif
66142 /* We use char because int might match the return type of a gcc2
66143    builtin and then its argument prototype would still apply.  */
66144 char $ac_func ();
66145 /* The GNU C library defines this for functions which it implements
66146     to always fail with ENOSYS.  Some functions are actually named
66147     something starting with __ and the normal name is an alias.  */
66148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66149 choke me
66150 #else
66151 char (*f) () = $ac_func;
66152 #endif
66153 #ifdef __cplusplus
66154 }
66155 #endif
66156
66157 int
66158 main ()
66159 {
66160 return f != $ac_func;
66161   ;
66162   return 0;
66163 }
66164 _ACEOF
66165 rm -f conftest.$ac_objext conftest$ac_exeext
66166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66167   (eval $ac_link) 2>conftest.er1
66168   ac_status=$?
66169   grep -v '^ *+' conftest.er1 >conftest.err
66170   rm -f conftest.er1
66171   cat conftest.err >&5
66172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66173   (exit $ac_status); } &&
66174          { ac_try='test -z "$ac_c_werror_flag"
66175                          || test ! -s conftest.err'
66176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66177   (eval $ac_try) 2>&5
66178   ac_status=$?
66179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66180   (exit $ac_status); }; } &&
66181          { ac_try='test -s conftest$ac_exeext'
66182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66183   (eval $ac_try) 2>&5
66184   ac_status=$?
66185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66186   (exit $ac_status); }; }; then
66187   eval "$as_ac_var=yes"
66188 else
66189   echo "$as_me: failed program was:" >&5
66190 sed 's/^/| /' conftest.$ac_ext >&5
66191
66192 eval "$as_ac_var=no"
66193 fi
66194 rm -f conftest.err conftest.$ac_objext \
66195       conftest$ac_exeext conftest.$ac_ext
66196 fi
66197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66199 if test `eval echo '${'$as_ac_var'}'` = yes; then
66200   cat >>confdefs.h <<_ACEOF
66201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66202 _ACEOF
66203
66204 fi
66205 done
66206
66207     fi
66208   fi
66209
66210
66211
66212
66213
66214
66215   echo "$as_me:$LINENO: checking for sincos declaration" >&5
66216 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66217   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66218     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66219   echo $ECHO_N "(cached) $ECHO_C" >&6
66220 else
66221
66222
66223
66224       ac_ext=cc
66225 ac_cpp='$CXXCPP $CPPFLAGS'
66226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66229
66230       cat >conftest.$ac_ext <<_ACEOF
66231 /* confdefs.h.  */
66232 _ACEOF
66233 cat confdefs.h >>conftest.$ac_ext
66234 cat >>conftest.$ac_ext <<_ACEOF
66235 /* end confdefs.h.  */
66236 #include <math.h>
66237 int
66238 main ()
66239 {
66240  sincos(0, 0, 0);
66241   ;
66242   return 0;
66243 }
66244 _ACEOF
66245 rm -f conftest.$ac_objext
66246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66247   (eval $ac_compile) 2>conftest.er1
66248   ac_status=$?
66249   grep -v '^ *+' conftest.er1 >conftest.err
66250   rm -f conftest.er1
66251   cat conftest.err >&5
66252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66253   (exit $ac_status); } &&
66254          { ac_try='test -z "$ac_cxx_werror_flag"
66255                          || test ! -s conftest.err'
66256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66257   (eval $ac_try) 2>&5
66258   ac_status=$?
66259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66260   (exit $ac_status); }; } &&
66261          { ac_try='test -s conftest.$ac_objext'
66262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66263   (eval $ac_try) 2>&5
66264   ac_status=$?
66265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66266   (exit $ac_status); }; }; then
66267   glibcxx_cv_func_sincos_use=yes
66268 else
66269   echo "$as_me: failed program was:" >&5
66270 sed 's/^/| /' conftest.$ac_ext >&5
66271
66272 glibcxx_cv_func_sincos_use=no
66273 fi
66274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66275       ac_ext=c
66276 ac_cpp='$CPP $CPPFLAGS'
66277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66280
66281
66282 fi
66283
66284   fi
66285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66286 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66287
66288   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66289
66290 for ac_func in sincos
66291 do
66292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66293 echo "$as_me:$LINENO: checking for $ac_func" >&5
66294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66295 if eval "test \"\${$as_ac_var+set}\" = set"; then
66296   echo $ECHO_N "(cached) $ECHO_C" >&6
66297 else
66298   if test x$gcc_no_link = xyes; then
66299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66301    { (exit 1); exit 1; }; }
66302 fi
66303 cat >conftest.$ac_ext <<_ACEOF
66304 /* confdefs.h.  */
66305 _ACEOF
66306 cat confdefs.h >>conftest.$ac_ext
66307 cat >>conftest.$ac_ext <<_ACEOF
66308 /* end confdefs.h.  */
66309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66311 #define $ac_func innocuous_$ac_func
66312
66313 /* System header to define __stub macros and hopefully few prototypes,
66314     which can conflict with char $ac_func (); below.
66315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66316     <limits.h> exists even on freestanding compilers.  */
66317
66318 #ifdef __STDC__
66319 # include <limits.h>
66320 #else
66321 # include <assert.h>
66322 #endif
66323
66324 #undef $ac_func
66325
66326 /* Override any gcc2 internal prototype to avoid an error.  */
66327 #ifdef __cplusplus
66328 extern "C"
66329 {
66330 #endif
66331 /* We use char because int might match the return type of a gcc2
66332    builtin and then its argument prototype would still apply.  */
66333 char $ac_func ();
66334 /* The GNU C library defines this for functions which it implements
66335     to always fail with ENOSYS.  Some functions are actually named
66336     something starting with __ and the normal name is an alias.  */
66337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66338 choke me
66339 #else
66340 char (*f) () = $ac_func;
66341 #endif
66342 #ifdef __cplusplus
66343 }
66344 #endif
66345
66346 int
66347 main ()
66348 {
66349 return f != $ac_func;
66350   ;
66351   return 0;
66352 }
66353 _ACEOF
66354 rm -f conftest.$ac_objext conftest$ac_exeext
66355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66356   (eval $ac_link) 2>conftest.er1
66357   ac_status=$?
66358   grep -v '^ *+' conftest.er1 >conftest.err
66359   rm -f conftest.er1
66360   cat conftest.err >&5
66361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66362   (exit $ac_status); } &&
66363          { ac_try='test -z "$ac_c_werror_flag"
66364                          || test ! -s conftest.err'
66365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66366   (eval $ac_try) 2>&5
66367   ac_status=$?
66368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66369   (exit $ac_status); }; } &&
66370          { ac_try='test -s conftest$ac_exeext'
66371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66372   (eval $ac_try) 2>&5
66373   ac_status=$?
66374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66375   (exit $ac_status); }; }; then
66376   eval "$as_ac_var=yes"
66377 else
66378   echo "$as_me: failed program was:" >&5
66379 sed 's/^/| /' conftest.$ac_ext >&5
66380
66381 eval "$as_ac_var=no"
66382 fi
66383 rm -f conftest.err conftest.$ac_objext \
66384       conftest$ac_exeext conftest.$ac_ext
66385 fi
66386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66388 if test `eval echo '${'$as_ac_var'}'` = yes; then
66389   cat >>confdefs.h <<_ACEOF
66390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66391 _ACEOF
66392
66393 fi
66394 done
66395
66396   else
66397
66398   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66399 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66400   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66401     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66402   echo $ECHO_N "(cached) $ECHO_C" >&6
66403 else
66404
66405
66406
66407       ac_ext=cc
66408 ac_cpp='$CXXCPP $CPPFLAGS'
66409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412
66413       cat >conftest.$ac_ext <<_ACEOF
66414 /* confdefs.h.  */
66415 _ACEOF
66416 cat confdefs.h >>conftest.$ac_ext
66417 cat >>conftest.$ac_ext <<_ACEOF
66418 /* end confdefs.h.  */
66419 #include <math.h>
66420 int
66421 main ()
66422 {
66423  _sincos(0, 0, 0);
66424   ;
66425   return 0;
66426 }
66427 _ACEOF
66428 rm -f conftest.$ac_objext
66429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66430   (eval $ac_compile) 2>conftest.er1
66431   ac_status=$?
66432   grep -v '^ *+' conftest.er1 >conftest.err
66433   rm -f conftest.er1
66434   cat conftest.err >&5
66435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66436   (exit $ac_status); } &&
66437          { ac_try='test -z "$ac_cxx_werror_flag"
66438                          || test ! -s conftest.err'
66439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66440   (eval $ac_try) 2>&5
66441   ac_status=$?
66442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66443   (exit $ac_status); }; } &&
66444          { ac_try='test -s conftest.$ac_objext'
66445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66446   (eval $ac_try) 2>&5
66447   ac_status=$?
66448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66449   (exit $ac_status); }; }; then
66450   glibcxx_cv_func__sincos_use=yes
66451 else
66452   echo "$as_me: failed program was:" >&5
66453 sed 's/^/| /' conftest.$ac_ext >&5
66454
66455 glibcxx_cv_func__sincos_use=no
66456 fi
66457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66458       ac_ext=c
66459 ac_cpp='$CPP $CPPFLAGS'
66460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66463
66464
66465 fi
66466
66467   fi
66468   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66469 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66470
66471     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66472
66473 for ac_func in _sincos
66474 do
66475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66476 echo "$as_me:$LINENO: checking for $ac_func" >&5
66477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66478 if eval "test \"\${$as_ac_var+set}\" = set"; then
66479   echo $ECHO_N "(cached) $ECHO_C" >&6
66480 else
66481   if test x$gcc_no_link = xyes; then
66482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66484    { (exit 1); exit 1; }; }
66485 fi
66486 cat >conftest.$ac_ext <<_ACEOF
66487 /* confdefs.h.  */
66488 _ACEOF
66489 cat confdefs.h >>conftest.$ac_ext
66490 cat >>conftest.$ac_ext <<_ACEOF
66491 /* end confdefs.h.  */
66492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66494 #define $ac_func innocuous_$ac_func
66495
66496 /* System header to define __stub macros and hopefully few prototypes,
66497     which can conflict with char $ac_func (); below.
66498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66499     <limits.h> exists even on freestanding compilers.  */
66500
66501 #ifdef __STDC__
66502 # include <limits.h>
66503 #else
66504 # include <assert.h>
66505 #endif
66506
66507 #undef $ac_func
66508
66509 /* Override any gcc2 internal prototype to avoid an error.  */
66510 #ifdef __cplusplus
66511 extern "C"
66512 {
66513 #endif
66514 /* We use char because int might match the return type of a gcc2
66515    builtin and then its argument prototype would still apply.  */
66516 char $ac_func ();
66517 /* The GNU C library defines this for functions which it implements
66518     to always fail with ENOSYS.  Some functions are actually named
66519     something starting with __ and the normal name is an alias.  */
66520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66521 choke me
66522 #else
66523 char (*f) () = $ac_func;
66524 #endif
66525 #ifdef __cplusplus
66526 }
66527 #endif
66528
66529 int
66530 main ()
66531 {
66532 return f != $ac_func;
66533   ;
66534   return 0;
66535 }
66536 _ACEOF
66537 rm -f conftest.$ac_objext conftest$ac_exeext
66538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66539   (eval $ac_link) 2>conftest.er1
66540   ac_status=$?
66541   grep -v '^ *+' conftest.er1 >conftest.err
66542   rm -f conftest.er1
66543   cat conftest.err >&5
66544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66545   (exit $ac_status); } &&
66546          { ac_try='test -z "$ac_c_werror_flag"
66547                          || test ! -s conftest.err'
66548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66549   (eval $ac_try) 2>&5
66550   ac_status=$?
66551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66552   (exit $ac_status); }; } &&
66553          { ac_try='test -s conftest$ac_exeext'
66554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66555   (eval $ac_try) 2>&5
66556   ac_status=$?
66557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66558   (exit $ac_status); }; }; then
66559   eval "$as_ac_var=yes"
66560 else
66561   echo "$as_me: failed program was:" >&5
66562 sed 's/^/| /' conftest.$ac_ext >&5
66563
66564 eval "$as_ac_var=no"
66565 fi
66566 rm -f conftest.err conftest.$ac_objext \
66567       conftest$ac_exeext conftest.$ac_ext
66568 fi
66569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66571 if test `eval echo '${'$as_ac_var'}'` = yes; then
66572   cat >>confdefs.h <<_ACEOF
66573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66574 _ACEOF
66575
66576 fi
66577 done
66578
66579     fi
66580   fi
66581
66582
66583
66584
66585
66586
66587   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66588 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66589   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66590     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66591   echo $ECHO_N "(cached) $ECHO_C" >&6
66592 else
66593
66594
66595
66596       ac_ext=cc
66597 ac_cpp='$CXXCPP $CPPFLAGS'
66598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66601
66602       cat >conftest.$ac_ext <<_ACEOF
66603 /* confdefs.h.  */
66604 _ACEOF
66605 cat confdefs.h >>conftest.$ac_ext
66606 cat >>conftest.$ac_ext <<_ACEOF
66607 /* end confdefs.h.  */
66608 #include <math.h>
66609                       #ifdef HAVE_IEEEFP_H
66610                       #include <ieeefp.h>
66611                       #endif
66612
66613 int
66614 main ()
66615 {
66616  fpclass(0);
66617   ;
66618   return 0;
66619 }
66620 _ACEOF
66621 rm -f conftest.$ac_objext
66622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66623   (eval $ac_compile) 2>conftest.er1
66624   ac_status=$?
66625   grep -v '^ *+' conftest.er1 >conftest.err
66626   rm -f conftest.er1
66627   cat conftest.err >&5
66628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66629   (exit $ac_status); } &&
66630          { ac_try='test -z "$ac_cxx_werror_flag"
66631                          || test ! -s conftest.err'
66632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66633   (eval $ac_try) 2>&5
66634   ac_status=$?
66635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66636   (exit $ac_status); }; } &&
66637          { ac_try='test -s conftest.$ac_objext'
66638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66639   (eval $ac_try) 2>&5
66640   ac_status=$?
66641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66642   (exit $ac_status); }; }; then
66643   glibcxx_cv_func_fpclass_use=yes
66644 else
66645   echo "$as_me: failed program was:" >&5
66646 sed 's/^/| /' conftest.$ac_ext >&5
66647
66648 glibcxx_cv_func_fpclass_use=no
66649 fi
66650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66651       ac_ext=c
66652 ac_cpp='$CPP $CPPFLAGS'
66653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66656
66657
66658 fi
66659
66660   fi
66661   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66662 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66663
66664   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66665
66666 for ac_func in fpclass
66667 do
66668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66669 echo "$as_me:$LINENO: checking for $ac_func" >&5
66670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66671 if eval "test \"\${$as_ac_var+set}\" = set"; then
66672   echo $ECHO_N "(cached) $ECHO_C" >&6
66673 else
66674   if test x$gcc_no_link = xyes; then
66675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66677    { (exit 1); exit 1; }; }
66678 fi
66679 cat >conftest.$ac_ext <<_ACEOF
66680 /* confdefs.h.  */
66681 _ACEOF
66682 cat confdefs.h >>conftest.$ac_ext
66683 cat >>conftest.$ac_ext <<_ACEOF
66684 /* end confdefs.h.  */
66685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66687 #define $ac_func innocuous_$ac_func
66688
66689 /* System header to define __stub macros and hopefully few prototypes,
66690     which can conflict with char $ac_func (); below.
66691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66692     <limits.h> exists even on freestanding compilers.  */
66693
66694 #ifdef __STDC__
66695 # include <limits.h>
66696 #else
66697 # include <assert.h>
66698 #endif
66699
66700 #undef $ac_func
66701
66702 /* Override any gcc2 internal prototype to avoid an error.  */
66703 #ifdef __cplusplus
66704 extern "C"
66705 {
66706 #endif
66707 /* We use char because int might match the return type of a gcc2
66708    builtin and then its argument prototype would still apply.  */
66709 char $ac_func ();
66710 /* The GNU C library defines this for functions which it implements
66711     to always fail with ENOSYS.  Some functions are actually named
66712     something starting with __ and the normal name is an alias.  */
66713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66714 choke me
66715 #else
66716 char (*f) () = $ac_func;
66717 #endif
66718 #ifdef __cplusplus
66719 }
66720 #endif
66721
66722 int
66723 main ()
66724 {
66725 return f != $ac_func;
66726   ;
66727   return 0;
66728 }
66729 _ACEOF
66730 rm -f conftest.$ac_objext conftest$ac_exeext
66731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66732   (eval $ac_link) 2>conftest.er1
66733   ac_status=$?
66734   grep -v '^ *+' conftest.er1 >conftest.err
66735   rm -f conftest.er1
66736   cat conftest.err >&5
66737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66738   (exit $ac_status); } &&
66739          { ac_try='test -z "$ac_c_werror_flag"
66740                          || test ! -s conftest.err'
66741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66742   (eval $ac_try) 2>&5
66743   ac_status=$?
66744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745   (exit $ac_status); }; } &&
66746          { ac_try='test -s conftest$ac_exeext'
66747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66748   (eval $ac_try) 2>&5
66749   ac_status=$?
66750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66751   (exit $ac_status); }; }; then
66752   eval "$as_ac_var=yes"
66753 else
66754   echo "$as_me: failed program was:" >&5
66755 sed 's/^/| /' conftest.$ac_ext >&5
66756
66757 eval "$as_ac_var=no"
66758 fi
66759 rm -f conftest.err conftest.$ac_objext \
66760       conftest$ac_exeext conftest.$ac_ext
66761 fi
66762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66764 if test `eval echo '${'$as_ac_var'}'` = yes; then
66765   cat >>confdefs.h <<_ACEOF
66766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66767 _ACEOF
66768
66769 fi
66770 done
66771
66772   else
66773
66774   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66775 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66776   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66777     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66778   echo $ECHO_N "(cached) $ECHO_C" >&6
66779 else
66780
66781
66782
66783       ac_ext=cc
66784 ac_cpp='$CXXCPP $CPPFLAGS'
66785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66788
66789       cat >conftest.$ac_ext <<_ACEOF
66790 /* confdefs.h.  */
66791 _ACEOF
66792 cat confdefs.h >>conftest.$ac_ext
66793 cat >>conftest.$ac_ext <<_ACEOF
66794 /* end confdefs.h.  */
66795 #include <math.h>
66796                       #ifdef HAVE_IEEEFP_H
66797                       #include <ieeefp.h>
66798                       #endif
66799
66800 int
66801 main ()
66802 {
66803  _fpclass(0);
66804   ;
66805   return 0;
66806 }
66807 _ACEOF
66808 rm -f conftest.$ac_objext
66809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66810   (eval $ac_compile) 2>conftest.er1
66811   ac_status=$?
66812   grep -v '^ *+' conftest.er1 >conftest.err
66813   rm -f conftest.er1
66814   cat conftest.err >&5
66815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66816   (exit $ac_status); } &&
66817          { ac_try='test -z "$ac_cxx_werror_flag"
66818                          || test ! -s conftest.err'
66819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66820   (eval $ac_try) 2>&5
66821   ac_status=$?
66822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66823   (exit $ac_status); }; } &&
66824          { ac_try='test -s conftest.$ac_objext'
66825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66826   (eval $ac_try) 2>&5
66827   ac_status=$?
66828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66829   (exit $ac_status); }; }; then
66830   glibcxx_cv_func__fpclass_use=yes
66831 else
66832   echo "$as_me: failed program was:" >&5
66833 sed 's/^/| /' conftest.$ac_ext >&5
66834
66835 glibcxx_cv_func__fpclass_use=no
66836 fi
66837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66838       ac_ext=c
66839 ac_cpp='$CPP $CPPFLAGS'
66840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66843
66844
66845 fi
66846
66847   fi
66848   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66849 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66850
66851     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66852
66853 for ac_func in _fpclass
66854 do
66855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66856 echo "$as_me:$LINENO: checking for $ac_func" >&5
66857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66858 if eval "test \"\${$as_ac_var+set}\" = set"; then
66859   echo $ECHO_N "(cached) $ECHO_C" >&6
66860 else
66861   if test x$gcc_no_link = xyes; then
66862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66864    { (exit 1); exit 1; }; }
66865 fi
66866 cat >conftest.$ac_ext <<_ACEOF
66867 /* confdefs.h.  */
66868 _ACEOF
66869 cat confdefs.h >>conftest.$ac_ext
66870 cat >>conftest.$ac_ext <<_ACEOF
66871 /* end confdefs.h.  */
66872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66874 #define $ac_func innocuous_$ac_func
66875
66876 /* System header to define __stub macros and hopefully few prototypes,
66877     which can conflict with char $ac_func (); below.
66878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66879     <limits.h> exists even on freestanding compilers.  */
66880
66881 #ifdef __STDC__
66882 # include <limits.h>
66883 #else
66884 # include <assert.h>
66885 #endif
66886
66887 #undef $ac_func
66888
66889 /* Override any gcc2 internal prototype to avoid an error.  */
66890 #ifdef __cplusplus
66891 extern "C"
66892 {
66893 #endif
66894 /* We use char because int might match the return type of a gcc2
66895    builtin and then its argument prototype would still apply.  */
66896 char $ac_func ();
66897 /* The GNU C library defines this for functions which it implements
66898     to always fail with ENOSYS.  Some functions are actually named
66899     something starting with __ and the normal name is an alias.  */
66900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66901 choke me
66902 #else
66903 char (*f) () = $ac_func;
66904 #endif
66905 #ifdef __cplusplus
66906 }
66907 #endif
66908
66909 int
66910 main ()
66911 {
66912 return f != $ac_func;
66913   ;
66914   return 0;
66915 }
66916 _ACEOF
66917 rm -f conftest.$ac_objext conftest$ac_exeext
66918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66919   (eval $ac_link) 2>conftest.er1
66920   ac_status=$?
66921   grep -v '^ *+' conftest.er1 >conftest.err
66922   rm -f conftest.er1
66923   cat conftest.err >&5
66924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66925   (exit $ac_status); } &&
66926          { ac_try='test -z "$ac_c_werror_flag"
66927                          || test ! -s conftest.err'
66928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66929   (eval $ac_try) 2>&5
66930   ac_status=$?
66931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66932   (exit $ac_status); }; } &&
66933          { ac_try='test -s conftest$ac_exeext'
66934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66935   (eval $ac_try) 2>&5
66936   ac_status=$?
66937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66938   (exit $ac_status); }; }; then
66939   eval "$as_ac_var=yes"
66940 else
66941   echo "$as_me: failed program was:" >&5
66942 sed 's/^/| /' conftest.$ac_ext >&5
66943
66944 eval "$as_ac_var=no"
66945 fi
66946 rm -f conftest.err conftest.$ac_objext \
66947       conftest$ac_exeext conftest.$ac_ext
66948 fi
66949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66951 if test `eval echo '${'$as_ac_var'}'` = yes; then
66952   cat >>confdefs.h <<_ACEOF
66953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66954 _ACEOF
66955
66956 fi
66957 done
66958
66959     fi
66960   fi
66961
66962
66963
66964
66965
66966
66967   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66968 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66969   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66970     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66971   echo $ECHO_N "(cached) $ECHO_C" >&6
66972 else
66973
66974
66975
66976       ac_ext=cc
66977 ac_cpp='$CXXCPP $CPPFLAGS'
66978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981
66982       cat >conftest.$ac_ext <<_ACEOF
66983 /* confdefs.h.  */
66984 _ACEOF
66985 cat confdefs.h >>conftest.$ac_ext
66986 cat >>conftest.$ac_ext <<_ACEOF
66987 /* end confdefs.h.  */
66988 #include <math.h>
66989                       #ifdef HAVE_IEEEFP_H
66990                       #include <ieeefp.h>
66991                       #endif
66992
66993 int
66994 main ()
66995 {
66996  qfpclass(0);
66997   ;
66998   return 0;
66999 }
67000 _ACEOF
67001 rm -f conftest.$ac_objext
67002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67003   (eval $ac_compile) 2>conftest.er1
67004   ac_status=$?
67005   grep -v '^ *+' conftest.er1 >conftest.err
67006   rm -f conftest.er1
67007   cat conftest.err >&5
67008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67009   (exit $ac_status); } &&
67010          { ac_try='test -z "$ac_cxx_werror_flag"
67011                          || test ! -s conftest.err'
67012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67013   (eval $ac_try) 2>&5
67014   ac_status=$?
67015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67016   (exit $ac_status); }; } &&
67017          { ac_try='test -s conftest.$ac_objext'
67018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67019   (eval $ac_try) 2>&5
67020   ac_status=$?
67021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022   (exit $ac_status); }; }; then
67023   glibcxx_cv_func_qfpclass_use=yes
67024 else
67025   echo "$as_me: failed program was:" >&5
67026 sed 's/^/| /' conftest.$ac_ext >&5
67027
67028 glibcxx_cv_func_qfpclass_use=no
67029 fi
67030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67031       ac_ext=c
67032 ac_cpp='$CPP $CPPFLAGS'
67033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67036
67037
67038 fi
67039
67040   fi
67041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67042 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67043
67044   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67045
67046 for ac_func in qfpclass
67047 do
67048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67049 echo "$as_me:$LINENO: checking for $ac_func" >&5
67050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67051 if eval "test \"\${$as_ac_var+set}\" = set"; then
67052   echo $ECHO_N "(cached) $ECHO_C" >&6
67053 else
67054   if test x$gcc_no_link = xyes; then
67055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67057    { (exit 1); exit 1; }; }
67058 fi
67059 cat >conftest.$ac_ext <<_ACEOF
67060 /* confdefs.h.  */
67061 _ACEOF
67062 cat confdefs.h >>conftest.$ac_ext
67063 cat >>conftest.$ac_ext <<_ACEOF
67064 /* end confdefs.h.  */
67065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67067 #define $ac_func innocuous_$ac_func
67068
67069 /* System header to define __stub macros and hopefully few prototypes,
67070     which can conflict with char $ac_func (); below.
67071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67072     <limits.h> exists even on freestanding compilers.  */
67073
67074 #ifdef __STDC__
67075 # include <limits.h>
67076 #else
67077 # include <assert.h>
67078 #endif
67079
67080 #undef $ac_func
67081
67082 /* Override any gcc2 internal prototype to avoid an error.  */
67083 #ifdef __cplusplus
67084 extern "C"
67085 {
67086 #endif
67087 /* We use char because int might match the return type of a gcc2
67088    builtin and then its argument prototype would still apply.  */
67089 char $ac_func ();
67090 /* The GNU C library defines this for functions which it implements
67091     to always fail with ENOSYS.  Some functions are actually named
67092     something starting with __ and the normal name is an alias.  */
67093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67094 choke me
67095 #else
67096 char (*f) () = $ac_func;
67097 #endif
67098 #ifdef __cplusplus
67099 }
67100 #endif
67101
67102 int
67103 main ()
67104 {
67105 return f != $ac_func;
67106   ;
67107   return 0;
67108 }
67109 _ACEOF
67110 rm -f conftest.$ac_objext conftest$ac_exeext
67111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67112   (eval $ac_link) 2>conftest.er1
67113   ac_status=$?
67114   grep -v '^ *+' conftest.er1 >conftest.err
67115   rm -f conftest.er1
67116   cat conftest.err >&5
67117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118   (exit $ac_status); } &&
67119          { ac_try='test -z "$ac_c_werror_flag"
67120                          || test ! -s conftest.err'
67121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67122   (eval $ac_try) 2>&5
67123   ac_status=$?
67124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67125   (exit $ac_status); }; } &&
67126          { ac_try='test -s conftest$ac_exeext'
67127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128   (eval $ac_try) 2>&5
67129   ac_status=$?
67130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131   (exit $ac_status); }; }; then
67132   eval "$as_ac_var=yes"
67133 else
67134   echo "$as_me: failed program was:" >&5
67135 sed 's/^/| /' conftest.$ac_ext >&5
67136
67137 eval "$as_ac_var=no"
67138 fi
67139 rm -f conftest.err conftest.$ac_objext \
67140       conftest$ac_exeext conftest.$ac_ext
67141 fi
67142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67144 if test `eval echo '${'$as_ac_var'}'` = yes; then
67145   cat >>confdefs.h <<_ACEOF
67146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67147 _ACEOF
67148
67149 fi
67150 done
67151
67152   else
67153
67154   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67155 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67156   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67157     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67158   echo $ECHO_N "(cached) $ECHO_C" >&6
67159 else
67160
67161
67162
67163       ac_ext=cc
67164 ac_cpp='$CXXCPP $CPPFLAGS'
67165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67168
67169       cat >conftest.$ac_ext <<_ACEOF
67170 /* confdefs.h.  */
67171 _ACEOF
67172 cat confdefs.h >>conftest.$ac_ext
67173 cat >>conftest.$ac_ext <<_ACEOF
67174 /* end confdefs.h.  */
67175 #include <math.h>
67176                       #ifdef HAVE_IEEEFP_H
67177                       #include <ieeefp.h>
67178                       #endif
67179
67180 int
67181 main ()
67182 {
67183  _qfpclass(0);
67184   ;
67185   return 0;
67186 }
67187 _ACEOF
67188 rm -f conftest.$ac_objext
67189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67190   (eval $ac_compile) 2>conftest.er1
67191   ac_status=$?
67192   grep -v '^ *+' conftest.er1 >conftest.err
67193   rm -f conftest.er1
67194   cat conftest.err >&5
67195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67196   (exit $ac_status); } &&
67197          { ac_try='test -z "$ac_cxx_werror_flag"
67198                          || test ! -s conftest.err'
67199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67200   (eval $ac_try) 2>&5
67201   ac_status=$?
67202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67203   (exit $ac_status); }; } &&
67204          { ac_try='test -s conftest.$ac_objext'
67205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67206   (eval $ac_try) 2>&5
67207   ac_status=$?
67208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67209   (exit $ac_status); }; }; then
67210   glibcxx_cv_func__qfpclass_use=yes
67211 else
67212   echo "$as_me: failed program was:" >&5
67213 sed 's/^/| /' conftest.$ac_ext >&5
67214
67215 glibcxx_cv_func__qfpclass_use=no
67216 fi
67217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67218       ac_ext=c
67219 ac_cpp='$CPP $CPPFLAGS'
67220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67223
67224
67225 fi
67226
67227   fi
67228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67229 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67230
67231     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67232
67233 for ac_func in _qfpclass
67234 do
67235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67236 echo "$as_me:$LINENO: checking for $ac_func" >&5
67237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67238 if eval "test \"\${$as_ac_var+set}\" = set"; then
67239   echo $ECHO_N "(cached) $ECHO_C" >&6
67240 else
67241   if test x$gcc_no_link = xyes; then
67242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67244    { (exit 1); exit 1; }; }
67245 fi
67246 cat >conftest.$ac_ext <<_ACEOF
67247 /* confdefs.h.  */
67248 _ACEOF
67249 cat confdefs.h >>conftest.$ac_ext
67250 cat >>conftest.$ac_ext <<_ACEOF
67251 /* end confdefs.h.  */
67252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67254 #define $ac_func innocuous_$ac_func
67255
67256 /* System header to define __stub macros and hopefully few prototypes,
67257     which can conflict with char $ac_func (); below.
67258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67259     <limits.h> exists even on freestanding compilers.  */
67260
67261 #ifdef __STDC__
67262 # include <limits.h>
67263 #else
67264 # include <assert.h>
67265 #endif
67266
67267 #undef $ac_func
67268
67269 /* Override any gcc2 internal prototype to avoid an error.  */
67270 #ifdef __cplusplus
67271 extern "C"
67272 {
67273 #endif
67274 /* We use char because int might match the return type of a gcc2
67275    builtin and then its argument prototype would still apply.  */
67276 char $ac_func ();
67277 /* The GNU C library defines this for functions which it implements
67278     to always fail with ENOSYS.  Some functions are actually named
67279     something starting with __ and the normal name is an alias.  */
67280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67281 choke me
67282 #else
67283 char (*f) () = $ac_func;
67284 #endif
67285 #ifdef __cplusplus
67286 }
67287 #endif
67288
67289 int
67290 main ()
67291 {
67292 return f != $ac_func;
67293   ;
67294   return 0;
67295 }
67296 _ACEOF
67297 rm -f conftest.$ac_objext conftest$ac_exeext
67298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67299   (eval $ac_link) 2>conftest.er1
67300   ac_status=$?
67301   grep -v '^ *+' conftest.er1 >conftest.err
67302   rm -f conftest.er1
67303   cat conftest.err >&5
67304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67305   (exit $ac_status); } &&
67306          { ac_try='test -z "$ac_c_werror_flag"
67307                          || test ! -s conftest.err'
67308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67309   (eval $ac_try) 2>&5
67310   ac_status=$?
67311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312   (exit $ac_status); }; } &&
67313          { ac_try='test -s conftest$ac_exeext'
67314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67315   (eval $ac_try) 2>&5
67316   ac_status=$?
67317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67318   (exit $ac_status); }; }; then
67319   eval "$as_ac_var=yes"
67320 else
67321   echo "$as_me: failed program was:" >&5
67322 sed 's/^/| /' conftest.$ac_ext >&5
67323
67324 eval "$as_ac_var=no"
67325 fi
67326 rm -f conftest.err conftest.$ac_objext \
67327       conftest$ac_exeext conftest.$ac_ext
67328 fi
67329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67331 if test `eval echo '${'$as_ac_var'}'` = yes; then
67332   cat >>confdefs.h <<_ACEOF
67333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67334 _ACEOF
67335
67336 fi
67337 done
67338
67339     fi
67340   fi
67341
67342
67343
67344
67345
67346
67347   echo "$as_me:$LINENO: checking for hypot declaration" >&5
67348 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
67349   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67350     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
67351   echo $ECHO_N "(cached) $ECHO_C" >&6
67352 else
67353
67354
67355
67356       ac_ext=cc
67357 ac_cpp='$CXXCPP $CPPFLAGS'
67358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67361
67362       cat >conftest.$ac_ext <<_ACEOF
67363 /* confdefs.h.  */
67364 _ACEOF
67365 cat confdefs.h >>conftest.$ac_ext
67366 cat >>conftest.$ac_ext <<_ACEOF
67367 /* end confdefs.h.  */
67368 #include <math.h>
67369 int
67370 main ()
67371 {
67372  hypot(0, 0);
67373   ;
67374   return 0;
67375 }
67376 _ACEOF
67377 rm -f conftest.$ac_objext
67378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67379   (eval $ac_compile) 2>conftest.er1
67380   ac_status=$?
67381   grep -v '^ *+' conftest.er1 >conftest.err
67382   rm -f conftest.er1
67383   cat conftest.err >&5
67384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67385   (exit $ac_status); } &&
67386          { ac_try='test -z "$ac_cxx_werror_flag"
67387                          || test ! -s conftest.err'
67388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67389   (eval $ac_try) 2>&5
67390   ac_status=$?
67391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67392   (exit $ac_status); }; } &&
67393          { ac_try='test -s conftest.$ac_objext'
67394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67395   (eval $ac_try) 2>&5
67396   ac_status=$?
67397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67398   (exit $ac_status); }; }; then
67399   glibcxx_cv_func_hypot_use=yes
67400 else
67401   echo "$as_me: failed program was:" >&5
67402 sed 's/^/| /' conftest.$ac_ext >&5
67403
67404 glibcxx_cv_func_hypot_use=no
67405 fi
67406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67407       ac_ext=c
67408 ac_cpp='$CPP $CPPFLAGS'
67409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67412
67413
67414 fi
67415
67416   fi
67417   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67418 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67419
67420   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67421
67422 for ac_func in hypot
67423 do
67424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67425 echo "$as_me:$LINENO: checking for $ac_func" >&5
67426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67427 if eval "test \"\${$as_ac_var+set}\" = set"; then
67428   echo $ECHO_N "(cached) $ECHO_C" >&6
67429 else
67430   if test x$gcc_no_link = xyes; then
67431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67433    { (exit 1); exit 1; }; }
67434 fi
67435 cat >conftest.$ac_ext <<_ACEOF
67436 /* confdefs.h.  */
67437 _ACEOF
67438 cat confdefs.h >>conftest.$ac_ext
67439 cat >>conftest.$ac_ext <<_ACEOF
67440 /* end confdefs.h.  */
67441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67443 #define $ac_func innocuous_$ac_func
67444
67445 /* System header to define __stub macros and hopefully few prototypes,
67446     which can conflict with char $ac_func (); below.
67447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67448     <limits.h> exists even on freestanding compilers.  */
67449
67450 #ifdef __STDC__
67451 # include <limits.h>
67452 #else
67453 # include <assert.h>
67454 #endif
67455
67456 #undef $ac_func
67457
67458 /* Override any gcc2 internal prototype to avoid an error.  */
67459 #ifdef __cplusplus
67460 extern "C"
67461 {
67462 #endif
67463 /* We use char because int might match the return type of a gcc2
67464    builtin and then its argument prototype would still apply.  */
67465 char $ac_func ();
67466 /* The GNU C library defines this for functions which it implements
67467     to always fail with ENOSYS.  Some functions are actually named
67468     something starting with __ and the normal name is an alias.  */
67469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67470 choke me
67471 #else
67472 char (*f) () = $ac_func;
67473 #endif
67474 #ifdef __cplusplus
67475 }
67476 #endif
67477
67478 int
67479 main ()
67480 {
67481 return f != $ac_func;
67482   ;
67483   return 0;
67484 }
67485 _ACEOF
67486 rm -f conftest.$ac_objext conftest$ac_exeext
67487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67488   (eval $ac_link) 2>conftest.er1
67489   ac_status=$?
67490   grep -v '^ *+' conftest.er1 >conftest.err
67491   rm -f conftest.er1
67492   cat conftest.err >&5
67493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67494   (exit $ac_status); } &&
67495          { ac_try='test -z "$ac_c_werror_flag"
67496                          || test ! -s conftest.err'
67497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67498   (eval $ac_try) 2>&5
67499   ac_status=$?
67500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501   (exit $ac_status); }; } &&
67502          { ac_try='test -s conftest$ac_exeext'
67503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67504   (eval $ac_try) 2>&5
67505   ac_status=$?
67506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67507   (exit $ac_status); }; }; then
67508   eval "$as_ac_var=yes"
67509 else
67510   echo "$as_me: failed program was:" >&5
67511 sed 's/^/| /' conftest.$ac_ext >&5
67512
67513 eval "$as_ac_var=no"
67514 fi
67515 rm -f conftest.err conftest.$ac_objext \
67516       conftest$ac_exeext conftest.$ac_ext
67517 fi
67518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67520 if test `eval echo '${'$as_ac_var'}'` = yes; then
67521   cat >>confdefs.h <<_ACEOF
67522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67523 _ACEOF
67524
67525 fi
67526 done
67527
67528   else
67529
67530   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67531 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67532   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67533     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67534   echo $ECHO_N "(cached) $ECHO_C" >&6
67535 else
67536
67537
67538
67539       ac_ext=cc
67540 ac_cpp='$CXXCPP $CPPFLAGS'
67541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67544
67545       cat >conftest.$ac_ext <<_ACEOF
67546 /* confdefs.h.  */
67547 _ACEOF
67548 cat confdefs.h >>conftest.$ac_ext
67549 cat >>conftest.$ac_ext <<_ACEOF
67550 /* end confdefs.h.  */
67551 #include <math.h>
67552 int
67553 main ()
67554 {
67555  _hypot(0, 0);
67556   ;
67557   return 0;
67558 }
67559 _ACEOF
67560 rm -f conftest.$ac_objext
67561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67562   (eval $ac_compile) 2>conftest.er1
67563   ac_status=$?
67564   grep -v '^ *+' conftest.er1 >conftest.err
67565   rm -f conftest.er1
67566   cat conftest.err >&5
67567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67568   (exit $ac_status); } &&
67569          { ac_try='test -z "$ac_cxx_werror_flag"
67570                          || test ! -s conftest.err'
67571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67572   (eval $ac_try) 2>&5
67573   ac_status=$?
67574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67575   (exit $ac_status); }; } &&
67576          { ac_try='test -s conftest.$ac_objext'
67577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67578   (eval $ac_try) 2>&5
67579   ac_status=$?
67580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67581   (exit $ac_status); }; }; then
67582   glibcxx_cv_func__hypot_use=yes
67583 else
67584   echo "$as_me: failed program was:" >&5
67585 sed 's/^/| /' conftest.$ac_ext >&5
67586
67587 glibcxx_cv_func__hypot_use=no
67588 fi
67589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67590       ac_ext=c
67591 ac_cpp='$CPP $CPPFLAGS'
67592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67595
67596
67597 fi
67598
67599   fi
67600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67601 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67602
67603     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67604
67605 for ac_func in _hypot
67606 do
67607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67608 echo "$as_me:$LINENO: checking for $ac_func" >&5
67609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67610 if eval "test \"\${$as_ac_var+set}\" = set"; then
67611   echo $ECHO_N "(cached) $ECHO_C" >&6
67612 else
67613   if test x$gcc_no_link = xyes; then
67614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67616    { (exit 1); exit 1; }; }
67617 fi
67618 cat >conftest.$ac_ext <<_ACEOF
67619 /* confdefs.h.  */
67620 _ACEOF
67621 cat confdefs.h >>conftest.$ac_ext
67622 cat >>conftest.$ac_ext <<_ACEOF
67623 /* end confdefs.h.  */
67624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67626 #define $ac_func innocuous_$ac_func
67627
67628 /* System header to define __stub macros and hopefully few prototypes,
67629     which can conflict with char $ac_func (); below.
67630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67631     <limits.h> exists even on freestanding compilers.  */
67632
67633 #ifdef __STDC__
67634 # include <limits.h>
67635 #else
67636 # include <assert.h>
67637 #endif
67638
67639 #undef $ac_func
67640
67641 /* Override any gcc2 internal prototype to avoid an error.  */
67642 #ifdef __cplusplus
67643 extern "C"
67644 {
67645 #endif
67646 /* We use char because int might match the return type of a gcc2
67647    builtin and then its argument prototype would still apply.  */
67648 char $ac_func ();
67649 /* The GNU C library defines this for functions which it implements
67650     to always fail with ENOSYS.  Some functions are actually named
67651     something starting with __ and the normal name is an alias.  */
67652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67653 choke me
67654 #else
67655 char (*f) () = $ac_func;
67656 #endif
67657 #ifdef __cplusplus
67658 }
67659 #endif
67660
67661 int
67662 main ()
67663 {
67664 return f != $ac_func;
67665   ;
67666   return 0;
67667 }
67668 _ACEOF
67669 rm -f conftest.$ac_objext conftest$ac_exeext
67670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67671   (eval $ac_link) 2>conftest.er1
67672   ac_status=$?
67673   grep -v '^ *+' conftest.er1 >conftest.err
67674   rm -f conftest.er1
67675   cat conftest.err >&5
67676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67677   (exit $ac_status); } &&
67678          { ac_try='test -z "$ac_c_werror_flag"
67679                          || test ! -s conftest.err'
67680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67681   (eval $ac_try) 2>&5
67682   ac_status=$?
67683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67684   (exit $ac_status); }; } &&
67685          { ac_try='test -s conftest$ac_exeext'
67686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67687   (eval $ac_try) 2>&5
67688   ac_status=$?
67689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67690   (exit $ac_status); }; }; then
67691   eval "$as_ac_var=yes"
67692 else
67693   echo "$as_me: failed program was:" >&5
67694 sed 's/^/| /' conftest.$ac_ext >&5
67695
67696 eval "$as_ac_var=no"
67697 fi
67698 rm -f conftest.err conftest.$ac_objext \
67699       conftest$ac_exeext conftest.$ac_ext
67700 fi
67701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67703 if test `eval echo '${'$as_ac_var'}'` = yes; then
67704   cat >>confdefs.h <<_ACEOF
67705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67706 _ACEOF
67707
67708 fi
67709 done
67710
67711     fi
67712   fi
67713
67714
67715
67716
67717
67718
67719     echo "$as_me:$LINENO: checking for float trig functions" >&5
67720 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67721   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67722   echo $ECHO_N "(cached) $ECHO_C" >&6
67723 else
67724
67725
67726
67727     ac_ext=cc
67728 ac_cpp='$CXXCPP $CPPFLAGS'
67729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67732
67733     cat >conftest.$ac_ext <<_ACEOF
67734 /* confdefs.h.  */
67735 _ACEOF
67736 cat confdefs.h >>conftest.$ac_ext
67737 cat >>conftest.$ac_ext <<_ACEOF
67738 /* end confdefs.h.  */
67739 #include <math.h>
67740 int
67741 main ()
67742 {
67743 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67744   ;
67745   return 0;
67746 }
67747 _ACEOF
67748 rm -f conftest.$ac_objext
67749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67750   (eval $ac_compile) 2>conftest.er1
67751   ac_status=$?
67752   grep -v '^ *+' conftest.er1 >conftest.err
67753   rm -f conftest.er1
67754   cat conftest.err >&5
67755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67756   (exit $ac_status); } &&
67757          { ac_try='test -z "$ac_cxx_werror_flag"
67758                          || test ! -s conftest.err'
67759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67760   (eval $ac_try) 2>&5
67761   ac_status=$?
67762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67763   (exit $ac_status); }; } &&
67764          { ac_try='test -s conftest.$ac_objext'
67765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67766   (eval $ac_try) 2>&5
67767   ac_status=$?
67768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67769   (exit $ac_status); }; }; then
67770   glibcxx_cv_func_float_trig_use=yes
67771 else
67772   echo "$as_me: failed program was:" >&5
67773 sed 's/^/| /' conftest.$ac_ext >&5
67774
67775 glibcxx_cv_func_float_trig_use=no
67776 fi
67777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67778     ac_ext=c
67779 ac_cpp='$CPP $CPPFLAGS'
67780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67783
67784 fi
67785
67786   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67787 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67788   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67789
67790
67791
67792
67793
67794
67795
67796
67797
67798 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67799 do
67800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67801 echo "$as_me:$LINENO: checking for $ac_func" >&5
67802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67803 if eval "test \"\${$as_ac_var+set}\" = set"; then
67804   echo $ECHO_N "(cached) $ECHO_C" >&6
67805 else
67806   if test x$gcc_no_link = xyes; then
67807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67809    { (exit 1); exit 1; }; }
67810 fi
67811 cat >conftest.$ac_ext <<_ACEOF
67812 /* confdefs.h.  */
67813 _ACEOF
67814 cat confdefs.h >>conftest.$ac_ext
67815 cat >>conftest.$ac_ext <<_ACEOF
67816 /* end confdefs.h.  */
67817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67819 #define $ac_func innocuous_$ac_func
67820
67821 /* System header to define __stub macros and hopefully few prototypes,
67822     which can conflict with char $ac_func (); below.
67823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67824     <limits.h> exists even on freestanding compilers.  */
67825
67826 #ifdef __STDC__
67827 # include <limits.h>
67828 #else
67829 # include <assert.h>
67830 #endif
67831
67832 #undef $ac_func
67833
67834 /* Override any gcc2 internal prototype to avoid an error.  */
67835 #ifdef __cplusplus
67836 extern "C"
67837 {
67838 #endif
67839 /* We use char because int might match the return type of a gcc2
67840    builtin and then its argument prototype would still apply.  */
67841 char $ac_func ();
67842 /* The GNU C library defines this for functions which it implements
67843     to always fail with ENOSYS.  Some functions are actually named
67844     something starting with __ and the normal name is an alias.  */
67845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67846 choke me
67847 #else
67848 char (*f) () = $ac_func;
67849 #endif
67850 #ifdef __cplusplus
67851 }
67852 #endif
67853
67854 int
67855 main ()
67856 {
67857 return f != $ac_func;
67858   ;
67859   return 0;
67860 }
67861 _ACEOF
67862 rm -f conftest.$ac_objext conftest$ac_exeext
67863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67864   (eval $ac_link) 2>conftest.er1
67865   ac_status=$?
67866   grep -v '^ *+' conftest.er1 >conftest.err
67867   rm -f conftest.er1
67868   cat conftest.err >&5
67869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67870   (exit $ac_status); } &&
67871          { ac_try='test -z "$ac_c_werror_flag"
67872                          || test ! -s conftest.err'
67873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67874   (eval $ac_try) 2>&5
67875   ac_status=$?
67876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877   (exit $ac_status); }; } &&
67878          { ac_try='test -s conftest$ac_exeext'
67879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67880   (eval $ac_try) 2>&5
67881   ac_status=$?
67882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67883   (exit $ac_status); }; }; then
67884   eval "$as_ac_var=yes"
67885 else
67886   echo "$as_me: failed program was:" >&5
67887 sed 's/^/| /' conftest.$ac_ext >&5
67888
67889 eval "$as_ac_var=no"
67890 fi
67891 rm -f conftest.err conftest.$ac_objext \
67892       conftest$ac_exeext conftest.$ac_ext
67893 fi
67894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67896 if test `eval echo '${'$as_ac_var'}'` = yes; then
67897   cat >>confdefs.h <<_ACEOF
67898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67899 _ACEOF
67900
67901 fi
67902 done
67903
67904   else
67905     echo "$as_me:$LINENO: checking for _float trig functions" >&5
67906 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67907     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67908   echo $ECHO_N "(cached) $ECHO_C" >&6
67909 else
67910
67911
67912
67913       ac_ext=cc
67914 ac_cpp='$CXXCPP $CPPFLAGS'
67915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918
67919       cat >conftest.$ac_ext <<_ACEOF
67920 /* confdefs.h.  */
67921 _ACEOF
67922 cat confdefs.h >>conftest.$ac_ext
67923 cat >>conftest.$ac_ext <<_ACEOF
67924 /* end confdefs.h.  */
67925 #include <math.h>
67926 int
67927 main ()
67928 {
67929 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67930   ;
67931   return 0;
67932 }
67933 _ACEOF
67934 rm -f conftest.$ac_objext
67935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67936   (eval $ac_compile) 2>conftest.er1
67937   ac_status=$?
67938   grep -v '^ *+' conftest.er1 >conftest.err
67939   rm -f conftest.er1
67940   cat conftest.err >&5
67941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67942   (exit $ac_status); } &&
67943          { ac_try='test -z "$ac_cxx_werror_flag"
67944                          || test ! -s conftest.err'
67945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67946   (eval $ac_try) 2>&5
67947   ac_status=$?
67948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67949   (exit $ac_status); }; } &&
67950          { ac_try='test -s conftest.$ac_objext'
67951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67952   (eval $ac_try) 2>&5
67953   ac_status=$?
67954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67955   (exit $ac_status); }; }; then
67956   glibcxx_cv_func__float_trig_use=yes
67957 else
67958   echo "$as_me: failed program was:" >&5
67959 sed 's/^/| /' conftest.$ac_ext >&5
67960
67961 glibcxx_cv_func__float_trig_use=no
67962 fi
67963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67964       ac_ext=c
67965 ac_cpp='$CPP $CPPFLAGS'
67966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969
67970 fi
67971
67972     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67973 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67974     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67975
67976
67977
67978
67979
67980
67981
67982
67983
67984 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67985 do
67986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67987 echo "$as_me:$LINENO: checking for $ac_func" >&5
67988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67989 if eval "test \"\${$as_ac_var+set}\" = set"; then
67990   echo $ECHO_N "(cached) $ECHO_C" >&6
67991 else
67992   if test x$gcc_no_link = xyes; then
67993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67995    { (exit 1); exit 1; }; }
67996 fi
67997 cat >conftest.$ac_ext <<_ACEOF
67998 /* confdefs.h.  */
67999 _ACEOF
68000 cat confdefs.h >>conftest.$ac_ext
68001 cat >>conftest.$ac_ext <<_ACEOF
68002 /* end confdefs.h.  */
68003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68005 #define $ac_func innocuous_$ac_func
68006
68007 /* System header to define __stub macros and hopefully few prototypes,
68008     which can conflict with char $ac_func (); below.
68009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68010     <limits.h> exists even on freestanding compilers.  */
68011
68012 #ifdef __STDC__
68013 # include <limits.h>
68014 #else
68015 # include <assert.h>
68016 #endif
68017
68018 #undef $ac_func
68019
68020 /* Override any gcc2 internal prototype to avoid an error.  */
68021 #ifdef __cplusplus
68022 extern "C"
68023 {
68024 #endif
68025 /* We use char because int might match the return type of a gcc2
68026    builtin and then its argument prototype would still apply.  */
68027 char $ac_func ();
68028 /* The GNU C library defines this for functions which it implements
68029     to always fail with ENOSYS.  Some functions are actually named
68030     something starting with __ and the normal name is an alias.  */
68031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68032 choke me
68033 #else
68034 char (*f) () = $ac_func;
68035 #endif
68036 #ifdef __cplusplus
68037 }
68038 #endif
68039
68040 int
68041 main ()
68042 {
68043 return f != $ac_func;
68044   ;
68045   return 0;
68046 }
68047 _ACEOF
68048 rm -f conftest.$ac_objext conftest$ac_exeext
68049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68050   (eval $ac_link) 2>conftest.er1
68051   ac_status=$?
68052   grep -v '^ *+' conftest.er1 >conftest.err
68053   rm -f conftest.er1
68054   cat conftest.err >&5
68055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68056   (exit $ac_status); } &&
68057          { ac_try='test -z "$ac_c_werror_flag"
68058                          || test ! -s conftest.err'
68059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68060   (eval $ac_try) 2>&5
68061   ac_status=$?
68062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063   (exit $ac_status); }; } &&
68064          { ac_try='test -s conftest$ac_exeext'
68065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68066   (eval $ac_try) 2>&5
68067   ac_status=$?
68068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68069   (exit $ac_status); }; }; then
68070   eval "$as_ac_var=yes"
68071 else
68072   echo "$as_me: failed program was:" >&5
68073 sed 's/^/| /' conftest.$ac_ext >&5
68074
68075 eval "$as_ac_var=no"
68076 fi
68077 rm -f conftest.err conftest.$ac_objext \
68078       conftest$ac_exeext conftest.$ac_ext
68079 fi
68080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68082 if test `eval echo '${'$as_ac_var'}'` = yes; then
68083   cat >>confdefs.h <<_ACEOF
68084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68085 _ACEOF
68086
68087 fi
68088 done
68089
68090     fi
68091   fi
68092
68093
68094
68095
68096
68097
68098
68099
68100
68101
68102
68103
68104
68105
68106     echo "$as_me:$LINENO: checking for float round functions" >&5
68107 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68108   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68109   echo $ECHO_N "(cached) $ECHO_C" >&6
68110 else
68111
68112
68113
68114     ac_ext=cc
68115 ac_cpp='$CXXCPP $CPPFLAGS'
68116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68119
68120     cat >conftest.$ac_ext <<_ACEOF
68121 /* confdefs.h.  */
68122 _ACEOF
68123 cat confdefs.h >>conftest.$ac_ext
68124 cat >>conftest.$ac_ext <<_ACEOF
68125 /* end confdefs.h.  */
68126 #include <math.h>
68127 int
68128 main ()
68129 {
68130 ceilf (0); floorf (0);
68131   ;
68132   return 0;
68133 }
68134 _ACEOF
68135 rm -f conftest.$ac_objext
68136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68137   (eval $ac_compile) 2>conftest.er1
68138   ac_status=$?
68139   grep -v '^ *+' conftest.er1 >conftest.err
68140   rm -f conftest.er1
68141   cat conftest.err >&5
68142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68143   (exit $ac_status); } &&
68144          { ac_try='test -z "$ac_cxx_werror_flag"
68145                          || test ! -s conftest.err'
68146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68147   (eval $ac_try) 2>&5
68148   ac_status=$?
68149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68150   (exit $ac_status); }; } &&
68151          { ac_try='test -s conftest.$ac_objext'
68152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68153   (eval $ac_try) 2>&5
68154   ac_status=$?
68155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68156   (exit $ac_status); }; }; then
68157   glibcxx_cv_func_float_round_use=yes
68158 else
68159   echo "$as_me: failed program was:" >&5
68160 sed 's/^/| /' conftest.$ac_ext >&5
68161
68162 glibcxx_cv_func_float_round_use=no
68163 fi
68164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68165     ac_ext=c
68166 ac_cpp='$CPP $CPPFLAGS'
68167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68170
68171 fi
68172
68173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68174 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68175   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68176
68177
68178 for ac_func in ceilf floorf
68179 do
68180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68181 echo "$as_me:$LINENO: checking for $ac_func" >&5
68182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68183 if eval "test \"\${$as_ac_var+set}\" = set"; then
68184   echo $ECHO_N "(cached) $ECHO_C" >&6
68185 else
68186   if test x$gcc_no_link = xyes; then
68187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68189    { (exit 1); exit 1; }; }
68190 fi
68191 cat >conftest.$ac_ext <<_ACEOF
68192 /* confdefs.h.  */
68193 _ACEOF
68194 cat confdefs.h >>conftest.$ac_ext
68195 cat >>conftest.$ac_ext <<_ACEOF
68196 /* end confdefs.h.  */
68197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68199 #define $ac_func innocuous_$ac_func
68200
68201 /* System header to define __stub macros and hopefully few prototypes,
68202     which can conflict with char $ac_func (); below.
68203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68204     <limits.h> exists even on freestanding compilers.  */
68205
68206 #ifdef __STDC__
68207 # include <limits.h>
68208 #else
68209 # include <assert.h>
68210 #endif
68211
68212 #undef $ac_func
68213
68214 /* Override any gcc2 internal prototype to avoid an error.  */
68215 #ifdef __cplusplus
68216 extern "C"
68217 {
68218 #endif
68219 /* We use char because int might match the return type of a gcc2
68220    builtin and then its argument prototype would still apply.  */
68221 char $ac_func ();
68222 /* The GNU C library defines this for functions which it implements
68223     to always fail with ENOSYS.  Some functions are actually named
68224     something starting with __ and the normal name is an alias.  */
68225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68226 choke me
68227 #else
68228 char (*f) () = $ac_func;
68229 #endif
68230 #ifdef __cplusplus
68231 }
68232 #endif
68233
68234 int
68235 main ()
68236 {
68237 return f != $ac_func;
68238   ;
68239   return 0;
68240 }
68241 _ACEOF
68242 rm -f conftest.$ac_objext conftest$ac_exeext
68243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68244   (eval $ac_link) 2>conftest.er1
68245   ac_status=$?
68246   grep -v '^ *+' conftest.er1 >conftest.err
68247   rm -f conftest.er1
68248   cat conftest.err >&5
68249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68250   (exit $ac_status); } &&
68251          { ac_try='test -z "$ac_c_werror_flag"
68252                          || test ! -s conftest.err'
68253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68254   (eval $ac_try) 2>&5
68255   ac_status=$?
68256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68257   (exit $ac_status); }; } &&
68258          { ac_try='test -s conftest$ac_exeext'
68259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68260   (eval $ac_try) 2>&5
68261   ac_status=$?
68262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263   (exit $ac_status); }; }; then
68264   eval "$as_ac_var=yes"
68265 else
68266   echo "$as_me: failed program was:" >&5
68267 sed 's/^/| /' conftest.$ac_ext >&5
68268
68269 eval "$as_ac_var=no"
68270 fi
68271 rm -f conftest.err conftest.$ac_objext \
68272       conftest$ac_exeext conftest.$ac_ext
68273 fi
68274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68276 if test `eval echo '${'$as_ac_var'}'` = yes; then
68277   cat >>confdefs.h <<_ACEOF
68278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68279 _ACEOF
68280
68281 fi
68282 done
68283
68284   else
68285     echo "$as_me:$LINENO: checking for _float round functions" >&5
68286 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68287     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68288   echo $ECHO_N "(cached) $ECHO_C" >&6
68289 else
68290
68291
68292
68293       ac_ext=cc
68294 ac_cpp='$CXXCPP $CPPFLAGS'
68295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298
68299       cat >conftest.$ac_ext <<_ACEOF
68300 /* confdefs.h.  */
68301 _ACEOF
68302 cat confdefs.h >>conftest.$ac_ext
68303 cat >>conftest.$ac_ext <<_ACEOF
68304 /* end confdefs.h.  */
68305 #include <math.h>
68306 int
68307 main ()
68308 {
68309 _ceilf (0); _floorf (0);
68310   ;
68311   return 0;
68312 }
68313 _ACEOF
68314 rm -f conftest.$ac_objext
68315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68316   (eval $ac_compile) 2>conftest.er1
68317   ac_status=$?
68318   grep -v '^ *+' conftest.er1 >conftest.err
68319   rm -f conftest.er1
68320   cat conftest.err >&5
68321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322   (exit $ac_status); } &&
68323          { ac_try='test -z "$ac_cxx_werror_flag"
68324                          || test ! -s conftest.err'
68325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68326   (eval $ac_try) 2>&5
68327   ac_status=$?
68328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68329   (exit $ac_status); }; } &&
68330          { ac_try='test -s conftest.$ac_objext'
68331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68332   (eval $ac_try) 2>&5
68333   ac_status=$?
68334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68335   (exit $ac_status); }; }; then
68336   glibcxx_cv_func__float_round_use=yes
68337 else
68338   echo "$as_me: failed program was:" >&5
68339 sed 's/^/| /' conftest.$ac_ext >&5
68340
68341 glibcxx_cv_func__float_round_use=no
68342 fi
68343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68344       ac_ext=c
68345 ac_cpp='$CPP $CPPFLAGS'
68346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68349
68350 fi
68351
68352     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68353 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68354     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68355
68356
68357 for ac_func in _ceilf _floorf
68358 do
68359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68360 echo "$as_me:$LINENO: checking for $ac_func" >&5
68361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68362 if eval "test \"\${$as_ac_var+set}\" = set"; then
68363   echo $ECHO_N "(cached) $ECHO_C" >&6
68364 else
68365   if test x$gcc_no_link = xyes; then
68366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68368    { (exit 1); exit 1; }; }
68369 fi
68370 cat >conftest.$ac_ext <<_ACEOF
68371 /* confdefs.h.  */
68372 _ACEOF
68373 cat confdefs.h >>conftest.$ac_ext
68374 cat >>conftest.$ac_ext <<_ACEOF
68375 /* end confdefs.h.  */
68376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68378 #define $ac_func innocuous_$ac_func
68379
68380 /* System header to define __stub macros and hopefully few prototypes,
68381     which can conflict with char $ac_func (); below.
68382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68383     <limits.h> exists even on freestanding compilers.  */
68384
68385 #ifdef __STDC__
68386 # include <limits.h>
68387 #else
68388 # include <assert.h>
68389 #endif
68390
68391 #undef $ac_func
68392
68393 /* Override any gcc2 internal prototype to avoid an error.  */
68394 #ifdef __cplusplus
68395 extern "C"
68396 {
68397 #endif
68398 /* We use char because int might match the return type of a gcc2
68399    builtin and then its argument prototype would still apply.  */
68400 char $ac_func ();
68401 /* The GNU C library defines this for functions which it implements
68402     to always fail with ENOSYS.  Some functions are actually named
68403     something starting with __ and the normal name is an alias.  */
68404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68405 choke me
68406 #else
68407 char (*f) () = $ac_func;
68408 #endif
68409 #ifdef __cplusplus
68410 }
68411 #endif
68412
68413 int
68414 main ()
68415 {
68416 return f != $ac_func;
68417   ;
68418   return 0;
68419 }
68420 _ACEOF
68421 rm -f conftest.$ac_objext conftest$ac_exeext
68422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68423   (eval $ac_link) 2>conftest.er1
68424   ac_status=$?
68425   grep -v '^ *+' conftest.er1 >conftest.err
68426   rm -f conftest.er1
68427   cat conftest.err >&5
68428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429   (exit $ac_status); } &&
68430          { ac_try='test -z "$ac_c_werror_flag"
68431                          || test ! -s conftest.err'
68432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433   (eval $ac_try) 2>&5
68434   ac_status=$?
68435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436   (exit $ac_status); }; } &&
68437          { ac_try='test -s conftest$ac_exeext'
68438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439   (eval $ac_try) 2>&5
68440   ac_status=$?
68441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442   (exit $ac_status); }; }; then
68443   eval "$as_ac_var=yes"
68444 else
68445   echo "$as_me: failed program was:" >&5
68446 sed 's/^/| /' conftest.$ac_ext >&5
68447
68448 eval "$as_ac_var=no"
68449 fi
68450 rm -f conftest.err conftest.$ac_objext \
68451       conftest$ac_exeext conftest.$ac_ext
68452 fi
68453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68455 if test `eval echo '${'$as_ac_var'}'` = yes; then
68456   cat >>confdefs.h <<_ACEOF
68457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68458 _ACEOF
68459
68460 fi
68461 done
68462
68463     fi
68464   fi
68465
68466
68467
68468
68469
68470
68471
68472
68473   echo "$as_me:$LINENO: checking for expf declaration" >&5
68474 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68475   if test x${glibcxx_cv_func_expf_use+set} != xset; then
68476     if test "${glibcxx_cv_func_expf_use+set}" = set; then
68477   echo $ECHO_N "(cached) $ECHO_C" >&6
68478 else
68479
68480
68481
68482       ac_ext=cc
68483 ac_cpp='$CXXCPP $CPPFLAGS'
68484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68487
68488       cat >conftest.$ac_ext <<_ACEOF
68489 /* confdefs.h.  */
68490 _ACEOF
68491 cat confdefs.h >>conftest.$ac_ext
68492 cat >>conftest.$ac_ext <<_ACEOF
68493 /* end confdefs.h.  */
68494 #include <math.h>
68495                       #ifdef HAVE_IEEEFP_H
68496                       #include <ieeefp.h>
68497                       #endif
68498
68499 int
68500 main ()
68501 {
68502  expf(0);
68503   ;
68504   return 0;
68505 }
68506 _ACEOF
68507 rm -f conftest.$ac_objext
68508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68509   (eval $ac_compile) 2>conftest.er1
68510   ac_status=$?
68511   grep -v '^ *+' conftest.er1 >conftest.err
68512   rm -f conftest.er1
68513   cat conftest.err >&5
68514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68515   (exit $ac_status); } &&
68516          { ac_try='test -z "$ac_cxx_werror_flag"
68517                          || test ! -s conftest.err'
68518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68519   (eval $ac_try) 2>&5
68520   ac_status=$?
68521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68522   (exit $ac_status); }; } &&
68523          { ac_try='test -s conftest.$ac_objext'
68524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68525   (eval $ac_try) 2>&5
68526   ac_status=$?
68527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68528   (exit $ac_status); }; }; then
68529   glibcxx_cv_func_expf_use=yes
68530 else
68531   echo "$as_me: failed program was:" >&5
68532 sed 's/^/| /' conftest.$ac_ext >&5
68533
68534 glibcxx_cv_func_expf_use=no
68535 fi
68536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68537       ac_ext=c
68538 ac_cpp='$CPP $CPPFLAGS'
68539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68542
68543
68544 fi
68545
68546   fi
68547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68548 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68549
68550   if test x$glibcxx_cv_func_expf_use = x"yes"; then
68551
68552 for ac_func in expf
68553 do
68554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68555 echo "$as_me:$LINENO: checking for $ac_func" >&5
68556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68557 if eval "test \"\${$as_ac_var+set}\" = set"; then
68558   echo $ECHO_N "(cached) $ECHO_C" >&6
68559 else
68560   if test x$gcc_no_link = xyes; then
68561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68563    { (exit 1); exit 1; }; }
68564 fi
68565 cat >conftest.$ac_ext <<_ACEOF
68566 /* confdefs.h.  */
68567 _ACEOF
68568 cat confdefs.h >>conftest.$ac_ext
68569 cat >>conftest.$ac_ext <<_ACEOF
68570 /* end confdefs.h.  */
68571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68573 #define $ac_func innocuous_$ac_func
68574
68575 /* System header to define __stub macros and hopefully few prototypes,
68576     which can conflict with char $ac_func (); below.
68577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68578     <limits.h> exists even on freestanding compilers.  */
68579
68580 #ifdef __STDC__
68581 # include <limits.h>
68582 #else
68583 # include <assert.h>
68584 #endif
68585
68586 #undef $ac_func
68587
68588 /* Override any gcc2 internal prototype to avoid an error.  */
68589 #ifdef __cplusplus
68590 extern "C"
68591 {
68592 #endif
68593 /* We use char because int might match the return type of a gcc2
68594    builtin and then its argument prototype would still apply.  */
68595 char $ac_func ();
68596 /* The GNU C library defines this for functions which it implements
68597     to always fail with ENOSYS.  Some functions are actually named
68598     something starting with __ and the normal name is an alias.  */
68599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68600 choke me
68601 #else
68602 char (*f) () = $ac_func;
68603 #endif
68604 #ifdef __cplusplus
68605 }
68606 #endif
68607
68608 int
68609 main ()
68610 {
68611 return f != $ac_func;
68612   ;
68613   return 0;
68614 }
68615 _ACEOF
68616 rm -f conftest.$ac_objext conftest$ac_exeext
68617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68618   (eval $ac_link) 2>conftest.er1
68619   ac_status=$?
68620   grep -v '^ *+' conftest.er1 >conftest.err
68621   rm -f conftest.er1
68622   cat conftest.err >&5
68623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624   (exit $ac_status); } &&
68625          { ac_try='test -z "$ac_c_werror_flag"
68626                          || test ! -s conftest.err'
68627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68628   (eval $ac_try) 2>&5
68629   ac_status=$?
68630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68631   (exit $ac_status); }; } &&
68632          { ac_try='test -s conftest$ac_exeext'
68633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68634   (eval $ac_try) 2>&5
68635   ac_status=$?
68636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68637   (exit $ac_status); }; }; then
68638   eval "$as_ac_var=yes"
68639 else
68640   echo "$as_me: failed program was:" >&5
68641 sed 's/^/| /' conftest.$ac_ext >&5
68642
68643 eval "$as_ac_var=no"
68644 fi
68645 rm -f conftest.err conftest.$ac_objext \
68646       conftest$ac_exeext conftest.$ac_ext
68647 fi
68648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68650 if test `eval echo '${'$as_ac_var'}'` = yes; then
68651   cat >>confdefs.h <<_ACEOF
68652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68653 _ACEOF
68654
68655 fi
68656 done
68657
68658   else
68659
68660   echo "$as_me:$LINENO: checking for _expf declaration" >&5
68661 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68662   if test x${glibcxx_cv_func__expf_use+set} != xset; then
68663     if test "${glibcxx_cv_func__expf_use+set}" = set; then
68664   echo $ECHO_N "(cached) $ECHO_C" >&6
68665 else
68666
68667
68668
68669       ac_ext=cc
68670 ac_cpp='$CXXCPP $CPPFLAGS'
68671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68674
68675       cat >conftest.$ac_ext <<_ACEOF
68676 /* confdefs.h.  */
68677 _ACEOF
68678 cat confdefs.h >>conftest.$ac_ext
68679 cat >>conftest.$ac_ext <<_ACEOF
68680 /* end confdefs.h.  */
68681 #include <math.h>
68682                       #ifdef HAVE_IEEEFP_H
68683                       #include <ieeefp.h>
68684                       #endif
68685
68686 int
68687 main ()
68688 {
68689  _expf(0);
68690   ;
68691   return 0;
68692 }
68693 _ACEOF
68694 rm -f conftest.$ac_objext
68695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68696   (eval $ac_compile) 2>conftest.er1
68697   ac_status=$?
68698   grep -v '^ *+' conftest.er1 >conftest.err
68699   rm -f conftest.er1
68700   cat conftest.err >&5
68701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702   (exit $ac_status); } &&
68703          { ac_try='test -z "$ac_cxx_werror_flag"
68704                          || test ! -s conftest.err'
68705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68706   (eval $ac_try) 2>&5
68707   ac_status=$?
68708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68709   (exit $ac_status); }; } &&
68710          { ac_try='test -s conftest.$ac_objext'
68711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68712   (eval $ac_try) 2>&5
68713   ac_status=$?
68714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68715   (exit $ac_status); }; }; then
68716   glibcxx_cv_func__expf_use=yes
68717 else
68718   echo "$as_me: failed program was:" >&5
68719 sed 's/^/| /' conftest.$ac_ext >&5
68720
68721 glibcxx_cv_func__expf_use=no
68722 fi
68723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68724       ac_ext=c
68725 ac_cpp='$CPP $CPPFLAGS'
68726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68729
68730
68731 fi
68732
68733   fi
68734   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68735 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68736
68737     if test x$glibcxx_cv_func__expf_use = x"yes"; then
68738
68739 for ac_func in _expf
68740 do
68741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68742 echo "$as_me:$LINENO: checking for $ac_func" >&5
68743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68744 if eval "test \"\${$as_ac_var+set}\" = set"; then
68745   echo $ECHO_N "(cached) $ECHO_C" >&6
68746 else
68747   if test x$gcc_no_link = xyes; then
68748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68750    { (exit 1); exit 1; }; }
68751 fi
68752 cat >conftest.$ac_ext <<_ACEOF
68753 /* confdefs.h.  */
68754 _ACEOF
68755 cat confdefs.h >>conftest.$ac_ext
68756 cat >>conftest.$ac_ext <<_ACEOF
68757 /* end confdefs.h.  */
68758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68760 #define $ac_func innocuous_$ac_func
68761
68762 /* System header to define __stub macros and hopefully few prototypes,
68763     which can conflict with char $ac_func (); below.
68764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68765     <limits.h> exists even on freestanding compilers.  */
68766
68767 #ifdef __STDC__
68768 # include <limits.h>
68769 #else
68770 # include <assert.h>
68771 #endif
68772
68773 #undef $ac_func
68774
68775 /* Override any gcc2 internal prototype to avoid an error.  */
68776 #ifdef __cplusplus
68777 extern "C"
68778 {
68779 #endif
68780 /* We use char because int might match the return type of a gcc2
68781    builtin and then its argument prototype would still apply.  */
68782 char $ac_func ();
68783 /* The GNU C library defines this for functions which it implements
68784     to always fail with ENOSYS.  Some functions are actually named
68785     something starting with __ and the normal name is an alias.  */
68786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68787 choke me
68788 #else
68789 char (*f) () = $ac_func;
68790 #endif
68791 #ifdef __cplusplus
68792 }
68793 #endif
68794
68795 int
68796 main ()
68797 {
68798 return f != $ac_func;
68799   ;
68800   return 0;
68801 }
68802 _ACEOF
68803 rm -f conftest.$ac_objext conftest$ac_exeext
68804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68805   (eval $ac_link) 2>conftest.er1
68806   ac_status=$?
68807   grep -v '^ *+' conftest.er1 >conftest.err
68808   rm -f conftest.er1
68809   cat conftest.err >&5
68810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811   (exit $ac_status); } &&
68812          { ac_try='test -z "$ac_c_werror_flag"
68813                          || test ! -s conftest.err'
68814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68815   (eval $ac_try) 2>&5
68816   ac_status=$?
68817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68818   (exit $ac_status); }; } &&
68819          { ac_try='test -s conftest$ac_exeext'
68820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68821   (eval $ac_try) 2>&5
68822   ac_status=$?
68823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68824   (exit $ac_status); }; }; then
68825   eval "$as_ac_var=yes"
68826 else
68827   echo "$as_me: failed program was:" >&5
68828 sed 's/^/| /' conftest.$ac_ext >&5
68829
68830 eval "$as_ac_var=no"
68831 fi
68832 rm -f conftest.err conftest.$ac_objext \
68833       conftest$ac_exeext conftest.$ac_ext
68834 fi
68835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68837 if test `eval echo '${'$as_ac_var'}'` = yes; then
68838   cat >>confdefs.h <<_ACEOF
68839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68840 _ACEOF
68841
68842 fi
68843 done
68844
68845     fi
68846   fi
68847
68848
68849
68850
68851
68852
68853   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68854 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68855   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68856     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68857   echo $ECHO_N "(cached) $ECHO_C" >&6
68858 else
68859
68860
68861
68862       ac_ext=cc
68863 ac_cpp='$CXXCPP $CPPFLAGS'
68864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68867
68868       cat >conftest.$ac_ext <<_ACEOF
68869 /* confdefs.h.  */
68870 _ACEOF
68871 cat confdefs.h >>conftest.$ac_ext
68872 cat >>conftest.$ac_ext <<_ACEOF
68873 /* end confdefs.h.  */
68874 #include <math.h>
68875                       #ifdef HAVE_IEEEFP_H
68876                       #include <ieeefp.h>
68877                       #endif
68878
68879 int
68880 main ()
68881 {
68882  isnanf(0);
68883   ;
68884   return 0;
68885 }
68886 _ACEOF
68887 rm -f conftest.$ac_objext
68888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68889   (eval $ac_compile) 2>conftest.er1
68890   ac_status=$?
68891   grep -v '^ *+' conftest.er1 >conftest.err
68892   rm -f conftest.er1
68893   cat conftest.err >&5
68894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68895   (exit $ac_status); } &&
68896          { ac_try='test -z "$ac_cxx_werror_flag"
68897                          || test ! -s conftest.err'
68898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68899   (eval $ac_try) 2>&5
68900   ac_status=$?
68901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902   (exit $ac_status); }; } &&
68903          { ac_try='test -s conftest.$ac_objext'
68904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68905   (eval $ac_try) 2>&5
68906   ac_status=$?
68907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68908   (exit $ac_status); }; }; then
68909   glibcxx_cv_func_isnanf_use=yes
68910 else
68911   echo "$as_me: failed program was:" >&5
68912 sed 's/^/| /' conftest.$ac_ext >&5
68913
68914 glibcxx_cv_func_isnanf_use=no
68915 fi
68916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68917       ac_ext=c
68918 ac_cpp='$CPP $CPPFLAGS'
68919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68922
68923
68924 fi
68925
68926   fi
68927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68928 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68929
68930   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68931
68932 for ac_func in isnanf
68933 do
68934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68935 echo "$as_me:$LINENO: checking for $ac_func" >&5
68936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68937 if eval "test \"\${$as_ac_var+set}\" = set"; then
68938   echo $ECHO_N "(cached) $ECHO_C" >&6
68939 else
68940   if test x$gcc_no_link = xyes; then
68941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68943    { (exit 1); exit 1; }; }
68944 fi
68945 cat >conftest.$ac_ext <<_ACEOF
68946 /* confdefs.h.  */
68947 _ACEOF
68948 cat confdefs.h >>conftest.$ac_ext
68949 cat >>conftest.$ac_ext <<_ACEOF
68950 /* end confdefs.h.  */
68951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68953 #define $ac_func innocuous_$ac_func
68954
68955 /* System header to define __stub macros and hopefully few prototypes,
68956     which can conflict with char $ac_func (); below.
68957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68958     <limits.h> exists even on freestanding compilers.  */
68959
68960 #ifdef __STDC__
68961 # include <limits.h>
68962 #else
68963 # include <assert.h>
68964 #endif
68965
68966 #undef $ac_func
68967
68968 /* Override any gcc2 internal prototype to avoid an error.  */
68969 #ifdef __cplusplus
68970 extern "C"
68971 {
68972 #endif
68973 /* We use char because int might match the return type of a gcc2
68974    builtin and then its argument prototype would still apply.  */
68975 char $ac_func ();
68976 /* The GNU C library defines this for functions which it implements
68977     to always fail with ENOSYS.  Some functions are actually named
68978     something starting with __ and the normal name is an alias.  */
68979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68980 choke me
68981 #else
68982 char (*f) () = $ac_func;
68983 #endif
68984 #ifdef __cplusplus
68985 }
68986 #endif
68987
68988 int
68989 main ()
68990 {
68991 return f != $ac_func;
68992   ;
68993   return 0;
68994 }
68995 _ACEOF
68996 rm -f conftest.$ac_objext conftest$ac_exeext
68997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68998   (eval $ac_link) 2>conftest.er1
68999   ac_status=$?
69000   grep -v '^ *+' conftest.er1 >conftest.err
69001   rm -f conftest.er1
69002   cat conftest.err >&5
69003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69004   (exit $ac_status); } &&
69005          { ac_try='test -z "$ac_c_werror_flag"
69006                          || test ! -s conftest.err'
69007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69008   (eval $ac_try) 2>&5
69009   ac_status=$?
69010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69011   (exit $ac_status); }; } &&
69012          { ac_try='test -s conftest$ac_exeext'
69013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69014   (eval $ac_try) 2>&5
69015   ac_status=$?
69016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69017   (exit $ac_status); }; }; then
69018   eval "$as_ac_var=yes"
69019 else
69020   echo "$as_me: failed program was:" >&5
69021 sed 's/^/| /' conftest.$ac_ext >&5
69022
69023 eval "$as_ac_var=no"
69024 fi
69025 rm -f conftest.err conftest.$ac_objext \
69026       conftest$ac_exeext conftest.$ac_ext
69027 fi
69028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69030 if test `eval echo '${'$as_ac_var'}'` = yes; then
69031   cat >>confdefs.h <<_ACEOF
69032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69033 _ACEOF
69034
69035 fi
69036 done
69037
69038   else
69039
69040   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69041 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69042   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69043     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69044   echo $ECHO_N "(cached) $ECHO_C" >&6
69045 else
69046
69047
69048
69049       ac_ext=cc
69050 ac_cpp='$CXXCPP $CPPFLAGS'
69051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69054
69055       cat >conftest.$ac_ext <<_ACEOF
69056 /* confdefs.h.  */
69057 _ACEOF
69058 cat confdefs.h >>conftest.$ac_ext
69059 cat >>conftest.$ac_ext <<_ACEOF
69060 /* end confdefs.h.  */
69061 #include <math.h>
69062                       #ifdef HAVE_IEEEFP_H
69063                       #include <ieeefp.h>
69064                       #endif
69065
69066 int
69067 main ()
69068 {
69069  _isnanf(0);
69070   ;
69071   return 0;
69072 }
69073 _ACEOF
69074 rm -f conftest.$ac_objext
69075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69076   (eval $ac_compile) 2>conftest.er1
69077   ac_status=$?
69078   grep -v '^ *+' conftest.er1 >conftest.err
69079   rm -f conftest.er1
69080   cat conftest.err >&5
69081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69082   (exit $ac_status); } &&
69083          { ac_try='test -z "$ac_cxx_werror_flag"
69084                          || test ! -s conftest.err'
69085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69086   (eval $ac_try) 2>&5
69087   ac_status=$?
69088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69089   (exit $ac_status); }; } &&
69090          { ac_try='test -s conftest.$ac_objext'
69091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69092   (eval $ac_try) 2>&5
69093   ac_status=$?
69094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69095   (exit $ac_status); }; }; then
69096   glibcxx_cv_func__isnanf_use=yes
69097 else
69098   echo "$as_me: failed program was:" >&5
69099 sed 's/^/| /' conftest.$ac_ext >&5
69100
69101 glibcxx_cv_func__isnanf_use=no
69102 fi
69103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69104       ac_ext=c
69105 ac_cpp='$CPP $CPPFLAGS'
69106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69109
69110
69111 fi
69112
69113   fi
69114   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69115 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69116
69117     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69118
69119 for ac_func in _isnanf
69120 do
69121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69122 echo "$as_me:$LINENO: checking for $ac_func" >&5
69123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69124 if eval "test \"\${$as_ac_var+set}\" = set"; then
69125   echo $ECHO_N "(cached) $ECHO_C" >&6
69126 else
69127   if test x$gcc_no_link = xyes; then
69128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69130    { (exit 1); exit 1; }; }
69131 fi
69132 cat >conftest.$ac_ext <<_ACEOF
69133 /* confdefs.h.  */
69134 _ACEOF
69135 cat confdefs.h >>conftest.$ac_ext
69136 cat >>conftest.$ac_ext <<_ACEOF
69137 /* end confdefs.h.  */
69138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69140 #define $ac_func innocuous_$ac_func
69141
69142 /* System header to define __stub macros and hopefully few prototypes,
69143     which can conflict with char $ac_func (); below.
69144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69145     <limits.h> exists even on freestanding compilers.  */
69146
69147 #ifdef __STDC__
69148 # include <limits.h>
69149 #else
69150 # include <assert.h>
69151 #endif
69152
69153 #undef $ac_func
69154
69155 /* Override any gcc2 internal prototype to avoid an error.  */
69156 #ifdef __cplusplus
69157 extern "C"
69158 {
69159 #endif
69160 /* We use char because int might match the return type of a gcc2
69161    builtin and then its argument prototype would still apply.  */
69162 char $ac_func ();
69163 /* The GNU C library defines this for functions which it implements
69164     to always fail with ENOSYS.  Some functions are actually named
69165     something starting with __ and the normal name is an alias.  */
69166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69167 choke me
69168 #else
69169 char (*f) () = $ac_func;
69170 #endif
69171 #ifdef __cplusplus
69172 }
69173 #endif
69174
69175 int
69176 main ()
69177 {
69178 return f != $ac_func;
69179   ;
69180   return 0;
69181 }
69182 _ACEOF
69183 rm -f conftest.$ac_objext conftest$ac_exeext
69184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69185   (eval $ac_link) 2>conftest.er1
69186   ac_status=$?
69187   grep -v '^ *+' conftest.er1 >conftest.err
69188   rm -f conftest.er1
69189   cat conftest.err >&5
69190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191   (exit $ac_status); } &&
69192          { ac_try='test -z "$ac_c_werror_flag"
69193                          || test ! -s conftest.err'
69194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195   (eval $ac_try) 2>&5
69196   ac_status=$?
69197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198   (exit $ac_status); }; } &&
69199          { ac_try='test -s conftest$ac_exeext'
69200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69201   (eval $ac_try) 2>&5
69202   ac_status=$?
69203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69204   (exit $ac_status); }; }; then
69205   eval "$as_ac_var=yes"
69206 else
69207   echo "$as_me: failed program was:" >&5
69208 sed 's/^/| /' conftest.$ac_ext >&5
69209
69210 eval "$as_ac_var=no"
69211 fi
69212 rm -f conftest.err conftest.$ac_objext \
69213       conftest$ac_exeext conftest.$ac_ext
69214 fi
69215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69217 if test `eval echo '${'$as_ac_var'}'` = yes; then
69218   cat >>confdefs.h <<_ACEOF
69219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69220 _ACEOF
69221
69222 fi
69223 done
69224
69225     fi
69226   fi
69227
69228
69229
69230
69231
69232
69233   echo "$as_me:$LINENO: checking for isinff declaration" >&5
69234 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69235   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69236     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69237   echo $ECHO_N "(cached) $ECHO_C" >&6
69238 else
69239
69240
69241
69242       ac_ext=cc
69243 ac_cpp='$CXXCPP $CPPFLAGS'
69244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69247
69248       cat >conftest.$ac_ext <<_ACEOF
69249 /* confdefs.h.  */
69250 _ACEOF
69251 cat confdefs.h >>conftest.$ac_ext
69252 cat >>conftest.$ac_ext <<_ACEOF
69253 /* end confdefs.h.  */
69254 #include <math.h>
69255                       #ifdef HAVE_IEEEFP_H
69256                       #include <ieeefp.h>
69257                       #endif
69258
69259 int
69260 main ()
69261 {
69262  isinff(0);
69263   ;
69264   return 0;
69265 }
69266 _ACEOF
69267 rm -f conftest.$ac_objext
69268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69269   (eval $ac_compile) 2>conftest.er1
69270   ac_status=$?
69271   grep -v '^ *+' conftest.er1 >conftest.err
69272   rm -f conftest.er1
69273   cat conftest.err >&5
69274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69275   (exit $ac_status); } &&
69276          { ac_try='test -z "$ac_cxx_werror_flag"
69277                          || test ! -s conftest.err'
69278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69279   (eval $ac_try) 2>&5
69280   ac_status=$?
69281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69282   (exit $ac_status); }; } &&
69283          { ac_try='test -s conftest.$ac_objext'
69284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69285   (eval $ac_try) 2>&5
69286   ac_status=$?
69287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69288   (exit $ac_status); }; }; then
69289   glibcxx_cv_func_isinff_use=yes
69290 else
69291   echo "$as_me: failed program was:" >&5
69292 sed 's/^/| /' conftest.$ac_ext >&5
69293
69294 glibcxx_cv_func_isinff_use=no
69295 fi
69296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69297       ac_ext=c
69298 ac_cpp='$CPP $CPPFLAGS'
69299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69302
69303
69304 fi
69305
69306   fi
69307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69308 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69309
69310   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69311
69312 for ac_func in isinff
69313 do
69314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69315 echo "$as_me:$LINENO: checking for $ac_func" >&5
69316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69317 if eval "test \"\${$as_ac_var+set}\" = set"; then
69318   echo $ECHO_N "(cached) $ECHO_C" >&6
69319 else
69320   if test x$gcc_no_link = xyes; then
69321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69323    { (exit 1); exit 1; }; }
69324 fi
69325 cat >conftest.$ac_ext <<_ACEOF
69326 /* confdefs.h.  */
69327 _ACEOF
69328 cat confdefs.h >>conftest.$ac_ext
69329 cat >>conftest.$ac_ext <<_ACEOF
69330 /* end confdefs.h.  */
69331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69333 #define $ac_func innocuous_$ac_func
69334
69335 /* System header to define __stub macros and hopefully few prototypes,
69336     which can conflict with char $ac_func (); below.
69337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69338     <limits.h> exists even on freestanding compilers.  */
69339
69340 #ifdef __STDC__
69341 # include <limits.h>
69342 #else
69343 # include <assert.h>
69344 #endif
69345
69346 #undef $ac_func
69347
69348 /* Override any gcc2 internal prototype to avoid an error.  */
69349 #ifdef __cplusplus
69350 extern "C"
69351 {
69352 #endif
69353 /* We use char because int might match the return type of a gcc2
69354    builtin and then its argument prototype would still apply.  */
69355 char $ac_func ();
69356 /* The GNU C library defines this for functions which it implements
69357     to always fail with ENOSYS.  Some functions are actually named
69358     something starting with __ and the normal name is an alias.  */
69359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69360 choke me
69361 #else
69362 char (*f) () = $ac_func;
69363 #endif
69364 #ifdef __cplusplus
69365 }
69366 #endif
69367
69368 int
69369 main ()
69370 {
69371 return f != $ac_func;
69372   ;
69373   return 0;
69374 }
69375 _ACEOF
69376 rm -f conftest.$ac_objext conftest$ac_exeext
69377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69378   (eval $ac_link) 2>conftest.er1
69379   ac_status=$?
69380   grep -v '^ *+' conftest.er1 >conftest.err
69381   rm -f conftest.er1
69382   cat conftest.err >&5
69383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384   (exit $ac_status); } &&
69385          { ac_try='test -z "$ac_c_werror_flag"
69386                          || test ! -s conftest.err'
69387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388   (eval $ac_try) 2>&5
69389   ac_status=$?
69390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391   (exit $ac_status); }; } &&
69392          { ac_try='test -s conftest$ac_exeext'
69393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69394   (eval $ac_try) 2>&5
69395   ac_status=$?
69396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69397   (exit $ac_status); }; }; then
69398   eval "$as_ac_var=yes"
69399 else
69400   echo "$as_me: failed program was:" >&5
69401 sed 's/^/| /' conftest.$ac_ext >&5
69402
69403 eval "$as_ac_var=no"
69404 fi
69405 rm -f conftest.err conftest.$ac_objext \
69406       conftest$ac_exeext conftest.$ac_ext
69407 fi
69408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69410 if test `eval echo '${'$as_ac_var'}'` = yes; then
69411   cat >>confdefs.h <<_ACEOF
69412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69413 _ACEOF
69414
69415 fi
69416 done
69417
69418   else
69419
69420   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69421 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69422   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69423     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69424   echo $ECHO_N "(cached) $ECHO_C" >&6
69425 else
69426
69427
69428
69429       ac_ext=cc
69430 ac_cpp='$CXXCPP $CPPFLAGS'
69431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69434
69435       cat >conftest.$ac_ext <<_ACEOF
69436 /* confdefs.h.  */
69437 _ACEOF
69438 cat confdefs.h >>conftest.$ac_ext
69439 cat >>conftest.$ac_ext <<_ACEOF
69440 /* end confdefs.h.  */
69441 #include <math.h>
69442                       #ifdef HAVE_IEEEFP_H
69443                       #include <ieeefp.h>
69444                       #endif
69445
69446 int
69447 main ()
69448 {
69449  _isinff(0);
69450   ;
69451   return 0;
69452 }
69453 _ACEOF
69454 rm -f conftest.$ac_objext
69455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69456   (eval $ac_compile) 2>conftest.er1
69457   ac_status=$?
69458   grep -v '^ *+' conftest.er1 >conftest.err
69459   rm -f conftest.er1
69460   cat conftest.err >&5
69461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69462   (exit $ac_status); } &&
69463          { ac_try='test -z "$ac_cxx_werror_flag"
69464                          || test ! -s conftest.err'
69465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69466   (eval $ac_try) 2>&5
69467   ac_status=$?
69468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69469   (exit $ac_status); }; } &&
69470          { ac_try='test -s conftest.$ac_objext'
69471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69472   (eval $ac_try) 2>&5
69473   ac_status=$?
69474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69475   (exit $ac_status); }; }; then
69476   glibcxx_cv_func__isinff_use=yes
69477 else
69478   echo "$as_me: failed program was:" >&5
69479 sed 's/^/| /' conftest.$ac_ext >&5
69480
69481 glibcxx_cv_func__isinff_use=no
69482 fi
69483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69484       ac_ext=c
69485 ac_cpp='$CPP $CPPFLAGS'
69486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69489
69490
69491 fi
69492
69493   fi
69494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69495 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69496
69497     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69498
69499 for ac_func in _isinff
69500 do
69501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69502 echo "$as_me:$LINENO: checking for $ac_func" >&5
69503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69504 if eval "test \"\${$as_ac_var+set}\" = set"; then
69505   echo $ECHO_N "(cached) $ECHO_C" >&6
69506 else
69507   if test x$gcc_no_link = xyes; then
69508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69510    { (exit 1); exit 1; }; }
69511 fi
69512 cat >conftest.$ac_ext <<_ACEOF
69513 /* confdefs.h.  */
69514 _ACEOF
69515 cat confdefs.h >>conftest.$ac_ext
69516 cat >>conftest.$ac_ext <<_ACEOF
69517 /* end confdefs.h.  */
69518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69520 #define $ac_func innocuous_$ac_func
69521
69522 /* System header to define __stub macros and hopefully few prototypes,
69523     which can conflict with char $ac_func (); below.
69524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69525     <limits.h> exists even on freestanding compilers.  */
69526
69527 #ifdef __STDC__
69528 # include <limits.h>
69529 #else
69530 # include <assert.h>
69531 #endif
69532
69533 #undef $ac_func
69534
69535 /* Override any gcc2 internal prototype to avoid an error.  */
69536 #ifdef __cplusplus
69537 extern "C"
69538 {
69539 #endif
69540 /* We use char because int might match the return type of a gcc2
69541    builtin and then its argument prototype would still apply.  */
69542 char $ac_func ();
69543 /* The GNU C library defines this for functions which it implements
69544     to always fail with ENOSYS.  Some functions are actually named
69545     something starting with __ and the normal name is an alias.  */
69546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69547 choke me
69548 #else
69549 char (*f) () = $ac_func;
69550 #endif
69551 #ifdef __cplusplus
69552 }
69553 #endif
69554
69555 int
69556 main ()
69557 {
69558 return f != $ac_func;
69559   ;
69560   return 0;
69561 }
69562 _ACEOF
69563 rm -f conftest.$ac_objext conftest$ac_exeext
69564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69565   (eval $ac_link) 2>conftest.er1
69566   ac_status=$?
69567   grep -v '^ *+' conftest.er1 >conftest.err
69568   rm -f conftest.er1
69569   cat conftest.err >&5
69570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69571   (exit $ac_status); } &&
69572          { ac_try='test -z "$ac_c_werror_flag"
69573                          || test ! -s conftest.err'
69574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69575   (eval $ac_try) 2>&5
69576   ac_status=$?
69577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69578   (exit $ac_status); }; } &&
69579          { ac_try='test -s conftest$ac_exeext'
69580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69581   (eval $ac_try) 2>&5
69582   ac_status=$?
69583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69584   (exit $ac_status); }; }; then
69585   eval "$as_ac_var=yes"
69586 else
69587   echo "$as_me: failed program was:" >&5
69588 sed 's/^/| /' conftest.$ac_ext >&5
69589
69590 eval "$as_ac_var=no"
69591 fi
69592 rm -f conftest.err conftest.$ac_objext \
69593       conftest$ac_exeext conftest.$ac_ext
69594 fi
69595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69597 if test `eval echo '${'$as_ac_var'}'` = yes; then
69598   cat >>confdefs.h <<_ACEOF
69599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69600 _ACEOF
69601
69602 fi
69603 done
69604
69605     fi
69606   fi
69607
69608
69609
69610
69611
69612
69613   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69614 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69615   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69616     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69617   echo $ECHO_N "(cached) $ECHO_C" >&6
69618 else
69619
69620
69621
69622       ac_ext=cc
69623 ac_cpp='$CXXCPP $CPPFLAGS'
69624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69627
69628       cat >conftest.$ac_ext <<_ACEOF
69629 /* confdefs.h.  */
69630 _ACEOF
69631 cat confdefs.h >>conftest.$ac_ext
69632 cat >>conftest.$ac_ext <<_ACEOF
69633 /* end confdefs.h.  */
69634 #include <math.h>
69635 int
69636 main ()
69637 {
69638  atan2f(0, 0);
69639   ;
69640   return 0;
69641 }
69642 _ACEOF
69643 rm -f conftest.$ac_objext
69644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69645   (eval $ac_compile) 2>conftest.er1
69646   ac_status=$?
69647   grep -v '^ *+' conftest.er1 >conftest.err
69648   rm -f conftest.er1
69649   cat conftest.err >&5
69650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69651   (exit $ac_status); } &&
69652          { ac_try='test -z "$ac_cxx_werror_flag"
69653                          || test ! -s conftest.err'
69654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69655   (eval $ac_try) 2>&5
69656   ac_status=$?
69657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69658   (exit $ac_status); }; } &&
69659          { ac_try='test -s conftest.$ac_objext'
69660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69661   (eval $ac_try) 2>&5
69662   ac_status=$?
69663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69664   (exit $ac_status); }; }; then
69665   glibcxx_cv_func_atan2f_use=yes
69666 else
69667   echo "$as_me: failed program was:" >&5
69668 sed 's/^/| /' conftest.$ac_ext >&5
69669
69670 glibcxx_cv_func_atan2f_use=no
69671 fi
69672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69673       ac_ext=c
69674 ac_cpp='$CPP $CPPFLAGS'
69675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69678
69679
69680 fi
69681
69682   fi
69683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69684 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69685
69686   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69687
69688 for ac_func in atan2f
69689 do
69690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69691 echo "$as_me:$LINENO: checking for $ac_func" >&5
69692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69693 if eval "test \"\${$as_ac_var+set}\" = set"; then
69694   echo $ECHO_N "(cached) $ECHO_C" >&6
69695 else
69696   if test x$gcc_no_link = xyes; then
69697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69699    { (exit 1); exit 1; }; }
69700 fi
69701 cat >conftest.$ac_ext <<_ACEOF
69702 /* confdefs.h.  */
69703 _ACEOF
69704 cat confdefs.h >>conftest.$ac_ext
69705 cat >>conftest.$ac_ext <<_ACEOF
69706 /* end confdefs.h.  */
69707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69709 #define $ac_func innocuous_$ac_func
69710
69711 /* System header to define __stub macros and hopefully few prototypes,
69712     which can conflict with char $ac_func (); below.
69713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69714     <limits.h> exists even on freestanding compilers.  */
69715
69716 #ifdef __STDC__
69717 # include <limits.h>
69718 #else
69719 # include <assert.h>
69720 #endif
69721
69722 #undef $ac_func
69723
69724 /* Override any gcc2 internal prototype to avoid an error.  */
69725 #ifdef __cplusplus
69726 extern "C"
69727 {
69728 #endif
69729 /* We use char because int might match the return type of a gcc2
69730    builtin and then its argument prototype would still apply.  */
69731 char $ac_func ();
69732 /* The GNU C library defines this for functions which it implements
69733     to always fail with ENOSYS.  Some functions are actually named
69734     something starting with __ and the normal name is an alias.  */
69735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69736 choke me
69737 #else
69738 char (*f) () = $ac_func;
69739 #endif
69740 #ifdef __cplusplus
69741 }
69742 #endif
69743
69744 int
69745 main ()
69746 {
69747 return f != $ac_func;
69748   ;
69749   return 0;
69750 }
69751 _ACEOF
69752 rm -f conftest.$ac_objext conftest$ac_exeext
69753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69754   (eval $ac_link) 2>conftest.er1
69755   ac_status=$?
69756   grep -v '^ *+' conftest.er1 >conftest.err
69757   rm -f conftest.er1
69758   cat conftest.err >&5
69759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69760   (exit $ac_status); } &&
69761          { ac_try='test -z "$ac_c_werror_flag"
69762                          || test ! -s conftest.err'
69763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69764   (eval $ac_try) 2>&5
69765   ac_status=$?
69766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69767   (exit $ac_status); }; } &&
69768          { ac_try='test -s conftest$ac_exeext'
69769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69770   (eval $ac_try) 2>&5
69771   ac_status=$?
69772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69773   (exit $ac_status); }; }; then
69774   eval "$as_ac_var=yes"
69775 else
69776   echo "$as_me: failed program was:" >&5
69777 sed 's/^/| /' conftest.$ac_ext >&5
69778
69779 eval "$as_ac_var=no"
69780 fi
69781 rm -f conftest.err conftest.$ac_objext \
69782       conftest$ac_exeext conftest.$ac_ext
69783 fi
69784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69786 if test `eval echo '${'$as_ac_var'}'` = yes; then
69787   cat >>confdefs.h <<_ACEOF
69788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69789 _ACEOF
69790
69791 fi
69792 done
69793
69794   else
69795
69796   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69797 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69798   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69799     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69800   echo $ECHO_N "(cached) $ECHO_C" >&6
69801 else
69802
69803
69804
69805       ac_ext=cc
69806 ac_cpp='$CXXCPP $CPPFLAGS'
69807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69810
69811       cat >conftest.$ac_ext <<_ACEOF
69812 /* confdefs.h.  */
69813 _ACEOF
69814 cat confdefs.h >>conftest.$ac_ext
69815 cat >>conftest.$ac_ext <<_ACEOF
69816 /* end confdefs.h.  */
69817 #include <math.h>
69818 int
69819 main ()
69820 {
69821  _atan2f(0, 0);
69822   ;
69823   return 0;
69824 }
69825 _ACEOF
69826 rm -f conftest.$ac_objext
69827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69828   (eval $ac_compile) 2>conftest.er1
69829   ac_status=$?
69830   grep -v '^ *+' conftest.er1 >conftest.err
69831   rm -f conftest.er1
69832   cat conftest.err >&5
69833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69834   (exit $ac_status); } &&
69835          { ac_try='test -z "$ac_cxx_werror_flag"
69836                          || test ! -s conftest.err'
69837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69838   (eval $ac_try) 2>&5
69839   ac_status=$?
69840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69841   (exit $ac_status); }; } &&
69842          { ac_try='test -s conftest.$ac_objext'
69843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69844   (eval $ac_try) 2>&5
69845   ac_status=$?
69846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69847   (exit $ac_status); }; }; then
69848   glibcxx_cv_func__atan2f_use=yes
69849 else
69850   echo "$as_me: failed program was:" >&5
69851 sed 's/^/| /' conftest.$ac_ext >&5
69852
69853 glibcxx_cv_func__atan2f_use=no
69854 fi
69855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69856       ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861
69862
69863 fi
69864
69865   fi
69866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69867 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69868
69869     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69870
69871 for ac_func in _atan2f
69872 do
69873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69874 echo "$as_me:$LINENO: checking for $ac_func" >&5
69875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69876 if eval "test \"\${$as_ac_var+set}\" = set"; then
69877   echo $ECHO_N "(cached) $ECHO_C" >&6
69878 else
69879   if test x$gcc_no_link = xyes; then
69880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69882    { (exit 1); exit 1; }; }
69883 fi
69884 cat >conftest.$ac_ext <<_ACEOF
69885 /* confdefs.h.  */
69886 _ACEOF
69887 cat confdefs.h >>conftest.$ac_ext
69888 cat >>conftest.$ac_ext <<_ACEOF
69889 /* end confdefs.h.  */
69890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69892 #define $ac_func innocuous_$ac_func
69893
69894 /* System header to define __stub macros and hopefully few prototypes,
69895     which can conflict with char $ac_func (); below.
69896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69897     <limits.h> exists even on freestanding compilers.  */
69898
69899 #ifdef __STDC__
69900 # include <limits.h>
69901 #else
69902 # include <assert.h>
69903 #endif
69904
69905 #undef $ac_func
69906
69907 /* Override any gcc2 internal prototype to avoid an error.  */
69908 #ifdef __cplusplus
69909 extern "C"
69910 {
69911 #endif
69912 /* We use char because int might match the return type of a gcc2
69913    builtin and then its argument prototype would still apply.  */
69914 char $ac_func ();
69915 /* The GNU C library defines this for functions which it implements
69916     to always fail with ENOSYS.  Some functions are actually named
69917     something starting with __ and the normal name is an alias.  */
69918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69919 choke me
69920 #else
69921 char (*f) () = $ac_func;
69922 #endif
69923 #ifdef __cplusplus
69924 }
69925 #endif
69926
69927 int
69928 main ()
69929 {
69930 return f != $ac_func;
69931   ;
69932   return 0;
69933 }
69934 _ACEOF
69935 rm -f conftest.$ac_objext conftest$ac_exeext
69936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69937   (eval $ac_link) 2>conftest.er1
69938   ac_status=$?
69939   grep -v '^ *+' conftest.er1 >conftest.err
69940   rm -f conftest.er1
69941   cat conftest.err >&5
69942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943   (exit $ac_status); } &&
69944          { ac_try='test -z "$ac_c_werror_flag"
69945                          || test ! -s conftest.err'
69946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69947   (eval $ac_try) 2>&5
69948   ac_status=$?
69949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950   (exit $ac_status); }; } &&
69951          { ac_try='test -s conftest$ac_exeext'
69952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69953   (eval $ac_try) 2>&5
69954   ac_status=$?
69955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69956   (exit $ac_status); }; }; then
69957   eval "$as_ac_var=yes"
69958 else
69959   echo "$as_me: failed program was:" >&5
69960 sed 's/^/| /' conftest.$ac_ext >&5
69961
69962 eval "$as_ac_var=no"
69963 fi
69964 rm -f conftest.err conftest.$ac_objext \
69965       conftest$ac_exeext conftest.$ac_ext
69966 fi
69967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69969 if test `eval echo '${'$as_ac_var'}'` = yes; then
69970   cat >>confdefs.h <<_ACEOF
69971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69972 _ACEOF
69973
69974 fi
69975 done
69976
69977     fi
69978   fi
69979
69980
69981
69982
69983
69984
69985   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69986 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69987   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69988     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69989   echo $ECHO_N "(cached) $ECHO_C" >&6
69990 else
69991
69992
69993
69994       ac_ext=cc
69995 ac_cpp='$CXXCPP $CPPFLAGS'
69996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69999
70000       cat >conftest.$ac_ext <<_ACEOF
70001 /* confdefs.h.  */
70002 _ACEOF
70003 cat confdefs.h >>conftest.$ac_ext
70004 cat >>conftest.$ac_ext <<_ACEOF
70005 /* end confdefs.h.  */
70006 #include <math.h>
70007                       #ifdef HAVE_IEEEFP_H
70008                       #include <ieeefp.h>
70009                       #endif
70010
70011 int
70012 main ()
70013 {
70014  fabsf(0);
70015   ;
70016   return 0;
70017 }
70018 _ACEOF
70019 rm -f conftest.$ac_objext
70020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70021   (eval $ac_compile) 2>conftest.er1
70022   ac_status=$?
70023   grep -v '^ *+' conftest.er1 >conftest.err
70024   rm -f conftest.er1
70025   cat conftest.err >&5
70026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70027   (exit $ac_status); } &&
70028          { ac_try='test -z "$ac_cxx_werror_flag"
70029                          || test ! -s conftest.err'
70030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70031   (eval $ac_try) 2>&5
70032   ac_status=$?
70033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70034   (exit $ac_status); }; } &&
70035          { ac_try='test -s conftest.$ac_objext'
70036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70037   (eval $ac_try) 2>&5
70038   ac_status=$?
70039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70040   (exit $ac_status); }; }; then
70041   glibcxx_cv_func_fabsf_use=yes
70042 else
70043   echo "$as_me: failed program was:" >&5
70044 sed 's/^/| /' conftest.$ac_ext >&5
70045
70046 glibcxx_cv_func_fabsf_use=no
70047 fi
70048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70049       ac_ext=c
70050 ac_cpp='$CPP $CPPFLAGS'
70051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70054
70055
70056 fi
70057
70058   fi
70059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70060 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70061
70062   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70063
70064 for ac_func in fabsf
70065 do
70066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70067 echo "$as_me:$LINENO: checking for $ac_func" >&5
70068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70069 if eval "test \"\${$as_ac_var+set}\" = set"; then
70070   echo $ECHO_N "(cached) $ECHO_C" >&6
70071 else
70072   if test x$gcc_no_link = xyes; then
70073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70075    { (exit 1); exit 1; }; }
70076 fi
70077 cat >conftest.$ac_ext <<_ACEOF
70078 /* confdefs.h.  */
70079 _ACEOF
70080 cat confdefs.h >>conftest.$ac_ext
70081 cat >>conftest.$ac_ext <<_ACEOF
70082 /* end confdefs.h.  */
70083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70085 #define $ac_func innocuous_$ac_func
70086
70087 /* System header to define __stub macros and hopefully few prototypes,
70088     which can conflict with char $ac_func (); below.
70089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70090     <limits.h> exists even on freestanding compilers.  */
70091
70092 #ifdef __STDC__
70093 # include <limits.h>
70094 #else
70095 # include <assert.h>
70096 #endif
70097
70098 #undef $ac_func
70099
70100 /* Override any gcc2 internal prototype to avoid an error.  */
70101 #ifdef __cplusplus
70102 extern "C"
70103 {
70104 #endif
70105 /* We use char because int might match the return type of a gcc2
70106    builtin and then its argument prototype would still apply.  */
70107 char $ac_func ();
70108 /* The GNU C library defines this for functions which it implements
70109     to always fail with ENOSYS.  Some functions are actually named
70110     something starting with __ and the normal name is an alias.  */
70111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70112 choke me
70113 #else
70114 char (*f) () = $ac_func;
70115 #endif
70116 #ifdef __cplusplus
70117 }
70118 #endif
70119
70120 int
70121 main ()
70122 {
70123 return f != $ac_func;
70124   ;
70125   return 0;
70126 }
70127 _ACEOF
70128 rm -f conftest.$ac_objext conftest$ac_exeext
70129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70130   (eval $ac_link) 2>conftest.er1
70131   ac_status=$?
70132   grep -v '^ *+' conftest.er1 >conftest.err
70133   rm -f conftest.er1
70134   cat conftest.err >&5
70135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70136   (exit $ac_status); } &&
70137          { ac_try='test -z "$ac_c_werror_flag"
70138                          || test ! -s conftest.err'
70139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70140   (eval $ac_try) 2>&5
70141   ac_status=$?
70142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70143   (exit $ac_status); }; } &&
70144          { ac_try='test -s conftest$ac_exeext'
70145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70146   (eval $ac_try) 2>&5
70147   ac_status=$?
70148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70149   (exit $ac_status); }; }; then
70150   eval "$as_ac_var=yes"
70151 else
70152   echo "$as_me: failed program was:" >&5
70153 sed 's/^/| /' conftest.$ac_ext >&5
70154
70155 eval "$as_ac_var=no"
70156 fi
70157 rm -f conftest.err conftest.$ac_objext \
70158       conftest$ac_exeext conftest.$ac_ext
70159 fi
70160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70162 if test `eval echo '${'$as_ac_var'}'` = yes; then
70163   cat >>confdefs.h <<_ACEOF
70164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70165 _ACEOF
70166
70167 fi
70168 done
70169
70170   else
70171
70172   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70173 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70174   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70175     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70176   echo $ECHO_N "(cached) $ECHO_C" >&6
70177 else
70178
70179
70180
70181       ac_ext=cc
70182 ac_cpp='$CXXCPP $CPPFLAGS'
70183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70186
70187       cat >conftest.$ac_ext <<_ACEOF
70188 /* confdefs.h.  */
70189 _ACEOF
70190 cat confdefs.h >>conftest.$ac_ext
70191 cat >>conftest.$ac_ext <<_ACEOF
70192 /* end confdefs.h.  */
70193 #include <math.h>
70194                       #ifdef HAVE_IEEEFP_H
70195                       #include <ieeefp.h>
70196                       #endif
70197
70198 int
70199 main ()
70200 {
70201  _fabsf(0);
70202   ;
70203   return 0;
70204 }
70205 _ACEOF
70206 rm -f conftest.$ac_objext
70207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70208   (eval $ac_compile) 2>conftest.er1
70209   ac_status=$?
70210   grep -v '^ *+' conftest.er1 >conftest.err
70211   rm -f conftest.er1
70212   cat conftest.err >&5
70213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70214   (exit $ac_status); } &&
70215          { ac_try='test -z "$ac_cxx_werror_flag"
70216                          || test ! -s conftest.err'
70217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70218   (eval $ac_try) 2>&5
70219   ac_status=$?
70220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70221   (exit $ac_status); }; } &&
70222          { ac_try='test -s conftest.$ac_objext'
70223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70224   (eval $ac_try) 2>&5
70225   ac_status=$?
70226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70227   (exit $ac_status); }; }; then
70228   glibcxx_cv_func__fabsf_use=yes
70229 else
70230   echo "$as_me: failed program was:" >&5
70231 sed 's/^/| /' conftest.$ac_ext >&5
70232
70233 glibcxx_cv_func__fabsf_use=no
70234 fi
70235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70236       ac_ext=c
70237 ac_cpp='$CPP $CPPFLAGS'
70238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241
70242
70243 fi
70244
70245   fi
70246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70247 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70248
70249     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70250
70251 for ac_func in _fabsf
70252 do
70253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70254 echo "$as_me:$LINENO: checking for $ac_func" >&5
70255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70256 if eval "test \"\${$as_ac_var+set}\" = set"; then
70257   echo $ECHO_N "(cached) $ECHO_C" >&6
70258 else
70259   if test x$gcc_no_link = xyes; then
70260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70262    { (exit 1); exit 1; }; }
70263 fi
70264 cat >conftest.$ac_ext <<_ACEOF
70265 /* confdefs.h.  */
70266 _ACEOF
70267 cat confdefs.h >>conftest.$ac_ext
70268 cat >>conftest.$ac_ext <<_ACEOF
70269 /* end confdefs.h.  */
70270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70272 #define $ac_func innocuous_$ac_func
70273
70274 /* System header to define __stub macros and hopefully few prototypes,
70275     which can conflict with char $ac_func (); below.
70276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70277     <limits.h> exists even on freestanding compilers.  */
70278
70279 #ifdef __STDC__
70280 # include <limits.h>
70281 #else
70282 # include <assert.h>
70283 #endif
70284
70285 #undef $ac_func
70286
70287 /* Override any gcc2 internal prototype to avoid an error.  */
70288 #ifdef __cplusplus
70289 extern "C"
70290 {
70291 #endif
70292 /* We use char because int might match the return type of a gcc2
70293    builtin and then its argument prototype would still apply.  */
70294 char $ac_func ();
70295 /* The GNU C library defines this for functions which it implements
70296     to always fail with ENOSYS.  Some functions are actually named
70297     something starting with __ and the normal name is an alias.  */
70298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70299 choke me
70300 #else
70301 char (*f) () = $ac_func;
70302 #endif
70303 #ifdef __cplusplus
70304 }
70305 #endif
70306
70307 int
70308 main ()
70309 {
70310 return f != $ac_func;
70311   ;
70312   return 0;
70313 }
70314 _ACEOF
70315 rm -f conftest.$ac_objext conftest$ac_exeext
70316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70317   (eval $ac_link) 2>conftest.er1
70318   ac_status=$?
70319   grep -v '^ *+' conftest.er1 >conftest.err
70320   rm -f conftest.er1
70321   cat conftest.err >&5
70322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70323   (exit $ac_status); } &&
70324          { ac_try='test -z "$ac_c_werror_flag"
70325                          || test ! -s conftest.err'
70326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70327   (eval $ac_try) 2>&5
70328   ac_status=$?
70329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70330   (exit $ac_status); }; } &&
70331          { ac_try='test -s conftest$ac_exeext'
70332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70333   (eval $ac_try) 2>&5
70334   ac_status=$?
70335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70336   (exit $ac_status); }; }; then
70337   eval "$as_ac_var=yes"
70338 else
70339   echo "$as_me: failed program was:" >&5
70340 sed 's/^/| /' conftest.$ac_ext >&5
70341
70342 eval "$as_ac_var=no"
70343 fi
70344 rm -f conftest.err conftest.$ac_objext \
70345       conftest$ac_exeext conftest.$ac_ext
70346 fi
70347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70349 if test `eval echo '${'$as_ac_var'}'` = yes; then
70350   cat >>confdefs.h <<_ACEOF
70351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70352 _ACEOF
70353
70354 fi
70355 done
70356
70357     fi
70358   fi
70359
70360
70361
70362
70363
70364
70365   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
70366 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
70367   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
70368     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
70369   echo $ECHO_N "(cached) $ECHO_C" >&6
70370 else
70371
70372
70373
70374       ac_ext=cc
70375 ac_cpp='$CXXCPP $CPPFLAGS'
70376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70379
70380       cat >conftest.$ac_ext <<_ACEOF
70381 /* confdefs.h.  */
70382 _ACEOF
70383 cat confdefs.h >>conftest.$ac_ext
70384 cat >>conftest.$ac_ext <<_ACEOF
70385 /* end confdefs.h.  */
70386 #include <math.h>
70387 int
70388 main ()
70389 {
70390  fmodf(0, 0);
70391   ;
70392   return 0;
70393 }
70394 _ACEOF
70395 rm -f conftest.$ac_objext
70396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70397   (eval $ac_compile) 2>conftest.er1
70398   ac_status=$?
70399   grep -v '^ *+' conftest.er1 >conftest.err
70400   rm -f conftest.er1
70401   cat conftest.err >&5
70402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70403   (exit $ac_status); } &&
70404          { ac_try='test -z "$ac_cxx_werror_flag"
70405                          || test ! -s conftest.err'
70406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70407   (eval $ac_try) 2>&5
70408   ac_status=$?
70409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70410   (exit $ac_status); }; } &&
70411          { ac_try='test -s conftest.$ac_objext'
70412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70413   (eval $ac_try) 2>&5
70414   ac_status=$?
70415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70416   (exit $ac_status); }; }; then
70417   glibcxx_cv_func_fmodf_use=yes
70418 else
70419   echo "$as_me: failed program was:" >&5
70420 sed 's/^/| /' conftest.$ac_ext >&5
70421
70422 glibcxx_cv_func_fmodf_use=no
70423 fi
70424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70425       ac_ext=c
70426 ac_cpp='$CPP $CPPFLAGS'
70427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70430
70431
70432 fi
70433
70434   fi
70435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70436 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70437
70438   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70439
70440 for ac_func in fmodf
70441 do
70442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70443 echo "$as_me:$LINENO: checking for $ac_func" >&5
70444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70445 if eval "test \"\${$as_ac_var+set}\" = set"; then
70446   echo $ECHO_N "(cached) $ECHO_C" >&6
70447 else
70448   if test x$gcc_no_link = xyes; then
70449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70451    { (exit 1); exit 1; }; }
70452 fi
70453 cat >conftest.$ac_ext <<_ACEOF
70454 /* confdefs.h.  */
70455 _ACEOF
70456 cat confdefs.h >>conftest.$ac_ext
70457 cat >>conftest.$ac_ext <<_ACEOF
70458 /* end confdefs.h.  */
70459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70461 #define $ac_func innocuous_$ac_func
70462
70463 /* System header to define __stub macros and hopefully few prototypes,
70464     which can conflict with char $ac_func (); below.
70465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70466     <limits.h> exists even on freestanding compilers.  */
70467
70468 #ifdef __STDC__
70469 # include <limits.h>
70470 #else
70471 # include <assert.h>
70472 #endif
70473
70474 #undef $ac_func
70475
70476 /* Override any gcc2 internal prototype to avoid an error.  */
70477 #ifdef __cplusplus
70478 extern "C"
70479 {
70480 #endif
70481 /* We use char because int might match the return type of a gcc2
70482    builtin and then its argument prototype would still apply.  */
70483 char $ac_func ();
70484 /* The GNU C library defines this for functions which it implements
70485     to always fail with ENOSYS.  Some functions are actually named
70486     something starting with __ and the normal name is an alias.  */
70487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70488 choke me
70489 #else
70490 char (*f) () = $ac_func;
70491 #endif
70492 #ifdef __cplusplus
70493 }
70494 #endif
70495
70496 int
70497 main ()
70498 {
70499 return f != $ac_func;
70500   ;
70501   return 0;
70502 }
70503 _ACEOF
70504 rm -f conftest.$ac_objext conftest$ac_exeext
70505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70506   (eval $ac_link) 2>conftest.er1
70507   ac_status=$?
70508   grep -v '^ *+' conftest.er1 >conftest.err
70509   rm -f conftest.er1
70510   cat conftest.err >&5
70511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70512   (exit $ac_status); } &&
70513          { ac_try='test -z "$ac_c_werror_flag"
70514                          || test ! -s conftest.err'
70515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70516   (eval $ac_try) 2>&5
70517   ac_status=$?
70518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70519   (exit $ac_status); }; } &&
70520          { ac_try='test -s conftest$ac_exeext'
70521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70522   (eval $ac_try) 2>&5
70523   ac_status=$?
70524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70525   (exit $ac_status); }; }; then
70526   eval "$as_ac_var=yes"
70527 else
70528   echo "$as_me: failed program was:" >&5
70529 sed 's/^/| /' conftest.$ac_ext >&5
70530
70531 eval "$as_ac_var=no"
70532 fi
70533 rm -f conftest.err conftest.$ac_objext \
70534       conftest$ac_exeext conftest.$ac_ext
70535 fi
70536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70538 if test `eval echo '${'$as_ac_var'}'` = yes; then
70539   cat >>confdefs.h <<_ACEOF
70540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70541 _ACEOF
70542
70543 fi
70544 done
70545
70546   else
70547
70548   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70549 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70550   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70551     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70552   echo $ECHO_N "(cached) $ECHO_C" >&6
70553 else
70554
70555
70556
70557       ac_ext=cc
70558 ac_cpp='$CXXCPP $CPPFLAGS'
70559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70562
70563       cat >conftest.$ac_ext <<_ACEOF
70564 /* confdefs.h.  */
70565 _ACEOF
70566 cat confdefs.h >>conftest.$ac_ext
70567 cat >>conftest.$ac_ext <<_ACEOF
70568 /* end confdefs.h.  */
70569 #include <math.h>
70570 int
70571 main ()
70572 {
70573  _fmodf(0, 0);
70574   ;
70575   return 0;
70576 }
70577 _ACEOF
70578 rm -f conftest.$ac_objext
70579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70580   (eval $ac_compile) 2>conftest.er1
70581   ac_status=$?
70582   grep -v '^ *+' conftest.er1 >conftest.err
70583   rm -f conftest.er1
70584   cat conftest.err >&5
70585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70586   (exit $ac_status); } &&
70587          { ac_try='test -z "$ac_cxx_werror_flag"
70588                          || test ! -s conftest.err'
70589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70590   (eval $ac_try) 2>&5
70591   ac_status=$?
70592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70593   (exit $ac_status); }; } &&
70594          { ac_try='test -s conftest.$ac_objext'
70595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70596   (eval $ac_try) 2>&5
70597   ac_status=$?
70598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70599   (exit $ac_status); }; }; then
70600   glibcxx_cv_func__fmodf_use=yes
70601 else
70602   echo "$as_me: failed program was:" >&5
70603 sed 's/^/| /' conftest.$ac_ext >&5
70604
70605 glibcxx_cv_func__fmodf_use=no
70606 fi
70607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70608       ac_ext=c
70609 ac_cpp='$CPP $CPPFLAGS'
70610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70613
70614
70615 fi
70616
70617   fi
70618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70619 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70620
70621     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70622
70623 for ac_func in _fmodf
70624 do
70625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70626 echo "$as_me:$LINENO: checking for $ac_func" >&5
70627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70628 if eval "test \"\${$as_ac_var+set}\" = set"; then
70629   echo $ECHO_N "(cached) $ECHO_C" >&6
70630 else
70631   if test x$gcc_no_link = xyes; then
70632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70634    { (exit 1); exit 1; }; }
70635 fi
70636 cat >conftest.$ac_ext <<_ACEOF
70637 /* confdefs.h.  */
70638 _ACEOF
70639 cat confdefs.h >>conftest.$ac_ext
70640 cat >>conftest.$ac_ext <<_ACEOF
70641 /* end confdefs.h.  */
70642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70644 #define $ac_func innocuous_$ac_func
70645
70646 /* System header to define __stub macros and hopefully few prototypes,
70647     which can conflict with char $ac_func (); below.
70648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70649     <limits.h> exists even on freestanding compilers.  */
70650
70651 #ifdef __STDC__
70652 # include <limits.h>
70653 #else
70654 # include <assert.h>
70655 #endif
70656
70657 #undef $ac_func
70658
70659 /* Override any gcc2 internal prototype to avoid an error.  */
70660 #ifdef __cplusplus
70661 extern "C"
70662 {
70663 #endif
70664 /* We use char because int might match the return type of a gcc2
70665    builtin and then its argument prototype would still apply.  */
70666 char $ac_func ();
70667 /* The GNU C library defines this for functions which it implements
70668     to always fail with ENOSYS.  Some functions are actually named
70669     something starting with __ and the normal name is an alias.  */
70670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70671 choke me
70672 #else
70673 char (*f) () = $ac_func;
70674 #endif
70675 #ifdef __cplusplus
70676 }
70677 #endif
70678
70679 int
70680 main ()
70681 {
70682 return f != $ac_func;
70683   ;
70684   return 0;
70685 }
70686 _ACEOF
70687 rm -f conftest.$ac_objext conftest$ac_exeext
70688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70689   (eval $ac_link) 2>conftest.er1
70690   ac_status=$?
70691   grep -v '^ *+' conftest.er1 >conftest.err
70692   rm -f conftest.er1
70693   cat conftest.err >&5
70694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70695   (exit $ac_status); } &&
70696          { ac_try='test -z "$ac_c_werror_flag"
70697                          || test ! -s conftest.err'
70698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70699   (eval $ac_try) 2>&5
70700   ac_status=$?
70701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70702   (exit $ac_status); }; } &&
70703          { ac_try='test -s conftest$ac_exeext'
70704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70705   (eval $ac_try) 2>&5
70706   ac_status=$?
70707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70708   (exit $ac_status); }; }; then
70709   eval "$as_ac_var=yes"
70710 else
70711   echo "$as_me: failed program was:" >&5
70712 sed 's/^/| /' conftest.$ac_ext >&5
70713
70714 eval "$as_ac_var=no"
70715 fi
70716 rm -f conftest.err conftest.$ac_objext \
70717       conftest$ac_exeext conftest.$ac_ext
70718 fi
70719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70721 if test `eval echo '${'$as_ac_var'}'` = yes; then
70722   cat >>confdefs.h <<_ACEOF
70723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70724 _ACEOF
70725
70726 fi
70727 done
70728
70729     fi
70730   fi
70731
70732
70733
70734
70735
70736
70737   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70738 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70739   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70740     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70741   echo $ECHO_N "(cached) $ECHO_C" >&6
70742 else
70743
70744
70745
70746       ac_ext=cc
70747 ac_cpp='$CXXCPP $CPPFLAGS'
70748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70751
70752       cat >conftest.$ac_ext <<_ACEOF
70753 /* confdefs.h.  */
70754 _ACEOF
70755 cat confdefs.h >>conftest.$ac_ext
70756 cat >>conftest.$ac_ext <<_ACEOF
70757 /* end confdefs.h.  */
70758 #include <math.h>
70759 int
70760 main ()
70761 {
70762  frexpf(0, 0);
70763   ;
70764   return 0;
70765 }
70766 _ACEOF
70767 rm -f conftest.$ac_objext
70768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70769   (eval $ac_compile) 2>conftest.er1
70770   ac_status=$?
70771   grep -v '^ *+' conftest.er1 >conftest.err
70772   rm -f conftest.er1
70773   cat conftest.err >&5
70774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70775   (exit $ac_status); } &&
70776          { ac_try='test -z "$ac_cxx_werror_flag"
70777                          || test ! -s conftest.err'
70778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70779   (eval $ac_try) 2>&5
70780   ac_status=$?
70781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70782   (exit $ac_status); }; } &&
70783          { ac_try='test -s conftest.$ac_objext'
70784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70785   (eval $ac_try) 2>&5
70786   ac_status=$?
70787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70788   (exit $ac_status); }; }; then
70789   glibcxx_cv_func_frexpf_use=yes
70790 else
70791   echo "$as_me: failed program was:" >&5
70792 sed 's/^/| /' conftest.$ac_ext >&5
70793
70794 glibcxx_cv_func_frexpf_use=no
70795 fi
70796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70797       ac_ext=c
70798 ac_cpp='$CPP $CPPFLAGS'
70799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70802
70803
70804 fi
70805
70806   fi
70807   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70808 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70809
70810   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70811
70812 for ac_func in frexpf
70813 do
70814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70815 echo "$as_me:$LINENO: checking for $ac_func" >&5
70816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70817 if eval "test \"\${$as_ac_var+set}\" = set"; then
70818   echo $ECHO_N "(cached) $ECHO_C" >&6
70819 else
70820   if test x$gcc_no_link = xyes; then
70821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70823    { (exit 1); exit 1; }; }
70824 fi
70825 cat >conftest.$ac_ext <<_ACEOF
70826 /* confdefs.h.  */
70827 _ACEOF
70828 cat confdefs.h >>conftest.$ac_ext
70829 cat >>conftest.$ac_ext <<_ACEOF
70830 /* end confdefs.h.  */
70831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70833 #define $ac_func innocuous_$ac_func
70834
70835 /* System header to define __stub macros and hopefully few prototypes,
70836     which can conflict with char $ac_func (); below.
70837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70838     <limits.h> exists even on freestanding compilers.  */
70839
70840 #ifdef __STDC__
70841 # include <limits.h>
70842 #else
70843 # include <assert.h>
70844 #endif
70845
70846 #undef $ac_func
70847
70848 /* Override any gcc2 internal prototype to avoid an error.  */
70849 #ifdef __cplusplus
70850 extern "C"
70851 {
70852 #endif
70853 /* We use char because int might match the return type of a gcc2
70854    builtin and then its argument prototype would still apply.  */
70855 char $ac_func ();
70856 /* The GNU C library defines this for functions which it implements
70857     to always fail with ENOSYS.  Some functions are actually named
70858     something starting with __ and the normal name is an alias.  */
70859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70860 choke me
70861 #else
70862 char (*f) () = $ac_func;
70863 #endif
70864 #ifdef __cplusplus
70865 }
70866 #endif
70867
70868 int
70869 main ()
70870 {
70871 return f != $ac_func;
70872   ;
70873   return 0;
70874 }
70875 _ACEOF
70876 rm -f conftest.$ac_objext conftest$ac_exeext
70877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70878   (eval $ac_link) 2>conftest.er1
70879   ac_status=$?
70880   grep -v '^ *+' conftest.er1 >conftest.err
70881   rm -f conftest.er1
70882   cat conftest.err >&5
70883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70884   (exit $ac_status); } &&
70885          { ac_try='test -z "$ac_c_werror_flag"
70886                          || test ! -s conftest.err'
70887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70888   (eval $ac_try) 2>&5
70889   ac_status=$?
70890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891   (exit $ac_status); }; } &&
70892          { ac_try='test -s conftest$ac_exeext'
70893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70894   (eval $ac_try) 2>&5
70895   ac_status=$?
70896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70897   (exit $ac_status); }; }; then
70898   eval "$as_ac_var=yes"
70899 else
70900   echo "$as_me: failed program was:" >&5
70901 sed 's/^/| /' conftest.$ac_ext >&5
70902
70903 eval "$as_ac_var=no"
70904 fi
70905 rm -f conftest.err conftest.$ac_objext \
70906       conftest$ac_exeext conftest.$ac_ext
70907 fi
70908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70910 if test `eval echo '${'$as_ac_var'}'` = yes; then
70911   cat >>confdefs.h <<_ACEOF
70912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70913 _ACEOF
70914
70915 fi
70916 done
70917
70918   else
70919
70920   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70921 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70922   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70923     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70924   echo $ECHO_N "(cached) $ECHO_C" >&6
70925 else
70926
70927
70928
70929       ac_ext=cc
70930 ac_cpp='$CXXCPP $CPPFLAGS'
70931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70934
70935       cat >conftest.$ac_ext <<_ACEOF
70936 /* confdefs.h.  */
70937 _ACEOF
70938 cat confdefs.h >>conftest.$ac_ext
70939 cat >>conftest.$ac_ext <<_ACEOF
70940 /* end confdefs.h.  */
70941 #include <math.h>
70942 int
70943 main ()
70944 {
70945  _frexpf(0, 0);
70946   ;
70947   return 0;
70948 }
70949 _ACEOF
70950 rm -f conftest.$ac_objext
70951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70952   (eval $ac_compile) 2>conftest.er1
70953   ac_status=$?
70954   grep -v '^ *+' conftest.er1 >conftest.err
70955   rm -f conftest.er1
70956   cat conftest.err >&5
70957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958   (exit $ac_status); } &&
70959          { ac_try='test -z "$ac_cxx_werror_flag"
70960                          || test ! -s conftest.err'
70961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70962   (eval $ac_try) 2>&5
70963   ac_status=$?
70964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70965   (exit $ac_status); }; } &&
70966          { ac_try='test -s conftest.$ac_objext'
70967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70968   (eval $ac_try) 2>&5
70969   ac_status=$?
70970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70971   (exit $ac_status); }; }; then
70972   glibcxx_cv_func__frexpf_use=yes
70973 else
70974   echo "$as_me: failed program was:" >&5
70975 sed 's/^/| /' conftest.$ac_ext >&5
70976
70977 glibcxx_cv_func__frexpf_use=no
70978 fi
70979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70980       ac_ext=c
70981 ac_cpp='$CPP $CPPFLAGS'
70982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70985
70986
70987 fi
70988
70989   fi
70990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70991 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70992
70993     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70994
70995 for ac_func in _frexpf
70996 do
70997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70998 echo "$as_me:$LINENO: checking for $ac_func" >&5
70999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71000 if eval "test \"\${$as_ac_var+set}\" = set"; then
71001   echo $ECHO_N "(cached) $ECHO_C" >&6
71002 else
71003   if test x$gcc_no_link = xyes; then
71004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71006    { (exit 1); exit 1; }; }
71007 fi
71008 cat >conftest.$ac_ext <<_ACEOF
71009 /* confdefs.h.  */
71010 _ACEOF
71011 cat confdefs.h >>conftest.$ac_ext
71012 cat >>conftest.$ac_ext <<_ACEOF
71013 /* end confdefs.h.  */
71014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71016 #define $ac_func innocuous_$ac_func
71017
71018 /* System header to define __stub macros and hopefully few prototypes,
71019     which can conflict with char $ac_func (); below.
71020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71021     <limits.h> exists even on freestanding compilers.  */
71022
71023 #ifdef __STDC__
71024 # include <limits.h>
71025 #else
71026 # include <assert.h>
71027 #endif
71028
71029 #undef $ac_func
71030
71031 /* Override any gcc2 internal prototype to avoid an error.  */
71032 #ifdef __cplusplus
71033 extern "C"
71034 {
71035 #endif
71036 /* We use char because int might match the return type of a gcc2
71037    builtin and then its argument prototype would still apply.  */
71038 char $ac_func ();
71039 /* The GNU C library defines this for functions which it implements
71040     to always fail with ENOSYS.  Some functions are actually named
71041     something starting with __ and the normal name is an alias.  */
71042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71043 choke me
71044 #else
71045 char (*f) () = $ac_func;
71046 #endif
71047 #ifdef __cplusplus
71048 }
71049 #endif
71050
71051 int
71052 main ()
71053 {
71054 return f != $ac_func;
71055   ;
71056   return 0;
71057 }
71058 _ACEOF
71059 rm -f conftest.$ac_objext conftest$ac_exeext
71060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71061   (eval $ac_link) 2>conftest.er1
71062   ac_status=$?
71063   grep -v '^ *+' conftest.er1 >conftest.err
71064   rm -f conftest.er1
71065   cat conftest.err >&5
71066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71067   (exit $ac_status); } &&
71068          { ac_try='test -z "$ac_c_werror_flag"
71069                          || test ! -s conftest.err'
71070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71071   (eval $ac_try) 2>&5
71072   ac_status=$?
71073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71074   (exit $ac_status); }; } &&
71075          { ac_try='test -s conftest$ac_exeext'
71076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71077   (eval $ac_try) 2>&5
71078   ac_status=$?
71079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71080   (exit $ac_status); }; }; then
71081   eval "$as_ac_var=yes"
71082 else
71083   echo "$as_me: failed program was:" >&5
71084 sed 's/^/| /' conftest.$ac_ext >&5
71085
71086 eval "$as_ac_var=no"
71087 fi
71088 rm -f conftest.err conftest.$ac_objext \
71089       conftest$ac_exeext conftest.$ac_ext
71090 fi
71091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71093 if test `eval echo '${'$as_ac_var'}'` = yes; then
71094   cat >>confdefs.h <<_ACEOF
71095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71096 _ACEOF
71097
71098 fi
71099 done
71100
71101     fi
71102   fi
71103
71104
71105
71106
71107
71108
71109   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71110 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71111   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71112     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71113   echo $ECHO_N "(cached) $ECHO_C" >&6
71114 else
71115
71116
71117
71118       ac_ext=cc
71119 ac_cpp='$CXXCPP $CPPFLAGS'
71120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71123
71124       cat >conftest.$ac_ext <<_ACEOF
71125 /* confdefs.h.  */
71126 _ACEOF
71127 cat confdefs.h >>conftest.$ac_ext
71128 cat >>conftest.$ac_ext <<_ACEOF
71129 /* end confdefs.h.  */
71130 #include <math.h>
71131 int
71132 main ()
71133 {
71134  hypotf(0, 0);
71135   ;
71136   return 0;
71137 }
71138 _ACEOF
71139 rm -f conftest.$ac_objext
71140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71141   (eval $ac_compile) 2>conftest.er1
71142   ac_status=$?
71143   grep -v '^ *+' conftest.er1 >conftest.err
71144   rm -f conftest.er1
71145   cat conftest.err >&5
71146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71147   (exit $ac_status); } &&
71148          { ac_try='test -z "$ac_cxx_werror_flag"
71149                          || test ! -s conftest.err'
71150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71151   (eval $ac_try) 2>&5
71152   ac_status=$?
71153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71154   (exit $ac_status); }; } &&
71155          { ac_try='test -s conftest.$ac_objext'
71156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71157   (eval $ac_try) 2>&5
71158   ac_status=$?
71159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71160   (exit $ac_status); }; }; then
71161   glibcxx_cv_func_hypotf_use=yes
71162 else
71163   echo "$as_me: failed program was:" >&5
71164 sed 's/^/| /' conftest.$ac_ext >&5
71165
71166 glibcxx_cv_func_hypotf_use=no
71167 fi
71168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71169       ac_ext=c
71170 ac_cpp='$CPP $CPPFLAGS'
71171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71174
71175
71176 fi
71177
71178   fi
71179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71180 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71181
71182   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71183
71184 for ac_func in hypotf
71185 do
71186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71187 echo "$as_me:$LINENO: checking for $ac_func" >&5
71188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71189 if eval "test \"\${$as_ac_var+set}\" = set"; then
71190   echo $ECHO_N "(cached) $ECHO_C" >&6
71191 else
71192   if test x$gcc_no_link = xyes; then
71193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71195    { (exit 1); exit 1; }; }
71196 fi
71197 cat >conftest.$ac_ext <<_ACEOF
71198 /* confdefs.h.  */
71199 _ACEOF
71200 cat confdefs.h >>conftest.$ac_ext
71201 cat >>conftest.$ac_ext <<_ACEOF
71202 /* end confdefs.h.  */
71203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71205 #define $ac_func innocuous_$ac_func
71206
71207 /* System header to define __stub macros and hopefully few prototypes,
71208     which can conflict with char $ac_func (); below.
71209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71210     <limits.h> exists even on freestanding compilers.  */
71211
71212 #ifdef __STDC__
71213 # include <limits.h>
71214 #else
71215 # include <assert.h>
71216 #endif
71217
71218 #undef $ac_func
71219
71220 /* Override any gcc2 internal prototype to avoid an error.  */
71221 #ifdef __cplusplus
71222 extern "C"
71223 {
71224 #endif
71225 /* We use char because int might match the return type of a gcc2
71226    builtin and then its argument prototype would still apply.  */
71227 char $ac_func ();
71228 /* The GNU C library defines this for functions which it implements
71229     to always fail with ENOSYS.  Some functions are actually named
71230     something starting with __ and the normal name is an alias.  */
71231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71232 choke me
71233 #else
71234 char (*f) () = $ac_func;
71235 #endif
71236 #ifdef __cplusplus
71237 }
71238 #endif
71239
71240 int
71241 main ()
71242 {
71243 return f != $ac_func;
71244   ;
71245   return 0;
71246 }
71247 _ACEOF
71248 rm -f conftest.$ac_objext conftest$ac_exeext
71249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71250   (eval $ac_link) 2>conftest.er1
71251   ac_status=$?
71252   grep -v '^ *+' conftest.er1 >conftest.err
71253   rm -f conftest.er1
71254   cat conftest.err >&5
71255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256   (exit $ac_status); } &&
71257          { ac_try='test -z "$ac_c_werror_flag"
71258                          || test ! -s conftest.err'
71259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71260   (eval $ac_try) 2>&5
71261   ac_status=$?
71262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71263   (exit $ac_status); }; } &&
71264          { ac_try='test -s conftest$ac_exeext'
71265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71266   (eval $ac_try) 2>&5
71267   ac_status=$?
71268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71269   (exit $ac_status); }; }; then
71270   eval "$as_ac_var=yes"
71271 else
71272   echo "$as_me: failed program was:" >&5
71273 sed 's/^/| /' conftest.$ac_ext >&5
71274
71275 eval "$as_ac_var=no"
71276 fi
71277 rm -f conftest.err conftest.$ac_objext \
71278       conftest$ac_exeext conftest.$ac_ext
71279 fi
71280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71282 if test `eval echo '${'$as_ac_var'}'` = yes; then
71283   cat >>confdefs.h <<_ACEOF
71284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71285 _ACEOF
71286
71287 fi
71288 done
71289
71290   else
71291
71292   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71293 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71294   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71295     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71296   echo $ECHO_N "(cached) $ECHO_C" >&6
71297 else
71298
71299
71300
71301       ac_ext=cc
71302 ac_cpp='$CXXCPP $CPPFLAGS'
71303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71306
71307       cat >conftest.$ac_ext <<_ACEOF
71308 /* confdefs.h.  */
71309 _ACEOF
71310 cat confdefs.h >>conftest.$ac_ext
71311 cat >>conftest.$ac_ext <<_ACEOF
71312 /* end confdefs.h.  */
71313 #include <math.h>
71314 int
71315 main ()
71316 {
71317  _hypotf(0, 0);
71318   ;
71319   return 0;
71320 }
71321 _ACEOF
71322 rm -f conftest.$ac_objext
71323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71324   (eval $ac_compile) 2>conftest.er1
71325   ac_status=$?
71326   grep -v '^ *+' conftest.er1 >conftest.err
71327   rm -f conftest.er1
71328   cat conftest.err >&5
71329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71330   (exit $ac_status); } &&
71331          { ac_try='test -z "$ac_cxx_werror_flag"
71332                          || test ! -s conftest.err'
71333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71334   (eval $ac_try) 2>&5
71335   ac_status=$?
71336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71337   (exit $ac_status); }; } &&
71338          { ac_try='test -s conftest.$ac_objext'
71339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71340   (eval $ac_try) 2>&5
71341   ac_status=$?
71342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71343   (exit $ac_status); }; }; then
71344   glibcxx_cv_func__hypotf_use=yes
71345 else
71346   echo "$as_me: failed program was:" >&5
71347 sed 's/^/| /' conftest.$ac_ext >&5
71348
71349 glibcxx_cv_func__hypotf_use=no
71350 fi
71351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71352       ac_ext=c
71353 ac_cpp='$CPP $CPPFLAGS'
71354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71357
71358
71359 fi
71360
71361   fi
71362   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
71363 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
71364
71365     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
71366
71367 for ac_func in _hypotf
71368 do
71369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71370 echo "$as_me:$LINENO: checking for $ac_func" >&5
71371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71372 if eval "test \"\${$as_ac_var+set}\" = set"; then
71373   echo $ECHO_N "(cached) $ECHO_C" >&6
71374 else
71375   if test x$gcc_no_link = xyes; then
71376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71378    { (exit 1); exit 1; }; }
71379 fi
71380 cat >conftest.$ac_ext <<_ACEOF
71381 /* confdefs.h.  */
71382 _ACEOF
71383 cat confdefs.h >>conftest.$ac_ext
71384 cat >>conftest.$ac_ext <<_ACEOF
71385 /* end confdefs.h.  */
71386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71388 #define $ac_func innocuous_$ac_func
71389
71390 /* System header to define __stub macros and hopefully few prototypes,
71391     which can conflict with char $ac_func (); below.
71392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71393     <limits.h> exists even on freestanding compilers.  */
71394
71395 #ifdef __STDC__
71396 # include <limits.h>
71397 #else
71398 # include <assert.h>
71399 #endif
71400
71401 #undef $ac_func
71402
71403 /* Override any gcc2 internal prototype to avoid an error.  */
71404 #ifdef __cplusplus
71405 extern "C"
71406 {
71407 #endif
71408 /* We use char because int might match the return type of a gcc2
71409    builtin and then its argument prototype would still apply.  */
71410 char $ac_func ();
71411 /* The GNU C library defines this for functions which it implements
71412     to always fail with ENOSYS.  Some functions are actually named
71413     something starting with __ and the normal name is an alias.  */
71414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71415 choke me
71416 #else
71417 char (*f) () = $ac_func;
71418 #endif
71419 #ifdef __cplusplus
71420 }
71421 #endif
71422
71423 int
71424 main ()
71425 {
71426 return f != $ac_func;
71427   ;
71428   return 0;
71429 }
71430 _ACEOF
71431 rm -f conftest.$ac_objext conftest$ac_exeext
71432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71433   (eval $ac_link) 2>conftest.er1
71434   ac_status=$?
71435   grep -v '^ *+' conftest.er1 >conftest.err
71436   rm -f conftest.er1
71437   cat conftest.err >&5
71438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71439   (exit $ac_status); } &&
71440          { ac_try='test -z "$ac_c_werror_flag"
71441                          || test ! -s conftest.err'
71442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71443   (eval $ac_try) 2>&5
71444   ac_status=$?
71445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71446   (exit $ac_status); }; } &&
71447          { ac_try='test -s conftest$ac_exeext'
71448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71449   (eval $ac_try) 2>&5
71450   ac_status=$?
71451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452   (exit $ac_status); }; }; then
71453   eval "$as_ac_var=yes"
71454 else
71455   echo "$as_me: failed program was:" >&5
71456 sed 's/^/| /' conftest.$ac_ext >&5
71457
71458 eval "$as_ac_var=no"
71459 fi
71460 rm -f conftest.err conftest.$ac_objext \
71461       conftest$ac_exeext conftest.$ac_ext
71462 fi
71463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71465 if test `eval echo '${'$as_ac_var'}'` = yes; then
71466   cat >>confdefs.h <<_ACEOF
71467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71468 _ACEOF
71469
71470 fi
71471 done
71472
71473     fi
71474   fi
71475
71476
71477
71478
71479
71480
71481   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71482 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71483   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71484     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71485   echo $ECHO_N "(cached) $ECHO_C" >&6
71486 else
71487
71488
71489
71490       ac_ext=cc
71491 ac_cpp='$CXXCPP $CPPFLAGS'
71492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71495
71496       cat >conftest.$ac_ext <<_ACEOF
71497 /* confdefs.h.  */
71498 _ACEOF
71499 cat confdefs.h >>conftest.$ac_ext
71500 cat >>conftest.$ac_ext <<_ACEOF
71501 /* end confdefs.h.  */
71502 #include <math.h>
71503 int
71504 main ()
71505 {
71506  ldexpf(0, 0);
71507   ;
71508   return 0;
71509 }
71510 _ACEOF
71511 rm -f conftest.$ac_objext
71512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71513   (eval $ac_compile) 2>conftest.er1
71514   ac_status=$?
71515   grep -v '^ *+' conftest.er1 >conftest.err
71516   rm -f conftest.er1
71517   cat conftest.err >&5
71518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71519   (exit $ac_status); } &&
71520          { ac_try='test -z "$ac_cxx_werror_flag"
71521                          || test ! -s conftest.err'
71522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71523   (eval $ac_try) 2>&5
71524   ac_status=$?
71525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71526   (exit $ac_status); }; } &&
71527          { ac_try='test -s conftest.$ac_objext'
71528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71529   (eval $ac_try) 2>&5
71530   ac_status=$?
71531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71532   (exit $ac_status); }; }; then
71533   glibcxx_cv_func_ldexpf_use=yes
71534 else
71535   echo "$as_me: failed program was:" >&5
71536 sed 's/^/| /' conftest.$ac_ext >&5
71537
71538 glibcxx_cv_func_ldexpf_use=no
71539 fi
71540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71541       ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71546
71547
71548 fi
71549
71550   fi
71551   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71552 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71553
71554   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71555
71556 for ac_func in ldexpf
71557 do
71558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71559 echo "$as_me:$LINENO: checking for $ac_func" >&5
71560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71561 if eval "test \"\${$as_ac_var+set}\" = set"; then
71562   echo $ECHO_N "(cached) $ECHO_C" >&6
71563 else
71564   if test x$gcc_no_link = xyes; then
71565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71567    { (exit 1); exit 1; }; }
71568 fi
71569 cat >conftest.$ac_ext <<_ACEOF
71570 /* confdefs.h.  */
71571 _ACEOF
71572 cat confdefs.h >>conftest.$ac_ext
71573 cat >>conftest.$ac_ext <<_ACEOF
71574 /* end confdefs.h.  */
71575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71577 #define $ac_func innocuous_$ac_func
71578
71579 /* System header to define __stub macros and hopefully few prototypes,
71580     which can conflict with char $ac_func (); below.
71581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71582     <limits.h> exists even on freestanding compilers.  */
71583
71584 #ifdef __STDC__
71585 # include <limits.h>
71586 #else
71587 # include <assert.h>
71588 #endif
71589
71590 #undef $ac_func
71591
71592 /* Override any gcc2 internal prototype to avoid an error.  */
71593 #ifdef __cplusplus
71594 extern "C"
71595 {
71596 #endif
71597 /* We use char because int might match the return type of a gcc2
71598    builtin and then its argument prototype would still apply.  */
71599 char $ac_func ();
71600 /* The GNU C library defines this for functions which it implements
71601     to always fail with ENOSYS.  Some functions are actually named
71602     something starting with __ and the normal name is an alias.  */
71603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71604 choke me
71605 #else
71606 char (*f) () = $ac_func;
71607 #endif
71608 #ifdef __cplusplus
71609 }
71610 #endif
71611
71612 int
71613 main ()
71614 {
71615 return f != $ac_func;
71616   ;
71617   return 0;
71618 }
71619 _ACEOF
71620 rm -f conftest.$ac_objext conftest$ac_exeext
71621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71622   (eval $ac_link) 2>conftest.er1
71623   ac_status=$?
71624   grep -v '^ *+' conftest.er1 >conftest.err
71625   rm -f conftest.er1
71626   cat conftest.err >&5
71627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628   (exit $ac_status); } &&
71629          { ac_try='test -z "$ac_c_werror_flag"
71630                          || test ! -s conftest.err'
71631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71632   (eval $ac_try) 2>&5
71633   ac_status=$?
71634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71635   (exit $ac_status); }; } &&
71636          { ac_try='test -s conftest$ac_exeext'
71637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71638   (eval $ac_try) 2>&5
71639   ac_status=$?
71640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71641   (exit $ac_status); }; }; then
71642   eval "$as_ac_var=yes"
71643 else
71644   echo "$as_me: failed program was:" >&5
71645 sed 's/^/| /' conftest.$ac_ext >&5
71646
71647 eval "$as_ac_var=no"
71648 fi
71649 rm -f conftest.err conftest.$ac_objext \
71650       conftest$ac_exeext conftest.$ac_ext
71651 fi
71652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71654 if test `eval echo '${'$as_ac_var'}'` = yes; then
71655   cat >>confdefs.h <<_ACEOF
71656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71657 _ACEOF
71658
71659 fi
71660 done
71661
71662   else
71663
71664   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71665 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71666   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71667     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71668   echo $ECHO_N "(cached) $ECHO_C" >&6
71669 else
71670
71671
71672
71673       ac_ext=cc
71674 ac_cpp='$CXXCPP $CPPFLAGS'
71675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71678
71679       cat >conftest.$ac_ext <<_ACEOF
71680 /* confdefs.h.  */
71681 _ACEOF
71682 cat confdefs.h >>conftest.$ac_ext
71683 cat >>conftest.$ac_ext <<_ACEOF
71684 /* end confdefs.h.  */
71685 #include <math.h>
71686 int
71687 main ()
71688 {
71689  _ldexpf(0, 0);
71690   ;
71691   return 0;
71692 }
71693 _ACEOF
71694 rm -f conftest.$ac_objext
71695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71696   (eval $ac_compile) 2>conftest.er1
71697   ac_status=$?
71698   grep -v '^ *+' conftest.er1 >conftest.err
71699   rm -f conftest.er1
71700   cat conftest.err >&5
71701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71702   (exit $ac_status); } &&
71703          { ac_try='test -z "$ac_cxx_werror_flag"
71704                          || test ! -s conftest.err'
71705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71706   (eval $ac_try) 2>&5
71707   ac_status=$?
71708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71709   (exit $ac_status); }; } &&
71710          { ac_try='test -s conftest.$ac_objext'
71711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71712   (eval $ac_try) 2>&5
71713   ac_status=$?
71714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71715   (exit $ac_status); }; }; then
71716   glibcxx_cv_func__ldexpf_use=yes
71717 else
71718   echo "$as_me: failed program was:" >&5
71719 sed 's/^/| /' conftest.$ac_ext >&5
71720
71721 glibcxx_cv_func__ldexpf_use=no
71722 fi
71723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71724       ac_ext=c
71725 ac_cpp='$CPP $CPPFLAGS'
71726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71729
71730
71731 fi
71732
71733   fi
71734   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71735 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71736
71737     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71738
71739 for ac_func in _ldexpf
71740 do
71741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71742 echo "$as_me:$LINENO: checking for $ac_func" >&5
71743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71744 if eval "test \"\${$as_ac_var+set}\" = set"; then
71745   echo $ECHO_N "(cached) $ECHO_C" >&6
71746 else
71747   if test x$gcc_no_link = xyes; then
71748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71750    { (exit 1); exit 1; }; }
71751 fi
71752 cat >conftest.$ac_ext <<_ACEOF
71753 /* confdefs.h.  */
71754 _ACEOF
71755 cat confdefs.h >>conftest.$ac_ext
71756 cat >>conftest.$ac_ext <<_ACEOF
71757 /* end confdefs.h.  */
71758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71760 #define $ac_func innocuous_$ac_func
71761
71762 /* System header to define __stub macros and hopefully few prototypes,
71763     which can conflict with char $ac_func (); below.
71764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71765     <limits.h> exists even on freestanding compilers.  */
71766
71767 #ifdef __STDC__
71768 # include <limits.h>
71769 #else
71770 # include <assert.h>
71771 #endif
71772
71773 #undef $ac_func
71774
71775 /* Override any gcc2 internal prototype to avoid an error.  */
71776 #ifdef __cplusplus
71777 extern "C"
71778 {
71779 #endif
71780 /* We use char because int might match the return type of a gcc2
71781    builtin and then its argument prototype would still apply.  */
71782 char $ac_func ();
71783 /* The GNU C library defines this for functions which it implements
71784     to always fail with ENOSYS.  Some functions are actually named
71785     something starting with __ and the normal name is an alias.  */
71786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71787 choke me
71788 #else
71789 char (*f) () = $ac_func;
71790 #endif
71791 #ifdef __cplusplus
71792 }
71793 #endif
71794
71795 int
71796 main ()
71797 {
71798 return f != $ac_func;
71799   ;
71800   return 0;
71801 }
71802 _ACEOF
71803 rm -f conftest.$ac_objext conftest$ac_exeext
71804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71805   (eval $ac_link) 2>conftest.er1
71806   ac_status=$?
71807   grep -v '^ *+' conftest.er1 >conftest.err
71808   rm -f conftest.er1
71809   cat conftest.err >&5
71810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71811   (exit $ac_status); } &&
71812          { ac_try='test -z "$ac_c_werror_flag"
71813                          || test ! -s conftest.err'
71814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71815   (eval $ac_try) 2>&5
71816   ac_status=$?
71817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71818   (exit $ac_status); }; } &&
71819          { ac_try='test -s conftest$ac_exeext'
71820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71821   (eval $ac_try) 2>&5
71822   ac_status=$?
71823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71824   (exit $ac_status); }; }; then
71825   eval "$as_ac_var=yes"
71826 else
71827   echo "$as_me: failed program was:" >&5
71828 sed 's/^/| /' conftest.$ac_ext >&5
71829
71830 eval "$as_ac_var=no"
71831 fi
71832 rm -f conftest.err conftest.$ac_objext \
71833       conftest$ac_exeext conftest.$ac_ext
71834 fi
71835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71837 if test `eval echo '${'$as_ac_var'}'` = yes; then
71838   cat >>confdefs.h <<_ACEOF
71839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71840 _ACEOF
71841
71842 fi
71843 done
71844
71845     fi
71846   fi
71847
71848
71849
71850
71851
71852
71853   echo "$as_me:$LINENO: checking for logf declaration" >&5
71854 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71855   if test x${glibcxx_cv_func_logf_use+set} != xset; then
71856     if test "${glibcxx_cv_func_logf_use+set}" = set; then
71857   echo $ECHO_N "(cached) $ECHO_C" >&6
71858 else
71859
71860
71861
71862       ac_ext=cc
71863 ac_cpp='$CXXCPP $CPPFLAGS'
71864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71867
71868       cat >conftest.$ac_ext <<_ACEOF
71869 /* confdefs.h.  */
71870 _ACEOF
71871 cat confdefs.h >>conftest.$ac_ext
71872 cat >>conftest.$ac_ext <<_ACEOF
71873 /* end confdefs.h.  */
71874 #include <math.h>
71875                       #ifdef HAVE_IEEEFP_H
71876                       #include <ieeefp.h>
71877                       #endif
71878
71879 int
71880 main ()
71881 {
71882  logf(0);
71883   ;
71884   return 0;
71885 }
71886 _ACEOF
71887 rm -f conftest.$ac_objext
71888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71889   (eval $ac_compile) 2>conftest.er1
71890   ac_status=$?
71891   grep -v '^ *+' conftest.er1 >conftest.err
71892   rm -f conftest.er1
71893   cat conftest.err >&5
71894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71895   (exit $ac_status); } &&
71896          { ac_try='test -z "$ac_cxx_werror_flag"
71897                          || test ! -s conftest.err'
71898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899   (eval $ac_try) 2>&5
71900   ac_status=$?
71901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902   (exit $ac_status); }; } &&
71903          { ac_try='test -s conftest.$ac_objext'
71904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71905   (eval $ac_try) 2>&5
71906   ac_status=$?
71907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71908   (exit $ac_status); }; }; then
71909   glibcxx_cv_func_logf_use=yes
71910 else
71911   echo "$as_me: failed program was:" >&5
71912 sed 's/^/| /' conftest.$ac_ext >&5
71913
71914 glibcxx_cv_func_logf_use=no
71915 fi
71916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71917       ac_ext=c
71918 ac_cpp='$CPP $CPPFLAGS'
71919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71922
71923
71924 fi
71925
71926   fi
71927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71928 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71929
71930   if test x$glibcxx_cv_func_logf_use = x"yes"; then
71931
71932 for ac_func in logf
71933 do
71934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71935 echo "$as_me:$LINENO: checking for $ac_func" >&5
71936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71937 if eval "test \"\${$as_ac_var+set}\" = set"; then
71938   echo $ECHO_N "(cached) $ECHO_C" >&6
71939 else
71940   if test x$gcc_no_link = xyes; then
71941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71943    { (exit 1); exit 1; }; }
71944 fi
71945 cat >conftest.$ac_ext <<_ACEOF
71946 /* confdefs.h.  */
71947 _ACEOF
71948 cat confdefs.h >>conftest.$ac_ext
71949 cat >>conftest.$ac_ext <<_ACEOF
71950 /* end confdefs.h.  */
71951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71953 #define $ac_func innocuous_$ac_func
71954
71955 /* System header to define __stub macros and hopefully few prototypes,
71956     which can conflict with char $ac_func (); below.
71957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71958     <limits.h> exists even on freestanding compilers.  */
71959
71960 #ifdef __STDC__
71961 # include <limits.h>
71962 #else
71963 # include <assert.h>
71964 #endif
71965
71966 #undef $ac_func
71967
71968 /* Override any gcc2 internal prototype to avoid an error.  */
71969 #ifdef __cplusplus
71970 extern "C"
71971 {
71972 #endif
71973 /* We use char because int might match the return type of a gcc2
71974    builtin and then its argument prototype would still apply.  */
71975 char $ac_func ();
71976 /* The GNU C library defines this for functions which it implements
71977     to always fail with ENOSYS.  Some functions are actually named
71978     something starting with __ and the normal name is an alias.  */
71979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71980 choke me
71981 #else
71982 char (*f) () = $ac_func;
71983 #endif
71984 #ifdef __cplusplus
71985 }
71986 #endif
71987
71988 int
71989 main ()
71990 {
71991 return f != $ac_func;
71992   ;
71993   return 0;
71994 }
71995 _ACEOF
71996 rm -f conftest.$ac_objext conftest$ac_exeext
71997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71998   (eval $ac_link) 2>conftest.er1
71999   ac_status=$?
72000   grep -v '^ *+' conftest.er1 >conftest.err
72001   rm -f conftest.er1
72002   cat conftest.err >&5
72003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72004   (exit $ac_status); } &&
72005          { ac_try='test -z "$ac_c_werror_flag"
72006                          || test ! -s conftest.err'
72007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008   (eval $ac_try) 2>&5
72009   ac_status=$?
72010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011   (exit $ac_status); }; } &&
72012          { ac_try='test -s conftest$ac_exeext'
72013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72014   (eval $ac_try) 2>&5
72015   ac_status=$?
72016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72017   (exit $ac_status); }; }; then
72018   eval "$as_ac_var=yes"
72019 else
72020   echo "$as_me: failed program was:" >&5
72021 sed 's/^/| /' conftest.$ac_ext >&5
72022
72023 eval "$as_ac_var=no"
72024 fi
72025 rm -f conftest.err conftest.$ac_objext \
72026       conftest$ac_exeext conftest.$ac_ext
72027 fi
72028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72030 if test `eval echo '${'$as_ac_var'}'` = yes; then
72031   cat >>confdefs.h <<_ACEOF
72032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72033 _ACEOF
72034
72035 fi
72036 done
72037
72038   else
72039
72040   echo "$as_me:$LINENO: checking for _logf declaration" >&5
72041 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72042   if test x${glibcxx_cv_func__logf_use+set} != xset; then
72043     if test "${glibcxx_cv_func__logf_use+set}" = set; then
72044   echo $ECHO_N "(cached) $ECHO_C" >&6
72045 else
72046
72047
72048
72049       ac_ext=cc
72050 ac_cpp='$CXXCPP $CPPFLAGS'
72051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72054
72055       cat >conftest.$ac_ext <<_ACEOF
72056 /* confdefs.h.  */
72057 _ACEOF
72058 cat confdefs.h >>conftest.$ac_ext
72059 cat >>conftest.$ac_ext <<_ACEOF
72060 /* end confdefs.h.  */
72061 #include <math.h>
72062                       #ifdef HAVE_IEEEFP_H
72063                       #include <ieeefp.h>
72064                       #endif
72065
72066 int
72067 main ()
72068 {
72069  _logf(0);
72070   ;
72071   return 0;
72072 }
72073 _ACEOF
72074 rm -f conftest.$ac_objext
72075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72076   (eval $ac_compile) 2>conftest.er1
72077   ac_status=$?
72078   grep -v '^ *+' conftest.er1 >conftest.err
72079   rm -f conftest.er1
72080   cat conftest.err >&5
72081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72082   (exit $ac_status); } &&
72083          { ac_try='test -z "$ac_cxx_werror_flag"
72084                          || test ! -s conftest.err'
72085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72086   (eval $ac_try) 2>&5
72087   ac_status=$?
72088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72089   (exit $ac_status); }; } &&
72090          { ac_try='test -s conftest.$ac_objext'
72091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72092   (eval $ac_try) 2>&5
72093   ac_status=$?
72094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72095   (exit $ac_status); }; }; then
72096   glibcxx_cv_func__logf_use=yes
72097 else
72098   echo "$as_me: failed program was:" >&5
72099 sed 's/^/| /' conftest.$ac_ext >&5
72100
72101 glibcxx_cv_func__logf_use=no
72102 fi
72103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72104       ac_ext=c
72105 ac_cpp='$CPP $CPPFLAGS'
72106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72109
72110
72111 fi
72112
72113   fi
72114   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72115 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72116
72117     if test x$glibcxx_cv_func__logf_use = x"yes"; then
72118
72119 for ac_func in _logf
72120 do
72121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72122 echo "$as_me:$LINENO: checking for $ac_func" >&5
72123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72124 if eval "test \"\${$as_ac_var+set}\" = set"; then
72125   echo $ECHO_N "(cached) $ECHO_C" >&6
72126 else
72127   if test x$gcc_no_link = xyes; then
72128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72130    { (exit 1); exit 1; }; }
72131 fi
72132 cat >conftest.$ac_ext <<_ACEOF
72133 /* confdefs.h.  */
72134 _ACEOF
72135 cat confdefs.h >>conftest.$ac_ext
72136 cat >>conftest.$ac_ext <<_ACEOF
72137 /* end confdefs.h.  */
72138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72140 #define $ac_func innocuous_$ac_func
72141
72142 /* System header to define __stub macros and hopefully few prototypes,
72143     which can conflict with char $ac_func (); below.
72144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72145     <limits.h> exists even on freestanding compilers.  */
72146
72147 #ifdef __STDC__
72148 # include <limits.h>
72149 #else
72150 # include <assert.h>
72151 #endif
72152
72153 #undef $ac_func
72154
72155 /* Override any gcc2 internal prototype to avoid an error.  */
72156 #ifdef __cplusplus
72157 extern "C"
72158 {
72159 #endif
72160 /* We use char because int might match the return type of a gcc2
72161    builtin and then its argument prototype would still apply.  */
72162 char $ac_func ();
72163 /* The GNU C library defines this for functions which it implements
72164     to always fail with ENOSYS.  Some functions are actually named
72165     something starting with __ and the normal name is an alias.  */
72166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72167 choke me
72168 #else
72169 char (*f) () = $ac_func;
72170 #endif
72171 #ifdef __cplusplus
72172 }
72173 #endif
72174
72175 int
72176 main ()
72177 {
72178 return f != $ac_func;
72179   ;
72180   return 0;
72181 }
72182 _ACEOF
72183 rm -f conftest.$ac_objext conftest$ac_exeext
72184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72185   (eval $ac_link) 2>conftest.er1
72186   ac_status=$?
72187   grep -v '^ *+' conftest.er1 >conftest.err
72188   rm -f conftest.er1
72189   cat conftest.err >&5
72190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72191   (exit $ac_status); } &&
72192          { ac_try='test -z "$ac_c_werror_flag"
72193                          || test ! -s conftest.err'
72194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72195   (eval $ac_try) 2>&5
72196   ac_status=$?
72197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72198   (exit $ac_status); }; } &&
72199          { ac_try='test -s conftest$ac_exeext'
72200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72201   (eval $ac_try) 2>&5
72202   ac_status=$?
72203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72204   (exit $ac_status); }; }; then
72205   eval "$as_ac_var=yes"
72206 else
72207   echo "$as_me: failed program was:" >&5
72208 sed 's/^/| /' conftest.$ac_ext >&5
72209
72210 eval "$as_ac_var=no"
72211 fi
72212 rm -f conftest.err conftest.$ac_objext \
72213       conftest$ac_exeext conftest.$ac_ext
72214 fi
72215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72217 if test `eval echo '${'$as_ac_var'}'` = yes; then
72218   cat >>confdefs.h <<_ACEOF
72219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72220 _ACEOF
72221
72222 fi
72223 done
72224
72225     fi
72226   fi
72227
72228
72229
72230
72231
72232
72233   echo "$as_me:$LINENO: checking for log10f declaration" >&5
72234 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72235   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72236     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72237   echo $ECHO_N "(cached) $ECHO_C" >&6
72238 else
72239
72240
72241
72242       ac_ext=cc
72243 ac_cpp='$CXXCPP $CPPFLAGS'
72244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72247
72248       cat >conftest.$ac_ext <<_ACEOF
72249 /* confdefs.h.  */
72250 _ACEOF
72251 cat confdefs.h >>conftest.$ac_ext
72252 cat >>conftest.$ac_ext <<_ACEOF
72253 /* end confdefs.h.  */
72254 #include <math.h>
72255                       #ifdef HAVE_IEEEFP_H
72256                       #include <ieeefp.h>
72257                       #endif
72258
72259 int
72260 main ()
72261 {
72262  log10f(0);
72263   ;
72264   return 0;
72265 }
72266 _ACEOF
72267 rm -f conftest.$ac_objext
72268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72269   (eval $ac_compile) 2>conftest.er1
72270   ac_status=$?
72271   grep -v '^ *+' conftest.er1 >conftest.err
72272   rm -f conftest.er1
72273   cat conftest.err >&5
72274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72275   (exit $ac_status); } &&
72276          { ac_try='test -z "$ac_cxx_werror_flag"
72277                          || test ! -s conftest.err'
72278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72279   (eval $ac_try) 2>&5
72280   ac_status=$?
72281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72282   (exit $ac_status); }; } &&
72283          { ac_try='test -s conftest.$ac_objext'
72284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72285   (eval $ac_try) 2>&5
72286   ac_status=$?
72287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72288   (exit $ac_status); }; }; then
72289   glibcxx_cv_func_log10f_use=yes
72290 else
72291   echo "$as_me: failed program was:" >&5
72292 sed 's/^/| /' conftest.$ac_ext >&5
72293
72294 glibcxx_cv_func_log10f_use=no
72295 fi
72296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72297       ac_ext=c
72298 ac_cpp='$CPP $CPPFLAGS'
72299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72302
72303
72304 fi
72305
72306   fi
72307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72308 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72309
72310   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72311
72312 for ac_func in log10f
72313 do
72314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72315 echo "$as_me:$LINENO: checking for $ac_func" >&5
72316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72317 if eval "test \"\${$as_ac_var+set}\" = set"; then
72318   echo $ECHO_N "(cached) $ECHO_C" >&6
72319 else
72320   if test x$gcc_no_link = xyes; then
72321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72323    { (exit 1); exit 1; }; }
72324 fi
72325 cat >conftest.$ac_ext <<_ACEOF
72326 /* confdefs.h.  */
72327 _ACEOF
72328 cat confdefs.h >>conftest.$ac_ext
72329 cat >>conftest.$ac_ext <<_ACEOF
72330 /* end confdefs.h.  */
72331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72333 #define $ac_func innocuous_$ac_func
72334
72335 /* System header to define __stub macros and hopefully few prototypes,
72336     which can conflict with char $ac_func (); below.
72337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72338     <limits.h> exists even on freestanding compilers.  */
72339
72340 #ifdef __STDC__
72341 # include <limits.h>
72342 #else
72343 # include <assert.h>
72344 #endif
72345
72346 #undef $ac_func
72347
72348 /* Override any gcc2 internal prototype to avoid an error.  */
72349 #ifdef __cplusplus
72350 extern "C"
72351 {
72352 #endif
72353 /* We use char because int might match the return type of a gcc2
72354    builtin and then its argument prototype would still apply.  */
72355 char $ac_func ();
72356 /* The GNU C library defines this for functions which it implements
72357     to always fail with ENOSYS.  Some functions are actually named
72358     something starting with __ and the normal name is an alias.  */
72359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72360 choke me
72361 #else
72362 char (*f) () = $ac_func;
72363 #endif
72364 #ifdef __cplusplus
72365 }
72366 #endif
72367
72368 int
72369 main ()
72370 {
72371 return f != $ac_func;
72372   ;
72373   return 0;
72374 }
72375 _ACEOF
72376 rm -f conftest.$ac_objext conftest$ac_exeext
72377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72378   (eval $ac_link) 2>conftest.er1
72379   ac_status=$?
72380   grep -v '^ *+' conftest.er1 >conftest.err
72381   rm -f conftest.er1
72382   cat conftest.err >&5
72383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384   (exit $ac_status); } &&
72385          { ac_try='test -z "$ac_c_werror_flag"
72386                          || test ! -s conftest.err'
72387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72388   (eval $ac_try) 2>&5
72389   ac_status=$?
72390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72391   (exit $ac_status); }; } &&
72392          { ac_try='test -s conftest$ac_exeext'
72393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72394   (eval $ac_try) 2>&5
72395   ac_status=$?
72396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72397   (exit $ac_status); }; }; then
72398   eval "$as_ac_var=yes"
72399 else
72400   echo "$as_me: failed program was:" >&5
72401 sed 's/^/| /' conftest.$ac_ext >&5
72402
72403 eval "$as_ac_var=no"
72404 fi
72405 rm -f conftest.err conftest.$ac_objext \
72406       conftest$ac_exeext conftest.$ac_ext
72407 fi
72408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72410 if test `eval echo '${'$as_ac_var'}'` = yes; then
72411   cat >>confdefs.h <<_ACEOF
72412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72413 _ACEOF
72414
72415 fi
72416 done
72417
72418   else
72419
72420   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72421 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72422   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72423     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72424   echo $ECHO_N "(cached) $ECHO_C" >&6
72425 else
72426
72427
72428
72429       ac_ext=cc
72430 ac_cpp='$CXXCPP $CPPFLAGS'
72431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72434
72435       cat >conftest.$ac_ext <<_ACEOF
72436 /* confdefs.h.  */
72437 _ACEOF
72438 cat confdefs.h >>conftest.$ac_ext
72439 cat >>conftest.$ac_ext <<_ACEOF
72440 /* end confdefs.h.  */
72441 #include <math.h>
72442                       #ifdef HAVE_IEEEFP_H
72443                       #include <ieeefp.h>
72444                       #endif
72445
72446 int
72447 main ()
72448 {
72449  _log10f(0);
72450   ;
72451   return 0;
72452 }
72453 _ACEOF
72454 rm -f conftest.$ac_objext
72455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72456   (eval $ac_compile) 2>conftest.er1
72457   ac_status=$?
72458   grep -v '^ *+' conftest.er1 >conftest.err
72459   rm -f conftest.er1
72460   cat conftest.err >&5
72461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72462   (exit $ac_status); } &&
72463          { ac_try='test -z "$ac_cxx_werror_flag"
72464                          || test ! -s conftest.err'
72465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72466   (eval $ac_try) 2>&5
72467   ac_status=$?
72468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72469   (exit $ac_status); }; } &&
72470          { ac_try='test -s conftest.$ac_objext'
72471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72472   (eval $ac_try) 2>&5
72473   ac_status=$?
72474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72475   (exit $ac_status); }; }; then
72476   glibcxx_cv_func__log10f_use=yes
72477 else
72478   echo "$as_me: failed program was:" >&5
72479 sed 's/^/| /' conftest.$ac_ext >&5
72480
72481 glibcxx_cv_func__log10f_use=no
72482 fi
72483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72484       ac_ext=c
72485 ac_cpp='$CPP $CPPFLAGS'
72486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72489
72490
72491 fi
72492
72493   fi
72494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72495 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72496
72497     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72498
72499 for ac_func in _log10f
72500 do
72501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72502 echo "$as_me:$LINENO: checking for $ac_func" >&5
72503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72504 if eval "test \"\${$as_ac_var+set}\" = set"; then
72505   echo $ECHO_N "(cached) $ECHO_C" >&6
72506 else
72507   if test x$gcc_no_link = xyes; then
72508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72510    { (exit 1); exit 1; }; }
72511 fi
72512 cat >conftest.$ac_ext <<_ACEOF
72513 /* confdefs.h.  */
72514 _ACEOF
72515 cat confdefs.h >>conftest.$ac_ext
72516 cat >>conftest.$ac_ext <<_ACEOF
72517 /* end confdefs.h.  */
72518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72520 #define $ac_func innocuous_$ac_func
72521
72522 /* System header to define __stub macros and hopefully few prototypes,
72523     which can conflict with char $ac_func (); below.
72524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72525     <limits.h> exists even on freestanding compilers.  */
72526
72527 #ifdef __STDC__
72528 # include <limits.h>
72529 #else
72530 # include <assert.h>
72531 #endif
72532
72533 #undef $ac_func
72534
72535 /* Override any gcc2 internal prototype to avoid an error.  */
72536 #ifdef __cplusplus
72537 extern "C"
72538 {
72539 #endif
72540 /* We use char because int might match the return type of a gcc2
72541    builtin and then its argument prototype would still apply.  */
72542 char $ac_func ();
72543 /* The GNU C library defines this for functions which it implements
72544     to always fail with ENOSYS.  Some functions are actually named
72545     something starting with __ and the normal name is an alias.  */
72546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72547 choke me
72548 #else
72549 char (*f) () = $ac_func;
72550 #endif
72551 #ifdef __cplusplus
72552 }
72553 #endif
72554
72555 int
72556 main ()
72557 {
72558 return f != $ac_func;
72559   ;
72560   return 0;
72561 }
72562 _ACEOF
72563 rm -f conftest.$ac_objext conftest$ac_exeext
72564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72565   (eval $ac_link) 2>conftest.er1
72566   ac_status=$?
72567   grep -v '^ *+' conftest.er1 >conftest.err
72568   rm -f conftest.er1
72569   cat conftest.err >&5
72570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72571   (exit $ac_status); } &&
72572          { ac_try='test -z "$ac_c_werror_flag"
72573                          || test ! -s conftest.err'
72574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72575   (eval $ac_try) 2>&5
72576   ac_status=$?
72577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72578   (exit $ac_status); }; } &&
72579          { ac_try='test -s conftest$ac_exeext'
72580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72581   (eval $ac_try) 2>&5
72582   ac_status=$?
72583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72584   (exit $ac_status); }; }; then
72585   eval "$as_ac_var=yes"
72586 else
72587   echo "$as_me: failed program was:" >&5
72588 sed 's/^/| /' conftest.$ac_ext >&5
72589
72590 eval "$as_ac_var=no"
72591 fi
72592 rm -f conftest.err conftest.$ac_objext \
72593       conftest$ac_exeext conftest.$ac_ext
72594 fi
72595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72597 if test `eval echo '${'$as_ac_var'}'` = yes; then
72598   cat >>confdefs.h <<_ACEOF
72599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72600 _ACEOF
72601
72602 fi
72603 done
72604
72605     fi
72606   fi
72607
72608
72609
72610
72611
72612
72613   echo "$as_me:$LINENO: checking for modff declaration" >&5
72614 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72615   if test x${glibcxx_cv_func_modff_use+set} != xset; then
72616     if test "${glibcxx_cv_func_modff_use+set}" = set; then
72617   echo $ECHO_N "(cached) $ECHO_C" >&6
72618 else
72619
72620
72621
72622       ac_ext=cc
72623 ac_cpp='$CXXCPP $CPPFLAGS'
72624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72627
72628       cat >conftest.$ac_ext <<_ACEOF
72629 /* confdefs.h.  */
72630 _ACEOF
72631 cat confdefs.h >>conftest.$ac_ext
72632 cat >>conftest.$ac_ext <<_ACEOF
72633 /* end confdefs.h.  */
72634 #include <math.h>
72635 int
72636 main ()
72637 {
72638  modff(0, 0);
72639   ;
72640   return 0;
72641 }
72642 _ACEOF
72643 rm -f conftest.$ac_objext
72644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72645   (eval $ac_compile) 2>conftest.er1
72646   ac_status=$?
72647   grep -v '^ *+' conftest.er1 >conftest.err
72648   rm -f conftest.er1
72649   cat conftest.err >&5
72650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72651   (exit $ac_status); } &&
72652          { ac_try='test -z "$ac_cxx_werror_flag"
72653                          || test ! -s conftest.err'
72654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72655   (eval $ac_try) 2>&5
72656   ac_status=$?
72657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72658   (exit $ac_status); }; } &&
72659          { ac_try='test -s conftest.$ac_objext'
72660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72661   (eval $ac_try) 2>&5
72662   ac_status=$?
72663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72664   (exit $ac_status); }; }; then
72665   glibcxx_cv_func_modff_use=yes
72666 else
72667   echo "$as_me: failed program was:" >&5
72668 sed 's/^/| /' conftest.$ac_ext >&5
72669
72670 glibcxx_cv_func_modff_use=no
72671 fi
72672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72673       ac_ext=c
72674 ac_cpp='$CPP $CPPFLAGS'
72675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72678
72679
72680 fi
72681
72682   fi
72683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72684 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72685
72686   if test x$glibcxx_cv_func_modff_use = x"yes"; then
72687
72688 for ac_func in modff
72689 do
72690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72691 echo "$as_me:$LINENO: checking for $ac_func" >&5
72692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72693 if eval "test \"\${$as_ac_var+set}\" = set"; then
72694   echo $ECHO_N "(cached) $ECHO_C" >&6
72695 else
72696   if test x$gcc_no_link = xyes; then
72697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72699    { (exit 1); exit 1; }; }
72700 fi
72701 cat >conftest.$ac_ext <<_ACEOF
72702 /* confdefs.h.  */
72703 _ACEOF
72704 cat confdefs.h >>conftest.$ac_ext
72705 cat >>conftest.$ac_ext <<_ACEOF
72706 /* end confdefs.h.  */
72707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72709 #define $ac_func innocuous_$ac_func
72710
72711 /* System header to define __stub macros and hopefully few prototypes,
72712     which can conflict with char $ac_func (); below.
72713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72714     <limits.h> exists even on freestanding compilers.  */
72715
72716 #ifdef __STDC__
72717 # include <limits.h>
72718 #else
72719 # include <assert.h>
72720 #endif
72721
72722 #undef $ac_func
72723
72724 /* Override any gcc2 internal prototype to avoid an error.  */
72725 #ifdef __cplusplus
72726 extern "C"
72727 {
72728 #endif
72729 /* We use char because int might match the return type of a gcc2
72730    builtin and then its argument prototype would still apply.  */
72731 char $ac_func ();
72732 /* The GNU C library defines this for functions which it implements
72733     to always fail with ENOSYS.  Some functions are actually named
72734     something starting with __ and the normal name is an alias.  */
72735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72736 choke me
72737 #else
72738 char (*f) () = $ac_func;
72739 #endif
72740 #ifdef __cplusplus
72741 }
72742 #endif
72743
72744 int
72745 main ()
72746 {
72747 return f != $ac_func;
72748   ;
72749   return 0;
72750 }
72751 _ACEOF
72752 rm -f conftest.$ac_objext conftest$ac_exeext
72753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72754   (eval $ac_link) 2>conftest.er1
72755   ac_status=$?
72756   grep -v '^ *+' conftest.er1 >conftest.err
72757   rm -f conftest.er1
72758   cat conftest.err >&5
72759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72760   (exit $ac_status); } &&
72761          { ac_try='test -z "$ac_c_werror_flag"
72762                          || test ! -s conftest.err'
72763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72764   (eval $ac_try) 2>&5
72765   ac_status=$?
72766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767   (exit $ac_status); }; } &&
72768          { ac_try='test -s conftest$ac_exeext'
72769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72770   (eval $ac_try) 2>&5
72771   ac_status=$?
72772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72773   (exit $ac_status); }; }; then
72774   eval "$as_ac_var=yes"
72775 else
72776   echo "$as_me: failed program was:" >&5
72777 sed 's/^/| /' conftest.$ac_ext >&5
72778
72779 eval "$as_ac_var=no"
72780 fi
72781 rm -f conftest.err conftest.$ac_objext \
72782       conftest$ac_exeext conftest.$ac_ext
72783 fi
72784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72786 if test `eval echo '${'$as_ac_var'}'` = yes; then
72787   cat >>confdefs.h <<_ACEOF
72788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72789 _ACEOF
72790
72791 fi
72792 done
72793
72794   else
72795
72796   echo "$as_me:$LINENO: checking for _modff declaration" >&5
72797 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72798   if test x${glibcxx_cv_func__modff_use+set} != xset; then
72799     if test "${glibcxx_cv_func__modff_use+set}" = set; then
72800   echo $ECHO_N "(cached) $ECHO_C" >&6
72801 else
72802
72803
72804
72805       ac_ext=cc
72806 ac_cpp='$CXXCPP $CPPFLAGS'
72807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72810
72811       cat >conftest.$ac_ext <<_ACEOF
72812 /* confdefs.h.  */
72813 _ACEOF
72814 cat confdefs.h >>conftest.$ac_ext
72815 cat >>conftest.$ac_ext <<_ACEOF
72816 /* end confdefs.h.  */
72817 #include <math.h>
72818 int
72819 main ()
72820 {
72821  _modff(0, 0);
72822   ;
72823   return 0;
72824 }
72825 _ACEOF
72826 rm -f conftest.$ac_objext
72827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72828   (eval $ac_compile) 2>conftest.er1
72829   ac_status=$?
72830   grep -v '^ *+' conftest.er1 >conftest.err
72831   rm -f conftest.er1
72832   cat conftest.err >&5
72833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834   (exit $ac_status); } &&
72835          { ac_try='test -z "$ac_cxx_werror_flag"
72836                          || test ! -s conftest.err'
72837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72838   (eval $ac_try) 2>&5
72839   ac_status=$?
72840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72841   (exit $ac_status); }; } &&
72842          { ac_try='test -s conftest.$ac_objext'
72843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72844   (eval $ac_try) 2>&5
72845   ac_status=$?
72846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72847   (exit $ac_status); }; }; then
72848   glibcxx_cv_func__modff_use=yes
72849 else
72850   echo "$as_me: failed program was:" >&5
72851 sed 's/^/| /' conftest.$ac_ext >&5
72852
72853 glibcxx_cv_func__modff_use=no
72854 fi
72855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72856       ac_ext=c
72857 ac_cpp='$CPP $CPPFLAGS'
72858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72861
72862
72863 fi
72864
72865   fi
72866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72867 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72868
72869     if test x$glibcxx_cv_func__modff_use = x"yes"; then
72870
72871 for ac_func in _modff
72872 do
72873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72874 echo "$as_me:$LINENO: checking for $ac_func" >&5
72875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72876 if eval "test \"\${$as_ac_var+set}\" = set"; then
72877   echo $ECHO_N "(cached) $ECHO_C" >&6
72878 else
72879   if test x$gcc_no_link = xyes; then
72880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72882    { (exit 1); exit 1; }; }
72883 fi
72884 cat >conftest.$ac_ext <<_ACEOF
72885 /* confdefs.h.  */
72886 _ACEOF
72887 cat confdefs.h >>conftest.$ac_ext
72888 cat >>conftest.$ac_ext <<_ACEOF
72889 /* end confdefs.h.  */
72890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72892 #define $ac_func innocuous_$ac_func
72893
72894 /* System header to define __stub macros and hopefully few prototypes,
72895     which can conflict with char $ac_func (); below.
72896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72897     <limits.h> exists even on freestanding compilers.  */
72898
72899 #ifdef __STDC__
72900 # include <limits.h>
72901 #else
72902 # include <assert.h>
72903 #endif
72904
72905 #undef $ac_func
72906
72907 /* Override any gcc2 internal prototype to avoid an error.  */
72908 #ifdef __cplusplus
72909 extern "C"
72910 {
72911 #endif
72912 /* We use char because int might match the return type of a gcc2
72913    builtin and then its argument prototype would still apply.  */
72914 char $ac_func ();
72915 /* The GNU C library defines this for functions which it implements
72916     to always fail with ENOSYS.  Some functions are actually named
72917     something starting with __ and the normal name is an alias.  */
72918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72919 choke me
72920 #else
72921 char (*f) () = $ac_func;
72922 #endif
72923 #ifdef __cplusplus
72924 }
72925 #endif
72926
72927 int
72928 main ()
72929 {
72930 return f != $ac_func;
72931   ;
72932   return 0;
72933 }
72934 _ACEOF
72935 rm -f conftest.$ac_objext conftest$ac_exeext
72936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72937   (eval $ac_link) 2>conftest.er1
72938   ac_status=$?
72939   grep -v '^ *+' conftest.er1 >conftest.err
72940   rm -f conftest.er1
72941   cat conftest.err >&5
72942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72943   (exit $ac_status); } &&
72944          { ac_try='test -z "$ac_c_werror_flag"
72945                          || test ! -s conftest.err'
72946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72947   (eval $ac_try) 2>&5
72948   ac_status=$?
72949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72950   (exit $ac_status); }; } &&
72951          { ac_try='test -s conftest$ac_exeext'
72952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72953   (eval $ac_try) 2>&5
72954   ac_status=$?
72955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72956   (exit $ac_status); }; }; then
72957   eval "$as_ac_var=yes"
72958 else
72959   echo "$as_me: failed program was:" >&5
72960 sed 's/^/| /' conftest.$ac_ext >&5
72961
72962 eval "$as_ac_var=no"
72963 fi
72964 rm -f conftest.err conftest.$ac_objext \
72965       conftest$ac_exeext conftest.$ac_ext
72966 fi
72967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72969 if test `eval echo '${'$as_ac_var'}'` = yes; then
72970   cat >>confdefs.h <<_ACEOF
72971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72972 _ACEOF
72973
72974 fi
72975 done
72976
72977     fi
72978   fi
72979
72980
72981
72982
72983
72984
72985   echo "$as_me:$LINENO: checking for modf declaration" >&5
72986 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72987   if test x${glibcxx_cv_func_modf_use+set} != xset; then
72988     if test "${glibcxx_cv_func_modf_use+set}" = set; then
72989   echo $ECHO_N "(cached) $ECHO_C" >&6
72990 else
72991
72992
72993
72994       ac_ext=cc
72995 ac_cpp='$CXXCPP $CPPFLAGS'
72996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72999
73000       cat >conftest.$ac_ext <<_ACEOF
73001 /* confdefs.h.  */
73002 _ACEOF
73003 cat confdefs.h >>conftest.$ac_ext
73004 cat >>conftest.$ac_ext <<_ACEOF
73005 /* end confdefs.h.  */
73006 #include <math.h>
73007 int
73008 main ()
73009 {
73010  modf(0, 0);
73011   ;
73012   return 0;
73013 }
73014 _ACEOF
73015 rm -f conftest.$ac_objext
73016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73017   (eval $ac_compile) 2>conftest.er1
73018   ac_status=$?
73019   grep -v '^ *+' conftest.er1 >conftest.err
73020   rm -f conftest.er1
73021   cat conftest.err >&5
73022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73023   (exit $ac_status); } &&
73024          { ac_try='test -z "$ac_cxx_werror_flag"
73025                          || test ! -s conftest.err'
73026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73027   (eval $ac_try) 2>&5
73028   ac_status=$?
73029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73030   (exit $ac_status); }; } &&
73031          { ac_try='test -s conftest.$ac_objext'
73032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73033   (eval $ac_try) 2>&5
73034   ac_status=$?
73035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73036   (exit $ac_status); }; }; then
73037   glibcxx_cv_func_modf_use=yes
73038 else
73039   echo "$as_me: failed program was:" >&5
73040 sed 's/^/| /' conftest.$ac_ext >&5
73041
73042 glibcxx_cv_func_modf_use=no
73043 fi
73044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73045       ac_ext=c
73046 ac_cpp='$CPP $CPPFLAGS'
73047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73050
73051
73052 fi
73053
73054   fi
73055   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73056 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73057
73058   if test x$glibcxx_cv_func_modf_use = x"yes"; then
73059
73060 for ac_func in modf
73061 do
73062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73063 echo "$as_me:$LINENO: checking for $ac_func" >&5
73064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73065 if eval "test \"\${$as_ac_var+set}\" = set"; then
73066   echo $ECHO_N "(cached) $ECHO_C" >&6
73067 else
73068   if test x$gcc_no_link = xyes; then
73069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73071    { (exit 1); exit 1; }; }
73072 fi
73073 cat >conftest.$ac_ext <<_ACEOF
73074 /* confdefs.h.  */
73075 _ACEOF
73076 cat confdefs.h >>conftest.$ac_ext
73077 cat >>conftest.$ac_ext <<_ACEOF
73078 /* end confdefs.h.  */
73079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73081 #define $ac_func innocuous_$ac_func
73082
73083 /* System header to define __stub macros and hopefully few prototypes,
73084     which can conflict with char $ac_func (); below.
73085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73086     <limits.h> exists even on freestanding compilers.  */
73087
73088 #ifdef __STDC__
73089 # include <limits.h>
73090 #else
73091 # include <assert.h>
73092 #endif
73093
73094 #undef $ac_func
73095
73096 /* Override any gcc2 internal prototype to avoid an error.  */
73097 #ifdef __cplusplus
73098 extern "C"
73099 {
73100 #endif
73101 /* We use char because int might match the return type of a gcc2
73102    builtin and then its argument prototype would still apply.  */
73103 char $ac_func ();
73104 /* The GNU C library defines this for functions which it implements
73105     to always fail with ENOSYS.  Some functions are actually named
73106     something starting with __ and the normal name is an alias.  */
73107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73108 choke me
73109 #else
73110 char (*f) () = $ac_func;
73111 #endif
73112 #ifdef __cplusplus
73113 }
73114 #endif
73115
73116 int
73117 main ()
73118 {
73119 return f != $ac_func;
73120   ;
73121   return 0;
73122 }
73123 _ACEOF
73124 rm -f conftest.$ac_objext conftest$ac_exeext
73125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73126   (eval $ac_link) 2>conftest.er1
73127   ac_status=$?
73128   grep -v '^ *+' conftest.er1 >conftest.err
73129   rm -f conftest.er1
73130   cat conftest.err >&5
73131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73132   (exit $ac_status); } &&
73133          { ac_try='test -z "$ac_c_werror_flag"
73134                          || test ! -s conftest.err'
73135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73136   (eval $ac_try) 2>&5
73137   ac_status=$?
73138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73139   (exit $ac_status); }; } &&
73140          { ac_try='test -s conftest$ac_exeext'
73141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73142   (eval $ac_try) 2>&5
73143   ac_status=$?
73144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73145   (exit $ac_status); }; }; then
73146   eval "$as_ac_var=yes"
73147 else
73148   echo "$as_me: failed program was:" >&5
73149 sed 's/^/| /' conftest.$ac_ext >&5
73150
73151 eval "$as_ac_var=no"
73152 fi
73153 rm -f conftest.err conftest.$ac_objext \
73154       conftest$ac_exeext conftest.$ac_ext
73155 fi
73156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73158 if test `eval echo '${'$as_ac_var'}'` = yes; then
73159   cat >>confdefs.h <<_ACEOF
73160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73161 _ACEOF
73162
73163 fi
73164 done
73165
73166   else
73167
73168   echo "$as_me:$LINENO: checking for _modf declaration" >&5
73169 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73170   if test x${glibcxx_cv_func__modf_use+set} != xset; then
73171     if test "${glibcxx_cv_func__modf_use+set}" = set; then
73172   echo $ECHO_N "(cached) $ECHO_C" >&6
73173 else
73174
73175
73176
73177       ac_ext=cc
73178 ac_cpp='$CXXCPP $CPPFLAGS'
73179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73182
73183       cat >conftest.$ac_ext <<_ACEOF
73184 /* confdefs.h.  */
73185 _ACEOF
73186 cat confdefs.h >>conftest.$ac_ext
73187 cat >>conftest.$ac_ext <<_ACEOF
73188 /* end confdefs.h.  */
73189 #include <math.h>
73190 int
73191 main ()
73192 {
73193  _modf(0, 0);
73194   ;
73195   return 0;
73196 }
73197 _ACEOF
73198 rm -f conftest.$ac_objext
73199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73200   (eval $ac_compile) 2>conftest.er1
73201   ac_status=$?
73202   grep -v '^ *+' conftest.er1 >conftest.err
73203   rm -f conftest.er1
73204   cat conftest.err >&5
73205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73206   (exit $ac_status); } &&
73207          { ac_try='test -z "$ac_cxx_werror_flag"
73208                          || test ! -s conftest.err'
73209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73210   (eval $ac_try) 2>&5
73211   ac_status=$?
73212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73213   (exit $ac_status); }; } &&
73214          { ac_try='test -s conftest.$ac_objext'
73215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73216   (eval $ac_try) 2>&5
73217   ac_status=$?
73218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73219   (exit $ac_status); }; }; then
73220   glibcxx_cv_func__modf_use=yes
73221 else
73222   echo "$as_me: failed program was:" >&5
73223 sed 's/^/| /' conftest.$ac_ext >&5
73224
73225 glibcxx_cv_func__modf_use=no
73226 fi
73227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73228       ac_ext=c
73229 ac_cpp='$CPP $CPPFLAGS'
73230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73233
73234
73235 fi
73236
73237   fi
73238   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73239 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73240
73241     if test x$glibcxx_cv_func__modf_use = x"yes"; then
73242
73243 for ac_func in _modf
73244 do
73245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73246 echo "$as_me:$LINENO: checking for $ac_func" >&5
73247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73248 if eval "test \"\${$as_ac_var+set}\" = set"; then
73249   echo $ECHO_N "(cached) $ECHO_C" >&6
73250 else
73251   if test x$gcc_no_link = xyes; then
73252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73254    { (exit 1); exit 1; }; }
73255 fi
73256 cat >conftest.$ac_ext <<_ACEOF
73257 /* confdefs.h.  */
73258 _ACEOF
73259 cat confdefs.h >>conftest.$ac_ext
73260 cat >>conftest.$ac_ext <<_ACEOF
73261 /* end confdefs.h.  */
73262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73264 #define $ac_func innocuous_$ac_func
73265
73266 /* System header to define __stub macros and hopefully few prototypes,
73267     which can conflict with char $ac_func (); below.
73268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73269     <limits.h> exists even on freestanding compilers.  */
73270
73271 #ifdef __STDC__
73272 # include <limits.h>
73273 #else
73274 # include <assert.h>
73275 #endif
73276
73277 #undef $ac_func
73278
73279 /* Override any gcc2 internal prototype to avoid an error.  */
73280 #ifdef __cplusplus
73281 extern "C"
73282 {
73283 #endif
73284 /* We use char because int might match the return type of a gcc2
73285    builtin and then its argument prototype would still apply.  */
73286 char $ac_func ();
73287 /* The GNU C library defines this for functions which it implements
73288     to always fail with ENOSYS.  Some functions are actually named
73289     something starting with __ and the normal name is an alias.  */
73290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73291 choke me
73292 #else
73293 char (*f) () = $ac_func;
73294 #endif
73295 #ifdef __cplusplus
73296 }
73297 #endif
73298
73299 int
73300 main ()
73301 {
73302 return f != $ac_func;
73303   ;
73304   return 0;
73305 }
73306 _ACEOF
73307 rm -f conftest.$ac_objext conftest$ac_exeext
73308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73309   (eval $ac_link) 2>conftest.er1
73310   ac_status=$?
73311   grep -v '^ *+' conftest.er1 >conftest.err
73312   rm -f conftest.er1
73313   cat conftest.err >&5
73314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73315   (exit $ac_status); } &&
73316          { ac_try='test -z "$ac_c_werror_flag"
73317                          || test ! -s conftest.err'
73318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73319   (eval $ac_try) 2>&5
73320   ac_status=$?
73321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73322   (exit $ac_status); }; } &&
73323          { ac_try='test -s conftest$ac_exeext'
73324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325   (eval $ac_try) 2>&5
73326   ac_status=$?
73327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328   (exit $ac_status); }; }; then
73329   eval "$as_ac_var=yes"
73330 else
73331   echo "$as_me: failed program was:" >&5
73332 sed 's/^/| /' conftest.$ac_ext >&5
73333
73334 eval "$as_ac_var=no"
73335 fi
73336 rm -f conftest.err conftest.$ac_objext \
73337       conftest$ac_exeext conftest.$ac_ext
73338 fi
73339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73341 if test `eval echo '${'$as_ac_var'}'` = yes; then
73342   cat >>confdefs.h <<_ACEOF
73343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73344 _ACEOF
73345
73346 fi
73347 done
73348
73349     fi
73350   fi
73351
73352
73353
73354
73355
73356
73357   echo "$as_me:$LINENO: checking for powf declaration" >&5
73358 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
73359   if test x${glibcxx_cv_func_powf_use+set} != xset; then
73360     if test "${glibcxx_cv_func_powf_use+set}" = set; then
73361   echo $ECHO_N "(cached) $ECHO_C" >&6
73362 else
73363
73364
73365
73366       ac_ext=cc
73367 ac_cpp='$CXXCPP $CPPFLAGS'
73368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73371
73372       cat >conftest.$ac_ext <<_ACEOF
73373 /* confdefs.h.  */
73374 _ACEOF
73375 cat confdefs.h >>conftest.$ac_ext
73376 cat >>conftest.$ac_ext <<_ACEOF
73377 /* end confdefs.h.  */
73378 #include <math.h>
73379 int
73380 main ()
73381 {
73382  powf(0, 0);
73383   ;
73384   return 0;
73385 }
73386 _ACEOF
73387 rm -f conftest.$ac_objext
73388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73389   (eval $ac_compile) 2>conftest.er1
73390   ac_status=$?
73391   grep -v '^ *+' conftest.er1 >conftest.err
73392   rm -f conftest.er1
73393   cat conftest.err >&5
73394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395   (exit $ac_status); } &&
73396          { ac_try='test -z "$ac_cxx_werror_flag"
73397                          || test ! -s conftest.err'
73398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399   (eval $ac_try) 2>&5
73400   ac_status=$?
73401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402   (exit $ac_status); }; } &&
73403          { ac_try='test -s conftest.$ac_objext'
73404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73405   (eval $ac_try) 2>&5
73406   ac_status=$?
73407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73408   (exit $ac_status); }; }; then
73409   glibcxx_cv_func_powf_use=yes
73410 else
73411   echo "$as_me: failed program was:" >&5
73412 sed 's/^/| /' conftest.$ac_ext >&5
73413
73414 glibcxx_cv_func_powf_use=no
73415 fi
73416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73417       ac_ext=c
73418 ac_cpp='$CPP $CPPFLAGS'
73419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73422
73423
73424 fi
73425
73426   fi
73427   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73428 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73429
73430   if test x$glibcxx_cv_func_powf_use = x"yes"; then
73431
73432 for ac_func in powf
73433 do
73434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73435 echo "$as_me:$LINENO: checking for $ac_func" >&5
73436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73437 if eval "test \"\${$as_ac_var+set}\" = set"; then
73438   echo $ECHO_N "(cached) $ECHO_C" >&6
73439 else
73440   if test x$gcc_no_link = xyes; then
73441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73443    { (exit 1); exit 1; }; }
73444 fi
73445 cat >conftest.$ac_ext <<_ACEOF
73446 /* confdefs.h.  */
73447 _ACEOF
73448 cat confdefs.h >>conftest.$ac_ext
73449 cat >>conftest.$ac_ext <<_ACEOF
73450 /* end confdefs.h.  */
73451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73453 #define $ac_func innocuous_$ac_func
73454
73455 /* System header to define __stub macros and hopefully few prototypes,
73456     which can conflict with char $ac_func (); below.
73457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73458     <limits.h> exists even on freestanding compilers.  */
73459
73460 #ifdef __STDC__
73461 # include <limits.h>
73462 #else
73463 # include <assert.h>
73464 #endif
73465
73466 #undef $ac_func
73467
73468 /* Override any gcc2 internal prototype to avoid an error.  */
73469 #ifdef __cplusplus
73470 extern "C"
73471 {
73472 #endif
73473 /* We use char because int might match the return type of a gcc2
73474    builtin and then its argument prototype would still apply.  */
73475 char $ac_func ();
73476 /* The GNU C library defines this for functions which it implements
73477     to always fail with ENOSYS.  Some functions are actually named
73478     something starting with __ and the normal name is an alias.  */
73479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73480 choke me
73481 #else
73482 char (*f) () = $ac_func;
73483 #endif
73484 #ifdef __cplusplus
73485 }
73486 #endif
73487
73488 int
73489 main ()
73490 {
73491 return f != $ac_func;
73492   ;
73493   return 0;
73494 }
73495 _ACEOF
73496 rm -f conftest.$ac_objext conftest$ac_exeext
73497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73498   (eval $ac_link) 2>conftest.er1
73499   ac_status=$?
73500   grep -v '^ *+' conftest.er1 >conftest.err
73501   rm -f conftest.er1
73502   cat conftest.err >&5
73503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504   (exit $ac_status); } &&
73505          { ac_try='test -z "$ac_c_werror_flag"
73506                          || test ! -s conftest.err'
73507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73508   (eval $ac_try) 2>&5
73509   ac_status=$?
73510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73511   (exit $ac_status); }; } &&
73512          { ac_try='test -s conftest$ac_exeext'
73513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73514   (eval $ac_try) 2>&5
73515   ac_status=$?
73516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517   (exit $ac_status); }; }; then
73518   eval "$as_ac_var=yes"
73519 else
73520   echo "$as_me: failed program was:" >&5
73521 sed 's/^/| /' conftest.$ac_ext >&5
73522
73523 eval "$as_ac_var=no"
73524 fi
73525 rm -f conftest.err conftest.$ac_objext \
73526       conftest$ac_exeext conftest.$ac_ext
73527 fi
73528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73530 if test `eval echo '${'$as_ac_var'}'` = yes; then
73531   cat >>confdefs.h <<_ACEOF
73532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73533 _ACEOF
73534
73535 fi
73536 done
73537
73538   else
73539
73540   echo "$as_me:$LINENO: checking for _powf declaration" >&5
73541 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73542   if test x${glibcxx_cv_func__powf_use+set} != xset; then
73543     if test "${glibcxx_cv_func__powf_use+set}" = set; then
73544   echo $ECHO_N "(cached) $ECHO_C" >&6
73545 else
73546
73547
73548
73549       ac_ext=cc
73550 ac_cpp='$CXXCPP $CPPFLAGS'
73551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73554
73555       cat >conftest.$ac_ext <<_ACEOF
73556 /* confdefs.h.  */
73557 _ACEOF
73558 cat confdefs.h >>conftest.$ac_ext
73559 cat >>conftest.$ac_ext <<_ACEOF
73560 /* end confdefs.h.  */
73561 #include <math.h>
73562 int
73563 main ()
73564 {
73565  _powf(0, 0);
73566   ;
73567   return 0;
73568 }
73569 _ACEOF
73570 rm -f conftest.$ac_objext
73571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73572   (eval $ac_compile) 2>conftest.er1
73573   ac_status=$?
73574   grep -v '^ *+' conftest.er1 >conftest.err
73575   rm -f conftest.er1
73576   cat conftest.err >&5
73577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73578   (exit $ac_status); } &&
73579          { ac_try='test -z "$ac_cxx_werror_flag"
73580                          || test ! -s conftest.err'
73581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73582   (eval $ac_try) 2>&5
73583   ac_status=$?
73584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73585   (exit $ac_status); }; } &&
73586          { ac_try='test -s conftest.$ac_objext'
73587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73588   (eval $ac_try) 2>&5
73589   ac_status=$?
73590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73591   (exit $ac_status); }; }; then
73592   glibcxx_cv_func__powf_use=yes
73593 else
73594   echo "$as_me: failed program was:" >&5
73595 sed 's/^/| /' conftest.$ac_ext >&5
73596
73597 glibcxx_cv_func__powf_use=no
73598 fi
73599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73600       ac_ext=c
73601 ac_cpp='$CPP $CPPFLAGS'
73602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73605
73606
73607 fi
73608
73609   fi
73610   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73611 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73612
73613     if test x$glibcxx_cv_func__powf_use = x"yes"; then
73614
73615 for ac_func in _powf
73616 do
73617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73618 echo "$as_me:$LINENO: checking for $ac_func" >&5
73619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73620 if eval "test \"\${$as_ac_var+set}\" = set"; then
73621   echo $ECHO_N "(cached) $ECHO_C" >&6
73622 else
73623   if test x$gcc_no_link = xyes; then
73624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73626    { (exit 1); exit 1; }; }
73627 fi
73628 cat >conftest.$ac_ext <<_ACEOF
73629 /* confdefs.h.  */
73630 _ACEOF
73631 cat confdefs.h >>conftest.$ac_ext
73632 cat >>conftest.$ac_ext <<_ACEOF
73633 /* end confdefs.h.  */
73634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73636 #define $ac_func innocuous_$ac_func
73637
73638 /* System header to define __stub macros and hopefully few prototypes,
73639     which can conflict with char $ac_func (); below.
73640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73641     <limits.h> exists even on freestanding compilers.  */
73642
73643 #ifdef __STDC__
73644 # include <limits.h>
73645 #else
73646 # include <assert.h>
73647 #endif
73648
73649 #undef $ac_func
73650
73651 /* Override any gcc2 internal prototype to avoid an error.  */
73652 #ifdef __cplusplus
73653 extern "C"
73654 {
73655 #endif
73656 /* We use char because int might match the return type of a gcc2
73657    builtin and then its argument prototype would still apply.  */
73658 char $ac_func ();
73659 /* The GNU C library defines this for functions which it implements
73660     to always fail with ENOSYS.  Some functions are actually named
73661     something starting with __ and the normal name is an alias.  */
73662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73663 choke me
73664 #else
73665 char (*f) () = $ac_func;
73666 #endif
73667 #ifdef __cplusplus
73668 }
73669 #endif
73670
73671 int
73672 main ()
73673 {
73674 return f != $ac_func;
73675   ;
73676   return 0;
73677 }
73678 _ACEOF
73679 rm -f conftest.$ac_objext conftest$ac_exeext
73680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73681   (eval $ac_link) 2>conftest.er1
73682   ac_status=$?
73683   grep -v '^ *+' conftest.er1 >conftest.err
73684   rm -f conftest.er1
73685   cat conftest.err >&5
73686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73687   (exit $ac_status); } &&
73688          { ac_try='test -z "$ac_c_werror_flag"
73689                          || test ! -s conftest.err'
73690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73691   (eval $ac_try) 2>&5
73692   ac_status=$?
73693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73694   (exit $ac_status); }; } &&
73695          { ac_try='test -s conftest$ac_exeext'
73696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73697   (eval $ac_try) 2>&5
73698   ac_status=$?
73699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73700   (exit $ac_status); }; }; then
73701   eval "$as_ac_var=yes"
73702 else
73703   echo "$as_me: failed program was:" >&5
73704 sed 's/^/| /' conftest.$ac_ext >&5
73705
73706 eval "$as_ac_var=no"
73707 fi
73708 rm -f conftest.err conftest.$ac_objext \
73709       conftest$ac_exeext conftest.$ac_ext
73710 fi
73711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73713 if test `eval echo '${'$as_ac_var'}'` = yes; then
73714   cat >>confdefs.h <<_ACEOF
73715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73716 _ACEOF
73717
73718 fi
73719 done
73720
73721     fi
73722   fi
73723
73724
73725
73726
73727
73728
73729   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73730 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73731   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73732     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73733   echo $ECHO_N "(cached) $ECHO_C" >&6
73734 else
73735
73736
73737
73738       ac_ext=cc
73739 ac_cpp='$CXXCPP $CPPFLAGS'
73740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73743
73744       cat >conftest.$ac_ext <<_ACEOF
73745 /* confdefs.h.  */
73746 _ACEOF
73747 cat confdefs.h >>conftest.$ac_ext
73748 cat >>conftest.$ac_ext <<_ACEOF
73749 /* end confdefs.h.  */
73750 #include <math.h>
73751                       #ifdef HAVE_IEEEFP_H
73752                       #include <ieeefp.h>
73753                       #endif
73754
73755 int
73756 main ()
73757 {
73758  sqrtf(0);
73759   ;
73760   return 0;
73761 }
73762 _ACEOF
73763 rm -f conftest.$ac_objext
73764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73765   (eval $ac_compile) 2>conftest.er1
73766   ac_status=$?
73767   grep -v '^ *+' conftest.er1 >conftest.err
73768   rm -f conftest.er1
73769   cat conftest.err >&5
73770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73771   (exit $ac_status); } &&
73772          { ac_try='test -z "$ac_cxx_werror_flag"
73773                          || test ! -s conftest.err'
73774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73775   (eval $ac_try) 2>&5
73776   ac_status=$?
73777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73778   (exit $ac_status); }; } &&
73779          { ac_try='test -s conftest.$ac_objext'
73780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73781   (eval $ac_try) 2>&5
73782   ac_status=$?
73783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73784   (exit $ac_status); }; }; then
73785   glibcxx_cv_func_sqrtf_use=yes
73786 else
73787   echo "$as_me: failed program was:" >&5
73788 sed 's/^/| /' conftest.$ac_ext >&5
73789
73790 glibcxx_cv_func_sqrtf_use=no
73791 fi
73792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73793       ac_ext=c
73794 ac_cpp='$CPP $CPPFLAGS'
73795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73798
73799
73800 fi
73801
73802   fi
73803   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73804 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73805
73806   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73807
73808 for ac_func in sqrtf
73809 do
73810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73811 echo "$as_me:$LINENO: checking for $ac_func" >&5
73812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73813 if eval "test \"\${$as_ac_var+set}\" = set"; then
73814   echo $ECHO_N "(cached) $ECHO_C" >&6
73815 else
73816   if test x$gcc_no_link = xyes; then
73817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73819    { (exit 1); exit 1; }; }
73820 fi
73821 cat >conftest.$ac_ext <<_ACEOF
73822 /* confdefs.h.  */
73823 _ACEOF
73824 cat confdefs.h >>conftest.$ac_ext
73825 cat >>conftest.$ac_ext <<_ACEOF
73826 /* end confdefs.h.  */
73827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73829 #define $ac_func innocuous_$ac_func
73830
73831 /* System header to define __stub macros and hopefully few prototypes,
73832     which can conflict with char $ac_func (); below.
73833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73834     <limits.h> exists even on freestanding compilers.  */
73835
73836 #ifdef __STDC__
73837 # include <limits.h>
73838 #else
73839 # include <assert.h>
73840 #endif
73841
73842 #undef $ac_func
73843
73844 /* Override any gcc2 internal prototype to avoid an error.  */
73845 #ifdef __cplusplus
73846 extern "C"
73847 {
73848 #endif
73849 /* We use char because int might match the return type of a gcc2
73850    builtin and then its argument prototype would still apply.  */
73851 char $ac_func ();
73852 /* The GNU C library defines this for functions which it implements
73853     to always fail with ENOSYS.  Some functions are actually named
73854     something starting with __ and the normal name is an alias.  */
73855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73856 choke me
73857 #else
73858 char (*f) () = $ac_func;
73859 #endif
73860 #ifdef __cplusplus
73861 }
73862 #endif
73863
73864 int
73865 main ()
73866 {
73867 return f != $ac_func;
73868   ;
73869   return 0;
73870 }
73871 _ACEOF
73872 rm -f conftest.$ac_objext conftest$ac_exeext
73873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73874   (eval $ac_link) 2>conftest.er1
73875   ac_status=$?
73876   grep -v '^ *+' conftest.er1 >conftest.err
73877   rm -f conftest.er1
73878   cat conftest.err >&5
73879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73880   (exit $ac_status); } &&
73881          { ac_try='test -z "$ac_c_werror_flag"
73882                          || test ! -s conftest.err'
73883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73884   (eval $ac_try) 2>&5
73885   ac_status=$?
73886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73887   (exit $ac_status); }; } &&
73888          { ac_try='test -s conftest$ac_exeext'
73889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73890   (eval $ac_try) 2>&5
73891   ac_status=$?
73892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73893   (exit $ac_status); }; }; then
73894   eval "$as_ac_var=yes"
73895 else
73896   echo "$as_me: failed program was:" >&5
73897 sed 's/^/| /' conftest.$ac_ext >&5
73898
73899 eval "$as_ac_var=no"
73900 fi
73901 rm -f conftest.err conftest.$ac_objext \
73902       conftest$ac_exeext conftest.$ac_ext
73903 fi
73904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73906 if test `eval echo '${'$as_ac_var'}'` = yes; then
73907   cat >>confdefs.h <<_ACEOF
73908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73909 _ACEOF
73910
73911 fi
73912 done
73913
73914   else
73915
73916   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73917 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73918   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73919     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73920   echo $ECHO_N "(cached) $ECHO_C" >&6
73921 else
73922
73923
73924
73925       ac_ext=cc
73926 ac_cpp='$CXXCPP $CPPFLAGS'
73927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73930
73931       cat >conftest.$ac_ext <<_ACEOF
73932 /* confdefs.h.  */
73933 _ACEOF
73934 cat confdefs.h >>conftest.$ac_ext
73935 cat >>conftest.$ac_ext <<_ACEOF
73936 /* end confdefs.h.  */
73937 #include <math.h>
73938                       #ifdef HAVE_IEEEFP_H
73939                       #include <ieeefp.h>
73940                       #endif
73941
73942 int
73943 main ()
73944 {
73945  _sqrtf(0);
73946   ;
73947   return 0;
73948 }
73949 _ACEOF
73950 rm -f conftest.$ac_objext
73951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73952   (eval $ac_compile) 2>conftest.er1
73953   ac_status=$?
73954   grep -v '^ *+' conftest.er1 >conftest.err
73955   rm -f conftest.er1
73956   cat conftest.err >&5
73957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73958   (exit $ac_status); } &&
73959          { ac_try='test -z "$ac_cxx_werror_flag"
73960                          || test ! -s conftest.err'
73961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73962   (eval $ac_try) 2>&5
73963   ac_status=$?
73964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73965   (exit $ac_status); }; } &&
73966          { ac_try='test -s conftest.$ac_objext'
73967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73968   (eval $ac_try) 2>&5
73969   ac_status=$?
73970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73971   (exit $ac_status); }; }; then
73972   glibcxx_cv_func__sqrtf_use=yes
73973 else
73974   echo "$as_me: failed program was:" >&5
73975 sed 's/^/| /' conftest.$ac_ext >&5
73976
73977 glibcxx_cv_func__sqrtf_use=no
73978 fi
73979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73980       ac_ext=c
73981 ac_cpp='$CPP $CPPFLAGS'
73982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73985
73986
73987 fi
73988
73989   fi
73990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73991 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73992
73993     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73994
73995 for ac_func in _sqrtf
73996 do
73997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73998 echo "$as_me:$LINENO: checking for $ac_func" >&5
73999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74000 if eval "test \"\${$as_ac_var+set}\" = set"; then
74001   echo $ECHO_N "(cached) $ECHO_C" >&6
74002 else
74003   if test x$gcc_no_link = xyes; then
74004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74006    { (exit 1); exit 1; }; }
74007 fi
74008 cat >conftest.$ac_ext <<_ACEOF
74009 /* confdefs.h.  */
74010 _ACEOF
74011 cat confdefs.h >>conftest.$ac_ext
74012 cat >>conftest.$ac_ext <<_ACEOF
74013 /* end confdefs.h.  */
74014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74016 #define $ac_func innocuous_$ac_func
74017
74018 /* System header to define __stub macros and hopefully few prototypes,
74019     which can conflict with char $ac_func (); below.
74020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74021     <limits.h> exists even on freestanding compilers.  */
74022
74023 #ifdef __STDC__
74024 # include <limits.h>
74025 #else
74026 # include <assert.h>
74027 #endif
74028
74029 #undef $ac_func
74030
74031 /* Override any gcc2 internal prototype to avoid an error.  */
74032 #ifdef __cplusplus
74033 extern "C"
74034 {
74035 #endif
74036 /* We use char because int might match the return type of a gcc2
74037    builtin and then its argument prototype would still apply.  */
74038 char $ac_func ();
74039 /* The GNU C library defines this for functions which it implements
74040     to always fail with ENOSYS.  Some functions are actually named
74041     something starting with __ and the normal name is an alias.  */
74042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74043 choke me
74044 #else
74045 char (*f) () = $ac_func;
74046 #endif
74047 #ifdef __cplusplus
74048 }
74049 #endif
74050
74051 int
74052 main ()
74053 {
74054 return f != $ac_func;
74055   ;
74056   return 0;
74057 }
74058 _ACEOF
74059 rm -f conftest.$ac_objext conftest$ac_exeext
74060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74061   (eval $ac_link) 2>conftest.er1
74062   ac_status=$?
74063   grep -v '^ *+' conftest.er1 >conftest.err
74064   rm -f conftest.er1
74065   cat conftest.err >&5
74066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74067   (exit $ac_status); } &&
74068          { ac_try='test -z "$ac_c_werror_flag"
74069                          || test ! -s conftest.err'
74070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74071   (eval $ac_try) 2>&5
74072   ac_status=$?
74073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74074   (exit $ac_status); }; } &&
74075          { ac_try='test -s conftest$ac_exeext'
74076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74077   (eval $ac_try) 2>&5
74078   ac_status=$?
74079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74080   (exit $ac_status); }; }; then
74081   eval "$as_ac_var=yes"
74082 else
74083   echo "$as_me: failed program was:" >&5
74084 sed 's/^/| /' conftest.$ac_ext >&5
74085
74086 eval "$as_ac_var=no"
74087 fi
74088 rm -f conftest.err conftest.$ac_objext \
74089       conftest$ac_exeext conftest.$ac_ext
74090 fi
74091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74093 if test `eval echo '${'$as_ac_var'}'` = yes; then
74094   cat >>confdefs.h <<_ACEOF
74095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74096 _ACEOF
74097
74098 fi
74099 done
74100
74101     fi
74102   fi
74103
74104
74105
74106
74107
74108
74109   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74110 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74111   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74112     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74113   echo $ECHO_N "(cached) $ECHO_C" >&6
74114 else
74115
74116
74117
74118       ac_ext=cc
74119 ac_cpp='$CXXCPP $CPPFLAGS'
74120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74123
74124       cat >conftest.$ac_ext <<_ACEOF
74125 /* confdefs.h.  */
74126 _ACEOF
74127 cat confdefs.h >>conftest.$ac_ext
74128 cat >>conftest.$ac_ext <<_ACEOF
74129 /* end confdefs.h.  */
74130 #include <math.h>
74131 int
74132 main ()
74133 {
74134  sincosf(0, 0, 0);
74135   ;
74136   return 0;
74137 }
74138 _ACEOF
74139 rm -f conftest.$ac_objext
74140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74141   (eval $ac_compile) 2>conftest.er1
74142   ac_status=$?
74143   grep -v '^ *+' conftest.er1 >conftest.err
74144   rm -f conftest.er1
74145   cat conftest.err >&5
74146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147   (exit $ac_status); } &&
74148          { ac_try='test -z "$ac_cxx_werror_flag"
74149                          || test ! -s conftest.err'
74150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74151   (eval $ac_try) 2>&5
74152   ac_status=$?
74153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74154   (exit $ac_status); }; } &&
74155          { ac_try='test -s conftest.$ac_objext'
74156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74157   (eval $ac_try) 2>&5
74158   ac_status=$?
74159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74160   (exit $ac_status); }; }; then
74161   glibcxx_cv_func_sincosf_use=yes
74162 else
74163   echo "$as_me: failed program was:" >&5
74164 sed 's/^/| /' conftest.$ac_ext >&5
74165
74166 glibcxx_cv_func_sincosf_use=no
74167 fi
74168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74169       ac_ext=c
74170 ac_cpp='$CPP $CPPFLAGS'
74171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74174
74175
74176 fi
74177
74178   fi
74179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74180 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74181
74182   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74183
74184 for ac_func in sincosf
74185 do
74186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74187 echo "$as_me:$LINENO: checking for $ac_func" >&5
74188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74189 if eval "test \"\${$as_ac_var+set}\" = set"; then
74190   echo $ECHO_N "(cached) $ECHO_C" >&6
74191 else
74192   if test x$gcc_no_link = xyes; then
74193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74195    { (exit 1); exit 1; }; }
74196 fi
74197 cat >conftest.$ac_ext <<_ACEOF
74198 /* confdefs.h.  */
74199 _ACEOF
74200 cat confdefs.h >>conftest.$ac_ext
74201 cat >>conftest.$ac_ext <<_ACEOF
74202 /* end confdefs.h.  */
74203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74205 #define $ac_func innocuous_$ac_func
74206
74207 /* System header to define __stub macros and hopefully few prototypes,
74208     which can conflict with char $ac_func (); below.
74209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74210     <limits.h> exists even on freestanding compilers.  */
74211
74212 #ifdef __STDC__
74213 # include <limits.h>
74214 #else
74215 # include <assert.h>
74216 #endif
74217
74218 #undef $ac_func
74219
74220 /* Override any gcc2 internal prototype to avoid an error.  */
74221 #ifdef __cplusplus
74222 extern "C"
74223 {
74224 #endif
74225 /* We use char because int might match the return type of a gcc2
74226    builtin and then its argument prototype would still apply.  */
74227 char $ac_func ();
74228 /* The GNU C library defines this for functions which it implements
74229     to always fail with ENOSYS.  Some functions are actually named
74230     something starting with __ and the normal name is an alias.  */
74231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74232 choke me
74233 #else
74234 char (*f) () = $ac_func;
74235 #endif
74236 #ifdef __cplusplus
74237 }
74238 #endif
74239
74240 int
74241 main ()
74242 {
74243 return f != $ac_func;
74244   ;
74245   return 0;
74246 }
74247 _ACEOF
74248 rm -f conftest.$ac_objext conftest$ac_exeext
74249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74250   (eval $ac_link) 2>conftest.er1
74251   ac_status=$?
74252   grep -v '^ *+' conftest.er1 >conftest.err
74253   rm -f conftest.er1
74254   cat conftest.err >&5
74255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74256   (exit $ac_status); } &&
74257          { ac_try='test -z "$ac_c_werror_flag"
74258                          || test ! -s conftest.err'
74259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74260   (eval $ac_try) 2>&5
74261   ac_status=$?
74262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74263   (exit $ac_status); }; } &&
74264          { ac_try='test -s conftest$ac_exeext'
74265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74266   (eval $ac_try) 2>&5
74267   ac_status=$?
74268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269   (exit $ac_status); }; }; then
74270   eval "$as_ac_var=yes"
74271 else
74272   echo "$as_me: failed program was:" >&5
74273 sed 's/^/| /' conftest.$ac_ext >&5
74274
74275 eval "$as_ac_var=no"
74276 fi
74277 rm -f conftest.err conftest.$ac_objext \
74278       conftest$ac_exeext conftest.$ac_ext
74279 fi
74280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74282 if test `eval echo '${'$as_ac_var'}'` = yes; then
74283   cat >>confdefs.h <<_ACEOF
74284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74285 _ACEOF
74286
74287 fi
74288 done
74289
74290   else
74291
74292   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74293 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74294   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74295     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74296   echo $ECHO_N "(cached) $ECHO_C" >&6
74297 else
74298
74299
74300
74301       ac_ext=cc
74302 ac_cpp='$CXXCPP $CPPFLAGS'
74303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74306
74307       cat >conftest.$ac_ext <<_ACEOF
74308 /* confdefs.h.  */
74309 _ACEOF
74310 cat confdefs.h >>conftest.$ac_ext
74311 cat >>conftest.$ac_ext <<_ACEOF
74312 /* end confdefs.h.  */
74313 #include <math.h>
74314 int
74315 main ()
74316 {
74317  _sincosf(0, 0, 0);
74318   ;
74319   return 0;
74320 }
74321 _ACEOF
74322 rm -f conftest.$ac_objext
74323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74324   (eval $ac_compile) 2>conftest.er1
74325   ac_status=$?
74326   grep -v '^ *+' conftest.er1 >conftest.err
74327   rm -f conftest.er1
74328   cat conftest.err >&5
74329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74330   (exit $ac_status); } &&
74331          { ac_try='test -z "$ac_cxx_werror_flag"
74332                          || test ! -s conftest.err'
74333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74334   (eval $ac_try) 2>&5
74335   ac_status=$?
74336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74337   (exit $ac_status); }; } &&
74338          { ac_try='test -s conftest.$ac_objext'
74339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74340   (eval $ac_try) 2>&5
74341   ac_status=$?
74342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74343   (exit $ac_status); }; }; then
74344   glibcxx_cv_func__sincosf_use=yes
74345 else
74346   echo "$as_me: failed program was:" >&5
74347 sed 's/^/| /' conftest.$ac_ext >&5
74348
74349 glibcxx_cv_func__sincosf_use=no
74350 fi
74351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74352       ac_ext=c
74353 ac_cpp='$CPP $CPPFLAGS'
74354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74357
74358
74359 fi
74360
74361   fi
74362   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
74363 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
74364
74365     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74366
74367 for ac_func in _sincosf
74368 do
74369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74370 echo "$as_me:$LINENO: checking for $ac_func" >&5
74371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74372 if eval "test \"\${$as_ac_var+set}\" = set"; then
74373   echo $ECHO_N "(cached) $ECHO_C" >&6
74374 else
74375   if test x$gcc_no_link = xyes; then
74376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74378    { (exit 1); exit 1; }; }
74379 fi
74380 cat >conftest.$ac_ext <<_ACEOF
74381 /* confdefs.h.  */
74382 _ACEOF
74383 cat confdefs.h >>conftest.$ac_ext
74384 cat >>conftest.$ac_ext <<_ACEOF
74385 /* end confdefs.h.  */
74386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74388 #define $ac_func innocuous_$ac_func
74389
74390 /* System header to define __stub macros and hopefully few prototypes,
74391     which can conflict with char $ac_func (); below.
74392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74393     <limits.h> exists even on freestanding compilers.  */
74394
74395 #ifdef __STDC__
74396 # include <limits.h>
74397 #else
74398 # include <assert.h>
74399 #endif
74400
74401 #undef $ac_func
74402
74403 /* Override any gcc2 internal prototype to avoid an error.  */
74404 #ifdef __cplusplus
74405 extern "C"
74406 {
74407 #endif
74408 /* We use char because int might match the return type of a gcc2
74409    builtin and then its argument prototype would still apply.  */
74410 char $ac_func ();
74411 /* The GNU C library defines this for functions which it implements
74412     to always fail with ENOSYS.  Some functions are actually named
74413     something starting with __ and the normal name is an alias.  */
74414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74415 choke me
74416 #else
74417 char (*f) () = $ac_func;
74418 #endif
74419 #ifdef __cplusplus
74420 }
74421 #endif
74422
74423 int
74424 main ()
74425 {
74426 return f != $ac_func;
74427   ;
74428   return 0;
74429 }
74430 _ACEOF
74431 rm -f conftest.$ac_objext conftest$ac_exeext
74432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74433   (eval $ac_link) 2>conftest.er1
74434   ac_status=$?
74435   grep -v '^ *+' conftest.er1 >conftest.err
74436   rm -f conftest.er1
74437   cat conftest.err >&5
74438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74439   (exit $ac_status); } &&
74440          { ac_try='test -z "$ac_c_werror_flag"
74441                          || test ! -s conftest.err'
74442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74443   (eval $ac_try) 2>&5
74444   ac_status=$?
74445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74446   (exit $ac_status); }; } &&
74447          { ac_try='test -s conftest$ac_exeext'
74448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449   (eval $ac_try) 2>&5
74450   ac_status=$?
74451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452   (exit $ac_status); }; }; then
74453   eval "$as_ac_var=yes"
74454 else
74455   echo "$as_me: failed program was:" >&5
74456 sed 's/^/| /' conftest.$ac_ext >&5
74457
74458 eval "$as_ac_var=no"
74459 fi
74460 rm -f conftest.err conftest.$ac_objext \
74461       conftest$ac_exeext conftest.$ac_ext
74462 fi
74463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74465 if test `eval echo '${'$as_ac_var'}'` = yes; then
74466   cat >>confdefs.h <<_ACEOF
74467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74468 _ACEOF
74469
74470 fi
74471 done
74472
74473     fi
74474   fi
74475
74476
74477
74478
74479
74480
74481   echo "$as_me:$LINENO: checking for finitef declaration" >&5
74482 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74483   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74484     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74485   echo $ECHO_N "(cached) $ECHO_C" >&6
74486 else
74487
74488
74489
74490       ac_ext=cc
74491 ac_cpp='$CXXCPP $CPPFLAGS'
74492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74495
74496       cat >conftest.$ac_ext <<_ACEOF
74497 /* confdefs.h.  */
74498 _ACEOF
74499 cat confdefs.h >>conftest.$ac_ext
74500 cat >>conftest.$ac_ext <<_ACEOF
74501 /* end confdefs.h.  */
74502 #include <math.h>
74503                       #ifdef HAVE_IEEEFP_H
74504                       #include <ieeefp.h>
74505                       #endif
74506
74507 int
74508 main ()
74509 {
74510  finitef(0);
74511   ;
74512   return 0;
74513 }
74514 _ACEOF
74515 rm -f conftest.$ac_objext
74516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74517   (eval $ac_compile) 2>conftest.er1
74518   ac_status=$?
74519   grep -v '^ *+' conftest.er1 >conftest.err
74520   rm -f conftest.er1
74521   cat conftest.err >&5
74522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74523   (exit $ac_status); } &&
74524          { ac_try='test -z "$ac_cxx_werror_flag"
74525                          || test ! -s conftest.err'
74526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74527   (eval $ac_try) 2>&5
74528   ac_status=$?
74529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74530   (exit $ac_status); }; } &&
74531          { ac_try='test -s conftest.$ac_objext'
74532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74533   (eval $ac_try) 2>&5
74534   ac_status=$?
74535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74536   (exit $ac_status); }; }; then
74537   glibcxx_cv_func_finitef_use=yes
74538 else
74539   echo "$as_me: failed program was:" >&5
74540 sed 's/^/| /' conftest.$ac_ext >&5
74541
74542 glibcxx_cv_func_finitef_use=no
74543 fi
74544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74545       ac_ext=c
74546 ac_cpp='$CPP $CPPFLAGS'
74547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74550
74551
74552 fi
74553
74554   fi
74555   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74556 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74557
74558   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74559
74560 for ac_func in finitef
74561 do
74562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74563 echo "$as_me:$LINENO: checking for $ac_func" >&5
74564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74565 if eval "test \"\${$as_ac_var+set}\" = set"; then
74566   echo $ECHO_N "(cached) $ECHO_C" >&6
74567 else
74568   if test x$gcc_no_link = xyes; then
74569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74571    { (exit 1); exit 1; }; }
74572 fi
74573 cat >conftest.$ac_ext <<_ACEOF
74574 /* confdefs.h.  */
74575 _ACEOF
74576 cat confdefs.h >>conftest.$ac_ext
74577 cat >>conftest.$ac_ext <<_ACEOF
74578 /* end confdefs.h.  */
74579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74581 #define $ac_func innocuous_$ac_func
74582
74583 /* System header to define __stub macros and hopefully few prototypes,
74584     which can conflict with char $ac_func (); below.
74585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74586     <limits.h> exists even on freestanding compilers.  */
74587
74588 #ifdef __STDC__
74589 # include <limits.h>
74590 #else
74591 # include <assert.h>
74592 #endif
74593
74594 #undef $ac_func
74595
74596 /* Override any gcc2 internal prototype to avoid an error.  */
74597 #ifdef __cplusplus
74598 extern "C"
74599 {
74600 #endif
74601 /* We use char because int might match the return type of a gcc2
74602    builtin and then its argument prototype would still apply.  */
74603 char $ac_func ();
74604 /* The GNU C library defines this for functions which it implements
74605     to always fail with ENOSYS.  Some functions are actually named
74606     something starting with __ and the normal name is an alias.  */
74607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74608 choke me
74609 #else
74610 char (*f) () = $ac_func;
74611 #endif
74612 #ifdef __cplusplus
74613 }
74614 #endif
74615
74616 int
74617 main ()
74618 {
74619 return f != $ac_func;
74620   ;
74621   return 0;
74622 }
74623 _ACEOF
74624 rm -f conftest.$ac_objext conftest$ac_exeext
74625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74626   (eval $ac_link) 2>conftest.er1
74627   ac_status=$?
74628   grep -v '^ *+' conftest.er1 >conftest.err
74629   rm -f conftest.er1
74630   cat conftest.err >&5
74631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74632   (exit $ac_status); } &&
74633          { ac_try='test -z "$ac_c_werror_flag"
74634                          || test ! -s conftest.err'
74635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74636   (eval $ac_try) 2>&5
74637   ac_status=$?
74638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74639   (exit $ac_status); }; } &&
74640          { ac_try='test -s conftest$ac_exeext'
74641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74642   (eval $ac_try) 2>&5
74643   ac_status=$?
74644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645   (exit $ac_status); }; }; then
74646   eval "$as_ac_var=yes"
74647 else
74648   echo "$as_me: failed program was:" >&5
74649 sed 's/^/| /' conftest.$ac_ext >&5
74650
74651 eval "$as_ac_var=no"
74652 fi
74653 rm -f conftest.err conftest.$ac_objext \
74654       conftest$ac_exeext conftest.$ac_ext
74655 fi
74656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74658 if test `eval echo '${'$as_ac_var'}'` = yes; then
74659   cat >>confdefs.h <<_ACEOF
74660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74661 _ACEOF
74662
74663 fi
74664 done
74665
74666   else
74667
74668   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74669 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74670   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74671     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74672   echo $ECHO_N "(cached) $ECHO_C" >&6
74673 else
74674
74675
74676
74677       ac_ext=cc
74678 ac_cpp='$CXXCPP $CPPFLAGS'
74679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74682
74683       cat >conftest.$ac_ext <<_ACEOF
74684 /* confdefs.h.  */
74685 _ACEOF
74686 cat confdefs.h >>conftest.$ac_ext
74687 cat >>conftest.$ac_ext <<_ACEOF
74688 /* end confdefs.h.  */
74689 #include <math.h>
74690                       #ifdef HAVE_IEEEFP_H
74691                       #include <ieeefp.h>
74692                       #endif
74693
74694 int
74695 main ()
74696 {
74697  _finitef(0);
74698   ;
74699   return 0;
74700 }
74701 _ACEOF
74702 rm -f conftest.$ac_objext
74703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74704   (eval $ac_compile) 2>conftest.er1
74705   ac_status=$?
74706   grep -v '^ *+' conftest.er1 >conftest.err
74707   rm -f conftest.er1
74708   cat conftest.err >&5
74709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74710   (exit $ac_status); } &&
74711          { ac_try='test -z "$ac_cxx_werror_flag"
74712                          || test ! -s conftest.err'
74713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74714   (eval $ac_try) 2>&5
74715   ac_status=$?
74716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74717   (exit $ac_status); }; } &&
74718          { ac_try='test -s conftest.$ac_objext'
74719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74720   (eval $ac_try) 2>&5
74721   ac_status=$?
74722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74723   (exit $ac_status); }; }; then
74724   glibcxx_cv_func__finitef_use=yes
74725 else
74726   echo "$as_me: failed program was:" >&5
74727 sed 's/^/| /' conftest.$ac_ext >&5
74728
74729 glibcxx_cv_func__finitef_use=no
74730 fi
74731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74732       ac_ext=c
74733 ac_cpp='$CPP $CPPFLAGS'
74734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74737
74738
74739 fi
74740
74741   fi
74742   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74743 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74744
74745     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74746
74747 for ac_func in _finitef
74748 do
74749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74750 echo "$as_me:$LINENO: checking for $ac_func" >&5
74751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74752 if eval "test \"\${$as_ac_var+set}\" = set"; then
74753   echo $ECHO_N "(cached) $ECHO_C" >&6
74754 else
74755   if test x$gcc_no_link = xyes; then
74756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74758    { (exit 1); exit 1; }; }
74759 fi
74760 cat >conftest.$ac_ext <<_ACEOF
74761 /* confdefs.h.  */
74762 _ACEOF
74763 cat confdefs.h >>conftest.$ac_ext
74764 cat >>conftest.$ac_ext <<_ACEOF
74765 /* end confdefs.h.  */
74766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74768 #define $ac_func innocuous_$ac_func
74769
74770 /* System header to define __stub macros and hopefully few prototypes,
74771     which can conflict with char $ac_func (); below.
74772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74773     <limits.h> exists even on freestanding compilers.  */
74774
74775 #ifdef __STDC__
74776 # include <limits.h>
74777 #else
74778 # include <assert.h>
74779 #endif
74780
74781 #undef $ac_func
74782
74783 /* Override any gcc2 internal prototype to avoid an error.  */
74784 #ifdef __cplusplus
74785 extern "C"
74786 {
74787 #endif
74788 /* We use char because int might match the return type of a gcc2
74789    builtin and then its argument prototype would still apply.  */
74790 char $ac_func ();
74791 /* The GNU C library defines this for functions which it implements
74792     to always fail with ENOSYS.  Some functions are actually named
74793     something starting with __ and the normal name is an alias.  */
74794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74795 choke me
74796 #else
74797 char (*f) () = $ac_func;
74798 #endif
74799 #ifdef __cplusplus
74800 }
74801 #endif
74802
74803 int
74804 main ()
74805 {
74806 return f != $ac_func;
74807   ;
74808   return 0;
74809 }
74810 _ACEOF
74811 rm -f conftest.$ac_objext conftest$ac_exeext
74812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74813   (eval $ac_link) 2>conftest.er1
74814   ac_status=$?
74815   grep -v '^ *+' conftest.er1 >conftest.err
74816   rm -f conftest.er1
74817   cat conftest.err >&5
74818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74819   (exit $ac_status); } &&
74820          { ac_try='test -z "$ac_c_werror_flag"
74821                          || test ! -s conftest.err'
74822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74823   (eval $ac_try) 2>&5
74824   ac_status=$?
74825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74826   (exit $ac_status); }; } &&
74827          { ac_try='test -s conftest$ac_exeext'
74828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74829   (eval $ac_try) 2>&5
74830   ac_status=$?
74831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74832   (exit $ac_status); }; }; then
74833   eval "$as_ac_var=yes"
74834 else
74835   echo "$as_me: failed program was:" >&5
74836 sed 's/^/| /' conftest.$ac_ext >&5
74837
74838 eval "$as_ac_var=no"
74839 fi
74840 rm -f conftest.err conftest.$ac_objext \
74841       conftest$ac_exeext conftest.$ac_ext
74842 fi
74843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74845 if test `eval echo '${'$as_ac_var'}'` = yes; then
74846   cat >>confdefs.h <<_ACEOF
74847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74848 _ACEOF
74849
74850 fi
74851 done
74852
74853     fi
74854   fi
74855
74856
74857
74858
74859
74860
74861     echo "$as_me:$LINENO: checking for long double trig functions" >&5
74862 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74863   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74864   echo $ECHO_N "(cached) $ECHO_C" >&6
74865 else
74866
74867
74868
74869     ac_ext=cc
74870 ac_cpp='$CXXCPP $CPPFLAGS'
74871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74874
74875     cat >conftest.$ac_ext <<_ACEOF
74876 /* confdefs.h.  */
74877 _ACEOF
74878 cat confdefs.h >>conftest.$ac_ext
74879 cat >>conftest.$ac_ext <<_ACEOF
74880 /* end confdefs.h.  */
74881 #include <math.h>
74882 int
74883 main ()
74884 {
74885 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74886   ;
74887   return 0;
74888 }
74889 _ACEOF
74890 rm -f conftest.$ac_objext
74891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74892   (eval $ac_compile) 2>conftest.er1
74893   ac_status=$?
74894   grep -v '^ *+' conftest.er1 >conftest.err
74895   rm -f conftest.er1
74896   cat conftest.err >&5
74897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74898   (exit $ac_status); } &&
74899          { ac_try='test -z "$ac_cxx_werror_flag"
74900                          || test ! -s conftest.err'
74901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74902   (eval $ac_try) 2>&5
74903   ac_status=$?
74904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74905   (exit $ac_status); }; } &&
74906          { ac_try='test -s conftest.$ac_objext'
74907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74908   (eval $ac_try) 2>&5
74909   ac_status=$?
74910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74911   (exit $ac_status); }; }; then
74912   glibcxx_cv_func_long_double_trig_use=yes
74913 else
74914   echo "$as_me: failed program was:" >&5
74915 sed 's/^/| /' conftest.$ac_ext >&5
74916
74917 glibcxx_cv_func_long_double_trig_use=no
74918 fi
74919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74920     ac_ext=c
74921 ac_cpp='$CPP $CPPFLAGS'
74922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74925
74926 fi
74927
74928   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74929 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74930   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74931
74932
74933
74934
74935
74936
74937
74938
74939
74940 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74941 do
74942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74943 echo "$as_me:$LINENO: checking for $ac_func" >&5
74944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74945 if eval "test \"\${$as_ac_var+set}\" = set"; then
74946   echo $ECHO_N "(cached) $ECHO_C" >&6
74947 else
74948   if test x$gcc_no_link = xyes; then
74949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74951    { (exit 1); exit 1; }; }
74952 fi
74953 cat >conftest.$ac_ext <<_ACEOF
74954 /* confdefs.h.  */
74955 _ACEOF
74956 cat confdefs.h >>conftest.$ac_ext
74957 cat >>conftest.$ac_ext <<_ACEOF
74958 /* end confdefs.h.  */
74959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74961 #define $ac_func innocuous_$ac_func
74962
74963 /* System header to define __stub macros and hopefully few prototypes,
74964     which can conflict with char $ac_func (); below.
74965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74966     <limits.h> exists even on freestanding compilers.  */
74967
74968 #ifdef __STDC__
74969 # include <limits.h>
74970 #else
74971 # include <assert.h>
74972 #endif
74973
74974 #undef $ac_func
74975
74976 /* Override any gcc2 internal prototype to avoid an error.  */
74977 #ifdef __cplusplus
74978 extern "C"
74979 {
74980 #endif
74981 /* We use char because int might match the return type of a gcc2
74982    builtin and then its argument prototype would still apply.  */
74983 char $ac_func ();
74984 /* The GNU C library defines this for functions which it implements
74985     to always fail with ENOSYS.  Some functions are actually named
74986     something starting with __ and the normal name is an alias.  */
74987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74988 choke me
74989 #else
74990 char (*f) () = $ac_func;
74991 #endif
74992 #ifdef __cplusplus
74993 }
74994 #endif
74995
74996 int
74997 main ()
74998 {
74999 return f != $ac_func;
75000   ;
75001   return 0;
75002 }
75003 _ACEOF
75004 rm -f conftest.$ac_objext conftest$ac_exeext
75005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75006   (eval $ac_link) 2>conftest.er1
75007   ac_status=$?
75008   grep -v '^ *+' conftest.er1 >conftest.err
75009   rm -f conftest.er1
75010   cat conftest.err >&5
75011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75012   (exit $ac_status); } &&
75013          { ac_try='test -z "$ac_c_werror_flag"
75014                          || test ! -s conftest.err'
75015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75016   (eval $ac_try) 2>&5
75017   ac_status=$?
75018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75019   (exit $ac_status); }; } &&
75020          { ac_try='test -s conftest$ac_exeext'
75021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75022   (eval $ac_try) 2>&5
75023   ac_status=$?
75024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75025   (exit $ac_status); }; }; then
75026   eval "$as_ac_var=yes"
75027 else
75028   echo "$as_me: failed program was:" >&5
75029 sed 's/^/| /' conftest.$ac_ext >&5
75030
75031 eval "$as_ac_var=no"
75032 fi
75033 rm -f conftest.err conftest.$ac_objext \
75034       conftest$ac_exeext conftest.$ac_ext
75035 fi
75036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75038 if test `eval echo '${'$as_ac_var'}'` = yes; then
75039   cat >>confdefs.h <<_ACEOF
75040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75041 _ACEOF
75042
75043 fi
75044 done
75045
75046   else
75047     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75048 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75049     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75050   echo $ECHO_N "(cached) $ECHO_C" >&6
75051 else
75052
75053
75054
75055       ac_ext=cc
75056 ac_cpp='$CXXCPP $CPPFLAGS'
75057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75060
75061       cat >conftest.$ac_ext <<_ACEOF
75062 /* confdefs.h.  */
75063 _ACEOF
75064 cat confdefs.h >>conftest.$ac_ext
75065 cat >>conftest.$ac_ext <<_ACEOF
75066 /* end confdefs.h.  */
75067 #include <math.h>
75068 int
75069 main ()
75070 {
75071 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75072   ;
75073   return 0;
75074 }
75075 _ACEOF
75076 rm -f conftest.$ac_objext
75077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75078   (eval $ac_compile) 2>conftest.er1
75079   ac_status=$?
75080   grep -v '^ *+' conftest.er1 >conftest.err
75081   rm -f conftest.er1
75082   cat conftest.err >&5
75083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75084   (exit $ac_status); } &&
75085          { ac_try='test -z "$ac_cxx_werror_flag"
75086                          || test ! -s conftest.err'
75087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75088   (eval $ac_try) 2>&5
75089   ac_status=$?
75090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75091   (exit $ac_status); }; } &&
75092          { ac_try='test -s conftest.$ac_objext'
75093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75094   (eval $ac_try) 2>&5
75095   ac_status=$?
75096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75097   (exit $ac_status); }; }; then
75098   glibcxx_cv_func__long_double_trig_use=yes
75099 else
75100   echo "$as_me: failed program was:" >&5
75101 sed 's/^/| /' conftest.$ac_ext >&5
75102
75103 glibcxx_cv_func__long_double_trig_use=no
75104 fi
75105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75106       ac_ext=c
75107 ac_cpp='$CPP $CPPFLAGS'
75108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75111
75112 fi
75113
75114     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75115 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75116     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75117
75118
75119
75120
75121
75122
75123
75124
75125
75126 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75127 do
75128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75129 echo "$as_me:$LINENO: checking for $ac_func" >&5
75130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75131 if eval "test \"\${$as_ac_var+set}\" = set"; then
75132   echo $ECHO_N "(cached) $ECHO_C" >&6
75133 else
75134   if test x$gcc_no_link = xyes; then
75135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75137    { (exit 1); exit 1; }; }
75138 fi
75139 cat >conftest.$ac_ext <<_ACEOF
75140 /* confdefs.h.  */
75141 _ACEOF
75142 cat confdefs.h >>conftest.$ac_ext
75143 cat >>conftest.$ac_ext <<_ACEOF
75144 /* end confdefs.h.  */
75145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75147 #define $ac_func innocuous_$ac_func
75148
75149 /* System header to define __stub macros and hopefully few prototypes,
75150     which can conflict with char $ac_func (); below.
75151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75152     <limits.h> exists even on freestanding compilers.  */
75153
75154 #ifdef __STDC__
75155 # include <limits.h>
75156 #else
75157 # include <assert.h>
75158 #endif
75159
75160 #undef $ac_func
75161
75162 /* Override any gcc2 internal prototype to avoid an error.  */
75163 #ifdef __cplusplus
75164 extern "C"
75165 {
75166 #endif
75167 /* We use char because int might match the return type of a gcc2
75168    builtin and then its argument prototype would still apply.  */
75169 char $ac_func ();
75170 /* The GNU C library defines this for functions which it implements
75171     to always fail with ENOSYS.  Some functions are actually named
75172     something starting with __ and the normal name is an alias.  */
75173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75174 choke me
75175 #else
75176 char (*f) () = $ac_func;
75177 #endif
75178 #ifdef __cplusplus
75179 }
75180 #endif
75181
75182 int
75183 main ()
75184 {
75185 return f != $ac_func;
75186   ;
75187   return 0;
75188 }
75189 _ACEOF
75190 rm -f conftest.$ac_objext conftest$ac_exeext
75191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75192   (eval $ac_link) 2>conftest.er1
75193   ac_status=$?
75194   grep -v '^ *+' conftest.er1 >conftest.err
75195   rm -f conftest.er1
75196   cat conftest.err >&5
75197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75198   (exit $ac_status); } &&
75199          { ac_try='test -z "$ac_c_werror_flag"
75200                          || test ! -s conftest.err'
75201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75202   (eval $ac_try) 2>&5
75203   ac_status=$?
75204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75205   (exit $ac_status); }; } &&
75206          { ac_try='test -s conftest$ac_exeext'
75207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75208   (eval $ac_try) 2>&5
75209   ac_status=$?
75210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75211   (exit $ac_status); }; }; then
75212   eval "$as_ac_var=yes"
75213 else
75214   echo "$as_me: failed program was:" >&5
75215 sed 's/^/| /' conftest.$ac_ext >&5
75216
75217 eval "$as_ac_var=no"
75218 fi
75219 rm -f conftest.err conftest.$ac_objext \
75220       conftest$ac_exeext conftest.$ac_ext
75221 fi
75222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75224 if test `eval echo '${'$as_ac_var'}'` = yes; then
75225   cat >>confdefs.h <<_ACEOF
75226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75227 _ACEOF
75228
75229 fi
75230 done
75231
75232     fi
75233   fi
75234
75235
75236
75237
75238
75239
75240
75241
75242
75243
75244
75245
75246
75247
75248     echo "$as_me:$LINENO: checking for long double round functions" >&5
75249 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75250   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75251   echo $ECHO_N "(cached) $ECHO_C" >&6
75252 else
75253
75254
75255
75256     ac_ext=cc
75257 ac_cpp='$CXXCPP $CPPFLAGS'
75258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75261
75262     cat >conftest.$ac_ext <<_ACEOF
75263 /* confdefs.h.  */
75264 _ACEOF
75265 cat confdefs.h >>conftest.$ac_ext
75266 cat >>conftest.$ac_ext <<_ACEOF
75267 /* end confdefs.h.  */
75268 #include <math.h>
75269 int
75270 main ()
75271 {
75272 ceill (0); floorl (0);
75273   ;
75274   return 0;
75275 }
75276 _ACEOF
75277 rm -f conftest.$ac_objext
75278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75279   (eval $ac_compile) 2>conftest.er1
75280   ac_status=$?
75281   grep -v '^ *+' conftest.er1 >conftest.err
75282   rm -f conftest.er1
75283   cat conftest.err >&5
75284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75285   (exit $ac_status); } &&
75286          { ac_try='test -z "$ac_cxx_werror_flag"
75287                          || test ! -s conftest.err'
75288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75289   (eval $ac_try) 2>&5
75290   ac_status=$?
75291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75292   (exit $ac_status); }; } &&
75293          { ac_try='test -s conftest.$ac_objext'
75294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75295   (eval $ac_try) 2>&5
75296   ac_status=$?
75297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75298   (exit $ac_status); }; }; then
75299   glibcxx_cv_func_long_double_round_use=yes
75300 else
75301   echo "$as_me: failed program was:" >&5
75302 sed 's/^/| /' conftest.$ac_ext >&5
75303
75304 glibcxx_cv_func_long_double_round_use=no
75305 fi
75306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75307     ac_ext=c
75308 ac_cpp='$CPP $CPPFLAGS'
75309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75312
75313 fi
75314
75315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75316 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75317   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75318
75319
75320 for ac_func in ceill floorl
75321 do
75322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75323 echo "$as_me:$LINENO: checking for $ac_func" >&5
75324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75325 if eval "test \"\${$as_ac_var+set}\" = set"; then
75326   echo $ECHO_N "(cached) $ECHO_C" >&6
75327 else
75328   if test x$gcc_no_link = xyes; then
75329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75331    { (exit 1); exit 1; }; }
75332 fi
75333 cat >conftest.$ac_ext <<_ACEOF
75334 /* confdefs.h.  */
75335 _ACEOF
75336 cat confdefs.h >>conftest.$ac_ext
75337 cat >>conftest.$ac_ext <<_ACEOF
75338 /* end confdefs.h.  */
75339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75341 #define $ac_func innocuous_$ac_func
75342
75343 /* System header to define __stub macros and hopefully few prototypes,
75344     which can conflict with char $ac_func (); below.
75345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75346     <limits.h> exists even on freestanding compilers.  */
75347
75348 #ifdef __STDC__
75349 # include <limits.h>
75350 #else
75351 # include <assert.h>
75352 #endif
75353
75354 #undef $ac_func
75355
75356 /* Override any gcc2 internal prototype to avoid an error.  */
75357 #ifdef __cplusplus
75358 extern "C"
75359 {
75360 #endif
75361 /* We use char because int might match the return type of a gcc2
75362    builtin and then its argument prototype would still apply.  */
75363 char $ac_func ();
75364 /* The GNU C library defines this for functions which it implements
75365     to always fail with ENOSYS.  Some functions are actually named
75366     something starting with __ and the normal name is an alias.  */
75367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75368 choke me
75369 #else
75370 char (*f) () = $ac_func;
75371 #endif
75372 #ifdef __cplusplus
75373 }
75374 #endif
75375
75376 int
75377 main ()
75378 {
75379 return f != $ac_func;
75380   ;
75381   return 0;
75382 }
75383 _ACEOF
75384 rm -f conftest.$ac_objext conftest$ac_exeext
75385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75386   (eval $ac_link) 2>conftest.er1
75387   ac_status=$?
75388   grep -v '^ *+' conftest.er1 >conftest.err
75389   rm -f conftest.er1
75390   cat conftest.err >&5
75391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75392   (exit $ac_status); } &&
75393          { ac_try='test -z "$ac_c_werror_flag"
75394                          || test ! -s conftest.err'
75395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75396   (eval $ac_try) 2>&5
75397   ac_status=$?
75398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75399   (exit $ac_status); }; } &&
75400          { ac_try='test -s conftest$ac_exeext'
75401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75402   (eval $ac_try) 2>&5
75403   ac_status=$?
75404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75405   (exit $ac_status); }; }; then
75406   eval "$as_ac_var=yes"
75407 else
75408   echo "$as_me: failed program was:" >&5
75409 sed 's/^/| /' conftest.$ac_ext >&5
75410
75411 eval "$as_ac_var=no"
75412 fi
75413 rm -f conftest.err conftest.$ac_objext \
75414       conftest$ac_exeext conftest.$ac_ext
75415 fi
75416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75418 if test `eval echo '${'$as_ac_var'}'` = yes; then
75419   cat >>confdefs.h <<_ACEOF
75420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75421 _ACEOF
75422
75423 fi
75424 done
75425
75426   else
75427     echo "$as_me:$LINENO: checking for _long double round functions" >&5
75428 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75429     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75430   echo $ECHO_N "(cached) $ECHO_C" >&6
75431 else
75432
75433
75434
75435       ac_ext=cc
75436 ac_cpp='$CXXCPP $CPPFLAGS'
75437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75440
75441       cat >conftest.$ac_ext <<_ACEOF
75442 /* confdefs.h.  */
75443 _ACEOF
75444 cat confdefs.h >>conftest.$ac_ext
75445 cat >>conftest.$ac_ext <<_ACEOF
75446 /* end confdefs.h.  */
75447 #include <math.h>
75448 int
75449 main ()
75450 {
75451 _ceill (0); _floorl (0);
75452   ;
75453   return 0;
75454 }
75455 _ACEOF
75456 rm -f conftest.$ac_objext
75457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75458   (eval $ac_compile) 2>conftest.er1
75459   ac_status=$?
75460   grep -v '^ *+' conftest.er1 >conftest.err
75461   rm -f conftest.er1
75462   cat conftest.err >&5
75463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75464   (exit $ac_status); } &&
75465          { ac_try='test -z "$ac_cxx_werror_flag"
75466                          || test ! -s conftest.err'
75467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75468   (eval $ac_try) 2>&5
75469   ac_status=$?
75470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75471   (exit $ac_status); }; } &&
75472          { ac_try='test -s conftest.$ac_objext'
75473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75474   (eval $ac_try) 2>&5
75475   ac_status=$?
75476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75477   (exit $ac_status); }; }; then
75478   glibcxx_cv_func__long_double_round_use=yes
75479 else
75480   echo "$as_me: failed program was:" >&5
75481 sed 's/^/| /' conftest.$ac_ext >&5
75482
75483 glibcxx_cv_func__long_double_round_use=no
75484 fi
75485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75486       ac_ext=c
75487 ac_cpp='$CPP $CPPFLAGS'
75488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75491
75492 fi
75493
75494     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75495 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75496     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75497
75498
75499 for ac_func in _ceill _floorl
75500 do
75501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75502 echo "$as_me:$LINENO: checking for $ac_func" >&5
75503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75504 if eval "test \"\${$as_ac_var+set}\" = set"; then
75505   echo $ECHO_N "(cached) $ECHO_C" >&6
75506 else
75507   if test x$gcc_no_link = xyes; then
75508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75510    { (exit 1); exit 1; }; }
75511 fi
75512 cat >conftest.$ac_ext <<_ACEOF
75513 /* confdefs.h.  */
75514 _ACEOF
75515 cat confdefs.h >>conftest.$ac_ext
75516 cat >>conftest.$ac_ext <<_ACEOF
75517 /* end confdefs.h.  */
75518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75520 #define $ac_func innocuous_$ac_func
75521
75522 /* System header to define __stub macros and hopefully few prototypes,
75523     which can conflict with char $ac_func (); below.
75524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75525     <limits.h> exists even on freestanding compilers.  */
75526
75527 #ifdef __STDC__
75528 # include <limits.h>
75529 #else
75530 # include <assert.h>
75531 #endif
75532
75533 #undef $ac_func
75534
75535 /* Override any gcc2 internal prototype to avoid an error.  */
75536 #ifdef __cplusplus
75537 extern "C"
75538 {
75539 #endif
75540 /* We use char because int might match the return type of a gcc2
75541    builtin and then its argument prototype would still apply.  */
75542 char $ac_func ();
75543 /* The GNU C library defines this for functions which it implements
75544     to always fail with ENOSYS.  Some functions are actually named
75545     something starting with __ and the normal name is an alias.  */
75546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75547 choke me
75548 #else
75549 char (*f) () = $ac_func;
75550 #endif
75551 #ifdef __cplusplus
75552 }
75553 #endif
75554
75555 int
75556 main ()
75557 {
75558 return f != $ac_func;
75559   ;
75560   return 0;
75561 }
75562 _ACEOF
75563 rm -f conftest.$ac_objext conftest$ac_exeext
75564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75565   (eval $ac_link) 2>conftest.er1
75566   ac_status=$?
75567   grep -v '^ *+' conftest.er1 >conftest.err
75568   rm -f conftest.er1
75569   cat conftest.err >&5
75570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75571   (exit $ac_status); } &&
75572          { ac_try='test -z "$ac_c_werror_flag"
75573                          || test ! -s conftest.err'
75574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75575   (eval $ac_try) 2>&5
75576   ac_status=$?
75577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75578   (exit $ac_status); }; } &&
75579          { ac_try='test -s conftest$ac_exeext'
75580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75581   (eval $ac_try) 2>&5
75582   ac_status=$?
75583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75584   (exit $ac_status); }; }; then
75585   eval "$as_ac_var=yes"
75586 else
75587   echo "$as_me: failed program was:" >&5
75588 sed 's/^/| /' conftest.$ac_ext >&5
75589
75590 eval "$as_ac_var=no"
75591 fi
75592 rm -f conftest.err conftest.$ac_objext \
75593       conftest$ac_exeext conftest.$ac_ext
75594 fi
75595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75597 if test `eval echo '${'$as_ac_var'}'` = yes; then
75598   cat >>confdefs.h <<_ACEOF
75599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75600 _ACEOF
75601
75602 fi
75603 done
75604
75605     fi
75606   fi
75607
75608
75609
75610
75611
75612
75613
75614
75615   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75616 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75617   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75618     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75619   echo $ECHO_N "(cached) $ECHO_C" >&6
75620 else
75621
75622
75623
75624       ac_ext=cc
75625 ac_cpp='$CXXCPP $CPPFLAGS'
75626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75629
75630       cat >conftest.$ac_ext <<_ACEOF
75631 /* confdefs.h.  */
75632 _ACEOF
75633 cat confdefs.h >>conftest.$ac_ext
75634 cat >>conftest.$ac_ext <<_ACEOF
75635 /* end confdefs.h.  */
75636 #include <math.h>
75637                       #ifdef HAVE_IEEEFP_H
75638                       #include <ieeefp.h>
75639                       #endif
75640
75641 int
75642 main ()
75643 {
75644  isnanl(0);
75645   ;
75646   return 0;
75647 }
75648 _ACEOF
75649 rm -f conftest.$ac_objext
75650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75651   (eval $ac_compile) 2>conftest.er1
75652   ac_status=$?
75653   grep -v '^ *+' conftest.er1 >conftest.err
75654   rm -f conftest.er1
75655   cat conftest.err >&5
75656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75657   (exit $ac_status); } &&
75658          { ac_try='test -z "$ac_cxx_werror_flag"
75659                          || test ! -s conftest.err'
75660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75661   (eval $ac_try) 2>&5
75662   ac_status=$?
75663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75664   (exit $ac_status); }; } &&
75665          { ac_try='test -s conftest.$ac_objext'
75666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75667   (eval $ac_try) 2>&5
75668   ac_status=$?
75669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75670   (exit $ac_status); }; }; then
75671   glibcxx_cv_func_isnanl_use=yes
75672 else
75673   echo "$as_me: failed program was:" >&5
75674 sed 's/^/| /' conftest.$ac_ext >&5
75675
75676 glibcxx_cv_func_isnanl_use=no
75677 fi
75678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75679       ac_ext=c
75680 ac_cpp='$CPP $CPPFLAGS'
75681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75684
75685
75686 fi
75687
75688   fi
75689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75690 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75691
75692   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75693
75694 for ac_func in isnanl
75695 do
75696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75697 echo "$as_me:$LINENO: checking for $ac_func" >&5
75698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75699 if eval "test \"\${$as_ac_var+set}\" = set"; then
75700   echo $ECHO_N "(cached) $ECHO_C" >&6
75701 else
75702   if test x$gcc_no_link = xyes; then
75703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75705    { (exit 1); exit 1; }; }
75706 fi
75707 cat >conftest.$ac_ext <<_ACEOF
75708 /* confdefs.h.  */
75709 _ACEOF
75710 cat confdefs.h >>conftest.$ac_ext
75711 cat >>conftest.$ac_ext <<_ACEOF
75712 /* end confdefs.h.  */
75713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75715 #define $ac_func innocuous_$ac_func
75716
75717 /* System header to define __stub macros and hopefully few prototypes,
75718     which can conflict with char $ac_func (); below.
75719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75720     <limits.h> exists even on freestanding compilers.  */
75721
75722 #ifdef __STDC__
75723 # include <limits.h>
75724 #else
75725 # include <assert.h>
75726 #endif
75727
75728 #undef $ac_func
75729
75730 /* Override any gcc2 internal prototype to avoid an error.  */
75731 #ifdef __cplusplus
75732 extern "C"
75733 {
75734 #endif
75735 /* We use char because int might match the return type of a gcc2
75736    builtin and then its argument prototype would still apply.  */
75737 char $ac_func ();
75738 /* The GNU C library defines this for functions which it implements
75739     to always fail with ENOSYS.  Some functions are actually named
75740     something starting with __ and the normal name is an alias.  */
75741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75742 choke me
75743 #else
75744 char (*f) () = $ac_func;
75745 #endif
75746 #ifdef __cplusplus
75747 }
75748 #endif
75749
75750 int
75751 main ()
75752 {
75753 return f != $ac_func;
75754   ;
75755   return 0;
75756 }
75757 _ACEOF
75758 rm -f conftest.$ac_objext conftest$ac_exeext
75759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75760   (eval $ac_link) 2>conftest.er1
75761   ac_status=$?
75762   grep -v '^ *+' conftest.er1 >conftest.err
75763   rm -f conftest.er1
75764   cat conftest.err >&5
75765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766   (exit $ac_status); } &&
75767          { ac_try='test -z "$ac_c_werror_flag"
75768                          || test ! -s conftest.err'
75769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75770   (eval $ac_try) 2>&5
75771   ac_status=$?
75772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75773   (exit $ac_status); }; } &&
75774          { ac_try='test -s conftest$ac_exeext'
75775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75776   (eval $ac_try) 2>&5
75777   ac_status=$?
75778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75779   (exit $ac_status); }; }; then
75780   eval "$as_ac_var=yes"
75781 else
75782   echo "$as_me: failed program was:" >&5
75783 sed 's/^/| /' conftest.$ac_ext >&5
75784
75785 eval "$as_ac_var=no"
75786 fi
75787 rm -f conftest.err conftest.$ac_objext \
75788       conftest$ac_exeext conftest.$ac_ext
75789 fi
75790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75792 if test `eval echo '${'$as_ac_var'}'` = yes; then
75793   cat >>confdefs.h <<_ACEOF
75794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75795 _ACEOF
75796
75797 fi
75798 done
75799
75800   else
75801
75802   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75803 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75804   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75805     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75806   echo $ECHO_N "(cached) $ECHO_C" >&6
75807 else
75808
75809
75810
75811       ac_ext=cc
75812 ac_cpp='$CXXCPP $CPPFLAGS'
75813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75816
75817       cat >conftest.$ac_ext <<_ACEOF
75818 /* confdefs.h.  */
75819 _ACEOF
75820 cat confdefs.h >>conftest.$ac_ext
75821 cat >>conftest.$ac_ext <<_ACEOF
75822 /* end confdefs.h.  */
75823 #include <math.h>
75824                       #ifdef HAVE_IEEEFP_H
75825                       #include <ieeefp.h>
75826                       #endif
75827
75828 int
75829 main ()
75830 {
75831  _isnanl(0);
75832   ;
75833   return 0;
75834 }
75835 _ACEOF
75836 rm -f conftest.$ac_objext
75837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75838   (eval $ac_compile) 2>conftest.er1
75839   ac_status=$?
75840   grep -v '^ *+' conftest.er1 >conftest.err
75841   rm -f conftest.er1
75842   cat conftest.err >&5
75843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75844   (exit $ac_status); } &&
75845          { ac_try='test -z "$ac_cxx_werror_flag"
75846                          || test ! -s conftest.err'
75847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75848   (eval $ac_try) 2>&5
75849   ac_status=$?
75850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75851   (exit $ac_status); }; } &&
75852          { ac_try='test -s conftest.$ac_objext'
75853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75854   (eval $ac_try) 2>&5
75855   ac_status=$?
75856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75857   (exit $ac_status); }; }; then
75858   glibcxx_cv_func__isnanl_use=yes
75859 else
75860   echo "$as_me: failed program was:" >&5
75861 sed 's/^/| /' conftest.$ac_ext >&5
75862
75863 glibcxx_cv_func__isnanl_use=no
75864 fi
75865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75866       ac_ext=c
75867 ac_cpp='$CPP $CPPFLAGS'
75868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75871
75872
75873 fi
75874
75875   fi
75876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75877 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75878
75879     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75880
75881 for ac_func in _isnanl
75882 do
75883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75884 echo "$as_me:$LINENO: checking for $ac_func" >&5
75885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75886 if eval "test \"\${$as_ac_var+set}\" = set"; then
75887   echo $ECHO_N "(cached) $ECHO_C" >&6
75888 else
75889   if test x$gcc_no_link = xyes; then
75890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75892    { (exit 1); exit 1; }; }
75893 fi
75894 cat >conftest.$ac_ext <<_ACEOF
75895 /* confdefs.h.  */
75896 _ACEOF
75897 cat confdefs.h >>conftest.$ac_ext
75898 cat >>conftest.$ac_ext <<_ACEOF
75899 /* end confdefs.h.  */
75900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75902 #define $ac_func innocuous_$ac_func
75903
75904 /* System header to define __stub macros and hopefully few prototypes,
75905     which can conflict with char $ac_func (); below.
75906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75907     <limits.h> exists even on freestanding compilers.  */
75908
75909 #ifdef __STDC__
75910 # include <limits.h>
75911 #else
75912 # include <assert.h>
75913 #endif
75914
75915 #undef $ac_func
75916
75917 /* Override any gcc2 internal prototype to avoid an error.  */
75918 #ifdef __cplusplus
75919 extern "C"
75920 {
75921 #endif
75922 /* We use char because int might match the return type of a gcc2
75923    builtin and then its argument prototype would still apply.  */
75924 char $ac_func ();
75925 /* The GNU C library defines this for functions which it implements
75926     to always fail with ENOSYS.  Some functions are actually named
75927     something starting with __ and the normal name is an alias.  */
75928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75929 choke me
75930 #else
75931 char (*f) () = $ac_func;
75932 #endif
75933 #ifdef __cplusplus
75934 }
75935 #endif
75936
75937 int
75938 main ()
75939 {
75940 return f != $ac_func;
75941   ;
75942   return 0;
75943 }
75944 _ACEOF
75945 rm -f conftest.$ac_objext conftest$ac_exeext
75946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75947   (eval $ac_link) 2>conftest.er1
75948   ac_status=$?
75949   grep -v '^ *+' conftest.er1 >conftest.err
75950   rm -f conftest.er1
75951   cat conftest.err >&5
75952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75953   (exit $ac_status); } &&
75954          { ac_try='test -z "$ac_c_werror_flag"
75955                          || test ! -s conftest.err'
75956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75957   (eval $ac_try) 2>&5
75958   ac_status=$?
75959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75960   (exit $ac_status); }; } &&
75961          { ac_try='test -s conftest$ac_exeext'
75962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75963   (eval $ac_try) 2>&5
75964   ac_status=$?
75965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75966   (exit $ac_status); }; }; then
75967   eval "$as_ac_var=yes"
75968 else
75969   echo "$as_me: failed program was:" >&5
75970 sed 's/^/| /' conftest.$ac_ext >&5
75971
75972 eval "$as_ac_var=no"
75973 fi
75974 rm -f conftest.err conftest.$ac_objext \
75975       conftest$ac_exeext conftest.$ac_ext
75976 fi
75977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75979 if test `eval echo '${'$as_ac_var'}'` = yes; then
75980   cat >>confdefs.h <<_ACEOF
75981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75982 _ACEOF
75983
75984 fi
75985 done
75986
75987     fi
75988   fi
75989
75990
75991
75992
75993
75994
75995   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75996 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75997   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75998     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75999   echo $ECHO_N "(cached) $ECHO_C" >&6
76000 else
76001
76002
76003
76004       ac_ext=cc
76005 ac_cpp='$CXXCPP $CPPFLAGS'
76006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76009
76010       cat >conftest.$ac_ext <<_ACEOF
76011 /* confdefs.h.  */
76012 _ACEOF
76013 cat confdefs.h >>conftest.$ac_ext
76014 cat >>conftest.$ac_ext <<_ACEOF
76015 /* end confdefs.h.  */
76016 #include <math.h>
76017                       #ifdef HAVE_IEEEFP_H
76018                       #include <ieeefp.h>
76019                       #endif
76020
76021 int
76022 main ()
76023 {
76024  isinfl(0);
76025   ;
76026   return 0;
76027 }
76028 _ACEOF
76029 rm -f conftest.$ac_objext
76030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76031   (eval $ac_compile) 2>conftest.er1
76032   ac_status=$?
76033   grep -v '^ *+' conftest.er1 >conftest.err
76034   rm -f conftest.er1
76035   cat conftest.err >&5
76036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76037   (exit $ac_status); } &&
76038          { ac_try='test -z "$ac_cxx_werror_flag"
76039                          || test ! -s conftest.err'
76040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76041   (eval $ac_try) 2>&5
76042   ac_status=$?
76043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76044   (exit $ac_status); }; } &&
76045          { ac_try='test -s conftest.$ac_objext'
76046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76047   (eval $ac_try) 2>&5
76048   ac_status=$?
76049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050   (exit $ac_status); }; }; then
76051   glibcxx_cv_func_isinfl_use=yes
76052 else
76053   echo "$as_me: failed program was:" >&5
76054 sed 's/^/| /' conftest.$ac_ext >&5
76055
76056 glibcxx_cv_func_isinfl_use=no
76057 fi
76058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76059       ac_ext=c
76060 ac_cpp='$CPP $CPPFLAGS'
76061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76064
76065
76066 fi
76067
76068   fi
76069   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76070 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76071
76072   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76073
76074 for ac_func in isinfl
76075 do
76076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76077 echo "$as_me:$LINENO: checking for $ac_func" >&5
76078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76079 if eval "test \"\${$as_ac_var+set}\" = set"; then
76080   echo $ECHO_N "(cached) $ECHO_C" >&6
76081 else
76082   if test x$gcc_no_link = xyes; then
76083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76085    { (exit 1); exit 1; }; }
76086 fi
76087 cat >conftest.$ac_ext <<_ACEOF
76088 /* confdefs.h.  */
76089 _ACEOF
76090 cat confdefs.h >>conftest.$ac_ext
76091 cat >>conftest.$ac_ext <<_ACEOF
76092 /* end confdefs.h.  */
76093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76095 #define $ac_func innocuous_$ac_func
76096
76097 /* System header to define __stub macros and hopefully few prototypes,
76098     which can conflict with char $ac_func (); below.
76099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76100     <limits.h> exists even on freestanding compilers.  */
76101
76102 #ifdef __STDC__
76103 # include <limits.h>
76104 #else
76105 # include <assert.h>
76106 #endif
76107
76108 #undef $ac_func
76109
76110 /* Override any gcc2 internal prototype to avoid an error.  */
76111 #ifdef __cplusplus
76112 extern "C"
76113 {
76114 #endif
76115 /* We use char because int might match the return type of a gcc2
76116    builtin and then its argument prototype would still apply.  */
76117 char $ac_func ();
76118 /* The GNU C library defines this for functions which it implements
76119     to always fail with ENOSYS.  Some functions are actually named
76120     something starting with __ and the normal name is an alias.  */
76121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76122 choke me
76123 #else
76124 char (*f) () = $ac_func;
76125 #endif
76126 #ifdef __cplusplus
76127 }
76128 #endif
76129
76130 int
76131 main ()
76132 {
76133 return f != $ac_func;
76134   ;
76135   return 0;
76136 }
76137 _ACEOF
76138 rm -f conftest.$ac_objext conftest$ac_exeext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76140   (eval $ac_link) 2>conftest.er1
76141   ac_status=$?
76142   grep -v '^ *+' conftest.er1 >conftest.err
76143   rm -f conftest.er1
76144   cat conftest.err >&5
76145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146   (exit $ac_status); } &&
76147          { ac_try='test -z "$ac_c_werror_flag"
76148                          || test ! -s conftest.err'
76149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150   (eval $ac_try) 2>&5
76151   ac_status=$?
76152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153   (exit $ac_status); }; } &&
76154          { ac_try='test -s conftest$ac_exeext'
76155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156   (eval $ac_try) 2>&5
76157   ac_status=$?
76158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159   (exit $ac_status); }; }; then
76160   eval "$as_ac_var=yes"
76161 else
76162   echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76164
76165 eval "$as_ac_var=no"
76166 fi
76167 rm -f conftest.err conftest.$ac_objext \
76168       conftest$ac_exeext conftest.$ac_ext
76169 fi
76170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76172 if test `eval echo '${'$as_ac_var'}'` = yes; then
76173   cat >>confdefs.h <<_ACEOF
76174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76175 _ACEOF
76176
76177 fi
76178 done
76179
76180   else
76181
76182   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76183 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76184   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76185     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76186   echo $ECHO_N "(cached) $ECHO_C" >&6
76187 else
76188
76189
76190
76191       ac_ext=cc
76192 ac_cpp='$CXXCPP $CPPFLAGS'
76193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76196
76197       cat >conftest.$ac_ext <<_ACEOF
76198 /* confdefs.h.  */
76199 _ACEOF
76200 cat confdefs.h >>conftest.$ac_ext
76201 cat >>conftest.$ac_ext <<_ACEOF
76202 /* end confdefs.h.  */
76203 #include <math.h>
76204                       #ifdef HAVE_IEEEFP_H
76205                       #include <ieeefp.h>
76206                       #endif
76207
76208 int
76209 main ()
76210 {
76211  _isinfl(0);
76212   ;
76213   return 0;
76214 }
76215 _ACEOF
76216 rm -f conftest.$ac_objext
76217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76218   (eval $ac_compile) 2>conftest.er1
76219   ac_status=$?
76220   grep -v '^ *+' conftest.er1 >conftest.err
76221   rm -f conftest.er1
76222   cat conftest.err >&5
76223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76224   (exit $ac_status); } &&
76225          { ac_try='test -z "$ac_cxx_werror_flag"
76226                          || test ! -s conftest.err'
76227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76228   (eval $ac_try) 2>&5
76229   ac_status=$?
76230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76231   (exit $ac_status); }; } &&
76232          { ac_try='test -s conftest.$ac_objext'
76233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76234   (eval $ac_try) 2>&5
76235   ac_status=$?
76236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76237   (exit $ac_status); }; }; then
76238   glibcxx_cv_func__isinfl_use=yes
76239 else
76240   echo "$as_me: failed program was:" >&5
76241 sed 's/^/| /' conftest.$ac_ext >&5
76242
76243 glibcxx_cv_func__isinfl_use=no
76244 fi
76245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76246       ac_ext=c
76247 ac_cpp='$CPP $CPPFLAGS'
76248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76251
76252
76253 fi
76254
76255   fi
76256   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76257 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76258
76259     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76260
76261 for ac_func in _isinfl
76262 do
76263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76264 echo "$as_me:$LINENO: checking for $ac_func" >&5
76265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76266 if eval "test \"\${$as_ac_var+set}\" = set"; then
76267   echo $ECHO_N "(cached) $ECHO_C" >&6
76268 else
76269   if test x$gcc_no_link = xyes; then
76270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76272    { (exit 1); exit 1; }; }
76273 fi
76274 cat >conftest.$ac_ext <<_ACEOF
76275 /* confdefs.h.  */
76276 _ACEOF
76277 cat confdefs.h >>conftest.$ac_ext
76278 cat >>conftest.$ac_ext <<_ACEOF
76279 /* end confdefs.h.  */
76280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76282 #define $ac_func innocuous_$ac_func
76283
76284 /* System header to define __stub macros and hopefully few prototypes,
76285     which can conflict with char $ac_func (); below.
76286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76287     <limits.h> exists even on freestanding compilers.  */
76288
76289 #ifdef __STDC__
76290 # include <limits.h>
76291 #else
76292 # include <assert.h>
76293 #endif
76294
76295 #undef $ac_func
76296
76297 /* Override any gcc2 internal prototype to avoid an error.  */
76298 #ifdef __cplusplus
76299 extern "C"
76300 {
76301 #endif
76302 /* We use char because int might match the return type of a gcc2
76303    builtin and then its argument prototype would still apply.  */
76304 char $ac_func ();
76305 /* The GNU C library defines this for functions which it implements
76306     to always fail with ENOSYS.  Some functions are actually named
76307     something starting with __ and the normal name is an alias.  */
76308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76309 choke me
76310 #else
76311 char (*f) () = $ac_func;
76312 #endif
76313 #ifdef __cplusplus
76314 }
76315 #endif
76316
76317 int
76318 main ()
76319 {
76320 return f != $ac_func;
76321   ;
76322   return 0;
76323 }
76324 _ACEOF
76325 rm -f conftest.$ac_objext conftest$ac_exeext
76326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76327   (eval $ac_link) 2>conftest.er1
76328   ac_status=$?
76329   grep -v '^ *+' conftest.er1 >conftest.err
76330   rm -f conftest.er1
76331   cat conftest.err >&5
76332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76333   (exit $ac_status); } &&
76334          { ac_try='test -z "$ac_c_werror_flag"
76335                          || test ! -s conftest.err'
76336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76337   (eval $ac_try) 2>&5
76338   ac_status=$?
76339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76340   (exit $ac_status); }; } &&
76341          { ac_try='test -s conftest$ac_exeext'
76342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76343   (eval $ac_try) 2>&5
76344   ac_status=$?
76345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76346   (exit $ac_status); }; }; then
76347   eval "$as_ac_var=yes"
76348 else
76349   echo "$as_me: failed program was:" >&5
76350 sed 's/^/| /' conftest.$ac_ext >&5
76351
76352 eval "$as_ac_var=no"
76353 fi
76354 rm -f conftest.err conftest.$ac_objext \
76355       conftest$ac_exeext conftest.$ac_ext
76356 fi
76357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76359 if test `eval echo '${'$as_ac_var'}'` = yes; then
76360   cat >>confdefs.h <<_ACEOF
76361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76362 _ACEOF
76363
76364 fi
76365 done
76366
76367     fi
76368   fi
76369
76370
76371
76372
76373
76374
76375   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
76376 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
76377   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
76378     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
76379   echo $ECHO_N "(cached) $ECHO_C" >&6
76380 else
76381
76382
76383
76384       ac_ext=cc
76385 ac_cpp='$CXXCPP $CPPFLAGS'
76386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76389
76390       cat >conftest.$ac_ext <<_ACEOF
76391 /* confdefs.h.  */
76392 _ACEOF
76393 cat confdefs.h >>conftest.$ac_ext
76394 cat >>conftest.$ac_ext <<_ACEOF
76395 /* end confdefs.h.  */
76396 #include <math.h>
76397 int
76398 main ()
76399 {
76400  copysignl(0, 0);
76401   ;
76402   return 0;
76403 }
76404 _ACEOF
76405 rm -f conftest.$ac_objext
76406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76407   (eval $ac_compile) 2>conftest.er1
76408   ac_status=$?
76409   grep -v '^ *+' conftest.er1 >conftest.err
76410   rm -f conftest.er1
76411   cat conftest.err >&5
76412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76413   (exit $ac_status); } &&
76414          { ac_try='test -z "$ac_cxx_werror_flag"
76415                          || test ! -s conftest.err'
76416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76417   (eval $ac_try) 2>&5
76418   ac_status=$?
76419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76420   (exit $ac_status); }; } &&
76421          { ac_try='test -s conftest.$ac_objext'
76422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76423   (eval $ac_try) 2>&5
76424   ac_status=$?
76425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76426   (exit $ac_status); }; }; then
76427   glibcxx_cv_func_copysignl_use=yes
76428 else
76429   echo "$as_me: failed program was:" >&5
76430 sed 's/^/| /' conftest.$ac_ext >&5
76431
76432 glibcxx_cv_func_copysignl_use=no
76433 fi
76434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76435       ac_ext=c
76436 ac_cpp='$CPP $CPPFLAGS'
76437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76440
76441
76442 fi
76443
76444   fi
76445   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76446 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76447
76448   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76449
76450 for ac_func in copysignl
76451 do
76452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76453 echo "$as_me:$LINENO: checking for $ac_func" >&5
76454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76455 if eval "test \"\${$as_ac_var+set}\" = set"; then
76456   echo $ECHO_N "(cached) $ECHO_C" >&6
76457 else
76458   if test x$gcc_no_link = xyes; then
76459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76461    { (exit 1); exit 1; }; }
76462 fi
76463 cat >conftest.$ac_ext <<_ACEOF
76464 /* confdefs.h.  */
76465 _ACEOF
76466 cat confdefs.h >>conftest.$ac_ext
76467 cat >>conftest.$ac_ext <<_ACEOF
76468 /* end confdefs.h.  */
76469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76471 #define $ac_func innocuous_$ac_func
76472
76473 /* System header to define __stub macros and hopefully few prototypes,
76474     which can conflict with char $ac_func (); below.
76475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76476     <limits.h> exists even on freestanding compilers.  */
76477
76478 #ifdef __STDC__
76479 # include <limits.h>
76480 #else
76481 # include <assert.h>
76482 #endif
76483
76484 #undef $ac_func
76485
76486 /* Override any gcc2 internal prototype to avoid an error.  */
76487 #ifdef __cplusplus
76488 extern "C"
76489 {
76490 #endif
76491 /* We use char because int might match the return type of a gcc2
76492    builtin and then its argument prototype would still apply.  */
76493 char $ac_func ();
76494 /* The GNU C library defines this for functions which it implements
76495     to always fail with ENOSYS.  Some functions are actually named
76496     something starting with __ and the normal name is an alias.  */
76497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76498 choke me
76499 #else
76500 char (*f) () = $ac_func;
76501 #endif
76502 #ifdef __cplusplus
76503 }
76504 #endif
76505
76506 int
76507 main ()
76508 {
76509 return f != $ac_func;
76510   ;
76511   return 0;
76512 }
76513 _ACEOF
76514 rm -f conftest.$ac_objext conftest$ac_exeext
76515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76516   (eval $ac_link) 2>conftest.er1
76517   ac_status=$?
76518   grep -v '^ *+' conftest.er1 >conftest.err
76519   rm -f conftest.er1
76520   cat conftest.err >&5
76521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76522   (exit $ac_status); } &&
76523          { ac_try='test -z "$ac_c_werror_flag"
76524                          || test ! -s conftest.err'
76525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76526   (eval $ac_try) 2>&5
76527   ac_status=$?
76528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76529   (exit $ac_status); }; } &&
76530          { ac_try='test -s conftest$ac_exeext'
76531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76532   (eval $ac_try) 2>&5
76533   ac_status=$?
76534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76535   (exit $ac_status); }; }; then
76536   eval "$as_ac_var=yes"
76537 else
76538   echo "$as_me: failed program was:" >&5
76539 sed 's/^/| /' conftest.$ac_ext >&5
76540
76541 eval "$as_ac_var=no"
76542 fi
76543 rm -f conftest.err conftest.$ac_objext \
76544       conftest$ac_exeext conftest.$ac_ext
76545 fi
76546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76548 if test `eval echo '${'$as_ac_var'}'` = yes; then
76549   cat >>confdefs.h <<_ACEOF
76550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76551 _ACEOF
76552
76553 fi
76554 done
76555
76556   else
76557
76558   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76559 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76560   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76561     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76562   echo $ECHO_N "(cached) $ECHO_C" >&6
76563 else
76564
76565
76566
76567       ac_ext=cc
76568 ac_cpp='$CXXCPP $CPPFLAGS'
76569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76572
76573       cat >conftest.$ac_ext <<_ACEOF
76574 /* confdefs.h.  */
76575 _ACEOF
76576 cat confdefs.h >>conftest.$ac_ext
76577 cat >>conftest.$ac_ext <<_ACEOF
76578 /* end confdefs.h.  */
76579 #include <math.h>
76580 int
76581 main ()
76582 {
76583  _copysignl(0, 0);
76584   ;
76585   return 0;
76586 }
76587 _ACEOF
76588 rm -f conftest.$ac_objext
76589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76590   (eval $ac_compile) 2>conftest.er1
76591   ac_status=$?
76592   grep -v '^ *+' conftest.er1 >conftest.err
76593   rm -f conftest.er1
76594   cat conftest.err >&5
76595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76596   (exit $ac_status); } &&
76597          { ac_try='test -z "$ac_cxx_werror_flag"
76598                          || test ! -s conftest.err'
76599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76600   (eval $ac_try) 2>&5
76601   ac_status=$?
76602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76603   (exit $ac_status); }; } &&
76604          { ac_try='test -s conftest.$ac_objext'
76605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76606   (eval $ac_try) 2>&5
76607   ac_status=$?
76608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76609   (exit $ac_status); }; }; then
76610   glibcxx_cv_func__copysignl_use=yes
76611 else
76612   echo "$as_me: failed program was:" >&5
76613 sed 's/^/| /' conftest.$ac_ext >&5
76614
76615 glibcxx_cv_func__copysignl_use=no
76616 fi
76617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76618       ac_ext=c
76619 ac_cpp='$CPP $CPPFLAGS'
76620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76623
76624
76625 fi
76626
76627   fi
76628   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76629 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76630
76631     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76632
76633 for ac_func in _copysignl
76634 do
76635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76636 echo "$as_me:$LINENO: checking for $ac_func" >&5
76637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76638 if eval "test \"\${$as_ac_var+set}\" = set"; then
76639   echo $ECHO_N "(cached) $ECHO_C" >&6
76640 else
76641   if test x$gcc_no_link = xyes; then
76642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76644    { (exit 1); exit 1; }; }
76645 fi
76646 cat >conftest.$ac_ext <<_ACEOF
76647 /* confdefs.h.  */
76648 _ACEOF
76649 cat confdefs.h >>conftest.$ac_ext
76650 cat >>conftest.$ac_ext <<_ACEOF
76651 /* end confdefs.h.  */
76652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76654 #define $ac_func innocuous_$ac_func
76655
76656 /* System header to define __stub macros and hopefully few prototypes,
76657     which can conflict with char $ac_func (); below.
76658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76659     <limits.h> exists even on freestanding compilers.  */
76660
76661 #ifdef __STDC__
76662 # include <limits.h>
76663 #else
76664 # include <assert.h>
76665 #endif
76666
76667 #undef $ac_func
76668
76669 /* Override any gcc2 internal prototype to avoid an error.  */
76670 #ifdef __cplusplus
76671 extern "C"
76672 {
76673 #endif
76674 /* We use char because int might match the return type of a gcc2
76675    builtin and then its argument prototype would still apply.  */
76676 char $ac_func ();
76677 /* The GNU C library defines this for functions which it implements
76678     to always fail with ENOSYS.  Some functions are actually named
76679     something starting with __ and the normal name is an alias.  */
76680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76681 choke me
76682 #else
76683 char (*f) () = $ac_func;
76684 #endif
76685 #ifdef __cplusplus
76686 }
76687 #endif
76688
76689 int
76690 main ()
76691 {
76692 return f != $ac_func;
76693   ;
76694   return 0;
76695 }
76696 _ACEOF
76697 rm -f conftest.$ac_objext conftest$ac_exeext
76698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76699   (eval $ac_link) 2>conftest.er1
76700   ac_status=$?
76701   grep -v '^ *+' conftest.er1 >conftest.err
76702   rm -f conftest.er1
76703   cat conftest.err >&5
76704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76705   (exit $ac_status); } &&
76706          { ac_try='test -z "$ac_c_werror_flag"
76707                          || test ! -s conftest.err'
76708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76709   (eval $ac_try) 2>&5
76710   ac_status=$?
76711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712   (exit $ac_status); }; } &&
76713          { ac_try='test -s conftest$ac_exeext'
76714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715   (eval $ac_try) 2>&5
76716   ac_status=$?
76717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718   (exit $ac_status); }; }; then
76719   eval "$as_ac_var=yes"
76720 else
76721   echo "$as_me: failed program was:" >&5
76722 sed 's/^/| /' conftest.$ac_ext >&5
76723
76724 eval "$as_ac_var=no"
76725 fi
76726 rm -f conftest.err conftest.$ac_objext \
76727       conftest$ac_exeext conftest.$ac_ext
76728 fi
76729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76731 if test `eval echo '${'$as_ac_var'}'` = yes; then
76732   cat >>confdefs.h <<_ACEOF
76733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76734 _ACEOF
76735
76736 fi
76737 done
76738
76739     fi
76740   fi
76741
76742
76743
76744
76745
76746
76747   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76748 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76749   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76750     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76751   echo $ECHO_N "(cached) $ECHO_C" >&6
76752 else
76753
76754
76755
76756       ac_ext=cc
76757 ac_cpp='$CXXCPP $CPPFLAGS'
76758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76761
76762       cat >conftest.$ac_ext <<_ACEOF
76763 /* confdefs.h.  */
76764 _ACEOF
76765 cat confdefs.h >>conftest.$ac_ext
76766 cat >>conftest.$ac_ext <<_ACEOF
76767 /* end confdefs.h.  */
76768 #include <math.h>
76769 int
76770 main ()
76771 {
76772  atan2l(0, 0);
76773   ;
76774   return 0;
76775 }
76776 _ACEOF
76777 rm -f conftest.$ac_objext
76778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76779   (eval $ac_compile) 2>conftest.er1
76780   ac_status=$?
76781   grep -v '^ *+' conftest.er1 >conftest.err
76782   rm -f conftest.er1
76783   cat conftest.err >&5
76784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785   (exit $ac_status); } &&
76786          { ac_try='test -z "$ac_cxx_werror_flag"
76787                          || test ! -s conftest.err'
76788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76789   (eval $ac_try) 2>&5
76790   ac_status=$?
76791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76792   (exit $ac_status); }; } &&
76793          { ac_try='test -s conftest.$ac_objext'
76794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76795   (eval $ac_try) 2>&5
76796   ac_status=$?
76797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76798   (exit $ac_status); }; }; then
76799   glibcxx_cv_func_atan2l_use=yes
76800 else
76801   echo "$as_me: failed program was:" >&5
76802 sed 's/^/| /' conftest.$ac_ext >&5
76803
76804 glibcxx_cv_func_atan2l_use=no
76805 fi
76806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76807       ac_ext=c
76808 ac_cpp='$CPP $CPPFLAGS'
76809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76812
76813
76814 fi
76815
76816   fi
76817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76818 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76819
76820   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76821
76822 for ac_func in atan2l
76823 do
76824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76825 echo "$as_me:$LINENO: checking for $ac_func" >&5
76826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76827 if eval "test \"\${$as_ac_var+set}\" = set"; then
76828   echo $ECHO_N "(cached) $ECHO_C" >&6
76829 else
76830   if test x$gcc_no_link = xyes; then
76831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76833    { (exit 1); exit 1; }; }
76834 fi
76835 cat >conftest.$ac_ext <<_ACEOF
76836 /* confdefs.h.  */
76837 _ACEOF
76838 cat confdefs.h >>conftest.$ac_ext
76839 cat >>conftest.$ac_ext <<_ACEOF
76840 /* end confdefs.h.  */
76841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76843 #define $ac_func innocuous_$ac_func
76844
76845 /* System header to define __stub macros and hopefully few prototypes,
76846     which can conflict with char $ac_func (); below.
76847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76848     <limits.h> exists even on freestanding compilers.  */
76849
76850 #ifdef __STDC__
76851 # include <limits.h>
76852 #else
76853 # include <assert.h>
76854 #endif
76855
76856 #undef $ac_func
76857
76858 /* Override any gcc2 internal prototype to avoid an error.  */
76859 #ifdef __cplusplus
76860 extern "C"
76861 {
76862 #endif
76863 /* We use char because int might match the return type of a gcc2
76864    builtin and then its argument prototype would still apply.  */
76865 char $ac_func ();
76866 /* The GNU C library defines this for functions which it implements
76867     to always fail with ENOSYS.  Some functions are actually named
76868     something starting with __ and the normal name is an alias.  */
76869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76870 choke me
76871 #else
76872 char (*f) () = $ac_func;
76873 #endif
76874 #ifdef __cplusplus
76875 }
76876 #endif
76877
76878 int
76879 main ()
76880 {
76881 return f != $ac_func;
76882   ;
76883   return 0;
76884 }
76885 _ACEOF
76886 rm -f conftest.$ac_objext conftest$ac_exeext
76887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76888   (eval $ac_link) 2>conftest.er1
76889   ac_status=$?
76890   grep -v '^ *+' conftest.er1 >conftest.err
76891   rm -f conftest.er1
76892   cat conftest.err >&5
76893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894   (exit $ac_status); } &&
76895          { ac_try='test -z "$ac_c_werror_flag"
76896                          || test ! -s conftest.err'
76897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76898   (eval $ac_try) 2>&5
76899   ac_status=$?
76900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76901   (exit $ac_status); }; } &&
76902          { ac_try='test -s conftest$ac_exeext'
76903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76904   (eval $ac_try) 2>&5
76905   ac_status=$?
76906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76907   (exit $ac_status); }; }; then
76908   eval "$as_ac_var=yes"
76909 else
76910   echo "$as_me: failed program was:" >&5
76911 sed 's/^/| /' conftest.$ac_ext >&5
76912
76913 eval "$as_ac_var=no"
76914 fi
76915 rm -f conftest.err conftest.$ac_objext \
76916       conftest$ac_exeext conftest.$ac_ext
76917 fi
76918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76920 if test `eval echo '${'$as_ac_var'}'` = yes; then
76921   cat >>confdefs.h <<_ACEOF
76922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76923 _ACEOF
76924
76925 fi
76926 done
76927
76928   else
76929
76930   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76931 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76932   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76933     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76934   echo $ECHO_N "(cached) $ECHO_C" >&6
76935 else
76936
76937
76938
76939       ac_ext=cc
76940 ac_cpp='$CXXCPP $CPPFLAGS'
76941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76944
76945       cat >conftest.$ac_ext <<_ACEOF
76946 /* confdefs.h.  */
76947 _ACEOF
76948 cat confdefs.h >>conftest.$ac_ext
76949 cat >>conftest.$ac_ext <<_ACEOF
76950 /* end confdefs.h.  */
76951 #include <math.h>
76952 int
76953 main ()
76954 {
76955  _atan2l(0, 0);
76956   ;
76957   return 0;
76958 }
76959 _ACEOF
76960 rm -f conftest.$ac_objext
76961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76962   (eval $ac_compile) 2>conftest.er1
76963   ac_status=$?
76964   grep -v '^ *+' conftest.er1 >conftest.err
76965   rm -f conftest.er1
76966   cat conftest.err >&5
76967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76968   (exit $ac_status); } &&
76969          { ac_try='test -z "$ac_cxx_werror_flag"
76970                          || test ! -s conftest.err'
76971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76972   (eval $ac_try) 2>&5
76973   ac_status=$?
76974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76975   (exit $ac_status); }; } &&
76976          { ac_try='test -s conftest.$ac_objext'
76977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76978   (eval $ac_try) 2>&5
76979   ac_status=$?
76980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76981   (exit $ac_status); }; }; then
76982   glibcxx_cv_func__atan2l_use=yes
76983 else
76984   echo "$as_me: failed program was:" >&5
76985 sed 's/^/| /' conftest.$ac_ext >&5
76986
76987 glibcxx_cv_func__atan2l_use=no
76988 fi
76989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76990       ac_ext=c
76991 ac_cpp='$CPP $CPPFLAGS'
76992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76995
76996
76997 fi
76998
76999   fi
77000   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77001 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77002
77003     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77004
77005 for ac_func in _atan2l
77006 do
77007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77008 echo "$as_me:$LINENO: checking for $ac_func" >&5
77009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77010 if eval "test \"\${$as_ac_var+set}\" = set"; then
77011   echo $ECHO_N "(cached) $ECHO_C" >&6
77012 else
77013   if test x$gcc_no_link = xyes; then
77014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77016    { (exit 1); exit 1; }; }
77017 fi
77018 cat >conftest.$ac_ext <<_ACEOF
77019 /* confdefs.h.  */
77020 _ACEOF
77021 cat confdefs.h >>conftest.$ac_ext
77022 cat >>conftest.$ac_ext <<_ACEOF
77023 /* end confdefs.h.  */
77024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77026 #define $ac_func innocuous_$ac_func
77027
77028 /* System header to define __stub macros and hopefully few prototypes,
77029     which can conflict with char $ac_func (); below.
77030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77031     <limits.h> exists even on freestanding compilers.  */
77032
77033 #ifdef __STDC__
77034 # include <limits.h>
77035 #else
77036 # include <assert.h>
77037 #endif
77038
77039 #undef $ac_func
77040
77041 /* Override any gcc2 internal prototype to avoid an error.  */
77042 #ifdef __cplusplus
77043 extern "C"
77044 {
77045 #endif
77046 /* We use char because int might match the return type of a gcc2
77047    builtin and then its argument prototype would still apply.  */
77048 char $ac_func ();
77049 /* The GNU C library defines this for functions which it implements
77050     to always fail with ENOSYS.  Some functions are actually named
77051     something starting with __ and the normal name is an alias.  */
77052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77053 choke me
77054 #else
77055 char (*f) () = $ac_func;
77056 #endif
77057 #ifdef __cplusplus
77058 }
77059 #endif
77060
77061 int
77062 main ()
77063 {
77064 return f != $ac_func;
77065   ;
77066   return 0;
77067 }
77068 _ACEOF
77069 rm -f conftest.$ac_objext conftest$ac_exeext
77070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77071   (eval $ac_link) 2>conftest.er1
77072   ac_status=$?
77073   grep -v '^ *+' conftest.er1 >conftest.err
77074   rm -f conftest.er1
77075   cat conftest.err >&5
77076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77077   (exit $ac_status); } &&
77078          { ac_try='test -z "$ac_c_werror_flag"
77079                          || test ! -s conftest.err'
77080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77081   (eval $ac_try) 2>&5
77082   ac_status=$?
77083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77084   (exit $ac_status); }; } &&
77085          { ac_try='test -s conftest$ac_exeext'
77086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77087   (eval $ac_try) 2>&5
77088   ac_status=$?
77089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77090   (exit $ac_status); }; }; then
77091   eval "$as_ac_var=yes"
77092 else
77093   echo "$as_me: failed program was:" >&5
77094 sed 's/^/| /' conftest.$ac_ext >&5
77095
77096 eval "$as_ac_var=no"
77097 fi
77098 rm -f conftest.err conftest.$ac_objext \
77099       conftest$ac_exeext conftest.$ac_ext
77100 fi
77101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77103 if test `eval echo '${'$as_ac_var'}'` = yes; then
77104   cat >>confdefs.h <<_ACEOF
77105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77106 _ACEOF
77107
77108 fi
77109 done
77110
77111     fi
77112   fi
77113
77114
77115
77116
77117
77118
77119   echo "$as_me:$LINENO: checking for expl declaration" >&5
77120 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77121   if test x${glibcxx_cv_func_expl_use+set} != xset; then
77122     if test "${glibcxx_cv_func_expl_use+set}" = set; then
77123   echo $ECHO_N "(cached) $ECHO_C" >&6
77124 else
77125
77126
77127
77128       ac_ext=cc
77129 ac_cpp='$CXXCPP $CPPFLAGS'
77130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77133
77134       cat >conftest.$ac_ext <<_ACEOF
77135 /* confdefs.h.  */
77136 _ACEOF
77137 cat confdefs.h >>conftest.$ac_ext
77138 cat >>conftest.$ac_ext <<_ACEOF
77139 /* end confdefs.h.  */
77140 #include <math.h>
77141                       #ifdef HAVE_IEEEFP_H
77142                       #include <ieeefp.h>
77143                       #endif
77144
77145 int
77146 main ()
77147 {
77148  expl(0);
77149   ;
77150   return 0;
77151 }
77152 _ACEOF
77153 rm -f conftest.$ac_objext
77154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77155   (eval $ac_compile) 2>conftest.er1
77156   ac_status=$?
77157   grep -v '^ *+' conftest.er1 >conftest.err
77158   rm -f conftest.er1
77159   cat conftest.err >&5
77160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77161   (exit $ac_status); } &&
77162          { ac_try='test -z "$ac_cxx_werror_flag"
77163                          || test ! -s conftest.err'
77164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77165   (eval $ac_try) 2>&5
77166   ac_status=$?
77167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77168   (exit $ac_status); }; } &&
77169          { ac_try='test -s conftest.$ac_objext'
77170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77171   (eval $ac_try) 2>&5
77172   ac_status=$?
77173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77174   (exit $ac_status); }; }; then
77175   glibcxx_cv_func_expl_use=yes
77176 else
77177   echo "$as_me: failed program was:" >&5
77178 sed 's/^/| /' conftest.$ac_ext >&5
77179
77180 glibcxx_cv_func_expl_use=no
77181 fi
77182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77183       ac_ext=c
77184 ac_cpp='$CPP $CPPFLAGS'
77185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77188
77189
77190 fi
77191
77192   fi
77193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77194 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77195
77196   if test x$glibcxx_cv_func_expl_use = x"yes"; then
77197
77198 for ac_func in expl
77199 do
77200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77201 echo "$as_me:$LINENO: checking for $ac_func" >&5
77202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77203 if eval "test \"\${$as_ac_var+set}\" = set"; then
77204   echo $ECHO_N "(cached) $ECHO_C" >&6
77205 else
77206   if test x$gcc_no_link = xyes; then
77207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77209    { (exit 1); exit 1; }; }
77210 fi
77211 cat >conftest.$ac_ext <<_ACEOF
77212 /* confdefs.h.  */
77213 _ACEOF
77214 cat confdefs.h >>conftest.$ac_ext
77215 cat >>conftest.$ac_ext <<_ACEOF
77216 /* end confdefs.h.  */
77217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77219 #define $ac_func innocuous_$ac_func
77220
77221 /* System header to define __stub macros and hopefully few prototypes,
77222     which can conflict with char $ac_func (); below.
77223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77224     <limits.h> exists even on freestanding compilers.  */
77225
77226 #ifdef __STDC__
77227 # include <limits.h>
77228 #else
77229 # include <assert.h>
77230 #endif
77231
77232 #undef $ac_func
77233
77234 /* Override any gcc2 internal prototype to avoid an error.  */
77235 #ifdef __cplusplus
77236 extern "C"
77237 {
77238 #endif
77239 /* We use char because int might match the return type of a gcc2
77240    builtin and then its argument prototype would still apply.  */
77241 char $ac_func ();
77242 /* The GNU C library defines this for functions which it implements
77243     to always fail with ENOSYS.  Some functions are actually named
77244     something starting with __ and the normal name is an alias.  */
77245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77246 choke me
77247 #else
77248 char (*f) () = $ac_func;
77249 #endif
77250 #ifdef __cplusplus
77251 }
77252 #endif
77253
77254 int
77255 main ()
77256 {
77257 return f != $ac_func;
77258   ;
77259   return 0;
77260 }
77261 _ACEOF
77262 rm -f conftest.$ac_objext conftest$ac_exeext
77263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77264   (eval $ac_link) 2>conftest.er1
77265   ac_status=$?
77266   grep -v '^ *+' conftest.er1 >conftest.err
77267   rm -f conftest.er1
77268   cat conftest.err >&5
77269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77270   (exit $ac_status); } &&
77271          { ac_try='test -z "$ac_c_werror_flag"
77272                          || test ! -s conftest.err'
77273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77274   (eval $ac_try) 2>&5
77275   ac_status=$?
77276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77277   (exit $ac_status); }; } &&
77278          { ac_try='test -s conftest$ac_exeext'
77279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77280   (eval $ac_try) 2>&5
77281   ac_status=$?
77282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77283   (exit $ac_status); }; }; then
77284   eval "$as_ac_var=yes"
77285 else
77286   echo "$as_me: failed program was:" >&5
77287 sed 's/^/| /' conftest.$ac_ext >&5
77288
77289 eval "$as_ac_var=no"
77290 fi
77291 rm -f conftest.err conftest.$ac_objext \
77292       conftest$ac_exeext conftest.$ac_ext
77293 fi
77294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77296 if test `eval echo '${'$as_ac_var'}'` = yes; then
77297   cat >>confdefs.h <<_ACEOF
77298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77299 _ACEOF
77300
77301 fi
77302 done
77303
77304   else
77305
77306   echo "$as_me:$LINENO: checking for _expl declaration" >&5
77307 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77308   if test x${glibcxx_cv_func__expl_use+set} != xset; then
77309     if test "${glibcxx_cv_func__expl_use+set}" = set; then
77310   echo $ECHO_N "(cached) $ECHO_C" >&6
77311 else
77312
77313
77314
77315       ac_ext=cc
77316 ac_cpp='$CXXCPP $CPPFLAGS'
77317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77320
77321       cat >conftest.$ac_ext <<_ACEOF
77322 /* confdefs.h.  */
77323 _ACEOF
77324 cat confdefs.h >>conftest.$ac_ext
77325 cat >>conftest.$ac_ext <<_ACEOF
77326 /* end confdefs.h.  */
77327 #include <math.h>
77328                       #ifdef HAVE_IEEEFP_H
77329                       #include <ieeefp.h>
77330                       #endif
77331
77332 int
77333 main ()
77334 {
77335  _expl(0);
77336   ;
77337   return 0;
77338 }
77339 _ACEOF
77340 rm -f conftest.$ac_objext
77341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77342   (eval $ac_compile) 2>conftest.er1
77343   ac_status=$?
77344   grep -v '^ *+' conftest.er1 >conftest.err
77345   rm -f conftest.er1
77346   cat conftest.err >&5
77347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77348   (exit $ac_status); } &&
77349          { ac_try='test -z "$ac_cxx_werror_flag"
77350                          || test ! -s conftest.err'
77351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77352   (eval $ac_try) 2>&5
77353   ac_status=$?
77354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77355   (exit $ac_status); }; } &&
77356          { ac_try='test -s conftest.$ac_objext'
77357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77358   (eval $ac_try) 2>&5
77359   ac_status=$?
77360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77361   (exit $ac_status); }; }; then
77362   glibcxx_cv_func__expl_use=yes
77363 else
77364   echo "$as_me: failed program was:" >&5
77365 sed 's/^/| /' conftest.$ac_ext >&5
77366
77367 glibcxx_cv_func__expl_use=no
77368 fi
77369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77370       ac_ext=c
77371 ac_cpp='$CPP $CPPFLAGS'
77372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77375
77376
77377 fi
77378
77379   fi
77380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
77381 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
77382
77383     if test x$glibcxx_cv_func__expl_use = x"yes"; then
77384
77385 for ac_func in _expl
77386 do
77387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77388 echo "$as_me:$LINENO: checking for $ac_func" >&5
77389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77390 if eval "test \"\${$as_ac_var+set}\" = set"; then
77391   echo $ECHO_N "(cached) $ECHO_C" >&6
77392 else
77393   if test x$gcc_no_link = xyes; then
77394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77396    { (exit 1); exit 1; }; }
77397 fi
77398 cat >conftest.$ac_ext <<_ACEOF
77399 /* confdefs.h.  */
77400 _ACEOF
77401 cat confdefs.h >>conftest.$ac_ext
77402 cat >>conftest.$ac_ext <<_ACEOF
77403 /* end confdefs.h.  */
77404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77406 #define $ac_func innocuous_$ac_func
77407
77408 /* System header to define __stub macros and hopefully few prototypes,
77409     which can conflict with char $ac_func (); below.
77410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77411     <limits.h> exists even on freestanding compilers.  */
77412
77413 #ifdef __STDC__
77414 # include <limits.h>
77415 #else
77416 # include <assert.h>
77417 #endif
77418
77419 #undef $ac_func
77420
77421 /* Override any gcc2 internal prototype to avoid an error.  */
77422 #ifdef __cplusplus
77423 extern "C"
77424 {
77425 #endif
77426 /* We use char because int might match the return type of a gcc2
77427    builtin and then its argument prototype would still apply.  */
77428 char $ac_func ();
77429 /* The GNU C library defines this for functions which it implements
77430     to always fail with ENOSYS.  Some functions are actually named
77431     something starting with __ and the normal name is an alias.  */
77432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77433 choke me
77434 #else
77435 char (*f) () = $ac_func;
77436 #endif
77437 #ifdef __cplusplus
77438 }
77439 #endif
77440
77441 int
77442 main ()
77443 {
77444 return f != $ac_func;
77445   ;
77446   return 0;
77447 }
77448 _ACEOF
77449 rm -f conftest.$ac_objext conftest$ac_exeext
77450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77451   (eval $ac_link) 2>conftest.er1
77452   ac_status=$?
77453   grep -v '^ *+' conftest.er1 >conftest.err
77454   rm -f conftest.er1
77455   cat conftest.err >&5
77456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77457   (exit $ac_status); } &&
77458          { ac_try='test -z "$ac_c_werror_flag"
77459                          || test ! -s conftest.err'
77460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77461   (eval $ac_try) 2>&5
77462   ac_status=$?
77463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77464   (exit $ac_status); }; } &&
77465          { ac_try='test -s conftest$ac_exeext'
77466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77467   (eval $ac_try) 2>&5
77468   ac_status=$?
77469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77470   (exit $ac_status); }; }; then
77471   eval "$as_ac_var=yes"
77472 else
77473   echo "$as_me: failed program was:" >&5
77474 sed 's/^/| /' conftest.$ac_ext >&5
77475
77476 eval "$as_ac_var=no"
77477 fi
77478 rm -f conftest.err conftest.$ac_objext \
77479       conftest$ac_exeext conftest.$ac_ext
77480 fi
77481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77483 if test `eval echo '${'$as_ac_var'}'` = yes; then
77484   cat >>confdefs.h <<_ACEOF
77485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77486 _ACEOF
77487
77488 fi
77489 done
77490
77491     fi
77492   fi
77493
77494
77495
77496
77497
77498
77499   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77500 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77501   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77502     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77503   echo $ECHO_N "(cached) $ECHO_C" >&6
77504 else
77505
77506
77507
77508       ac_ext=cc
77509 ac_cpp='$CXXCPP $CPPFLAGS'
77510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77513
77514       cat >conftest.$ac_ext <<_ACEOF
77515 /* confdefs.h.  */
77516 _ACEOF
77517 cat confdefs.h >>conftest.$ac_ext
77518 cat >>conftest.$ac_ext <<_ACEOF
77519 /* end confdefs.h.  */
77520 #include <math.h>
77521                       #ifdef HAVE_IEEEFP_H
77522                       #include <ieeefp.h>
77523                       #endif
77524
77525 int
77526 main ()
77527 {
77528  fabsl(0);
77529   ;
77530   return 0;
77531 }
77532 _ACEOF
77533 rm -f conftest.$ac_objext
77534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77535   (eval $ac_compile) 2>conftest.er1
77536   ac_status=$?
77537   grep -v '^ *+' conftest.er1 >conftest.err
77538   rm -f conftest.er1
77539   cat conftest.err >&5
77540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77541   (exit $ac_status); } &&
77542          { ac_try='test -z "$ac_cxx_werror_flag"
77543                          || test ! -s conftest.err'
77544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77545   (eval $ac_try) 2>&5
77546   ac_status=$?
77547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77548   (exit $ac_status); }; } &&
77549          { ac_try='test -s conftest.$ac_objext'
77550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77551   (eval $ac_try) 2>&5
77552   ac_status=$?
77553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77554   (exit $ac_status); }; }; then
77555   glibcxx_cv_func_fabsl_use=yes
77556 else
77557   echo "$as_me: failed program was:" >&5
77558 sed 's/^/| /' conftest.$ac_ext >&5
77559
77560 glibcxx_cv_func_fabsl_use=no
77561 fi
77562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77563       ac_ext=c
77564 ac_cpp='$CPP $CPPFLAGS'
77565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77568
77569
77570 fi
77571
77572   fi
77573   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77574 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77575
77576   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77577
77578 for ac_func in fabsl
77579 do
77580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77581 echo "$as_me:$LINENO: checking for $ac_func" >&5
77582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77583 if eval "test \"\${$as_ac_var+set}\" = set"; then
77584   echo $ECHO_N "(cached) $ECHO_C" >&6
77585 else
77586   if test x$gcc_no_link = xyes; then
77587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77589    { (exit 1); exit 1; }; }
77590 fi
77591 cat >conftest.$ac_ext <<_ACEOF
77592 /* confdefs.h.  */
77593 _ACEOF
77594 cat confdefs.h >>conftest.$ac_ext
77595 cat >>conftest.$ac_ext <<_ACEOF
77596 /* end confdefs.h.  */
77597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77599 #define $ac_func innocuous_$ac_func
77600
77601 /* System header to define __stub macros and hopefully few prototypes,
77602     which can conflict with char $ac_func (); below.
77603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77604     <limits.h> exists even on freestanding compilers.  */
77605
77606 #ifdef __STDC__
77607 # include <limits.h>
77608 #else
77609 # include <assert.h>
77610 #endif
77611
77612 #undef $ac_func
77613
77614 /* Override any gcc2 internal prototype to avoid an error.  */
77615 #ifdef __cplusplus
77616 extern "C"
77617 {
77618 #endif
77619 /* We use char because int might match the return type of a gcc2
77620    builtin and then its argument prototype would still apply.  */
77621 char $ac_func ();
77622 /* The GNU C library defines this for functions which it implements
77623     to always fail with ENOSYS.  Some functions are actually named
77624     something starting with __ and the normal name is an alias.  */
77625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77626 choke me
77627 #else
77628 char (*f) () = $ac_func;
77629 #endif
77630 #ifdef __cplusplus
77631 }
77632 #endif
77633
77634 int
77635 main ()
77636 {
77637 return f != $ac_func;
77638   ;
77639   return 0;
77640 }
77641 _ACEOF
77642 rm -f conftest.$ac_objext conftest$ac_exeext
77643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77644   (eval $ac_link) 2>conftest.er1
77645   ac_status=$?
77646   grep -v '^ *+' conftest.er1 >conftest.err
77647   rm -f conftest.er1
77648   cat conftest.err >&5
77649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77650   (exit $ac_status); } &&
77651          { ac_try='test -z "$ac_c_werror_flag"
77652                          || test ! -s conftest.err'
77653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77654   (eval $ac_try) 2>&5
77655   ac_status=$?
77656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77657   (exit $ac_status); }; } &&
77658          { ac_try='test -s conftest$ac_exeext'
77659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77660   (eval $ac_try) 2>&5
77661   ac_status=$?
77662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77663   (exit $ac_status); }; }; then
77664   eval "$as_ac_var=yes"
77665 else
77666   echo "$as_me: failed program was:" >&5
77667 sed 's/^/| /' conftest.$ac_ext >&5
77668
77669 eval "$as_ac_var=no"
77670 fi
77671 rm -f conftest.err conftest.$ac_objext \
77672       conftest$ac_exeext conftest.$ac_ext
77673 fi
77674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77676 if test `eval echo '${'$as_ac_var'}'` = yes; then
77677   cat >>confdefs.h <<_ACEOF
77678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77679 _ACEOF
77680
77681 fi
77682 done
77683
77684   else
77685
77686   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77687 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77688   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77689     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77690   echo $ECHO_N "(cached) $ECHO_C" >&6
77691 else
77692
77693
77694
77695       ac_ext=cc
77696 ac_cpp='$CXXCPP $CPPFLAGS'
77697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77700
77701       cat >conftest.$ac_ext <<_ACEOF
77702 /* confdefs.h.  */
77703 _ACEOF
77704 cat confdefs.h >>conftest.$ac_ext
77705 cat >>conftest.$ac_ext <<_ACEOF
77706 /* end confdefs.h.  */
77707 #include <math.h>
77708                       #ifdef HAVE_IEEEFP_H
77709                       #include <ieeefp.h>
77710                       #endif
77711
77712 int
77713 main ()
77714 {
77715  _fabsl(0);
77716   ;
77717   return 0;
77718 }
77719 _ACEOF
77720 rm -f conftest.$ac_objext
77721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77722   (eval $ac_compile) 2>conftest.er1
77723   ac_status=$?
77724   grep -v '^ *+' conftest.er1 >conftest.err
77725   rm -f conftest.er1
77726   cat conftest.err >&5
77727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77728   (exit $ac_status); } &&
77729          { ac_try='test -z "$ac_cxx_werror_flag"
77730                          || test ! -s conftest.err'
77731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77732   (eval $ac_try) 2>&5
77733   ac_status=$?
77734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77735   (exit $ac_status); }; } &&
77736          { ac_try='test -s conftest.$ac_objext'
77737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77738   (eval $ac_try) 2>&5
77739   ac_status=$?
77740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77741   (exit $ac_status); }; }; then
77742   glibcxx_cv_func__fabsl_use=yes
77743 else
77744   echo "$as_me: failed program was:" >&5
77745 sed 's/^/| /' conftest.$ac_ext >&5
77746
77747 glibcxx_cv_func__fabsl_use=no
77748 fi
77749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77750       ac_ext=c
77751 ac_cpp='$CPP $CPPFLAGS'
77752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77755
77756
77757 fi
77758
77759   fi
77760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77761 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77762
77763     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77764
77765 for ac_func in _fabsl
77766 do
77767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77768 echo "$as_me:$LINENO: checking for $ac_func" >&5
77769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77770 if eval "test \"\${$as_ac_var+set}\" = set"; then
77771   echo $ECHO_N "(cached) $ECHO_C" >&6
77772 else
77773   if test x$gcc_no_link = xyes; then
77774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77776    { (exit 1); exit 1; }; }
77777 fi
77778 cat >conftest.$ac_ext <<_ACEOF
77779 /* confdefs.h.  */
77780 _ACEOF
77781 cat confdefs.h >>conftest.$ac_ext
77782 cat >>conftest.$ac_ext <<_ACEOF
77783 /* end confdefs.h.  */
77784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77786 #define $ac_func innocuous_$ac_func
77787
77788 /* System header to define __stub macros and hopefully few prototypes,
77789     which can conflict with char $ac_func (); below.
77790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77791     <limits.h> exists even on freestanding compilers.  */
77792
77793 #ifdef __STDC__
77794 # include <limits.h>
77795 #else
77796 # include <assert.h>
77797 #endif
77798
77799 #undef $ac_func
77800
77801 /* Override any gcc2 internal prototype to avoid an error.  */
77802 #ifdef __cplusplus
77803 extern "C"
77804 {
77805 #endif
77806 /* We use char because int might match the return type of a gcc2
77807    builtin and then its argument prototype would still apply.  */
77808 char $ac_func ();
77809 /* The GNU C library defines this for functions which it implements
77810     to always fail with ENOSYS.  Some functions are actually named
77811     something starting with __ and the normal name is an alias.  */
77812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77813 choke me
77814 #else
77815 char (*f) () = $ac_func;
77816 #endif
77817 #ifdef __cplusplus
77818 }
77819 #endif
77820
77821 int
77822 main ()
77823 {
77824 return f != $ac_func;
77825   ;
77826   return 0;
77827 }
77828 _ACEOF
77829 rm -f conftest.$ac_objext conftest$ac_exeext
77830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77831   (eval $ac_link) 2>conftest.er1
77832   ac_status=$?
77833   grep -v '^ *+' conftest.er1 >conftest.err
77834   rm -f conftest.er1
77835   cat conftest.err >&5
77836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77837   (exit $ac_status); } &&
77838          { ac_try='test -z "$ac_c_werror_flag"
77839                          || test ! -s conftest.err'
77840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77841   (eval $ac_try) 2>&5
77842   ac_status=$?
77843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77844   (exit $ac_status); }; } &&
77845          { ac_try='test -s conftest$ac_exeext'
77846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77847   (eval $ac_try) 2>&5
77848   ac_status=$?
77849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77850   (exit $ac_status); }; }; then
77851   eval "$as_ac_var=yes"
77852 else
77853   echo "$as_me: failed program was:" >&5
77854 sed 's/^/| /' conftest.$ac_ext >&5
77855
77856 eval "$as_ac_var=no"
77857 fi
77858 rm -f conftest.err conftest.$ac_objext \
77859       conftest$ac_exeext conftest.$ac_ext
77860 fi
77861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77863 if test `eval echo '${'$as_ac_var'}'` = yes; then
77864   cat >>confdefs.h <<_ACEOF
77865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77866 _ACEOF
77867
77868 fi
77869 done
77870
77871     fi
77872   fi
77873
77874
77875
77876
77877
77878
77879   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77880 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77881   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77882     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77883   echo $ECHO_N "(cached) $ECHO_C" >&6
77884 else
77885
77886
77887
77888       ac_ext=cc
77889 ac_cpp='$CXXCPP $CPPFLAGS'
77890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77893
77894       cat >conftest.$ac_ext <<_ACEOF
77895 /* confdefs.h.  */
77896 _ACEOF
77897 cat confdefs.h >>conftest.$ac_ext
77898 cat >>conftest.$ac_ext <<_ACEOF
77899 /* end confdefs.h.  */
77900 #include <math.h>
77901 int
77902 main ()
77903 {
77904  fmodl(0, 0);
77905   ;
77906   return 0;
77907 }
77908 _ACEOF
77909 rm -f conftest.$ac_objext
77910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77911   (eval $ac_compile) 2>conftest.er1
77912   ac_status=$?
77913   grep -v '^ *+' conftest.er1 >conftest.err
77914   rm -f conftest.er1
77915   cat conftest.err >&5
77916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77917   (exit $ac_status); } &&
77918          { ac_try='test -z "$ac_cxx_werror_flag"
77919                          || test ! -s conftest.err'
77920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77921   (eval $ac_try) 2>&5
77922   ac_status=$?
77923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77924   (exit $ac_status); }; } &&
77925          { ac_try='test -s conftest.$ac_objext'
77926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77927   (eval $ac_try) 2>&5
77928   ac_status=$?
77929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77930   (exit $ac_status); }; }; then
77931   glibcxx_cv_func_fmodl_use=yes
77932 else
77933   echo "$as_me: failed program was:" >&5
77934 sed 's/^/| /' conftest.$ac_ext >&5
77935
77936 glibcxx_cv_func_fmodl_use=no
77937 fi
77938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77939       ac_ext=c
77940 ac_cpp='$CPP $CPPFLAGS'
77941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77944
77945
77946 fi
77947
77948   fi
77949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77950 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77951
77952   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77953
77954 for ac_func in fmodl
77955 do
77956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77957 echo "$as_me:$LINENO: checking for $ac_func" >&5
77958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77959 if eval "test \"\${$as_ac_var+set}\" = set"; then
77960   echo $ECHO_N "(cached) $ECHO_C" >&6
77961 else
77962   if test x$gcc_no_link = xyes; then
77963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77965    { (exit 1); exit 1; }; }
77966 fi
77967 cat >conftest.$ac_ext <<_ACEOF
77968 /* confdefs.h.  */
77969 _ACEOF
77970 cat confdefs.h >>conftest.$ac_ext
77971 cat >>conftest.$ac_ext <<_ACEOF
77972 /* end confdefs.h.  */
77973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77975 #define $ac_func innocuous_$ac_func
77976
77977 /* System header to define __stub macros and hopefully few prototypes,
77978     which can conflict with char $ac_func (); below.
77979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77980     <limits.h> exists even on freestanding compilers.  */
77981
77982 #ifdef __STDC__
77983 # include <limits.h>
77984 #else
77985 # include <assert.h>
77986 #endif
77987
77988 #undef $ac_func
77989
77990 /* Override any gcc2 internal prototype to avoid an error.  */
77991 #ifdef __cplusplus
77992 extern "C"
77993 {
77994 #endif
77995 /* We use char because int might match the return type of a gcc2
77996    builtin and then its argument prototype would still apply.  */
77997 char $ac_func ();
77998 /* The GNU C library defines this for functions which it implements
77999     to always fail with ENOSYS.  Some functions are actually named
78000     something starting with __ and the normal name is an alias.  */
78001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78002 choke me
78003 #else
78004 char (*f) () = $ac_func;
78005 #endif
78006 #ifdef __cplusplus
78007 }
78008 #endif
78009
78010 int
78011 main ()
78012 {
78013 return f != $ac_func;
78014   ;
78015   return 0;
78016 }
78017 _ACEOF
78018 rm -f conftest.$ac_objext conftest$ac_exeext
78019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78020   (eval $ac_link) 2>conftest.er1
78021   ac_status=$?
78022   grep -v '^ *+' conftest.er1 >conftest.err
78023   rm -f conftest.er1
78024   cat conftest.err >&5
78025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78026   (exit $ac_status); } &&
78027          { ac_try='test -z "$ac_c_werror_flag"
78028                          || test ! -s conftest.err'
78029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78030   (eval $ac_try) 2>&5
78031   ac_status=$?
78032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78033   (exit $ac_status); }; } &&
78034          { ac_try='test -s conftest$ac_exeext'
78035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78036   (eval $ac_try) 2>&5
78037   ac_status=$?
78038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78039   (exit $ac_status); }; }; then
78040   eval "$as_ac_var=yes"
78041 else
78042   echo "$as_me: failed program was:" >&5
78043 sed 's/^/| /' conftest.$ac_ext >&5
78044
78045 eval "$as_ac_var=no"
78046 fi
78047 rm -f conftest.err conftest.$ac_objext \
78048       conftest$ac_exeext conftest.$ac_ext
78049 fi
78050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78052 if test `eval echo '${'$as_ac_var'}'` = yes; then
78053   cat >>confdefs.h <<_ACEOF
78054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78055 _ACEOF
78056
78057 fi
78058 done
78059
78060   else
78061
78062   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78063 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78064   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78065     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78066   echo $ECHO_N "(cached) $ECHO_C" >&6
78067 else
78068
78069
78070
78071       ac_ext=cc
78072 ac_cpp='$CXXCPP $CPPFLAGS'
78073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78076
78077       cat >conftest.$ac_ext <<_ACEOF
78078 /* confdefs.h.  */
78079 _ACEOF
78080 cat confdefs.h >>conftest.$ac_ext
78081 cat >>conftest.$ac_ext <<_ACEOF
78082 /* end confdefs.h.  */
78083 #include <math.h>
78084 int
78085 main ()
78086 {
78087  _fmodl(0, 0);
78088   ;
78089   return 0;
78090 }
78091 _ACEOF
78092 rm -f conftest.$ac_objext
78093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78094   (eval $ac_compile) 2>conftest.er1
78095   ac_status=$?
78096   grep -v '^ *+' conftest.er1 >conftest.err
78097   rm -f conftest.er1
78098   cat conftest.err >&5
78099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78100   (exit $ac_status); } &&
78101          { ac_try='test -z "$ac_cxx_werror_flag"
78102                          || test ! -s conftest.err'
78103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78104   (eval $ac_try) 2>&5
78105   ac_status=$?
78106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78107   (exit $ac_status); }; } &&
78108          { ac_try='test -s conftest.$ac_objext'
78109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78110   (eval $ac_try) 2>&5
78111   ac_status=$?
78112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78113   (exit $ac_status); }; }; then
78114   glibcxx_cv_func__fmodl_use=yes
78115 else
78116   echo "$as_me: failed program was:" >&5
78117 sed 's/^/| /' conftest.$ac_ext >&5
78118
78119 glibcxx_cv_func__fmodl_use=no
78120 fi
78121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78122       ac_ext=c
78123 ac_cpp='$CPP $CPPFLAGS'
78124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78127
78128
78129 fi
78130
78131   fi
78132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78133 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78134
78135     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78136
78137 for ac_func in _fmodl
78138 do
78139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78140 echo "$as_me:$LINENO: checking for $ac_func" >&5
78141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78142 if eval "test \"\${$as_ac_var+set}\" = set"; then
78143   echo $ECHO_N "(cached) $ECHO_C" >&6
78144 else
78145   if test x$gcc_no_link = xyes; then
78146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78148    { (exit 1); exit 1; }; }
78149 fi
78150 cat >conftest.$ac_ext <<_ACEOF
78151 /* confdefs.h.  */
78152 _ACEOF
78153 cat confdefs.h >>conftest.$ac_ext
78154 cat >>conftest.$ac_ext <<_ACEOF
78155 /* end confdefs.h.  */
78156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78158 #define $ac_func innocuous_$ac_func
78159
78160 /* System header to define __stub macros and hopefully few prototypes,
78161     which can conflict with char $ac_func (); below.
78162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78163     <limits.h> exists even on freestanding compilers.  */
78164
78165 #ifdef __STDC__
78166 # include <limits.h>
78167 #else
78168 # include <assert.h>
78169 #endif
78170
78171 #undef $ac_func
78172
78173 /* Override any gcc2 internal prototype to avoid an error.  */
78174 #ifdef __cplusplus
78175 extern "C"
78176 {
78177 #endif
78178 /* We use char because int might match the return type of a gcc2
78179    builtin and then its argument prototype would still apply.  */
78180 char $ac_func ();
78181 /* The GNU C library defines this for functions which it implements
78182     to always fail with ENOSYS.  Some functions are actually named
78183     something starting with __ and the normal name is an alias.  */
78184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78185 choke me
78186 #else
78187 char (*f) () = $ac_func;
78188 #endif
78189 #ifdef __cplusplus
78190 }
78191 #endif
78192
78193 int
78194 main ()
78195 {
78196 return f != $ac_func;
78197   ;
78198   return 0;
78199 }
78200 _ACEOF
78201 rm -f conftest.$ac_objext conftest$ac_exeext
78202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78203   (eval $ac_link) 2>conftest.er1
78204   ac_status=$?
78205   grep -v '^ *+' conftest.er1 >conftest.err
78206   rm -f conftest.er1
78207   cat conftest.err >&5
78208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78209   (exit $ac_status); } &&
78210          { ac_try='test -z "$ac_c_werror_flag"
78211                          || test ! -s conftest.err'
78212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78213   (eval $ac_try) 2>&5
78214   ac_status=$?
78215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78216   (exit $ac_status); }; } &&
78217          { ac_try='test -s conftest$ac_exeext'
78218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78219   (eval $ac_try) 2>&5
78220   ac_status=$?
78221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78222   (exit $ac_status); }; }; then
78223   eval "$as_ac_var=yes"
78224 else
78225   echo "$as_me: failed program was:" >&5
78226 sed 's/^/| /' conftest.$ac_ext >&5
78227
78228 eval "$as_ac_var=no"
78229 fi
78230 rm -f conftest.err conftest.$ac_objext \
78231       conftest$ac_exeext conftest.$ac_ext
78232 fi
78233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78235 if test `eval echo '${'$as_ac_var'}'` = yes; then
78236   cat >>confdefs.h <<_ACEOF
78237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78238 _ACEOF
78239
78240 fi
78241 done
78242
78243     fi
78244   fi
78245
78246
78247
78248
78249
78250
78251   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78252 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78253   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78254     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78255   echo $ECHO_N "(cached) $ECHO_C" >&6
78256 else
78257
78258
78259
78260       ac_ext=cc
78261 ac_cpp='$CXXCPP $CPPFLAGS'
78262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78265
78266       cat >conftest.$ac_ext <<_ACEOF
78267 /* confdefs.h.  */
78268 _ACEOF
78269 cat confdefs.h >>conftest.$ac_ext
78270 cat >>conftest.$ac_ext <<_ACEOF
78271 /* end confdefs.h.  */
78272 #include <math.h>
78273 int
78274 main ()
78275 {
78276  frexpl(0, 0);
78277   ;
78278   return 0;
78279 }
78280 _ACEOF
78281 rm -f conftest.$ac_objext
78282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78283   (eval $ac_compile) 2>conftest.er1
78284   ac_status=$?
78285   grep -v '^ *+' conftest.er1 >conftest.err
78286   rm -f conftest.er1
78287   cat conftest.err >&5
78288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78289   (exit $ac_status); } &&
78290          { ac_try='test -z "$ac_cxx_werror_flag"
78291                          || test ! -s conftest.err'
78292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78293   (eval $ac_try) 2>&5
78294   ac_status=$?
78295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78296   (exit $ac_status); }; } &&
78297          { ac_try='test -s conftest.$ac_objext'
78298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78299   (eval $ac_try) 2>&5
78300   ac_status=$?
78301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78302   (exit $ac_status); }; }; then
78303   glibcxx_cv_func_frexpl_use=yes
78304 else
78305   echo "$as_me: failed program was:" >&5
78306 sed 's/^/| /' conftest.$ac_ext >&5
78307
78308 glibcxx_cv_func_frexpl_use=no
78309 fi
78310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78311       ac_ext=c
78312 ac_cpp='$CPP $CPPFLAGS'
78313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78316
78317
78318 fi
78319
78320   fi
78321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78322 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78323
78324   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78325
78326 for ac_func in frexpl
78327 do
78328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78329 echo "$as_me:$LINENO: checking for $ac_func" >&5
78330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78331 if eval "test \"\${$as_ac_var+set}\" = set"; then
78332   echo $ECHO_N "(cached) $ECHO_C" >&6
78333 else
78334   if test x$gcc_no_link = xyes; then
78335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78337    { (exit 1); exit 1; }; }
78338 fi
78339 cat >conftest.$ac_ext <<_ACEOF
78340 /* confdefs.h.  */
78341 _ACEOF
78342 cat confdefs.h >>conftest.$ac_ext
78343 cat >>conftest.$ac_ext <<_ACEOF
78344 /* end confdefs.h.  */
78345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78347 #define $ac_func innocuous_$ac_func
78348
78349 /* System header to define __stub macros and hopefully few prototypes,
78350     which can conflict with char $ac_func (); below.
78351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78352     <limits.h> exists even on freestanding compilers.  */
78353
78354 #ifdef __STDC__
78355 # include <limits.h>
78356 #else
78357 # include <assert.h>
78358 #endif
78359
78360 #undef $ac_func
78361
78362 /* Override any gcc2 internal prototype to avoid an error.  */
78363 #ifdef __cplusplus
78364 extern "C"
78365 {
78366 #endif
78367 /* We use char because int might match the return type of a gcc2
78368    builtin and then its argument prototype would still apply.  */
78369 char $ac_func ();
78370 /* The GNU C library defines this for functions which it implements
78371     to always fail with ENOSYS.  Some functions are actually named
78372     something starting with __ and the normal name is an alias.  */
78373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78374 choke me
78375 #else
78376 char (*f) () = $ac_func;
78377 #endif
78378 #ifdef __cplusplus
78379 }
78380 #endif
78381
78382 int
78383 main ()
78384 {
78385 return f != $ac_func;
78386   ;
78387   return 0;
78388 }
78389 _ACEOF
78390 rm -f conftest.$ac_objext conftest$ac_exeext
78391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78392   (eval $ac_link) 2>conftest.er1
78393   ac_status=$?
78394   grep -v '^ *+' conftest.er1 >conftest.err
78395   rm -f conftest.er1
78396   cat conftest.err >&5
78397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78398   (exit $ac_status); } &&
78399          { ac_try='test -z "$ac_c_werror_flag"
78400                          || test ! -s conftest.err'
78401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78402   (eval $ac_try) 2>&5
78403   ac_status=$?
78404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78405   (exit $ac_status); }; } &&
78406          { ac_try='test -s conftest$ac_exeext'
78407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78408   (eval $ac_try) 2>&5
78409   ac_status=$?
78410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78411   (exit $ac_status); }; }; then
78412   eval "$as_ac_var=yes"
78413 else
78414   echo "$as_me: failed program was:" >&5
78415 sed 's/^/| /' conftest.$ac_ext >&5
78416
78417 eval "$as_ac_var=no"
78418 fi
78419 rm -f conftest.err conftest.$ac_objext \
78420       conftest$ac_exeext conftest.$ac_ext
78421 fi
78422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78424 if test `eval echo '${'$as_ac_var'}'` = yes; then
78425   cat >>confdefs.h <<_ACEOF
78426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78427 _ACEOF
78428
78429 fi
78430 done
78431
78432   else
78433
78434   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78435 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78436   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78437     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78438   echo $ECHO_N "(cached) $ECHO_C" >&6
78439 else
78440
78441
78442
78443       ac_ext=cc
78444 ac_cpp='$CXXCPP $CPPFLAGS'
78445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78448
78449       cat >conftest.$ac_ext <<_ACEOF
78450 /* confdefs.h.  */
78451 _ACEOF
78452 cat confdefs.h >>conftest.$ac_ext
78453 cat >>conftest.$ac_ext <<_ACEOF
78454 /* end confdefs.h.  */
78455 #include <math.h>
78456 int
78457 main ()
78458 {
78459  _frexpl(0, 0);
78460   ;
78461   return 0;
78462 }
78463 _ACEOF
78464 rm -f conftest.$ac_objext
78465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78466   (eval $ac_compile) 2>conftest.er1
78467   ac_status=$?
78468   grep -v '^ *+' conftest.er1 >conftest.err
78469   rm -f conftest.er1
78470   cat conftest.err >&5
78471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78472   (exit $ac_status); } &&
78473          { ac_try='test -z "$ac_cxx_werror_flag"
78474                          || test ! -s conftest.err'
78475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78476   (eval $ac_try) 2>&5
78477   ac_status=$?
78478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78479   (exit $ac_status); }; } &&
78480          { ac_try='test -s conftest.$ac_objext'
78481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78482   (eval $ac_try) 2>&5
78483   ac_status=$?
78484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78485   (exit $ac_status); }; }; then
78486   glibcxx_cv_func__frexpl_use=yes
78487 else
78488   echo "$as_me: failed program was:" >&5
78489 sed 's/^/| /' conftest.$ac_ext >&5
78490
78491 glibcxx_cv_func__frexpl_use=no
78492 fi
78493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78494       ac_ext=c
78495 ac_cpp='$CPP $CPPFLAGS'
78496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78499
78500
78501 fi
78502
78503   fi
78504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78505 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78506
78507     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78508
78509 for ac_func in _frexpl
78510 do
78511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78512 echo "$as_me:$LINENO: checking for $ac_func" >&5
78513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78514 if eval "test \"\${$as_ac_var+set}\" = set"; then
78515   echo $ECHO_N "(cached) $ECHO_C" >&6
78516 else
78517   if test x$gcc_no_link = xyes; then
78518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78520    { (exit 1); exit 1; }; }
78521 fi
78522 cat >conftest.$ac_ext <<_ACEOF
78523 /* confdefs.h.  */
78524 _ACEOF
78525 cat confdefs.h >>conftest.$ac_ext
78526 cat >>conftest.$ac_ext <<_ACEOF
78527 /* end confdefs.h.  */
78528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78530 #define $ac_func innocuous_$ac_func
78531
78532 /* System header to define __stub macros and hopefully few prototypes,
78533     which can conflict with char $ac_func (); below.
78534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78535     <limits.h> exists even on freestanding compilers.  */
78536
78537 #ifdef __STDC__
78538 # include <limits.h>
78539 #else
78540 # include <assert.h>
78541 #endif
78542
78543 #undef $ac_func
78544
78545 /* Override any gcc2 internal prototype to avoid an error.  */
78546 #ifdef __cplusplus
78547 extern "C"
78548 {
78549 #endif
78550 /* We use char because int might match the return type of a gcc2
78551    builtin and then its argument prototype would still apply.  */
78552 char $ac_func ();
78553 /* The GNU C library defines this for functions which it implements
78554     to always fail with ENOSYS.  Some functions are actually named
78555     something starting with __ and the normal name is an alias.  */
78556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78557 choke me
78558 #else
78559 char (*f) () = $ac_func;
78560 #endif
78561 #ifdef __cplusplus
78562 }
78563 #endif
78564
78565 int
78566 main ()
78567 {
78568 return f != $ac_func;
78569   ;
78570   return 0;
78571 }
78572 _ACEOF
78573 rm -f conftest.$ac_objext conftest$ac_exeext
78574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78575   (eval $ac_link) 2>conftest.er1
78576   ac_status=$?
78577   grep -v '^ *+' conftest.er1 >conftest.err
78578   rm -f conftest.er1
78579   cat conftest.err >&5
78580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78581   (exit $ac_status); } &&
78582          { ac_try='test -z "$ac_c_werror_flag"
78583                          || test ! -s conftest.err'
78584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585   (eval $ac_try) 2>&5
78586   ac_status=$?
78587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588   (exit $ac_status); }; } &&
78589          { ac_try='test -s conftest$ac_exeext'
78590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78591   (eval $ac_try) 2>&5
78592   ac_status=$?
78593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78594   (exit $ac_status); }; }; then
78595   eval "$as_ac_var=yes"
78596 else
78597   echo "$as_me: failed program was:" >&5
78598 sed 's/^/| /' conftest.$ac_ext >&5
78599
78600 eval "$as_ac_var=no"
78601 fi
78602 rm -f conftest.err conftest.$ac_objext \
78603       conftest$ac_exeext conftest.$ac_ext
78604 fi
78605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78607 if test `eval echo '${'$as_ac_var'}'` = yes; then
78608   cat >>confdefs.h <<_ACEOF
78609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78610 _ACEOF
78611
78612 fi
78613 done
78614
78615     fi
78616   fi
78617
78618
78619
78620
78621
78622
78623   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78624 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78625   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78626     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78627   echo $ECHO_N "(cached) $ECHO_C" >&6
78628 else
78629
78630
78631
78632       ac_ext=cc
78633 ac_cpp='$CXXCPP $CPPFLAGS'
78634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78637
78638       cat >conftest.$ac_ext <<_ACEOF
78639 /* confdefs.h.  */
78640 _ACEOF
78641 cat confdefs.h >>conftest.$ac_ext
78642 cat >>conftest.$ac_ext <<_ACEOF
78643 /* end confdefs.h.  */
78644 #include <math.h>
78645 int
78646 main ()
78647 {
78648  hypotl(0, 0);
78649   ;
78650   return 0;
78651 }
78652 _ACEOF
78653 rm -f conftest.$ac_objext
78654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78655   (eval $ac_compile) 2>conftest.er1
78656   ac_status=$?
78657   grep -v '^ *+' conftest.er1 >conftest.err
78658   rm -f conftest.er1
78659   cat conftest.err >&5
78660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78661   (exit $ac_status); } &&
78662          { ac_try='test -z "$ac_cxx_werror_flag"
78663                          || test ! -s conftest.err'
78664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78665   (eval $ac_try) 2>&5
78666   ac_status=$?
78667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78668   (exit $ac_status); }; } &&
78669          { ac_try='test -s conftest.$ac_objext'
78670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78671   (eval $ac_try) 2>&5
78672   ac_status=$?
78673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78674   (exit $ac_status); }; }; then
78675   glibcxx_cv_func_hypotl_use=yes
78676 else
78677   echo "$as_me: failed program was:" >&5
78678 sed 's/^/| /' conftest.$ac_ext >&5
78679
78680 glibcxx_cv_func_hypotl_use=no
78681 fi
78682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78683       ac_ext=c
78684 ac_cpp='$CPP $CPPFLAGS'
78685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78688
78689
78690 fi
78691
78692   fi
78693   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78694 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78695
78696   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78697
78698 for ac_func in hypotl
78699 do
78700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78701 echo "$as_me:$LINENO: checking for $ac_func" >&5
78702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78703 if eval "test \"\${$as_ac_var+set}\" = set"; then
78704   echo $ECHO_N "(cached) $ECHO_C" >&6
78705 else
78706   if test x$gcc_no_link = xyes; then
78707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78709    { (exit 1); exit 1; }; }
78710 fi
78711 cat >conftest.$ac_ext <<_ACEOF
78712 /* confdefs.h.  */
78713 _ACEOF
78714 cat confdefs.h >>conftest.$ac_ext
78715 cat >>conftest.$ac_ext <<_ACEOF
78716 /* end confdefs.h.  */
78717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78719 #define $ac_func innocuous_$ac_func
78720
78721 /* System header to define __stub macros and hopefully few prototypes,
78722     which can conflict with char $ac_func (); below.
78723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78724     <limits.h> exists even on freestanding compilers.  */
78725
78726 #ifdef __STDC__
78727 # include <limits.h>
78728 #else
78729 # include <assert.h>
78730 #endif
78731
78732 #undef $ac_func
78733
78734 /* Override any gcc2 internal prototype to avoid an error.  */
78735 #ifdef __cplusplus
78736 extern "C"
78737 {
78738 #endif
78739 /* We use char because int might match the return type of a gcc2
78740    builtin and then its argument prototype would still apply.  */
78741 char $ac_func ();
78742 /* The GNU C library defines this for functions which it implements
78743     to always fail with ENOSYS.  Some functions are actually named
78744     something starting with __ and the normal name is an alias.  */
78745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78746 choke me
78747 #else
78748 char (*f) () = $ac_func;
78749 #endif
78750 #ifdef __cplusplus
78751 }
78752 #endif
78753
78754 int
78755 main ()
78756 {
78757 return f != $ac_func;
78758   ;
78759   return 0;
78760 }
78761 _ACEOF
78762 rm -f conftest.$ac_objext conftest$ac_exeext
78763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78764   (eval $ac_link) 2>conftest.er1
78765   ac_status=$?
78766   grep -v '^ *+' conftest.er1 >conftest.err
78767   rm -f conftest.er1
78768   cat conftest.err >&5
78769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78770   (exit $ac_status); } &&
78771          { ac_try='test -z "$ac_c_werror_flag"
78772                          || test ! -s conftest.err'
78773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78774   (eval $ac_try) 2>&5
78775   ac_status=$?
78776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78777   (exit $ac_status); }; } &&
78778          { ac_try='test -s conftest$ac_exeext'
78779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78780   (eval $ac_try) 2>&5
78781   ac_status=$?
78782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78783   (exit $ac_status); }; }; then
78784   eval "$as_ac_var=yes"
78785 else
78786   echo "$as_me: failed program was:" >&5
78787 sed 's/^/| /' conftest.$ac_ext >&5
78788
78789 eval "$as_ac_var=no"
78790 fi
78791 rm -f conftest.err conftest.$ac_objext \
78792       conftest$ac_exeext conftest.$ac_ext
78793 fi
78794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78796 if test `eval echo '${'$as_ac_var'}'` = yes; then
78797   cat >>confdefs.h <<_ACEOF
78798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78799 _ACEOF
78800
78801 fi
78802 done
78803
78804   else
78805
78806   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78807 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78808   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78809     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78810   echo $ECHO_N "(cached) $ECHO_C" >&6
78811 else
78812
78813
78814
78815       ac_ext=cc
78816 ac_cpp='$CXXCPP $CPPFLAGS'
78817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78820
78821       cat >conftest.$ac_ext <<_ACEOF
78822 /* confdefs.h.  */
78823 _ACEOF
78824 cat confdefs.h >>conftest.$ac_ext
78825 cat >>conftest.$ac_ext <<_ACEOF
78826 /* end confdefs.h.  */
78827 #include <math.h>
78828 int
78829 main ()
78830 {
78831  _hypotl(0, 0);
78832   ;
78833   return 0;
78834 }
78835 _ACEOF
78836 rm -f conftest.$ac_objext
78837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78838   (eval $ac_compile) 2>conftest.er1
78839   ac_status=$?
78840   grep -v '^ *+' conftest.er1 >conftest.err
78841   rm -f conftest.er1
78842   cat conftest.err >&5
78843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78844   (exit $ac_status); } &&
78845          { ac_try='test -z "$ac_cxx_werror_flag"
78846                          || test ! -s conftest.err'
78847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78848   (eval $ac_try) 2>&5
78849   ac_status=$?
78850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78851   (exit $ac_status); }; } &&
78852          { ac_try='test -s conftest.$ac_objext'
78853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78854   (eval $ac_try) 2>&5
78855   ac_status=$?
78856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78857   (exit $ac_status); }; }; then
78858   glibcxx_cv_func__hypotl_use=yes
78859 else
78860   echo "$as_me: failed program was:" >&5
78861 sed 's/^/| /' conftest.$ac_ext >&5
78862
78863 glibcxx_cv_func__hypotl_use=no
78864 fi
78865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78866       ac_ext=c
78867 ac_cpp='$CPP $CPPFLAGS'
78868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78871
78872
78873 fi
78874
78875   fi
78876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78877 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78878
78879     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78880
78881 for ac_func in _hypotl
78882 do
78883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78884 echo "$as_me:$LINENO: checking for $ac_func" >&5
78885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78886 if eval "test \"\${$as_ac_var+set}\" = set"; then
78887   echo $ECHO_N "(cached) $ECHO_C" >&6
78888 else
78889   if test x$gcc_no_link = xyes; then
78890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78892    { (exit 1); exit 1; }; }
78893 fi
78894 cat >conftest.$ac_ext <<_ACEOF
78895 /* confdefs.h.  */
78896 _ACEOF
78897 cat confdefs.h >>conftest.$ac_ext
78898 cat >>conftest.$ac_ext <<_ACEOF
78899 /* end confdefs.h.  */
78900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78902 #define $ac_func innocuous_$ac_func
78903
78904 /* System header to define __stub macros and hopefully few prototypes,
78905     which can conflict with char $ac_func (); below.
78906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78907     <limits.h> exists even on freestanding compilers.  */
78908
78909 #ifdef __STDC__
78910 # include <limits.h>
78911 #else
78912 # include <assert.h>
78913 #endif
78914
78915 #undef $ac_func
78916
78917 /* Override any gcc2 internal prototype to avoid an error.  */
78918 #ifdef __cplusplus
78919 extern "C"
78920 {
78921 #endif
78922 /* We use char because int might match the return type of a gcc2
78923    builtin and then its argument prototype would still apply.  */
78924 char $ac_func ();
78925 /* The GNU C library defines this for functions which it implements
78926     to always fail with ENOSYS.  Some functions are actually named
78927     something starting with __ and the normal name is an alias.  */
78928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78929 choke me
78930 #else
78931 char (*f) () = $ac_func;
78932 #endif
78933 #ifdef __cplusplus
78934 }
78935 #endif
78936
78937 int
78938 main ()
78939 {
78940 return f != $ac_func;
78941   ;
78942   return 0;
78943 }
78944 _ACEOF
78945 rm -f conftest.$ac_objext conftest$ac_exeext
78946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78947   (eval $ac_link) 2>conftest.er1
78948   ac_status=$?
78949   grep -v '^ *+' conftest.er1 >conftest.err
78950   rm -f conftest.er1
78951   cat conftest.err >&5
78952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78953   (exit $ac_status); } &&
78954          { ac_try='test -z "$ac_c_werror_flag"
78955                          || test ! -s conftest.err'
78956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78957   (eval $ac_try) 2>&5
78958   ac_status=$?
78959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78960   (exit $ac_status); }; } &&
78961          { ac_try='test -s conftest$ac_exeext'
78962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78963   (eval $ac_try) 2>&5
78964   ac_status=$?
78965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78966   (exit $ac_status); }; }; then
78967   eval "$as_ac_var=yes"
78968 else
78969   echo "$as_me: failed program was:" >&5
78970 sed 's/^/| /' conftest.$ac_ext >&5
78971
78972 eval "$as_ac_var=no"
78973 fi
78974 rm -f conftest.err conftest.$ac_objext \
78975       conftest$ac_exeext conftest.$ac_ext
78976 fi
78977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78979 if test `eval echo '${'$as_ac_var'}'` = yes; then
78980   cat >>confdefs.h <<_ACEOF
78981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78982 _ACEOF
78983
78984 fi
78985 done
78986
78987     fi
78988   fi
78989
78990
78991
78992
78993
78994
78995   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78996 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78997   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78998     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78999   echo $ECHO_N "(cached) $ECHO_C" >&6
79000 else
79001
79002
79003
79004       ac_ext=cc
79005 ac_cpp='$CXXCPP $CPPFLAGS'
79006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79009
79010       cat >conftest.$ac_ext <<_ACEOF
79011 /* confdefs.h.  */
79012 _ACEOF
79013 cat confdefs.h >>conftest.$ac_ext
79014 cat >>conftest.$ac_ext <<_ACEOF
79015 /* end confdefs.h.  */
79016 #include <math.h>
79017 int
79018 main ()
79019 {
79020  ldexpl(0, 0);
79021   ;
79022   return 0;
79023 }
79024 _ACEOF
79025 rm -f conftest.$ac_objext
79026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79027   (eval $ac_compile) 2>conftest.er1
79028   ac_status=$?
79029   grep -v '^ *+' conftest.er1 >conftest.err
79030   rm -f conftest.er1
79031   cat conftest.err >&5
79032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033   (exit $ac_status); } &&
79034          { ac_try='test -z "$ac_cxx_werror_flag"
79035                          || test ! -s conftest.err'
79036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79037   (eval $ac_try) 2>&5
79038   ac_status=$?
79039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79040   (exit $ac_status); }; } &&
79041          { ac_try='test -s conftest.$ac_objext'
79042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79043   (eval $ac_try) 2>&5
79044   ac_status=$?
79045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79046   (exit $ac_status); }; }; then
79047   glibcxx_cv_func_ldexpl_use=yes
79048 else
79049   echo "$as_me: failed program was:" >&5
79050 sed 's/^/| /' conftest.$ac_ext >&5
79051
79052 glibcxx_cv_func_ldexpl_use=no
79053 fi
79054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79055       ac_ext=c
79056 ac_cpp='$CPP $CPPFLAGS'
79057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79060
79061
79062 fi
79063
79064   fi
79065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79066 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79067
79068   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79069
79070 for ac_func in ldexpl
79071 do
79072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79073 echo "$as_me:$LINENO: checking for $ac_func" >&5
79074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79075 if eval "test \"\${$as_ac_var+set}\" = set"; then
79076   echo $ECHO_N "(cached) $ECHO_C" >&6
79077 else
79078   if test x$gcc_no_link = xyes; then
79079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79081    { (exit 1); exit 1; }; }
79082 fi
79083 cat >conftest.$ac_ext <<_ACEOF
79084 /* confdefs.h.  */
79085 _ACEOF
79086 cat confdefs.h >>conftest.$ac_ext
79087 cat >>conftest.$ac_ext <<_ACEOF
79088 /* end confdefs.h.  */
79089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79091 #define $ac_func innocuous_$ac_func
79092
79093 /* System header to define __stub macros and hopefully few prototypes,
79094     which can conflict with char $ac_func (); below.
79095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79096     <limits.h> exists even on freestanding compilers.  */
79097
79098 #ifdef __STDC__
79099 # include <limits.h>
79100 #else
79101 # include <assert.h>
79102 #endif
79103
79104 #undef $ac_func
79105
79106 /* Override any gcc2 internal prototype to avoid an error.  */
79107 #ifdef __cplusplus
79108 extern "C"
79109 {
79110 #endif
79111 /* We use char because int might match the return type of a gcc2
79112    builtin and then its argument prototype would still apply.  */
79113 char $ac_func ();
79114 /* The GNU C library defines this for functions which it implements
79115     to always fail with ENOSYS.  Some functions are actually named
79116     something starting with __ and the normal name is an alias.  */
79117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79118 choke me
79119 #else
79120 char (*f) () = $ac_func;
79121 #endif
79122 #ifdef __cplusplus
79123 }
79124 #endif
79125
79126 int
79127 main ()
79128 {
79129 return f != $ac_func;
79130   ;
79131   return 0;
79132 }
79133 _ACEOF
79134 rm -f conftest.$ac_objext conftest$ac_exeext
79135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79136   (eval $ac_link) 2>conftest.er1
79137   ac_status=$?
79138   grep -v '^ *+' conftest.er1 >conftest.err
79139   rm -f conftest.er1
79140   cat conftest.err >&5
79141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79142   (exit $ac_status); } &&
79143          { ac_try='test -z "$ac_c_werror_flag"
79144                          || test ! -s conftest.err'
79145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79146   (eval $ac_try) 2>&5
79147   ac_status=$?
79148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79149   (exit $ac_status); }; } &&
79150          { ac_try='test -s conftest$ac_exeext'
79151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79152   (eval $ac_try) 2>&5
79153   ac_status=$?
79154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79155   (exit $ac_status); }; }; then
79156   eval "$as_ac_var=yes"
79157 else
79158   echo "$as_me: failed program was:" >&5
79159 sed 's/^/| /' conftest.$ac_ext >&5
79160
79161 eval "$as_ac_var=no"
79162 fi
79163 rm -f conftest.err conftest.$ac_objext \
79164       conftest$ac_exeext conftest.$ac_ext
79165 fi
79166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79168 if test `eval echo '${'$as_ac_var'}'` = yes; then
79169   cat >>confdefs.h <<_ACEOF
79170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79171 _ACEOF
79172
79173 fi
79174 done
79175
79176   else
79177
79178   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79179 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79180   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79181     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79182   echo $ECHO_N "(cached) $ECHO_C" >&6
79183 else
79184
79185
79186
79187       ac_ext=cc
79188 ac_cpp='$CXXCPP $CPPFLAGS'
79189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79192
79193       cat >conftest.$ac_ext <<_ACEOF
79194 /* confdefs.h.  */
79195 _ACEOF
79196 cat confdefs.h >>conftest.$ac_ext
79197 cat >>conftest.$ac_ext <<_ACEOF
79198 /* end confdefs.h.  */
79199 #include <math.h>
79200 int
79201 main ()
79202 {
79203  _ldexpl(0, 0);
79204   ;
79205   return 0;
79206 }
79207 _ACEOF
79208 rm -f conftest.$ac_objext
79209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79210   (eval $ac_compile) 2>conftest.er1
79211   ac_status=$?
79212   grep -v '^ *+' conftest.er1 >conftest.err
79213   rm -f conftest.er1
79214   cat conftest.err >&5
79215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79216   (exit $ac_status); } &&
79217          { ac_try='test -z "$ac_cxx_werror_flag"
79218                          || test ! -s conftest.err'
79219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79220   (eval $ac_try) 2>&5
79221   ac_status=$?
79222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79223   (exit $ac_status); }; } &&
79224          { ac_try='test -s conftest.$ac_objext'
79225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79226   (eval $ac_try) 2>&5
79227   ac_status=$?
79228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79229   (exit $ac_status); }; }; then
79230   glibcxx_cv_func__ldexpl_use=yes
79231 else
79232   echo "$as_me: failed program was:" >&5
79233 sed 's/^/| /' conftest.$ac_ext >&5
79234
79235 glibcxx_cv_func__ldexpl_use=no
79236 fi
79237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79238       ac_ext=c
79239 ac_cpp='$CPP $CPPFLAGS'
79240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79243
79244
79245 fi
79246
79247   fi
79248   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79249 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79250
79251     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79252
79253 for ac_func in _ldexpl
79254 do
79255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79256 echo "$as_me:$LINENO: checking for $ac_func" >&5
79257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79258 if eval "test \"\${$as_ac_var+set}\" = set"; then
79259   echo $ECHO_N "(cached) $ECHO_C" >&6
79260 else
79261   if test x$gcc_no_link = xyes; then
79262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79264    { (exit 1); exit 1; }; }
79265 fi
79266 cat >conftest.$ac_ext <<_ACEOF
79267 /* confdefs.h.  */
79268 _ACEOF
79269 cat confdefs.h >>conftest.$ac_ext
79270 cat >>conftest.$ac_ext <<_ACEOF
79271 /* end confdefs.h.  */
79272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79274 #define $ac_func innocuous_$ac_func
79275
79276 /* System header to define __stub macros and hopefully few prototypes,
79277     which can conflict with char $ac_func (); below.
79278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79279     <limits.h> exists even on freestanding compilers.  */
79280
79281 #ifdef __STDC__
79282 # include <limits.h>
79283 #else
79284 # include <assert.h>
79285 #endif
79286
79287 #undef $ac_func
79288
79289 /* Override any gcc2 internal prototype to avoid an error.  */
79290 #ifdef __cplusplus
79291 extern "C"
79292 {
79293 #endif
79294 /* We use char because int might match the return type of a gcc2
79295    builtin and then its argument prototype would still apply.  */
79296 char $ac_func ();
79297 /* The GNU C library defines this for functions which it implements
79298     to always fail with ENOSYS.  Some functions are actually named
79299     something starting with __ and the normal name is an alias.  */
79300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79301 choke me
79302 #else
79303 char (*f) () = $ac_func;
79304 #endif
79305 #ifdef __cplusplus
79306 }
79307 #endif
79308
79309 int
79310 main ()
79311 {
79312 return f != $ac_func;
79313   ;
79314   return 0;
79315 }
79316 _ACEOF
79317 rm -f conftest.$ac_objext conftest$ac_exeext
79318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79319   (eval $ac_link) 2>conftest.er1
79320   ac_status=$?
79321   grep -v '^ *+' conftest.er1 >conftest.err
79322   rm -f conftest.er1
79323   cat conftest.err >&5
79324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79325   (exit $ac_status); } &&
79326          { ac_try='test -z "$ac_c_werror_flag"
79327                          || test ! -s conftest.err'
79328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79329   (eval $ac_try) 2>&5
79330   ac_status=$?
79331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79332   (exit $ac_status); }; } &&
79333          { ac_try='test -s conftest$ac_exeext'
79334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79335   (eval $ac_try) 2>&5
79336   ac_status=$?
79337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338   (exit $ac_status); }; }; then
79339   eval "$as_ac_var=yes"
79340 else
79341   echo "$as_me: failed program was:" >&5
79342 sed 's/^/| /' conftest.$ac_ext >&5
79343
79344 eval "$as_ac_var=no"
79345 fi
79346 rm -f conftest.err conftest.$ac_objext \
79347       conftest$ac_exeext conftest.$ac_ext
79348 fi
79349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79351 if test `eval echo '${'$as_ac_var'}'` = yes; then
79352   cat >>confdefs.h <<_ACEOF
79353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79354 _ACEOF
79355
79356 fi
79357 done
79358
79359     fi
79360   fi
79361
79362
79363
79364
79365
79366
79367   echo "$as_me:$LINENO: checking for logl declaration" >&5
79368 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
79369   if test x${glibcxx_cv_func_logl_use+set} != xset; then
79370     if test "${glibcxx_cv_func_logl_use+set}" = set; then
79371   echo $ECHO_N "(cached) $ECHO_C" >&6
79372 else
79373
79374
79375
79376       ac_ext=cc
79377 ac_cpp='$CXXCPP $CPPFLAGS'
79378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79381
79382       cat >conftest.$ac_ext <<_ACEOF
79383 /* confdefs.h.  */
79384 _ACEOF
79385 cat confdefs.h >>conftest.$ac_ext
79386 cat >>conftest.$ac_ext <<_ACEOF
79387 /* end confdefs.h.  */
79388 #include <math.h>
79389                       #ifdef HAVE_IEEEFP_H
79390                       #include <ieeefp.h>
79391                       #endif
79392
79393 int
79394 main ()
79395 {
79396  logl(0);
79397   ;
79398   return 0;
79399 }
79400 _ACEOF
79401 rm -f conftest.$ac_objext
79402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79403   (eval $ac_compile) 2>conftest.er1
79404   ac_status=$?
79405   grep -v '^ *+' conftest.er1 >conftest.err
79406   rm -f conftest.er1
79407   cat conftest.err >&5
79408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79409   (exit $ac_status); } &&
79410          { ac_try='test -z "$ac_cxx_werror_flag"
79411                          || test ! -s conftest.err'
79412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79413   (eval $ac_try) 2>&5
79414   ac_status=$?
79415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79416   (exit $ac_status); }; } &&
79417          { ac_try='test -s conftest.$ac_objext'
79418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79419   (eval $ac_try) 2>&5
79420   ac_status=$?
79421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79422   (exit $ac_status); }; }; then
79423   glibcxx_cv_func_logl_use=yes
79424 else
79425   echo "$as_me: failed program was:" >&5
79426 sed 's/^/| /' conftest.$ac_ext >&5
79427
79428 glibcxx_cv_func_logl_use=no
79429 fi
79430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79431       ac_ext=c
79432 ac_cpp='$CPP $CPPFLAGS'
79433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79436
79437
79438 fi
79439
79440   fi
79441   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79442 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79443
79444   if test x$glibcxx_cv_func_logl_use = x"yes"; then
79445
79446 for ac_func in logl
79447 do
79448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79449 echo "$as_me:$LINENO: checking for $ac_func" >&5
79450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79451 if eval "test \"\${$as_ac_var+set}\" = set"; then
79452   echo $ECHO_N "(cached) $ECHO_C" >&6
79453 else
79454   if test x$gcc_no_link = xyes; then
79455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79457    { (exit 1); exit 1; }; }
79458 fi
79459 cat >conftest.$ac_ext <<_ACEOF
79460 /* confdefs.h.  */
79461 _ACEOF
79462 cat confdefs.h >>conftest.$ac_ext
79463 cat >>conftest.$ac_ext <<_ACEOF
79464 /* end confdefs.h.  */
79465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79467 #define $ac_func innocuous_$ac_func
79468
79469 /* System header to define __stub macros and hopefully few prototypes,
79470     which can conflict with char $ac_func (); below.
79471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79472     <limits.h> exists even on freestanding compilers.  */
79473
79474 #ifdef __STDC__
79475 # include <limits.h>
79476 #else
79477 # include <assert.h>
79478 #endif
79479
79480 #undef $ac_func
79481
79482 /* Override any gcc2 internal prototype to avoid an error.  */
79483 #ifdef __cplusplus
79484 extern "C"
79485 {
79486 #endif
79487 /* We use char because int might match the return type of a gcc2
79488    builtin and then its argument prototype would still apply.  */
79489 char $ac_func ();
79490 /* The GNU C library defines this for functions which it implements
79491     to always fail with ENOSYS.  Some functions are actually named
79492     something starting with __ and the normal name is an alias.  */
79493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79494 choke me
79495 #else
79496 char (*f) () = $ac_func;
79497 #endif
79498 #ifdef __cplusplus
79499 }
79500 #endif
79501
79502 int
79503 main ()
79504 {
79505 return f != $ac_func;
79506   ;
79507   return 0;
79508 }
79509 _ACEOF
79510 rm -f conftest.$ac_objext conftest$ac_exeext
79511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79512   (eval $ac_link) 2>conftest.er1
79513   ac_status=$?
79514   grep -v '^ *+' conftest.er1 >conftest.err
79515   rm -f conftest.er1
79516   cat conftest.err >&5
79517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79518   (exit $ac_status); } &&
79519          { ac_try='test -z "$ac_c_werror_flag"
79520                          || test ! -s conftest.err'
79521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79522   (eval $ac_try) 2>&5
79523   ac_status=$?
79524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79525   (exit $ac_status); }; } &&
79526          { ac_try='test -s conftest$ac_exeext'
79527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79528   (eval $ac_try) 2>&5
79529   ac_status=$?
79530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79531   (exit $ac_status); }; }; then
79532   eval "$as_ac_var=yes"
79533 else
79534   echo "$as_me: failed program was:" >&5
79535 sed 's/^/| /' conftest.$ac_ext >&5
79536
79537 eval "$as_ac_var=no"
79538 fi
79539 rm -f conftest.err conftest.$ac_objext \
79540       conftest$ac_exeext conftest.$ac_ext
79541 fi
79542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79544 if test `eval echo '${'$as_ac_var'}'` = yes; then
79545   cat >>confdefs.h <<_ACEOF
79546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79547 _ACEOF
79548
79549 fi
79550 done
79551
79552   else
79553
79554   echo "$as_me:$LINENO: checking for _logl declaration" >&5
79555 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79556   if test x${glibcxx_cv_func__logl_use+set} != xset; then
79557     if test "${glibcxx_cv_func__logl_use+set}" = set; then
79558   echo $ECHO_N "(cached) $ECHO_C" >&6
79559 else
79560
79561
79562
79563       ac_ext=cc
79564 ac_cpp='$CXXCPP $CPPFLAGS'
79565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79568
79569       cat >conftest.$ac_ext <<_ACEOF
79570 /* confdefs.h.  */
79571 _ACEOF
79572 cat confdefs.h >>conftest.$ac_ext
79573 cat >>conftest.$ac_ext <<_ACEOF
79574 /* end confdefs.h.  */
79575 #include <math.h>
79576                       #ifdef HAVE_IEEEFP_H
79577                       #include <ieeefp.h>
79578                       #endif
79579
79580 int
79581 main ()
79582 {
79583  _logl(0);
79584   ;
79585   return 0;
79586 }
79587 _ACEOF
79588 rm -f conftest.$ac_objext
79589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79590   (eval $ac_compile) 2>conftest.er1
79591   ac_status=$?
79592   grep -v '^ *+' conftest.er1 >conftest.err
79593   rm -f conftest.er1
79594   cat conftest.err >&5
79595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79596   (exit $ac_status); } &&
79597          { ac_try='test -z "$ac_cxx_werror_flag"
79598                          || test ! -s conftest.err'
79599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79600   (eval $ac_try) 2>&5
79601   ac_status=$?
79602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79603   (exit $ac_status); }; } &&
79604          { ac_try='test -s conftest.$ac_objext'
79605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79606   (eval $ac_try) 2>&5
79607   ac_status=$?
79608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79609   (exit $ac_status); }; }; then
79610   glibcxx_cv_func__logl_use=yes
79611 else
79612   echo "$as_me: failed program was:" >&5
79613 sed 's/^/| /' conftest.$ac_ext >&5
79614
79615 glibcxx_cv_func__logl_use=no
79616 fi
79617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79618       ac_ext=c
79619 ac_cpp='$CPP $CPPFLAGS'
79620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79623
79624
79625 fi
79626
79627   fi
79628   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79629 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79630
79631     if test x$glibcxx_cv_func__logl_use = x"yes"; then
79632
79633 for ac_func in _logl
79634 do
79635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79636 echo "$as_me:$LINENO: checking for $ac_func" >&5
79637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79638 if eval "test \"\${$as_ac_var+set}\" = set"; then
79639   echo $ECHO_N "(cached) $ECHO_C" >&6
79640 else
79641   if test x$gcc_no_link = xyes; then
79642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79644    { (exit 1); exit 1; }; }
79645 fi
79646 cat >conftest.$ac_ext <<_ACEOF
79647 /* confdefs.h.  */
79648 _ACEOF
79649 cat confdefs.h >>conftest.$ac_ext
79650 cat >>conftest.$ac_ext <<_ACEOF
79651 /* end confdefs.h.  */
79652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79654 #define $ac_func innocuous_$ac_func
79655
79656 /* System header to define __stub macros and hopefully few prototypes,
79657     which can conflict with char $ac_func (); below.
79658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79659     <limits.h> exists even on freestanding compilers.  */
79660
79661 #ifdef __STDC__
79662 # include <limits.h>
79663 #else
79664 # include <assert.h>
79665 #endif
79666
79667 #undef $ac_func
79668
79669 /* Override any gcc2 internal prototype to avoid an error.  */
79670 #ifdef __cplusplus
79671 extern "C"
79672 {
79673 #endif
79674 /* We use char because int might match the return type of a gcc2
79675    builtin and then its argument prototype would still apply.  */
79676 char $ac_func ();
79677 /* The GNU C library defines this for functions which it implements
79678     to always fail with ENOSYS.  Some functions are actually named
79679     something starting with __ and the normal name is an alias.  */
79680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79681 choke me
79682 #else
79683 char (*f) () = $ac_func;
79684 #endif
79685 #ifdef __cplusplus
79686 }
79687 #endif
79688
79689 int
79690 main ()
79691 {
79692 return f != $ac_func;
79693   ;
79694   return 0;
79695 }
79696 _ACEOF
79697 rm -f conftest.$ac_objext conftest$ac_exeext
79698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79699   (eval $ac_link) 2>conftest.er1
79700   ac_status=$?
79701   grep -v '^ *+' conftest.er1 >conftest.err
79702   rm -f conftest.er1
79703   cat conftest.err >&5
79704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79705   (exit $ac_status); } &&
79706          { ac_try='test -z "$ac_c_werror_flag"
79707                          || test ! -s conftest.err'
79708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79709   (eval $ac_try) 2>&5
79710   ac_status=$?
79711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79712   (exit $ac_status); }; } &&
79713          { ac_try='test -s conftest$ac_exeext'
79714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79715   (eval $ac_try) 2>&5
79716   ac_status=$?
79717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79718   (exit $ac_status); }; }; then
79719   eval "$as_ac_var=yes"
79720 else
79721   echo "$as_me: failed program was:" >&5
79722 sed 's/^/| /' conftest.$ac_ext >&5
79723
79724 eval "$as_ac_var=no"
79725 fi
79726 rm -f conftest.err conftest.$ac_objext \
79727       conftest$ac_exeext conftest.$ac_ext
79728 fi
79729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79731 if test `eval echo '${'$as_ac_var'}'` = yes; then
79732   cat >>confdefs.h <<_ACEOF
79733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79734 _ACEOF
79735
79736 fi
79737 done
79738
79739     fi
79740   fi
79741
79742
79743
79744
79745
79746
79747   echo "$as_me:$LINENO: checking for log10l declaration" >&5
79748 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79749   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79750     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79751   echo $ECHO_N "(cached) $ECHO_C" >&6
79752 else
79753
79754
79755
79756       ac_ext=cc
79757 ac_cpp='$CXXCPP $CPPFLAGS'
79758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79761
79762       cat >conftest.$ac_ext <<_ACEOF
79763 /* confdefs.h.  */
79764 _ACEOF
79765 cat confdefs.h >>conftest.$ac_ext
79766 cat >>conftest.$ac_ext <<_ACEOF
79767 /* end confdefs.h.  */
79768 #include <math.h>
79769                       #ifdef HAVE_IEEEFP_H
79770                       #include <ieeefp.h>
79771                       #endif
79772
79773 int
79774 main ()
79775 {
79776  log10l(0);
79777   ;
79778   return 0;
79779 }
79780 _ACEOF
79781 rm -f conftest.$ac_objext
79782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79783   (eval $ac_compile) 2>conftest.er1
79784   ac_status=$?
79785   grep -v '^ *+' conftest.er1 >conftest.err
79786   rm -f conftest.er1
79787   cat conftest.err >&5
79788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79789   (exit $ac_status); } &&
79790          { ac_try='test -z "$ac_cxx_werror_flag"
79791                          || test ! -s conftest.err'
79792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79793   (eval $ac_try) 2>&5
79794   ac_status=$?
79795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79796   (exit $ac_status); }; } &&
79797          { ac_try='test -s conftest.$ac_objext'
79798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79799   (eval $ac_try) 2>&5
79800   ac_status=$?
79801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79802   (exit $ac_status); }; }; then
79803   glibcxx_cv_func_log10l_use=yes
79804 else
79805   echo "$as_me: failed program was:" >&5
79806 sed 's/^/| /' conftest.$ac_ext >&5
79807
79808 glibcxx_cv_func_log10l_use=no
79809 fi
79810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79811       ac_ext=c
79812 ac_cpp='$CPP $CPPFLAGS'
79813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79816
79817
79818 fi
79819
79820   fi
79821   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79822 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79823
79824   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79825
79826 for ac_func in log10l
79827 do
79828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79829 echo "$as_me:$LINENO: checking for $ac_func" >&5
79830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79831 if eval "test \"\${$as_ac_var+set}\" = set"; then
79832   echo $ECHO_N "(cached) $ECHO_C" >&6
79833 else
79834   if test x$gcc_no_link = xyes; then
79835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79837    { (exit 1); exit 1; }; }
79838 fi
79839 cat >conftest.$ac_ext <<_ACEOF
79840 /* confdefs.h.  */
79841 _ACEOF
79842 cat confdefs.h >>conftest.$ac_ext
79843 cat >>conftest.$ac_ext <<_ACEOF
79844 /* end confdefs.h.  */
79845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79847 #define $ac_func innocuous_$ac_func
79848
79849 /* System header to define __stub macros and hopefully few prototypes,
79850     which can conflict with char $ac_func (); below.
79851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79852     <limits.h> exists even on freestanding compilers.  */
79853
79854 #ifdef __STDC__
79855 # include <limits.h>
79856 #else
79857 # include <assert.h>
79858 #endif
79859
79860 #undef $ac_func
79861
79862 /* Override any gcc2 internal prototype to avoid an error.  */
79863 #ifdef __cplusplus
79864 extern "C"
79865 {
79866 #endif
79867 /* We use char because int might match the return type of a gcc2
79868    builtin and then its argument prototype would still apply.  */
79869 char $ac_func ();
79870 /* The GNU C library defines this for functions which it implements
79871     to always fail with ENOSYS.  Some functions are actually named
79872     something starting with __ and the normal name is an alias.  */
79873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79874 choke me
79875 #else
79876 char (*f) () = $ac_func;
79877 #endif
79878 #ifdef __cplusplus
79879 }
79880 #endif
79881
79882 int
79883 main ()
79884 {
79885 return f != $ac_func;
79886   ;
79887   return 0;
79888 }
79889 _ACEOF
79890 rm -f conftest.$ac_objext conftest$ac_exeext
79891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79892   (eval $ac_link) 2>conftest.er1
79893   ac_status=$?
79894   grep -v '^ *+' conftest.er1 >conftest.err
79895   rm -f conftest.er1
79896   cat conftest.err >&5
79897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79898   (exit $ac_status); } &&
79899          { ac_try='test -z "$ac_c_werror_flag"
79900                          || test ! -s conftest.err'
79901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79902   (eval $ac_try) 2>&5
79903   ac_status=$?
79904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79905   (exit $ac_status); }; } &&
79906          { ac_try='test -s conftest$ac_exeext'
79907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79908   (eval $ac_try) 2>&5
79909   ac_status=$?
79910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911   (exit $ac_status); }; }; then
79912   eval "$as_ac_var=yes"
79913 else
79914   echo "$as_me: failed program was:" >&5
79915 sed 's/^/| /' conftest.$ac_ext >&5
79916
79917 eval "$as_ac_var=no"
79918 fi
79919 rm -f conftest.err conftest.$ac_objext \
79920       conftest$ac_exeext conftest.$ac_ext
79921 fi
79922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79924 if test `eval echo '${'$as_ac_var'}'` = yes; then
79925   cat >>confdefs.h <<_ACEOF
79926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79927 _ACEOF
79928
79929 fi
79930 done
79931
79932   else
79933
79934   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79935 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79936   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79937     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79938   echo $ECHO_N "(cached) $ECHO_C" >&6
79939 else
79940
79941
79942
79943       ac_ext=cc
79944 ac_cpp='$CXXCPP $CPPFLAGS'
79945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79948
79949       cat >conftest.$ac_ext <<_ACEOF
79950 /* confdefs.h.  */
79951 _ACEOF
79952 cat confdefs.h >>conftest.$ac_ext
79953 cat >>conftest.$ac_ext <<_ACEOF
79954 /* end confdefs.h.  */
79955 #include <math.h>
79956                       #ifdef HAVE_IEEEFP_H
79957                       #include <ieeefp.h>
79958                       #endif
79959
79960 int
79961 main ()
79962 {
79963  _log10l(0);
79964   ;
79965   return 0;
79966 }
79967 _ACEOF
79968 rm -f conftest.$ac_objext
79969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79970   (eval $ac_compile) 2>conftest.er1
79971   ac_status=$?
79972   grep -v '^ *+' conftest.er1 >conftest.err
79973   rm -f conftest.er1
79974   cat conftest.err >&5
79975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79976   (exit $ac_status); } &&
79977          { ac_try='test -z "$ac_cxx_werror_flag"
79978                          || test ! -s conftest.err'
79979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79980   (eval $ac_try) 2>&5
79981   ac_status=$?
79982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79983   (exit $ac_status); }; } &&
79984          { ac_try='test -s conftest.$ac_objext'
79985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79986   (eval $ac_try) 2>&5
79987   ac_status=$?
79988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989   (exit $ac_status); }; }; then
79990   glibcxx_cv_func__log10l_use=yes
79991 else
79992   echo "$as_me: failed program was:" >&5
79993 sed 's/^/| /' conftest.$ac_ext >&5
79994
79995 glibcxx_cv_func__log10l_use=no
79996 fi
79997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79998       ac_ext=c
79999 ac_cpp='$CPP $CPPFLAGS'
80000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80003
80004
80005 fi
80006
80007   fi
80008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80009 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80010
80011     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80012
80013 for ac_func in _log10l
80014 do
80015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80016 echo "$as_me:$LINENO: checking for $ac_func" >&5
80017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80018 if eval "test \"\${$as_ac_var+set}\" = set"; then
80019   echo $ECHO_N "(cached) $ECHO_C" >&6
80020 else
80021   if test x$gcc_no_link = xyes; then
80022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80024    { (exit 1); exit 1; }; }
80025 fi
80026 cat >conftest.$ac_ext <<_ACEOF
80027 /* confdefs.h.  */
80028 _ACEOF
80029 cat confdefs.h >>conftest.$ac_ext
80030 cat >>conftest.$ac_ext <<_ACEOF
80031 /* end confdefs.h.  */
80032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80034 #define $ac_func innocuous_$ac_func
80035
80036 /* System header to define __stub macros and hopefully few prototypes,
80037     which can conflict with char $ac_func (); below.
80038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80039     <limits.h> exists even on freestanding compilers.  */
80040
80041 #ifdef __STDC__
80042 # include <limits.h>
80043 #else
80044 # include <assert.h>
80045 #endif
80046
80047 #undef $ac_func
80048
80049 /* Override any gcc2 internal prototype to avoid an error.  */
80050 #ifdef __cplusplus
80051 extern "C"
80052 {
80053 #endif
80054 /* We use char because int might match the return type of a gcc2
80055    builtin and then its argument prototype would still apply.  */
80056 char $ac_func ();
80057 /* The GNU C library defines this for functions which it implements
80058     to always fail with ENOSYS.  Some functions are actually named
80059     something starting with __ and the normal name is an alias.  */
80060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80061 choke me
80062 #else
80063 char (*f) () = $ac_func;
80064 #endif
80065 #ifdef __cplusplus
80066 }
80067 #endif
80068
80069 int
80070 main ()
80071 {
80072 return f != $ac_func;
80073   ;
80074   return 0;
80075 }
80076 _ACEOF
80077 rm -f conftest.$ac_objext conftest$ac_exeext
80078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80079   (eval $ac_link) 2>conftest.er1
80080   ac_status=$?
80081   grep -v '^ *+' conftest.er1 >conftest.err
80082   rm -f conftest.er1
80083   cat conftest.err >&5
80084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80085   (exit $ac_status); } &&
80086          { ac_try='test -z "$ac_c_werror_flag"
80087                          || test ! -s conftest.err'
80088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80089   (eval $ac_try) 2>&5
80090   ac_status=$?
80091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80092   (exit $ac_status); }; } &&
80093          { ac_try='test -s conftest$ac_exeext'
80094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80095   (eval $ac_try) 2>&5
80096   ac_status=$?
80097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80098   (exit $ac_status); }; }; then
80099   eval "$as_ac_var=yes"
80100 else
80101   echo "$as_me: failed program was:" >&5
80102 sed 's/^/| /' conftest.$ac_ext >&5
80103
80104 eval "$as_ac_var=no"
80105 fi
80106 rm -f conftest.err conftest.$ac_objext \
80107       conftest$ac_exeext conftest.$ac_ext
80108 fi
80109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80111 if test `eval echo '${'$as_ac_var'}'` = yes; then
80112   cat >>confdefs.h <<_ACEOF
80113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80114 _ACEOF
80115
80116 fi
80117 done
80118
80119     fi
80120   fi
80121
80122
80123
80124
80125
80126
80127   echo "$as_me:$LINENO: checking for modfl declaration" >&5
80128 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80129   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80130     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80131   echo $ECHO_N "(cached) $ECHO_C" >&6
80132 else
80133
80134
80135
80136       ac_ext=cc
80137 ac_cpp='$CXXCPP $CPPFLAGS'
80138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80141
80142       cat >conftest.$ac_ext <<_ACEOF
80143 /* confdefs.h.  */
80144 _ACEOF
80145 cat confdefs.h >>conftest.$ac_ext
80146 cat >>conftest.$ac_ext <<_ACEOF
80147 /* end confdefs.h.  */
80148 #include <math.h>
80149 int
80150 main ()
80151 {
80152  modfl(0, 0);
80153   ;
80154   return 0;
80155 }
80156 _ACEOF
80157 rm -f conftest.$ac_objext
80158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80159   (eval $ac_compile) 2>conftest.er1
80160   ac_status=$?
80161   grep -v '^ *+' conftest.er1 >conftest.err
80162   rm -f conftest.er1
80163   cat conftest.err >&5
80164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80165   (exit $ac_status); } &&
80166          { ac_try='test -z "$ac_cxx_werror_flag"
80167                          || test ! -s conftest.err'
80168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80169   (eval $ac_try) 2>&5
80170   ac_status=$?
80171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80172   (exit $ac_status); }; } &&
80173          { ac_try='test -s conftest.$ac_objext'
80174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80175   (eval $ac_try) 2>&5
80176   ac_status=$?
80177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80178   (exit $ac_status); }; }; then
80179   glibcxx_cv_func_modfl_use=yes
80180 else
80181   echo "$as_me: failed program was:" >&5
80182 sed 's/^/| /' conftest.$ac_ext >&5
80183
80184 glibcxx_cv_func_modfl_use=no
80185 fi
80186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80187       ac_ext=c
80188 ac_cpp='$CPP $CPPFLAGS'
80189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80192
80193
80194 fi
80195
80196   fi
80197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80198 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80199
80200   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80201
80202 for ac_func in modfl
80203 do
80204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80205 echo "$as_me:$LINENO: checking for $ac_func" >&5
80206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80207 if eval "test \"\${$as_ac_var+set}\" = set"; then
80208   echo $ECHO_N "(cached) $ECHO_C" >&6
80209 else
80210   if test x$gcc_no_link = xyes; then
80211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80213    { (exit 1); exit 1; }; }
80214 fi
80215 cat >conftest.$ac_ext <<_ACEOF
80216 /* confdefs.h.  */
80217 _ACEOF
80218 cat confdefs.h >>conftest.$ac_ext
80219 cat >>conftest.$ac_ext <<_ACEOF
80220 /* end confdefs.h.  */
80221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80223 #define $ac_func innocuous_$ac_func
80224
80225 /* System header to define __stub macros and hopefully few prototypes,
80226     which can conflict with char $ac_func (); below.
80227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80228     <limits.h> exists even on freestanding compilers.  */
80229
80230 #ifdef __STDC__
80231 # include <limits.h>
80232 #else
80233 # include <assert.h>
80234 #endif
80235
80236 #undef $ac_func
80237
80238 /* Override any gcc2 internal prototype to avoid an error.  */
80239 #ifdef __cplusplus
80240 extern "C"
80241 {
80242 #endif
80243 /* We use char because int might match the return type of a gcc2
80244    builtin and then its argument prototype would still apply.  */
80245 char $ac_func ();
80246 /* The GNU C library defines this for functions which it implements
80247     to always fail with ENOSYS.  Some functions are actually named
80248     something starting with __ and the normal name is an alias.  */
80249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80250 choke me
80251 #else
80252 char (*f) () = $ac_func;
80253 #endif
80254 #ifdef __cplusplus
80255 }
80256 #endif
80257
80258 int
80259 main ()
80260 {
80261 return f != $ac_func;
80262   ;
80263   return 0;
80264 }
80265 _ACEOF
80266 rm -f conftest.$ac_objext conftest$ac_exeext
80267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80268   (eval $ac_link) 2>conftest.er1
80269   ac_status=$?
80270   grep -v '^ *+' conftest.er1 >conftest.err
80271   rm -f conftest.er1
80272   cat conftest.err >&5
80273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80274   (exit $ac_status); } &&
80275          { ac_try='test -z "$ac_c_werror_flag"
80276                          || test ! -s conftest.err'
80277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80278   (eval $ac_try) 2>&5
80279   ac_status=$?
80280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80281   (exit $ac_status); }; } &&
80282          { ac_try='test -s conftest$ac_exeext'
80283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80284   (eval $ac_try) 2>&5
80285   ac_status=$?
80286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80287   (exit $ac_status); }; }; then
80288   eval "$as_ac_var=yes"
80289 else
80290   echo "$as_me: failed program was:" >&5
80291 sed 's/^/| /' conftest.$ac_ext >&5
80292
80293 eval "$as_ac_var=no"
80294 fi
80295 rm -f conftest.err conftest.$ac_objext \
80296       conftest$ac_exeext conftest.$ac_ext
80297 fi
80298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80300 if test `eval echo '${'$as_ac_var'}'` = yes; then
80301   cat >>confdefs.h <<_ACEOF
80302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80303 _ACEOF
80304
80305 fi
80306 done
80307
80308   else
80309
80310   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80311 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80312   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80313     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80314   echo $ECHO_N "(cached) $ECHO_C" >&6
80315 else
80316
80317
80318
80319       ac_ext=cc
80320 ac_cpp='$CXXCPP $CPPFLAGS'
80321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80324
80325       cat >conftest.$ac_ext <<_ACEOF
80326 /* confdefs.h.  */
80327 _ACEOF
80328 cat confdefs.h >>conftest.$ac_ext
80329 cat >>conftest.$ac_ext <<_ACEOF
80330 /* end confdefs.h.  */
80331 #include <math.h>
80332 int
80333 main ()
80334 {
80335  _modfl(0, 0);
80336   ;
80337   return 0;
80338 }
80339 _ACEOF
80340 rm -f conftest.$ac_objext
80341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80342   (eval $ac_compile) 2>conftest.er1
80343   ac_status=$?
80344   grep -v '^ *+' conftest.er1 >conftest.err
80345   rm -f conftest.er1
80346   cat conftest.err >&5
80347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80348   (exit $ac_status); } &&
80349          { ac_try='test -z "$ac_cxx_werror_flag"
80350                          || test ! -s conftest.err'
80351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80352   (eval $ac_try) 2>&5
80353   ac_status=$?
80354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80355   (exit $ac_status); }; } &&
80356          { ac_try='test -s conftest.$ac_objext'
80357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80358   (eval $ac_try) 2>&5
80359   ac_status=$?
80360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80361   (exit $ac_status); }; }; then
80362   glibcxx_cv_func__modfl_use=yes
80363 else
80364   echo "$as_me: failed program was:" >&5
80365 sed 's/^/| /' conftest.$ac_ext >&5
80366
80367 glibcxx_cv_func__modfl_use=no
80368 fi
80369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80370       ac_ext=c
80371 ac_cpp='$CPP $CPPFLAGS'
80372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80375
80376
80377 fi
80378
80379   fi
80380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
80381 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
80382
80383     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
80384
80385 for ac_func in _modfl
80386 do
80387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80388 echo "$as_me:$LINENO: checking for $ac_func" >&5
80389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80390 if eval "test \"\${$as_ac_var+set}\" = set"; then
80391   echo $ECHO_N "(cached) $ECHO_C" >&6
80392 else
80393   if test x$gcc_no_link = xyes; then
80394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80396    { (exit 1); exit 1; }; }
80397 fi
80398 cat >conftest.$ac_ext <<_ACEOF
80399 /* confdefs.h.  */
80400 _ACEOF
80401 cat confdefs.h >>conftest.$ac_ext
80402 cat >>conftest.$ac_ext <<_ACEOF
80403 /* end confdefs.h.  */
80404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80406 #define $ac_func innocuous_$ac_func
80407
80408 /* System header to define __stub macros and hopefully few prototypes,
80409     which can conflict with char $ac_func (); below.
80410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80411     <limits.h> exists even on freestanding compilers.  */
80412
80413 #ifdef __STDC__
80414 # include <limits.h>
80415 #else
80416 # include <assert.h>
80417 #endif
80418
80419 #undef $ac_func
80420
80421 /* Override any gcc2 internal prototype to avoid an error.  */
80422 #ifdef __cplusplus
80423 extern "C"
80424 {
80425 #endif
80426 /* We use char because int might match the return type of a gcc2
80427    builtin and then its argument prototype would still apply.  */
80428 char $ac_func ();
80429 /* The GNU C library defines this for functions which it implements
80430     to always fail with ENOSYS.  Some functions are actually named
80431     something starting with __ and the normal name is an alias.  */
80432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80433 choke me
80434 #else
80435 char (*f) () = $ac_func;
80436 #endif
80437 #ifdef __cplusplus
80438 }
80439 #endif
80440
80441 int
80442 main ()
80443 {
80444 return f != $ac_func;
80445   ;
80446   return 0;
80447 }
80448 _ACEOF
80449 rm -f conftest.$ac_objext conftest$ac_exeext
80450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80451   (eval $ac_link) 2>conftest.er1
80452   ac_status=$?
80453   grep -v '^ *+' conftest.er1 >conftest.err
80454   rm -f conftest.er1
80455   cat conftest.err >&5
80456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80457   (exit $ac_status); } &&
80458          { ac_try='test -z "$ac_c_werror_flag"
80459                          || test ! -s conftest.err'
80460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80461   (eval $ac_try) 2>&5
80462   ac_status=$?
80463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80464   (exit $ac_status); }; } &&
80465          { ac_try='test -s conftest$ac_exeext'
80466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80467   (eval $ac_try) 2>&5
80468   ac_status=$?
80469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80470   (exit $ac_status); }; }; then
80471   eval "$as_ac_var=yes"
80472 else
80473   echo "$as_me: failed program was:" >&5
80474 sed 's/^/| /' conftest.$ac_ext >&5
80475
80476 eval "$as_ac_var=no"
80477 fi
80478 rm -f conftest.err conftest.$ac_objext \
80479       conftest$ac_exeext conftest.$ac_ext
80480 fi
80481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80483 if test `eval echo '${'$as_ac_var'}'` = yes; then
80484   cat >>confdefs.h <<_ACEOF
80485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80486 _ACEOF
80487
80488 fi
80489 done
80490
80491     fi
80492   fi
80493
80494
80495
80496
80497
80498
80499   echo "$as_me:$LINENO: checking for powl declaration" >&5
80500 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80501   if test x${glibcxx_cv_func_powl_use+set} != xset; then
80502     if test "${glibcxx_cv_func_powl_use+set}" = set; then
80503   echo $ECHO_N "(cached) $ECHO_C" >&6
80504 else
80505
80506
80507
80508       ac_ext=cc
80509 ac_cpp='$CXXCPP $CPPFLAGS'
80510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80513
80514       cat >conftest.$ac_ext <<_ACEOF
80515 /* confdefs.h.  */
80516 _ACEOF
80517 cat confdefs.h >>conftest.$ac_ext
80518 cat >>conftest.$ac_ext <<_ACEOF
80519 /* end confdefs.h.  */
80520 #include <math.h>
80521 int
80522 main ()
80523 {
80524  powl(0, 0);
80525   ;
80526   return 0;
80527 }
80528 _ACEOF
80529 rm -f conftest.$ac_objext
80530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80531   (eval $ac_compile) 2>conftest.er1
80532   ac_status=$?
80533   grep -v '^ *+' conftest.er1 >conftest.err
80534   rm -f conftest.er1
80535   cat conftest.err >&5
80536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80537   (exit $ac_status); } &&
80538          { ac_try='test -z "$ac_cxx_werror_flag"
80539                          || test ! -s conftest.err'
80540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80541   (eval $ac_try) 2>&5
80542   ac_status=$?
80543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80544   (exit $ac_status); }; } &&
80545          { ac_try='test -s conftest.$ac_objext'
80546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80547   (eval $ac_try) 2>&5
80548   ac_status=$?
80549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80550   (exit $ac_status); }; }; then
80551   glibcxx_cv_func_powl_use=yes
80552 else
80553   echo "$as_me: failed program was:" >&5
80554 sed 's/^/| /' conftest.$ac_ext >&5
80555
80556 glibcxx_cv_func_powl_use=no
80557 fi
80558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80559       ac_ext=c
80560 ac_cpp='$CPP $CPPFLAGS'
80561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80564
80565
80566 fi
80567
80568   fi
80569   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80570 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80571
80572   if test x$glibcxx_cv_func_powl_use = x"yes"; then
80573
80574 for ac_func in powl
80575 do
80576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80577 echo "$as_me:$LINENO: checking for $ac_func" >&5
80578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80579 if eval "test \"\${$as_ac_var+set}\" = set"; then
80580   echo $ECHO_N "(cached) $ECHO_C" >&6
80581 else
80582   if test x$gcc_no_link = xyes; then
80583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80585    { (exit 1); exit 1; }; }
80586 fi
80587 cat >conftest.$ac_ext <<_ACEOF
80588 /* confdefs.h.  */
80589 _ACEOF
80590 cat confdefs.h >>conftest.$ac_ext
80591 cat >>conftest.$ac_ext <<_ACEOF
80592 /* end confdefs.h.  */
80593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80595 #define $ac_func innocuous_$ac_func
80596
80597 /* System header to define __stub macros and hopefully few prototypes,
80598     which can conflict with char $ac_func (); below.
80599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80600     <limits.h> exists even on freestanding compilers.  */
80601
80602 #ifdef __STDC__
80603 # include <limits.h>
80604 #else
80605 # include <assert.h>
80606 #endif
80607
80608 #undef $ac_func
80609
80610 /* Override any gcc2 internal prototype to avoid an error.  */
80611 #ifdef __cplusplus
80612 extern "C"
80613 {
80614 #endif
80615 /* We use char because int might match the return type of a gcc2
80616    builtin and then its argument prototype would still apply.  */
80617 char $ac_func ();
80618 /* The GNU C library defines this for functions which it implements
80619     to always fail with ENOSYS.  Some functions are actually named
80620     something starting with __ and the normal name is an alias.  */
80621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80622 choke me
80623 #else
80624 char (*f) () = $ac_func;
80625 #endif
80626 #ifdef __cplusplus
80627 }
80628 #endif
80629
80630 int
80631 main ()
80632 {
80633 return f != $ac_func;
80634   ;
80635   return 0;
80636 }
80637 _ACEOF
80638 rm -f conftest.$ac_objext conftest$ac_exeext
80639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80640   (eval $ac_link) 2>conftest.er1
80641   ac_status=$?
80642   grep -v '^ *+' conftest.er1 >conftest.err
80643   rm -f conftest.er1
80644   cat conftest.err >&5
80645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80646   (exit $ac_status); } &&
80647          { ac_try='test -z "$ac_c_werror_flag"
80648                          || test ! -s conftest.err'
80649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80650   (eval $ac_try) 2>&5
80651   ac_status=$?
80652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80653   (exit $ac_status); }; } &&
80654          { ac_try='test -s conftest$ac_exeext'
80655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80656   (eval $ac_try) 2>&5
80657   ac_status=$?
80658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80659   (exit $ac_status); }; }; then
80660   eval "$as_ac_var=yes"
80661 else
80662   echo "$as_me: failed program was:" >&5
80663 sed 's/^/| /' conftest.$ac_ext >&5
80664
80665 eval "$as_ac_var=no"
80666 fi
80667 rm -f conftest.err conftest.$ac_objext \
80668       conftest$ac_exeext conftest.$ac_ext
80669 fi
80670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80672 if test `eval echo '${'$as_ac_var'}'` = yes; then
80673   cat >>confdefs.h <<_ACEOF
80674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80675 _ACEOF
80676
80677 fi
80678 done
80679
80680   else
80681
80682   echo "$as_me:$LINENO: checking for _powl declaration" >&5
80683 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80684   if test x${glibcxx_cv_func__powl_use+set} != xset; then
80685     if test "${glibcxx_cv_func__powl_use+set}" = set; then
80686   echo $ECHO_N "(cached) $ECHO_C" >&6
80687 else
80688
80689
80690
80691       ac_ext=cc
80692 ac_cpp='$CXXCPP $CPPFLAGS'
80693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80696
80697       cat >conftest.$ac_ext <<_ACEOF
80698 /* confdefs.h.  */
80699 _ACEOF
80700 cat confdefs.h >>conftest.$ac_ext
80701 cat >>conftest.$ac_ext <<_ACEOF
80702 /* end confdefs.h.  */
80703 #include <math.h>
80704 int
80705 main ()
80706 {
80707  _powl(0, 0);
80708   ;
80709   return 0;
80710 }
80711 _ACEOF
80712 rm -f conftest.$ac_objext
80713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80714   (eval $ac_compile) 2>conftest.er1
80715   ac_status=$?
80716   grep -v '^ *+' conftest.er1 >conftest.err
80717   rm -f conftest.er1
80718   cat conftest.err >&5
80719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80720   (exit $ac_status); } &&
80721          { ac_try='test -z "$ac_cxx_werror_flag"
80722                          || test ! -s conftest.err'
80723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80724   (eval $ac_try) 2>&5
80725   ac_status=$?
80726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80727   (exit $ac_status); }; } &&
80728          { ac_try='test -s conftest.$ac_objext'
80729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80730   (eval $ac_try) 2>&5
80731   ac_status=$?
80732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80733   (exit $ac_status); }; }; then
80734   glibcxx_cv_func__powl_use=yes
80735 else
80736   echo "$as_me: failed program was:" >&5
80737 sed 's/^/| /' conftest.$ac_ext >&5
80738
80739 glibcxx_cv_func__powl_use=no
80740 fi
80741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80742       ac_ext=c
80743 ac_cpp='$CPP $CPPFLAGS'
80744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80747
80748
80749 fi
80750
80751   fi
80752   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80753 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80754
80755     if test x$glibcxx_cv_func__powl_use = x"yes"; then
80756
80757 for ac_func in _powl
80758 do
80759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80760 echo "$as_me:$LINENO: checking for $ac_func" >&5
80761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80762 if eval "test \"\${$as_ac_var+set}\" = set"; then
80763   echo $ECHO_N "(cached) $ECHO_C" >&6
80764 else
80765   if test x$gcc_no_link = xyes; then
80766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80768    { (exit 1); exit 1; }; }
80769 fi
80770 cat >conftest.$ac_ext <<_ACEOF
80771 /* confdefs.h.  */
80772 _ACEOF
80773 cat confdefs.h >>conftest.$ac_ext
80774 cat >>conftest.$ac_ext <<_ACEOF
80775 /* end confdefs.h.  */
80776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80778 #define $ac_func innocuous_$ac_func
80779
80780 /* System header to define __stub macros and hopefully few prototypes,
80781     which can conflict with char $ac_func (); below.
80782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80783     <limits.h> exists even on freestanding compilers.  */
80784
80785 #ifdef __STDC__
80786 # include <limits.h>
80787 #else
80788 # include <assert.h>
80789 #endif
80790
80791 #undef $ac_func
80792
80793 /* Override any gcc2 internal prototype to avoid an error.  */
80794 #ifdef __cplusplus
80795 extern "C"
80796 {
80797 #endif
80798 /* We use char because int might match the return type of a gcc2
80799    builtin and then its argument prototype would still apply.  */
80800 char $ac_func ();
80801 /* The GNU C library defines this for functions which it implements
80802     to always fail with ENOSYS.  Some functions are actually named
80803     something starting with __ and the normal name is an alias.  */
80804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80805 choke me
80806 #else
80807 char (*f) () = $ac_func;
80808 #endif
80809 #ifdef __cplusplus
80810 }
80811 #endif
80812
80813 int
80814 main ()
80815 {
80816 return f != $ac_func;
80817   ;
80818   return 0;
80819 }
80820 _ACEOF
80821 rm -f conftest.$ac_objext conftest$ac_exeext
80822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80823   (eval $ac_link) 2>conftest.er1
80824   ac_status=$?
80825   grep -v '^ *+' conftest.er1 >conftest.err
80826   rm -f conftest.er1
80827   cat conftest.err >&5
80828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80829   (exit $ac_status); } &&
80830          { ac_try='test -z "$ac_c_werror_flag"
80831                          || test ! -s conftest.err'
80832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80833   (eval $ac_try) 2>&5
80834   ac_status=$?
80835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80836   (exit $ac_status); }; } &&
80837          { ac_try='test -s conftest$ac_exeext'
80838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80839   (eval $ac_try) 2>&5
80840   ac_status=$?
80841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80842   (exit $ac_status); }; }; then
80843   eval "$as_ac_var=yes"
80844 else
80845   echo "$as_me: failed program was:" >&5
80846 sed 's/^/| /' conftest.$ac_ext >&5
80847
80848 eval "$as_ac_var=no"
80849 fi
80850 rm -f conftest.err conftest.$ac_objext \
80851       conftest$ac_exeext conftest.$ac_ext
80852 fi
80853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80855 if test `eval echo '${'$as_ac_var'}'` = yes; then
80856   cat >>confdefs.h <<_ACEOF
80857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80858 _ACEOF
80859
80860 fi
80861 done
80862
80863     fi
80864   fi
80865
80866
80867
80868
80869
80870
80871   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80872 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80873   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80874     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80875   echo $ECHO_N "(cached) $ECHO_C" >&6
80876 else
80877
80878
80879
80880       ac_ext=cc
80881 ac_cpp='$CXXCPP $CPPFLAGS'
80882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80885
80886       cat >conftest.$ac_ext <<_ACEOF
80887 /* confdefs.h.  */
80888 _ACEOF
80889 cat confdefs.h >>conftest.$ac_ext
80890 cat >>conftest.$ac_ext <<_ACEOF
80891 /* end confdefs.h.  */
80892 #include <math.h>
80893                       #ifdef HAVE_IEEEFP_H
80894                       #include <ieeefp.h>
80895                       #endif
80896
80897 int
80898 main ()
80899 {
80900  sqrtl(0);
80901   ;
80902   return 0;
80903 }
80904 _ACEOF
80905 rm -f conftest.$ac_objext
80906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80907   (eval $ac_compile) 2>conftest.er1
80908   ac_status=$?
80909   grep -v '^ *+' conftest.er1 >conftest.err
80910   rm -f conftest.er1
80911   cat conftest.err >&5
80912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80913   (exit $ac_status); } &&
80914          { ac_try='test -z "$ac_cxx_werror_flag"
80915                          || test ! -s conftest.err'
80916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80917   (eval $ac_try) 2>&5
80918   ac_status=$?
80919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80920   (exit $ac_status); }; } &&
80921          { ac_try='test -s conftest.$ac_objext'
80922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80923   (eval $ac_try) 2>&5
80924   ac_status=$?
80925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80926   (exit $ac_status); }; }; then
80927   glibcxx_cv_func_sqrtl_use=yes
80928 else
80929   echo "$as_me: failed program was:" >&5
80930 sed 's/^/| /' conftest.$ac_ext >&5
80931
80932 glibcxx_cv_func_sqrtl_use=no
80933 fi
80934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80935       ac_ext=c
80936 ac_cpp='$CPP $CPPFLAGS'
80937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80940
80941
80942 fi
80943
80944   fi
80945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80946 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80947
80948   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80949
80950 for ac_func in sqrtl
80951 do
80952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80953 echo "$as_me:$LINENO: checking for $ac_func" >&5
80954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80955 if eval "test \"\${$as_ac_var+set}\" = set"; then
80956   echo $ECHO_N "(cached) $ECHO_C" >&6
80957 else
80958   if test x$gcc_no_link = xyes; then
80959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80961    { (exit 1); exit 1; }; }
80962 fi
80963 cat >conftest.$ac_ext <<_ACEOF
80964 /* confdefs.h.  */
80965 _ACEOF
80966 cat confdefs.h >>conftest.$ac_ext
80967 cat >>conftest.$ac_ext <<_ACEOF
80968 /* end confdefs.h.  */
80969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80971 #define $ac_func innocuous_$ac_func
80972
80973 /* System header to define __stub macros and hopefully few prototypes,
80974     which can conflict with char $ac_func (); below.
80975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80976     <limits.h> exists even on freestanding compilers.  */
80977
80978 #ifdef __STDC__
80979 # include <limits.h>
80980 #else
80981 # include <assert.h>
80982 #endif
80983
80984 #undef $ac_func
80985
80986 /* Override any gcc2 internal prototype to avoid an error.  */
80987 #ifdef __cplusplus
80988 extern "C"
80989 {
80990 #endif
80991 /* We use char because int might match the return type of a gcc2
80992    builtin and then its argument prototype would still apply.  */
80993 char $ac_func ();
80994 /* The GNU C library defines this for functions which it implements
80995     to always fail with ENOSYS.  Some functions are actually named
80996     something starting with __ and the normal name is an alias.  */
80997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80998 choke me
80999 #else
81000 char (*f) () = $ac_func;
81001 #endif
81002 #ifdef __cplusplus
81003 }
81004 #endif
81005
81006 int
81007 main ()
81008 {
81009 return f != $ac_func;
81010   ;
81011   return 0;
81012 }
81013 _ACEOF
81014 rm -f conftest.$ac_objext conftest$ac_exeext
81015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81016   (eval $ac_link) 2>conftest.er1
81017   ac_status=$?
81018   grep -v '^ *+' conftest.er1 >conftest.err
81019   rm -f conftest.er1
81020   cat conftest.err >&5
81021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022   (exit $ac_status); } &&
81023          { ac_try='test -z "$ac_c_werror_flag"
81024                          || test ! -s conftest.err'
81025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81026   (eval $ac_try) 2>&5
81027   ac_status=$?
81028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029   (exit $ac_status); }; } &&
81030          { ac_try='test -s conftest$ac_exeext'
81031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81032   (eval $ac_try) 2>&5
81033   ac_status=$?
81034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81035   (exit $ac_status); }; }; then
81036   eval "$as_ac_var=yes"
81037 else
81038   echo "$as_me: failed program was:" >&5
81039 sed 's/^/| /' conftest.$ac_ext >&5
81040
81041 eval "$as_ac_var=no"
81042 fi
81043 rm -f conftest.err conftest.$ac_objext \
81044       conftest$ac_exeext conftest.$ac_ext
81045 fi
81046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81048 if test `eval echo '${'$as_ac_var'}'` = yes; then
81049   cat >>confdefs.h <<_ACEOF
81050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81051 _ACEOF
81052
81053 fi
81054 done
81055
81056   else
81057
81058   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81059 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81060   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81061     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81062   echo $ECHO_N "(cached) $ECHO_C" >&6
81063 else
81064
81065
81066
81067       ac_ext=cc
81068 ac_cpp='$CXXCPP $CPPFLAGS'
81069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81072
81073       cat >conftest.$ac_ext <<_ACEOF
81074 /* confdefs.h.  */
81075 _ACEOF
81076 cat confdefs.h >>conftest.$ac_ext
81077 cat >>conftest.$ac_ext <<_ACEOF
81078 /* end confdefs.h.  */
81079 #include <math.h>
81080                       #ifdef HAVE_IEEEFP_H
81081                       #include <ieeefp.h>
81082                       #endif
81083
81084 int
81085 main ()
81086 {
81087  _sqrtl(0);
81088   ;
81089   return 0;
81090 }
81091 _ACEOF
81092 rm -f conftest.$ac_objext
81093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81094   (eval $ac_compile) 2>conftest.er1
81095   ac_status=$?
81096   grep -v '^ *+' conftest.er1 >conftest.err
81097   rm -f conftest.er1
81098   cat conftest.err >&5
81099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81100   (exit $ac_status); } &&
81101          { ac_try='test -z "$ac_cxx_werror_flag"
81102                          || test ! -s conftest.err'
81103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81104   (eval $ac_try) 2>&5
81105   ac_status=$?
81106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81107   (exit $ac_status); }; } &&
81108          { ac_try='test -s conftest.$ac_objext'
81109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81110   (eval $ac_try) 2>&5
81111   ac_status=$?
81112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81113   (exit $ac_status); }; }; then
81114   glibcxx_cv_func__sqrtl_use=yes
81115 else
81116   echo "$as_me: failed program was:" >&5
81117 sed 's/^/| /' conftest.$ac_ext >&5
81118
81119 glibcxx_cv_func__sqrtl_use=no
81120 fi
81121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81122       ac_ext=c
81123 ac_cpp='$CPP $CPPFLAGS'
81124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81127
81128
81129 fi
81130
81131   fi
81132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81133 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81134
81135     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81136
81137 for ac_func in _sqrtl
81138 do
81139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81140 echo "$as_me:$LINENO: checking for $ac_func" >&5
81141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81142 if eval "test \"\${$as_ac_var+set}\" = set"; then
81143   echo $ECHO_N "(cached) $ECHO_C" >&6
81144 else
81145   if test x$gcc_no_link = xyes; then
81146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81148    { (exit 1); exit 1; }; }
81149 fi
81150 cat >conftest.$ac_ext <<_ACEOF
81151 /* confdefs.h.  */
81152 _ACEOF
81153 cat confdefs.h >>conftest.$ac_ext
81154 cat >>conftest.$ac_ext <<_ACEOF
81155 /* end confdefs.h.  */
81156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81158 #define $ac_func innocuous_$ac_func
81159
81160 /* System header to define __stub macros and hopefully few prototypes,
81161     which can conflict with char $ac_func (); below.
81162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81163     <limits.h> exists even on freestanding compilers.  */
81164
81165 #ifdef __STDC__
81166 # include <limits.h>
81167 #else
81168 # include <assert.h>
81169 #endif
81170
81171 #undef $ac_func
81172
81173 /* Override any gcc2 internal prototype to avoid an error.  */
81174 #ifdef __cplusplus
81175 extern "C"
81176 {
81177 #endif
81178 /* We use char because int might match the return type of a gcc2
81179    builtin and then its argument prototype would still apply.  */
81180 char $ac_func ();
81181 /* The GNU C library defines this for functions which it implements
81182     to always fail with ENOSYS.  Some functions are actually named
81183     something starting with __ and the normal name is an alias.  */
81184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81185 choke me
81186 #else
81187 char (*f) () = $ac_func;
81188 #endif
81189 #ifdef __cplusplus
81190 }
81191 #endif
81192
81193 int
81194 main ()
81195 {
81196 return f != $ac_func;
81197   ;
81198   return 0;
81199 }
81200 _ACEOF
81201 rm -f conftest.$ac_objext conftest$ac_exeext
81202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81203   (eval $ac_link) 2>conftest.er1
81204   ac_status=$?
81205   grep -v '^ *+' conftest.er1 >conftest.err
81206   rm -f conftest.er1
81207   cat conftest.err >&5
81208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81209   (exit $ac_status); } &&
81210          { ac_try='test -z "$ac_c_werror_flag"
81211                          || test ! -s conftest.err'
81212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81213   (eval $ac_try) 2>&5
81214   ac_status=$?
81215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81216   (exit $ac_status); }; } &&
81217          { ac_try='test -s conftest$ac_exeext'
81218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81219   (eval $ac_try) 2>&5
81220   ac_status=$?
81221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81222   (exit $ac_status); }; }; then
81223   eval "$as_ac_var=yes"
81224 else
81225   echo "$as_me: failed program was:" >&5
81226 sed 's/^/| /' conftest.$ac_ext >&5
81227
81228 eval "$as_ac_var=no"
81229 fi
81230 rm -f conftest.err conftest.$ac_objext \
81231       conftest$ac_exeext conftest.$ac_ext
81232 fi
81233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81235 if test `eval echo '${'$as_ac_var'}'` = yes; then
81236   cat >>confdefs.h <<_ACEOF
81237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81238 _ACEOF
81239
81240 fi
81241 done
81242
81243     fi
81244   fi
81245
81246
81247
81248
81249
81250
81251   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81252 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81253   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81254     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81255   echo $ECHO_N "(cached) $ECHO_C" >&6
81256 else
81257
81258
81259
81260       ac_ext=cc
81261 ac_cpp='$CXXCPP $CPPFLAGS'
81262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81265
81266       cat >conftest.$ac_ext <<_ACEOF
81267 /* confdefs.h.  */
81268 _ACEOF
81269 cat confdefs.h >>conftest.$ac_ext
81270 cat >>conftest.$ac_ext <<_ACEOF
81271 /* end confdefs.h.  */
81272 #include <math.h>
81273 int
81274 main ()
81275 {
81276  sincosl(0, 0, 0);
81277   ;
81278   return 0;
81279 }
81280 _ACEOF
81281 rm -f conftest.$ac_objext
81282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81283   (eval $ac_compile) 2>conftest.er1
81284   ac_status=$?
81285   grep -v '^ *+' conftest.er1 >conftest.err
81286   rm -f conftest.er1
81287   cat conftest.err >&5
81288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81289   (exit $ac_status); } &&
81290          { ac_try='test -z "$ac_cxx_werror_flag"
81291                          || test ! -s conftest.err'
81292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293   (eval $ac_try) 2>&5
81294   ac_status=$?
81295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296   (exit $ac_status); }; } &&
81297          { ac_try='test -s conftest.$ac_objext'
81298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81299   (eval $ac_try) 2>&5
81300   ac_status=$?
81301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81302   (exit $ac_status); }; }; then
81303   glibcxx_cv_func_sincosl_use=yes
81304 else
81305   echo "$as_me: failed program was:" >&5
81306 sed 's/^/| /' conftest.$ac_ext >&5
81307
81308 glibcxx_cv_func_sincosl_use=no
81309 fi
81310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81311       ac_ext=c
81312 ac_cpp='$CPP $CPPFLAGS'
81313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81316
81317
81318 fi
81319
81320   fi
81321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81322 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81323
81324   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81325
81326 for ac_func in sincosl
81327 do
81328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81329 echo "$as_me:$LINENO: checking for $ac_func" >&5
81330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81331 if eval "test \"\${$as_ac_var+set}\" = set"; then
81332   echo $ECHO_N "(cached) $ECHO_C" >&6
81333 else
81334   if test x$gcc_no_link = xyes; then
81335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81337    { (exit 1); exit 1; }; }
81338 fi
81339 cat >conftest.$ac_ext <<_ACEOF
81340 /* confdefs.h.  */
81341 _ACEOF
81342 cat confdefs.h >>conftest.$ac_ext
81343 cat >>conftest.$ac_ext <<_ACEOF
81344 /* end confdefs.h.  */
81345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81347 #define $ac_func innocuous_$ac_func
81348
81349 /* System header to define __stub macros and hopefully few prototypes,
81350     which can conflict with char $ac_func (); below.
81351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81352     <limits.h> exists even on freestanding compilers.  */
81353
81354 #ifdef __STDC__
81355 # include <limits.h>
81356 #else
81357 # include <assert.h>
81358 #endif
81359
81360 #undef $ac_func
81361
81362 /* Override any gcc2 internal prototype to avoid an error.  */
81363 #ifdef __cplusplus
81364 extern "C"
81365 {
81366 #endif
81367 /* We use char because int might match the return type of a gcc2
81368    builtin and then its argument prototype would still apply.  */
81369 char $ac_func ();
81370 /* The GNU C library defines this for functions which it implements
81371     to always fail with ENOSYS.  Some functions are actually named
81372     something starting with __ and the normal name is an alias.  */
81373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81374 choke me
81375 #else
81376 char (*f) () = $ac_func;
81377 #endif
81378 #ifdef __cplusplus
81379 }
81380 #endif
81381
81382 int
81383 main ()
81384 {
81385 return f != $ac_func;
81386   ;
81387   return 0;
81388 }
81389 _ACEOF
81390 rm -f conftest.$ac_objext conftest$ac_exeext
81391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81392   (eval $ac_link) 2>conftest.er1
81393   ac_status=$?
81394   grep -v '^ *+' conftest.er1 >conftest.err
81395   rm -f conftest.er1
81396   cat conftest.err >&5
81397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398   (exit $ac_status); } &&
81399          { ac_try='test -z "$ac_c_werror_flag"
81400                          || test ! -s conftest.err'
81401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81402   (eval $ac_try) 2>&5
81403   ac_status=$?
81404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81405   (exit $ac_status); }; } &&
81406          { ac_try='test -s conftest$ac_exeext'
81407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81408   (eval $ac_try) 2>&5
81409   ac_status=$?
81410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411   (exit $ac_status); }; }; then
81412   eval "$as_ac_var=yes"
81413 else
81414   echo "$as_me: failed program was:" >&5
81415 sed 's/^/| /' conftest.$ac_ext >&5
81416
81417 eval "$as_ac_var=no"
81418 fi
81419 rm -f conftest.err conftest.$ac_objext \
81420       conftest$ac_exeext conftest.$ac_ext
81421 fi
81422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81424 if test `eval echo '${'$as_ac_var'}'` = yes; then
81425   cat >>confdefs.h <<_ACEOF
81426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81427 _ACEOF
81428
81429 fi
81430 done
81431
81432   else
81433
81434   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81435 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81436   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81437     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81438   echo $ECHO_N "(cached) $ECHO_C" >&6
81439 else
81440
81441
81442
81443       ac_ext=cc
81444 ac_cpp='$CXXCPP $CPPFLAGS'
81445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81448
81449       cat >conftest.$ac_ext <<_ACEOF
81450 /* confdefs.h.  */
81451 _ACEOF
81452 cat confdefs.h >>conftest.$ac_ext
81453 cat >>conftest.$ac_ext <<_ACEOF
81454 /* end confdefs.h.  */
81455 #include <math.h>
81456 int
81457 main ()
81458 {
81459  _sincosl(0, 0, 0);
81460   ;
81461   return 0;
81462 }
81463 _ACEOF
81464 rm -f conftest.$ac_objext
81465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81466   (eval $ac_compile) 2>conftest.er1
81467   ac_status=$?
81468   grep -v '^ *+' conftest.er1 >conftest.err
81469   rm -f conftest.er1
81470   cat conftest.err >&5
81471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81472   (exit $ac_status); } &&
81473          { ac_try='test -z "$ac_cxx_werror_flag"
81474                          || test ! -s conftest.err'
81475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81476   (eval $ac_try) 2>&5
81477   ac_status=$?
81478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81479   (exit $ac_status); }; } &&
81480          { ac_try='test -s conftest.$ac_objext'
81481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81482   (eval $ac_try) 2>&5
81483   ac_status=$?
81484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485   (exit $ac_status); }; }; then
81486   glibcxx_cv_func__sincosl_use=yes
81487 else
81488   echo "$as_me: failed program was:" >&5
81489 sed 's/^/| /' conftest.$ac_ext >&5
81490
81491 glibcxx_cv_func__sincosl_use=no
81492 fi
81493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81494       ac_ext=c
81495 ac_cpp='$CPP $CPPFLAGS'
81496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81499
81500
81501 fi
81502
81503   fi
81504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81505 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81506
81507     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81508
81509 for ac_func in _sincosl
81510 do
81511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81512 echo "$as_me:$LINENO: checking for $ac_func" >&5
81513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81514 if eval "test \"\${$as_ac_var+set}\" = set"; then
81515   echo $ECHO_N "(cached) $ECHO_C" >&6
81516 else
81517   if test x$gcc_no_link = xyes; then
81518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81520    { (exit 1); exit 1; }; }
81521 fi
81522 cat >conftest.$ac_ext <<_ACEOF
81523 /* confdefs.h.  */
81524 _ACEOF
81525 cat confdefs.h >>conftest.$ac_ext
81526 cat >>conftest.$ac_ext <<_ACEOF
81527 /* end confdefs.h.  */
81528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81530 #define $ac_func innocuous_$ac_func
81531
81532 /* System header to define __stub macros and hopefully few prototypes,
81533     which can conflict with char $ac_func (); below.
81534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81535     <limits.h> exists even on freestanding compilers.  */
81536
81537 #ifdef __STDC__
81538 # include <limits.h>
81539 #else
81540 # include <assert.h>
81541 #endif
81542
81543 #undef $ac_func
81544
81545 /* Override any gcc2 internal prototype to avoid an error.  */
81546 #ifdef __cplusplus
81547 extern "C"
81548 {
81549 #endif
81550 /* We use char because int might match the return type of a gcc2
81551    builtin and then its argument prototype would still apply.  */
81552 char $ac_func ();
81553 /* The GNU C library defines this for functions which it implements
81554     to always fail with ENOSYS.  Some functions are actually named
81555     something starting with __ and the normal name is an alias.  */
81556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81557 choke me
81558 #else
81559 char (*f) () = $ac_func;
81560 #endif
81561 #ifdef __cplusplus
81562 }
81563 #endif
81564
81565 int
81566 main ()
81567 {
81568 return f != $ac_func;
81569   ;
81570   return 0;
81571 }
81572 _ACEOF
81573 rm -f conftest.$ac_objext conftest$ac_exeext
81574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81575   (eval $ac_link) 2>conftest.er1
81576   ac_status=$?
81577   grep -v '^ *+' conftest.er1 >conftest.err
81578   rm -f conftest.er1
81579   cat conftest.err >&5
81580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581   (exit $ac_status); } &&
81582          { ac_try='test -z "$ac_c_werror_flag"
81583                          || test ! -s conftest.err'
81584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585   (eval $ac_try) 2>&5
81586   ac_status=$?
81587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588   (exit $ac_status); }; } &&
81589          { ac_try='test -s conftest$ac_exeext'
81590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591   (eval $ac_try) 2>&5
81592   ac_status=$?
81593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594   (exit $ac_status); }; }; then
81595   eval "$as_ac_var=yes"
81596 else
81597   echo "$as_me: failed program was:" >&5
81598 sed 's/^/| /' conftest.$ac_ext >&5
81599
81600 eval "$as_ac_var=no"
81601 fi
81602 rm -f conftest.err conftest.$ac_objext \
81603       conftest$ac_exeext conftest.$ac_ext
81604 fi
81605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81607 if test `eval echo '${'$as_ac_var'}'` = yes; then
81608   cat >>confdefs.h <<_ACEOF
81609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81610 _ACEOF
81611
81612 fi
81613 done
81614
81615     fi
81616   fi
81617
81618
81619
81620
81621
81622
81623   echo "$as_me:$LINENO: checking for finitel declaration" >&5
81624 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81625   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81626     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81627   echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81629
81630
81631
81632       ac_ext=cc
81633 ac_cpp='$CXXCPP $CPPFLAGS'
81634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81637
81638       cat >conftest.$ac_ext <<_ACEOF
81639 /* confdefs.h.  */
81640 _ACEOF
81641 cat confdefs.h >>conftest.$ac_ext
81642 cat >>conftest.$ac_ext <<_ACEOF
81643 /* end confdefs.h.  */
81644 #include <math.h>
81645                       #ifdef HAVE_IEEEFP_H
81646                       #include <ieeefp.h>
81647                       #endif
81648
81649 int
81650 main ()
81651 {
81652  finitel(0);
81653   ;
81654   return 0;
81655 }
81656 _ACEOF
81657 rm -f conftest.$ac_objext
81658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81659   (eval $ac_compile) 2>conftest.er1
81660   ac_status=$?
81661   grep -v '^ *+' conftest.er1 >conftest.err
81662   rm -f conftest.er1
81663   cat conftest.err >&5
81664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81665   (exit $ac_status); } &&
81666          { ac_try='test -z "$ac_cxx_werror_flag"
81667                          || test ! -s conftest.err'
81668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81669   (eval $ac_try) 2>&5
81670   ac_status=$?
81671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81672   (exit $ac_status); }; } &&
81673          { ac_try='test -s conftest.$ac_objext'
81674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81675   (eval $ac_try) 2>&5
81676   ac_status=$?
81677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678   (exit $ac_status); }; }; then
81679   glibcxx_cv_func_finitel_use=yes
81680 else
81681   echo "$as_me: failed program was:" >&5
81682 sed 's/^/| /' conftest.$ac_ext >&5
81683
81684 glibcxx_cv_func_finitel_use=no
81685 fi
81686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81687       ac_ext=c
81688 ac_cpp='$CPP $CPPFLAGS'
81689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81692
81693
81694 fi
81695
81696   fi
81697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81698 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81699
81700   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81701
81702 for ac_func in finitel
81703 do
81704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81705 echo "$as_me:$LINENO: checking for $ac_func" >&5
81706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81707 if eval "test \"\${$as_ac_var+set}\" = set"; then
81708   echo $ECHO_N "(cached) $ECHO_C" >&6
81709 else
81710   if test x$gcc_no_link = xyes; then
81711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81713    { (exit 1); exit 1; }; }
81714 fi
81715 cat >conftest.$ac_ext <<_ACEOF
81716 /* confdefs.h.  */
81717 _ACEOF
81718 cat confdefs.h >>conftest.$ac_ext
81719 cat >>conftest.$ac_ext <<_ACEOF
81720 /* end confdefs.h.  */
81721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81723 #define $ac_func innocuous_$ac_func
81724
81725 /* System header to define __stub macros and hopefully few prototypes,
81726     which can conflict with char $ac_func (); below.
81727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81728     <limits.h> exists even on freestanding compilers.  */
81729
81730 #ifdef __STDC__
81731 # include <limits.h>
81732 #else
81733 # include <assert.h>
81734 #endif
81735
81736 #undef $ac_func
81737
81738 /* Override any gcc2 internal prototype to avoid an error.  */
81739 #ifdef __cplusplus
81740 extern "C"
81741 {
81742 #endif
81743 /* We use char because int might match the return type of a gcc2
81744    builtin and then its argument prototype would still apply.  */
81745 char $ac_func ();
81746 /* The GNU C library defines this for functions which it implements
81747     to always fail with ENOSYS.  Some functions are actually named
81748     something starting with __ and the normal name is an alias.  */
81749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81750 choke me
81751 #else
81752 char (*f) () = $ac_func;
81753 #endif
81754 #ifdef __cplusplus
81755 }
81756 #endif
81757
81758 int
81759 main ()
81760 {
81761 return f != $ac_func;
81762   ;
81763   return 0;
81764 }
81765 _ACEOF
81766 rm -f conftest.$ac_objext conftest$ac_exeext
81767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81768   (eval $ac_link) 2>conftest.er1
81769   ac_status=$?
81770   grep -v '^ *+' conftest.er1 >conftest.err
81771   rm -f conftest.er1
81772   cat conftest.err >&5
81773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774   (exit $ac_status); } &&
81775          { ac_try='test -z "$ac_c_werror_flag"
81776                          || test ! -s conftest.err'
81777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81778   (eval $ac_try) 2>&5
81779   ac_status=$?
81780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81781   (exit $ac_status); }; } &&
81782          { ac_try='test -s conftest$ac_exeext'
81783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81784   (eval $ac_try) 2>&5
81785   ac_status=$?
81786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81787   (exit $ac_status); }; }; then
81788   eval "$as_ac_var=yes"
81789 else
81790   echo "$as_me: failed program was:" >&5
81791 sed 's/^/| /' conftest.$ac_ext >&5
81792
81793 eval "$as_ac_var=no"
81794 fi
81795 rm -f conftest.err conftest.$ac_objext \
81796       conftest$ac_exeext conftest.$ac_ext
81797 fi
81798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81800 if test `eval echo '${'$as_ac_var'}'` = yes; then
81801   cat >>confdefs.h <<_ACEOF
81802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81803 _ACEOF
81804
81805 fi
81806 done
81807
81808   else
81809
81810   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81811 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81812   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81813     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81814   echo $ECHO_N "(cached) $ECHO_C" >&6
81815 else
81816
81817
81818
81819       ac_ext=cc
81820 ac_cpp='$CXXCPP $CPPFLAGS'
81821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81824
81825       cat >conftest.$ac_ext <<_ACEOF
81826 /* confdefs.h.  */
81827 _ACEOF
81828 cat confdefs.h >>conftest.$ac_ext
81829 cat >>conftest.$ac_ext <<_ACEOF
81830 /* end confdefs.h.  */
81831 #include <math.h>
81832                       #ifdef HAVE_IEEEFP_H
81833                       #include <ieeefp.h>
81834                       #endif
81835
81836 int
81837 main ()
81838 {
81839  _finitel(0);
81840   ;
81841   return 0;
81842 }
81843 _ACEOF
81844 rm -f conftest.$ac_objext
81845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81846   (eval $ac_compile) 2>conftest.er1
81847   ac_status=$?
81848   grep -v '^ *+' conftest.er1 >conftest.err
81849   rm -f conftest.er1
81850   cat conftest.err >&5
81851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81852   (exit $ac_status); } &&
81853          { ac_try='test -z "$ac_cxx_werror_flag"
81854                          || test ! -s conftest.err'
81855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81856   (eval $ac_try) 2>&5
81857   ac_status=$?
81858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81859   (exit $ac_status); }; } &&
81860          { ac_try='test -s conftest.$ac_objext'
81861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81862   (eval $ac_try) 2>&5
81863   ac_status=$?
81864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81865   (exit $ac_status); }; }; then
81866   glibcxx_cv_func__finitel_use=yes
81867 else
81868   echo "$as_me: failed program was:" >&5
81869 sed 's/^/| /' conftest.$ac_ext >&5
81870
81871 glibcxx_cv_func__finitel_use=no
81872 fi
81873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81874       ac_ext=c
81875 ac_cpp='$CPP $CPPFLAGS'
81876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81879
81880
81881 fi
81882
81883   fi
81884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81885 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81886
81887     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81888
81889 for ac_func in _finitel
81890 do
81891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81892 echo "$as_me:$LINENO: checking for $ac_func" >&5
81893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81894 if eval "test \"\${$as_ac_var+set}\" = set"; then
81895   echo $ECHO_N "(cached) $ECHO_C" >&6
81896 else
81897   if test x$gcc_no_link = xyes; then
81898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81900    { (exit 1); exit 1; }; }
81901 fi
81902 cat >conftest.$ac_ext <<_ACEOF
81903 /* confdefs.h.  */
81904 _ACEOF
81905 cat confdefs.h >>conftest.$ac_ext
81906 cat >>conftest.$ac_ext <<_ACEOF
81907 /* end confdefs.h.  */
81908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81910 #define $ac_func innocuous_$ac_func
81911
81912 /* System header to define __stub macros and hopefully few prototypes,
81913     which can conflict with char $ac_func (); below.
81914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81915     <limits.h> exists even on freestanding compilers.  */
81916
81917 #ifdef __STDC__
81918 # include <limits.h>
81919 #else
81920 # include <assert.h>
81921 #endif
81922
81923 #undef $ac_func
81924
81925 /* Override any gcc2 internal prototype to avoid an error.  */
81926 #ifdef __cplusplus
81927 extern "C"
81928 {
81929 #endif
81930 /* We use char because int might match the return type of a gcc2
81931    builtin and then its argument prototype would still apply.  */
81932 char $ac_func ();
81933 /* The GNU C library defines this for functions which it implements
81934     to always fail with ENOSYS.  Some functions are actually named
81935     something starting with __ and the normal name is an alias.  */
81936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81937 choke me
81938 #else
81939 char (*f) () = $ac_func;
81940 #endif
81941 #ifdef __cplusplus
81942 }
81943 #endif
81944
81945 int
81946 main ()
81947 {
81948 return f != $ac_func;
81949   ;
81950   return 0;
81951 }
81952 _ACEOF
81953 rm -f conftest.$ac_objext conftest$ac_exeext
81954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81955   (eval $ac_link) 2>conftest.er1
81956   ac_status=$?
81957   grep -v '^ *+' conftest.er1 >conftest.err
81958   rm -f conftest.er1
81959   cat conftest.err >&5
81960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961   (exit $ac_status); } &&
81962          { ac_try='test -z "$ac_c_werror_flag"
81963                          || test ! -s conftest.err'
81964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81965   (eval $ac_try) 2>&5
81966   ac_status=$?
81967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81968   (exit $ac_status); }; } &&
81969          { ac_try='test -s conftest$ac_exeext'
81970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81971   (eval $ac_try) 2>&5
81972   ac_status=$?
81973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81974   (exit $ac_status); }; }; then
81975   eval "$as_ac_var=yes"
81976 else
81977   echo "$as_me: failed program was:" >&5
81978 sed 's/^/| /' conftest.$ac_ext >&5
81979
81980 eval "$as_ac_var=no"
81981 fi
81982 rm -f conftest.err conftest.$ac_objext \
81983       conftest$ac_exeext conftest.$ac_ext
81984 fi
81985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81987 if test `eval echo '${'$as_ac_var'}'` = yes; then
81988   cat >>confdefs.h <<_ACEOF
81989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81990 _ACEOF
81991
81992 fi
81993 done
81994
81995     fi
81996   fi
81997
81998
81999
82000
82001
82002   LIBS="$ac_save_LIBS"
82003   CXXFLAGS="$ac_save_CXXFLAGS"
82004
82005
82006
82007   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82008 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82009   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82010     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82011   echo $ECHO_N "(cached) $ECHO_C" >&6
82012 else
82013
82014
82015
82016       ac_ext=cc
82017 ac_cpp='$CXXCPP $CPPFLAGS'
82018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82021
82022       cat >conftest.$ac_ext <<_ACEOF
82023 /* confdefs.h.  */
82024 _ACEOF
82025 cat confdefs.h >>conftest.$ac_ext
82026 cat >>conftest.$ac_ext <<_ACEOF
82027 /* end confdefs.h.  */
82028 #include <math.h>
82029 int
82030 main ()
82031 {
82032  __builtin_abs(0);
82033   ;
82034   return 0;
82035 }
82036 _ACEOF
82037 rm -f conftest.$ac_objext
82038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82039   (eval $ac_compile) 2>conftest.er1
82040   ac_status=$?
82041   grep -v '^ *+' conftest.er1 >conftest.err
82042   rm -f conftest.er1
82043   cat conftest.err >&5
82044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82045   (exit $ac_status); } &&
82046          { ac_try='test -z "$ac_cxx_werror_flag"
82047                          || test ! -s conftest.err'
82048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82049   (eval $ac_try) 2>&5
82050   ac_status=$?
82051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82052   (exit $ac_status); }; } &&
82053          { ac_try='test -s conftest.$ac_objext'
82054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82055   (eval $ac_try) 2>&5
82056   ac_status=$?
82057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82058   (exit $ac_status); }; }; then
82059   glibcxx_cv_func___builtin_abs_use=yes
82060 else
82061   echo "$as_me: failed program was:" >&5
82062 sed 's/^/| /' conftest.$ac_ext >&5
82063
82064 glibcxx_cv_func___builtin_abs_use=no
82065 fi
82066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82067       ac_ext=c
82068 ac_cpp='$CPP $CPPFLAGS'
82069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82072
82073
82074 fi
82075
82076   fi
82077   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82078 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82079   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82080     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82081 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82082     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82083       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82084   echo $ECHO_N "(cached) $ECHO_C" >&6
82085 else
82086
82087         if test x$gcc_no_link = xyes; then
82088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82090    { (exit 1); exit 1; }; }
82091 fi
82092 cat >conftest.$ac_ext <<_ACEOF
82093 /* confdefs.h.  */
82094 _ACEOF
82095 cat confdefs.h >>conftest.$ac_ext
82096 cat >>conftest.$ac_ext <<_ACEOF
82097 /* end confdefs.h.  */
82098 #include <math.h>
82099 int
82100 main ()
82101 {
82102  __builtin_abs(0);
82103   ;
82104   return 0;
82105 }
82106 _ACEOF
82107 rm -f conftest.$ac_objext conftest$ac_exeext
82108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82109   (eval $ac_link) 2>conftest.er1
82110   ac_status=$?
82111   grep -v '^ *+' conftest.er1 >conftest.err
82112   rm -f conftest.er1
82113   cat conftest.err >&5
82114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115   (exit $ac_status); } &&
82116          { ac_try='test -z "$ac_c_werror_flag"
82117                          || test ! -s conftest.err'
82118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119   (eval $ac_try) 2>&5
82120   ac_status=$?
82121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122   (exit $ac_status); }; } &&
82123          { ac_try='test -s conftest$ac_exeext'
82124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82125   (eval $ac_try) 2>&5
82126   ac_status=$?
82127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82128   (exit $ac_status); }; }; then
82129   glibcxx_cv_func___builtin_abs_link=yes
82130 else
82131   echo "$as_me: failed program was:" >&5
82132 sed 's/^/| /' conftest.$ac_ext >&5
82133
82134 glibcxx_cv_func___builtin_abs_link=no
82135 fi
82136 rm -f conftest.err conftest.$ac_objext \
82137       conftest$ac_exeext conftest.$ac_ext
82138
82139 fi
82140
82141     fi
82142     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82143 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82144
82145     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82146
82147 cat >>confdefs.h <<\_ACEOF
82148 #define HAVE___BUILTIN_ABS 1
82149 _ACEOF
82150
82151     fi
82152
82153   fi
82154
82155
82156   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82157 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82158   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82159     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82160   echo $ECHO_N "(cached) $ECHO_C" >&6
82161 else
82162
82163
82164
82165       ac_ext=cc
82166 ac_cpp='$CXXCPP $CPPFLAGS'
82167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82170
82171       cat >conftest.$ac_ext <<_ACEOF
82172 /* confdefs.h.  */
82173 _ACEOF
82174 cat confdefs.h >>conftest.$ac_ext
82175 cat >>conftest.$ac_ext <<_ACEOF
82176 /* end confdefs.h.  */
82177 #include <math.h>
82178 int
82179 main ()
82180 {
82181  __builtin_fabsf(0);
82182   ;
82183   return 0;
82184 }
82185 _ACEOF
82186 rm -f conftest.$ac_objext
82187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82188   (eval $ac_compile) 2>conftest.er1
82189   ac_status=$?
82190   grep -v '^ *+' conftest.er1 >conftest.err
82191   rm -f conftest.er1
82192   cat conftest.err >&5
82193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82194   (exit $ac_status); } &&
82195          { ac_try='test -z "$ac_cxx_werror_flag"
82196                          || test ! -s conftest.err'
82197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82198   (eval $ac_try) 2>&5
82199   ac_status=$?
82200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201   (exit $ac_status); }; } &&
82202          { ac_try='test -s conftest.$ac_objext'
82203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82204   (eval $ac_try) 2>&5
82205   ac_status=$?
82206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82207   (exit $ac_status); }; }; then
82208   glibcxx_cv_func___builtin_fabsf_use=yes
82209 else
82210   echo "$as_me: failed program was:" >&5
82211 sed 's/^/| /' conftest.$ac_ext >&5
82212
82213 glibcxx_cv_func___builtin_fabsf_use=no
82214 fi
82215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82216       ac_ext=c
82217 ac_cpp='$CPP $CPPFLAGS'
82218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82221
82222
82223 fi
82224
82225   fi
82226   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82227 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82228   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82229     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82230 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82231     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82232       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82233   echo $ECHO_N "(cached) $ECHO_C" >&6
82234 else
82235
82236         if test x$gcc_no_link = xyes; then
82237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82239    { (exit 1); exit 1; }; }
82240 fi
82241 cat >conftest.$ac_ext <<_ACEOF
82242 /* confdefs.h.  */
82243 _ACEOF
82244 cat confdefs.h >>conftest.$ac_ext
82245 cat >>conftest.$ac_ext <<_ACEOF
82246 /* end confdefs.h.  */
82247 #include <math.h>
82248 int
82249 main ()
82250 {
82251  __builtin_fabsf(0);
82252   ;
82253   return 0;
82254 }
82255 _ACEOF
82256 rm -f conftest.$ac_objext conftest$ac_exeext
82257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82258   (eval $ac_link) 2>conftest.er1
82259   ac_status=$?
82260   grep -v '^ *+' conftest.er1 >conftest.err
82261   rm -f conftest.er1
82262   cat conftest.err >&5
82263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82264   (exit $ac_status); } &&
82265          { ac_try='test -z "$ac_c_werror_flag"
82266                          || test ! -s conftest.err'
82267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82268   (eval $ac_try) 2>&5
82269   ac_status=$?
82270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82271   (exit $ac_status); }; } &&
82272          { ac_try='test -s conftest$ac_exeext'
82273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82274   (eval $ac_try) 2>&5
82275   ac_status=$?
82276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82277   (exit $ac_status); }; }; then
82278   glibcxx_cv_func___builtin_fabsf_link=yes
82279 else
82280   echo "$as_me: failed program was:" >&5
82281 sed 's/^/| /' conftest.$ac_ext >&5
82282
82283 glibcxx_cv_func___builtin_fabsf_link=no
82284 fi
82285 rm -f conftest.err conftest.$ac_objext \
82286       conftest$ac_exeext conftest.$ac_ext
82287
82288 fi
82289
82290     fi
82291     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82292 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82293
82294     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82295
82296 cat >>confdefs.h <<\_ACEOF
82297 #define HAVE___BUILTIN_FABSF 1
82298 _ACEOF
82299
82300     fi
82301
82302   fi
82303
82304
82305   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82306 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82307   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82308     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82309   echo $ECHO_N "(cached) $ECHO_C" >&6
82310 else
82311
82312
82313
82314       ac_ext=cc
82315 ac_cpp='$CXXCPP $CPPFLAGS'
82316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82319
82320       cat >conftest.$ac_ext <<_ACEOF
82321 /* confdefs.h.  */
82322 _ACEOF
82323 cat confdefs.h >>conftest.$ac_ext
82324 cat >>conftest.$ac_ext <<_ACEOF
82325 /* end confdefs.h.  */
82326 #include <math.h>
82327 int
82328 main ()
82329 {
82330  __builtin_fabs(0);
82331   ;
82332   return 0;
82333 }
82334 _ACEOF
82335 rm -f conftest.$ac_objext
82336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82337   (eval $ac_compile) 2>conftest.er1
82338   ac_status=$?
82339   grep -v '^ *+' conftest.er1 >conftest.err
82340   rm -f conftest.er1
82341   cat conftest.err >&5
82342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82343   (exit $ac_status); } &&
82344          { ac_try='test -z "$ac_cxx_werror_flag"
82345                          || test ! -s conftest.err'
82346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82347   (eval $ac_try) 2>&5
82348   ac_status=$?
82349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82350   (exit $ac_status); }; } &&
82351          { ac_try='test -s conftest.$ac_objext'
82352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82353   (eval $ac_try) 2>&5
82354   ac_status=$?
82355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82356   (exit $ac_status); }; }; then
82357   glibcxx_cv_func___builtin_fabs_use=yes
82358 else
82359   echo "$as_me: failed program was:" >&5
82360 sed 's/^/| /' conftest.$ac_ext >&5
82361
82362 glibcxx_cv_func___builtin_fabs_use=no
82363 fi
82364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82365       ac_ext=c
82366 ac_cpp='$CPP $CPPFLAGS'
82367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82370
82371
82372 fi
82373
82374   fi
82375   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
82376 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
82377   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
82378     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
82379 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
82380     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
82381       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
82382   echo $ECHO_N "(cached) $ECHO_C" >&6
82383 else
82384
82385         if test x$gcc_no_link = xyes; then
82386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82388    { (exit 1); exit 1; }; }
82389 fi
82390 cat >conftest.$ac_ext <<_ACEOF
82391 /* confdefs.h.  */
82392 _ACEOF
82393 cat confdefs.h >>conftest.$ac_ext
82394 cat >>conftest.$ac_ext <<_ACEOF
82395 /* end confdefs.h.  */
82396 #include <math.h>
82397 int
82398 main ()
82399 {
82400  __builtin_fabs(0);
82401   ;
82402   return 0;
82403 }
82404 _ACEOF
82405 rm -f conftest.$ac_objext conftest$ac_exeext
82406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82407   (eval $ac_link) 2>conftest.er1
82408   ac_status=$?
82409   grep -v '^ *+' conftest.er1 >conftest.err
82410   rm -f conftest.er1
82411   cat conftest.err >&5
82412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413   (exit $ac_status); } &&
82414          { ac_try='test -z "$ac_c_werror_flag"
82415                          || test ! -s conftest.err'
82416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82417   (eval $ac_try) 2>&5
82418   ac_status=$?
82419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82420   (exit $ac_status); }; } &&
82421          { ac_try='test -s conftest$ac_exeext'
82422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82423   (eval $ac_try) 2>&5
82424   ac_status=$?
82425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426   (exit $ac_status); }; }; then
82427   glibcxx_cv_func___builtin_fabs_link=yes
82428 else
82429   echo "$as_me: failed program was:" >&5
82430 sed 's/^/| /' conftest.$ac_ext >&5
82431
82432 glibcxx_cv_func___builtin_fabs_link=no
82433 fi
82434 rm -f conftest.err conftest.$ac_objext \
82435       conftest$ac_exeext conftest.$ac_ext
82436
82437 fi
82438
82439     fi
82440     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82441 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82442
82443     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82444
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE___BUILTIN_FABS 1
82447 _ACEOF
82448
82449     fi
82450
82451   fi
82452
82453
82454   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82455 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82456   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82457     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82458   echo $ECHO_N "(cached) $ECHO_C" >&6
82459 else
82460
82461
82462
82463       ac_ext=cc
82464 ac_cpp='$CXXCPP $CPPFLAGS'
82465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82468
82469       cat >conftest.$ac_ext <<_ACEOF
82470 /* confdefs.h.  */
82471 _ACEOF
82472 cat confdefs.h >>conftest.$ac_ext
82473 cat >>conftest.$ac_ext <<_ACEOF
82474 /* end confdefs.h.  */
82475 #include <math.h>
82476 int
82477 main ()
82478 {
82479  __builtin_fabsl(0);
82480   ;
82481   return 0;
82482 }
82483 _ACEOF
82484 rm -f conftest.$ac_objext
82485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82486   (eval $ac_compile) 2>conftest.er1
82487   ac_status=$?
82488   grep -v '^ *+' conftest.er1 >conftest.err
82489   rm -f conftest.er1
82490   cat conftest.err >&5
82491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82492   (exit $ac_status); } &&
82493          { ac_try='test -z "$ac_cxx_werror_flag"
82494                          || test ! -s conftest.err'
82495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82496   (eval $ac_try) 2>&5
82497   ac_status=$?
82498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82499   (exit $ac_status); }; } &&
82500          { ac_try='test -s conftest.$ac_objext'
82501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82502   (eval $ac_try) 2>&5
82503   ac_status=$?
82504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82505   (exit $ac_status); }; }; then
82506   glibcxx_cv_func___builtin_fabsl_use=yes
82507 else
82508   echo "$as_me: failed program was:" >&5
82509 sed 's/^/| /' conftest.$ac_ext >&5
82510
82511 glibcxx_cv_func___builtin_fabsl_use=no
82512 fi
82513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82514       ac_ext=c
82515 ac_cpp='$CPP $CPPFLAGS'
82516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82519
82520
82521 fi
82522
82523   fi
82524   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82525 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82526   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82527     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82528 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82529     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82530       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82531   echo $ECHO_N "(cached) $ECHO_C" >&6
82532 else
82533
82534         if test x$gcc_no_link = xyes; then
82535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82537    { (exit 1); exit 1; }; }
82538 fi
82539 cat >conftest.$ac_ext <<_ACEOF
82540 /* confdefs.h.  */
82541 _ACEOF
82542 cat confdefs.h >>conftest.$ac_ext
82543 cat >>conftest.$ac_ext <<_ACEOF
82544 /* end confdefs.h.  */
82545 #include <math.h>
82546 int
82547 main ()
82548 {
82549  __builtin_fabsl(0);
82550   ;
82551   return 0;
82552 }
82553 _ACEOF
82554 rm -f conftest.$ac_objext conftest$ac_exeext
82555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82556   (eval $ac_link) 2>conftest.er1
82557   ac_status=$?
82558   grep -v '^ *+' conftest.er1 >conftest.err
82559   rm -f conftest.er1
82560   cat conftest.err >&5
82561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562   (exit $ac_status); } &&
82563          { ac_try='test -z "$ac_c_werror_flag"
82564                          || test ! -s conftest.err'
82565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82566   (eval $ac_try) 2>&5
82567   ac_status=$?
82568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82569   (exit $ac_status); }; } &&
82570          { ac_try='test -s conftest$ac_exeext'
82571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82572   (eval $ac_try) 2>&5
82573   ac_status=$?
82574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82575   (exit $ac_status); }; }; then
82576   glibcxx_cv_func___builtin_fabsl_link=yes
82577 else
82578   echo "$as_me: failed program was:" >&5
82579 sed 's/^/| /' conftest.$ac_ext >&5
82580
82581 glibcxx_cv_func___builtin_fabsl_link=no
82582 fi
82583 rm -f conftest.err conftest.$ac_objext \
82584       conftest$ac_exeext conftest.$ac_ext
82585
82586 fi
82587
82588     fi
82589     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82591
82592     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82593
82594 cat >>confdefs.h <<\_ACEOF
82595 #define HAVE___BUILTIN_FABSL 1
82596 _ACEOF
82597
82598     fi
82599
82600   fi
82601
82602
82603   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82604 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82605   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82606     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82607   echo $ECHO_N "(cached) $ECHO_C" >&6
82608 else
82609
82610
82611
82612       ac_ext=cc
82613 ac_cpp='$CXXCPP $CPPFLAGS'
82614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82617
82618       cat >conftest.$ac_ext <<_ACEOF
82619 /* confdefs.h.  */
82620 _ACEOF
82621 cat confdefs.h >>conftest.$ac_ext
82622 cat >>conftest.$ac_ext <<_ACEOF
82623 /* end confdefs.h.  */
82624 #include <math.h>
82625 int
82626 main ()
82627 {
82628  __builtin_labs(0);
82629   ;
82630   return 0;
82631 }
82632 _ACEOF
82633 rm -f conftest.$ac_objext
82634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82635   (eval $ac_compile) 2>conftest.er1
82636   ac_status=$?
82637   grep -v '^ *+' conftest.er1 >conftest.err
82638   rm -f conftest.er1
82639   cat conftest.err >&5
82640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82641   (exit $ac_status); } &&
82642          { ac_try='test -z "$ac_cxx_werror_flag"
82643                          || test ! -s conftest.err'
82644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82645   (eval $ac_try) 2>&5
82646   ac_status=$?
82647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82648   (exit $ac_status); }; } &&
82649          { ac_try='test -s conftest.$ac_objext'
82650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82651   (eval $ac_try) 2>&5
82652   ac_status=$?
82653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82654   (exit $ac_status); }; }; then
82655   glibcxx_cv_func___builtin_labs_use=yes
82656 else
82657   echo "$as_me: failed program was:" >&5
82658 sed 's/^/| /' conftest.$ac_ext >&5
82659
82660 glibcxx_cv_func___builtin_labs_use=no
82661 fi
82662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82663       ac_ext=c
82664 ac_cpp='$CPP $CPPFLAGS'
82665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82668
82669
82670 fi
82671
82672   fi
82673   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82674 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82675   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82676     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82677 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82678     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82679       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82680   echo $ECHO_N "(cached) $ECHO_C" >&6
82681 else
82682
82683         if test x$gcc_no_link = xyes; then
82684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82686    { (exit 1); exit 1; }; }
82687 fi
82688 cat >conftest.$ac_ext <<_ACEOF
82689 /* confdefs.h.  */
82690 _ACEOF
82691 cat confdefs.h >>conftest.$ac_ext
82692 cat >>conftest.$ac_ext <<_ACEOF
82693 /* end confdefs.h.  */
82694 #include <math.h>
82695 int
82696 main ()
82697 {
82698  __builtin_labs(0);
82699   ;
82700   return 0;
82701 }
82702 _ACEOF
82703 rm -f conftest.$ac_objext conftest$ac_exeext
82704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82705   (eval $ac_link) 2>conftest.er1
82706   ac_status=$?
82707   grep -v '^ *+' conftest.er1 >conftest.err
82708   rm -f conftest.er1
82709   cat conftest.err >&5
82710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711   (exit $ac_status); } &&
82712          { ac_try='test -z "$ac_c_werror_flag"
82713                          || test ! -s conftest.err'
82714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82715   (eval $ac_try) 2>&5
82716   ac_status=$?
82717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82718   (exit $ac_status); }; } &&
82719          { ac_try='test -s conftest$ac_exeext'
82720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82721   (eval $ac_try) 2>&5
82722   ac_status=$?
82723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82724   (exit $ac_status); }; }; then
82725   glibcxx_cv_func___builtin_labs_link=yes
82726 else
82727   echo "$as_me: failed program was:" >&5
82728 sed 's/^/| /' conftest.$ac_ext >&5
82729
82730 glibcxx_cv_func___builtin_labs_link=no
82731 fi
82732 rm -f conftest.err conftest.$ac_objext \
82733       conftest$ac_exeext conftest.$ac_ext
82734
82735 fi
82736
82737     fi
82738     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82739 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82740
82741     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82742
82743 cat >>confdefs.h <<\_ACEOF
82744 #define HAVE___BUILTIN_LABS 1
82745 _ACEOF
82746
82747     fi
82748
82749   fi
82750
82751
82752
82753   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82754 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82755   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82756     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82757   echo $ECHO_N "(cached) $ECHO_C" >&6
82758 else
82759
82760
82761
82762       ac_ext=cc
82763 ac_cpp='$CXXCPP $CPPFLAGS'
82764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82767
82768       cat >conftest.$ac_ext <<_ACEOF
82769 /* confdefs.h.  */
82770 _ACEOF
82771 cat confdefs.h >>conftest.$ac_ext
82772 cat >>conftest.$ac_ext <<_ACEOF
82773 /* end confdefs.h.  */
82774 #include <math.h>
82775 int
82776 main ()
82777 {
82778  __builtin_sqrtf(0);
82779   ;
82780   return 0;
82781 }
82782 _ACEOF
82783 rm -f conftest.$ac_objext
82784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82785   (eval $ac_compile) 2>conftest.er1
82786   ac_status=$?
82787   grep -v '^ *+' conftest.er1 >conftest.err
82788   rm -f conftest.er1
82789   cat conftest.err >&5
82790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791   (exit $ac_status); } &&
82792          { ac_try='test -z "$ac_cxx_werror_flag"
82793                          || test ! -s conftest.err'
82794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82795   (eval $ac_try) 2>&5
82796   ac_status=$?
82797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82798   (exit $ac_status); }; } &&
82799          { ac_try='test -s conftest.$ac_objext'
82800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82801   (eval $ac_try) 2>&5
82802   ac_status=$?
82803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82804   (exit $ac_status); }; }; then
82805   glibcxx_cv_func___builtin_sqrtf_use=yes
82806 else
82807   echo "$as_me: failed program was:" >&5
82808 sed 's/^/| /' conftest.$ac_ext >&5
82809
82810 glibcxx_cv_func___builtin_sqrtf_use=no
82811 fi
82812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82813       ac_ext=c
82814 ac_cpp='$CPP $CPPFLAGS'
82815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82818
82819
82820 fi
82821
82822   fi
82823   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82825   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82826     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82827 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82828     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82829       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82830   echo $ECHO_N "(cached) $ECHO_C" >&6
82831 else
82832
82833         if test x$gcc_no_link = xyes; then
82834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82836    { (exit 1); exit 1; }; }
82837 fi
82838 cat >conftest.$ac_ext <<_ACEOF
82839 /* confdefs.h.  */
82840 _ACEOF
82841 cat confdefs.h >>conftest.$ac_ext
82842 cat >>conftest.$ac_ext <<_ACEOF
82843 /* end confdefs.h.  */
82844 #include <math.h>
82845 int
82846 main ()
82847 {
82848  __builtin_sqrtf(0);
82849   ;
82850   return 0;
82851 }
82852 _ACEOF
82853 rm -f conftest.$ac_objext conftest$ac_exeext
82854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82855   (eval $ac_link) 2>conftest.er1
82856   ac_status=$?
82857   grep -v '^ *+' conftest.er1 >conftest.err
82858   rm -f conftest.er1
82859   cat conftest.err >&5
82860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82861   (exit $ac_status); } &&
82862          { ac_try='test -z "$ac_c_werror_flag"
82863                          || test ! -s conftest.err'
82864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82865   (eval $ac_try) 2>&5
82866   ac_status=$?
82867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82868   (exit $ac_status); }; } &&
82869          { ac_try='test -s conftest$ac_exeext'
82870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82871   (eval $ac_try) 2>&5
82872   ac_status=$?
82873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82874   (exit $ac_status); }; }; then
82875   glibcxx_cv_func___builtin_sqrtf_link=yes
82876 else
82877   echo "$as_me: failed program was:" >&5
82878 sed 's/^/| /' conftest.$ac_ext >&5
82879
82880 glibcxx_cv_func___builtin_sqrtf_link=no
82881 fi
82882 rm -f conftest.err conftest.$ac_objext \
82883       conftest$ac_exeext conftest.$ac_ext
82884
82885 fi
82886
82887     fi
82888     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82890
82891     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82892
82893 cat >>confdefs.h <<\_ACEOF
82894 #define HAVE___BUILTIN_SQRTF 1
82895 _ACEOF
82896
82897     fi
82898
82899   fi
82900
82901
82902   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82903 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82904   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82905     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82906   echo $ECHO_N "(cached) $ECHO_C" >&6
82907 else
82908
82909
82910
82911       ac_ext=cc
82912 ac_cpp='$CXXCPP $CPPFLAGS'
82913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82916
82917       cat >conftest.$ac_ext <<_ACEOF
82918 /* confdefs.h.  */
82919 _ACEOF
82920 cat confdefs.h >>conftest.$ac_ext
82921 cat >>conftest.$ac_ext <<_ACEOF
82922 /* end confdefs.h.  */
82923 #include <math.h>
82924 int
82925 main ()
82926 {
82927  __builtin_sqrt(0);
82928   ;
82929   return 0;
82930 }
82931 _ACEOF
82932 rm -f conftest.$ac_objext
82933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82934   (eval $ac_compile) 2>conftest.er1
82935   ac_status=$?
82936   grep -v '^ *+' conftest.er1 >conftest.err
82937   rm -f conftest.er1
82938   cat conftest.err >&5
82939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82940   (exit $ac_status); } &&
82941          { ac_try='test -z "$ac_cxx_werror_flag"
82942                          || test ! -s conftest.err'
82943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82944   (eval $ac_try) 2>&5
82945   ac_status=$?
82946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82947   (exit $ac_status); }; } &&
82948          { ac_try='test -s conftest.$ac_objext'
82949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82950   (eval $ac_try) 2>&5
82951   ac_status=$?
82952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82953   (exit $ac_status); }; }; then
82954   glibcxx_cv_func___builtin_sqrt_use=yes
82955 else
82956   echo "$as_me: failed program was:" >&5
82957 sed 's/^/| /' conftest.$ac_ext >&5
82958
82959 glibcxx_cv_func___builtin_sqrt_use=no
82960 fi
82961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82962       ac_ext=c
82963 ac_cpp='$CPP $CPPFLAGS'
82964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82967
82968
82969 fi
82970
82971   fi
82972   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82974   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82975     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82976 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82977     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82978       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82979   echo $ECHO_N "(cached) $ECHO_C" >&6
82980 else
82981
82982         if test x$gcc_no_link = xyes; then
82983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82985    { (exit 1); exit 1; }; }
82986 fi
82987 cat >conftest.$ac_ext <<_ACEOF
82988 /* confdefs.h.  */
82989 _ACEOF
82990 cat confdefs.h >>conftest.$ac_ext
82991 cat >>conftest.$ac_ext <<_ACEOF
82992 /* end confdefs.h.  */
82993 #include <math.h>
82994 int
82995 main ()
82996 {
82997  __builtin_sqrt(0);
82998   ;
82999   return 0;
83000 }
83001 _ACEOF
83002 rm -f conftest.$ac_objext conftest$ac_exeext
83003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83004   (eval $ac_link) 2>conftest.er1
83005   ac_status=$?
83006   grep -v '^ *+' conftest.er1 >conftest.err
83007   rm -f conftest.er1
83008   cat conftest.err >&5
83009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83010   (exit $ac_status); } &&
83011          { ac_try='test -z "$ac_c_werror_flag"
83012                          || test ! -s conftest.err'
83013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83014   (eval $ac_try) 2>&5
83015   ac_status=$?
83016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83017   (exit $ac_status); }; } &&
83018          { ac_try='test -s conftest$ac_exeext'
83019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83020   (eval $ac_try) 2>&5
83021   ac_status=$?
83022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83023   (exit $ac_status); }; }; then
83024   glibcxx_cv_func___builtin_sqrt_link=yes
83025 else
83026   echo "$as_me: failed program was:" >&5
83027 sed 's/^/| /' conftest.$ac_ext >&5
83028
83029 glibcxx_cv_func___builtin_sqrt_link=no
83030 fi
83031 rm -f conftest.err conftest.$ac_objext \
83032       conftest$ac_exeext conftest.$ac_ext
83033
83034 fi
83035
83036     fi
83037     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83038 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83039
83040     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83041
83042 cat >>confdefs.h <<\_ACEOF
83043 #define HAVE___BUILTIN_SQRT 1
83044 _ACEOF
83045
83046     fi
83047
83048   fi
83049
83050
83051   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83052 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83053   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83054     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83055   echo $ECHO_N "(cached) $ECHO_C" >&6
83056 else
83057
83058
83059
83060       ac_ext=cc
83061 ac_cpp='$CXXCPP $CPPFLAGS'
83062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83065
83066       cat >conftest.$ac_ext <<_ACEOF
83067 /* confdefs.h.  */
83068 _ACEOF
83069 cat confdefs.h >>conftest.$ac_ext
83070 cat >>conftest.$ac_ext <<_ACEOF
83071 /* end confdefs.h.  */
83072 #include <math.h>
83073 int
83074 main ()
83075 {
83076  __builtin_sqrtl(0);
83077   ;
83078   return 0;
83079 }
83080 _ACEOF
83081 rm -f conftest.$ac_objext
83082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83083   (eval $ac_compile) 2>conftest.er1
83084   ac_status=$?
83085   grep -v '^ *+' conftest.er1 >conftest.err
83086   rm -f conftest.er1
83087   cat conftest.err >&5
83088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83089   (exit $ac_status); } &&
83090          { ac_try='test -z "$ac_cxx_werror_flag"
83091                          || test ! -s conftest.err'
83092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83093   (eval $ac_try) 2>&5
83094   ac_status=$?
83095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83096   (exit $ac_status); }; } &&
83097          { ac_try='test -s conftest.$ac_objext'
83098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83099   (eval $ac_try) 2>&5
83100   ac_status=$?
83101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83102   (exit $ac_status); }; }; then
83103   glibcxx_cv_func___builtin_sqrtl_use=yes
83104 else
83105   echo "$as_me: failed program was:" >&5
83106 sed 's/^/| /' conftest.$ac_ext >&5
83107
83108 glibcxx_cv_func___builtin_sqrtl_use=no
83109 fi
83110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83111       ac_ext=c
83112 ac_cpp='$CPP $CPPFLAGS'
83113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83116
83117
83118 fi
83119
83120   fi
83121   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83123   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83124     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83125 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83126     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83127       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83128   echo $ECHO_N "(cached) $ECHO_C" >&6
83129 else
83130
83131         if test x$gcc_no_link = xyes; then
83132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83134    { (exit 1); exit 1; }; }
83135 fi
83136 cat >conftest.$ac_ext <<_ACEOF
83137 /* confdefs.h.  */
83138 _ACEOF
83139 cat confdefs.h >>conftest.$ac_ext
83140 cat >>conftest.$ac_ext <<_ACEOF
83141 /* end confdefs.h.  */
83142 #include <math.h>
83143 int
83144 main ()
83145 {
83146  __builtin_sqrtl(0);
83147   ;
83148   return 0;
83149 }
83150 _ACEOF
83151 rm -f conftest.$ac_objext conftest$ac_exeext
83152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83153   (eval $ac_link) 2>conftest.er1
83154   ac_status=$?
83155   grep -v '^ *+' conftest.er1 >conftest.err
83156   rm -f conftest.er1
83157   cat conftest.err >&5
83158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83159   (exit $ac_status); } &&
83160          { ac_try='test -z "$ac_c_werror_flag"
83161                          || test ! -s conftest.err'
83162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83163   (eval $ac_try) 2>&5
83164   ac_status=$?
83165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83166   (exit $ac_status); }; } &&
83167          { ac_try='test -s conftest$ac_exeext'
83168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169   (eval $ac_try) 2>&5
83170   ac_status=$?
83171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172   (exit $ac_status); }; }; then
83173   glibcxx_cv_func___builtin_sqrtl_link=yes
83174 else
83175   echo "$as_me: failed program was:" >&5
83176 sed 's/^/| /' conftest.$ac_ext >&5
83177
83178 glibcxx_cv_func___builtin_sqrtl_link=no
83179 fi
83180 rm -f conftest.err conftest.$ac_objext \
83181       conftest$ac_exeext conftest.$ac_ext
83182
83183 fi
83184
83185     fi
83186     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83188
83189     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83190
83191 cat >>confdefs.h <<\_ACEOF
83192 #define HAVE___BUILTIN_SQRTL 1
83193 _ACEOF
83194
83195     fi
83196
83197   fi
83198
83199
83200
83201   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83202 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83203   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83204     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83205   echo $ECHO_N "(cached) $ECHO_C" >&6
83206 else
83207
83208
83209
83210       ac_ext=cc
83211 ac_cpp='$CXXCPP $CPPFLAGS'
83212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83215
83216       cat >conftest.$ac_ext <<_ACEOF
83217 /* confdefs.h.  */
83218 _ACEOF
83219 cat confdefs.h >>conftest.$ac_ext
83220 cat >>conftest.$ac_ext <<_ACEOF
83221 /* end confdefs.h.  */
83222 #include <math.h>
83223 int
83224 main ()
83225 {
83226  __builtin_sinf(0);
83227   ;
83228   return 0;
83229 }
83230 _ACEOF
83231 rm -f conftest.$ac_objext
83232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83233   (eval $ac_compile) 2>conftest.er1
83234   ac_status=$?
83235   grep -v '^ *+' conftest.er1 >conftest.err
83236   rm -f conftest.er1
83237   cat conftest.err >&5
83238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83239   (exit $ac_status); } &&
83240          { ac_try='test -z "$ac_cxx_werror_flag"
83241                          || test ! -s conftest.err'
83242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83243   (eval $ac_try) 2>&5
83244   ac_status=$?
83245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83246   (exit $ac_status); }; } &&
83247          { ac_try='test -s conftest.$ac_objext'
83248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83249   (eval $ac_try) 2>&5
83250   ac_status=$?
83251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83252   (exit $ac_status); }; }; then
83253   glibcxx_cv_func___builtin_sinf_use=yes
83254 else
83255   echo "$as_me: failed program was:" >&5
83256 sed 's/^/| /' conftest.$ac_ext >&5
83257
83258 glibcxx_cv_func___builtin_sinf_use=no
83259 fi
83260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83261       ac_ext=c
83262 ac_cpp='$CPP $CPPFLAGS'
83263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83266
83267
83268 fi
83269
83270   fi
83271   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83272 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83273   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83274     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83275 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83276     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83277       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83278   echo $ECHO_N "(cached) $ECHO_C" >&6
83279 else
83280
83281         if test x$gcc_no_link = xyes; then
83282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83284    { (exit 1); exit 1; }; }
83285 fi
83286 cat >conftest.$ac_ext <<_ACEOF
83287 /* confdefs.h.  */
83288 _ACEOF
83289 cat confdefs.h >>conftest.$ac_ext
83290 cat >>conftest.$ac_ext <<_ACEOF
83291 /* end confdefs.h.  */
83292 #include <math.h>
83293 int
83294 main ()
83295 {
83296  __builtin_sinf(0);
83297   ;
83298   return 0;
83299 }
83300 _ACEOF
83301 rm -f conftest.$ac_objext conftest$ac_exeext
83302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83303   (eval $ac_link) 2>conftest.er1
83304   ac_status=$?
83305   grep -v '^ *+' conftest.er1 >conftest.err
83306   rm -f conftest.er1
83307   cat conftest.err >&5
83308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309   (exit $ac_status); } &&
83310          { ac_try='test -z "$ac_c_werror_flag"
83311                          || test ! -s conftest.err'
83312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83313   (eval $ac_try) 2>&5
83314   ac_status=$?
83315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83316   (exit $ac_status); }; } &&
83317          { ac_try='test -s conftest$ac_exeext'
83318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83319   (eval $ac_try) 2>&5
83320   ac_status=$?
83321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322   (exit $ac_status); }; }; then
83323   glibcxx_cv_func___builtin_sinf_link=yes
83324 else
83325   echo "$as_me: failed program was:" >&5
83326 sed 's/^/| /' conftest.$ac_ext >&5
83327
83328 glibcxx_cv_func___builtin_sinf_link=no
83329 fi
83330 rm -f conftest.err conftest.$ac_objext \
83331       conftest$ac_exeext conftest.$ac_ext
83332
83333 fi
83334
83335     fi
83336     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83337 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
83338
83339     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
83340
83341 cat >>confdefs.h <<\_ACEOF
83342 #define HAVE___BUILTIN_SINF 1
83343 _ACEOF
83344
83345     fi
83346
83347   fi
83348
83349
83350   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
83351 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
83352   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
83353     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
83354   echo $ECHO_N "(cached) $ECHO_C" >&6
83355 else
83356
83357
83358
83359       ac_ext=cc
83360 ac_cpp='$CXXCPP $CPPFLAGS'
83361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83364
83365       cat >conftest.$ac_ext <<_ACEOF
83366 /* confdefs.h.  */
83367 _ACEOF
83368 cat confdefs.h >>conftest.$ac_ext
83369 cat >>conftest.$ac_ext <<_ACEOF
83370 /* end confdefs.h.  */
83371 #include <math.h>
83372 int
83373 main ()
83374 {
83375  __builtin_sin(0);
83376   ;
83377   return 0;
83378 }
83379 _ACEOF
83380 rm -f conftest.$ac_objext
83381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83382   (eval $ac_compile) 2>conftest.er1
83383   ac_status=$?
83384   grep -v '^ *+' conftest.er1 >conftest.err
83385   rm -f conftest.er1
83386   cat conftest.err >&5
83387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83388   (exit $ac_status); } &&
83389          { ac_try='test -z "$ac_cxx_werror_flag"
83390                          || test ! -s conftest.err'
83391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83392   (eval $ac_try) 2>&5
83393   ac_status=$?
83394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83395   (exit $ac_status); }; } &&
83396          { ac_try='test -s conftest.$ac_objext'
83397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83398   (eval $ac_try) 2>&5
83399   ac_status=$?
83400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83401   (exit $ac_status); }; }; then
83402   glibcxx_cv_func___builtin_sin_use=yes
83403 else
83404   echo "$as_me: failed program was:" >&5
83405 sed 's/^/| /' conftest.$ac_ext >&5
83406
83407 glibcxx_cv_func___builtin_sin_use=no
83408 fi
83409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83410       ac_ext=c
83411 ac_cpp='$CPP $CPPFLAGS'
83412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83415
83416
83417 fi
83418
83419   fi
83420   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83422   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83423     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83424 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83425     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83426       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83427   echo $ECHO_N "(cached) $ECHO_C" >&6
83428 else
83429
83430         if test x$gcc_no_link = xyes; then
83431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83433    { (exit 1); exit 1; }; }
83434 fi
83435 cat >conftest.$ac_ext <<_ACEOF
83436 /* confdefs.h.  */
83437 _ACEOF
83438 cat confdefs.h >>conftest.$ac_ext
83439 cat >>conftest.$ac_ext <<_ACEOF
83440 /* end confdefs.h.  */
83441 #include <math.h>
83442 int
83443 main ()
83444 {
83445  __builtin_sin(0);
83446   ;
83447   return 0;
83448 }
83449 _ACEOF
83450 rm -f conftest.$ac_objext conftest$ac_exeext
83451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83452   (eval $ac_link) 2>conftest.er1
83453   ac_status=$?
83454   grep -v '^ *+' conftest.er1 >conftest.err
83455   rm -f conftest.er1
83456   cat conftest.err >&5
83457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83458   (exit $ac_status); } &&
83459          { ac_try='test -z "$ac_c_werror_flag"
83460                          || test ! -s conftest.err'
83461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83462   (eval $ac_try) 2>&5
83463   ac_status=$?
83464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83465   (exit $ac_status); }; } &&
83466          { ac_try='test -s conftest$ac_exeext'
83467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83468   (eval $ac_try) 2>&5
83469   ac_status=$?
83470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83471   (exit $ac_status); }; }; then
83472   glibcxx_cv_func___builtin_sin_link=yes
83473 else
83474   echo "$as_me: failed program was:" >&5
83475 sed 's/^/| /' conftest.$ac_ext >&5
83476
83477 glibcxx_cv_func___builtin_sin_link=no
83478 fi
83479 rm -f conftest.err conftest.$ac_objext \
83480       conftest$ac_exeext conftest.$ac_ext
83481
83482 fi
83483
83484     fi
83485     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83486 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83487
83488     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83489
83490 cat >>confdefs.h <<\_ACEOF
83491 #define HAVE___BUILTIN_SIN 1
83492 _ACEOF
83493
83494     fi
83495
83496   fi
83497
83498
83499   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83500 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83501   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83502     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83503   echo $ECHO_N "(cached) $ECHO_C" >&6
83504 else
83505
83506
83507
83508       ac_ext=cc
83509 ac_cpp='$CXXCPP $CPPFLAGS'
83510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83513
83514       cat >conftest.$ac_ext <<_ACEOF
83515 /* confdefs.h.  */
83516 _ACEOF
83517 cat confdefs.h >>conftest.$ac_ext
83518 cat >>conftest.$ac_ext <<_ACEOF
83519 /* end confdefs.h.  */
83520 #include <math.h>
83521 int
83522 main ()
83523 {
83524  __builtin_sinl(0);
83525   ;
83526   return 0;
83527 }
83528 _ACEOF
83529 rm -f conftest.$ac_objext
83530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83531   (eval $ac_compile) 2>conftest.er1
83532   ac_status=$?
83533   grep -v '^ *+' conftest.er1 >conftest.err
83534   rm -f conftest.er1
83535   cat conftest.err >&5
83536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83537   (exit $ac_status); } &&
83538          { ac_try='test -z "$ac_cxx_werror_flag"
83539                          || test ! -s conftest.err'
83540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83541   (eval $ac_try) 2>&5
83542   ac_status=$?
83543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83544   (exit $ac_status); }; } &&
83545          { ac_try='test -s conftest.$ac_objext'
83546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83547   (eval $ac_try) 2>&5
83548   ac_status=$?
83549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550   (exit $ac_status); }; }; then
83551   glibcxx_cv_func___builtin_sinl_use=yes
83552 else
83553   echo "$as_me: failed program was:" >&5
83554 sed 's/^/| /' conftest.$ac_ext >&5
83555
83556 glibcxx_cv_func___builtin_sinl_use=no
83557 fi
83558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83559       ac_ext=c
83560 ac_cpp='$CPP $CPPFLAGS'
83561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83564
83565
83566 fi
83567
83568   fi
83569   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83571   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83572     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83573 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83574     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83575       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83576   echo $ECHO_N "(cached) $ECHO_C" >&6
83577 else
83578
83579         if test x$gcc_no_link = xyes; then
83580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83582    { (exit 1); exit 1; }; }
83583 fi
83584 cat >conftest.$ac_ext <<_ACEOF
83585 /* confdefs.h.  */
83586 _ACEOF
83587 cat confdefs.h >>conftest.$ac_ext
83588 cat >>conftest.$ac_ext <<_ACEOF
83589 /* end confdefs.h.  */
83590 #include <math.h>
83591 int
83592 main ()
83593 {
83594  __builtin_sinl(0);
83595   ;
83596   return 0;
83597 }
83598 _ACEOF
83599 rm -f conftest.$ac_objext conftest$ac_exeext
83600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83601   (eval $ac_link) 2>conftest.er1
83602   ac_status=$?
83603   grep -v '^ *+' conftest.er1 >conftest.err
83604   rm -f conftest.er1
83605   cat conftest.err >&5
83606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607   (exit $ac_status); } &&
83608          { ac_try='test -z "$ac_c_werror_flag"
83609                          || test ! -s conftest.err'
83610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83611   (eval $ac_try) 2>&5
83612   ac_status=$?
83613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83614   (exit $ac_status); }; } &&
83615          { ac_try='test -s conftest$ac_exeext'
83616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83617   (eval $ac_try) 2>&5
83618   ac_status=$?
83619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83620   (exit $ac_status); }; }; then
83621   glibcxx_cv_func___builtin_sinl_link=yes
83622 else
83623   echo "$as_me: failed program was:" >&5
83624 sed 's/^/| /' conftest.$ac_ext >&5
83625
83626 glibcxx_cv_func___builtin_sinl_link=no
83627 fi
83628 rm -f conftest.err conftest.$ac_objext \
83629       conftest$ac_exeext conftest.$ac_ext
83630
83631 fi
83632
83633     fi
83634     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83636
83637     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83638
83639 cat >>confdefs.h <<\_ACEOF
83640 #define HAVE___BUILTIN_SINL 1
83641 _ACEOF
83642
83643     fi
83644
83645   fi
83646
83647
83648
83649   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83650 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83651   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83652     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83653   echo $ECHO_N "(cached) $ECHO_C" >&6
83654 else
83655
83656
83657
83658       ac_ext=cc
83659 ac_cpp='$CXXCPP $CPPFLAGS'
83660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83663
83664       cat >conftest.$ac_ext <<_ACEOF
83665 /* confdefs.h.  */
83666 _ACEOF
83667 cat confdefs.h >>conftest.$ac_ext
83668 cat >>conftest.$ac_ext <<_ACEOF
83669 /* end confdefs.h.  */
83670 #include <math.h>
83671 int
83672 main ()
83673 {
83674  __builtin_cosf(0);
83675   ;
83676   return 0;
83677 }
83678 _ACEOF
83679 rm -f conftest.$ac_objext
83680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83681   (eval $ac_compile) 2>conftest.er1
83682   ac_status=$?
83683   grep -v '^ *+' conftest.er1 >conftest.err
83684   rm -f conftest.er1
83685   cat conftest.err >&5
83686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83687   (exit $ac_status); } &&
83688          { ac_try='test -z "$ac_cxx_werror_flag"
83689                          || test ! -s conftest.err'
83690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83691   (eval $ac_try) 2>&5
83692   ac_status=$?
83693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83694   (exit $ac_status); }; } &&
83695          { ac_try='test -s conftest.$ac_objext'
83696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83697   (eval $ac_try) 2>&5
83698   ac_status=$?
83699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83700   (exit $ac_status); }; }; then
83701   glibcxx_cv_func___builtin_cosf_use=yes
83702 else
83703   echo "$as_me: failed program was:" >&5
83704 sed 's/^/| /' conftest.$ac_ext >&5
83705
83706 glibcxx_cv_func___builtin_cosf_use=no
83707 fi
83708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83709       ac_ext=c
83710 ac_cpp='$CPP $CPPFLAGS'
83711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83714
83715
83716 fi
83717
83718   fi
83719   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83720 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83721   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83722     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83723 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83724     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83725       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83726   echo $ECHO_N "(cached) $ECHO_C" >&6
83727 else
83728
83729         if test x$gcc_no_link = xyes; then
83730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83732    { (exit 1); exit 1; }; }
83733 fi
83734 cat >conftest.$ac_ext <<_ACEOF
83735 /* confdefs.h.  */
83736 _ACEOF
83737 cat confdefs.h >>conftest.$ac_ext
83738 cat >>conftest.$ac_ext <<_ACEOF
83739 /* end confdefs.h.  */
83740 #include <math.h>
83741 int
83742 main ()
83743 {
83744  __builtin_cosf(0);
83745   ;
83746   return 0;
83747 }
83748 _ACEOF
83749 rm -f conftest.$ac_objext conftest$ac_exeext
83750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83751   (eval $ac_link) 2>conftest.er1
83752   ac_status=$?
83753   grep -v '^ *+' conftest.er1 >conftest.err
83754   rm -f conftest.er1
83755   cat conftest.err >&5
83756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83757   (exit $ac_status); } &&
83758          { ac_try='test -z "$ac_c_werror_flag"
83759                          || test ! -s conftest.err'
83760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83761   (eval $ac_try) 2>&5
83762   ac_status=$?
83763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83764   (exit $ac_status); }; } &&
83765          { ac_try='test -s conftest$ac_exeext'
83766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83767   (eval $ac_try) 2>&5
83768   ac_status=$?
83769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83770   (exit $ac_status); }; }; then
83771   glibcxx_cv_func___builtin_cosf_link=yes
83772 else
83773   echo "$as_me: failed program was:" >&5
83774 sed 's/^/| /' conftest.$ac_ext >&5
83775
83776 glibcxx_cv_func___builtin_cosf_link=no
83777 fi
83778 rm -f conftest.err conftest.$ac_objext \
83779       conftest$ac_exeext conftest.$ac_ext
83780
83781 fi
83782
83783     fi
83784     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83785 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83786
83787     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83788
83789 cat >>confdefs.h <<\_ACEOF
83790 #define HAVE___BUILTIN_COSF 1
83791 _ACEOF
83792
83793     fi
83794
83795   fi
83796
83797
83798   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83799 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83800   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83801     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83802   echo $ECHO_N "(cached) $ECHO_C" >&6
83803 else
83804
83805
83806
83807       ac_ext=cc
83808 ac_cpp='$CXXCPP $CPPFLAGS'
83809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83812
83813       cat >conftest.$ac_ext <<_ACEOF
83814 /* confdefs.h.  */
83815 _ACEOF
83816 cat confdefs.h >>conftest.$ac_ext
83817 cat >>conftest.$ac_ext <<_ACEOF
83818 /* end confdefs.h.  */
83819 #include <math.h>
83820 int
83821 main ()
83822 {
83823  __builtin_cos(0);
83824   ;
83825   return 0;
83826 }
83827 _ACEOF
83828 rm -f conftest.$ac_objext
83829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83830   (eval $ac_compile) 2>conftest.er1
83831   ac_status=$?
83832   grep -v '^ *+' conftest.er1 >conftest.err
83833   rm -f conftest.er1
83834   cat conftest.err >&5
83835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83836   (exit $ac_status); } &&
83837          { ac_try='test -z "$ac_cxx_werror_flag"
83838                          || test ! -s conftest.err'
83839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83840   (eval $ac_try) 2>&5
83841   ac_status=$?
83842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83843   (exit $ac_status); }; } &&
83844          { ac_try='test -s conftest.$ac_objext'
83845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83846   (eval $ac_try) 2>&5
83847   ac_status=$?
83848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83849   (exit $ac_status); }; }; then
83850   glibcxx_cv_func___builtin_cos_use=yes
83851 else
83852   echo "$as_me: failed program was:" >&5
83853 sed 's/^/| /' conftest.$ac_ext >&5
83854
83855 glibcxx_cv_func___builtin_cos_use=no
83856 fi
83857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83858       ac_ext=c
83859 ac_cpp='$CPP $CPPFLAGS'
83860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83863
83864
83865 fi
83866
83867   fi
83868   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83869 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83870   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83871     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83872 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83873     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83874       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83875   echo $ECHO_N "(cached) $ECHO_C" >&6
83876 else
83877
83878         if test x$gcc_no_link = xyes; then
83879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83881    { (exit 1); exit 1; }; }
83882 fi
83883 cat >conftest.$ac_ext <<_ACEOF
83884 /* confdefs.h.  */
83885 _ACEOF
83886 cat confdefs.h >>conftest.$ac_ext
83887 cat >>conftest.$ac_ext <<_ACEOF
83888 /* end confdefs.h.  */
83889 #include <math.h>
83890 int
83891 main ()
83892 {
83893  __builtin_cos(0);
83894   ;
83895   return 0;
83896 }
83897 _ACEOF
83898 rm -f conftest.$ac_objext conftest$ac_exeext
83899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83900   (eval $ac_link) 2>conftest.er1
83901   ac_status=$?
83902   grep -v '^ *+' conftest.er1 >conftest.err
83903   rm -f conftest.er1
83904   cat conftest.err >&5
83905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83906   (exit $ac_status); } &&
83907          { ac_try='test -z "$ac_c_werror_flag"
83908                          || test ! -s conftest.err'
83909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83910   (eval $ac_try) 2>&5
83911   ac_status=$?
83912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83913   (exit $ac_status); }; } &&
83914          { ac_try='test -s conftest$ac_exeext'
83915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83916   (eval $ac_try) 2>&5
83917   ac_status=$?
83918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83919   (exit $ac_status); }; }; then
83920   glibcxx_cv_func___builtin_cos_link=yes
83921 else
83922   echo "$as_me: failed program was:" >&5
83923 sed 's/^/| /' conftest.$ac_ext >&5
83924
83925 glibcxx_cv_func___builtin_cos_link=no
83926 fi
83927 rm -f conftest.err conftest.$ac_objext \
83928       conftest$ac_exeext conftest.$ac_ext
83929
83930 fi
83931
83932     fi
83933     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83934 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83935
83936     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83937
83938 cat >>confdefs.h <<\_ACEOF
83939 #define HAVE___BUILTIN_COS 1
83940 _ACEOF
83941
83942     fi
83943
83944   fi
83945
83946
83947   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83948 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83949   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83950     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83951   echo $ECHO_N "(cached) $ECHO_C" >&6
83952 else
83953
83954
83955
83956       ac_ext=cc
83957 ac_cpp='$CXXCPP $CPPFLAGS'
83958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83961
83962       cat >conftest.$ac_ext <<_ACEOF
83963 /* confdefs.h.  */
83964 _ACEOF
83965 cat confdefs.h >>conftest.$ac_ext
83966 cat >>conftest.$ac_ext <<_ACEOF
83967 /* end confdefs.h.  */
83968 #include <math.h>
83969 int
83970 main ()
83971 {
83972  __builtin_cosl(0);
83973   ;
83974   return 0;
83975 }
83976 _ACEOF
83977 rm -f conftest.$ac_objext
83978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83979   (eval $ac_compile) 2>conftest.er1
83980   ac_status=$?
83981   grep -v '^ *+' conftest.er1 >conftest.err
83982   rm -f conftest.er1
83983   cat conftest.err >&5
83984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985   (exit $ac_status); } &&
83986          { ac_try='test -z "$ac_cxx_werror_flag"
83987                          || test ! -s conftest.err'
83988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83989   (eval $ac_try) 2>&5
83990   ac_status=$?
83991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83992   (exit $ac_status); }; } &&
83993          { ac_try='test -s conftest.$ac_objext'
83994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83995   (eval $ac_try) 2>&5
83996   ac_status=$?
83997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83998   (exit $ac_status); }; }; then
83999   glibcxx_cv_func___builtin_cosl_use=yes
84000 else
84001   echo "$as_me: failed program was:" >&5
84002 sed 's/^/| /' conftest.$ac_ext >&5
84003
84004 glibcxx_cv_func___builtin_cosl_use=no
84005 fi
84006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84007       ac_ext=c
84008 ac_cpp='$CPP $CPPFLAGS'
84009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84012
84013
84014 fi
84015
84016   fi
84017   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84018 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84019   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84020     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84021 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84022     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84023       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84024   echo $ECHO_N "(cached) $ECHO_C" >&6
84025 else
84026
84027         if test x$gcc_no_link = xyes; then
84028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84030    { (exit 1); exit 1; }; }
84031 fi
84032 cat >conftest.$ac_ext <<_ACEOF
84033 /* confdefs.h.  */
84034 _ACEOF
84035 cat confdefs.h >>conftest.$ac_ext
84036 cat >>conftest.$ac_ext <<_ACEOF
84037 /* end confdefs.h.  */
84038 #include <math.h>
84039 int
84040 main ()
84041 {
84042  __builtin_cosl(0);
84043   ;
84044   return 0;
84045 }
84046 _ACEOF
84047 rm -f conftest.$ac_objext conftest$ac_exeext
84048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84049   (eval $ac_link) 2>conftest.er1
84050   ac_status=$?
84051   grep -v '^ *+' conftest.er1 >conftest.err
84052   rm -f conftest.er1
84053   cat conftest.err >&5
84054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84055   (exit $ac_status); } &&
84056          { ac_try='test -z "$ac_c_werror_flag"
84057                          || test ! -s conftest.err'
84058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84059   (eval $ac_try) 2>&5
84060   ac_status=$?
84061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84062   (exit $ac_status); }; } &&
84063          { ac_try='test -s conftest$ac_exeext'
84064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84065   (eval $ac_try) 2>&5
84066   ac_status=$?
84067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84068   (exit $ac_status); }; }; then
84069   glibcxx_cv_func___builtin_cosl_link=yes
84070 else
84071   echo "$as_me: failed program was:" >&5
84072 sed 's/^/| /' conftest.$ac_ext >&5
84073
84074 glibcxx_cv_func___builtin_cosl_link=no
84075 fi
84076 rm -f conftest.err conftest.$ac_objext \
84077       conftest$ac_exeext conftest.$ac_ext
84078
84079 fi
84080
84081     fi
84082     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84083 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84084
84085     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84086
84087 cat >>confdefs.h <<\_ACEOF
84088 #define HAVE___BUILTIN_COSL 1
84089 _ACEOF
84090
84091     fi
84092
84093   fi
84094
84095
84096
84097
84098 echo "$as_me:$LINENO: checking for main in -lm" >&5
84099 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84100 if test "${ac_cv_lib_m_main+set}" = set; then
84101   echo $ECHO_N "(cached) $ECHO_C" >&6
84102 else
84103   ac_check_lib_save_LIBS=$LIBS
84104 LIBS="-lm  $LIBS"
84105 if test x$gcc_no_link = xyes; then
84106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84108    { (exit 1); exit 1; }; }
84109 fi
84110 cat >conftest.$ac_ext <<_ACEOF
84111 /* confdefs.h.  */
84112 _ACEOF
84113 cat confdefs.h >>conftest.$ac_ext
84114 cat >>conftest.$ac_ext <<_ACEOF
84115 /* end confdefs.h.  */
84116
84117
84118 int
84119 main ()
84120 {
84121 main ();
84122   ;
84123   return 0;
84124 }
84125 _ACEOF
84126 rm -f conftest.$ac_objext conftest$ac_exeext
84127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84128   (eval $ac_link) 2>conftest.er1
84129   ac_status=$?
84130   grep -v '^ *+' conftest.er1 >conftest.err
84131   rm -f conftest.er1
84132   cat conftest.err >&5
84133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134   (exit $ac_status); } &&
84135          { ac_try='test -z "$ac_c_werror_flag"
84136                          || test ! -s conftest.err'
84137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84138   (eval $ac_try) 2>&5
84139   ac_status=$?
84140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84141   (exit $ac_status); }; } &&
84142          { ac_try='test -s conftest$ac_exeext'
84143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84144   (eval $ac_try) 2>&5
84145   ac_status=$?
84146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84147   (exit $ac_status); }; }; then
84148   ac_cv_lib_m_main=yes
84149 else
84150   echo "$as_me: failed program was:" >&5
84151 sed 's/^/| /' conftest.$ac_ext >&5
84152
84153 ac_cv_lib_m_main=no
84154 fi
84155 rm -f conftest.err conftest.$ac_objext \
84156       conftest$ac_exeext conftest.$ac_ext
84157 LIBS=$ac_check_lib_save_LIBS
84158 fi
84159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84160 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84161 if test $ac_cv_lib_m_main = yes; then
84162   cat >>confdefs.h <<_ACEOF
84163 #define HAVE_LIBM 1
84164 _ACEOF
84165
84166   LIBS="-lm $LIBS"
84167
84168 fi
84169
84170
84171 for ac_func in copysignf
84172 do
84173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84174 echo "$as_me:$LINENO: checking for $ac_func" >&5
84175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84176 if eval "test \"\${$as_ac_var+set}\" = set"; then
84177   echo $ECHO_N "(cached) $ECHO_C" >&6
84178 else
84179   if test x$gcc_no_link = xyes; then
84180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84182    { (exit 1); exit 1; }; }
84183 fi
84184 cat >conftest.$ac_ext <<_ACEOF
84185 /* confdefs.h.  */
84186 _ACEOF
84187 cat confdefs.h >>conftest.$ac_ext
84188 cat >>conftest.$ac_ext <<_ACEOF
84189 /* end confdefs.h.  */
84190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84192 #define $ac_func innocuous_$ac_func
84193
84194 /* System header to define __stub macros and hopefully few prototypes,
84195     which can conflict with char $ac_func (); below.
84196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84197     <limits.h> exists even on freestanding compilers.  */
84198
84199 #ifdef __STDC__
84200 # include <limits.h>
84201 #else
84202 # include <assert.h>
84203 #endif
84204
84205 #undef $ac_func
84206
84207 /* Override any gcc2 internal prototype to avoid an error.  */
84208 #ifdef __cplusplus
84209 extern "C"
84210 {
84211 #endif
84212 /* We use char because int might match the return type of a gcc2
84213    builtin and then its argument prototype would still apply.  */
84214 char $ac_func ();
84215 /* The GNU C library defines this for functions which it implements
84216     to always fail with ENOSYS.  Some functions are actually named
84217     something starting with __ and the normal name is an alias.  */
84218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84219 choke me
84220 #else
84221 char (*f) () = $ac_func;
84222 #endif
84223 #ifdef __cplusplus
84224 }
84225 #endif
84226
84227 int
84228 main ()
84229 {
84230 return f != $ac_func;
84231   ;
84232   return 0;
84233 }
84234 _ACEOF
84235 rm -f conftest.$ac_objext conftest$ac_exeext
84236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84237   (eval $ac_link) 2>conftest.er1
84238   ac_status=$?
84239   grep -v '^ *+' conftest.er1 >conftest.err
84240   rm -f conftest.er1
84241   cat conftest.err >&5
84242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243   (exit $ac_status); } &&
84244          { ac_try='test -z "$ac_c_werror_flag"
84245                          || test ! -s conftest.err'
84246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84247   (eval $ac_try) 2>&5
84248   ac_status=$?
84249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84250   (exit $ac_status); }; } &&
84251          { ac_try='test -s conftest$ac_exeext'
84252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84253   (eval $ac_try) 2>&5
84254   ac_status=$?
84255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84256   (exit $ac_status); }; }; then
84257   eval "$as_ac_var=yes"
84258 else
84259   echo "$as_me: failed program was:" >&5
84260 sed 's/^/| /' conftest.$ac_ext >&5
84261
84262 eval "$as_ac_var=no"
84263 fi
84264 rm -f conftest.err conftest.$ac_objext \
84265       conftest$ac_exeext conftest.$ac_ext
84266 fi
84267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84269 if test `eval echo '${'$as_ac_var'}'` = yes; then
84270   cat >>confdefs.h <<_ACEOF
84271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84272 _ACEOF
84273
84274 else
84275   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84276 fi
84277 done
84278
84279
84280
84281 for ac_func in __signbit
84282 do
84283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84284 echo "$as_me:$LINENO: checking for $ac_func" >&5
84285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84286 if eval "test \"\${$as_ac_var+set}\" = set"; then
84287   echo $ECHO_N "(cached) $ECHO_C" >&6
84288 else
84289   if test x$gcc_no_link = xyes; then
84290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84292    { (exit 1); exit 1; }; }
84293 fi
84294 cat >conftest.$ac_ext <<_ACEOF
84295 /* confdefs.h.  */
84296 _ACEOF
84297 cat confdefs.h >>conftest.$ac_ext
84298 cat >>conftest.$ac_ext <<_ACEOF
84299 /* end confdefs.h.  */
84300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84302 #define $ac_func innocuous_$ac_func
84303
84304 /* System header to define __stub macros and hopefully few prototypes,
84305     which can conflict with char $ac_func (); below.
84306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84307     <limits.h> exists even on freestanding compilers.  */
84308
84309 #ifdef __STDC__
84310 # include <limits.h>
84311 #else
84312 # include <assert.h>
84313 #endif
84314
84315 #undef $ac_func
84316
84317 /* Override any gcc2 internal prototype to avoid an error.  */
84318 #ifdef __cplusplus
84319 extern "C"
84320 {
84321 #endif
84322 /* We use char because int might match the return type of a gcc2
84323    builtin and then its argument prototype would still apply.  */
84324 char $ac_func ();
84325 /* The GNU C library defines this for functions which it implements
84326     to always fail with ENOSYS.  Some functions are actually named
84327     something starting with __ and the normal name is an alias.  */
84328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84329 choke me
84330 #else
84331 char (*f) () = $ac_func;
84332 #endif
84333 #ifdef __cplusplus
84334 }
84335 #endif
84336
84337 int
84338 main ()
84339 {
84340 return f != $ac_func;
84341   ;
84342   return 0;
84343 }
84344 _ACEOF
84345 rm -f conftest.$ac_objext conftest$ac_exeext
84346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84347   (eval $ac_link) 2>conftest.er1
84348   ac_status=$?
84349   grep -v '^ *+' conftest.er1 >conftest.err
84350   rm -f conftest.er1
84351   cat conftest.err >&5
84352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84353   (exit $ac_status); } &&
84354          { ac_try='test -z "$ac_c_werror_flag"
84355                          || test ! -s conftest.err'
84356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84357   (eval $ac_try) 2>&5
84358   ac_status=$?
84359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84360   (exit $ac_status); }; } &&
84361          { ac_try='test -s conftest$ac_exeext'
84362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84363   (eval $ac_try) 2>&5
84364   ac_status=$?
84365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84366   (exit $ac_status); }; }; then
84367   eval "$as_ac_var=yes"
84368 else
84369   echo "$as_me: failed program was:" >&5
84370 sed 's/^/| /' conftest.$ac_ext >&5
84371
84372 eval "$as_ac_var=no"
84373 fi
84374 rm -f conftest.err conftest.$ac_objext \
84375       conftest$ac_exeext conftest.$ac_ext
84376 fi
84377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84379 if test `eval echo '${'$as_ac_var'}'` = yes; then
84380   cat >>confdefs.h <<_ACEOF
84381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84382 _ACEOF
84383
84384 else
84385   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84386 fi
84387 done
84388
84389
84390
84391 for ac_func in __signbitf
84392 do
84393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84394 echo "$as_me:$LINENO: checking for $ac_func" >&5
84395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84396 if eval "test \"\${$as_ac_var+set}\" = set"; then
84397   echo $ECHO_N "(cached) $ECHO_C" >&6
84398 else
84399   if test x$gcc_no_link = xyes; then
84400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84402    { (exit 1); exit 1; }; }
84403 fi
84404 cat >conftest.$ac_ext <<_ACEOF
84405 /* confdefs.h.  */
84406 _ACEOF
84407 cat confdefs.h >>conftest.$ac_ext
84408 cat >>conftest.$ac_ext <<_ACEOF
84409 /* end confdefs.h.  */
84410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84412 #define $ac_func innocuous_$ac_func
84413
84414 /* System header to define __stub macros and hopefully few prototypes,
84415     which can conflict with char $ac_func (); below.
84416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84417     <limits.h> exists even on freestanding compilers.  */
84418
84419 #ifdef __STDC__
84420 # include <limits.h>
84421 #else
84422 # include <assert.h>
84423 #endif
84424
84425 #undef $ac_func
84426
84427 /* Override any gcc2 internal prototype to avoid an error.  */
84428 #ifdef __cplusplus
84429 extern "C"
84430 {
84431 #endif
84432 /* We use char because int might match the return type of a gcc2
84433    builtin and then its argument prototype would still apply.  */
84434 char $ac_func ();
84435 /* The GNU C library defines this for functions which it implements
84436     to always fail with ENOSYS.  Some functions are actually named
84437     something starting with __ and the normal name is an alias.  */
84438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84439 choke me
84440 #else
84441 char (*f) () = $ac_func;
84442 #endif
84443 #ifdef __cplusplus
84444 }
84445 #endif
84446
84447 int
84448 main ()
84449 {
84450 return f != $ac_func;
84451   ;
84452   return 0;
84453 }
84454 _ACEOF
84455 rm -f conftest.$ac_objext conftest$ac_exeext
84456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84457   (eval $ac_link) 2>conftest.er1
84458   ac_status=$?
84459   grep -v '^ *+' conftest.er1 >conftest.err
84460   rm -f conftest.er1
84461   cat conftest.err >&5
84462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84463   (exit $ac_status); } &&
84464          { ac_try='test -z "$ac_c_werror_flag"
84465                          || test ! -s conftest.err'
84466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84467   (eval $ac_try) 2>&5
84468   ac_status=$?
84469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470   (exit $ac_status); }; } &&
84471          { ac_try='test -s conftest$ac_exeext'
84472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84473   (eval $ac_try) 2>&5
84474   ac_status=$?
84475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84476   (exit $ac_status); }; }; then
84477   eval "$as_ac_var=yes"
84478 else
84479   echo "$as_me: failed program was:" >&5
84480 sed 's/^/| /' conftest.$ac_ext >&5
84481
84482 eval "$as_ac_var=no"
84483 fi
84484 rm -f conftest.err conftest.$ac_objext \
84485       conftest$ac_exeext conftest.$ac_ext
84486 fi
84487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84489 if test `eval echo '${'$as_ac_var'}'` = yes; then
84490   cat >>confdefs.h <<_ACEOF
84491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84492 _ACEOF
84493
84494 else
84495   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84496 fi
84497 done
84498
84499
84500           if test x$ac_cv_func_copysignl = x"yes"; then
84501
84502 for ac_func in __signbitl
84503 do
84504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84505 echo "$as_me:$LINENO: checking for $ac_func" >&5
84506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84507 if eval "test \"\${$as_ac_var+set}\" = set"; then
84508   echo $ECHO_N "(cached) $ECHO_C" >&6
84509 else
84510   if test x$gcc_no_link = xyes; then
84511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84513    { (exit 1); exit 1; }; }
84514 fi
84515 cat >conftest.$ac_ext <<_ACEOF
84516 /* confdefs.h.  */
84517 _ACEOF
84518 cat confdefs.h >>conftest.$ac_ext
84519 cat >>conftest.$ac_ext <<_ACEOF
84520 /* end confdefs.h.  */
84521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84523 #define $ac_func innocuous_$ac_func
84524
84525 /* System header to define __stub macros and hopefully few prototypes,
84526     which can conflict with char $ac_func (); below.
84527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84528     <limits.h> exists even on freestanding compilers.  */
84529
84530 #ifdef __STDC__
84531 # include <limits.h>
84532 #else
84533 # include <assert.h>
84534 #endif
84535
84536 #undef $ac_func
84537
84538 /* Override any gcc2 internal prototype to avoid an error.  */
84539 #ifdef __cplusplus
84540 extern "C"
84541 {
84542 #endif
84543 /* We use char because int might match the return type of a gcc2
84544    builtin and then its argument prototype would still apply.  */
84545 char $ac_func ();
84546 /* The GNU C library defines this for functions which it implements
84547     to always fail with ENOSYS.  Some functions are actually named
84548     something starting with __ and the normal name is an alias.  */
84549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84550 choke me
84551 #else
84552 char (*f) () = $ac_func;
84553 #endif
84554 #ifdef __cplusplus
84555 }
84556 #endif
84557
84558 int
84559 main ()
84560 {
84561 return f != $ac_func;
84562   ;
84563   return 0;
84564 }
84565 _ACEOF
84566 rm -f conftest.$ac_objext conftest$ac_exeext
84567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84568   (eval $ac_link) 2>conftest.er1
84569   ac_status=$?
84570   grep -v '^ *+' conftest.er1 >conftest.err
84571   rm -f conftest.er1
84572   cat conftest.err >&5
84573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84574   (exit $ac_status); } &&
84575          { ac_try='test -z "$ac_c_werror_flag"
84576                          || test ! -s conftest.err'
84577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84578   (eval $ac_try) 2>&5
84579   ac_status=$?
84580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84581   (exit $ac_status); }; } &&
84582          { ac_try='test -s conftest$ac_exeext'
84583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84584   (eval $ac_try) 2>&5
84585   ac_status=$?
84586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84587   (exit $ac_status); }; }; then
84588   eval "$as_ac_var=yes"
84589 else
84590   echo "$as_me: failed program was:" >&5
84591 sed 's/^/| /' conftest.$ac_ext >&5
84592
84593 eval "$as_ac_var=no"
84594 fi
84595 rm -f conftest.err conftest.$ac_objext \
84596       conftest$ac_exeext conftest.$ac_ext
84597 fi
84598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84600 if test `eval echo '${'$as_ac_var'}'` = yes; then
84601   cat >>confdefs.h <<_ACEOF
84602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84603 _ACEOF
84604
84605 else
84606   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84607 fi
84608 done
84609
84610   fi
84611
84612   # Used in libmath/Makefile.am.
84613   if test -n "$LIBMATHOBJS"; then
84614     need_libmath=yes
84615   fi
84616
84617
84618
84619   ac_test_CXXFLAGS="${CXXFLAGS+set}"
84620   ac_save_CXXFLAGS="$CXXFLAGS"
84621   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84622
84623
84624   echo "$as_me:$LINENO: checking for strtold declaration" >&5
84625 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84626   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84627     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84628   echo $ECHO_N "(cached) $ECHO_C" >&6
84629 else
84630
84631
84632
84633       ac_ext=cc
84634 ac_cpp='$CXXCPP $CPPFLAGS'
84635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84638
84639       cat >conftest.$ac_ext <<_ACEOF
84640 /* confdefs.h.  */
84641 _ACEOF
84642 cat confdefs.h >>conftest.$ac_ext
84643 cat >>conftest.$ac_ext <<_ACEOF
84644 /* end confdefs.h.  */
84645 #include <stdlib.h>
84646 int
84647 main ()
84648 {
84649  strtold(0, 0);
84650   ;
84651   return 0;
84652 }
84653 _ACEOF
84654 rm -f conftest.$ac_objext
84655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84656   (eval $ac_compile) 2>conftest.er1
84657   ac_status=$?
84658   grep -v '^ *+' conftest.er1 >conftest.err
84659   rm -f conftest.er1
84660   cat conftest.err >&5
84661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84662   (exit $ac_status); } &&
84663          { ac_try='test -z "$ac_cxx_werror_flag"
84664                          || test ! -s conftest.err'
84665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84666   (eval $ac_try) 2>&5
84667   ac_status=$?
84668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84669   (exit $ac_status); }; } &&
84670          { ac_try='test -s conftest.$ac_objext'
84671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84672   (eval $ac_try) 2>&5
84673   ac_status=$?
84674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84675   (exit $ac_status); }; }; then
84676   glibcxx_cv_func_strtold_use=yes
84677 else
84678   echo "$as_me: failed program was:" >&5
84679 sed 's/^/| /' conftest.$ac_ext >&5
84680
84681 glibcxx_cv_func_strtold_use=no
84682 fi
84683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84684       ac_ext=c
84685 ac_cpp='$CPP $CPPFLAGS'
84686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84689
84690
84691 fi
84692
84693   fi
84694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84695 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84696   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84697
84698 for ac_func in strtold
84699 do
84700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84701 echo "$as_me:$LINENO: checking for $ac_func" >&5
84702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84703 if eval "test \"\${$as_ac_var+set}\" = set"; then
84704   echo $ECHO_N "(cached) $ECHO_C" >&6
84705 else
84706   if test x$gcc_no_link = xyes; then
84707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84709    { (exit 1); exit 1; }; }
84710 fi
84711 cat >conftest.$ac_ext <<_ACEOF
84712 /* confdefs.h.  */
84713 _ACEOF
84714 cat confdefs.h >>conftest.$ac_ext
84715 cat >>conftest.$ac_ext <<_ACEOF
84716 /* end confdefs.h.  */
84717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84719 #define $ac_func innocuous_$ac_func
84720
84721 /* System header to define __stub macros and hopefully few prototypes,
84722     which can conflict with char $ac_func (); below.
84723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84724     <limits.h> exists even on freestanding compilers.  */
84725
84726 #ifdef __STDC__
84727 # include <limits.h>
84728 #else
84729 # include <assert.h>
84730 #endif
84731
84732 #undef $ac_func
84733
84734 /* Override any gcc2 internal prototype to avoid an error.  */
84735 #ifdef __cplusplus
84736 extern "C"
84737 {
84738 #endif
84739 /* We use char because int might match the return type of a gcc2
84740    builtin and then its argument prototype would still apply.  */
84741 char $ac_func ();
84742 /* The GNU C library defines this for functions which it implements
84743     to always fail with ENOSYS.  Some functions are actually named
84744     something starting with __ and the normal name is an alias.  */
84745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84746 choke me
84747 #else
84748 char (*f) () = $ac_func;
84749 #endif
84750 #ifdef __cplusplus
84751 }
84752 #endif
84753
84754 int
84755 main ()
84756 {
84757 return f != $ac_func;
84758   ;
84759   return 0;
84760 }
84761 _ACEOF
84762 rm -f conftest.$ac_objext conftest$ac_exeext
84763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84764   (eval $ac_link) 2>conftest.er1
84765   ac_status=$?
84766   grep -v '^ *+' conftest.er1 >conftest.err
84767   rm -f conftest.er1
84768   cat conftest.err >&5
84769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84770   (exit $ac_status); } &&
84771          { ac_try='test -z "$ac_c_werror_flag"
84772                          || test ! -s conftest.err'
84773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84774   (eval $ac_try) 2>&5
84775   ac_status=$?
84776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84777   (exit $ac_status); }; } &&
84778          { ac_try='test -s conftest$ac_exeext'
84779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84780   (eval $ac_try) 2>&5
84781   ac_status=$?
84782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84783   (exit $ac_status); }; }; then
84784   eval "$as_ac_var=yes"
84785 else
84786   echo "$as_me: failed program was:" >&5
84787 sed 's/^/| /' conftest.$ac_ext >&5
84788
84789 eval "$as_ac_var=no"
84790 fi
84791 rm -f conftest.err conftest.$ac_objext \
84792       conftest$ac_exeext conftest.$ac_ext
84793 fi
84794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84796 if test `eval echo '${'$as_ac_var'}'` = yes; then
84797   cat >>confdefs.h <<_ACEOF
84798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84799 _ACEOF
84800
84801 fi
84802 done
84803
84804   fi
84805
84806
84807
84808
84809
84810   echo "$as_me:$LINENO: checking for strtof declaration" >&5
84811 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84812   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84813     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84814   echo $ECHO_N "(cached) $ECHO_C" >&6
84815 else
84816
84817
84818
84819       ac_ext=cc
84820 ac_cpp='$CXXCPP $CPPFLAGS'
84821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84824
84825       cat >conftest.$ac_ext <<_ACEOF
84826 /* confdefs.h.  */
84827 _ACEOF
84828 cat confdefs.h >>conftest.$ac_ext
84829 cat >>conftest.$ac_ext <<_ACEOF
84830 /* end confdefs.h.  */
84831 #include <stdlib.h>
84832 int
84833 main ()
84834 {
84835  strtof(0, 0);
84836   ;
84837   return 0;
84838 }
84839 _ACEOF
84840 rm -f conftest.$ac_objext
84841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84842   (eval $ac_compile) 2>conftest.er1
84843   ac_status=$?
84844   grep -v '^ *+' conftest.er1 >conftest.err
84845   rm -f conftest.er1
84846   cat conftest.err >&5
84847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84848   (exit $ac_status); } &&
84849          { ac_try='test -z "$ac_cxx_werror_flag"
84850                          || test ! -s conftest.err'
84851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84852   (eval $ac_try) 2>&5
84853   ac_status=$?
84854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84855   (exit $ac_status); }; } &&
84856          { ac_try='test -s conftest.$ac_objext'
84857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84858   (eval $ac_try) 2>&5
84859   ac_status=$?
84860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84861   (exit $ac_status); }; }; then
84862   glibcxx_cv_func_strtof_use=yes
84863 else
84864   echo "$as_me: failed program was:" >&5
84865 sed 's/^/| /' conftest.$ac_ext >&5
84866
84867 glibcxx_cv_func_strtof_use=no
84868 fi
84869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84870       ac_ext=c
84871 ac_cpp='$CPP $CPPFLAGS'
84872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84875
84876
84877 fi
84878
84879   fi
84880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84881 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84882   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84883
84884 for ac_func in strtof
84885 do
84886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84887 echo "$as_me:$LINENO: checking for $ac_func" >&5
84888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84889 if eval "test \"\${$as_ac_var+set}\" = set"; then
84890   echo $ECHO_N "(cached) $ECHO_C" >&6
84891 else
84892   if test x$gcc_no_link = xyes; then
84893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84895    { (exit 1); exit 1; }; }
84896 fi
84897 cat >conftest.$ac_ext <<_ACEOF
84898 /* confdefs.h.  */
84899 _ACEOF
84900 cat confdefs.h >>conftest.$ac_ext
84901 cat >>conftest.$ac_ext <<_ACEOF
84902 /* end confdefs.h.  */
84903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84905 #define $ac_func innocuous_$ac_func
84906
84907 /* System header to define __stub macros and hopefully few prototypes,
84908     which can conflict with char $ac_func (); below.
84909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84910     <limits.h> exists even on freestanding compilers.  */
84911
84912 #ifdef __STDC__
84913 # include <limits.h>
84914 #else
84915 # include <assert.h>
84916 #endif
84917
84918 #undef $ac_func
84919
84920 /* Override any gcc2 internal prototype to avoid an error.  */
84921 #ifdef __cplusplus
84922 extern "C"
84923 {
84924 #endif
84925 /* We use char because int might match the return type of a gcc2
84926    builtin and then its argument prototype would still apply.  */
84927 char $ac_func ();
84928 /* The GNU C library defines this for functions which it implements
84929     to always fail with ENOSYS.  Some functions are actually named
84930     something starting with __ and the normal name is an alias.  */
84931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84932 choke me
84933 #else
84934 char (*f) () = $ac_func;
84935 #endif
84936 #ifdef __cplusplus
84937 }
84938 #endif
84939
84940 int
84941 main ()
84942 {
84943 return f != $ac_func;
84944   ;
84945   return 0;
84946 }
84947 _ACEOF
84948 rm -f conftest.$ac_objext conftest$ac_exeext
84949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84950   (eval $ac_link) 2>conftest.er1
84951   ac_status=$?
84952   grep -v '^ *+' conftest.er1 >conftest.err
84953   rm -f conftest.er1
84954   cat conftest.err >&5
84955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84956   (exit $ac_status); } &&
84957          { ac_try='test -z "$ac_c_werror_flag"
84958                          || test ! -s conftest.err'
84959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84960   (eval $ac_try) 2>&5
84961   ac_status=$?
84962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84963   (exit $ac_status); }; } &&
84964          { ac_try='test -s conftest$ac_exeext'
84965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84966   (eval $ac_try) 2>&5
84967   ac_status=$?
84968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84969   (exit $ac_status); }; }; then
84970   eval "$as_ac_var=yes"
84971 else
84972   echo "$as_me: failed program was:" >&5
84973 sed 's/^/| /' conftest.$ac_ext >&5
84974
84975 eval "$as_ac_var=no"
84976 fi
84977 rm -f conftest.err conftest.$ac_objext \
84978       conftest$ac_exeext conftest.$ac_ext
84979 fi
84980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84982 if test `eval echo '${'$as_ac_var'}'` = yes; then
84983   cat >>confdefs.h <<_ACEOF
84984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84985 _ACEOF
84986
84987 fi
84988 done
84989
84990   fi
84991
84992
84993
84994
84995
84996   CXXFLAGS="$ac_save_CXXFLAGS"
84997
84998
84999     # For showmanyc_helper().
85000
85001
85002 for ac_header in sys/ioctl.h sys/filio.h
85003 do
85004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85006   echo "$as_me:$LINENO: checking for $ac_header" >&5
85007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85009   echo $ECHO_N "(cached) $ECHO_C" >&6
85010 fi
85011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85013 else
85014   # Is the header compilable?
85015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85017 cat >conftest.$ac_ext <<_ACEOF
85018 /* confdefs.h.  */
85019 _ACEOF
85020 cat confdefs.h >>conftest.$ac_ext
85021 cat >>conftest.$ac_ext <<_ACEOF
85022 /* end confdefs.h.  */
85023 $ac_includes_default
85024 #include <$ac_header>
85025 _ACEOF
85026 rm -f conftest.$ac_objext
85027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85028   (eval $ac_compile) 2>conftest.er1
85029   ac_status=$?
85030   grep -v '^ *+' conftest.er1 >conftest.err
85031   rm -f conftest.er1
85032   cat conftest.err >&5
85033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85034   (exit $ac_status); } &&
85035          { ac_try='test -z "$ac_c_werror_flag"
85036                          || test ! -s conftest.err'
85037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85038   (eval $ac_try) 2>&5
85039   ac_status=$?
85040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85041   (exit $ac_status); }; } &&
85042          { ac_try='test -s conftest.$ac_objext'
85043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85044   (eval $ac_try) 2>&5
85045   ac_status=$?
85046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85047   (exit $ac_status); }; }; then
85048   ac_header_compiler=yes
85049 else
85050   echo "$as_me: failed program was:" >&5
85051 sed 's/^/| /' conftest.$ac_ext >&5
85052
85053 ac_header_compiler=no
85054 fi
85055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85057 echo "${ECHO_T}$ac_header_compiler" >&6
85058
85059 # Is the header present?
85060 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85062 cat >conftest.$ac_ext <<_ACEOF
85063 /* confdefs.h.  */
85064 _ACEOF
85065 cat confdefs.h >>conftest.$ac_ext
85066 cat >>conftest.$ac_ext <<_ACEOF
85067 /* end confdefs.h.  */
85068 #include <$ac_header>
85069 _ACEOF
85070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85071   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85072   ac_status=$?
85073   grep -v '^ *+' conftest.er1 >conftest.err
85074   rm -f conftest.er1
85075   cat conftest.err >&5
85076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85077   (exit $ac_status); } >/dev/null; then
85078   if test -s conftest.err; then
85079     ac_cpp_err=$ac_c_preproc_warn_flag
85080     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85081   else
85082     ac_cpp_err=
85083   fi
85084 else
85085   ac_cpp_err=yes
85086 fi
85087 if test -z "$ac_cpp_err"; then
85088   ac_header_preproc=yes
85089 else
85090   echo "$as_me: failed program was:" >&5
85091 sed 's/^/| /' conftest.$ac_ext >&5
85092
85093   ac_header_preproc=no
85094 fi
85095 rm -f conftest.err conftest.$ac_ext
85096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85097 echo "${ECHO_T}$ac_header_preproc" >&6
85098
85099 # So?  What about this header?
85100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85101   yes:no: )
85102     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85104     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85105 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85106     ac_header_preproc=yes
85107     ;;
85108   no:yes:* )
85109     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85111     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85112 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85113     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85114 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85115     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85116 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85117     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85119     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85120 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85121     (
85122       cat <<\_ASBOX
85123 ## ----------------------------------------- ##
85124 ## Report this to the package-unused lists.  ##
85125 ## ----------------------------------------- ##
85126 _ASBOX
85127     ) |
85128       sed "s/^/$as_me: WARNING:     /" >&2
85129     ;;
85130 esac
85131 echo "$as_me:$LINENO: checking for $ac_header" >&5
85132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85134   echo $ECHO_N "(cached) $ECHO_C" >&6
85135 else
85136   eval "$as_ac_Header=\$ac_header_preproc"
85137 fi
85138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85140
85141 fi
85142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85143   cat >>confdefs.h <<_ACEOF
85144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85145 _ACEOF
85146
85147 fi
85148
85149 done
85150
85151
85152   echo "$as_me:$LINENO: checking for poll" >&5
85153 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85154   if test "${glibcxx_cv_POLL+set}" = set; then
85155   echo $ECHO_N "(cached) $ECHO_C" >&6
85156 else
85157
85158     if test x$gcc_no_link = xyes; then
85159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85161    { (exit 1); exit 1; }; }
85162 fi
85163 cat >conftest.$ac_ext <<_ACEOF
85164 /* confdefs.h.  */
85165 _ACEOF
85166 cat confdefs.h >>conftest.$ac_ext
85167 cat >>conftest.$ac_ext <<_ACEOF
85168 /* end confdefs.h.  */
85169 #include <poll.h>
85170 int
85171 main ()
85172 {
85173 struct pollfd pfd[1];
85174        pfd[0].events = POLLIN;
85175        poll(pfd, 1, 0);
85176   ;
85177   return 0;
85178 }
85179 _ACEOF
85180 rm -f conftest.$ac_objext conftest$ac_exeext
85181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85182   (eval $ac_link) 2>conftest.er1
85183   ac_status=$?
85184   grep -v '^ *+' conftest.er1 >conftest.err
85185   rm -f conftest.er1
85186   cat conftest.err >&5
85187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85188   (exit $ac_status); } &&
85189          { ac_try='test -z "$ac_c_werror_flag"
85190                          || test ! -s conftest.err'
85191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85192   (eval $ac_try) 2>&5
85193   ac_status=$?
85194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195   (exit $ac_status); }; } &&
85196          { ac_try='test -s conftest$ac_exeext'
85197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85198   (eval $ac_try) 2>&5
85199   ac_status=$?
85200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85201   (exit $ac_status); }; }; then
85202   glibcxx_cv_POLL=yes
85203 else
85204   echo "$as_me: failed program was:" >&5
85205 sed 's/^/| /' conftest.$ac_ext >&5
85206
85207 glibcxx_cv_POLL=no
85208 fi
85209 rm -f conftest.err conftest.$ac_objext \
85210       conftest$ac_exeext conftest.$ac_ext
85211
85212 fi
85213
85214   if test $glibcxx_cv_POLL = yes; then
85215
85216 cat >>confdefs.h <<\_ACEOF
85217 #define HAVE_POLL 1
85218 _ACEOF
85219
85220   fi
85221   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85222 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85223
85224
85225   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85226 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85227   if test "${glibcxx_cv_S_ISREG+set}" = set; then
85228   echo $ECHO_N "(cached) $ECHO_C" >&6
85229 else
85230
85231     if test x$gcc_no_link = xyes; then
85232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85234    { (exit 1); exit 1; }; }
85235 fi
85236 cat >conftest.$ac_ext <<_ACEOF
85237 /* confdefs.h.  */
85238 _ACEOF
85239 cat confdefs.h >>conftest.$ac_ext
85240 cat >>conftest.$ac_ext <<_ACEOF
85241 /* end confdefs.h.  */
85242 #include <sys/stat.h>
85243 int
85244 main ()
85245 {
85246 struct stat buffer;
85247        fstat(0, &buffer);
85248        S_ISREG(buffer.st_mode);
85249   ;
85250   return 0;
85251 }
85252 _ACEOF
85253 rm -f conftest.$ac_objext conftest$ac_exeext
85254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85255   (eval $ac_link) 2>conftest.er1
85256   ac_status=$?
85257   grep -v '^ *+' conftest.er1 >conftest.err
85258   rm -f conftest.er1
85259   cat conftest.err >&5
85260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85261   (exit $ac_status); } &&
85262          { ac_try='test -z "$ac_c_werror_flag"
85263                          || test ! -s conftest.err'
85264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85265   (eval $ac_try) 2>&5
85266   ac_status=$?
85267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85268   (exit $ac_status); }; } &&
85269          { ac_try='test -s conftest$ac_exeext'
85270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85271   (eval $ac_try) 2>&5
85272   ac_status=$?
85273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85274   (exit $ac_status); }; }; then
85275   glibcxx_cv_S_ISREG=yes
85276 else
85277   echo "$as_me: failed program was:" >&5
85278 sed 's/^/| /' conftest.$ac_ext >&5
85279
85280 glibcxx_cv_S_ISREG=no
85281 fi
85282 rm -f conftest.err conftest.$ac_objext \
85283       conftest$ac_exeext conftest.$ac_ext
85284
85285 fi
85286
85287   if test "${glibcxx_cv_S_IFREG+set}" = set; then
85288   echo $ECHO_N "(cached) $ECHO_C" >&6
85289 else
85290
85291     if test x$gcc_no_link = xyes; then
85292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85294    { (exit 1); exit 1; }; }
85295 fi
85296 cat >conftest.$ac_ext <<_ACEOF
85297 /* confdefs.h.  */
85298 _ACEOF
85299 cat confdefs.h >>conftest.$ac_ext
85300 cat >>conftest.$ac_ext <<_ACEOF
85301 /* end confdefs.h.  */
85302 #include <sys/stat.h>
85303 int
85304 main ()
85305 {
85306 struct stat buffer;
85307        fstat(0, &buffer);
85308        S_IFREG & buffer.st_mode;
85309   ;
85310   return 0;
85311 }
85312 _ACEOF
85313 rm -f conftest.$ac_objext conftest$ac_exeext
85314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85315   (eval $ac_link) 2>conftest.er1
85316   ac_status=$?
85317   grep -v '^ *+' conftest.er1 >conftest.err
85318   rm -f conftest.er1
85319   cat conftest.err >&5
85320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85321   (exit $ac_status); } &&
85322          { ac_try='test -z "$ac_c_werror_flag"
85323                          || test ! -s conftest.err'
85324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85325   (eval $ac_try) 2>&5
85326   ac_status=$?
85327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85328   (exit $ac_status); }; } &&
85329          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
85335   glibcxx_cv_S_IFREG=yes
85336 else
85337   echo "$as_me: failed program was:" >&5
85338 sed 's/^/| /' conftest.$ac_ext >&5
85339
85340 glibcxx_cv_S_IFREG=no
85341 fi
85342 rm -f conftest.err conftest.$ac_objext \
85343       conftest$ac_exeext conftest.$ac_ext
85344
85345 fi
85346
85347   res=no
85348   if test $glibcxx_cv_S_ISREG = yes; then
85349
85350 cat >>confdefs.h <<\_ACEOF
85351 #define HAVE_S_ISREG 1
85352 _ACEOF
85353
85354     res=S_ISREG
85355   elif test $glibcxx_cv_S_IFREG = yes; then
85356
85357 cat >>confdefs.h <<\_ACEOF
85358 #define HAVE_S_IFREG 1
85359 _ACEOF
85360
85361     res=S_IFREG
85362   fi
85363   echo "$as_me:$LINENO: result: $res" >&5
85364 echo "${ECHO_T}$res" >&6
85365
85366
85367     # For xsputn_2().
85368
85369 for ac_header in sys/uio.h
85370 do
85371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85373   echo "$as_me:$LINENO: checking for $ac_header" >&5
85374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85376   echo $ECHO_N "(cached) $ECHO_C" >&6
85377 fi
85378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85380 else
85381   # Is the header compilable?
85382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85384 cat >conftest.$ac_ext <<_ACEOF
85385 /* confdefs.h.  */
85386 _ACEOF
85387 cat confdefs.h >>conftest.$ac_ext
85388 cat >>conftest.$ac_ext <<_ACEOF
85389 /* end confdefs.h.  */
85390 $ac_includes_default
85391 #include <$ac_header>
85392 _ACEOF
85393 rm -f conftest.$ac_objext
85394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85395   (eval $ac_compile) 2>conftest.er1
85396   ac_status=$?
85397   grep -v '^ *+' conftest.er1 >conftest.err
85398   rm -f conftest.er1
85399   cat conftest.err >&5
85400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85401   (exit $ac_status); } &&
85402          { ac_try='test -z "$ac_c_werror_flag"
85403                          || test ! -s conftest.err'
85404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85405   (eval $ac_try) 2>&5
85406   ac_status=$?
85407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85408   (exit $ac_status); }; } &&
85409          { ac_try='test -s conftest.$ac_objext'
85410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85411   (eval $ac_try) 2>&5
85412   ac_status=$?
85413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85414   (exit $ac_status); }; }; then
85415   ac_header_compiler=yes
85416 else
85417   echo "$as_me: failed program was:" >&5
85418 sed 's/^/| /' conftest.$ac_ext >&5
85419
85420 ac_header_compiler=no
85421 fi
85422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85424 echo "${ECHO_T}$ac_header_compiler" >&6
85425
85426 # Is the header present?
85427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85429 cat >conftest.$ac_ext <<_ACEOF
85430 /* confdefs.h.  */
85431 _ACEOF
85432 cat confdefs.h >>conftest.$ac_ext
85433 cat >>conftest.$ac_ext <<_ACEOF
85434 /* end confdefs.h.  */
85435 #include <$ac_header>
85436 _ACEOF
85437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85438   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85439   ac_status=$?
85440   grep -v '^ *+' conftest.er1 >conftest.err
85441   rm -f conftest.er1
85442   cat conftest.err >&5
85443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85444   (exit $ac_status); } >/dev/null; then
85445   if test -s conftest.err; then
85446     ac_cpp_err=$ac_c_preproc_warn_flag
85447     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85448   else
85449     ac_cpp_err=
85450   fi
85451 else
85452   ac_cpp_err=yes
85453 fi
85454 if test -z "$ac_cpp_err"; then
85455   ac_header_preproc=yes
85456 else
85457   echo "$as_me: failed program was:" >&5
85458 sed 's/^/| /' conftest.$ac_ext >&5
85459
85460   ac_header_preproc=no
85461 fi
85462 rm -f conftest.err conftest.$ac_ext
85463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85464 echo "${ECHO_T}$ac_header_preproc" >&6
85465
85466 # So?  What about this header?
85467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85468   yes:no: )
85469     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85471     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85473     ac_header_preproc=yes
85474     ;;
85475   no:yes:* )
85476     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85478     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85479 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85480     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85482     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85483 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85484     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85486     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85488     (
85489       cat <<\_ASBOX
85490 ## ----------------------------------------- ##
85491 ## Report this to the package-unused lists.  ##
85492 ## ----------------------------------------- ##
85493 _ASBOX
85494     ) |
85495       sed "s/^/$as_me: WARNING:     /" >&2
85496     ;;
85497 esac
85498 echo "$as_me:$LINENO: checking for $ac_header" >&5
85499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85501   echo $ECHO_N "(cached) $ECHO_C" >&6
85502 else
85503   eval "$as_ac_Header=\$ac_header_preproc"
85504 fi
85505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85507
85508 fi
85509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85510   cat >>confdefs.h <<_ACEOF
85511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85512 _ACEOF
85513
85514 fi
85515
85516 done
85517
85518
85519   echo "$as_me:$LINENO: checking for writev" >&5
85520 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85521   if test "${glibcxx_cv_WRITEV+set}" = set; then
85522   echo $ECHO_N "(cached) $ECHO_C" >&6
85523 else
85524
85525     if test x$gcc_no_link = xyes; then
85526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85528    { (exit 1); exit 1; }; }
85529 fi
85530 cat >conftest.$ac_ext <<_ACEOF
85531 /* confdefs.h.  */
85532 _ACEOF
85533 cat confdefs.h >>conftest.$ac_ext
85534 cat >>conftest.$ac_ext <<_ACEOF
85535 /* end confdefs.h.  */
85536 #include <sys/uio.h>
85537 int
85538 main ()
85539 {
85540 struct iovec iov[2];
85541        writev(0, iov, 0);
85542   ;
85543   return 0;
85544 }
85545 _ACEOF
85546 rm -f conftest.$ac_objext conftest$ac_exeext
85547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85548   (eval $ac_link) 2>conftest.er1
85549   ac_status=$?
85550   grep -v '^ *+' conftest.er1 >conftest.err
85551   rm -f conftest.er1
85552   cat conftest.err >&5
85553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85554   (exit $ac_status); } &&
85555          { ac_try='test -z "$ac_c_werror_flag"
85556                          || test ! -s conftest.err'
85557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85558   (eval $ac_try) 2>&5
85559   ac_status=$?
85560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85561   (exit $ac_status); }; } &&
85562          { ac_try='test -s conftest$ac_exeext'
85563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85564   (eval $ac_try) 2>&5
85565   ac_status=$?
85566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85567   (exit $ac_status); }; }; then
85568   glibcxx_cv_WRITEV=yes
85569 else
85570   echo "$as_me: failed program was:" >&5
85571 sed 's/^/| /' conftest.$ac_ext >&5
85572
85573 glibcxx_cv_WRITEV=no
85574 fi
85575 rm -f conftest.err conftest.$ac_objext \
85576       conftest$ac_exeext conftest.$ac_ext
85577
85578 fi
85579
85580   if test $glibcxx_cv_WRITEV = yes; then
85581
85582 cat >>confdefs.h <<\_ACEOF
85583 #define HAVE_WRITEV 1
85584 _ACEOF
85585
85586   fi
85587   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85588 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85589
85590
85591     cat >>confdefs.h <<\_ACEOF
85592 #define HAVE_LC_MESSAGES 1
85593 _ACEOF
85594
85595     ;;
85596
85597   *djgpp)
85598
85599
85600
85601
85602
85603
85604
85605
85606
85607
85608
85609
85610
85611
85612
85613
85614
85615
85616
85617
85618 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85619       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85620       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85621       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85622 do
85623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85625   echo "$as_me:$LINENO: checking for $ac_header" >&5
85626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85628   echo $ECHO_N "(cached) $ECHO_C" >&6
85629 fi
85630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85632 else
85633   # Is the header compilable?
85634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85636 cat >conftest.$ac_ext <<_ACEOF
85637 /* confdefs.h.  */
85638 _ACEOF
85639 cat confdefs.h >>conftest.$ac_ext
85640 cat >>conftest.$ac_ext <<_ACEOF
85641 /* end confdefs.h.  */
85642 $ac_includes_default
85643 #include <$ac_header>
85644 _ACEOF
85645 rm -f conftest.$ac_objext
85646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85647   (eval $ac_compile) 2>conftest.er1
85648   ac_status=$?
85649   grep -v '^ *+' conftest.er1 >conftest.err
85650   rm -f conftest.er1
85651   cat conftest.err >&5
85652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85653   (exit $ac_status); } &&
85654          { ac_try='test -z "$ac_c_werror_flag"
85655                          || test ! -s conftest.err'
85656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85657   (eval $ac_try) 2>&5
85658   ac_status=$?
85659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85660   (exit $ac_status); }; } &&
85661          { ac_try='test -s conftest.$ac_objext'
85662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85663   (eval $ac_try) 2>&5
85664   ac_status=$?
85665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85666   (exit $ac_status); }; }; then
85667   ac_header_compiler=yes
85668 else
85669   echo "$as_me: failed program was:" >&5
85670 sed 's/^/| /' conftest.$ac_ext >&5
85671
85672 ac_header_compiler=no
85673 fi
85674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85676 echo "${ECHO_T}$ac_header_compiler" >&6
85677
85678 # Is the header present?
85679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85681 cat >conftest.$ac_ext <<_ACEOF
85682 /* confdefs.h.  */
85683 _ACEOF
85684 cat confdefs.h >>conftest.$ac_ext
85685 cat >>conftest.$ac_ext <<_ACEOF
85686 /* end confdefs.h.  */
85687 #include <$ac_header>
85688 _ACEOF
85689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85690   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85691   ac_status=$?
85692   grep -v '^ *+' conftest.er1 >conftest.err
85693   rm -f conftest.er1
85694   cat conftest.err >&5
85695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85696   (exit $ac_status); } >/dev/null; then
85697   if test -s conftest.err; then
85698     ac_cpp_err=$ac_c_preproc_warn_flag
85699     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85700   else
85701     ac_cpp_err=
85702   fi
85703 else
85704   ac_cpp_err=yes
85705 fi
85706 if test -z "$ac_cpp_err"; then
85707   ac_header_preproc=yes
85708 else
85709   echo "$as_me: failed program was:" >&5
85710 sed 's/^/| /' conftest.$ac_ext >&5
85711
85712   ac_header_preproc=no
85713 fi
85714 rm -f conftest.err conftest.$ac_ext
85715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85716 echo "${ECHO_T}$ac_header_preproc" >&6
85717
85718 # So?  What about this header?
85719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85720   yes:no: )
85721     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85723     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85725     ac_header_preproc=yes
85726     ;;
85727   no:yes:* )
85728     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85730     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85731 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85732     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85734     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85735 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85736     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85738     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85740     (
85741       cat <<\_ASBOX
85742 ## ----------------------------------------- ##
85743 ## Report this to the package-unused lists.  ##
85744 ## ----------------------------------------- ##
85745 _ASBOX
85746     ) |
85747       sed "s/^/$as_me: WARNING:     /" >&2
85748     ;;
85749 esac
85750 echo "$as_me:$LINENO: checking for $ac_header" >&5
85751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85753   echo $ECHO_N "(cached) $ECHO_C" >&6
85754 else
85755   eval "$as_ac_Header=\$ac_header_preproc"
85756 fi
85757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85759
85760 fi
85761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85762   cat >>confdefs.h <<_ACEOF
85763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85764 _ACEOF
85765
85766 fi
85767
85768 done
85769
85770     # GLIBCXX_CHECK_MATH_SUPPORT
85771     cat >>confdefs.h <<\_ACEOF
85772 #define HAVE_LIBM 1
85773 _ACEOF
85774
85775     cat >>confdefs.h <<\_ACEOF
85776 #define HAVE_ISINF 1
85777 _ACEOF
85778
85779     cat >>confdefs.h <<\_ACEOF
85780 #define HAVE_ISNAN 1
85781 _ACEOF
85782
85783     cat >>confdefs.h <<\_ACEOF
85784 #define HAVE_FINITE 1
85785 _ACEOF
85786
85787     cat >>confdefs.h <<\_ACEOF
85788 #define HAVE_COPYSIGN 1
85789 _ACEOF
85790
85791     cat >>confdefs.h <<\_ACEOF
85792 #define HAVE_SINCOS 1
85793 _ACEOF
85794
85795     cat >>confdefs.h <<\_ACEOF
85796 #define HAVE_HYPOT 1
85797 _ACEOF
85798
85799     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85800     cat >>confdefs.h <<\_ACEOF
85801 #define HAVE___BUILTIN_ABS 1
85802 _ACEOF
85803
85804     cat >>confdefs.h <<\_ACEOF
85805 #define HAVE___BUILTIN_FABSF 1
85806 _ACEOF
85807
85808     cat >>confdefs.h <<\_ACEOF
85809 #define HAVE___BUILTIN_FABS 1
85810 _ACEOF
85811
85812     cat >>confdefs.h <<\_ACEOF
85813 #define HAVE___BUILTIN_FABSL 1
85814 _ACEOF
85815
85816     cat >>confdefs.h <<\_ACEOF
85817 #define HAVE___BUILTIN_LABS 1
85818 _ACEOF
85819
85820     cat >>confdefs.h <<\_ACEOF
85821 #define HAVE___BUILTIN_SQRTF 1
85822 _ACEOF
85823
85824     cat >>confdefs.h <<\_ACEOF
85825 #define HAVE___BUILTIN_SQRT 1
85826 _ACEOF
85827
85828     cat >>confdefs.h <<\_ACEOF
85829 #define HAVE___BUILTIN_SQRTL 1
85830 _ACEOF
85831
85832     cat >>confdefs.h <<\_ACEOF
85833 #define HAVE___BUILTIN_SINF 1
85834 _ACEOF
85835
85836     cat >>confdefs.h <<\_ACEOF
85837 #define HAVE___BUILTIN_SIN 1
85838 _ACEOF
85839
85840     cat >>confdefs.h <<\_ACEOF
85841 #define HAVE___BUILTIN_SINL 1
85842 _ACEOF
85843
85844     cat >>confdefs.h <<\_ACEOF
85845 #define HAVE___BUILTIN_COSF 1
85846 _ACEOF
85847
85848     cat >>confdefs.h <<\_ACEOF
85849 #define HAVE___BUILTIN_COS 1
85850 _ACEOF
85851
85852     cat >>confdefs.h <<\_ACEOF
85853 #define HAVE___BUILTIN_COSL 1
85854 _ACEOF
85855
85856     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85857     # GLIBCXX_CHECK_STDLIB_SUPPORT
85858     cat >>confdefs.h <<\_ACEOF
85859 #define HAVE_COPYSIGN 1
85860 _ACEOF
85861
85862     cat >>confdefs.h <<\_ACEOF
85863 #define HAVE_COPYSIGNF 1
85864 _ACEOF
85865
85866     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85867     cat >>confdefs.h <<\_ACEOF
85868 #define HAVE_S_ISREG 1
85869 _ACEOF
85870
85871     cat >>confdefs.h <<\_ACEOF
85872 #define HAVE_S_IFREG 1
85873 _ACEOF
85874
85875     cat >>confdefs.h <<\_ACEOF
85876 #define HAVE_WRITEV 1
85877 _ACEOF
85878
85879     ;;
85880
85881   *-freebsd*)
85882
85883
85884
85885
85886
85887
85888
85889
85890
85891
85892
85893
85894
85895
85896
85897
85898 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85899       machine/endian.h machine/param.h sys/machine.h sys/types.h \
85900       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85901       sys/time.h unistd.h
85902 do
85903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85905   echo "$as_me:$LINENO: checking for $ac_header" >&5
85906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85908   echo $ECHO_N "(cached) $ECHO_C" >&6
85909 fi
85910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85912 else
85913   # Is the header compilable?
85914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85916 cat >conftest.$ac_ext <<_ACEOF
85917 /* confdefs.h.  */
85918 _ACEOF
85919 cat confdefs.h >>conftest.$ac_ext
85920 cat >>conftest.$ac_ext <<_ACEOF
85921 /* end confdefs.h.  */
85922 $ac_includes_default
85923 #include <$ac_header>
85924 _ACEOF
85925 rm -f conftest.$ac_objext
85926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85927   (eval $ac_compile) 2>conftest.er1
85928   ac_status=$?
85929   grep -v '^ *+' conftest.er1 >conftest.err
85930   rm -f conftest.er1
85931   cat conftest.err >&5
85932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85933   (exit $ac_status); } &&
85934          { ac_try='test -z "$ac_c_werror_flag"
85935                          || test ! -s conftest.err'
85936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85937   (eval $ac_try) 2>&5
85938   ac_status=$?
85939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85940   (exit $ac_status); }; } &&
85941          { ac_try='test -s conftest.$ac_objext'
85942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85943   (eval $ac_try) 2>&5
85944   ac_status=$?
85945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85946   (exit $ac_status); }; }; then
85947   ac_header_compiler=yes
85948 else
85949   echo "$as_me: failed program was:" >&5
85950 sed 's/^/| /' conftest.$ac_ext >&5
85951
85952 ac_header_compiler=no
85953 fi
85954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85956 echo "${ECHO_T}$ac_header_compiler" >&6
85957
85958 # Is the header present?
85959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85961 cat >conftest.$ac_ext <<_ACEOF
85962 /* confdefs.h.  */
85963 _ACEOF
85964 cat confdefs.h >>conftest.$ac_ext
85965 cat >>conftest.$ac_ext <<_ACEOF
85966 /* end confdefs.h.  */
85967 #include <$ac_header>
85968 _ACEOF
85969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85970   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85971   ac_status=$?
85972   grep -v '^ *+' conftest.er1 >conftest.err
85973   rm -f conftest.er1
85974   cat conftest.err >&5
85975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85976   (exit $ac_status); } >/dev/null; then
85977   if test -s conftest.err; then
85978     ac_cpp_err=$ac_c_preproc_warn_flag
85979     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85980   else
85981     ac_cpp_err=
85982   fi
85983 else
85984   ac_cpp_err=yes
85985 fi
85986 if test -z "$ac_cpp_err"; then
85987   ac_header_preproc=yes
85988 else
85989   echo "$as_me: failed program was:" >&5
85990 sed 's/^/| /' conftest.$ac_ext >&5
85991
85992   ac_header_preproc=no
85993 fi
85994 rm -f conftest.err conftest.$ac_ext
85995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85996 echo "${ECHO_T}$ac_header_preproc" >&6
85997
85998 # So?  What about this header?
85999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86000   yes:no: )
86001     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86003     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86005     ac_header_preproc=yes
86006     ;;
86007   no:yes:* )
86008     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86010     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86011 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86012     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86014     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86015 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86016     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86018     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86020     (
86021       cat <<\_ASBOX
86022 ## ----------------------------------------- ##
86023 ## Report this to the package-unused lists.  ##
86024 ## ----------------------------------------- ##
86025 _ASBOX
86026     ) |
86027       sed "s/^/$as_me: WARNING:     /" >&2
86028     ;;
86029 esac
86030 echo "$as_me:$LINENO: checking for $ac_header" >&5
86031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86033   echo $ECHO_N "(cached) $ECHO_C" >&6
86034 else
86035   eval "$as_ac_Header=\$ac_header_preproc"
86036 fi
86037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86039
86040 fi
86041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86042   cat >>confdefs.h <<_ACEOF
86043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86044 _ACEOF
86045
86046 fi
86047
86048 done
86049
86050     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86051
86052
86053   # If we're not using GNU ld, then there's no point in even trying these
86054   # tests.  Check for that first.  We should have already tested for gld
86055   # by now (in libtool), but require it now just to be safe...
86056   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86057   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86058
86059
86060
86061   # The name set by libtool depends on the version of libtool.  Shame on us
86062   # for depending on an impl detail, but c'est la vie.  Older versions used
86063   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86064   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86065   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86066   # set (hence we're using an older libtool), then set it.
86067   if test x${with_gnu_ld+set} != xset; then
86068     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86069       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86070       with_gnu_ld=no
86071     else
86072       with_gnu_ld=$ac_cv_prog_gnu_ld
86073     fi
86074   fi
86075
86076   # Start by getting the version number.  I think the libtool test already
86077   # does some of this, but throws away the result.
86078   glibcxx_ld_is_gold=no
86079   if test x"$with_gnu_ld" = x"yes"; then
86080     echo "$as_me:$LINENO: checking for ld version" >&5
86081 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86082
86083     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86084       glibcxx_ld_is_gold=yes
86085     fi
86086     ldver=`$LD --version 2>/dev/null | head -1 | \
86087            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86088
86089     glibcxx_gnu_ld_version=`echo $ldver | \
86090            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86091     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86092 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86093   fi
86094
86095   # Set --gc-sections.
86096   glibcxx_have_gc_sections=no
86097   if test "$glibcxx_ld_is_gold" = "yes"; then
86098     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86099       glibcxx_have_gc_sections=yes
86100     fi
86101   else
86102     glibcxx_gcsections_min_ld=21602
86103     if test x"$with_gnu_ld" = x"yes" &&
86104         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86105       glibcxx_have_gc_sections=yes
86106     fi
86107   fi
86108   if test "$glibcxx_have_gc_sections" = "yes"; then
86109     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86110     # NB: This flag only works reliably after 2.16.1. Configure tests
86111     # for this are difficult, so hard wire a value that should work.
86112
86113     ac_test_CFLAGS="${CFLAGS+set}"
86114     ac_save_CFLAGS="$CFLAGS"
86115     CFLAGS='-Wl,--gc-sections'
86116
86117     # Check for -Wl,--gc-sections
86118     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86119 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86120     if test x$gcc_no_link = xyes; then
86121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86123    { (exit 1); exit 1; }; }
86124 fi
86125 cat >conftest.$ac_ext <<_ACEOF
86126 /* confdefs.h.  */
86127 _ACEOF
86128 cat confdefs.h >>conftest.$ac_ext
86129 cat >>conftest.$ac_ext <<_ACEOF
86130 /* end confdefs.h.  */
86131  int one(void) { return 1; }
86132      int two(void) { return 2; }
86133
86134 int
86135 main ()
86136 {
86137  two();
86138   ;
86139   return 0;
86140 }
86141 _ACEOF
86142 rm -f conftest.$ac_objext conftest$ac_exeext
86143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86144   (eval $ac_link) 2>conftest.er1
86145   ac_status=$?
86146   grep -v '^ *+' conftest.er1 >conftest.err
86147   rm -f conftest.er1
86148   cat conftest.err >&5
86149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86150   (exit $ac_status); } &&
86151          { ac_try='test -z "$ac_c_werror_flag"
86152                          || test ! -s conftest.err'
86153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86154   (eval $ac_try) 2>&5
86155   ac_status=$?
86156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86157   (exit $ac_status); }; } &&
86158          { ac_try='test -s conftest$ac_exeext'
86159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86160   (eval $ac_try) 2>&5
86161   ac_status=$?
86162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86163   (exit $ac_status); }; }; then
86164   ac_gcsections=yes
86165 else
86166   echo "$as_me: failed program was:" >&5
86167 sed 's/^/| /' conftest.$ac_ext >&5
86168
86169 ac_gcsections=no
86170 fi
86171 rm -f conftest.err conftest.$ac_objext \
86172       conftest$ac_exeext conftest.$ac_ext
86173     if test "$ac_gcsections" = "yes"; then
86174       rm -f conftest.c
86175       touch conftest.c
86176       if $CC -c conftest.c; then
86177         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86178            grep "Warning: gc-sections option ignored" > /dev/null; then
86179           ac_gcsections=no
86180         fi
86181       fi
86182       rm -f conftest.c conftest.o conftest
86183     fi
86184     if test "$ac_gcsections" = "yes"; then
86185       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86186     fi
86187     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86188 echo "${ECHO_T}$ac_gcsections" >&6
86189
86190     if test "$ac_test_CFLAGS" = set; then
86191       CFLAGS="$ac_save_CFLAGS"
86192     else
86193       # this is the suspicious part
86194       CFLAGS=''
86195     fi
86196   fi
86197
86198   # Set -z,relro.
86199   # Note this is only for shared objects.
86200   ac_ld_relro=no
86201   if test x"$with_gnu_ld" = x"yes"; then
86202     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86203 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86204     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86205     if test -n "$cxx_z_relo"; then
86206       OPT_LDFLAGS="-Wl,-z,relro"
86207       ac_ld_relro=yes
86208     fi
86209     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86210 echo "${ECHO_T}$ac_ld_relro" >&6
86211   fi
86212
86213   # Set linker optimization flags.
86214   if test x"$with_gnu_ld" = x"yes"; then
86215     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86216   fi
86217
86218
86219
86220
86221
86222
86223 echo "$as_me:$LINENO: checking for main in -lm" >&5
86224 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86225 if test "${ac_cv_lib_m_main+set}" = set; then
86226   echo $ECHO_N "(cached) $ECHO_C" >&6
86227 else
86228   ac_check_lib_save_LIBS=$LIBS
86229 LIBS="-lm  $LIBS"
86230 if test x$gcc_no_link = xyes; then
86231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86233    { (exit 1); exit 1; }; }
86234 fi
86235 cat >conftest.$ac_ext <<_ACEOF
86236 /* confdefs.h.  */
86237 _ACEOF
86238 cat confdefs.h >>conftest.$ac_ext
86239 cat >>conftest.$ac_ext <<_ACEOF
86240 /* end confdefs.h.  */
86241
86242
86243 int
86244 main ()
86245 {
86246 main ();
86247   ;
86248   return 0;
86249 }
86250 _ACEOF
86251 rm -f conftest.$ac_objext conftest$ac_exeext
86252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86253   (eval $ac_link) 2>conftest.er1
86254   ac_status=$?
86255   grep -v '^ *+' conftest.er1 >conftest.err
86256   rm -f conftest.er1
86257   cat conftest.err >&5
86258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86259   (exit $ac_status); } &&
86260          { ac_try='test -z "$ac_c_werror_flag"
86261                          || test ! -s conftest.err'
86262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86263   (eval $ac_try) 2>&5
86264   ac_status=$?
86265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86266   (exit $ac_status); }; } &&
86267          { ac_try='test -s conftest$ac_exeext'
86268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86269   (eval $ac_try) 2>&5
86270   ac_status=$?
86271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86272   (exit $ac_status); }; }; then
86273   ac_cv_lib_m_main=yes
86274 else
86275   echo "$as_me: failed program was:" >&5
86276 sed 's/^/| /' conftest.$ac_ext >&5
86277
86278 ac_cv_lib_m_main=no
86279 fi
86280 rm -f conftest.err conftest.$ac_objext \
86281       conftest$ac_exeext conftest.$ac_ext
86282 LIBS=$ac_check_lib_save_LIBS
86283 fi
86284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86285 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86286 if test $ac_cv_lib_m_main = yes; then
86287   cat >>confdefs.h <<_ACEOF
86288 #define HAVE_LIBM 1
86289 _ACEOF
86290
86291   LIBS="-lm $LIBS"
86292
86293 fi
86294
86295
86296 for ac_func in copysignf
86297 do
86298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86299 echo "$as_me:$LINENO: checking for $ac_func" >&5
86300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86301 if eval "test \"\${$as_ac_var+set}\" = set"; then
86302   echo $ECHO_N "(cached) $ECHO_C" >&6
86303 else
86304   if test x$gcc_no_link = xyes; then
86305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86307    { (exit 1); exit 1; }; }
86308 fi
86309 cat >conftest.$ac_ext <<_ACEOF
86310 /* confdefs.h.  */
86311 _ACEOF
86312 cat confdefs.h >>conftest.$ac_ext
86313 cat >>conftest.$ac_ext <<_ACEOF
86314 /* end confdefs.h.  */
86315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86317 #define $ac_func innocuous_$ac_func
86318
86319 /* System header to define __stub macros and hopefully few prototypes,
86320     which can conflict with char $ac_func (); below.
86321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86322     <limits.h> exists even on freestanding compilers.  */
86323
86324 #ifdef __STDC__
86325 # include <limits.h>
86326 #else
86327 # include <assert.h>
86328 #endif
86329
86330 #undef $ac_func
86331
86332 /* Override any gcc2 internal prototype to avoid an error.  */
86333 #ifdef __cplusplus
86334 extern "C"
86335 {
86336 #endif
86337 /* We use char because int might match the return type of a gcc2
86338    builtin and then its argument prototype would still apply.  */
86339 char $ac_func ();
86340 /* The GNU C library defines this for functions which it implements
86341     to always fail with ENOSYS.  Some functions are actually named
86342     something starting with __ and the normal name is an alias.  */
86343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86344 choke me
86345 #else
86346 char (*f) () = $ac_func;
86347 #endif
86348 #ifdef __cplusplus
86349 }
86350 #endif
86351
86352 int
86353 main ()
86354 {
86355 return f != $ac_func;
86356   ;
86357   return 0;
86358 }
86359 _ACEOF
86360 rm -f conftest.$ac_objext conftest$ac_exeext
86361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86362   (eval $ac_link) 2>conftest.er1
86363   ac_status=$?
86364   grep -v '^ *+' conftest.er1 >conftest.err
86365   rm -f conftest.er1
86366   cat conftest.err >&5
86367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86368   (exit $ac_status); } &&
86369          { ac_try='test -z "$ac_c_werror_flag"
86370                          || test ! -s conftest.err'
86371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86372   (eval $ac_try) 2>&5
86373   ac_status=$?
86374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86375   (exit $ac_status); }; } &&
86376          { ac_try='test -s conftest$ac_exeext'
86377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86378   (eval $ac_try) 2>&5
86379   ac_status=$?
86380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86381   (exit $ac_status); }; }; then
86382   eval "$as_ac_var=yes"
86383 else
86384   echo "$as_me: failed program was:" >&5
86385 sed 's/^/| /' conftest.$ac_ext >&5
86386
86387 eval "$as_ac_var=no"
86388 fi
86389 rm -f conftest.err conftest.$ac_objext \
86390       conftest$ac_exeext conftest.$ac_ext
86391 fi
86392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86394 if test `eval echo '${'$as_ac_var'}'` = yes; then
86395   cat >>confdefs.h <<_ACEOF
86396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86397 _ACEOF
86398
86399 else
86400   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86401 fi
86402 done
86403
86404
86405
86406 for ac_func in __signbit
86407 do
86408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86409 echo "$as_me:$LINENO: checking for $ac_func" >&5
86410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86411 if eval "test \"\${$as_ac_var+set}\" = set"; then
86412   echo $ECHO_N "(cached) $ECHO_C" >&6
86413 else
86414   if test x$gcc_no_link = xyes; then
86415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86417    { (exit 1); exit 1; }; }
86418 fi
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h.  */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h.  */
86425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86427 #define $ac_func innocuous_$ac_func
86428
86429 /* System header to define __stub macros and hopefully few prototypes,
86430     which can conflict with char $ac_func (); below.
86431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86432     <limits.h> exists even on freestanding compilers.  */
86433
86434 #ifdef __STDC__
86435 # include <limits.h>
86436 #else
86437 # include <assert.h>
86438 #endif
86439
86440 #undef $ac_func
86441
86442 /* Override any gcc2 internal prototype to avoid an error.  */
86443 #ifdef __cplusplus
86444 extern "C"
86445 {
86446 #endif
86447 /* We use char because int might match the return type of a gcc2
86448    builtin and then its argument prototype would still apply.  */
86449 char $ac_func ();
86450 /* The GNU C library defines this for functions which it implements
86451     to always fail with ENOSYS.  Some functions are actually named
86452     something starting with __ and the normal name is an alias.  */
86453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86454 choke me
86455 #else
86456 char (*f) () = $ac_func;
86457 #endif
86458 #ifdef __cplusplus
86459 }
86460 #endif
86461
86462 int
86463 main ()
86464 {
86465 return f != $ac_func;
86466   ;
86467   return 0;
86468 }
86469 _ACEOF
86470 rm -f conftest.$ac_objext conftest$ac_exeext
86471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86472   (eval $ac_link) 2>conftest.er1
86473   ac_status=$?
86474   grep -v '^ *+' conftest.er1 >conftest.err
86475   rm -f conftest.er1
86476   cat conftest.err >&5
86477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86478   (exit $ac_status); } &&
86479          { ac_try='test -z "$ac_c_werror_flag"
86480                          || test ! -s conftest.err'
86481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86482   (eval $ac_try) 2>&5
86483   ac_status=$?
86484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86485   (exit $ac_status); }; } &&
86486          { ac_try='test -s conftest$ac_exeext'
86487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86488   (eval $ac_try) 2>&5
86489   ac_status=$?
86490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86491   (exit $ac_status); }; }; then
86492   eval "$as_ac_var=yes"
86493 else
86494   echo "$as_me: failed program was:" >&5
86495 sed 's/^/| /' conftest.$ac_ext >&5
86496
86497 eval "$as_ac_var=no"
86498 fi
86499 rm -f conftest.err conftest.$ac_objext \
86500       conftest$ac_exeext conftest.$ac_ext
86501 fi
86502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86504 if test `eval echo '${'$as_ac_var'}'` = yes; then
86505   cat >>confdefs.h <<_ACEOF
86506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86507 _ACEOF
86508
86509 else
86510   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86511 fi
86512 done
86513
86514
86515
86516 for ac_func in __signbitf
86517 do
86518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86519 echo "$as_me:$LINENO: checking for $ac_func" >&5
86520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86521 if eval "test \"\${$as_ac_var+set}\" = set"; then
86522   echo $ECHO_N "(cached) $ECHO_C" >&6
86523 else
86524   if test x$gcc_no_link = xyes; then
86525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86527    { (exit 1); exit 1; }; }
86528 fi
86529 cat >conftest.$ac_ext <<_ACEOF
86530 /* confdefs.h.  */
86531 _ACEOF
86532 cat confdefs.h >>conftest.$ac_ext
86533 cat >>conftest.$ac_ext <<_ACEOF
86534 /* end confdefs.h.  */
86535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86537 #define $ac_func innocuous_$ac_func
86538
86539 /* System header to define __stub macros and hopefully few prototypes,
86540     which can conflict with char $ac_func (); below.
86541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86542     <limits.h> exists even on freestanding compilers.  */
86543
86544 #ifdef __STDC__
86545 # include <limits.h>
86546 #else
86547 # include <assert.h>
86548 #endif
86549
86550 #undef $ac_func
86551
86552 /* Override any gcc2 internal prototype to avoid an error.  */
86553 #ifdef __cplusplus
86554 extern "C"
86555 {
86556 #endif
86557 /* We use char because int might match the return type of a gcc2
86558    builtin and then its argument prototype would still apply.  */
86559 char $ac_func ();
86560 /* The GNU C library defines this for functions which it implements
86561     to always fail with ENOSYS.  Some functions are actually named
86562     something starting with __ and the normal name is an alias.  */
86563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86564 choke me
86565 #else
86566 char (*f) () = $ac_func;
86567 #endif
86568 #ifdef __cplusplus
86569 }
86570 #endif
86571
86572 int
86573 main ()
86574 {
86575 return f != $ac_func;
86576   ;
86577   return 0;
86578 }
86579 _ACEOF
86580 rm -f conftest.$ac_objext conftest$ac_exeext
86581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86582   (eval $ac_link) 2>conftest.er1
86583   ac_status=$?
86584   grep -v '^ *+' conftest.er1 >conftest.err
86585   rm -f conftest.er1
86586   cat conftest.err >&5
86587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86588   (exit $ac_status); } &&
86589          { ac_try='test -z "$ac_c_werror_flag"
86590                          || test ! -s conftest.err'
86591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86592   (eval $ac_try) 2>&5
86593   ac_status=$?
86594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86595   (exit $ac_status); }; } &&
86596          { ac_try='test -s conftest$ac_exeext'
86597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86598   (eval $ac_try) 2>&5
86599   ac_status=$?
86600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86601   (exit $ac_status); }; }; then
86602   eval "$as_ac_var=yes"
86603 else
86604   echo "$as_me: failed program was:" >&5
86605 sed 's/^/| /' conftest.$ac_ext >&5
86606
86607 eval "$as_ac_var=no"
86608 fi
86609 rm -f conftest.err conftest.$ac_objext \
86610       conftest$ac_exeext conftest.$ac_ext
86611 fi
86612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86614 if test `eval echo '${'$as_ac_var'}'` = yes; then
86615   cat >>confdefs.h <<_ACEOF
86616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86617 _ACEOF
86618
86619 else
86620   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86621 fi
86622 done
86623
86624
86625           if test x$ac_cv_func_copysignl = x"yes"; then
86626
86627 for ac_func in __signbitl
86628 do
86629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86630 echo "$as_me:$LINENO: checking for $ac_func" >&5
86631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86632 if eval "test \"\${$as_ac_var+set}\" = set"; then
86633   echo $ECHO_N "(cached) $ECHO_C" >&6
86634 else
86635   if test x$gcc_no_link = xyes; then
86636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86638    { (exit 1); exit 1; }; }
86639 fi
86640 cat >conftest.$ac_ext <<_ACEOF
86641 /* confdefs.h.  */
86642 _ACEOF
86643 cat confdefs.h >>conftest.$ac_ext
86644 cat >>conftest.$ac_ext <<_ACEOF
86645 /* end confdefs.h.  */
86646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86648 #define $ac_func innocuous_$ac_func
86649
86650 /* System header to define __stub macros and hopefully few prototypes,
86651     which can conflict with char $ac_func (); below.
86652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86653     <limits.h> exists even on freestanding compilers.  */
86654
86655 #ifdef __STDC__
86656 # include <limits.h>
86657 #else
86658 # include <assert.h>
86659 #endif
86660
86661 #undef $ac_func
86662
86663 /* Override any gcc2 internal prototype to avoid an error.  */
86664 #ifdef __cplusplus
86665 extern "C"
86666 {
86667 #endif
86668 /* We use char because int might match the return type of a gcc2
86669    builtin and then its argument prototype would still apply.  */
86670 char $ac_func ();
86671 /* The GNU C library defines this for functions which it implements
86672     to always fail with ENOSYS.  Some functions are actually named
86673     something starting with __ and the normal name is an alias.  */
86674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86675 choke me
86676 #else
86677 char (*f) () = $ac_func;
86678 #endif
86679 #ifdef __cplusplus
86680 }
86681 #endif
86682
86683 int
86684 main ()
86685 {
86686 return f != $ac_func;
86687   ;
86688   return 0;
86689 }
86690 _ACEOF
86691 rm -f conftest.$ac_objext conftest$ac_exeext
86692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86693   (eval $ac_link) 2>conftest.er1
86694   ac_status=$?
86695   grep -v '^ *+' conftest.er1 >conftest.err
86696   rm -f conftest.er1
86697   cat conftest.err >&5
86698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86699   (exit $ac_status); } &&
86700          { ac_try='test -z "$ac_c_werror_flag"
86701                          || test ! -s conftest.err'
86702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86703   (eval $ac_try) 2>&5
86704   ac_status=$?
86705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86706   (exit $ac_status); }; } &&
86707          { ac_try='test -s conftest$ac_exeext'
86708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86709   (eval $ac_try) 2>&5
86710   ac_status=$?
86711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86712   (exit $ac_status); }; }; then
86713   eval "$as_ac_var=yes"
86714 else
86715   echo "$as_me: failed program was:" >&5
86716 sed 's/^/| /' conftest.$ac_ext >&5
86717
86718 eval "$as_ac_var=no"
86719 fi
86720 rm -f conftest.err conftest.$ac_objext \
86721       conftest$ac_exeext conftest.$ac_ext
86722 fi
86723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86725 if test `eval echo '${'$as_ac_var'}'` = yes; then
86726   cat >>confdefs.h <<_ACEOF
86727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86728 _ACEOF
86729
86730 else
86731   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86732 fi
86733 done
86734
86735   fi
86736
86737   # Used in libmath/Makefile.am.
86738   if test -n "$LIBMATHOBJS"; then
86739     need_libmath=yes
86740   fi
86741
86742
86743     cat >>confdefs.h <<\_ACEOF
86744 #define HAVE_LC_MESSAGES 1
86745 _ACEOF
86746
86747     cat >>confdefs.h <<\_ACEOF
86748 #define HAVE_SETENV 1
86749 _ACEOF
86750
86751     cat >>confdefs.h <<\_ACEOF
86752 #define HAVE_COPYSIGN 1
86753 _ACEOF
86754
86755     cat >>confdefs.h <<\_ACEOF
86756 #define HAVE_COPYSIGNF 1
86757 _ACEOF
86758
86759     cat >>confdefs.h <<\_ACEOF
86760 #define HAVE_FINITEF 1
86761 _ACEOF
86762
86763     cat >>confdefs.h <<\_ACEOF
86764 #define HAVE_FINITE 1
86765 _ACEOF
86766
86767     cat >>confdefs.h <<\_ACEOF
86768 #define HAVE_FREXPF 1
86769 _ACEOF
86770
86771     cat >>confdefs.h <<\_ACEOF
86772 #define HAVE_HYPOT 1
86773 _ACEOF
86774
86775     cat >>confdefs.h <<\_ACEOF
86776 #define HAVE_HYPOTF 1
86777 _ACEOF
86778
86779     cat >>confdefs.h <<\_ACEOF
86780 #define HAVE_ISINF 1
86781 _ACEOF
86782
86783     cat >>confdefs.h <<\_ACEOF
86784 #define HAVE_ISNAN 1
86785 _ACEOF
86786
86787     cat >>confdefs.h <<\_ACEOF
86788 #define HAVE_ISNANF 1
86789 _ACEOF
86790
86791
86792     cat >>confdefs.h <<\_ACEOF
86793 #define HAVE_ACOSF 1
86794 _ACEOF
86795
86796     cat >>confdefs.h <<\_ACEOF
86797 #define HAVE_ASINF 1
86798 _ACEOF
86799
86800     cat >>confdefs.h <<\_ACEOF
86801 #define HAVE_ATAN2F 1
86802 _ACEOF
86803
86804     cat >>confdefs.h <<\_ACEOF
86805 #define HAVE_ATANF 1
86806 _ACEOF
86807
86808     cat >>confdefs.h <<\_ACEOF
86809 #define HAVE_CEILF 1
86810 _ACEOF
86811
86812     cat >>confdefs.h <<\_ACEOF
86813 #define HAVE_COPYSIGN 1
86814 _ACEOF
86815
86816     cat >>confdefs.h <<\_ACEOF
86817 #define HAVE_COPYSIGNF 1
86818 _ACEOF
86819
86820     cat >>confdefs.h <<\_ACEOF
86821 #define HAVE_COSF 1
86822 _ACEOF
86823
86824     cat >>confdefs.h <<\_ACEOF
86825 #define HAVE_COSHF 1
86826 _ACEOF
86827
86828     cat >>confdefs.h <<\_ACEOF
86829 #define HAVE_EXPF 1
86830 _ACEOF
86831
86832     cat >>confdefs.h <<\_ACEOF
86833 #define HAVE_FABSF 1
86834 _ACEOF
86835
86836     cat >>confdefs.h <<\_ACEOF
86837 #define HAVE_FLOORF 1
86838 _ACEOF
86839
86840     cat >>confdefs.h <<\_ACEOF
86841 #define HAVE_FMODF 1
86842 _ACEOF
86843
86844     cat >>confdefs.h <<\_ACEOF
86845 #define HAVE_FREXPF 1
86846 _ACEOF
86847
86848     cat >>confdefs.h <<\_ACEOF
86849 #define HAVE_LDEXPF 1
86850 _ACEOF
86851
86852     cat >>confdefs.h <<\_ACEOF
86853 #define HAVE_LOG10F 1
86854 _ACEOF
86855
86856     cat >>confdefs.h <<\_ACEOF
86857 #define HAVE_LOGF 1
86858 _ACEOF
86859
86860     cat >>confdefs.h <<\_ACEOF
86861 #define HAVE_MODFF 1
86862 _ACEOF
86863
86864     cat >>confdefs.h <<\_ACEOF
86865 #define HAVE_POWF 1
86866 _ACEOF
86867
86868     cat >>confdefs.h <<\_ACEOF
86869 #define HAVE_SINF 1
86870 _ACEOF
86871
86872     cat >>confdefs.h <<\_ACEOF
86873 #define HAVE_SINHF 1
86874 _ACEOF
86875
86876     cat >>confdefs.h <<\_ACEOF
86877 #define HAVE_SQRTF 1
86878 _ACEOF
86879
86880     cat >>confdefs.h <<\_ACEOF
86881 #define HAVE_TANF 1
86882 _ACEOF
86883
86884     cat >>confdefs.h <<\_ACEOF
86885 #define HAVE_TANHF 1
86886 _ACEOF
86887
86888     if test x"long_double_math_on_this_cpu" = x"yes"; then
86889       cat >>confdefs.h <<\_ACEOF
86890 #define HAVE_FINITEL 1
86891 _ACEOF
86892
86893       cat >>confdefs.h <<\_ACEOF
86894 #define HAVE_ISINFL 1
86895 _ACEOF
86896
86897       cat >>confdefs.h <<\_ACEOF
86898 #define HAVE_ISNANL 1
86899 _ACEOF
86900
86901     fi
86902     ;;
86903   *-hpux*)
86904
86905
86906
86907
86908
86909
86910
86911
86912
86913
86914
86915
86916 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86917       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86918       fp.h locale.h float.h inttypes.h
86919 do
86920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86922   echo "$as_me:$LINENO: checking for $ac_header" >&5
86923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86925   echo $ECHO_N "(cached) $ECHO_C" >&6
86926 fi
86927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86929 else
86930   # Is the header compilable?
86931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86933 cat >conftest.$ac_ext <<_ACEOF
86934 /* confdefs.h.  */
86935 _ACEOF
86936 cat confdefs.h >>conftest.$ac_ext
86937 cat >>conftest.$ac_ext <<_ACEOF
86938 /* end confdefs.h.  */
86939 $ac_includes_default
86940 #include <$ac_header>
86941 _ACEOF
86942 rm -f conftest.$ac_objext
86943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86944   (eval $ac_compile) 2>conftest.er1
86945   ac_status=$?
86946   grep -v '^ *+' conftest.er1 >conftest.err
86947   rm -f conftest.er1
86948   cat conftest.err >&5
86949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86950   (exit $ac_status); } &&
86951          { ac_try='test -z "$ac_c_werror_flag"
86952                          || test ! -s conftest.err'
86953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86954   (eval $ac_try) 2>&5
86955   ac_status=$?
86956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86957   (exit $ac_status); }; } &&
86958          { ac_try='test -s conftest.$ac_objext'
86959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86960   (eval $ac_try) 2>&5
86961   ac_status=$?
86962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86963   (exit $ac_status); }; }; then
86964   ac_header_compiler=yes
86965 else
86966   echo "$as_me: failed program was:" >&5
86967 sed 's/^/| /' conftest.$ac_ext >&5
86968
86969 ac_header_compiler=no
86970 fi
86971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86973 echo "${ECHO_T}$ac_header_compiler" >&6
86974
86975 # Is the header present?
86976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86978 cat >conftest.$ac_ext <<_ACEOF
86979 /* confdefs.h.  */
86980 _ACEOF
86981 cat confdefs.h >>conftest.$ac_ext
86982 cat >>conftest.$ac_ext <<_ACEOF
86983 /* end confdefs.h.  */
86984 #include <$ac_header>
86985 _ACEOF
86986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86987   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86988   ac_status=$?
86989   grep -v '^ *+' conftest.er1 >conftest.err
86990   rm -f conftest.er1
86991   cat conftest.err >&5
86992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86993   (exit $ac_status); } >/dev/null; then
86994   if test -s conftest.err; then
86995     ac_cpp_err=$ac_c_preproc_warn_flag
86996     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86997   else
86998     ac_cpp_err=
86999   fi
87000 else
87001   ac_cpp_err=yes
87002 fi
87003 if test -z "$ac_cpp_err"; then
87004   ac_header_preproc=yes
87005 else
87006   echo "$as_me: failed program was:" >&5
87007 sed 's/^/| /' conftest.$ac_ext >&5
87008
87009   ac_header_preproc=no
87010 fi
87011 rm -f conftest.err conftest.$ac_ext
87012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87013 echo "${ECHO_T}$ac_header_preproc" >&6
87014
87015 # So?  What about this header?
87016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87017   yes:no: )
87018     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87020     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87022     ac_header_preproc=yes
87023     ;;
87024   no:yes:* )
87025     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87027     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87028 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87029     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87031     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87032 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87033     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87035     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87037     (
87038       cat <<\_ASBOX
87039 ## ----------------------------------------- ##
87040 ## Report this to the package-unused lists.  ##
87041 ## ----------------------------------------- ##
87042 _ASBOX
87043     ) |
87044       sed "s/^/$as_me: WARNING:     /" >&2
87045     ;;
87046 esac
87047 echo "$as_me:$LINENO: checking for $ac_header" >&5
87048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87050   echo $ECHO_N "(cached) $ECHO_C" >&6
87051 else
87052   eval "$as_ac_Header=\$ac_header_preproc"
87053 fi
87054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87056
87057 fi
87058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87059   cat >>confdefs.h <<_ACEOF
87060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87061 _ACEOF
87062
87063 fi
87064
87065 done
87066
87067     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87068
87069
87070   # If we're not using GNU ld, then there's no point in even trying these
87071   # tests.  Check for that first.  We should have already tested for gld
87072   # by now (in libtool), but require it now just to be safe...
87073   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87074   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87075
87076
87077
87078   # The name set by libtool depends on the version of libtool.  Shame on us
87079   # for depending on an impl detail, but c'est la vie.  Older versions used
87080   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87081   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87082   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87083   # set (hence we're using an older libtool), then set it.
87084   if test x${with_gnu_ld+set} != xset; then
87085     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87086       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87087       with_gnu_ld=no
87088     else
87089       with_gnu_ld=$ac_cv_prog_gnu_ld
87090     fi
87091   fi
87092
87093   # Start by getting the version number.  I think the libtool test already
87094   # does some of this, but throws away the result.
87095   glibcxx_ld_is_gold=no
87096   if test x"$with_gnu_ld" = x"yes"; then
87097     echo "$as_me:$LINENO: checking for ld version" >&5
87098 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87099
87100     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87101       glibcxx_ld_is_gold=yes
87102     fi
87103     ldver=`$LD --version 2>/dev/null | head -1 | \
87104            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87105
87106     glibcxx_gnu_ld_version=`echo $ldver | \
87107            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87108     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87109 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87110   fi
87111
87112   # Set --gc-sections.
87113   glibcxx_have_gc_sections=no
87114   if test "$glibcxx_ld_is_gold" = "yes"; then
87115     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87116       glibcxx_have_gc_sections=yes
87117     fi
87118   else
87119     glibcxx_gcsections_min_ld=21602
87120     if test x"$with_gnu_ld" = x"yes" &&
87121         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87122       glibcxx_have_gc_sections=yes
87123     fi
87124   fi
87125   if test "$glibcxx_have_gc_sections" = "yes"; then
87126     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87127     # NB: This flag only works reliably after 2.16.1. Configure tests
87128     # for this are difficult, so hard wire a value that should work.
87129
87130     ac_test_CFLAGS="${CFLAGS+set}"
87131     ac_save_CFLAGS="$CFLAGS"
87132     CFLAGS='-Wl,--gc-sections'
87133
87134     # Check for -Wl,--gc-sections
87135     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87136 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87137     if test x$gcc_no_link = xyes; then
87138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87140    { (exit 1); exit 1; }; }
87141 fi
87142 cat >conftest.$ac_ext <<_ACEOF
87143 /* confdefs.h.  */
87144 _ACEOF
87145 cat confdefs.h >>conftest.$ac_ext
87146 cat >>conftest.$ac_ext <<_ACEOF
87147 /* end confdefs.h.  */
87148  int one(void) { return 1; }
87149      int two(void) { return 2; }
87150
87151 int
87152 main ()
87153 {
87154  two();
87155   ;
87156   return 0;
87157 }
87158 _ACEOF
87159 rm -f conftest.$ac_objext conftest$ac_exeext
87160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87161   (eval $ac_link) 2>conftest.er1
87162   ac_status=$?
87163   grep -v '^ *+' conftest.er1 >conftest.err
87164   rm -f conftest.er1
87165   cat conftest.err >&5
87166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87167   (exit $ac_status); } &&
87168          { ac_try='test -z "$ac_c_werror_flag"
87169                          || test ! -s conftest.err'
87170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87171   (eval $ac_try) 2>&5
87172   ac_status=$?
87173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87174   (exit $ac_status); }; } &&
87175          { ac_try='test -s conftest$ac_exeext'
87176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87177   (eval $ac_try) 2>&5
87178   ac_status=$?
87179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87180   (exit $ac_status); }; }; then
87181   ac_gcsections=yes
87182 else
87183   echo "$as_me: failed program was:" >&5
87184 sed 's/^/| /' conftest.$ac_ext >&5
87185
87186 ac_gcsections=no
87187 fi
87188 rm -f conftest.err conftest.$ac_objext \
87189       conftest$ac_exeext conftest.$ac_ext
87190     if test "$ac_gcsections" = "yes"; then
87191       rm -f conftest.c
87192       touch conftest.c
87193       if $CC -c conftest.c; then
87194         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87195            grep "Warning: gc-sections option ignored" > /dev/null; then
87196           ac_gcsections=no
87197         fi
87198       fi
87199       rm -f conftest.c conftest.o conftest
87200     fi
87201     if test "$ac_gcsections" = "yes"; then
87202       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87203     fi
87204     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87205 echo "${ECHO_T}$ac_gcsections" >&6
87206
87207     if test "$ac_test_CFLAGS" = set; then
87208       CFLAGS="$ac_save_CFLAGS"
87209     else
87210       # this is the suspicious part
87211       CFLAGS=''
87212     fi
87213   fi
87214
87215   # Set -z,relro.
87216   # Note this is only for shared objects.
87217   ac_ld_relro=no
87218   if test x"$with_gnu_ld" = x"yes"; then
87219     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87220 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87221     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87222     if test -n "$cxx_z_relo"; then
87223       OPT_LDFLAGS="-Wl,-z,relro"
87224       ac_ld_relro=yes
87225     fi
87226     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87227 echo "${ECHO_T}$ac_ld_relro" >&6
87228   fi
87229
87230   # Set linker optimization flags.
87231   if test x"$with_gnu_ld" = x"yes"; then
87232     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87233   fi
87234
87235
87236
87237
87238
87239
87240 echo "$as_me:$LINENO: checking for main in -lm" >&5
87241 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87242 if test "${ac_cv_lib_m_main+set}" = set; then
87243   echo $ECHO_N "(cached) $ECHO_C" >&6
87244 else
87245   ac_check_lib_save_LIBS=$LIBS
87246 LIBS="-lm  $LIBS"
87247 if test x$gcc_no_link = xyes; then
87248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87250    { (exit 1); exit 1; }; }
87251 fi
87252 cat >conftest.$ac_ext <<_ACEOF
87253 /* confdefs.h.  */
87254 _ACEOF
87255 cat confdefs.h >>conftest.$ac_ext
87256 cat >>conftest.$ac_ext <<_ACEOF
87257 /* end confdefs.h.  */
87258
87259
87260 int
87261 main ()
87262 {
87263 main ();
87264   ;
87265   return 0;
87266 }
87267 _ACEOF
87268 rm -f conftest.$ac_objext conftest$ac_exeext
87269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87270   (eval $ac_link) 2>conftest.er1
87271   ac_status=$?
87272   grep -v '^ *+' conftest.er1 >conftest.err
87273   rm -f conftest.er1
87274   cat conftest.err >&5
87275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87276   (exit $ac_status); } &&
87277          { ac_try='test -z "$ac_c_werror_flag"
87278                          || test ! -s conftest.err'
87279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87280   (eval $ac_try) 2>&5
87281   ac_status=$?
87282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87283   (exit $ac_status); }; } &&
87284          { ac_try='test -s conftest$ac_exeext'
87285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87286   (eval $ac_try) 2>&5
87287   ac_status=$?
87288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87289   (exit $ac_status); }; }; then
87290   ac_cv_lib_m_main=yes
87291 else
87292   echo "$as_me: failed program was:" >&5
87293 sed 's/^/| /' conftest.$ac_ext >&5
87294
87295 ac_cv_lib_m_main=no
87296 fi
87297 rm -f conftest.err conftest.$ac_objext \
87298       conftest$ac_exeext conftest.$ac_ext
87299 LIBS=$ac_check_lib_save_LIBS
87300 fi
87301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87302 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87303 if test $ac_cv_lib_m_main = yes; then
87304   cat >>confdefs.h <<_ACEOF
87305 #define HAVE_LIBM 1
87306 _ACEOF
87307
87308   LIBS="-lm $LIBS"
87309
87310 fi
87311
87312
87313 for ac_func in copysignf
87314 do
87315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87316 echo "$as_me:$LINENO: checking for $ac_func" >&5
87317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87318 if eval "test \"\${$as_ac_var+set}\" = set"; then
87319   echo $ECHO_N "(cached) $ECHO_C" >&6
87320 else
87321   if test x$gcc_no_link = xyes; then
87322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87324    { (exit 1); exit 1; }; }
87325 fi
87326 cat >conftest.$ac_ext <<_ACEOF
87327 /* confdefs.h.  */
87328 _ACEOF
87329 cat confdefs.h >>conftest.$ac_ext
87330 cat >>conftest.$ac_ext <<_ACEOF
87331 /* end confdefs.h.  */
87332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87334 #define $ac_func innocuous_$ac_func
87335
87336 /* System header to define __stub macros and hopefully few prototypes,
87337     which can conflict with char $ac_func (); below.
87338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87339     <limits.h> exists even on freestanding compilers.  */
87340
87341 #ifdef __STDC__
87342 # include <limits.h>
87343 #else
87344 # include <assert.h>
87345 #endif
87346
87347 #undef $ac_func
87348
87349 /* Override any gcc2 internal prototype to avoid an error.  */
87350 #ifdef __cplusplus
87351 extern "C"
87352 {
87353 #endif
87354 /* We use char because int might match the return type of a gcc2
87355    builtin and then its argument prototype would still apply.  */
87356 char $ac_func ();
87357 /* The GNU C library defines this for functions which it implements
87358     to always fail with ENOSYS.  Some functions are actually named
87359     something starting with __ and the normal name is an alias.  */
87360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87361 choke me
87362 #else
87363 char (*f) () = $ac_func;
87364 #endif
87365 #ifdef __cplusplus
87366 }
87367 #endif
87368
87369 int
87370 main ()
87371 {
87372 return f != $ac_func;
87373   ;
87374   return 0;
87375 }
87376 _ACEOF
87377 rm -f conftest.$ac_objext conftest$ac_exeext
87378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87379   (eval $ac_link) 2>conftest.er1
87380   ac_status=$?
87381   grep -v '^ *+' conftest.er1 >conftest.err
87382   rm -f conftest.er1
87383   cat conftest.err >&5
87384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87385   (exit $ac_status); } &&
87386          { ac_try='test -z "$ac_c_werror_flag"
87387                          || test ! -s conftest.err'
87388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87389   (eval $ac_try) 2>&5
87390   ac_status=$?
87391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87392   (exit $ac_status); }; } &&
87393          { ac_try='test -s conftest$ac_exeext'
87394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87395   (eval $ac_try) 2>&5
87396   ac_status=$?
87397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87398   (exit $ac_status); }; }; then
87399   eval "$as_ac_var=yes"
87400 else
87401   echo "$as_me: failed program was:" >&5
87402 sed 's/^/| /' conftest.$ac_ext >&5
87403
87404 eval "$as_ac_var=no"
87405 fi
87406 rm -f conftest.err conftest.$ac_objext \
87407       conftest$ac_exeext conftest.$ac_ext
87408 fi
87409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87411 if test `eval echo '${'$as_ac_var'}'` = yes; then
87412   cat >>confdefs.h <<_ACEOF
87413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87414 _ACEOF
87415
87416 else
87417   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87418 fi
87419 done
87420
87421
87422
87423 for ac_func in __signbit
87424 do
87425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87426 echo "$as_me:$LINENO: checking for $ac_func" >&5
87427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87428 if eval "test \"\${$as_ac_var+set}\" = set"; then
87429   echo $ECHO_N "(cached) $ECHO_C" >&6
87430 else
87431   if test x$gcc_no_link = xyes; then
87432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87434    { (exit 1); exit 1; }; }
87435 fi
87436 cat >conftest.$ac_ext <<_ACEOF
87437 /* confdefs.h.  */
87438 _ACEOF
87439 cat confdefs.h >>conftest.$ac_ext
87440 cat >>conftest.$ac_ext <<_ACEOF
87441 /* end confdefs.h.  */
87442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87444 #define $ac_func innocuous_$ac_func
87445
87446 /* System header to define __stub macros and hopefully few prototypes,
87447     which can conflict with char $ac_func (); below.
87448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87449     <limits.h> exists even on freestanding compilers.  */
87450
87451 #ifdef __STDC__
87452 # include <limits.h>
87453 #else
87454 # include <assert.h>
87455 #endif
87456
87457 #undef $ac_func
87458
87459 /* Override any gcc2 internal prototype to avoid an error.  */
87460 #ifdef __cplusplus
87461 extern "C"
87462 {
87463 #endif
87464 /* We use char because int might match the return type of a gcc2
87465    builtin and then its argument prototype would still apply.  */
87466 char $ac_func ();
87467 /* The GNU C library defines this for functions which it implements
87468     to always fail with ENOSYS.  Some functions are actually named
87469     something starting with __ and the normal name is an alias.  */
87470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87471 choke me
87472 #else
87473 char (*f) () = $ac_func;
87474 #endif
87475 #ifdef __cplusplus
87476 }
87477 #endif
87478
87479 int
87480 main ()
87481 {
87482 return f != $ac_func;
87483   ;
87484   return 0;
87485 }
87486 _ACEOF
87487 rm -f conftest.$ac_objext conftest$ac_exeext
87488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87489   (eval $ac_link) 2>conftest.er1
87490   ac_status=$?
87491   grep -v '^ *+' conftest.er1 >conftest.err
87492   rm -f conftest.er1
87493   cat conftest.err >&5
87494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87495   (exit $ac_status); } &&
87496          { ac_try='test -z "$ac_c_werror_flag"
87497                          || test ! -s conftest.err'
87498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87499   (eval $ac_try) 2>&5
87500   ac_status=$?
87501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87502   (exit $ac_status); }; } &&
87503          { ac_try='test -s conftest$ac_exeext'
87504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87505   (eval $ac_try) 2>&5
87506   ac_status=$?
87507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87508   (exit $ac_status); }; }; then
87509   eval "$as_ac_var=yes"
87510 else
87511   echo "$as_me: failed program was:" >&5
87512 sed 's/^/| /' conftest.$ac_ext >&5
87513
87514 eval "$as_ac_var=no"
87515 fi
87516 rm -f conftest.err conftest.$ac_objext \
87517       conftest$ac_exeext conftest.$ac_ext
87518 fi
87519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87521 if test `eval echo '${'$as_ac_var'}'` = yes; then
87522   cat >>confdefs.h <<_ACEOF
87523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87524 _ACEOF
87525
87526 else
87527   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87528 fi
87529 done
87530
87531
87532
87533 for ac_func in __signbitf
87534 do
87535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87536 echo "$as_me:$LINENO: checking for $ac_func" >&5
87537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87538 if eval "test \"\${$as_ac_var+set}\" = set"; then
87539   echo $ECHO_N "(cached) $ECHO_C" >&6
87540 else
87541   if test x$gcc_no_link = xyes; then
87542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87544    { (exit 1); exit 1; }; }
87545 fi
87546 cat >conftest.$ac_ext <<_ACEOF
87547 /* confdefs.h.  */
87548 _ACEOF
87549 cat confdefs.h >>conftest.$ac_ext
87550 cat >>conftest.$ac_ext <<_ACEOF
87551 /* end confdefs.h.  */
87552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87554 #define $ac_func innocuous_$ac_func
87555
87556 /* System header to define __stub macros and hopefully few prototypes,
87557     which can conflict with char $ac_func (); below.
87558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87559     <limits.h> exists even on freestanding compilers.  */
87560
87561 #ifdef __STDC__
87562 # include <limits.h>
87563 #else
87564 # include <assert.h>
87565 #endif
87566
87567 #undef $ac_func
87568
87569 /* Override any gcc2 internal prototype to avoid an error.  */
87570 #ifdef __cplusplus
87571 extern "C"
87572 {
87573 #endif
87574 /* We use char because int might match the return type of a gcc2
87575    builtin and then its argument prototype would still apply.  */
87576 char $ac_func ();
87577 /* The GNU C library defines this for functions which it implements
87578     to always fail with ENOSYS.  Some functions are actually named
87579     something starting with __ and the normal name is an alias.  */
87580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87581 choke me
87582 #else
87583 char (*f) () = $ac_func;
87584 #endif
87585 #ifdef __cplusplus
87586 }
87587 #endif
87588
87589 int
87590 main ()
87591 {
87592 return f != $ac_func;
87593   ;
87594   return 0;
87595 }
87596 _ACEOF
87597 rm -f conftest.$ac_objext conftest$ac_exeext
87598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87599   (eval $ac_link) 2>conftest.er1
87600   ac_status=$?
87601   grep -v '^ *+' conftest.er1 >conftest.err
87602   rm -f conftest.er1
87603   cat conftest.err >&5
87604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87605   (exit $ac_status); } &&
87606          { ac_try='test -z "$ac_c_werror_flag"
87607                          || test ! -s conftest.err'
87608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87609   (eval $ac_try) 2>&5
87610   ac_status=$?
87611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87612   (exit $ac_status); }; } &&
87613          { ac_try='test -s conftest$ac_exeext'
87614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87615   (eval $ac_try) 2>&5
87616   ac_status=$?
87617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87618   (exit $ac_status); }; }; then
87619   eval "$as_ac_var=yes"
87620 else
87621   echo "$as_me: failed program was:" >&5
87622 sed 's/^/| /' conftest.$ac_ext >&5
87623
87624 eval "$as_ac_var=no"
87625 fi
87626 rm -f conftest.err conftest.$ac_objext \
87627       conftest$ac_exeext conftest.$ac_ext
87628 fi
87629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87631 if test `eval echo '${'$as_ac_var'}'` = yes; then
87632   cat >>confdefs.h <<_ACEOF
87633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87634 _ACEOF
87635
87636 else
87637   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87638 fi
87639 done
87640
87641
87642           if test x$ac_cv_func_copysignl = x"yes"; then
87643
87644 for ac_func in __signbitl
87645 do
87646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87647 echo "$as_me:$LINENO: checking for $ac_func" >&5
87648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87649 if eval "test \"\${$as_ac_var+set}\" = set"; then
87650   echo $ECHO_N "(cached) $ECHO_C" >&6
87651 else
87652   if test x$gcc_no_link = xyes; then
87653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87655    { (exit 1); exit 1; }; }
87656 fi
87657 cat >conftest.$ac_ext <<_ACEOF
87658 /* confdefs.h.  */
87659 _ACEOF
87660 cat confdefs.h >>conftest.$ac_ext
87661 cat >>conftest.$ac_ext <<_ACEOF
87662 /* end confdefs.h.  */
87663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87665 #define $ac_func innocuous_$ac_func
87666
87667 /* System header to define __stub macros and hopefully few prototypes,
87668     which can conflict with char $ac_func (); below.
87669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87670     <limits.h> exists even on freestanding compilers.  */
87671
87672 #ifdef __STDC__
87673 # include <limits.h>
87674 #else
87675 # include <assert.h>
87676 #endif
87677
87678 #undef $ac_func
87679
87680 /* Override any gcc2 internal prototype to avoid an error.  */
87681 #ifdef __cplusplus
87682 extern "C"
87683 {
87684 #endif
87685 /* We use char because int might match the return type of a gcc2
87686    builtin and then its argument prototype would still apply.  */
87687 char $ac_func ();
87688 /* The GNU C library defines this for functions which it implements
87689     to always fail with ENOSYS.  Some functions are actually named
87690     something starting with __ and the normal name is an alias.  */
87691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87692 choke me
87693 #else
87694 char (*f) () = $ac_func;
87695 #endif
87696 #ifdef __cplusplus
87697 }
87698 #endif
87699
87700 int
87701 main ()
87702 {
87703 return f != $ac_func;
87704   ;
87705   return 0;
87706 }
87707 _ACEOF
87708 rm -f conftest.$ac_objext conftest$ac_exeext
87709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87710   (eval $ac_link) 2>conftest.er1
87711   ac_status=$?
87712   grep -v '^ *+' conftest.er1 >conftest.err
87713   rm -f conftest.er1
87714   cat conftest.err >&5
87715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87716   (exit $ac_status); } &&
87717          { ac_try='test -z "$ac_c_werror_flag"
87718                          || test ! -s conftest.err'
87719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87720   (eval $ac_try) 2>&5
87721   ac_status=$?
87722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723   (exit $ac_status); }; } &&
87724          { ac_try='test -s conftest$ac_exeext'
87725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87726   (eval $ac_try) 2>&5
87727   ac_status=$?
87728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87729   (exit $ac_status); }; }; then
87730   eval "$as_ac_var=yes"
87731 else
87732   echo "$as_me: failed program was:" >&5
87733 sed 's/^/| /' conftest.$ac_ext >&5
87734
87735 eval "$as_ac_var=no"
87736 fi
87737 rm -f conftest.err conftest.$ac_objext \
87738       conftest$ac_exeext conftest.$ac_ext
87739 fi
87740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87742 if test `eval echo '${'$as_ac_var'}'` = yes; then
87743   cat >>confdefs.h <<_ACEOF
87744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87745 _ACEOF
87746
87747 else
87748   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87749 fi
87750 done
87751
87752   fi
87753
87754   # Used in libmath/Makefile.am.
87755   if test -n "$LIBMATHOBJS"; then
87756     need_libmath=yes
87757   fi
87758
87759
87760     cat >>confdefs.h <<\_ACEOF
87761 #define HAVE_COPYSIGN 1
87762 _ACEOF
87763
87764     cat >>confdefs.h <<\_ACEOF
87765 #define HAVE_COPYSIGNF 1
87766 _ACEOF
87767
87768     cat >>confdefs.h <<\_ACEOF
87769 #define HAVE_FREXPF 1
87770 _ACEOF
87771
87772     cat >>confdefs.h <<\_ACEOF
87773 #define HAVE_HYPOT 1
87774 _ACEOF
87775
87776     case "$target" in
87777       *-hpux10*)
87778         cat >>confdefs.h <<\_ACEOF
87779 #define HAVE_FINITE 1
87780 _ACEOF
87781
87782         cat >>confdefs.h <<\_ACEOF
87783 #define HAVE_FINITEF 1
87784 _ACEOF
87785
87786         cat >>confdefs.h <<\_ACEOF
87787 #define HAVE_ISINF 1
87788 _ACEOF
87789
87790         cat >>confdefs.h <<\_ACEOF
87791 #define HAVE_ISINFF 1
87792 _ACEOF
87793
87794         cat >>confdefs.h <<\_ACEOF
87795 #define HAVE_ISNAN 1
87796 _ACEOF
87797
87798         cat >>confdefs.h <<\_ACEOF
87799 #define HAVE_ISNANF 1
87800 _ACEOF
87801
87802         ;;
87803     esac
87804     ;;
87805   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87806
87807
87808
87809
87810
87811
87812
87813
87814
87815
87816
87817
87818
87819
87820
87821
87822
87823 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87824       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87825       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87826       sys/ipc.h sys/sem.h
87827 do
87828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87830   echo "$as_me:$LINENO: checking for $ac_header" >&5
87831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87833   echo $ECHO_N "(cached) $ECHO_C" >&6
87834 fi
87835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87837 else
87838   # Is the header compilable?
87839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87841 cat >conftest.$ac_ext <<_ACEOF
87842 /* confdefs.h.  */
87843 _ACEOF
87844 cat confdefs.h >>conftest.$ac_ext
87845 cat >>conftest.$ac_ext <<_ACEOF
87846 /* end confdefs.h.  */
87847 $ac_includes_default
87848 #include <$ac_header>
87849 _ACEOF
87850 rm -f conftest.$ac_objext
87851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87852   (eval $ac_compile) 2>conftest.er1
87853   ac_status=$?
87854   grep -v '^ *+' conftest.er1 >conftest.err
87855   rm -f conftest.er1
87856   cat conftest.err >&5
87857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87858   (exit $ac_status); } &&
87859          { ac_try='test -z "$ac_c_werror_flag"
87860                          || test ! -s conftest.err'
87861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87862   (eval $ac_try) 2>&5
87863   ac_status=$?
87864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87865   (exit $ac_status); }; } &&
87866          { ac_try='test -s conftest.$ac_objext'
87867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87868   (eval $ac_try) 2>&5
87869   ac_status=$?
87870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87871   (exit $ac_status); }; }; then
87872   ac_header_compiler=yes
87873 else
87874   echo "$as_me: failed program was:" >&5
87875 sed 's/^/| /' conftest.$ac_ext >&5
87876
87877 ac_header_compiler=no
87878 fi
87879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87881 echo "${ECHO_T}$ac_header_compiler" >&6
87882
87883 # Is the header present?
87884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87886 cat >conftest.$ac_ext <<_ACEOF
87887 /* confdefs.h.  */
87888 _ACEOF
87889 cat confdefs.h >>conftest.$ac_ext
87890 cat >>conftest.$ac_ext <<_ACEOF
87891 /* end confdefs.h.  */
87892 #include <$ac_header>
87893 _ACEOF
87894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87895   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87896   ac_status=$?
87897   grep -v '^ *+' conftest.er1 >conftest.err
87898   rm -f conftest.er1
87899   cat conftest.err >&5
87900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87901   (exit $ac_status); } >/dev/null; then
87902   if test -s conftest.err; then
87903     ac_cpp_err=$ac_c_preproc_warn_flag
87904     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87905   else
87906     ac_cpp_err=
87907   fi
87908 else
87909   ac_cpp_err=yes
87910 fi
87911 if test -z "$ac_cpp_err"; then
87912   ac_header_preproc=yes
87913 else
87914   echo "$as_me: failed program was:" >&5
87915 sed 's/^/| /' conftest.$ac_ext >&5
87916
87917   ac_header_preproc=no
87918 fi
87919 rm -f conftest.err conftest.$ac_ext
87920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87921 echo "${ECHO_T}$ac_header_preproc" >&6
87922
87923 # So?  What about this header?
87924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87925   yes:no: )
87926     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87930     ac_header_preproc=yes
87931     ;;
87932   no:yes:* )
87933     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87935     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87936 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87937     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87939     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87940 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87943     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87945     (
87946       cat <<\_ASBOX
87947 ## ----------------------------------------- ##
87948 ## Report this to the package-unused lists.  ##
87949 ## ----------------------------------------- ##
87950 _ASBOX
87951     ) |
87952       sed "s/^/$as_me: WARNING:     /" >&2
87953     ;;
87954 esac
87955 echo "$as_me:$LINENO: checking for $ac_header" >&5
87956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87958   echo $ECHO_N "(cached) $ECHO_C" >&6
87959 else
87960   eval "$as_ac_Header=\$ac_header_preproc"
87961 fi
87962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87964
87965 fi
87966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87967   cat >>confdefs.h <<_ACEOF
87968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87969 _ACEOF
87970
87971 fi
87972
87973 done
87974
87975     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87976
87977
87978   # All these tests are for C++; save the language and the compiler flags.
87979   # The CXXFLAGS thing is suspicious, but based on similar bits previously
87980   # found in GLIBCXX_CONFIGURE.
87981
87982
87983   ac_ext=cc
87984 ac_cpp='$CXXCPP $CPPFLAGS'
87985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87988
87989   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87990   ac_save_CXXFLAGS="$CXXFLAGS"
87991
87992   # Check for maintainer-mode bits.
87993   if test x"$USE_MAINTAINER_MODE" = xno; then
87994     WERROR=''
87995   else
87996     WERROR='-Werror'
87997   fi
87998
87999   # Check for -ffunction-sections -fdata-sections
88000   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
88001 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
88002   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
88003   cat >conftest.$ac_ext <<_ACEOF
88004 /* confdefs.h.  */
88005 _ACEOF
88006 cat confdefs.h >>conftest.$ac_ext
88007 cat >>conftest.$ac_ext <<_ACEOF
88008 /* end confdefs.h.  */
88009 int foo; void bar() { };
88010 int
88011 main ()
88012 {
88013
88014   ;
88015   return 0;
88016 }
88017 _ACEOF
88018 rm -f conftest.$ac_objext
88019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88020   (eval $ac_compile) 2>conftest.er1
88021   ac_status=$?
88022   grep -v '^ *+' conftest.er1 >conftest.err
88023   rm -f conftest.er1
88024   cat conftest.err >&5
88025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88026   (exit $ac_status); } &&
88027          { ac_try='test -z "$ac_cxx_werror_flag"
88028                          || test ! -s conftest.err'
88029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88030   (eval $ac_try) 2>&5
88031   ac_status=$?
88032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88033   (exit $ac_status); }; } &&
88034          { ac_try='test -s conftest.$ac_objext'
88035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88036   (eval $ac_try) 2>&5
88037   ac_status=$?
88038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88039   (exit $ac_status); }; }; then
88040   ac_fdsections=yes
88041 else
88042   echo "$as_me: failed program was:" >&5
88043 sed 's/^/| /' conftest.$ac_ext >&5
88044
88045 ac_fdsections=no
88046 fi
88047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88048   if test "$ac_test_CXXFLAGS" = set; then
88049     CXXFLAGS="$ac_save_CXXFLAGS"
88050   else
88051     # this is the suspicious part
88052     CXXFLAGS=''
88053   fi
88054   if test x"$ac_fdsections" = x"yes"; then
88055     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88056   fi
88057   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
88058 echo "${ECHO_T}$ac_fdsections" >&6
88059
88060   ac_ext=c
88061 ac_cpp='$CPP $CPPFLAGS'
88062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88065
88066
88067
88068
88069
88070   # If we're not using GNU ld, then there's no point in even trying these
88071   # tests.  Check for that first.  We should have already tested for gld
88072   # by now (in libtool), but require it now just to be safe...
88073   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88074   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88075
88076
88077
88078   # The name set by libtool depends on the version of libtool.  Shame on us
88079   # for depending on an impl detail, but c'est la vie.  Older versions used
88080   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88081   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88082   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
88083   # set (hence we're using an older libtool), then set it.
88084   if test x${with_gnu_ld+set} != xset; then
88085     if test x${ac_cv_prog_gnu_ld+set} != xset; then
88086       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
88087       with_gnu_ld=no
88088     else
88089       with_gnu_ld=$ac_cv_prog_gnu_ld
88090     fi
88091   fi
88092
88093   # Start by getting the version number.  I think the libtool test already
88094   # does some of this, but throws away the result.
88095   glibcxx_ld_is_gold=no
88096   if test x"$with_gnu_ld" = x"yes"; then
88097     echo "$as_me:$LINENO: checking for ld version" >&5
88098 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88099
88100     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
88101       glibcxx_ld_is_gold=yes
88102     fi
88103     ldver=`$LD --version 2>/dev/null | head -1 | \
88104            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
88105
88106     glibcxx_gnu_ld_version=`echo $ldver | \
88107            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88108     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88109 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88110   fi
88111
88112   # Set --gc-sections.
88113   glibcxx_have_gc_sections=no
88114   if test "$glibcxx_ld_is_gold" = "yes"; then
88115     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
88116       glibcxx_have_gc_sections=yes
88117     fi
88118   else
88119     glibcxx_gcsections_min_ld=21602
88120     if test x"$with_gnu_ld" = x"yes" &&
88121         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88122       glibcxx_have_gc_sections=yes
88123     fi
88124   fi
88125   if test "$glibcxx_have_gc_sections" = "yes"; then
88126     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
88127     # NB: This flag only works reliably after 2.16.1. Configure tests
88128     # for this are difficult, so hard wire a value that should work.
88129
88130     ac_test_CFLAGS="${CFLAGS+set}"
88131     ac_save_CFLAGS="$CFLAGS"
88132     CFLAGS='-Wl,--gc-sections'
88133
88134     # Check for -Wl,--gc-sections
88135     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88136 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88137     if test x$gcc_no_link = xyes; then
88138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88140    { (exit 1); exit 1; }; }
88141 fi
88142 cat >conftest.$ac_ext <<_ACEOF
88143 /* confdefs.h.  */
88144 _ACEOF
88145 cat confdefs.h >>conftest.$ac_ext
88146 cat >>conftest.$ac_ext <<_ACEOF
88147 /* end confdefs.h.  */
88148  int one(void) { return 1; }
88149      int two(void) { return 2; }
88150
88151 int
88152 main ()
88153 {
88154  two();
88155   ;
88156   return 0;
88157 }
88158 _ACEOF
88159 rm -f conftest.$ac_objext conftest$ac_exeext
88160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88161   (eval $ac_link) 2>conftest.er1
88162   ac_status=$?
88163   grep -v '^ *+' conftest.er1 >conftest.err
88164   rm -f conftest.er1
88165   cat conftest.err >&5
88166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88167   (exit $ac_status); } &&
88168          { ac_try='test -z "$ac_c_werror_flag"
88169                          || test ! -s conftest.err'
88170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88171   (eval $ac_try) 2>&5
88172   ac_status=$?
88173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88174   (exit $ac_status); }; } &&
88175          { ac_try='test -s conftest$ac_exeext'
88176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88177   (eval $ac_try) 2>&5
88178   ac_status=$?
88179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88180   (exit $ac_status); }; }; then
88181   ac_gcsections=yes
88182 else
88183   echo "$as_me: failed program was:" >&5
88184 sed 's/^/| /' conftest.$ac_ext >&5
88185
88186 ac_gcsections=no
88187 fi
88188 rm -f conftest.err conftest.$ac_objext \
88189       conftest$ac_exeext conftest.$ac_ext
88190     if test "$ac_gcsections" = "yes"; then
88191       rm -f conftest.c
88192       touch conftest.c
88193       if $CC -c conftest.c; then
88194         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88195            grep "Warning: gc-sections option ignored" > /dev/null; then
88196           ac_gcsections=no
88197         fi
88198       fi
88199       rm -f conftest.c conftest.o conftest
88200     fi
88201     if test "$ac_gcsections" = "yes"; then
88202       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88203     fi
88204     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88205 echo "${ECHO_T}$ac_gcsections" >&6
88206
88207     if test "$ac_test_CFLAGS" = set; then
88208       CFLAGS="$ac_save_CFLAGS"
88209     else
88210       # this is the suspicious part
88211       CFLAGS=''
88212     fi
88213   fi
88214
88215   # Set -z,relro.
88216   # Note this is only for shared objects.
88217   ac_ld_relro=no
88218   if test x"$with_gnu_ld" = x"yes"; then
88219     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88220 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88221     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88222     if test -n "$cxx_z_relo"; then
88223       OPT_LDFLAGS="-Wl,-z,relro"
88224       ac_ld_relro=yes
88225     fi
88226     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88227 echo "${ECHO_T}$ac_ld_relro" >&6
88228   fi
88229
88230   # Set linker optimization flags.
88231   if test x"$with_gnu_ld" = x"yes"; then
88232     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88233   fi
88234
88235
88236
88237
88238
88239   ac_test_CXXFLAGS="${CXXFLAGS+set}"
88240   ac_save_CXXFLAGS="$CXXFLAGS"
88241   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
88242
88243     echo "$as_me:$LINENO: checking for sin in -lm" >&5
88244 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
88245 if test "${ac_cv_lib_m_sin+set}" = set; then
88246   echo $ECHO_N "(cached) $ECHO_C" >&6
88247 else
88248   ac_check_lib_save_LIBS=$LIBS
88249 LIBS="-lm  $LIBS"
88250 if test x$gcc_no_link = xyes; then
88251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88253    { (exit 1); exit 1; }; }
88254 fi
88255 cat >conftest.$ac_ext <<_ACEOF
88256 /* confdefs.h.  */
88257 _ACEOF
88258 cat confdefs.h >>conftest.$ac_ext
88259 cat >>conftest.$ac_ext <<_ACEOF
88260 /* end confdefs.h.  */
88261
88262 /* Override any gcc2 internal prototype to avoid an error.  */
88263 #ifdef __cplusplus
88264 extern "C"
88265 #endif
88266 /* We use char because int might match the return type of a gcc2
88267    builtin and then its argument prototype would still apply.  */
88268 char sin ();
88269 int
88270 main ()
88271 {
88272 sin ();
88273   ;
88274   return 0;
88275 }
88276 _ACEOF
88277 rm -f conftest.$ac_objext conftest$ac_exeext
88278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88279   (eval $ac_link) 2>conftest.er1
88280   ac_status=$?
88281   grep -v '^ *+' conftest.er1 >conftest.err
88282   rm -f conftest.er1
88283   cat conftest.err >&5
88284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285   (exit $ac_status); } &&
88286          { ac_try='test -z "$ac_c_werror_flag"
88287                          || test ! -s conftest.err'
88288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289   (eval $ac_try) 2>&5
88290   ac_status=$?
88291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292   (exit $ac_status); }; } &&
88293          { ac_try='test -s conftest$ac_exeext'
88294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88295   (eval $ac_try) 2>&5
88296   ac_status=$?
88297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88298   (exit $ac_status); }; }; then
88299   ac_cv_lib_m_sin=yes
88300 else
88301   echo "$as_me: failed program was:" >&5
88302 sed 's/^/| /' conftest.$ac_ext >&5
88303
88304 ac_cv_lib_m_sin=no
88305 fi
88306 rm -f conftest.err conftest.$ac_objext \
88307       conftest$ac_exeext conftest.$ac_ext
88308 LIBS=$ac_check_lib_save_LIBS
88309 fi
88310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
88311 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
88312 if test $ac_cv_lib_m_sin = yes; then
88313   libm="-lm"
88314 fi
88315
88316   ac_save_LIBS="$LIBS"
88317   LIBS="$LIBS $libm"
88318
88319
88320
88321   echo "$as_me:$LINENO: checking for isinf declaration" >&5
88322 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88323   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88324     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88325   echo $ECHO_N "(cached) $ECHO_C" >&6
88326 else
88327
88328
88329
88330       ac_ext=cc
88331 ac_cpp='$CXXCPP $CPPFLAGS'
88332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88335
88336       cat >conftest.$ac_ext <<_ACEOF
88337 /* confdefs.h.  */
88338 _ACEOF
88339 cat confdefs.h >>conftest.$ac_ext
88340 cat >>conftest.$ac_ext <<_ACEOF
88341 /* end confdefs.h.  */
88342 #include <math.h>
88343                       #ifdef HAVE_IEEEFP_H
88344                       #include <ieeefp.h>
88345                       #endif
88346
88347 int
88348 main ()
88349 {
88350  isinf(0);
88351   ;
88352   return 0;
88353 }
88354 _ACEOF
88355 rm -f conftest.$ac_objext
88356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88357   (eval $ac_compile) 2>conftest.er1
88358   ac_status=$?
88359   grep -v '^ *+' conftest.er1 >conftest.err
88360   rm -f conftest.er1
88361   cat conftest.err >&5
88362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88363   (exit $ac_status); } &&
88364          { ac_try='test -z "$ac_cxx_werror_flag"
88365                          || test ! -s conftest.err'
88366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88367   (eval $ac_try) 2>&5
88368   ac_status=$?
88369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88370   (exit $ac_status); }; } &&
88371          { ac_try='test -s conftest.$ac_objext'
88372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88373   (eval $ac_try) 2>&5
88374   ac_status=$?
88375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88376   (exit $ac_status); }; }; then
88377   glibcxx_cv_func_isinf_use=yes
88378 else
88379   echo "$as_me: failed program was:" >&5
88380 sed 's/^/| /' conftest.$ac_ext >&5
88381
88382 glibcxx_cv_func_isinf_use=no
88383 fi
88384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88385       ac_ext=c
88386 ac_cpp='$CPP $CPPFLAGS'
88387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88390
88391
88392 fi
88393
88394   fi
88395   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88396 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88397
88398   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88399
88400 for ac_func in isinf
88401 do
88402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88403 echo "$as_me:$LINENO: checking for $ac_func" >&5
88404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88405 if eval "test \"\${$as_ac_var+set}\" = set"; then
88406   echo $ECHO_N "(cached) $ECHO_C" >&6
88407 else
88408   if test x$gcc_no_link = xyes; then
88409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88411    { (exit 1); exit 1; }; }
88412 fi
88413 cat >conftest.$ac_ext <<_ACEOF
88414 /* confdefs.h.  */
88415 _ACEOF
88416 cat confdefs.h >>conftest.$ac_ext
88417 cat >>conftest.$ac_ext <<_ACEOF
88418 /* end confdefs.h.  */
88419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88421 #define $ac_func innocuous_$ac_func
88422
88423 /* System header to define __stub macros and hopefully few prototypes,
88424     which can conflict with char $ac_func (); below.
88425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88426     <limits.h> exists even on freestanding compilers.  */
88427
88428 #ifdef __STDC__
88429 # include <limits.h>
88430 #else
88431 # include <assert.h>
88432 #endif
88433
88434 #undef $ac_func
88435
88436 /* Override any gcc2 internal prototype to avoid an error.  */
88437 #ifdef __cplusplus
88438 extern "C"
88439 {
88440 #endif
88441 /* We use char because int might match the return type of a gcc2
88442    builtin and then its argument prototype would still apply.  */
88443 char $ac_func ();
88444 /* The GNU C library defines this for functions which it implements
88445     to always fail with ENOSYS.  Some functions are actually named
88446     something starting with __ and the normal name is an alias.  */
88447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88448 choke me
88449 #else
88450 char (*f) () = $ac_func;
88451 #endif
88452 #ifdef __cplusplus
88453 }
88454 #endif
88455
88456 int
88457 main ()
88458 {
88459 return f != $ac_func;
88460   ;
88461   return 0;
88462 }
88463 _ACEOF
88464 rm -f conftest.$ac_objext conftest$ac_exeext
88465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88466   (eval $ac_link) 2>conftest.er1
88467   ac_status=$?
88468   grep -v '^ *+' conftest.er1 >conftest.err
88469   rm -f conftest.er1
88470   cat conftest.err >&5
88471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88472   (exit $ac_status); } &&
88473          { ac_try='test -z "$ac_c_werror_flag"
88474                          || test ! -s conftest.err'
88475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88476   (eval $ac_try) 2>&5
88477   ac_status=$?
88478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88479   (exit $ac_status); }; } &&
88480          { ac_try='test -s conftest$ac_exeext'
88481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88482   (eval $ac_try) 2>&5
88483   ac_status=$?
88484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88485   (exit $ac_status); }; }; then
88486   eval "$as_ac_var=yes"
88487 else
88488   echo "$as_me: failed program was:" >&5
88489 sed 's/^/| /' conftest.$ac_ext >&5
88490
88491 eval "$as_ac_var=no"
88492 fi
88493 rm -f conftest.err conftest.$ac_objext \
88494       conftest$ac_exeext conftest.$ac_ext
88495 fi
88496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88498 if test `eval echo '${'$as_ac_var'}'` = yes; then
88499   cat >>confdefs.h <<_ACEOF
88500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88501 _ACEOF
88502
88503 fi
88504 done
88505
88506   else
88507
88508   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88509 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88510   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88511     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88512   echo $ECHO_N "(cached) $ECHO_C" >&6
88513 else
88514
88515
88516
88517       ac_ext=cc
88518 ac_cpp='$CXXCPP $CPPFLAGS'
88519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88522
88523       cat >conftest.$ac_ext <<_ACEOF
88524 /* confdefs.h.  */
88525 _ACEOF
88526 cat confdefs.h >>conftest.$ac_ext
88527 cat >>conftest.$ac_ext <<_ACEOF
88528 /* end confdefs.h.  */
88529 #include <math.h>
88530                       #ifdef HAVE_IEEEFP_H
88531                       #include <ieeefp.h>
88532                       #endif
88533
88534 int
88535 main ()
88536 {
88537  _isinf(0);
88538   ;
88539   return 0;
88540 }
88541 _ACEOF
88542 rm -f conftest.$ac_objext
88543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88544   (eval $ac_compile) 2>conftest.er1
88545   ac_status=$?
88546   grep -v '^ *+' conftest.er1 >conftest.err
88547   rm -f conftest.er1
88548   cat conftest.err >&5
88549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88550   (exit $ac_status); } &&
88551          { ac_try='test -z "$ac_cxx_werror_flag"
88552                          || test ! -s conftest.err'
88553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88554   (eval $ac_try) 2>&5
88555   ac_status=$?
88556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88557   (exit $ac_status); }; } &&
88558          { ac_try='test -s conftest.$ac_objext'
88559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88560   (eval $ac_try) 2>&5
88561   ac_status=$?
88562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88563   (exit $ac_status); }; }; then
88564   glibcxx_cv_func__isinf_use=yes
88565 else
88566   echo "$as_me: failed program was:" >&5
88567 sed 's/^/| /' conftest.$ac_ext >&5
88568
88569 glibcxx_cv_func__isinf_use=no
88570 fi
88571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88572       ac_ext=c
88573 ac_cpp='$CPP $CPPFLAGS'
88574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88577
88578
88579 fi
88580
88581   fi
88582   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88583 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88584
88585     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88586
88587 for ac_func in _isinf
88588 do
88589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88590 echo "$as_me:$LINENO: checking for $ac_func" >&5
88591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88592 if eval "test \"\${$as_ac_var+set}\" = set"; then
88593   echo $ECHO_N "(cached) $ECHO_C" >&6
88594 else
88595   if test x$gcc_no_link = xyes; then
88596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88598    { (exit 1); exit 1; }; }
88599 fi
88600 cat >conftest.$ac_ext <<_ACEOF
88601 /* confdefs.h.  */
88602 _ACEOF
88603 cat confdefs.h >>conftest.$ac_ext
88604 cat >>conftest.$ac_ext <<_ACEOF
88605 /* end confdefs.h.  */
88606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88608 #define $ac_func innocuous_$ac_func
88609
88610 /* System header to define __stub macros and hopefully few prototypes,
88611     which can conflict with char $ac_func (); below.
88612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88613     <limits.h> exists even on freestanding compilers.  */
88614
88615 #ifdef __STDC__
88616 # include <limits.h>
88617 #else
88618 # include <assert.h>
88619 #endif
88620
88621 #undef $ac_func
88622
88623 /* Override any gcc2 internal prototype to avoid an error.  */
88624 #ifdef __cplusplus
88625 extern "C"
88626 {
88627 #endif
88628 /* We use char because int might match the return type of a gcc2
88629    builtin and then its argument prototype would still apply.  */
88630 char $ac_func ();
88631 /* The GNU C library defines this for functions which it implements
88632     to always fail with ENOSYS.  Some functions are actually named
88633     something starting with __ and the normal name is an alias.  */
88634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88635 choke me
88636 #else
88637 char (*f) () = $ac_func;
88638 #endif
88639 #ifdef __cplusplus
88640 }
88641 #endif
88642
88643 int
88644 main ()
88645 {
88646 return f != $ac_func;
88647   ;
88648   return 0;
88649 }
88650 _ACEOF
88651 rm -f conftest.$ac_objext conftest$ac_exeext
88652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88653   (eval $ac_link) 2>conftest.er1
88654   ac_status=$?
88655   grep -v '^ *+' conftest.er1 >conftest.err
88656   rm -f conftest.er1
88657   cat conftest.err >&5
88658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88659   (exit $ac_status); } &&
88660          { ac_try='test -z "$ac_c_werror_flag"
88661                          || test ! -s conftest.err'
88662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88663   (eval $ac_try) 2>&5
88664   ac_status=$?
88665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88666   (exit $ac_status); }; } &&
88667          { ac_try='test -s conftest$ac_exeext'
88668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88669   (eval $ac_try) 2>&5
88670   ac_status=$?
88671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88672   (exit $ac_status); }; }; then
88673   eval "$as_ac_var=yes"
88674 else
88675   echo "$as_me: failed program was:" >&5
88676 sed 's/^/| /' conftest.$ac_ext >&5
88677
88678 eval "$as_ac_var=no"
88679 fi
88680 rm -f conftest.err conftest.$ac_objext \
88681       conftest$ac_exeext conftest.$ac_ext
88682 fi
88683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88685 if test `eval echo '${'$as_ac_var'}'` = yes; then
88686   cat >>confdefs.h <<_ACEOF
88687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88688 _ACEOF
88689
88690 fi
88691 done
88692
88693     fi
88694   fi
88695
88696
88697
88698
88699
88700
88701   echo "$as_me:$LINENO: checking for isnan declaration" >&5
88702 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88703   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88704     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88705   echo $ECHO_N "(cached) $ECHO_C" >&6
88706 else
88707
88708
88709
88710       ac_ext=cc
88711 ac_cpp='$CXXCPP $CPPFLAGS'
88712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88715
88716       cat >conftest.$ac_ext <<_ACEOF
88717 /* confdefs.h.  */
88718 _ACEOF
88719 cat confdefs.h >>conftest.$ac_ext
88720 cat >>conftest.$ac_ext <<_ACEOF
88721 /* end confdefs.h.  */
88722 #include <math.h>
88723                       #ifdef HAVE_IEEEFP_H
88724                       #include <ieeefp.h>
88725                       #endif
88726
88727 int
88728 main ()
88729 {
88730  isnan(0);
88731   ;
88732   return 0;
88733 }
88734 _ACEOF
88735 rm -f conftest.$ac_objext
88736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88737   (eval $ac_compile) 2>conftest.er1
88738   ac_status=$?
88739   grep -v '^ *+' conftest.er1 >conftest.err
88740   rm -f conftest.er1
88741   cat conftest.err >&5
88742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88743   (exit $ac_status); } &&
88744          { ac_try='test -z "$ac_cxx_werror_flag"
88745                          || test ! -s conftest.err'
88746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88747   (eval $ac_try) 2>&5
88748   ac_status=$?
88749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88750   (exit $ac_status); }; } &&
88751          { ac_try='test -s conftest.$ac_objext'
88752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88753   (eval $ac_try) 2>&5
88754   ac_status=$?
88755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88756   (exit $ac_status); }; }; then
88757   glibcxx_cv_func_isnan_use=yes
88758 else
88759   echo "$as_me: failed program was:" >&5
88760 sed 's/^/| /' conftest.$ac_ext >&5
88761
88762 glibcxx_cv_func_isnan_use=no
88763 fi
88764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88765       ac_ext=c
88766 ac_cpp='$CPP $CPPFLAGS'
88767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88770
88771
88772 fi
88773
88774   fi
88775   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88776 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88777
88778   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88779
88780 for ac_func in isnan
88781 do
88782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88783 echo "$as_me:$LINENO: checking for $ac_func" >&5
88784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88785 if eval "test \"\${$as_ac_var+set}\" = set"; then
88786   echo $ECHO_N "(cached) $ECHO_C" >&6
88787 else
88788   if test x$gcc_no_link = xyes; then
88789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88791    { (exit 1); exit 1; }; }
88792 fi
88793 cat >conftest.$ac_ext <<_ACEOF
88794 /* confdefs.h.  */
88795 _ACEOF
88796 cat confdefs.h >>conftest.$ac_ext
88797 cat >>conftest.$ac_ext <<_ACEOF
88798 /* end confdefs.h.  */
88799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88801 #define $ac_func innocuous_$ac_func
88802
88803 /* System header to define __stub macros and hopefully few prototypes,
88804     which can conflict with char $ac_func (); below.
88805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88806     <limits.h> exists even on freestanding compilers.  */
88807
88808 #ifdef __STDC__
88809 # include <limits.h>
88810 #else
88811 # include <assert.h>
88812 #endif
88813
88814 #undef $ac_func
88815
88816 /* Override any gcc2 internal prototype to avoid an error.  */
88817 #ifdef __cplusplus
88818 extern "C"
88819 {
88820 #endif
88821 /* We use char because int might match the return type of a gcc2
88822    builtin and then its argument prototype would still apply.  */
88823 char $ac_func ();
88824 /* The GNU C library defines this for functions which it implements
88825     to always fail with ENOSYS.  Some functions are actually named
88826     something starting with __ and the normal name is an alias.  */
88827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88828 choke me
88829 #else
88830 char (*f) () = $ac_func;
88831 #endif
88832 #ifdef __cplusplus
88833 }
88834 #endif
88835
88836 int
88837 main ()
88838 {
88839 return f != $ac_func;
88840   ;
88841   return 0;
88842 }
88843 _ACEOF
88844 rm -f conftest.$ac_objext conftest$ac_exeext
88845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88846   (eval $ac_link) 2>conftest.er1
88847   ac_status=$?
88848   grep -v '^ *+' conftest.er1 >conftest.err
88849   rm -f conftest.er1
88850   cat conftest.err >&5
88851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88852   (exit $ac_status); } &&
88853          { ac_try='test -z "$ac_c_werror_flag"
88854                          || test ! -s conftest.err'
88855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88856   (eval $ac_try) 2>&5
88857   ac_status=$?
88858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88859   (exit $ac_status); }; } &&
88860          { ac_try='test -s conftest$ac_exeext'
88861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88862   (eval $ac_try) 2>&5
88863   ac_status=$?
88864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88865   (exit $ac_status); }; }; then
88866   eval "$as_ac_var=yes"
88867 else
88868   echo "$as_me: failed program was:" >&5
88869 sed 's/^/| /' conftest.$ac_ext >&5
88870
88871 eval "$as_ac_var=no"
88872 fi
88873 rm -f conftest.err conftest.$ac_objext \
88874       conftest$ac_exeext conftest.$ac_ext
88875 fi
88876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88878 if test `eval echo '${'$as_ac_var'}'` = yes; then
88879   cat >>confdefs.h <<_ACEOF
88880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88881 _ACEOF
88882
88883 fi
88884 done
88885
88886   else
88887
88888   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88889 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88890   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88891     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88892   echo $ECHO_N "(cached) $ECHO_C" >&6
88893 else
88894
88895
88896
88897       ac_ext=cc
88898 ac_cpp='$CXXCPP $CPPFLAGS'
88899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88902
88903       cat >conftest.$ac_ext <<_ACEOF
88904 /* confdefs.h.  */
88905 _ACEOF
88906 cat confdefs.h >>conftest.$ac_ext
88907 cat >>conftest.$ac_ext <<_ACEOF
88908 /* end confdefs.h.  */
88909 #include <math.h>
88910                       #ifdef HAVE_IEEEFP_H
88911                       #include <ieeefp.h>
88912                       #endif
88913
88914 int
88915 main ()
88916 {
88917  _isnan(0);
88918   ;
88919   return 0;
88920 }
88921 _ACEOF
88922 rm -f conftest.$ac_objext
88923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88924   (eval $ac_compile) 2>conftest.er1
88925   ac_status=$?
88926   grep -v '^ *+' conftest.er1 >conftest.err
88927   rm -f conftest.er1
88928   cat conftest.err >&5
88929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88930   (exit $ac_status); } &&
88931          { ac_try='test -z "$ac_cxx_werror_flag"
88932                          || test ! -s conftest.err'
88933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88934   (eval $ac_try) 2>&5
88935   ac_status=$?
88936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88937   (exit $ac_status); }; } &&
88938          { ac_try='test -s conftest.$ac_objext'
88939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88940   (eval $ac_try) 2>&5
88941   ac_status=$?
88942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943   (exit $ac_status); }; }; then
88944   glibcxx_cv_func__isnan_use=yes
88945 else
88946   echo "$as_me: failed program was:" >&5
88947 sed 's/^/| /' conftest.$ac_ext >&5
88948
88949 glibcxx_cv_func__isnan_use=no
88950 fi
88951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88952       ac_ext=c
88953 ac_cpp='$CPP $CPPFLAGS'
88954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88957
88958
88959 fi
88960
88961   fi
88962   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88963 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88964
88965     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88966
88967 for ac_func in _isnan
88968 do
88969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88970 echo "$as_me:$LINENO: checking for $ac_func" >&5
88971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88972 if eval "test \"\${$as_ac_var+set}\" = set"; then
88973   echo $ECHO_N "(cached) $ECHO_C" >&6
88974 else
88975   if test x$gcc_no_link = xyes; then
88976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88978    { (exit 1); exit 1; }; }
88979 fi
88980 cat >conftest.$ac_ext <<_ACEOF
88981 /* confdefs.h.  */
88982 _ACEOF
88983 cat confdefs.h >>conftest.$ac_ext
88984 cat >>conftest.$ac_ext <<_ACEOF
88985 /* end confdefs.h.  */
88986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88988 #define $ac_func innocuous_$ac_func
88989
88990 /* System header to define __stub macros and hopefully few prototypes,
88991     which can conflict with char $ac_func (); below.
88992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88993     <limits.h> exists even on freestanding compilers.  */
88994
88995 #ifdef __STDC__
88996 # include <limits.h>
88997 #else
88998 # include <assert.h>
88999 #endif
89000
89001 #undef $ac_func
89002
89003 /* Override any gcc2 internal prototype to avoid an error.  */
89004 #ifdef __cplusplus
89005 extern "C"
89006 {
89007 #endif
89008 /* We use char because int might match the return type of a gcc2
89009    builtin and then its argument prototype would still apply.  */
89010 char $ac_func ();
89011 /* The GNU C library defines this for functions which it implements
89012     to always fail with ENOSYS.  Some functions are actually named
89013     something starting with __ and the normal name is an alias.  */
89014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89015 choke me
89016 #else
89017 char (*f) () = $ac_func;
89018 #endif
89019 #ifdef __cplusplus
89020 }
89021 #endif
89022
89023 int
89024 main ()
89025 {
89026 return f != $ac_func;
89027   ;
89028   return 0;
89029 }
89030 _ACEOF
89031 rm -f conftest.$ac_objext conftest$ac_exeext
89032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89033   (eval $ac_link) 2>conftest.er1
89034   ac_status=$?
89035   grep -v '^ *+' conftest.er1 >conftest.err
89036   rm -f conftest.er1
89037   cat conftest.err >&5
89038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89039   (exit $ac_status); } &&
89040          { ac_try='test -z "$ac_c_werror_flag"
89041                          || test ! -s conftest.err'
89042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89043   (eval $ac_try) 2>&5
89044   ac_status=$?
89045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89046   (exit $ac_status); }; } &&
89047          { ac_try='test -s conftest$ac_exeext'
89048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89049   (eval $ac_try) 2>&5
89050   ac_status=$?
89051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89052   (exit $ac_status); }; }; then
89053   eval "$as_ac_var=yes"
89054 else
89055   echo "$as_me: failed program was:" >&5
89056 sed 's/^/| /' conftest.$ac_ext >&5
89057
89058 eval "$as_ac_var=no"
89059 fi
89060 rm -f conftest.err conftest.$ac_objext \
89061       conftest$ac_exeext conftest.$ac_ext
89062 fi
89063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89065 if test `eval echo '${'$as_ac_var'}'` = yes; then
89066   cat >>confdefs.h <<_ACEOF
89067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89068 _ACEOF
89069
89070 fi
89071 done
89072
89073     fi
89074   fi
89075
89076
89077
89078
89079
89080
89081   echo "$as_me:$LINENO: checking for finite declaration" >&5
89082 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
89083   if test x${glibcxx_cv_func_finite_use+set} != xset; then
89084     if test "${glibcxx_cv_func_finite_use+set}" = set; then
89085   echo $ECHO_N "(cached) $ECHO_C" >&6
89086 else
89087
89088
89089
89090       ac_ext=cc
89091 ac_cpp='$CXXCPP $CPPFLAGS'
89092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89095
89096       cat >conftest.$ac_ext <<_ACEOF
89097 /* confdefs.h.  */
89098 _ACEOF
89099 cat confdefs.h >>conftest.$ac_ext
89100 cat >>conftest.$ac_ext <<_ACEOF
89101 /* end confdefs.h.  */
89102 #include <math.h>
89103                       #ifdef HAVE_IEEEFP_H
89104                       #include <ieeefp.h>
89105                       #endif
89106
89107 int
89108 main ()
89109 {
89110  finite(0);
89111   ;
89112   return 0;
89113 }
89114 _ACEOF
89115 rm -f conftest.$ac_objext
89116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89117   (eval $ac_compile) 2>conftest.er1
89118   ac_status=$?
89119   grep -v '^ *+' conftest.er1 >conftest.err
89120   rm -f conftest.er1
89121   cat conftest.err >&5
89122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89123   (exit $ac_status); } &&
89124          { ac_try='test -z "$ac_cxx_werror_flag"
89125                          || test ! -s conftest.err'
89126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89127   (eval $ac_try) 2>&5
89128   ac_status=$?
89129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89130   (exit $ac_status); }; } &&
89131          { ac_try='test -s conftest.$ac_objext'
89132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89133   (eval $ac_try) 2>&5
89134   ac_status=$?
89135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89136   (exit $ac_status); }; }; then
89137   glibcxx_cv_func_finite_use=yes
89138 else
89139   echo "$as_me: failed program was:" >&5
89140 sed 's/^/| /' conftest.$ac_ext >&5
89141
89142 glibcxx_cv_func_finite_use=no
89143 fi
89144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89145       ac_ext=c
89146 ac_cpp='$CPP $CPPFLAGS'
89147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89150
89151
89152 fi
89153
89154   fi
89155   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
89156 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
89157
89158   if test x$glibcxx_cv_func_finite_use = x"yes"; then
89159
89160 for ac_func in finite
89161 do
89162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89163 echo "$as_me:$LINENO: checking for $ac_func" >&5
89164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89165 if eval "test \"\${$as_ac_var+set}\" = set"; then
89166   echo $ECHO_N "(cached) $ECHO_C" >&6
89167 else
89168   if test x$gcc_no_link = xyes; then
89169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89171    { (exit 1); exit 1; }; }
89172 fi
89173 cat >conftest.$ac_ext <<_ACEOF
89174 /* confdefs.h.  */
89175 _ACEOF
89176 cat confdefs.h >>conftest.$ac_ext
89177 cat >>conftest.$ac_ext <<_ACEOF
89178 /* end confdefs.h.  */
89179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89181 #define $ac_func innocuous_$ac_func
89182
89183 /* System header to define __stub macros and hopefully few prototypes,
89184     which can conflict with char $ac_func (); below.
89185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89186     <limits.h> exists even on freestanding compilers.  */
89187
89188 #ifdef __STDC__
89189 # include <limits.h>
89190 #else
89191 # include <assert.h>
89192 #endif
89193
89194 #undef $ac_func
89195
89196 /* Override any gcc2 internal prototype to avoid an error.  */
89197 #ifdef __cplusplus
89198 extern "C"
89199 {
89200 #endif
89201 /* We use char because int might match the return type of a gcc2
89202    builtin and then its argument prototype would still apply.  */
89203 char $ac_func ();
89204 /* The GNU C library defines this for functions which it implements
89205     to always fail with ENOSYS.  Some functions are actually named
89206     something starting with __ and the normal name is an alias.  */
89207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89208 choke me
89209 #else
89210 char (*f) () = $ac_func;
89211 #endif
89212 #ifdef __cplusplus
89213 }
89214 #endif
89215
89216 int
89217 main ()
89218 {
89219 return f != $ac_func;
89220   ;
89221   return 0;
89222 }
89223 _ACEOF
89224 rm -f conftest.$ac_objext conftest$ac_exeext
89225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89226   (eval $ac_link) 2>conftest.er1
89227   ac_status=$?
89228   grep -v '^ *+' conftest.er1 >conftest.err
89229   rm -f conftest.er1
89230   cat conftest.err >&5
89231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89232   (exit $ac_status); } &&
89233          { ac_try='test -z "$ac_c_werror_flag"
89234                          || test ! -s conftest.err'
89235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89236   (eval $ac_try) 2>&5
89237   ac_status=$?
89238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89239   (exit $ac_status); }; } &&
89240          { ac_try='test -s conftest$ac_exeext'
89241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242   (eval $ac_try) 2>&5
89243   ac_status=$?
89244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245   (exit $ac_status); }; }; then
89246   eval "$as_ac_var=yes"
89247 else
89248   echo "$as_me: failed program was:" >&5
89249 sed 's/^/| /' conftest.$ac_ext >&5
89250
89251 eval "$as_ac_var=no"
89252 fi
89253 rm -f conftest.err conftest.$ac_objext \
89254       conftest$ac_exeext conftest.$ac_ext
89255 fi
89256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89258 if test `eval echo '${'$as_ac_var'}'` = yes; then
89259   cat >>confdefs.h <<_ACEOF
89260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89261 _ACEOF
89262
89263 fi
89264 done
89265
89266   else
89267
89268   echo "$as_me:$LINENO: checking for _finite declaration" >&5
89269 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
89270   if test x${glibcxx_cv_func__finite_use+set} != xset; then
89271     if test "${glibcxx_cv_func__finite_use+set}" = set; then
89272   echo $ECHO_N "(cached) $ECHO_C" >&6
89273 else
89274
89275
89276
89277       ac_ext=cc
89278 ac_cpp='$CXXCPP $CPPFLAGS'
89279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89282
89283       cat >conftest.$ac_ext <<_ACEOF
89284 /* confdefs.h.  */
89285 _ACEOF
89286 cat confdefs.h >>conftest.$ac_ext
89287 cat >>conftest.$ac_ext <<_ACEOF
89288 /* end confdefs.h.  */
89289 #include <math.h>
89290                       #ifdef HAVE_IEEEFP_H
89291                       #include <ieeefp.h>
89292                       #endif
89293
89294 int
89295 main ()
89296 {
89297  _finite(0);
89298   ;
89299   return 0;
89300 }
89301 _ACEOF
89302 rm -f conftest.$ac_objext
89303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89304   (eval $ac_compile) 2>conftest.er1
89305   ac_status=$?
89306   grep -v '^ *+' conftest.er1 >conftest.err
89307   rm -f conftest.er1
89308   cat conftest.err >&5
89309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89310   (exit $ac_status); } &&
89311          { ac_try='test -z "$ac_cxx_werror_flag"
89312                          || test ! -s conftest.err'
89313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89314   (eval $ac_try) 2>&5
89315   ac_status=$?
89316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89317   (exit $ac_status); }; } &&
89318          { ac_try='test -s conftest.$ac_objext'
89319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89320   (eval $ac_try) 2>&5
89321   ac_status=$?
89322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89323   (exit $ac_status); }; }; then
89324   glibcxx_cv_func__finite_use=yes
89325 else
89326   echo "$as_me: failed program was:" >&5
89327 sed 's/^/| /' conftest.$ac_ext >&5
89328
89329 glibcxx_cv_func__finite_use=no
89330 fi
89331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89332       ac_ext=c
89333 ac_cpp='$CPP $CPPFLAGS'
89334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89337
89338
89339 fi
89340
89341   fi
89342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89343 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89344
89345     if test x$glibcxx_cv_func__finite_use = x"yes"; then
89346
89347 for ac_func in _finite
89348 do
89349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89350 echo "$as_me:$LINENO: checking for $ac_func" >&5
89351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89352 if eval "test \"\${$as_ac_var+set}\" = set"; then
89353   echo $ECHO_N "(cached) $ECHO_C" >&6
89354 else
89355   if test x$gcc_no_link = xyes; then
89356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89358    { (exit 1); exit 1; }; }
89359 fi
89360 cat >conftest.$ac_ext <<_ACEOF
89361 /* confdefs.h.  */
89362 _ACEOF
89363 cat confdefs.h >>conftest.$ac_ext
89364 cat >>conftest.$ac_ext <<_ACEOF
89365 /* end confdefs.h.  */
89366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89368 #define $ac_func innocuous_$ac_func
89369
89370 /* System header to define __stub macros and hopefully few prototypes,
89371     which can conflict with char $ac_func (); below.
89372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89373     <limits.h> exists even on freestanding compilers.  */
89374
89375 #ifdef __STDC__
89376 # include <limits.h>
89377 #else
89378 # include <assert.h>
89379 #endif
89380
89381 #undef $ac_func
89382
89383 /* Override any gcc2 internal prototype to avoid an error.  */
89384 #ifdef __cplusplus
89385 extern "C"
89386 {
89387 #endif
89388 /* We use char because int might match the return type of a gcc2
89389    builtin and then its argument prototype would still apply.  */
89390 char $ac_func ();
89391 /* The GNU C library defines this for functions which it implements
89392     to always fail with ENOSYS.  Some functions are actually named
89393     something starting with __ and the normal name is an alias.  */
89394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89395 choke me
89396 #else
89397 char (*f) () = $ac_func;
89398 #endif
89399 #ifdef __cplusplus
89400 }
89401 #endif
89402
89403 int
89404 main ()
89405 {
89406 return f != $ac_func;
89407   ;
89408   return 0;
89409 }
89410 _ACEOF
89411 rm -f conftest.$ac_objext conftest$ac_exeext
89412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89413   (eval $ac_link) 2>conftest.er1
89414   ac_status=$?
89415   grep -v '^ *+' conftest.er1 >conftest.err
89416   rm -f conftest.er1
89417   cat conftest.err >&5
89418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89419   (exit $ac_status); } &&
89420          { ac_try='test -z "$ac_c_werror_flag"
89421                          || test ! -s conftest.err'
89422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89423   (eval $ac_try) 2>&5
89424   ac_status=$?
89425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89426   (exit $ac_status); }; } &&
89427          { ac_try='test -s conftest$ac_exeext'
89428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89429   (eval $ac_try) 2>&5
89430   ac_status=$?
89431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89432   (exit $ac_status); }; }; then
89433   eval "$as_ac_var=yes"
89434 else
89435   echo "$as_me: failed program was:" >&5
89436 sed 's/^/| /' conftest.$ac_ext >&5
89437
89438 eval "$as_ac_var=no"
89439 fi
89440 rm -f conftest.err conftest.$ac_objext \
89441       conftest$ac_exeext conftest.$ac_ext
89442 fi
89443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89445 if test `eval echo '${'$as_ac_var'}'` = yes; then
89446   cat >>confdefs.h <<_ACEOF
89447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89448 _ACEOF
89449
89450 fi
89451 done
89452
89453     fi
89454   fi
89455
89456
89457
89458
89459
89460
89461   echo "$as_me:$LINENO: checking for copysign declaration" >&5
89462 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89463   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89464     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89465   echo $ECHO_N "(cached) $ECHO_C" >&6
89466 else
89467
89468
89469
89470       ac_ext=cc
89471 ac_cpp='$CXXCPP $CPPFLAGS'
89472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89475
89476       cat >conftest.$ac_ext <<_ACEOF
89477 /* confdefs.h.  */
89478 _ACEOF
89479 cat confdefs.h >>conftest.$ac_ext
89480 cat >>conftest.$ac_ext <<_ACEOF
89481 /* end confdefs.h.  */
89482 #include <math.h>
89483 int
89484 main ()
89485 {
89486  copysign(0, 0);
89487   ;
89488   return 0;
89489 }
89490 _ACEOF
89491 rm -f conftest.$ac_objext
89492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89493   (eval $ac_compile) 2>conftest.er1
89494   ac_status=$?
89495   grep -v '^ *+' conftest.er1 >conftest.err
89496   rm -f conftest.er1
89497   cat conftest.err >&5
89498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89499   (exit $ac_status); } &&
89500          { ac_try='test -z "$ac_cxx_werror_flag"
89501                          || test ! -s conftest.err'
89502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89503   (eval $ac_try) 2>&5
89504   ac_status=$?
89505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89506   (exit $ac_status); }; } &&
89507          { ac_try='test -s conftest.$ac_objext'
89508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89509   (eval $ac_try) 2>&5
89510   ac_status=$?
89511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89512   (exit $ac_status); }; }; then
89513   glibcxx_cv_func_copysign_use=yes
89514 else
89515   echo "$as_me: failed program was:" >&5
89516 sed 's/^/| /' conftest.$ac_ext >&5
89517
89518 glibcxx_cv_func_copysign_use=no
89519 fi
89520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89521       ac_ext=c
89522 ac_cpp='$CPP $CPPFLAGS'
89523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89526
89527
89528 fi
89529
89530   fi
89531   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89532 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89533
89534   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89535
89536 for ac_func in copysign
89537 do
89538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89539 echo "$as_me:$LINENO: checking for $ac_func" >&5
89540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89541 if eval "test \"\${$as_ac_var+set}\" = set"; then
89542   echo $ECHO_N "(cached) $ECHO_C" >&6
89543 else
89544   if test x$gcc_no_link = xyes; then
89545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89547    { (exit 1); exit 1; }; }
89548 fi
89549 cat >conftest.$ac_ext <<_ACEOF
89550 /* confdefs.h.  */
89551 _ACEOF
89552 cat confdefs.h >>conftest.$ac_ext
89553 cat >>conftest.$ac_ext <<_ACEOF
89554 /* end confdefs.h.  */
89555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89557 #define $ac_func innocuous_$ac_func
89558
89559 /* System header to define __stub macros and hopefully few prototypes,
89560     which can conflict with char $ac_func (); below.
89561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89562     <limits.h> exists even on freestanding compilers.  */
89563
89564 #ifdef __STDC__
89565 # include <limits.h>
89566 #else
89567 # include <assert.h>
89568 #endif
89569
89570 #undef $ac_func
89571
89572 /* Override any gcc2 internal prototype to avoid an error.  */
89573 #ifdef __cplusplus
89574 extern "C"
89575 {
89576 #endif
89577 /* We use char because int might match the return type of a gcc2
89578    builtin and then its argument prototype would still apply.  */
89579 char $ac_func ();
89580 /* The GNU C library defines this for functions which it implements
89581     to always fail with ENOSYS.  Some functions are actually named
89582     something starting with __ and the normal name is an alias.  */
89583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89584 choke me
89585 #else
89586 char (*f) () = $ac_func;
89587 #endif
89588 #ifdef __cplusplus
89589 }
89590 #endif
89591
89592 int
89593 main ()
89594 {
89595 return f != $ac_func;
89596   ;
89597   return 0;
89598 }
89599 _ACEOF
89600 rm -f conftest.$ac_objext conftest$ac_exeext
89601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89602   (eval $ac_link) 2>conftest.er1
89603   ac_status=$?
89604   grep -v '^ *+' conftest.er1 >conftest.err
89605   rm -f conftest.er1
89606   cat conftest.err >&5
89607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89608   (exit $ac_status); } &&
89609          { ac_try='test -z "$ac_c_werror_flag"
89610                          || test ! -s conftest.err'
89611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89612   (eval $ac_try) 2>&5
89613   ac_status=$?
89614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89615   (exit $ac_status); }; } &&
89616          { ac_try='test -s conftest$ac_exeext'
89617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89618   (eval $ac_try) 2>&5
89619   ac_status=$?
89620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89621   (exit $ac_status); }; }; then
89622   eval "$as_ac_var=yes"
89623 else
89624   echo "$as_me: failed program was:" >&5
89625 sed 's/^/| /' conftest.$ac_ext >&5
89626
89627 eval "$as_ac_var=no"
89628 fi
89629 rm -f conftest.err conftest.$ac_objext \
89630       conftest$ac_exeext conftest.$ac_ext
89631 fi
89632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89634 if test `eval echo '${'$as_ac_var'}'` = yes; then
89635   cat >>confdefs.h <<_ACEOF
89636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89637 _ACEOF
89638
89639 fi
89640 done
89641
89642   else
89643
89644   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89645 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89646   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89647     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89648   echo $ECHO_N "(cached) $ECHO_C" >&6
89649 else
89650
89651
89652
89653       ac_ext=cc
89654 ac_cpp='$CXXCPP $CPPFLAGS'
89655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89658
89659       cat >conftest.$ac_ext <<_ACEOF
89660 /* confdefs.h.  */
89661 _ACEOF
89662 cat confdefs.h >>conftest.$ac_ext
89663 cat >>conftest.$ac_ext <<_ACEOF
89664 /* end confdefs.h.  */
89665 #include <math.h>
89666 int
89667 main ()
89668 {
89669  _copysign(0, 0);
89670   ;
89671   return 0;
89672 }
89673 _ACEOF
89674 rm -f conftest.$ac_objext
89675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89676   (eval $ac_compile) 2>conftest.er1
89677   ac_status=$?
89678   grep -v '^ *+' conftest.er1 >conftest.err
89679   rm -f conftest.er1
89680   cat conftest.err >&5
89681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89682   (exit $ac_status); } &&
89683          { ac_try='test -z "$ac_cxx_werror_flag"
89684                          || test ! -s conftest.err'
89685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89686   (eval $ac_try) 2>&5
89687   ac_status=$?
89688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89689   (exit $ac_status); }; } &&
89690          { ac_try='test -s conftest.$ac_objext'
89691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89692   (eval $ac_try) 2>&5
89693   ac_status=$?
89694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89695   (exit $ac_status); }; }; then
89696   glibcxx_cv_func__copysign_use=yes
89697 else
89698   echo "$as_me: failed program was:" >&5
89699 sed 's/^/| /' conftest.$ac_ext >&5
89700
89701 glibcxx_cv_func__copysign_use=no
89702 fi
89703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89704       ac_ext=c
89705 ac_cpp='$CPP $CPPFLAGS'
89706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89709
89710
89711 fi
89712
89713   fi
89714   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89715 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89716
89717     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89718
89719 for ac_func in _copysign
89720 do
89721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89722 echo "$as_me:$LINENO: checking for $ac_func" >&5
89723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89724 if eval "test \"\${$as_ac_var+set}\" = set"; then
89725   echo $ECHO_N "(cached) $ECHO_C" >&6
89726 else
89727   if test x$gcc_no_link = xyes; then
89728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89730    { (exit 1); exit 1; }; }
89731 fi
89732 cat >conftest.$ac_ext <<_ACEOF
89733 /* confdefs.h.  */
89734 _ACEOF
89735 cat confdefs.h >>conftest.$ac_ext
89736 cat >>conftest.$ac_ext <<_ACEOF
89737 /* end confdefs.h.  */
89738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89740 #define $ac_func innocuous_$ac_func
89741
89742 /* System header to define __stub macros and hopefully few prototypes,
89743     which can conflict with char $ac_func (); below.
89744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89745     <limits.h> exists even on freestanding compilers.  */
89746
89747 #ifdef __STDC__
89748 # include <limits.h>
89749 #else
89750 # include <assert.h>
89751 #endif
89752
89753 #undef $ac_func
89754
89755 /* Override any gcc2 internal prototype to avoid an error.  */
89756 #ifdef __cplusplus
89757 extern "C"
89758 {
89759 #endif
89760 /* We use char because int might match the return type of a gcc2
89761    builtin and then its argument prototype would still apply.  */
89762 char $ac_func ();
89763 /* The GNU C library defines this for functions which it implements
89764     to always fail with ENOSYS.  Some functions are actually named
89765     something starting with __ and the normal name is an alias.  */
89766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89767 choke me
89768 #else
89769 char (*f) () = $ac_func;
89770 #endif
89771 #ifdef __cplusplus
89772 }
89773 #endif
89774
89775 int
89776 main ()
89777 {
89778 return f != $ac_func;
89779   ;
89780   return 0;
89781 }
89782 _ACEOF
89783 rm -f conftest.$ac_objext conftest$ac_exeext
89784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89785   (eval $ac_link) 2>conftest.er1
89786   ac_status=$?
89787   grep -v '^ *+' conftest.er1 >conftest.err
89788   rm -f conftest.er1
89789   cat conftest.err >&5
89790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89791   (exit $ac_status); } &&
89792          { ac_try='test -z "$ac_c_werror_flag"
89793                          || test ! -s conftest.err'
89794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89795   (eval $ac_try) 2>&5
89796   ac_status=$?
89797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798   (exit $ac_status); }; } &&
89799          { ac_try='test -s conftest$ac_exeext'
89800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89801   (eval $ac_try) 2>&5
89802   ac_status=$?
89803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89804   (exit $ac_status); }; }; then
89805   eval "$as_ac_var=yes"
89806 else
89807   echo "$as_me: failed program was:" >&5
89808 sed 's/^/| /' conftest.$ac_ext >&5
89809
89810 eval "$as_ac_var=no"
89811 fi
89812 rm -f conftest.err conftest.$ac_objext \
89813       conftest$ac_exeext conftest.$ac_ext
89814 fi
89815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89817 if test `eval echo '${'$as_ac_var'}'` = yes; then
89818   cat >>confdefs.h <<_ACEOF
89819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89820 _ACEOF
89821
89822 fi
89823 done
89824
89825     fi
89826   fi
89827
89828
89829
89830
89831
89832
89833   echo "$as_me:$LINENO: checking for sincos declaration" >&5
89834 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89835   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89836     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89837   echo $ECHO_N "(cached) $ECHO_C" >&6
89838 else
89839
89840
89841
89842       ac_ext=cc
89843 ac_cpp='$CXXCPP $CPPFLAGS'
89844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89847
89848       cat >conftest.$ac_ext <<_ACEOF
89849 /* confdefs.h.  */
89850 _ACEOF
89851 cat confdefs.h >>conftest.$ac_ext
89852 cat >>conftest.$ac_ext <<_ACEOF
89853 /* end confdefs.h.  */
89854 #include <math.h>
89855 int
89856 main ()
89857 {
89858  sincos(0, 0, 0);
89859   ;
89860   return 0;
89861 }
89862 _ACEOF
89863 rm -f conftest.$ac_objext
89864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89865   (eval $ac_compile) 2>conftest.er1
89866   ac_status=$?
89867   grep -v '^ *+' conftest.er1 >conftest.err
89868   rm -f conftest.er1
89869   cat conftest.err >&5
89870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89871   (exit $ac_status); } &&
89872          { ac_try='test -z "$ac_cxx_werror_flag"
89873                          || test ! -s conftest.err'
89874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89875   (eval $ac_try) 2>&5
89876   ac_status=$?
89877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89878   (exit $ac_status); }; } &&
89879          { ac_try='test -s conftest.$ac_objext'
89880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89881   (eval $ac_try) 2>&5
89882   ac_status=$?
89883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89884   (exit $ac_status); }; }; then
89885   glibcxx_cv_func_sincos_use=yes
89886 else
89887   echo "$as_me: failed program was:" >&5
89888 sed 's/^/| /' conftest.$ac_ext >&5
89889
89890 glibcxx_cv_func_sincos_use=no
89891 fi
89892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89893       ac_ext=c
89894 ac_cpp='$CPP $CPPFLAGS'
89895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89898
89899
89900 fi
89901
89902   fi
89903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89904 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89905
89906   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89907
89908 for ac_func in sincos
89909 do
89910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89911 echo "$as_me:$LINENO: checking for $ac_func" >&5
89912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89913 if eval "test \"\${$as_ac_var+set}\" = set"; then
89914   echo $ECHO_N "(cached) $ECHO_C" >&6
89915 else
89916   if test x$gcc_no_link = xyes; then
89917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89919    { (exit 1); exit 1; }; }
89920 fi
89921 cat >conftest.$ac_ext <<_ACEOF
89922 /* confdefs.h.  */
89923 _ACEOF
89924 cat confdefs.h >>conftest.$ac_ext
89925 cat >>conftest.$ac_ext <<_ACEOF
89926 /* end confdefs.h.  */
89927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89929 #define $ac_func innocuous_$ac_func
89930
89931 /* System header to define __stub macros and hopefully few prototypes,
89932     which can conflict with char $ac_func (); below.
89933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89934     <limits.h> exists even on freestanding compilers.  */
89935
89936 #ifdef __STDC__
89937 # include <limits.h>
89938 #else
89939 # include <assert.h>
89940 #endif
89941
89942 #undef $ac_func
89943
89944 /* Override any gcc2 internal prototype to avoid an error.  */
89945 #ifdef __cplusplus
89946 extern "C"
89947 {
89948 #endif
89949 /* We use char because int might match the return type of a gcc2
89950    builtin and then its argument prototype would still apply.  */
89951 char $ac_func ();
89952 /* The GNU C library defines this for functions which it implements
89953     to always fail with ENOSYS.  Some functions are actually named
89954     something starting with __ and the normal name is an alias.  */
89955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89956 choke me
89957 #else
89958 char (*f) () = $ac_func;
89959 #endif
89960 #ifdef __cplusplus
89961 }
89962 #endif
89963
89964 int
89965 main ()
89966 {
89967 return f != $ac_func;
89968   ;
89969   return 0;
89970 }
89971 _ACEOF
89972 rm -f conftest.$ac_objext conftest$ac_exeext
89973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89974   (eval $ac_link) 2>conftest.er1
89975   ac_status=$?
89976   grep -v '^ *+' conftest.er1 >conftest.err
89977   rm -f conftest.er1
89978   cat conftest.err >&5
89979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89980   (exit $ac_status); } &&
89981          { ac_try='test -z "$ac_c_werror_flag"
89982                          || test ! -s conftest.err'
89983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89984   (eval $ac_try) 2>&5
89985   ac_status=$?
89986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89987   (exit $ac_status); }; } &&
89988          { ac_try='test -s conftest$ac_exeext'
89989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89990   (eval $ac_try) 2>&5
89991   ac_status=$?
89992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89993   (exit $ac_status); }; }; then
89994   eval "$as_ac_var=yes"
89995 else
89996   echo "$as_me: failed program was:" >&5
89997 sed 's/^/| /' conftest.$ac_ext >&5
89998
89999 eval "$as_ac_var=no"
90000 fi
90001 rm -f conftest.err conftest.$ac_objext \
90002       conftest$ac_exeext conftest.$ac_ext
90003 fi
90004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90006 if test `eval echo '${'$as_ac_var'}'` = yes; then
90007   cat >>confdefs.h <<_ACEOF
90008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90009 _ACEOF
90010
90011 fi
90012 done
90013
90014   else
90015
90016   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
90017 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
90018   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
90019     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
90020   echo $ECHO_N "(cached) $ECHO_C" >&6
90021 else
90022
90023
90024
90025       ac_ext=cc
90026 ac_cpp='$CXXCPP $CPPFLAGS'
90027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90030
90031       cat >conftest.$ac_ext <<_ACEOF
90032 /* confdefs.h.  */
90033 _ACEOF
90034 cat confdefs.h >>conftest.$ac_ext
90035 cat >>conftest.$ac_ext <<_ACEOF
90036 /* end confdefs.h.  */
90037 #include <math.h>
90038 int
90039 main ()
90040 {
90041  _sincos(0, 0, 0);
90042   ;
90043   return 0;
90044 }
90045 _ACEOF
90046 rm -f conftest.$ac_objext
90047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90048   (eval $ac_compile) 2>conftest.er1
90049   ac_status=$?
90050   grep -v '^ *+' conftest.er1 >conftest.err
90051   rm -f conftest.er1
90052   cat conftest.err >&5
90053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90054   (exit $ac_status); } &&
90055          { ac_try='test -z "$ac_cxx_werror_flag"
90056                          || test ! -s conftest.err'
90057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90058   (eval $ac_try) 2>&5
90059   ac_status=$?
90060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90061   (exit $ac_status); }; } &&
90062          { ac_try='test -s conftest.$ac_objext'
90063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90064   (eval $ac_try) 2>&5
90065   ac_status=$?
90066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90067   (exit $ac_status); }; }; then
90068   glibcxx_cv_func__sincos_use=yes
90069 else
90070   echo "$as_me: failed program was:" >&5
90071 sed 's/^/| /' conftest.$ac_ext >&5
90072
90073 glibcxx_cv_func__sincos_use=no
90074 fi
90075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90076       ac_ext=c
90077 ac_cpp='$CPP $CPPFLAGS'
90078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90081
90082
90083 fi
90084
90085   fi
90086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
90087 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
90088
90089     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
90090
90091 for ac_func in _sincos
90092 do
90093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90094 echo "$as_me:$LINENO: checking for $ac_func" >&5
90095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90096 if eval "test \"\${$as_ac_var+set}\" = set"; then
90097   echo $ECHO_N "(cached) $ECHO_C" >&6
90098 else
90099   if test x$gcc_no_link = xyes; then
90100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90102    { (exit 1); exit 1; }; }
90103 fi
90104 cat >conftest.$ac_ext <<_ACEOF
90105 /* confdefs.h.  */
90106 _ACEOF
90107 cat confdefs.h >>conftest.$ac_ext
90108 cat >>conftest.$ac_ext <<_ACEOF
90109 /* end confdefs.h.  */
90110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90112 #define $ac_func innocuous_$ac_func
90113
90114 /* System header to define __stub macros and hopefully few prototypes,
90115     which can conflict with char $ac_func (); below.
90116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90117     <limits.h> exists even on freestanding compilers.  */
90118
90119 #ifdef __STDC__
90120 # include <limits.h>
90121 #else
90122 # include <assert.h>
90123 #endif
90124
90125 #undef $ac_func
90126
90127 /* Override any gcc2 internal prototype to avoid an error.  */
90128 #ifdef __cplusplus
90129 extern "C"
90130 {
90131 #endif
90132 /* We use char because int might match the return type of a gcc2
90133    builtin and then its argument prototype would still apply.  */
90134 char $ac_func ();
90135 /* The GNU C library defines this for functions which it implements
90136     to always fail with ENOSYS.  Some functions are actually named
90137     something starting with __ and the normal name is an alias.  */
90138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90139 choke me
90140 #else
90141 char (*f) () = $ac_func;
90142 #endif
90143 #ifdef __cplusplus
90144 }
90145 #endif
90146
90147 int
90148 main ()
90149 {
90150 return f != $ac_func;
90151   ;
90152   return 0;
90153 }
90154 _ACEOF
90155 rm -f conftest.$ac_objext conftest$ac_exeext
90156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90157   (eval $ac_link) 2>conftest.er1
90158   ac_status=$?
90159   grep -v '^ *+' conftest.er1 >conftest.err
90160   rm -f conftest.er1
90161   cat conftest.err >&5
90162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90163   (exit $ac_status); } &&
90164          { ac_try='test -z "$ac_c_werror_flag"
90165                          || test ! -s conftest.err'
90166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90167   (eval $ac_try) 2>&5
90168   ac_status=$?
90169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90170   (exit $ac_status); }; } &&
90171          { ac_try='test -s conftest$ac_exeext'
90172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90173   (eval $ac_try) 2>&5
90174   ac_status=$?
90175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90176   (exit $ac_status); }; }; then
90177   eval "$as_ac_var=yes"
90178 else
90179   echo "$as_me: failed program was:" >&5
90180 sed 's/^/| /' conftest.$ac_ext >&5
90181
90182 eval "$as_ac_var=no"
90183 fi
90184 rm -f conftest.err conftest.$ac_objext \
90185       conftest$ac_exeext conftest.$ac_ext
90186 fi
90187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90189 if test `eval echo '${'$as_ac_var'}'` = yes; then
90190   cat >>confdefs.h <<_ACEOF
90191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90192 _ACEOF
90193
90194 fi
90195 done
90196
90197     fi
90198   fi
90199
90200
90201
90202
90203
90204
90205   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
90206 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
90207   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
90208     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
90209   echo $ECHO_N "(cached) $ECHO_C" >&6
90210 else
90211
90212
90213
90214       ac_ext=cc
90215 ac_cpp='$CXXCPP $CPPFLAGS'
90216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90219
90220       cat >conftest.$ac_ext <<_ACEOF
90221 /* confdefs.h.  */
90222 _ACEOF
90223 cat confdefs.h >>conftest.$ac_ext
90224 cat >>conftest.$ac_ext <<_ACEOF
90225 /* end confdefs.h.  */
90226 #include <math.h>
90227                       #ifdef HAVE_IEEEFP_H
90228                       #include <ieeefp.h>
90229                       #endif
90230
90231 int
90232 main ()
90233 {
90234  fpclass(0);
90235   ;
90236   return 0;
90237 }
90238 _ACEOF
90239 rm -f conftest.$ac_objext
90240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90241   (eval $ac_compile) 2>conftest.er1
90242   ac_status=$?
90243   grep -v '^ *+' conftest.er1 >conftest.err
90244   rm -f conftest.er1
90245   cat conftest.err >&5
90246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90247   (exit $ac_status); } &&
90248          { ac_try='test -z "$ac_cxx_werror_flag"
90249                          || test ! -s conftest.err'
90250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90251   (eval $ac_try) 2>&5
90252   ac_status=$?
90253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90254   (exit $ac_status); }; } &&
90255          { ac_try='test -s conftest.$ac_objext'
90256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90257   (eval $ac_try) 2>&5
90258   ac_status=$?
90259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90260   (exit $ac_status); }; }; then
90261   glibcxx_cv_func_fpclass_use=yes
90262 else
90263   echo "$as_me: failed program was:" >&5
90264 sed 's/^/| /' conftest.$ac_ext >&5
90265
90266 glibcxx_cv_func_fpclass_use=no
90267 fi
90268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90269       ac_ext=c
90270 ac_cpp='$CPP $CPPFLAGS'
90271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90274
90275
90276 fi
90277
90278   fi
90279   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
90280 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
90281
90282   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
90283
90284 for ac_func in fpclass
90285 do
90286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90287 echo "$as_me:$LINENO: checking for $ac_func" >&5
90288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90289 if eval "test \"\${$as_ac_var+set}\" = set"; then
90290   echo $ECHO_N "(cached) $ECHO_C" >&6
90291 else
90292   if test x$gcc_no_link = xyes; then
90293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90295    { (exit 1); exit 1; }; }
90296 fi
90297 cat >conftest.$ac_ext <<_ACEOF
90298 /* confdefs.h.  */
90299 _ACEOF
90300 cat confdefs.h >>conftest.$ac_ext
90301 cat >>conftest.$ac_ext <<_ACEOF
90302 /* end confdefs.h.  */
90303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90305 #define $ac_func innocuous_$ac_func
90306
90307 /* System header to define __stub macros and hopefully few prototypes,
90308     which can conflict with char $ac_func (); below.
90309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90310     <limits.h> exists even on freestanding compilers.  */
90311
90312 #ifdef __STDC__
90313 # include <limits.h>
90314 #else
90315 # include <assert.h>
90316 #endif
90317
90318 #undef $ac_func
90319
90320 /* Override any gcc2 internal prototype to avoid an error.  */
90321 #ifdef __cplusplus
90322 extern "C"
90323 {
90324 #endif
90325 /* We use char because int might match the return type of a gcc2
90326    builtin and then its argument prototype would still apply.  */
90327 char $ac_func ();
90328 /* The GNU C library defines this for functions which it implements
90329     to always fail with ENOSYS.  Some functions are actually named
90330     something starting with __ and the normal name is an alias.  */
90331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90332 choke me
90333 #else
90334 char (*f) () = $ac_func;
90335 #endif
90336 #ifdef __cplusplus
90337 }
90338 #endif
90339
90340 int
90341 main ()
90342 {
90343 return f != $ac_func;
90344   ;
90345   return 0;
90346 }
90347 _ACEOF
90348 rm -f conftest.$ac_objext conftest$ac_exeext
90349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90350   (eval $ac_link) 2>conftest.er1
90351   ac_status=$?
90352   grep -v '^ *+' conftest.er1 >conftest.err
90353   rm -f conftest.er1
90354   cat conftest.err >&5
90355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90356   (exit $ac_status); } &&
90357          { ac_try='test -z "$ac_c_werror_flag"
90358                          || test ! -s conftest.err'
90359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90360   (eval $ac_try) 2>&5
90361   ac_status=$?
90362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90363   (exit $ac_status); }; } &&
90364          { ac_try='test -s conftest$ac_exeext'
90365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90366   (eval $ac_try) 2>&5
90367   ac_status=$?
90368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369   (exit $ac_status); }; }; then
90370   eval "$as_ac_var=yes"
90371 else
90372   echo "$as_me: failed program was:" >&5
90373 sed 's/^/| /' conftest.$ac_ext >&5
90374
90375 eval "$as_ac_var=no"
90376 fi
90377 rm -f conftest.err conftest.$ac_objext \
90378       conftest$ac_exeext conftest.$ac_ext
90379 fi
90380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90382 if test `eval echo '${'$as_ac_var'}'` = yes; then
90383   cat >>confdefs.h <<_ACEOF
90384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90385 _ACEOF
90386
90387 fi
90388 done
90389
90390   else
90391
90392   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90393 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90394   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90395     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90396   echo $ECHO_N "(cached) $ECHO_C" >&6
90397 else
90398
90399
90400
90401       ac_ext=cc
90402 ac_cpp='$CXXCPP $CPPFLAGS'
90403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90406
90407       cat >conftest.$ac_ext <<_ACEOF
90408 /* confdefs.h.  */
90409 _ACEOF
90410 cat confdefs.h >>conftest.$ac_ext
90411 cat >>conftest.$ac_ext <<_ACEOF
90412 /* end confdefs.h.  */
90413 #include <math.h>
90414                       #ifdef HAVE_IEEEFP_H
90415                       #include <ieeefp.h>
90416                       #endif
90417
90418 int
90419 main ()
90420 {
90421  _fpclass(0);
90422   ;
90423   return 0;
90424 }
90425 _ACEOF
90426 rm -f conftest.$ac_objext
90427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90428   (eval $ac_compile) 2>conftest.er1
90429   ac_status=$?
90430   grep -v '^ *+' conftest.er1 >conftest.err
90431   rm -f conftest.er1
90432   cat conftest.err >&5
90433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90434   (exit $ac_status); } &&
90435          { ac_try='test -z "$ac_cxx_werror_flag"
90436                          || test ! -s conftest.err'
90437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90438   (eval $ac_try) 2>&5
90439   ac_status=$?
90440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90441   (exit $ac_status); }; } &&
90442          { ac_try='test -s conftest.$ac_objext'
90443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90444   (eval $ac_try) 2>&5
90445   ac_status=$?
90446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90447   (exit $ac_status); }; }; then
90448   glibcxx_cv_func__fpclass_use=yes
90449 else
90450   echo "$as_me: failed program was:" >&5
90451 sed 's/^/| /' conftest.$ac_ext >&5
90452
90453 glibcxx_cv_func__fpclass_use=no
90454 fi
90455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90456       ac_ext=c
90457 ac_cpp='$CPP $CPPFLAGS'
90458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90461
90462
90463 fi
90464
90465   fi
90466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90467 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90468
90469     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90470
90471 for ac_func in _fpclass
90472 do
90473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90474 echo "$as_me:$LINENO: checking for $ac_func" >&5
90475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90476 if eval "test \"\${$as_ac_var+set}\" = set"; then
90477   echo $ECHO_N "(cached) $ECHO_C" >&6
90478 else
90479   if test x$gcc_no_link = xyes; then
90480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90482    { (exit 1); exit 1; }; }
90483 fi
90484 cat >conftest.$ac_ext <<_ACEOF
90485 /* confdefs.h.  */
90486 _ACEOF
90487 cat confdefs.h >>conftest.$ac_ext
90488 cat >>conftest.$ac_ext <<_ACEOF
90489 /* end confdefs.h.  */
90490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90492 #define $ac_func innocuous_$ac_func
90493
90494 /* System header to define __stub macros and hopefully few prototypes,
90495     which can conflict with char $ac_func (); below.
90496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90497     <limits.h> exists even on freestanding compilers.  */
90498
90499 #ifdef __STDC__
90500 # include <limits.h>
90501 #else
90502 # include <assert.h>
90503 #endif
90504
90505 #undef $ac_func
90506
90507 /* Override any gcc2 internal prototype to avoid an error.  */
90508 #ifdef __cplusplus
90509 extern "C"
90510 {
90511 #endif
90512 /* We use char because int might match the return type of a gcc2
90513    builtin and then its argument prototype would still apply.  */
90514 char $ac_func ();
90515 /* The GNU C library defines this for functions which it implements
90516     to always fail with ENOSYS.  Some functions are actually named
90517     something starting with __ and the normal name is an alias.  */
90518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90519 choke me
90520 #else
90521 char (*f) () = $ac_func;
90522 #endif
90523 #ifdef __cplusplus
90524 }
90525 #endif
90526
90527 int
90528 main ()
90529 {
90530 return f != $ac_func;
90531   ;
90532   return 0;
90533 }
90534 _ACEOF
90535 rm -f conftest.$ac_objext conftest$ac_exeext
90536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90537   (eval $ac_link) 2>conftest.er1
90538   ac_status=$?
90539   grep -v '^ *+' conftest.er1 >conftest.err
90540   rm -f conftest.er1
90541   cat conftest.err >&5
90542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90543   (exit $ac_status); } &&
90544          { ac_try='test -z "$ac_c_werror_flag"
90545                          || test ! -s conftest.err'
90546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90547   (eval $ac_try) 2>&5
90548   ac_status=$?
90549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90550   (exit $ac_status); }; } &&
90551          { ac_try='test -s conftest$ac_exeext'
90552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90553   (eval $ac_try) 2>&5
90554   ac_status=$?
90555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90556   (exit $ac_status); }; }; then
90557   eval "$as_ac_var=yes"
90558 else
90559   echo "$as_me: failed program was:" >&5
90560 sed 's/^/| /' conftest.$ac_ext >&5
90561
90562 eval "$as_ac_var=no"
90563 fi
90564 rm -f conftest.err conftest.$ac_objext \
90565       conftest$ac_exeext conftest.$ac_ext
90566 fi
90567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90569 if test `eval echo '${'$as_ac_var'}'` = yes; then
90570   cat >>confdefs.h <<_ACEOF
90571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90572 _ACEOF
90573
90574 fi
90575 done
90576
90577     fi
90578   fi
90579
90580
90581
90582
90583
90584
90585   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90586 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90587   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90588     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90589   echo $ECHO_N "(cached) $ECHO_C" >&6
90590 else
90591
90592
90593
90594       ac_ext=cc
90595 ac_cpp='$CXXCPP $CPPFLAGS'
90596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90599
90600       cat >conftest.$ac_ext <<_ACEOF
90601 /* confdefs.h.  */
90602 _ACEOF
90603 cat confdefs.h >>conftest.$ac_ext
90604 cat >>conftest.$ac_ext <<_ACEOF
90605 /* end confdefs.h.  */
90606 #include <math.h>
90607                       #ifdef HAVE_IEEEFP_H
90608                       #include <ieeefp.h>
90609                       #endif
90610
90611 int
90612 main ()
90613 {
90614  qfpclass(0);
90615   ;
90616   return 0;
90617 }
90618 _ACEOF
90619 rm -f conftest.$ac_objext
90620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90621   (eval $ac_compile) 2>conftest.er1
90622   ac_status=$?
90623   grep -v '^ *+' conftest.er1 >conftest.err
90624   rm -f conftest.er1
90625   cat conftest.err >&5
90626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90627   (exit $ac_status); } &&
90628          { ac_try='test -z "$ac_cxx_werror_flag"
90629                          || test ! -s conftest.err'
90630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90631   (eval $ac_try) 2>&5
90632   ac_status=$?
90633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90634   (exit $ac_status); }; } &&
90635          { ac_try='test -s conftest.$ac_objext'
90636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90637   (eval $ac_try) 2>&5
90638   ac_status=$?
90639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90640   (exit $ac_status); }; }; then
90641   glibcxx_cv_func_qfpclass_use=yes
90642 else
90643   echo "$as_me: failed program was:" >&5
90644 sed 's/^/| /' conftest.$ac_ext >&5
90645
90646 glibcxx_cv_func_qfpclass_use=no
90647 fi
90648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90649       ac_ext=c
90650 ac_cpp='$CPP $CPPFLAGS'
90651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90654
90655
90656 fi
90657
90658   fi
90659   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90660 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90661
90662   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90663
90664 for ac_func in qfpclass
90665 do
90666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90667 echo "$as_me:$LINENO: checking for $ac_func" >&5
90668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90669 if eval "test \"\${$as_ac_var+set}\" = set"; then
90670   echo $ECHO_N "(cached) $ECHO_C" >&6
90671 else
90672   if test x$gcc_no_link = xyes; then
90673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90675    { (exit 1); exit 1; }; }
90676 fi
90677 cat >conftest.$ac_ext <<_ACEOF
90678 /* confdefs.h.  */
90679 _ACEOF
90680 cat confdefs.h >>conftest.$ac_ext
90681 cat >>conftest.$ac_ext <<_ACEOF
90682 /* end confdefs.h.  */
90683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90685 #define $ac_func innocuous_$ac_func
90686
90687 /* System header to define __stub macros and hopefully few prototypes,
90688     which can conflict with char $ac_func (); below.
90689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90690     <limits.h> exists even on freestanding compilers.  */
90691
90692 #ifdef __STDC__
90693 # include <limits.h>
90694 #else
90695 # include <assert.h>
90696 #endif
90697
90698 #undef $ac_func
90699
90700 /* Override any gcc2 internal prototype to avoid an error.  */
90701 #ifdef __cplusplus
90702 extern "C"
90703 {
90704 #endif
90705 /* We use char because int might match the return type of a gcc2
90706    builtin and then its argument prototype would still apply.  */
90707 char $ac_func ();
90708 /* The GNU C library defines this for functions which it implements
90709     to always fail with ENOSYS.  Some functions are actually named
90710     something starting with __ and the normal name is an alias.  */
90711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90712 choke me
90713 #else
90714 char (*f) () = $ac_func;
90715 #endif
90716 #ifdef __cplusplus
90717 }
90718 #endif
90719
90720 int
90721 main ()
90722 {
90723 return f != $ac_func;
90724   ;
90725   return 0;
90726 }
90727 _ACEOF
90728 rm -f conftest.$ac_objext conftest$ac_exeext
90729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90730   (eval $ac_link) 2>conftest.er1
90731   ac_status=$?
90732   grep -v '^ *+' conftest.er1 >conftest.err
90733   rm -f conftest.er1
90734   cat conftest.err >&5
90735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90736   (exit $ac_status); } &&
90737          { ac_try='test -z "$ac_c_werror_flag"
90738                          || test ! -s conftest.err'
90739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90740   (eval $ac_try) 2>&5
90741   ac_status=$?
90742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90743   (exit $ac_status); }; } &&
90744          { ac_try='test -s conftest$ac_exeext'
90745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90746   (eval $ac_try) 2>&5
90747   ac_status=$?
90748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90749   (exit $ac_status); }; }; then
90750   eval "$as_ac_var=yes"
90751 else
90752   echo "$as_me: failed program was:" >&5
90753 sed 's/^/| /' conftest.$ac_ext >&5
90754
90755 eval "$as_ac_var=no"
90756 fi
90757 rm -f conftest.err conftest.$ac_objext \
90758       conftest$ac_exeext conftest.$ac_ext
90759 fi
90760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90762 if test `eval echo '${'$as_ac_var'}'` = yes; then
90763   cat >>confdefs.h <<_ACEOF
90764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90765 _ACEOF
90766
90767 fi
90768 done
90769
90770   else
90771
90772   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90773 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90774   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90775     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90776   echo $ECHO_N "(cached) $ECHO_C" >&6
90777 else
90778
90779
90780
90781       ac_ext=cc
90782 ac_cpp='$CXXCPP $CPPFLAGS'
90783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90786
90787       cat >conftest.$ac_ext <<_ACEOF
90788 /* confdefs.h.  */
90789 _ACEOF
90790 cat confdefs.h >>conftest.$ac_ext
90791 cat >>conftest.$ac_ext <<_ACEOF
90792 /* end confdefs.h.  */
90793 #include <math.h>
90794                       #ifdef HAVE_IEEEFP_H
90795                       #include <ieeefp.h>
90796                       #endif
90797
90798 int
90799 main ()
90800 {
90801  _qfpclass(0);
90802   ;
90803   return 0;
90804 }
90805 _ACEOF
90806 rm -f conftest.$ac_objext
90807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90808   (eval $ac_compile) 2>conftest.er1
90809   ac_status=$?
90810   grep -v '^ *+' conftest.er1 >conftest.err
90811   rm -f conftest.er1
90812   cat conftest.err >&5
90813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90814   (exit $ac_status); } &&
90815          { ac_try='test -z "$ac_cxx_werror_flag"
90816                          || test ! -s conftest.err'
90817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90818   (eval $ac_try) 2>&5
90819   ac_status=$?
90820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90821   (exit $ac_status); }; } &&
90822          { ac_try='test -s conftest.$ac_objext'
90823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90824   (eval $ac_try) 2>&5
90825   ac_status=$?
90826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90827   (exit $ac_status); }; }; then
90828   glibcxx_cv_func__qfpclass_use=yes
90829 else
90830   echo "$as_me: failed program was:" >&5
90831 sed 's/^/| /' conftest.$ac_ext >&5
90832
90833 glibcxx_cv_func__qfpclass_use=no
90834 fi
90835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90836       ac_ext=c
90837 ac_cpp='$CPP $CPPFLAGS'
90838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90841
90842
90843 fi
90844
90845   fi
90846   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90847 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90848
90849     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90850
90851 for ac_func in _qfpclass
90852 do
90853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90854 echo "$as_me:$LINENO: checking for $ac_func" >&5
90855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90856 if eval "test \"\${$as_ac_var+set}\" = set"; then
90857   echo $ECHO_N "(cached) $ECHO_C" >&6
90858 else
90859   if test x$gcc_no_link = xyes; then
90860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90862    { (exit 1); exit 1; }; }
90863 fi
90864 cat >conftest.$ac_ext <<_ACEOF
90865 /* confdefs.h.  */
90866 _ACEOF
90867 cat confdefs.h >>conftest.$ac_ext
90868 cat >>conftest.$ac_ext <<_ACEOF
90869 /* end confdefs.h.  */
90870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90872 #define $ac_func innocuous_$ac_func
90873
90874 /* System header to define __stub macros and hopefully few prototypes,
90875     which can conflict with char $ac_func (); below.
90876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90877     <limits.h> exists even on freestanding compilers.  */
90878
90879 #ifdef __STDC__
90880 # include <limits.h>
90881 #else
90882 # include <assert.h>
90883 #endif
90884
90885 #undef $ac_func
90886
90887 /* Override any gcc2 internal prototype to avoid an error.  */
90888 #ifdef __cplusplus
90889 extern "C"
90890 {
90891 #endif
90892 /* We use char because int might match the return type of a gcc2
90893    builtin and then its argument prototype would still apply.  */
90894 char $ac_func ();
90895 /* The GNU C library defines this for functions which it implements
90896     to always fail with ENOSYS.  Some functions are actually named
90897     something starting with __ and the normal name is an alias.  */
90898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90899 choke me
90900 #else
90901 char (*f) () = $ac_func;
90902 #endif
90903 #ifdef __cplusplus
90904 }
90905 #endif
90906
90907 int
90908 main ()
90909 {
90910 return f != $ac_func;
90911   ;
90912   return 0;
90913 }
90914 _ACEOF
90915 rm -f conftest.$ac_objext conftest$ac_exeext
90916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90917   (eval $ac_link) 2>conftest.er1
90918   ac_status=$?
90919   grep -v '^ *+' conftest.er1 >conftest.err
90920   rm -f conftest.er1
90921   cat conftest.err >&5
90922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90923   (exit $ac_status); } &&
90924          { ac_try='test -z "$ac_c_werror_flag"
90925                          || test ! -s conftest.err'
90926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90927   (eval $ac_try) 2>&5
90928   ac_status=$?
90929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930   (exit $ac_status); }; } &&
90931          { ac_try='test -s conftest$ac_exeext'
90932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90933   (eval $ac_try) 2>&5
90934   ac_status=$?
90935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936   (exit $ac_status); }; }; then
90937   eval "$as_ac_var=yes"
90938 else
90939   echo "$as_me: failed program was:" >&5
90940 sed 's/^/| /' conftest.$ac_ext >&5
90941
90942 eval "$as_ac_var=no"
90943 fi
90944 rm -f conftest.err conftest.$ac_objext \
90945       conftest$ac_exeext conftest.$ac_ext
90946 fi
90947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90949 if test `eval echo '${'$as_ac_var'}'` = yes; then
90950   cat >>confdefs.h <<_ACEOF
90951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90952 _ACEOF
90953
90954 fi
90955 done
90956
90957     fi
90958   fi
90959
90960
90961
90962
90963
90964
90965   echo "$as_me:$LINENO: checking for hypot declaration" >&5
90966 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90967   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90968     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90969   echo $ECHO_N "(cached) $ECHO_C" >&6
90970 else
90971
90972
90973
90974       ac_ext=cc
90975 ac_cpp='$CXXCPP $CPPFLAGS'
90976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90979
90980       cat >conftest.$ac_ext <<_ACEOF
90981 /* confdefs.h.  */
90982 _ACEOF
90983 cat confdefs.h >>conftest.$ac_ext
90984 cat >>conftest.$ac_ext <<_ACEOF
90985 /* end confdefs.h.  */
90986 #include <math.h>
90987 int
90988 main ()
90989 {
90990  hypot(0, 0);
90991   ;
90992   return 0;
90993 }
90994 _ACEOF
90995 rm -f conftest.$ac_objext
90996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90997   (eval $ac_compile) 2>conftest.er1
90998   ac_status=$?
90999   grep -v '^ *+' conftest.er1 >conftest.err
91000   rm -f conftest.er1
91001   cat conftest.err >&5
91002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91003   (exit $ac_status); } &&
91004          { ac_try='test -z "$ac_cxx_werror_flag"
91005                          || test ! -s conftest.err'
91006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91007   (eval $ac_try) 2>&5
91008   ac_status=$?
91009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91010   (exit $ac_status); }; } &&
91011          { ac_try='test -s conftest.$ac_objext'
91012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91013   (eval $ac_try) 2>&5
91014   ac_status=$?
91015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91016   (exit $ac_status); }; }; then
91017   glibcxx_cv_func_hypot_use=yes
91018 else
91019   echo "$as_me: failed program was:" >&5
91020 sed 's/^/| /' conftest.$ac_ext >&5
91021
91022 glibcxx_cv_func_hypot_use=no
91023 fi
91024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91025       ac_ext=c
91026 ac_cpp='$CPP $CPPFLAGS'
91027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91030
91031
91032 fi
91033
91034   fi
91035   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
91036 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
91037
91038   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
91039
91040 for ac_func in hypot
91041 do
91042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91043 echo "$as_me:$LINENO: checking for $ac_func" >&5
91044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91045 if eval "test \"\${$as_ac_var+set}\" = set"; then
91046   echo $ECHO_N "(cached) $ECHO_C" >&6
91047 else
91048   if test x$gcc_no_link = xyes; then
91049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91051    { (exit 1); exit 1; }; }
91052 fi
91053 cat >conftest.$ac_ext <<_ACEOF
91054 /* confdefs.h.  */
91055 _ACEOF
91056 cat confdefs.h >>conftest.$ac_ext
91057 cat >>conftest.$ac_ext <<_ACEOF
91058 /* end confdefs.h.  */
91059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91061 #define $ac_func innocuous_$ac_func
91062
91063 /* System header to define __stub macros and hopefully few prototypes,
91064     which can conflict with char $ac_func (); below.
91065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91066     <limits.h> exists even on freestanding compilers.  */
91067
91068 #ifdef __STDC__
91069 # include <limits.h>
91070 #else
91071 # include <assert.h>
91072 #endif
91073
91074 #undef $ac_func
91075
91076 /* Override any gcc2 internal prototype to avoid an error.  */
91077 #ifdef __cplusplus
91078 extern "C"
91079 {
91080 #endif
91081 /* We use char because int might match the return type of a gcc2
91082    builtin and then its argument prototype would still apply.  */
91083 char $ac_func ();
91084 /* The GNU C library defines this for functions which it implements
91085     to always fail with ENOSYS.  Some functions are actually named
91086     something starting with __ and the normal name is an alias.  */
91087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91088 choke me
91089 #else
91090 char (*f) () = $ac_func;
91091 #endif
91092 #ifdef __cplusplus
91093 }
91094 #endif
91095
91096 int
91097 main ()
91098 {
91099 return f != $ac_func;
91100   ;
91101   return 0;
91102 }
91103 _ACEOF
91104 rm -f conftest.$ac_objext conftest$ac_exeext
91105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91106   (eval $ac_link) 2>conftest.er1
91107   ac_status=$?
91108   grep -v '^ *+' conftest.er1 >conftest.err
91109   rm -f conftest.er1
91110   cat conftest.err >&5
91111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91112   (exit $ac_status); } &&
91113          { ac_try='test -z "$ac_c_werror_flag"
91114                          || test ! -s conftest.err'
91115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91116   (eval $ac_try) 2>&5
91117   ac_status=$?
91118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91119   (exit $ac_status); }; } &&
91120          { ac_try='test -s conftest$ac_exeext'
91121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91122   (eval $ac_try) 2>&5
91123   ac_status=$?
91124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91125   (exit $ac_status); }; }; then
91126   eval "$as_ac_var=yes"
91127 else
91128   echo "$as_me: failed program was:" >&5
91129 sed 's/^/| /' conftest.$ac_ext >&5
91130
91131 eval "$as_ac_var=no"
91132 fi
91133 rm -f conftest.err conftest.$ac_objext \
91134       conftest$ac_exeext conftest.$ac_ext
91135 fi
91136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91138 if test `eval echo '${'$as_ac_var'}'` = yes; then
91139   cat >>confdefs.h <<_ACEOF
91140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91141 _ACEOF
91142
91143 fi
91144 done
91145
91146   else
91147
91148   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
91149 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
91150   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
91151     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
91152   echo $ECHO_N "(cached) $ECHO_C" >&6
91153 else
91154
91155
91156
91157       ac_ext=cc
91158 ac_cpp='$CXXCPP $CPPFLAGS'
91159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91162
91163       cat >conftest.$ac_ext <<_ACEOF
91164 /* confdefs.h.  */
91165 _ACEOF
91166 cat confdefs.h >>conftest.$ac_ext
91167 cat >>conftest.$ac_ext <<_ACEOF
91168 /* end confdefs.h.  */
91169 #include <math.h>
91170 int
91171 main ()
91172 {
91173  _hypot(0, 0);
91174   ;
91175   return 0;
91176 }
91177 _ACEOF
91178 rm -f conftest.$ac_objext
91179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91180   (eval $ac_compile) 2>conftest.er1
91181   ac_status=$?
91182   grep -v '^ *+' conftest.er1 >conftest.err
91183   rm -f conftest.er1
91184   cat conftest.err >&5
91185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91186   (exit $ac_status); } &&
91187          { ac_try='test -z "$ac_cxx_werror_flag"
91188                          || test ! -s conftest.err'
91189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91190   (eval $ac_try) 2>&5
91191   ac_status=$?
91192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91193   (exit $ac_status); }; } &&
91194          { ac_try='test -s conftest.$ac_objext'
91195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91196   (eval $ac_try) 2>&5
91197   ac_status=$?
91198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91199   (exit $ac_status); }; }; then
91200   glibcxx_cv_func__hypot_use=yes
91201 else
91202   echo "$as_me: failed program was:" >&5
91203 sed 's/^/| /' conftest.$ac_ext >&5
91204
91205 glibcxx_cv_func__hypot_use=no
91206 fi
91207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91208       ac_ext=c
91209 ac_cpp='$CPP $CPPFLAGS'
91210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91213
91214
91215 fi
91216
91217   fi
91218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
91219 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
91220
91221     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
91222
91223 for ac_func in _hypot
91224 do
91225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91226 echo "$as_me:$LINENO: checking for $ac_func" >&5
91227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91228 if eval "test \"\${$as_ac_var+set}\" = set"; then
91229   echo $ECHO_N "(cached) $ECHO_C" >&6
91230 else
91231   if test x$gcc_no_link = xyes; then
91232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91234    { (exit 1); exit 1; }; }
91235 fi
91236 cat >conftest.$ac_ext <<_ACEOF
91237 /* confdefs.h.  */
91238 _ACEOF
91239 cat confdefs.h >>conftest.$ac_ext
91240 cat >>conftest.$ac_ext <<_ACEOF
91241 /* end confdefs.h.  */
91242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91244 #define $ac_func innocuous_$ac_func
91245
91246 /* System header to define __stub macros and hopefully few prototypes,
91247     which can conflict with char $ac_func (); below.
91248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91249     <limits.h> exists even on freestanding compilers.  */
91250
91251 #ifdef __STDC__
91252 # include <limits.h>
91253 #else
91254 # include <assert.h>
91255 #endif
91256
91257 #undef $ac_func
91258
91259 /* Override any gcc2 internal prototype to avoid an error.  */
91260 #ifdef __cplusplus
91261 extern "C"
91262 {
91263 #endif
91264 /* We use char because int might match the return type of a gcc2
91265    builtin and then its argument prototype would still apply.  */
91266 char $ac_func ();
91267 /* The GNU C library defines this for functions which it implements
91268     to always fail with ENOSYS.  Some functions are actually named
91269     something starting with __ and the normal name is an alias.  */
91270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91271 choke me
91272 #else
91273 char (*f) () = $ac_func;
91274 #endif
91275 #ifdef __cplusplus
91276 }
91277 #endif
91278
91279 int
91280 main ()
91281 {
91282 return f != $ac_func;
91283   ;
91284   return 0;
91285 }
91286 _ACEOF
91287 rm -f conftest.$ac_objext conftest$ac_exeext
91288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91289   (eval $ac_link) 2>conftest.er1
91290   ac_status=$?
91291   grep -v '^ *+' conftest.er1 >conftest.err
91292   rm -f conftest.er1
91293   cat conftest.err >&5
91294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91295   (exit $ac_status); } &&
91296          { ac_try='test -z "$ac_c_werror_flag"
91297                          || test ! -s conftest.err'
91298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91299   (eval $ac_try) 2>&5
91300   ac_status=$?
91301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91302   (exit $ac_status); }; } &&
91303          { ac_try='test -s conftest$ac_exeext'
91304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91305   (eval $ac_try) 2>&5
91306   ac_status=$?
91307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91308   (exit $ac_status); }; }; then
91309   eval "$as_ac_var=yes"
91310 else
91311   echo "$as_me: failed program was:" >&5
91312 sed 's/^/| /' conftest.$ac_ext >&5
91313
91314 eval "$as_ac_var=no"
91315 fi
91316 rm -f conftest.err conftest.$ac_objext \
91317       conftest$ac_exeext conftest.$ac_ext
91318 fi
91319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91321 if test `eval echo '${'$as_ac_var'}'` = yes; then
91322   cat >>confdefs.h <<_ACEOF
91323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91324 _ACEOF
91325
91326 fi
91327 done
91328
91329     fi
91330   fi
91331
91332
91333
91334
91335
91336
91337     echo "$as_me:$LINENO: checking for float trig functions" >&5
91338 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91339   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
91340   echo $ECHO_N "(cached) $ECHO_C" >&6
91341 else
91342
91343
91344
91345     ac_ext=cc
91346 ac_cpp='$CXXCPP $CPPFLAGS'
91347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91350
91351     cat >conftest.$ac_ext <<_ACEOF
91352 /* confdefs.h.  */
91353 _ACEOF
91354 cat confdefs.h >>conftest.$ac_ext
91355 cat >>conftest.$ac_ext <<_ACEOF
91356 /* end confdefs.h.  */
91357 #include <math.h>
91358 int
91359 main ()
91360 {
91361 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91362   ;
91363   return 0;
91364 }
91365 _ACEOF
91366 rm -f conftest.$ac_objext
91367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91368   (eval $ac_compile) 2>conftest.er1
91369   ac_status=$?
91370   grep -v '^ *+' conftest.er1 >conftest.err
91371   rm -f conftest.er1
91372   cat conftest.err >&5
91373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91374   (exit $ac_status); } &&
91375          { ac_try='test -z "$ac_cxx_werror_flag"
91376                          || test ! -s conftest.err'
91377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91378   (eval $ac_try) 2>&5
91379   ac_status=$?
91380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91381   (exit $ac_status); }; } &&
91382          { ac_try='test -s conftest.$ac_objext'
91383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91384   (eval $ac_try) 2>&5
91385   ac_status=$?
91386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91387   (exit $ac_status); }; }; then
91388   glibcxx_cv_func_float_trig_use=yes
91389 else
91390   echo "$as_me: failed program was:" >&5
91391 sed 's/^/| /' conftest.$ac_ext >&5
91392
91393 glibcxx_cv_func_float_trig_use=no
91394 fi
91395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91396     ac_ext=c
91397 ac_cpp='$CPP $CPPFLAGS'
91398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91401
91402 fi
91403
91404   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91405 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91406   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91407
91408
91409
91410
91411
91412
91413
91414
91415
91416 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91417 do
91418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91419 echo "$as_me:$LINENO: checking for $ac_func" >&5
91420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91421 if eval "test \"\${$as_ac_var+set}\" = set"; then
91422   echo $ECHO_N "(cached) $ECHO_C" >&6
91423 else
91424   if test x$gcc_no_link = xyes; then
91425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91427    { (exit 1); exit 1; }; }
91428 fi
91429 cat >conftest.$ac_ext <<_ACEOF
91430 /* confdefs.h.  */
91431 _ACEOF
91432 cat confdefs.h >>conftest.$ac_ext
91433 cat >>conftest.$ac_ext <<_ACEOF
91434 /* end confdefs.h.  */
91435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91437 #define $ac_func innocuous_$ac_func
91438
91439 /* System header to define __stub macros and hopefully few prototypes,
91440     which can conflict with char $ac_func (); below.
91441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91442     <limits.h> exists even on freestanding compilers.  */
91443
91444 #ifdef __STDC__
91445 # include <limits.h>
91446 #else
91447 # include <assert.h>
91448 #endif
91449
91450 #undef $ac_func
91451
91452 /* Override any gcc2 internal prototype to avoid an error.  */
91453 #ifdef __cplusplus
91454 extern "C"
91455 {
91456 #endif
91457 /* We use char because int might match the return type of a gcc2
91458    builtin and then its argument prototype would still apply.  */
91459 char $ac_func ();
91460 /* The GNU C library defines this for functions which it implements
91461     to always fail with ENOSYS.  Some functions are actually named
91462     something starting with __ and the normal name is an alias.  */
91463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91464 choke me
91465 #else
91466 char (*f) () = $ac_func;
91467 #endif
91468 #ifdef __cplusplus
91469 }
91470 #endif
91471
91472 int
91473 main ()
91474 {
91475 return f != $ac_func;
91476   ;
91477   return 0;
91478 }
91479 _ACEOF
91480 rm -f conftest.$ac_objext conftest$ac_exeext
91481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91482   (eval $ac_link) 2>conftest.er1
91483   ac_status=$?
91484   grep -v '^ *+' conftest.er1 >conftest.err
91485   rm -f conftest.er1
91486   cat conftest.err >&5
91487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91488   (exit $ac_status); } &&
91489          { ac_try='test -z "$ac_c_werror_flag"
91490                          || test ! -s conftest.err'
91491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91492   (eval $ac_try) 2>&5
91493   ac_status=$?
91494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495   (exit $ac_status); }; } &&
91496          { ac_try='test -s conftest$ac_exeext'
91497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91498   (eval $ac_try) 2>&5
91499   ac_status=$?
91500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91501   (exit $ac_status); }; }; then
91502   eval "$as_ac_var=yes"
91503 else
91504   echo "$as_me: failed program was:" >&5
91505 sed 's/^/| /' conftest.$ac_ext >&5
91506
91507 eval "$as_ac_var=no"
91508 fi
91509 rm -f conftest.err conftest.$ac_objext \
91510       conftest$ac_exeext conftest.$ac_ext
91511 fi
91512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91514 if test `eval echo '${'$as_ac_var'}'` = yes; then
91515   cat >>confdefs.h <<_ACEOF
91516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91517 _ACEOF
91518
91519 fi
91520 done
91521
91522   else
91523     echo "$as_me:$LINENO: checking for _float trig functions" >&5
91524 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91525     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91526   echo $ECHO_N "(cached) $ECHO_C" >&6
91527 else
91528
91529
91530
91531       ac_ext=cc
91532 ac_cpp='$CXXCPP $CPPFLAGS'
91533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91536
91537       cat >conftest.$ac_ext <<_ACEOF
91538 /* confdefs.h.  */
91539 _ACEOF
91540 cat confdefs.h >>conftest.$ac_ext
91541 cat >>conftest.$ac_ext <<_ACEOF
91542 /* end confdefs.h.  */
91543 #include <math.h>
91544 int
91545 main ()
91546 {
91547 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91548   ;
91549   return 0;
91550 }
91551 _ACEOF
91552 rm -f conftest.$ac_objext
91553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91554   (eval $ac_compile) 2>conftest.er1
91555   ac_status=$?
91556   grep -v '^ *+' conftest.er1 >conftest.err
91557   rm -f conftest.er1
91558   cat conftest.err >&5
91559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91560   (exit $ac_status); } &&
91561          { ac_try='test -z "$ac_cxx_werror_flag"
91562                          || test ! -s conftest.err'
91563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91564   (eval $ac_try) 2>&5
91565   ac_status=$?
91566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91567   (exit $ac_status); }; } &&
91568          { ac_try='test -s conftest.$ac_objext'
91569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91570   (eval $ac_try) 2>&5
91571   ac_status=$?
91572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91573   (exit $ac_status); }; }; then
91574   glibcxx_cv_func__float_trig_use=yes
91575 else
91576   echo "$as_me: failed program was:" >&5
91577 sed 's/^/| /' conftest.$ac_ext >&5
91578
91579 glibcxx_cv_func__float_trig_use=no
91580 fi
91581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91582       ac_ext=c
91583 ac_cpp='$CPP $CPPFLAGS'
91584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91587
91588 fi
91589
91590     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91591 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91592     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91593
91594
91595
91596
91597
91598
91599
91600
91601
91602 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91603 do
91604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91605 echo "$as_me:$LINENO: checking for $ac_func" >&5
91606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91607 if eval "test \"\${$as_ac_var+set}\" = set"; then
91608   echo $ECHO_N "(cached) $ECHO_C" >&6
91609 else
91610   if test x$gcc_no_link = xyes; then
91611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91613    { (exit 1); exit 1; }; }
91614 fi
91615 cat >conftest.$ac_ext <<_ACEOF
91616 /* confdefs.h.  */
91617 _ACEOF
91618 cat confdefs.h >>conftest.$ac_ext
91619 cat >>conftest.$ac_ext <<_ACEOF
91620 /* end confdefs.h.  */
91621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91623 #define $ac_func innocuous_$ac_func
91624
91625 /* System header to define __stub macros and hopefully few prototypes,
91626     which can conflict with char $ac_func (); below.
91627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91628     <limits.h> exists even on freestanding compilers.  */
91629
91630 #ifdef __STDC__
91631 # include <limits.h>
91632 #else
91633 # include <assert.h>
91634 #endif
91635
91636 #undef $ac_func
91637
91638 /* Override any gcc2 internal prototype to avoid an error.  */
91639 #ifdef __cplusplus
91640 extern "C"
91641 {
91642 #endif
91643 /* We use char because int might match the return type of a gcc2
91644    builtin and then its argument prototype would still apply.  */
91645 char $ac_func ();
91646 /* The GNU C library defines this for functions which it implements
91647     to always fail with ENOSYS.  Some functions are actually named
91648     something starting with __ and the normal name is an alias.  */
91649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91650 choke me
91651 #else
91652 char (*f) () = $ac_func;
91653 #endif
91654 #ifdef __cplusplus
91655 }
91656 #endif
91657
91658 int
91659 main ()
91660 {
91661 return f != $ac_func;
91662   ;
91663   return 0;
91664 }
91665 _ACEOF
91666 rm -f conftest.$ac_objext conftest$ac_exeext
91667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91668   (eval $ac_link) 2>conftest.er1
91669   ac_status=$?
91670   grep -v '^ *+' conftest.er1 >conftest.err
91671   rm -f conftest.er1
91672   cat conftest.err >&5
91673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91674   (exit $ac_status); } &&
91675          { ac_try='test -z "$ac_c_werror_flag"
91676                          || test ! -s conftest.err'
91677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91678   (eval $ac_try) 2>&5
91679   ac_status=$?
91680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91681   (exit $ac_status); }; } &&
91682          { ac_try='test -s conftest$ac_exeext'
91683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91684   (eval $ac_try) 2>&5
91685   ac_status=$?
91686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91687   (exit $ac_status); }; }; then
91688   eval "$as_ac_var=yes"
91689 else
91690   echo "$as_me: failed program was:" >&5
91691 sed 's/^/| /' conftest.$ac_ext >&5
91692
91693 eval "$as_ac_var=no"
91694 fi
91695 rm -f conftest.err conftest.$ac_objext \
91696       conftest$ac_exeext conftest.$ac_ext
91697 fi
91698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91700 if test `eval echo '${'$as_ac_var'}'` = yes; then
91701   cat >>confdefs.h <<_ACEOF
91702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91703 _ACEOF
91704
91705 fi
91706 done
91707
91708     fi
91709   fi
91710
91711
91712
91713
91714
91715
91716
91717
91718
91719
91720
91721
91722
91723
91724     echo "$as_me:$LINENO: checking for float round functions" >&5
91725 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91726   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91727   echo $ECHO_N "(cached) $ECHO_C" >&6
91728 else
91729
91730
91731
91732     ac_ext=cc
91733 ac_cpp='$CXXCPP $CPPFLAGS'
91734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91737
91738     cat >conftest.$ac_ext <<_ACEOF
91739 /* confdefs.h.  */
91740 _ACEOF
91741 cat confdefs.h >>conftest.$ac_ext
91742 cat >>conftest.$ac_ext <<_ACEOF
91743 /* end confdefs.h.  */
91744 #include <math.h>
91745 int
91746 main ()
91747 {
91748 ceilf (0); floorf (0);
91749   ;
91750   return 0;
91751 }
91752 _ACEOF
91753 rm -f conftest.$ac_objext
91754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91755   (eval $ac_compile) 2>conftest.er1
91756   ac_status=$?
91757   grep -v '^ *+' conftest.er1 >conftest.err
91758   rm -f conftest.er1
91759   cat conftest.err >&5
91760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91761   (exit $ac_status); } &&
91762          { ac_try='test -z "$ac_cxx_werror_flag"
91763                          || test ! -s conftest.err'
91764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91765   (eval $ac_try) 2>&5
91766   ac_status=$?
91767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768   (exit $ac_status); }; } &&
91769          { ac_try='test -s conftest.$ac_objext'
91770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91771   (eval $ac_try) 2>&5
91772   ac_status=$?
91773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91774   (exit $ac_status); }; }; then
91775   glibcxx_cv_func_float_round_use=yes
91776 else
91777   echo "$as_me: failed program was:" >&5
91778 sed 's/^/| /' conftest.$ac_ext >&5
91779
91780 glibcxx_cv_func_float_round_use=no
91781 fi
91782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91783     ac_ext=c
91784 ac_cpp='$CPP $CPPFLAGS'
91785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91788
91789 fi
91790
91791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91792 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91793   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91794
91795
91796 for ac_func in ceilf floorf
91797 do
91798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91799 echo "$as_me:$LINENO: checking for $ac_func" >&5
91800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91801 if eval "test \"\${$as_ac_var+set}\" = set"; then
91802   echo $ECHO_N "(cached) $ECHO_C" >&6
91803 else
91804   if test x$gcc_no_link = xyes; then
91805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91807    { (exit 1); exit 1; }; }
91808 fi
91809 cat >conftest.$ac_ext <<_ACEOF
91810 /* confdefs.h.  */
91811 _ACEOF
91812 cat confdefs.h >>conftest.$ac_ext
91813 cat >>conftest.$ac_ext <<_ACEOF
91814 /* end confdefs.h.  */
91815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91817 #define $ac_func innocuous_$ac_func
91818
91819 /* System header to define __stub macros and hopefully few prototypes,
91820     which can conflict with char $ac_func (); below.
91821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91822     <limits.h> exists even on freestanding compilers.  */
91823
91824 #ifdef __STDC__
91825 # include <limits.h>
91826 #else
91827 # include <assert.h>
91828 #endif
91829
91830 #undef $ac_func
91831
91832 /* Override any gcc2 internal prototype to avoid an error.  */
91833 #ifdef __cplusplus
91834 extern "C"
91835 {
91836 #endif
91837 /* We use char because int might match the return type of a gcc2
91838    builtin and then its argument prototype would still apply.  */
91839 char $ac_func ();
91840 /* The GNU C library defines this for functions which it implements
91841     to always fail with ENOSYS.  Some functions are actually named
91842     something starting with __ and the normal name is an alias.  */
91843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91844 choke me
91845 #else
91846 char (*f) () = $ac_func;
91847 #endif
91848 #ifdef __cplusplus
91849 }
91850 #endif
91851
91852 int
91853 main ()
91854 {
91855 return f != $ac_func;
91856   ;
91857   return 0;
91858 }
91859 _ACEOF
91860 rm -f conftest.$ac_objext conftest$ac_exeext
91861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91862   (eval $ac_link) 2>conftest.er1
91863   ac_status=$?
91864   grep -v '^ *+' conftest.er1 >conftest.err
91865   rm -f conftest.er1
91866   cat conftest.err >&5
91867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91868   (exit $ac_status); } &&
91869          { ac_try='test -z "$ac_c_werror_flag"
91870                          || test ! -s conftest.err'
91871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91872   (eval $ac_try) 2>&5
91873   ac_status=$?
91874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91875   (exit $ac_status); }; } &&
91876          { ac_try='test -s conftest$ac_exeext'
91877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91878   (eval $ac_try) 2>&5
91879   ac_status=$?
91880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91881   (exit $ac_status); }; }; then
91882   eval "$as_ac_var=yes"
91883 else
91884   echo "$as_me: failed program was:" >&5
91885 sed 's/^/| /' conftest.$ac_ext >&5
91886
91887 eval "$as_ac_var=no"
91888 fi
91889 rm -f conftest.err conftest.$ac_objext \
91890       conftest$ac_exeext conftest.$ac_ext
91891 fi
91892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91894 if test `eval echo '${'$as_ac_var'}'` = yes; then
91895   cat >>confdefs.h <<_ACEOF
91896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91897 _ACEOF
91898
91899 fi
91900 done
91901
91902   else
91903     echo "$as_me:$LINENO: checking for _float round functions" >&5
91904 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91905     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91906   echo $ECHO_N "(cached) $ECHO_C" >&6
91907 else
91908
91909
91910
91911       ac_ext=cc
91912 ac_cpp='$CXXCPP $CPPFLAGS'
91913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91916
91917       cat >conftest.$ac_ext <<_ACEOF
91918 /* confdefs.h.  */
91919 _ACEOF
91920 cat confdefs.h >>conftest.$ac_ext
91921 cat >>conftest.$ac_ext <<_ACEOF
91922 /* end confdefs.h.  */
91923 #include <math.h>
91924 int
91925 main ()
91926 {
91927 _ceilf (0); _floorf (0);
91928   ;
91929   return 0;
91930 }
91931 _ACEOF
91932 rm -f conftest.$ac_objext
91933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91934   (eval $ac_compile) 2>conftest.er1
91935   ac_status=$?
91936   grep -v '^ *+' conftest.er1 >conftest.err
91937   rm -f conftest.er1
91938   cat conftest.err >&5
91939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91940   (exit $ac_status); } &&
91941          { ac_try='test -z "$ac_cxx_werror_flag"
91942                          || test ! -s conftest.err'
91943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91944   (eval $ac_try) 2>&5
91945   ac_status=$?
91946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91947   (exit $ac_status); }; } &&
91948          { ac_try='test -s conftest.$ac_objext'
91949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91950   (eval $ac_try) 2>&5
91951   ac_status=$?
91952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91953   (exit $ac_status); }; }; then
91954   glibcxx_cv_func__float_round_use=yes
91955 else
91956   echo "$as_me: failed program was:" >&5
91957 sed 's/^/| /' conftest.$ac_ext >&5
91958
91959 glibcxx_cv_func__float_round_use=no
91960 fi
91961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91962       ac_ext=c
91963 ac_cpp='$CPP $CPPFLAGS'
91964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91967
91968 fi
91969
91970     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91971 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91972     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91973
91974
91975 for ac_func in _ceilf _floorf
91976 do
91977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91978 echo "$as_me:$LINENO: checking for $ac_func" >&5
91979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91980 if eval "test \"\${$as_ac_var+set}\" = set"; then
91981   echo $ECHO_N "(cached) $ECHO_C" >&6
91982 else
91983   if test x$gcc_no_link = xyes; then
91984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91986    { (exit 1); exit 1; }; }
91987 fi
91988 cat >conftest.$ac_ext <<_ACEOF
91989 /* confdefs.h.  */
91990 _ACEOF
91991 cat confdefs.h >>conftest.$ac_ext
91992 cat >>conftest.$ac_ext <<_ACEOF
91993 /* end confdefs.h.  */
91994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91996 #define $ac_func innocuous_$ac_func
91997
91998 /* System header to define __stub macros and hopefully few prototypes,
91999     which can conflict with char $ac_func (); below.
92000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92001     <limits.h> exists even on freestanding compilers.  */
92002
92003 #ifdef __STDC__
92004 # include <limits.h>
92005 #else
92006 # include <assert.h>
92007 #endif
92008
92009 #undef $ac_func
92010
92011 /* Override any gcc2 internal prototype to avoid an error.  */
92012 #ifdef __cplusplus
92013 extern "C"
92014 {
92015 #endif
92016 /* We use char because int might match the return type of a gcc2
92017    builtin and then its argument prototype would still apply.  */
92018 char $ac_func ();
92019 /* The GNU C library defines this for functions which it implements
92020     to always fail with ENOSYS.  Some functions are actually named
92021     something starting with __ and the normal name is an alias.  */
92022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92023 choke me
92024 #else
92025 char (*f) () = $ac_func;
92026 #endif
92027 #ifdef __cplusplus
92028 }
92029 #endif
92030
92031 int
92032 main ()
92033 {
92034 return f != $ac_func;
92035   ;
92036   return 0;
92037 }
92038 _ACEOF
92039 rm -f conftest.$ac_objext conftest$ac_exeext
92040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92041   (eval $ac_link) 2>conftest.er1
92042   ac_status=$?
92043   grep -v '^ *+' conftest.er1 >conftest.err
92044   rm -f conftest.er1
92045   cat conftest.err >&5
92046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92047   (exit $ac_status); } &&
92048          { ac_try='test -z "$ac_c_werror_flag"
92049                          || test ! -s conftest.err'
92050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92051   (eval $ac_try) 2>&5
92052   ac_status=$?
92053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92054   (exit $ac_status); }; } &&
92055          { ac_try='test -s conftest$ac_exeext'
92056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92057   (eval $ac_try) 2>&5
92058   ac_status=$?
92059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92060   (exit $ac_status); }; }; then
92061   eval "$as_ac_var=yes"
92062 else
92063   echo "$as_me: failed program was:" >&5
92064 sed 's/^/| /' conftest.$ac_ext >&5
92065
92066 eval "$as_ac_var=no"
92067 fi
92068 rm -f conftest.err conftest.$ac_objext \
92069       conftest$ac_exeext conftest.$ac_ext
92070 fi
92071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92073 if test `eval echo '${'$as_ac_var'}'` = yes; then
92074   cat >>confdefs.h <<_ACEOF
92075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92076 _ACEOF
92077
92078 fi
92079 done
92080
92081     fi
92082   fi
92083
92084
92085
92086
92087
92088
92089
92090
92091   echo "$as_me:$LINENO: checking for expf declaration" >&5
92092 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
92093   if test x${glibcxx_cv_func_expf_use+set} != xset; then
92094     if test "${glibcxx_cv_func_expf_use+set}" = set; then
92095   echo $ECHO_N "(cached) $ECHO_C" >&6
92096 else
92097
92098
92099
92100       ac_ext=cc
92101 ac_cpp='$CXXCPP $CPPFLAGS'
92102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92105
92106       cat >conftest.$ac_ext <<_ACEOF
92107 /* confdefs.h.  */
92108 _ACEOF
92109 cat confdefs.h >>conftest.$ac_ext
92110 cat >>conftest.$ac_ext <<_ACEOF
92111 /* end confdefs.h.  */
92112 #include <math.h>
92113                       #ifdef HAVE_IEEEFP_H
92114                       #include <ieeefp.h>
92115                       #endif
92116
92117 int
92118 main ()
92119 {
92120  expf(0);
92121   ;
92122   return 0;
92123 }
92124 _ACEOF
92125 rm -f conftest.$ac_objext
92126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92127   (eval $ac_compile) 2>conftest.er1
92128   ac_status=$?
92129   grep -v '^ *+' conftest.er1 >conftest.err
92130   rm -f conftest.er1
92131   cat conftest.err >&5
92132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92133   (exit $ac_status); } &&
92134          { ac_try='test -z "$ac_cxx_werror_flag"
92135                          || test ! -s conftest.err'
92136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92137   (eval $ac_try) 2>&5
92138   ac_status=$?
92139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92140   (exit $ac_status); }; } &&
92141          { ac_try='test -s conftest.$ac_objext'
92142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92143   (eval $ac_try) 2>&5
92144   ac_status=$?
92145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92146   (exit $ac_status); }; }; then
92147   glibcxx_cv_func_expf_use=yes
92148 else
92149   echo "$as_me: failed program was:" >&5
92150 sed 's/^/| /' conftest.$ac_ext >&5
92151
92152 glibcxx_cv_func_expf_use=no
92153 fi
92154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92155       ac_ext=c
92156 ac_cpp='$CPP $CPPFLAGS'
92157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92160
92161
92162 fi
92163
92164   fi
92165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
92166 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
92167
92168   if test x$glibcxx_cv_func_expf_use = x"yes"; then
92169
92170 for ac_func in expf
92171 do
92172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92173 echo "$as_me:$LINENO: checking for $ac_func" >&5
92174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92175 if eval "test \"\${$as_ac_var+set}\" = set"; then
92176   echo $ECHO_N "(cached) $ECHO_C" >&6
92177 else
92178   if test x$gcc_no_link = xyes; then
92179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92181    { (exit 1); exit 1; }; }
92182 fi
92183 cat >conftest.$ac_ext <<_ACEOF
92184 /* confdefs.h.  */
92185 _ACEOF
92186 cat confdefs.h >>conftest.$ac_ext
92187 cat >>conftest.$ac_ext <<_ACEOF
92188 /* end confdefs.h.  */
92189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92191 #define $ac_func innocuous_$ac_func
92192
92193 /* System header to define __stub macros and hopefully few prototypes,
92194     which can conflict with char $ac_func (); below.
92195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92196     <limits.h> exists even on freestanding compilers.  */
92197
92198 #ifdef __STDC__
92199 # include <limits.h>
92200 #else
92201 # include <assert.h>
92202 #endif
92203
92204 #undef $ac_func
92205
92206 /* Override any gcc2 internal prototype to avoid an error.  */
92207 #ifdef __cplusplus
92208 extern "C"
92209 {
92210 #endif
92211 /* We use char because int might match the return type of a gcc2
92212    builtin and then its argument prototype would still apply.  */
92213 char $ac_func ();
92214 /* The GNU C library defines this for functions which it implements
92215     to always fail with ENOSYS.  Some functions are actually named
92216     something starting with __ and the normal name is an alias.  */
92217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92218 choke me
92219 #else
92220 char (*f) () = $ac_func;
92221 #endif
92222 #ifdef __cplusplus
92223 }
92224 #endif
92225
92226 int
92227 main ()
92228 {
92229 return f != $ac_func;
92230   ;
92231   return 0;
92232 }
92233 _ACEOF
92234 rm -f conftest.$ac_objext conftest$ac_exeext
92235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92236   (eval $ac_link) 2>conftest.er1
92237   ac_status=$?
92238   grep -v '^ *+' conftest.er1 >conftest.err
92239   rm -f conftest.er1
92240   cat conftest.err >&5
92241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92242   (exit $ac_status); } &&
92243          { ac_try='test -z "$ac_c_werror_flag"
92244                          || test ! -s conftest.err'
92245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92246   (eval $ac_try) 2>&5
92247   ac_status=$?
92248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92249   (exit $ac_status); }; } &&
92250          { ac_try='test -s conftest$ac_exeext'
92251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92252   (eval $ac_try) 2>&5
92253   ac_status=$?
92254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255   (exit $ac_status); }; }; then
92256   eval "$as_ac_var=yes"
92257 else
92258   echo "$as_me: failed program was:" >&5
92259 sed 's/^/| /' conftest.$ac_ext >&5
92260
92261 eval "$as_ac_var=no"
92262 fi
92263 rm -f conftest.err conftest.$ac_objext \
92264       conftest$ac_exeext conftest.$ac_ext
92265 fi
92266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92268 if test `eval echo '${'$as_ac_var'}'` = yes; then
92269   cat >>confdefs.h <<_ACEOF
92270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92271 _ACEOF
92272
92273 fi
92274 done
92275
92276   else
92277
92278   echo "$as_me:$LINENO: checking for _expf declaration" >&5
92279 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
92280   if test x${glibcxx_cv_func__expf_use+set} != xset; then
92281     if test "${glibcxx_cv_func__expf_use+set}" = set; then
92282   echo $ECHO_N "(cached) $ECHO_C" >&6
92283 else
92284
92285
92286
92287       ac_ext=cc
92288 ac_cpp='$CXXCPP $CPPFLAGS'
92289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92292
92293       cat >conftest.$ac_ext <<_ACEOF
92294 /* confdefs.h.  */
92295 _ACEOF
92296 cat confdefs.h >>conftest.$ac_ext
92297 cat >>conftest.$ac_ext <<_ACEOF
92298 /* end confdefs.h.  */
92299 #include <math.h>
92300                       #ifdef HAVE_IEEEFP_H
92301                       #include <ieeefp.h>
92302                       #endif
92303
92304 int
92305 main ()
92306 {
92307  _expf(0);
92308   ;
92309   return 0;
92310 }
92311 _ACEOF
92312 rm -f conftest.$ac_objext
92313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92314   (eval $ac_compile) 2>conftest.er1
92315   ac_status=$?
92316   grep -v '^ *+' conftest.er1 >conftest.err
92317   rm -f conftest.er1
92318   cat conftest.err >&5
92319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92320   (exit $ac_status); } &&
92321          { ac_try='test -z "$ac_cxx_werror_flag"
92322                          || test ! -s conftest.err'
92323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92324   (eval $ac_try) 2>&5
92325   ac_status=$?
92326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92327   (exit $ac_status); }; } &&
92328          { ac_try='test -s conftest.$ac_objext'
92329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92330   (eval $ac_try) 2>&5
92331   ac_status=$?
92332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92333   (exit $ac_status); }; }; then
92334   glibcxx_cv_func__expf_use=yes
92335 else
92336   echo "$as_me: failed program was:" >&5
92337 sed 's/^/| /' conftest.$ac_ext >&5
92338
92339 glibcxx_cv_func__expf_use=no
92340 fi
92341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92342       ac_ext=c
92343 ac_cpp='$CPP $CPPFLAGS'
92344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92347
92348
92349 fi
92350
92351   fi
92352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92353 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92354
92355     if test x$glibcxx_cv_func__expf_use = x"yes"; then
92356
92357 for ac_func in _expf
92358 do
92359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92360 echo "$as_me:$LINENO: checking for $ac_func" >&5
92361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92362 if eval "test \"\${$as_ac_var+set}\" = set"; then
92363   echo $ECHO_N "(cached) $ECHO_C" >&6
92364 else
92365   if test x$gcc_no_link = xyes; then
92366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92368    { (exit 1); exit 1; }; }
92369 fi
92370 cat >conftest.$ac_ext <<_ACEOF
92371 /* confdefs.h.  */
92372 _ACEOF
92373 cat confdefs.h >>conftest.$ac_ext
92374 cat >>conftest.$ac_ext <<_ACEOF
92375 /* end confdefs.h.  */
92376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92378 #define $ac_func innocuous_$ac_func
92379
92380 /* System header to define __stub macros and hopefully few prototypes,
92381     which can conflict with char $ac_func (); below.
92382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92383     <limits.h> exists even on freestanding compilers.  */
92384
92385 #ifdef __STDC__
92386 # include <limits.h>
92387 #else
92388 # include <assert.h>
92389 #endif
92390
92391 #undef $ac_func
92392
92393 /* Override any gcc2 internal prototype to avoid an error.  */
92394 #ifdef __cplusplus
92395 extern "C"
92396 {
92397 #endif
92398 /* We use char because int might match the return type of a gcc2
92399    builtin and then its argument prototype would still apply.  */
92400 char $ac_func ();
92401 /* The GNU C library defines this for functions which it implements
92402     to always fail with ENOSYS.  Some functions are actually named
92403     something starting with __ and the normal name is an alias.  */
92404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92405 choke me
92406 #else
92407 char (*f) () = $ac_func;
92408 #endif
92409 #ifdef __cplusplus
92410 }
92411 #endif
92412
92413 int
92414 main ()
92415 {
92416 return f != $ac_func;
92417   ;
92418   return 0;
92419 }
92420 _ACEOF
92421 rm -f conftest.$ac_objext conftest$ac_exeext
92422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92423   (eval $ac_link) 2>conftest.er1
92424   ac_status=$?
92425   grep -v '^ *+' conftest.er1 >conftest.err
92426   rm -f conftest.er1
92427   cat conftest.err >&5
92428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92429   (exit $ac_status); } &&
92430          { ac_try='test -z "$ac_c_werror_flag"
92431                          || test ! -s conftest.err'
92432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92433   (eval $ac_try) 2>&5
92434   ac_status=$?
92435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92436   (exit $ac_status); }; } &&
92437          { ac_try='test -s conftest$ac_exeext'
92438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92439   (eval $ac_try) 2>&5
92440   ac_status=$?
92441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92442   (exit $ac_status); }; }; then
92443   eval "$as_ac_var=yes"
92444 else
92445   echo "$as_me: failed program was:" >&5
92446 sed 's/^/| /' conftest.$ac_ext >&5
92447
92448 eval "$as_ac_var=no"
92449 fi
92450 rm -f conftest.err conftest.$ac_objext \
92451       conftest$ac_exeext conftest.$ac_ext
92452 fi
92453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92455 if test `eval echo '${'$as_ac_var'}'` = yes; then
92456   cat >>confdefs.h <<_ACEOF
92457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92458 _ACEOF
92459
92460 fi
92461 done
92462
92463     fi
92464   fi
92465
92466
92467
92468
92469
92470
92471   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92472 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92473   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92474     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92475   echo $ECHO_N "(cached) $ECHO_C" >&6
92476 else
92477
92478
92479
92480       ac_ext=cc
92481 ac_cpp='$CXXCPP $CPPFLAGS'
92482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92485
92486       cat >conftest.$ac_ext <<_ACEOF
92487 /* confdefs.h.  */
92488 _ACEOF
92489 cat confdefs.h >>conftest.$ac_ext
92490 cat >>conftest.$ac_ext <<_ACEOF
92491 /* end confdefs.h.  */
92492 #include <math.h>
92493                       #ifdef HAVE_IEEEFP_H
92494                       #include <ieeefp.h>
92495                       #endif
92496
92497 int
92498 main ()
92499 {
92500  isnanf(0);
92501   ;
92502   return 0;
92503 }
92504 _ACEOF
92505 rm -f conftest.$ac_objext
92506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92507   (eval $ac_compile) 2>conftest.er1
92508   ac_status=$?
92509   grep -v '^ *+' conftest.er1 >conftest.err
92510   rm -f conftest.er1
92511   cat conftest.err >&5
92512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92513   (exit $ac_status); } &&
92514          { ac_try='test -z "$ac_cxx_werror_flag"
92515                          || test ! -s conftest.err'
92516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92517   (eval $ac_try) 2>&5
92518   ac_status=$?
92519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92520   (exit $ac_status); }; } &&
92521          { ac_try='test -s conftest.$ac_objext'
92522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92523   (eval $ac_try) 2>&5
92524   ac_status=$?
92525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92526   (exit $ac_status); }; }; then
92527   glibcxx_cv_func_isnanf_use=yes
92528 else
92529   echo "$as_me: failed program was:" >&5
92530 sed 's/^/| /' conftest.$ac_ext >&5
92531
92532 glibcxx_cv_func_isnanf_use=no
92533 fi
92534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92535       ac_ext=c
92536 ac_cpp='$CPP $CPPFLAGS'
92537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92540
92541
92542 fi
92543
92544   fi
92545   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92546 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92547
92548   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92549
92550 for ac_func in isnanf
92551 do
92552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92553 echo "$as_me:$LINENO: checking for $ac_func" >&5
92554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92555 if eval "test \"\${$as_ac_var+set}\" = set"; then
92556   echo $ECHO_N "(cached) $ECHO_C" >&6
92557 else
92558   if test x$gcc_no_link = xyes; then
92559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92561    { (exit 1); exit 1; }; }
92562 fi
92563 cat >conftest.$ac_ext <<_ACEOF
92564 /* confdefs.h.  */
92565 _ACEOF
92566 cat confdefs.h >>conftest.$ac_ext
92567 cat >>conftest.$ac_ext <<_ACEOF
92568 /* end confdefs.h.  */
92569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92571 #define $ac_func innocuous_$ac_func
92572
92573 /* System header to define __stub macros and hopefully few prototypes,
92574     which can conflict with char $ac_func (); below.
92575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92576     <limits.h> exists even on freestanding compilers.  */
92577
92578 #ifdef __STDC__
92579 # include <limits.h>
92580 #else
92581 # include <assert.h>
92582 #endif
92583
92584 #undef $ac_func
92585
92586 /* Override any gcc2 internal prototype to avoid an error.  */
92587 #ifdef __cplusplus
92588 extern "C"
92589 {
92590 #endif
92591 /* We use char because int might match the return type of a gcc2
92592    builtin and then its argument prototype would still apply.  */
92593 char $ac_func ();
92594 /* The GNU C library defines this for functions which it implements
92595     to always fail with ENOSYS.  Some functions are actually named
92596     something starting with __ and the normal name is an alias.  */
92597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92598 choke me
92599 #else
92600 char (*f) () = $ac_func;
92601 #endif
92602 #ifdef __cplusplus
92603 }
92604 #endif
92605
92606 int
92607 main ()
92608 {
92609 return f != $ac_func;
92610   ;
92611   return 0;
92612 }
92613 _ACEOF
92614 rm -f conftest.$ac_objext conftest$ac_exeext
92615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92616   (eval $ac_link) 2>conftest.er1
92617   ac_status=$?
92618   grep -v '^ *+' conftest.er1 >conftest.err
92619   rm -f conftest.er1
92620   cat conftest.err >&5
92621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92622   (exit $ac_status); } &&
92623          { ac_try='test -z "$ac_c_werror_flag"
92624                          || test ! -s conftest.err'
92625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92626   (eval $ac_try) 2>&5
92627   ac_status=$?
92628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92629   (exit $ac_status); }; } &&
92630          { ac_try='test -s conftest$ac_exeext'
92631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92632   (eval $ac_try) 2>&5
92633   ac_status=$?
92634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92635   (exit $ac_status); }; }; then
92636   eval "$as_ac_var=yes"
92637 else
92638   echo "$as_me: failed program was:" >&5
92639 sed 's/^/| /' conftest.$ac_ext >&5
92640
92641 eval "$as_ac_var=no"
92642 fi
92643 rm -f conftest.err conftest.$ac_objext \
92644       conftest$ac_exeext conftest.$ac_ext
92645 fi
92646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92648 if test `eval echo '${'$as_ac_var'}'` = yes; then
92649   cat >>confdefs.h <<_ACEOF
92650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92651 _ACEOF
92652
92653 fi
92654 done
92655
92656   else
92657
92658   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92659 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92660   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92661     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92662   echo $ECHO_N "(cached) $ECHO_C" >&6
92663 else
92664
92665
92666
92667       ac_ext=cc
92668 ac_cpp='$CXXCPP $CPPFLAGS'
92669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92672
92673       cat >conftest.$ac_ext <<_ACEOF
92674 /* confdefs.h.  */
92675 _ACEOF
92676 cat confdefs.h >>conftest.$ac_ext
92677 cat >>conftest.$ac_ext <<_ACEOF
92678 /* end confdefs.h.  */
92679 #include <math.h>
92680                       #ifdef HAVE_IEEEFP_H
92681                       #include <ieeefp.h>
92682                       #endif
92683
92684 int
92685 main ()
92686 {
92687  _isnanf(0);
92688   ;
92689   return 0;
92690 }
92691 _ACEOF
92692 rm -f conftest.$ac_objext
92693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92694   (eval $ac_compile) 2>conftest.er1
92695   ac_status=$?
92696   grep -v '^ *+' conftest.er1 >conftest.err
92697   rm -f conftest.er1
92698   cat conftest.err >&5
92699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92700   (exit $ac_status); } &&
92701          { ac_try='test -z "$ac_cxx_werror_flag"
92702                          || test ! -s conftest.err'
92703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92704   (eval $ac_try) 2>&5
92705   ac_status=$?
92706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92707   (exit $ac_status); }; } &&
92708          { ac_try='test -s conftest.$ac_objext'
92709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92710   (eval $ac_try) 2>&5
92711   ac_status=$?
92712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92713   (exit $ac_status); }; }; then
92714   glibcxx_cv_func__isnanf_use=yes
92715 else
92716   echo "$as_me: failed program was:" >&5
92717 sed 's/^/| /' conftest.$ac_ext >&5
92718
92719 glibcxx_cv_func__isnanf_use=no
92720 fi
92721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92722       ac_ext=c
92723 ac_cpp='$CPP $CPPFLAGS'
92724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92727
92728
92729 fi
92730
92731   fi
92732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92733 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92734
92735     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92736
92737 for ac_func in _isnanf
92738 do
92739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92740 echo "$as_me:$LINENO: checking for $ac_func" >&5
92741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92742 if eval "test \"\${$as_ac_var+set}\" = set"; then
92743   echo $ECHO_N "(cached) $ECHO_C" >&6
92744 else
92745   if test x$gcc_no_link = xyes; then
92746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92748    { (exit 1); exit 1; }; }
92749 fi
92750 cat >conftest.$ac_ext <<_ACEOF
92751 /* confdefs.h.  */
92752 _ACEOF
92753 cat confdefs.h >>conftest.$ac_ext
92754 cat >>conftest.$ac_ext <<_ACEOF
92755 /* end confdefs.h.  */
92756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92758 #define $ac_func innocuous_$ac_func
92759
92760 /* System header to define __stub macros and hopefully few prototypes,
92761     which can conflict with char $ac_func (); below.
92762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92763     <limits.h> exists even on freestanding compilers.  */
92764
92765 #ifdef __STDC__
92766 # include <limits.h>
92767 #else
92768 # include <assert.h>
92769 #endif
92770
92771 #undef $ac_func
92772
92773 /* Override any gcc2 internal prototype to avoid an error.  */
92774 #ifdef __cplusplus
92775 extern "C"
92776 {
92777 #endif
92778 /* We use char because int might match the return type of a gcc2
92779    builtin and then its argument prototype would still apply.  */
92780 char $ac_func ();
92781 /* The GNU C library defines this for functions which it implements
92782     to always fail with ENOSYS.  Some functions are actually named
92783     something starting with __ and the normal name is an alias.  */
92784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92785 choke me
92786 #else
92787 char (*f) () = $ac_func;
92788 #endif
92789 #ifdef __cplusplus
92790 }
92791 #endif
92792
92793 int
92794 main ()
92795 {
92796 return f != $ac_func;
92797   ;
92798   return 0;
92799 }
92800 _ACEOF
92801 rm -f conftest.$ac_objext conftest$ac_exeext
92802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92803   (eval $ac_link) 2>conftest.er1
92804   ac_status=$?
92805   grep -v '^ *+' conftest.er1 >conftest.err
92806   rm -f conftest.er1
92807   cat conftest.err >&5
92808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92809   (exit $ac_status); } &&
92810          { ac_try='test -z "$ac_c_werror_flag"
92811                          || test ! -s conftest.err'
92812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92813   (eval $ac_try) 2>&5
92814   ac_status=$?
92815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92816   (exit $ac_status); }; } &&
92817          { ac_try='test -s conftest$ac_exeext'
92818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92819   (eval $ac_try) 2>&5
92820   ac_status=$?
92821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92822   (exit $ac_status); }; }; then
92823   eval "$as_ac_var=yes"
92824 else
92825   echo "$as_me: failed program was:" >&5
92826 sed 's/^/| /' conftest.$ac_ext >&5
92827
92828 eval "$as_ac_var=no"
92829 fi
92830 rm -f conftest.err conftest.$ac_objext \
92831       conftest$ac_exeext conftest.$ac_ext
92832 fi
92833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92835 if test `eval echo '${'$as_ac_var'}'` = yes; then
92836   cat >>confdefs.h <<_ACEOF
92837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92838 _ACEOF
92839
92840 fi
92841 done
92842
92843     fi
92844   fi
92845
92846
92847
92848
92849
92850
92851   echo "$as_me:$LINENO: checking for isinff declaration" >&5
92852 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92853   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92854     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92855   echo $ECHO_N "(cached) $ECHO_C" >&6
92856 else
92857
92858
92859
92860       ac_ext=cc
92861 ac_cpp='$CXXCPP $CPPFLAGS'
92862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92865
92866       cat >conftest.$ac_ext <<_ACEOF
92867 /* confdefs.h.  */
92868 _ACEOF
92869 cat confdefs.h >>conftest.$ac_ext
92870 cat >>conftest.$ac_ext <<_ACEOF
92871 /* end confdefs.h.  */
92872 #include <math.h>
92873                       #ifdef HAVE_IEEEFP_H
92874                       #include <ieeefp.h>
92875                       #endif
92876
92877 int
92878 main ()
92879 {
92880  isinff(0);
92881   ;
92882   return 0;
92883 }
92884 _ACEOF
92885 rm -f conftest.$ac_objext
92886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92887   (eval $ac_compile) 2>conftest.er1
92888   ac_status=$?
92889   grep -v '^ *+' conftest.er1 >conftest.err
92890   rm -f conftest.er1
92891   cat conftest.err >&5
92892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92893   (exit $ac_status); } &&
92894          { ac_try='test -z "$ac_cxx_werror_flag"
92895                          || test ! -s conftest.err'
92896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92897   (eval $ac_try) 2>&5
92898   ac_status=$?
92899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92900   (exit $ac_status); }; } &&
92901          { ac_try='test -s conftest.$ac_objext'
92902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92903   (eval $ac_try) 2>&5
92904   ac_status=$?
92905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92906   (exit $ac_status); }; }; then
92907   glibcxx_cv_func_isinff_use=yes
92908 else
92909   echo "$as_me: failed program was:" >&5
92910 sed 's/^/| /' conftest.$ac_ext >&5
92911
92912 glibcxx_cv_func_isinff_use=no
92913 fi
92914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92915       ac_ext=c
92916 ac_cpp='$CPP $CPPFLAGS'
92917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92920
92921
92922 fi
92923
92924   fi
92925   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92926 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92927
92928   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92929
92930 for ac_func in isinff
92931 do
92932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92933 echo "$as_me:$LINENO: checking for $ac_func" >&5
92934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92935 if eval "test \"\${$as_ac_var+set}\" = set"; then
92936   echo $ECHO_N "(cached) $ECHO_C" >&6
92937 else
92938   if test x$gcc_no_link = xyes; then
92939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92941    { (exit 1); exit 1; }; }
92942 fi
92943 cat >conftest.$ac_ext <<_ACEOF
92944 /* confdefs.h.  */
92945 _ACEOF
92946 cat confdefs.h >>conftest.$ac_ext
92947 cat >>conftest.$ac_ext <<_ACEOF
92948 /* end confdefs.h.  */
92949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92950    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92951 #define $ac_func innocuous_$ac_func
92952
92953 /* System header to define __stub macros and hopefully few prototypes,
92954     which can conflict with char $ac_func (); below.
92955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92956     <limits.h> exists even on freestanding compilers.  */
92957
92958 #ifdef __STDC__
92959 # include <limits.h>
92960 #else
92961 # include <assert.h>
92962 #endif
92963
92964 #undef $ac_func
92965
92966 /* Override any gcc2 internal prototype to avoid an error.  */
92967 #ifdef __cplusplus
92968 extern "C"
92969 {
92970 #endif
92971 /* We use char because int might match the return type of a gcc2
92972    builtin and then its argument prototype would still apply.  */
92973 char $ac_func ();
92974 /* The GNU C library defines this for functions which it implements
92975     to always fail with ENOSYS.  Some functions are actually named
92976     something starting with __ and the normal name is an alias.  */
92977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92978 choke me
92979 #else
92980 char (*f) () = $ac_func;
92981 #endif
92982 #ifdef __cplusplus
92983 }
92984 #endif
92985
92986 int
92987 main ()
92988 {
92989 return f != $ac_func;
92990   ;
92991   return 0;
92992 }
92993 _ACEOF
92994 rm -f conftest.$ac_objext conftest$ac_exeext
92995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92996   (eval $ac_link) 2>conftest.er1
92997   ac_status=$?
92998   grep -v '^ *+' conftest.er1 >conftest.err
92999   rm -f conftest.er1
93000   cat conftest.err >&5
93001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93002   (exit $ac_status); } &&
93003          { ac_try='test -z "$ac_c_werror_flag"
93004                          || test ! -s conftest.err'
93005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93006   (eval $ac_try) 2>&5
93007   ac_status=$?
93008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93009   (exit $ac_status); }; } &&
93010          { ac_try='test -s conftest$ac_exeext'
93011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93012   (eval $ac_try) 2>&5
93013   ac_status=$?
93014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93015   (exit $ac_status); }; }; then
93016   eval "$as_ac_var=yes"
93017 else
93018   echo "$as_me: failed program was:" >&5
93019 sed 's/^/| /' conftest.$ac_ext >&5
93020
93021 eval "$as_ac_var=no"
93022 fi
93023 rm -f conftest.err conftest.$ac_objext \
93024       conftest$ac_exeext conftest.$ac_ext
93025 fi
93026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93028 if test `eval echo '${'$as_ac_var'}'` = yes; then
93029   cat >>confdefs.h <<_ACEOF
93030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93031 _ACEOF
93032
93033 fi
93034 done
93035
93036   else
93037
93038   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
93039 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
93040   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
93041     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
93042   echo $ECHO_N "(cached) $ECHO_C" >&6
93043 else
93044
93045
93046
93047       ac_ext=cc
93048 ac_cpp='$CXXCPP $CPPFLAGS'
93049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93052
93053       cat >conftest.$ac_ext <<_ACEOF
93054 /* confdefs.h.  */
93055 _ACEOF
93056 cat confdefs.h >>conftest.$ac_ext
93057 cat >>conftest.$ac_ext <<_ACEOF
93058 /* end confdefs.h.  */
93059 #include <math.h>
93060                       #ifdef HAVE_IEEEFP_H
93061                       #include <ieeefp.h>
93062                       #endif
93063
93064 int
93065 main ()
93066 {
93067  _isinff(0);
93068   ;
93069   return 0;
93070 }
93071 _ACEOF
93072 rm -f conftest.$ac_objext
93073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93074   (eval $ac_compile) 2>conftest.er1
93075   ac_status=$?
93076   grep -v '^ *+' conftest.er1 >conftest.err
93077   rm -f conftest.er1
93078   cat conftest.err >&5
93079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93080   (exit $ac_status); } &&
93081          { ac_try='test -z "$ac_cxx_werror_flag"
93082                          || test ! -s conftest.err'
93083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93084   (eval $ac_try) 2>&5
93085   ac_status=$?
93086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93087   (exit $ac_status); }; } &&
93088          { ac_try='test -s conftest.$ac_objext'
93089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93090   (eval $ac_try) 2>&5
93091   ac_status=$?
93092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93093   (exit $ac_status); }; }; then
93094   glibcxx_cv_func__isinff_use=yes
93095 else
93096   echo "$as_me: failed program was:" >&5
93097 sed 's/^/| /' conftest.$ac_ext >&5
93098
93099 glibcxx_cv_func__isinff_use=no
93100 fi
93101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93102       ac_ext=c
93103 ac_cpp='$CPP $CPPFLAGS'
93104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93107
93108
93109 fi
93110
93111   fi
93112   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
93113 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
93114
93115     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
93116
93117 for ac_func in _isinff
93118 do
93119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93120 echo "$as_me:$LINENO: checking for $ac_func" >&5
93121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93122 if eval "test \"\${$as_ac_var+set}\" = set"; then
93123   echo $ECHO_N "(cached) $ECHO_C" >&6
93124 else
93125   if test x$gcc_no_link = xyes; then
93126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93128    { (exit 1); exit 1; }; }
93129 fi
93130 cat >conftest.$ac_ext <<_ACEOF
93131 /* confdefs.h.  */
93132 _ACEOF
93133 cat confdefs.h >>conftest.$ac_ext
93134 cat >>conftest.$ac_ext <<_ACEOF
93135 /* end confdefs.h.  */
93136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93138 #define $ac_func innocuous_$ac_func
93139
93140 /* System header to define __stub macros and hopefully few prototypes,
93141     which can conflict with char $ac_func (); below.
93142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93143     <limits.h> exists even on freestanding compilers.  */
93144
93145 #ifdef __STDC__
93146 # include <limits.h>
93147 #else
93148 # include <assert.h>
93149 #endif
93150
93151 #undef $ac_func
93152
93153 /* Override any gcc2 internal prototype to avoid an error.  */
93154 #ifdef __cplusplus
93155 extern "C"
93156 {
93157 #endif
93158 /* We use char because int might match the return type of a gcc2
93159    builtin and then its argument prototype would still apply.  */
93160 char $ac_func ();
93161 /* The GNU C library defines this for functions which it implements
93162     to always fail with ENOSYS.  Some functions are actually named
93163     something starting with __ and the normal name is an alias.  */
93164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93165 choke me
93166 #else
93167 char (*f) () = $ac_func;
93168 #endif
93169 #ifdef __cplusplus
93170 }
93171 #endif
93172
93173 int
93174 main ()
93175 {
93176 return f != $ac_func;
93177   ;
93178   return 0;
93179 }
93180 _ACEOF
93181 rm -f conftest.$ac_objext conftest$ac_exeext
93182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93183   (eval $ac_link) 2>conftest.er1
93184   ac_status=$?
93185   grep -v '^ *+' conftest.er1 >conftest.err
93186   rm -f conftest.er1
93187   cat conftest.err >&5
93188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93189   (exit $ac_status); } &&
93190          { ac_try='test -z "$ac_c_werror_flag"
93191                          || test ! -s conftest.err'
93192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93193   (eval $ac_try) 2>&5
93194   ac_status=$?
93195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93196   (exit $ac_status); }; } &&
93197          { ac_try='test -s conftest$ac_exeext'
93198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93199   (eval $ac_try) 2>&5
93200   ac_status=$?
93201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93202   (exit $ac_status); }; }; then
93203   eval "$as_ac_var=yes"
93204 else
93205   echo "$as_me: failed program was:" >&5
93206 sed 's/^/| /' conftest.$ac_ext >&5
93207
93208 eval "$as_ac_var=no"
93209 fi
93210 rm -f conftest.err conftest.$ac_objext \
93211       conftest$ac_exeext conftest.$ac_ext
93212 fi
93213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93215 if test `eval echo '${'$as_ac_var'}'` = yes; then
93216   cat >>confdefs.h <<_ACEOF
93217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93218 _ACEOF
93219
93220 fi
93221 done
93222
93223     fi
93224   fi
93225
93226
93227
93228
93229
93230
93231   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
93232 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
93233   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
93234     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
93235   echo $ECHO_N "(cached) $ECHO_C" >&6
93236 else
93237
93238
93239
93240       ac_ext=cc
93241 ac_cpp='$CXXCPP $CPPFLAGS'
93242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93245
93246       cat >conftest.$ac_ext <<_ACEOF
93247 /* confdefs.h.  */
93248 _ACEOF
93249 cat confdefs.h >>conftest.$ac_ext
93250 cat >>conftest.$ac_ext <<_ACEOF
93251 /* end confdefs.h.  */
93252 #include <math.h>
93253 int
93254 main ()
93255 {
93256  atan2f(0, 0);
93257   ;
93258   return 0;
93259 }
93260 _ACEOF
93261 rm -f conftest.$ac_objext
93262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93263   (eval $ac_compile) 2>conftest.er1
93264   ac_status=$?
93265   grep -v '^ *+' conftest.er1 >conftest.err
93266   rm -f conftest.er1
93267   cat conftest.err >&5
93268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93269   (exit $ac_status); } &&
93270          { ac_try='test -z "$ac_cxx_werror_flag"
93271                          || test ! -s conftest.err'
93272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93273   (eval $ac_try) 2>&5
93274   ac_status=$?
93275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93276   (exit $ac_status); }; } &&
93277          { ac_try='test -s conftest.$ac_objext'
93278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93279   (eval $ac_try) 2>&5
93280   ac_status=$?
93281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93282   (exit $ac_status); }; }; then
93283   glibcxx_cv_func_atan2f_use=yes
93284 else
93285   echo "$as_me: failed program was:" >&5
93286 sed 's/^/| /' conftest.$ac_ext >&5
93287
93288 glibcxx_cv_func_atan2f_use=no
93289 fi
93290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93291       ac_ext=c
93292 ac_cpp='$CPP $CPPFLAGS'
93293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93296
93297
93298 fi
93299
93300   fi
93301   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
93302 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
93303
93304   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
93305
93306 for ac_func in atan2f
93307 do
93308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93309 echo "$as_me:$LINENO: checking for $ac_func" >&5
93310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93311 if eval "test \"\${$as_ac_var+set}\" = set"; then
93312   echo $ECHO_N "(cached) $ECHO_C" >&6
93313 else
93314   if test x$gcc_no_link = xyes; then
93315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93317    { (exit 1); exit 1; }; }
93318 fi
93319 cat >conftest.$ac_ext <<_ACEOF
93320 /* confdefs.h.  */
93321 _ACEOF
93322 cat confdefs.h >>conftest.$ac_ext
93323 cat >>conftest.$ac_ext <<_ACEOF
93324 /* end confdefs.h.  */
93325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93327 #define $ac_func innocuous_$ac_func
93328
93329 /* System header to define __stub macros and hopefully few prototypes,
93330     which can conflict with char $ac_func (); below.
93331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93332     <limits.h> exists even on freestanding compilers.  */
93333
93334 #ifdef __STDC__
93335 # include <limits.h>
93336 #else
93337 # include <assert.h>
93338 #endif
93339
93340 #undef $ac_func
93341
93342 /* Override any gcc2 internal prototype to avoid an error.  */
93343 #ifdef __cplusplus
93344 extern "C"
93345 {
93346 #endif
93347 /* We use char because int might match the return type of a gcc2
93348    builtin and then its argument prototype would still apply.  */
93349 char $ac_func ();
93350 /* The GNU C library defines this for functions which it implements
93351     to always fail with ENOSYS.  Some functions are actually named
93352     something starting with __ and the normal name is an alias.  */
93353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93354 choke me
93355 #else
93356 char (*f) () = $ac_func;
93357 #endif
93358 #ifdef __cplusplus
93359 }
93360 #endif
93361
93362 int
93363 main ()
93364 {
93365 return f != $ac_func;
93366   ;
93367   return 0;
93368 }
93369 _ACEOF
93370 rm -f conftest.$ac_objext conftest$ac_exeext
93371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93372   (eval $ac_link) 2>conftest.er1
93373   ac_status=$?
93374   grep -v '^ *+' conftest.er1 >conftest.err
93375   rm -f conftest.er1
93376   cat conftest.err >&5
93377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93378   (exit $ac_status); } &&
93379          { ac_try='test -z "$ac_c_werror_flag"
93380                          || test ! -s conftest.err'
93381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93382   (eval $ac_try) 2>&5
93383   ac_status=$?
93384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93385   (exit $ac_status); }; } &&
93386          { ac_try='test -s conftest$ac_exeext'
93387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93388   (eval $ac_try) 2>&5
93389   ac_status=$?
93390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93391   (exit $ac_status); }; }; then
93392   eval "$as_ac_var=yes"
93393 else
93394   echo "$as_me: failed program was:" >&5
93395 sed 's/^/| /' conftest.$ac_ext >&5
93396
93397 eval "$as_ac_var=no"
93398 fi
93399 rm -f conftest.err conftest.$ac_objext \
93400       conftest$ac_exeext conftest.$ac_ext
93401 fi
93402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93404 if test `eval echo '${'$as_ac_var'}'` = yes; then
93405   cat >>confdefs.h <<_ACEOF
93406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93407 _ACEOF
93408
93409 fi
93410 done
93411
93412   else
93413
93414   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93415 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93416   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93417     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93418   echo $ECHO_N "(cached) $ECHO_C" >&6
93419 else
93420
93421
93422
93423       ac_ext=cc
93424 ac_cpp='$CXXCPP $CPPFLAGS'
93425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93428
93429       cat >conftest.$ac_ext <<_ACEOF
93430 /* confdefs.h.  */
93431 _ACEOF
93432 cat confdefs.h >>conftest.$ac_ext
93433 cat >>conftest.$ac_ext <<_ACEOF
93434 /* end confdefs.h.  */
93435 #include <math.h>
93436 int
93437 main ()
93438 {
93439  _atan2f(0, 0);
93440   ;
93441   return 0;
93442 }
93443 _ACEOF
93444 rm -f conftest.$ac_objext
93445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93446   (eval $ac_compile) 2>conftest.er1
93447   ac_status=$?
93448   grep -v '^ *+' conftest.er1 >conftest.err
93449   rm -f conftest.er1
93450   cat conftest.err >&5
93451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93452   (exit $ac_status); } &&
93453          { ac_try='test -z "$ac_cxx_werror_flag"
93454                          || test ! -s conftest.err'
93455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93456   (eval $ac_try) 2>&5
93457   ac_status=$?
93458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93459   (exit $ac_status); }; } &&
93460          { ac_try='test -s conftest.$ac_objext'
93461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93462   (eval $ac_try) 2>&5
93463   ac_status=$?
93464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93465   (exit $ac_status); }; }; then
93466   glibcxx_cv_func__atan2f_use=yes
93467 else
93468   echo "$as_me: failed program was:" >&5
93469 sed 's/^/| /' conftest.$ac_ext >&5
93470
93471 glibcxx_cv_func__atan2f_use=no
93472 fi
93473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93474       ac_ext=c
93475 ac_cpp='$CPP $CPPFLAGS'
93476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93479
93480
93481 fi
93482
93483   fi
93484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93485 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93486
93487     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93488
93489 for ac_func in _atan2f
93490 do
93491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93492 echo "$as_me:$LINENO: checking for $ac_func" >&5
93493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93494 if eval "test \"\${$as_ac_var+set}\" = set"; then
93495   echo $ECHO_N "(cached) $ECHO_C" >&6
93496 else
93497   if test x$gcc_no_link = xyes; then
93498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93500    { (exit 1); exit 1; }; }
93501 fi
93502 cat >conftest.$ac_ext <<_ACEOF
93503 /* confdefs.h.  */
93504 _ACEOF
93505 cat confdefs.h >>conftest.$ac_ext
93506 cat >>conftest.$ac_ext <<_ACEOF
93507 /* end confdefs.h.  */
93508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93510 #define $ac_func innocuous_$ac_func
93511
93512 /* System header to define __stub macros and hopefully few prototypes,
93513     which can conflict with char $ac_func (); below.
93514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93515     <limits.h> exists even on freestanding compilers.  */
93516
93517 #ifdef __STDC__
93518 # include <limits.h>
93519 #else
93520 # include <assert.h>
93521 #endif
93522
93523 #undef $ac_func
93524
93525 /* Override any gcc2 internal prototype to avoid an error.  */
93526 #ifdef __cplusplus
93527 extern "C"
93528 {
93529 #endif
93530 /* We use char because int might match the return type of a gcc2
93531    builtin and then its argument prototype would still apply.  */
93532 char $ac_func ();
93533 /* The GNU C library defines this for functions which it implements
93534     to always fail with ENOSYS.  Some functions are actually named
93535     something starting with __ and the normal name is an alias.  */
93536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93537 choke me
93538 #else
93539 char (*f) () = $ac_func;
93540 #endif
93541 #ifdef __cplusplus
93542 }
93543 #endif
93544
93545 int
93546 main ()
93547 {
93548 return f != $ac_func;
93549   ;
93550   return 0;
93551 }
93552 _ACEOF
93553 rm -f conftest.$ac_objext conftest$ac_exeext
93554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93555   (eval $ac_link) 2>conftest.er1
93556   ac_status=$?
93557   grep -v '^ *+' conftest.er1 >conftest.err
93558   rm -f conftest.er1
93559   cat conftest.err >&5
93560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93561   (exit $ac_status); } &&
93562          { ac_try='test -z "$ac_c_werror_flag"
93563                          || test ! -s conftest.err'
93564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93565   (eval $ac_try) 2>&5
93566   ac_status=$?
93567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93568   (exit $ac_status); }; } &&
93569          { ac_try='test -s conftest$ac_exeext'
93570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93571   (eval $ac_try) 2>&5
93572   ac_status=$?
93573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93574   (exit $ac_status); }; }; then
93575   eval "$as_ac_var=yes"
93576 else
93577   echo "$as_me: failed program was:" >&5
93578 sed 's/^/| /' conftest.$ac_ext >&5
93579
93580 eval "$as_ac_var=no"
93581 fi
93582 rm -f conftest.err conftest.$ac_objext \
93583       conftest$ac_exeext conftest.$ac_ext
93584 fi
93585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93587 if test `eval echo '${'$as_ac_var'}'` = yes; then
93588   cat >>confdefs.h <<_ACEOF
93589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93590 _ACEOF
93591
93592 fi
93593 done
93594
93595     fi
93596   fi
93597
93598
93599
93600
93601
93602
93603   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93604 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93605   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93606     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93607   echo $ECHO_N "(cached) $ECHO_C" >&6
93608 else
93609
93610
93611
93612       ac_ext=cc
93613 ac_cpp='$CXXCPP $CPPFLAGS'
93614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93617
93618       cat >conftest.$ac_ext <<_ACEOF
93619 /* confdefs.h.  */
93620 _ACEOF
93621 cat confdefs.h >>conftest.$ac_ext
93622 cat >>conftest.$ac_ext <<_ACEOF
93623 /* end confdefs.h.  */
93624 #include <math.h>
93625                       #ifdef HAVE_IEEEFP_H
93626                       #include <ieeefp.h>
93627                       #endif
93628
93629 int
93630 main ()
93631 {
93632  fabsf(0);
93633   ;
93634   return 0;
93635 }
93636 _ACEOF
93637 rm -f conftest.$ac_objext
93638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93639   (eval $ac_compile) 2>conftest.er1
93640   ac_status=$?
93641   grep -v '^ *+' conftest.er1 >conftest.err
93642   rm -f conftest.er1
93643   cat conftest.err >&5
93644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93645   (exit $ac_status); } &&
93646          { ac_try='test -z "$ac_cxx_werror_flag"
93647                          || test ! -s conftest.err'
93648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93649   (eval $ac_try) 2>&5
93650   ac_status=$?
93651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93652   (exit $ac_status); }; } &&
93653          { ac_try='test -s conftest.$ac_objext'
93654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93655   (eval $ac_try) 2>&5
93656   ac_status=$?
93657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93658   (exit $ac_status); }; }; then
93659   glibcxx_cv_func_fabsf_use=yes
93660 else
93661   echo "$as_me: failed program was:" >&5
93662 sed 's/^/| /' conftest.$ac_ext >&5
93663
93664 glibcxx_cv_func_fabsf_use=no
93665 fi
93666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93667       ac_ext=c
93668 ac_cpp='$CPP $CPPFLAGS'
93669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93672
93673
93674 fi
93675
93676   fi
93677   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93678 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93679
93680   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93681
93682 for ac_func in fabsf
93683 do
93684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93685 echo "$as_me:$LINENO: checking for $ac_func" >&5
93686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93687 if eval "test \"\${$as_ac_var+set}\" = set"; then
93688   echo $ECHO_N "(cached) $ECHO_C" >&6
93689 else
93690   if test x$gcc_no_link = xyes; then
93691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93693    { (exit 1); exit 1; }; }
93694 fi
93695 cat >conftest.$ac_ext <<_ACEOF
93696 /* confdefs.h.  */
93697 _ACEOF
93698 cat confdefs.h >>conftest.$ac_ext
93699 cat >>conftest.$ac_ext <<_ACEOF
93700 /* end confdefs.h.  */
93701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93703 #define $ac_func innocuous_$ac_func
93704
93705 /* System header to define __stub macros and hopefully few prototypes,
93706     which can conflict with char $ac_func (); below.
93707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93708     <limits.h> exists even on freestanding compilers.  */
93709
93710 #ifdef __STDC__
93711 # include <limits.h>
93712 #else
93713 # include <assert.h>
93714 #endif
93715
93716 #undef $ac_func
93717
93718 /* Override any gcc2 internal prototype to avoid an error.  */
93719 #ifdef __cplusplus
93720 extern "C"
93721 {
93722 #endif
93723 /* We use char because int might match the return type of a gcc2
93724    builtin and then its argument prototype would still apply.  */
93725 char $ac_func ();
93726 /* The GNU C library defines this for functions which it implements
93727     to always fail with ENOSYS.  Some functions are actually named
93728     something starting with __ and the normal name is an alias.  */
93729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93730 choke me
93731 #else
93732 char (*f) () = $ac_func;
93733 #endif
93734 #ifdef __cplusplus
93735 }
93736 #endif
93737
93738 int
93739 main ()
93740 {
93741 return f != $ac_func;
93742   ;
93743   return 0;
93744 }
93745 _ACEOF
93746 rm -f conftest.$ac_objext conftest$ac_exeext
93747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93748   (eval $ac_link) 2>conftest.er1
93749   ac_status=$?
93750   grep -v '^ *+' conftest.er1 >conftest.err
93751   rm -f conftest.er1
93752   cat conftest.err >&5
93753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93754   (exit $ac_status); } &&
93755          { ac_try='test -z "$ac_c_werror_flag"
93756                          || test ! -s conftest.err'
93757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93758   (eval $ac_try) 2>&5
93759   ac_status=$?
93760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93761   (exit $ac_status); }; } &&
93762          { ac_try='test -s conftest$ac_exeext'
93763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93764   (eval $ac_try) 2>&5
93765   ac_status=$?
93766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93767   (exit $ac_status); }; }; then
93768   eval "$as_ac_var=yes"
93769 else
93770   echo "$as_me: failed program was:" >&5
93771 sed 's/^/| /' conftest.$ac_ext >&5
93772
93773 eval "$as_ac_var=no"
93774 fi
93775 rm -f conftest.err conftest.$ac_objext \
93776       conftest$ac_exeext conftest.$ac_ext
93777 fi
93778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93780 if test `eval echo '${'$as_ac_var'}'` = yes; then
93781   cat >>confdefs.h <<_ACEOF
93782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93783 _ACEOF
93784
93785 fi
93786 done
93787
93788   else
93789
93790   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93791 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93792   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93793     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93794   echo $ECHO_N "(cached) $ECHO_C" >&6
93795 else
93796
93797
93798
93799       ac_ext=cc
93800 ac_cpp='$CXXCPP $CPPFLAGS'
93801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93804
93805       cat >conftest.$ac_ext <<_ACEOF
93806 /* confdefs.h.  */
93807 _ACEOF
93808 cat confdefs.h >>conftest.$ac_ext
93809 cat >>conftest.$ac_ext <<_ACEOF
93810 /* end confdefs.h.  */
93811 #include <math.h>
93812                       #ifdef HAVE_IEEEFP_H
93813                       #include <ieeefp.h>
93814                       #endif
93815
93816 int
93817 main ()
93818 {
93819  _fabsf(0);
93820   ;
93821   return 0;
93822 }
93823 _ACEOF
93824 rm -f conftest.$ac_objext
93825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93826   (eval $ac_compile) 2>conftest.er1
93827   ac_status=$?
93828   grep -v '^ *+' conftest.er1 >conftest.err
93829   rm -f conftest.er1
93830   cat conftest.err >&5
93831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93832   (exit $ac_status); } &&
93833          { ac_try='test -z "$ac_cxx_werror_flag"
93834                          || test ! -s conftest.err'
93835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93836   (eval $ac_try) 2>&5
93837   ac_status=$?
93838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93839   (exit $ac_status); }; } &&
93840          { ac_try='test -s conftest.$ac_objext'
93841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93842   (eval $ac_try) 2>&5
93843   ac_status=$?
93844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93845   (exit $ac_status); }; }; then
93846   glibcxx_cv_func__fabsf_use=yes
93847 else
93848   echo "$as_me: failed program was:" >&5
93849 sed 's/^/| /' conftest.$ac_ext >&5
93850
93851 glibcxx_cv_func__fabsf_use=no
93852 fi
93853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93854       ac_ext=c
93855 ac_cpp='$CPP $CPPFLAGS'
93856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93859
93860
93861 fi
93862
93863   fi
93864   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93865 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93866
93867     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93868
93869 for ac_func in _fabsf
93870 do
93871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93872 echo "$as_me:$LINENO: checking for $ac_func" >&5
93873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93874 if eval "test \"\${$as_ac_var+set}\" = set"; then
93875   echo $ECHO_N "(cached) $ECHO_C" >&6
93876 else
93877   if test x$gcc_no_link = xyes; then
93878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93880    { (exit 1); exit 1; }; }
93881 fi
93882 cat >conftest.$ac_ext <<_ACEOF
93883 /* confdefs.h.  */
93884 _ACEOF
93885 cat confdefs.h >>conftest.$ac_ext
93886 cat >>conftest.$ac_ext <<_ACEOF
93887 /* end confdefs.h.  */
93888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93890 #define $ac_func innocuous_$ac_func
93891
93892 /* System header to define __stub macros and hopefully few prototypes,
93893     which can conflict with char $ac_func (); below.
93894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93895     <limits.h> exists even on freestanding compilers.  */
93896
93897 #ifdef __STDC__
93898 # include <limits.h>
93899 #else
93900 # include <assert.h>
93901 #endif
93902
93903 #undef $ac_func
93904
93905 /* Override any gcc2 internal prototype to avoid an error.  */
93906 #ifdef __cplusplus
93907 extern "C"
93908 {
93909 #endif
93910 /* We use char because int might match the return type of a gcc2
93911    builtin and then its argument prototype would still apply.  */
93912 char $ac_func ();
93913 /* The GNU C library defines this for functions which it implements
93914     to always fail with ENOSYS.  Some functions are actually named
93915     something starting with __ and the normal name is an alias.  */
93916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93917 choke me
93918 #else
93919 char (*f) () = $ac_func;
93920 #endif
93921 #ifdef __cplusplus
93922 }
93923 #endif
93924
93925 int
93926 main ()
93927 {
93928 return f != $ac_func;
93929   ;
93930   return 0;
93931 }
93932 _ACEOF
93933 rm -f conftest.$ac_objext conftest$ac_exeext
93934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93935   (eval $ac_link) 2>conftest.er1
93936   ac_status=$?
93937   grep -v '^ *+' conftest.er1 >conftest.err
93938   rm -f conftest.er1
93939   cat conftest.err >&5
93940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93941   (exit $ac_status); } &&
93942          { ac_try='test -z "$ac_c_werror_flag"
93943                          || test ! -s conftest.err'
93944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93945   (eval $ac_try) 2>&5
93946   ac_status=$?
93947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93948   (exit $ac_status); }; } &&
93949          { ac_try='test -s conftest$ac_exeext'
93950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93951   (eval $ac_try) 2>&5
93952   ac_status=$?
93953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93954   (exit $ac_status); }; }; then
93955   eval "$as_ac_var=yes"
93956 else
93957   echo "$as_me: failed program was:" >&5
93958 sed 's/^/| /' conftest.$ac_ext >&5
93959
93960 eval "$as_ac_var=no"
93961 fi
93962 rm -f conftest.err conftest.$ac_objext \
93963       conftest$ac_exeext conftest.$ac_ext
93964 fi
93965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93967 if test `eval echo '${'$as_ac_var'}'` = yes; then
93968   cat >>confdefs.h <<_ACEOF
93969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93970 _ACEOF
93971
93972 fi
93973 done
93974
93975     fi
93976   fi
93977
93978
93979
93980
93981
93982
93983   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93984 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93985   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93986     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93987   echo $ECHO_N "(cached) $ECHO_C" >&6
93988 else
93989
93990
93991
93992       ac_ext=cc
93993 ac_cpp='$CXXCPP $CPPFLAGS'
93994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93997
93998       cat >conftest.$ac_ext <<_ACEOF
93999 /* confdefs.h.  */
94000 _ACEOF
94001 cat confdefs.h >>conftest.$ac_ext
94002 cat >>conftest.$ac_ext <<_ACEOF
94003 /* end confdefs.h.  */
94004 #include <math.h>
94005 int
94006 main ()
94007 {
94008  fmodf(0, 0);
94009   ;
94010   return 0;
94011 }
94012 _ACEOF
94013 rm -f conftest.$ac_objext
94014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94015   (eval $ac_compile) 2>conftest.er1
94016   ac_status=$?
94017   grep -v '^ *+' conftest.er1 >conftest.err
94018   rm -f conftest.er1
94019   cat conftest.err >&5
94020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94021   (exit $ac_status); } &&
94022          { ac_try='test -z "$ac_cxx_werror_flag"
94023                          || test ! -s conftest.err'
94024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94025   (eval $ac_try) 2>&5
94026   ac_status=$?
94027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94028   (exit $ac_status); }; } &&
94029          { ac_try='test -s conftest.$ac_objext'
94030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94031   (eval $ac_try) 2>&5
94032   ac_status=$?
94033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94034   (exit $ac_status); }; }; then
94035   glibcxx_cv_func_fmodf_use=yes
94036 else
94037   echo "$as_me: failed program was:" >&5
94038 sed 's/^/| /' conftest.$ac_ext >&5
94039
94040 glibcxx_cv_func_fmodf_use=no
94041 fi
94042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94043       ac_ext=c
94044 ac_cpp='$CPP $CPPFLAGS'
94045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94048
94049
94050 fi
94051
94052   fi
94053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
94054 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
94055
94056   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
94057
94058 for ac_func in fmodf
94059 do
94060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94061 echo "$as_me:$LINENO: checking for $ac_func" >&5
94062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94063 if eval "test \"\${$as_ac_var+set}\" = set"; then
94064   echo $ECHO_N "(cached) $ECHO_C" >&6
94065 else
94066   if test x$gcc_no_link = xyes; then
94067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94069    { (exit 1); exit 1; }; }
94070 fi
94071 cat >conftest.$ac_ext <<_ACEOF
94072 /* confdefs.h.  */
94073 _ACEOF
94074 cat confdefs.h >>conftest.$ac_ext
94075 cat >>conftest.$ac_ext <<_ACEOF
94076 /* end confdefs.h.  */
94077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94079 #define $ac_func innocuous_$ac_func
94080
94081 /* System header to define __stub macros and hopefully few prototypes,
94082     which can conflict with char $ac_func (); below.
94083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94084     <limits.h> exists even on freestanding compilers.  */
94085
94086 #ifdef __STDC__
94087 # include <limits.h>
94088 #else
94089 # include <assert.h>
94090 #endif
94091
94092 #undef $ac_func
94093
94094 /* Override any gcc2 internal prototype to avoid an error.  */
94095 #ifdef __cplusplus
94096 extern "C"
94097 {
94098 #endif
94099 /* We use char because int might match the return type of a gcc2
94100    builtin and then its argument prototype would still apply.  */
94101 char $ac_func ();
94102 /* The GNU C library defines this for functions which it implements
94103     to always fail with ENOSYS.  Some functions are actually named
94104     something starting with __ and the normal name is an alias.  */
94105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94106 choke me
94107 #else
94108 char (*f) () = $ac_func;
94109 #endif
94110 #ifdef __cplusplus
94111 }
94112 #endif
94113
94114 int
94115 main ()
94116 {
94117 return f != $ac_func;
94118   ;
94119   return 0;
94120 }
94121 _ACEOF
94122 rm -f conftest.$ac_objext conftest$ac_exeext
94123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94124   (eval $ac_link) 2>conftest.er1
94125   ac_status=$?
94126   grep -v '^ *+' conftest.er1 >conftest.err
94127   rm -f conftest.er1
94128   cat conftest.err >&5
94129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94130   (exit $ac_status); } &&
94131          { ac_try='test -z "$ac_c_werror_flag"
94132                          || test ! -s conftest.err'
94133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94134   (eval $ac_try) 2>&5
94135   ac_status=$?
94136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94137   (exit $ac_status); }; } &&
94138          { ac_try='test -s conftest$ac_exeext'
94139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94140   (eval $ac_try) 2>&5
94141   ac_status=$?
94142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94143   (exit $ac_status); }; }; then
94144   eval "$as_ac_var=yes"
94145 else
94146   echo "$as_me: failed program was:" >&5
94147 sed 's/^/| /' conftest.$ac_ext >&5
94148
94149 eval "$as_ac_var=no"
94150 fi
94151 rm -f conftest.err conftest.$ac_objext \
94152       conftest$ac_exeext conftest.$ac_ext
94153 fi
94154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94156 if test `eval echo '${'$as_ac_var'}'` = yes; then
94157   cat >>confdefs.h <<_ACEOF
94158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94159 _ACEOF
94160
94161 fi
94162 done
94163
94164   else
94165
94166   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
94167 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
94168   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
94169     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
94170   echo $ECHO_N "(cached) $ECHO_C" >&6
94171 else
94172
94173
94174
94175       ac_ext=cc
94176 ac_cpp='$CXXCPP $CPPFLAGS'
94177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94180
94181       cat >conftest.$ac_ext <<_ACEOF
94182 /* confdefs.h.  */
94183 _ACEOF
94184 cat confdefs.h >>conftest.$ac_ext
94185 cat >>conftest.$ac_ext <<_ACEOF
94186 /* end confdefs.h.  */
94187 #include <math.h>
94188 int
94189 main ()
94190 {
94191  _fmodf(0, 0);
94192   ;
94193   return 0;
94194 }
94195 _ACEOF
94196 rm -f conftest.$ac_objext
94197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94198   (eval $ac_compile) 2>conftest.er1
94199   ac_status=$?
94200   grep -v '^ *+' conftest.er1 >conftest.err
94201   rm -f conftest.er1
94202   cat conftest.err >&5
94203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94204   (exit $ac_status); } &&
94205          { ac_try='test -z "$ac_cxx_werror_flag"
94206                          || test ! -s conftest.err'
94207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94208   (eval $ac_try) 2>&5
94209   ac_status=$?
94210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94211   (exit $ac_status); }; } &&
94212          { ac_try='test -s conftest.$ac_objext'
94213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94214   (eval $ac_try) 2>&5
94215   ac_status=$?
94216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94217   (exit $ac_status); }; }; then
94218   glibcxx_cv_func__fmodf_use=yes
94219 else
94220   echo "$as_me: failed program was:" >&5
94221 sed 's/^/| /' conftest.$ac_ext >&5
94222
94223 glibcxx_cv_func__fmodf_use=no
94224 fi
94225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94226       ac_ext=c
94227 ac_cpp='$CPP $CPPFLAGS'
94228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94231
94232
94233 fi
94234
94235   fi
94236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
94237 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
94238
94239     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
94240
94241 for ac_func in _fmodf
94242 do
94243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94244 echo "$as_me:$LINENO: checking for $ac_func" >&5
94245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94246 if eval "test \"\${$as_ac_var+set}\" = set"; then
94247   echo $ECHO_N "(cached) $ECHO_C" >&6
94248 else
94249   if test x$gcc_no_link = xyes; then
94250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94252    { (exit 1); exit 1; }; }
94253 fi
94254 cat >conftest.$ac_ext <<_ACEOF
94255 /* confdefs.h.  */
94256 _ACEOF
94257 cat confdefs.h >>conftest.$ac_ext
94258 cat >>conftest.$ac_ext <<_ACEOF
94259 /* end confdefs.h.  */
94260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94262 #define $ac_func innocuous_$ac_func
94263
94264 /* System header to define __stub macros and hopefully few prototypes,
94265     which can conflict with char $ac_func (); below.
94266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94267     <limits.h> exists even on freestanding compilers.  */
94268
94269 #ifdef __STDC__
94270 # include <limits.h>
94271 #else
94272 # include <assert.h>
94273 #endif
94274
94275 #undef $ac_func
94276
94277 /* Override any gcc2 internal prototype to avoid an error.  */
94278 #ifdef __cplusplus
94279 extern "C"
94280 {
94281 #endif
94282 /* We use char because int might match the return type of a gcc2
94283    builtin and then its argument prototype would still apply.  */
94284 char $ac_func ();
94285 /* The GNU C library defines this for functions which it implements
94286     to always fail with ENOSYS.  Some functions are actually named
94287     something starting with __ and the normal name is an alias.  */
94288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94289 choke me
94290 #else
94291 char (*f) () = $ac_func;
94292 #endif
94293 #ifdef __cplusplus
94294 }
94295 #endif
94296
94297 int
94298 main ()
94299 {
94300 return f != $ac_func;
94301   ;
94302   return 0;
94303 }
94304 _ACEOF
94305 rm -f conftest.$ac_objext conftest$ac_exeext
94306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94307   (eval $ac_link) 2>conftest.er1
94308   ac_status=$?
94309   grep -v '^ *+' conftest.er1 >conftest.err
94310   rm -f conftest.er1
94311   cat conftest.err >&5
94312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94313   (exit $ac_status); } &&
94314          { ac_try='test -z "$ac_c_werror_flag"
94315                          || test ! -s conftest.err'
94316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94317   (eval $ac_try) 2>&5
94318   ac_status=$?
94319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94320   (exit $ac_status); }; } &&
94321          { ac_try='test -s conftest$ac_exeext'
94322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94323   (eval $ac_try) 2>&5
94324   ac_status=$?
94325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326   (exit $ac_status); }; }; then
94327   eval "$as_ac_var=yes"
94328 else
94329   echo "$as_me: failed program was:" >&5
94330 sed 's/^/| /' conftest.$ac_ext >&5
94331
94332 eval "$as_ac_var=no"
94333 fi
94334 rm -f conftest.err conftest.$ac_objext \
94335       conftest$ac_exeext conftest.$ac_ext
94336 fi
94337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94339 if test `eval echo '${'$as_ac_var'}'` = yes; then
94340   cat >>confdefs.h <<_ACEOF
94341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94342 _ACEOF
94343
94344 fi
94345 done
94346
94347     fi
94348   fi
94349
94350
94351
94352
94353
94354
94355   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94356 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94357   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94358     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94359   echo $ECHO_N "(cached) $ECHO_C" >&6
94360 else
94361
94362
94363
94364       ac_ext=cc
94365 ac_cpp='$CXXCPP $CPPFLAGS'
94366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94369
94370       cat >conftest.$ac_ext <<_ACEOF
94371 /* confdefs.h.  */
94372 _ACEOF
94373 cat confdefs.h >>conftest.$ac_ext
94374 cat >>conftest.$ac_ext <<_ACEOF
94375 /* end confdefs.h.  */
94376 #include <math.h>
94377 int
94378 main ()
94379 {
94380  frexpf(0, 0);
94381   ;
94382   return 0;
94383 }
94384 _ACEOF
94385 rm -f conftest.$ac_objext
94386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94387   (eval $ac_compile) 2>conftest.er1
94388   ac_status=$?
94389   grep -v '^ *+' conftest.er1 >conftest.err
94390   rm -f conftest.er1
94391   cat conftest.err >&5
94392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94393   (exit $ac_status); } &&
94394          { ac_try='test -z "$ac_cxx_werror_flag"
94395                          || test ! -s conftest.err'
94396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94397   (eval $ac_try) 2>&5
94398   ac_status=$?
94399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94400   (exit $ac_status); }; } &&
94401          { ac_try='test -s conftest.$ac_objext'
94402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94403   (eval $ac_try) 2>&5
94404   ac_status=$?
94405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94406   (exit $ac_status); }; }; then
94407   glibcxx_cv_func_frexpf_use=yes
94408 else
94409   echo "$as_me: failed program was:" >&5
94410 sed 's/^/| /' conftest.$ac_ext >&5
94411
94412 glibcxx_cv_func_frexpf_use=no
94413 fi
94414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94415       ac_ext=c
94416 ac_cpp='$CPP $CPPFLAGS'
94417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94420
94421
94422 fi
94423
94424   fi
94425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94426 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94427
94428   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94429
94430 for ac_func in frexpf
94431 do
94432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94433 echo "$as_me:$LINENO: checking for $ac_func" >&5
94434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94435 if eval "test \"\${$as_ac_var+set}\" = set"; then
94436   echo $ECHO_N "(cached) $ECHO_C" >&6
94437 else
94438   if test x$gcc_no_link = xyes; then
94439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94441    { (exit 1); exit 1; }; }
94442 fi
94443 cat >conftest.$ac_ext <<_ACEOF
94444 /* confdefs.h.  */
94445 _ACEOF
94446 cat confdefs.h >>conftest.$ac_ext
94447 cat >>conftest.$ac_ext <<_ACEOF
94448 /* end confdefs.h.  */
94449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94451 #define $ac_func innocuous_$ac_func
94452
94453 /* System header to define __stub macros and hopefully few prototypes,
94454     which can conflict with char $ac_func (); below.
94455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94456     <limits.h> exists even on freestanding compilers.  */
94457
94458 #ifdef __STDC__
94459 # include <limits.h>
94460 #else
94461 # include <assert.h>
94462 #endif
94463
94464 #undef $ac_func
94465
94466 /* Override any gcc2 internal prototype to avoid an error.  */
94467 #ifdef __cplusplus
94468 extern "C"
94469 {
94470 #endif
94471 /* We use char because int might match the return type of a gcc2
94472    builtin and then its argument prototype would still apply.  */
94473 char $ac_func ();
94474 /* The GNU C library defines this for functions which it implements
94475     to always fail with ENOSYS.  Some functions are actually named
94476     something starting with __ and the normal name is an alias.  */
94477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94478 choke me
94479 #else
94480 char (*f) () = $ac_func;
94481 #endif
94482 #ifdef __cplusplus
94483 }
94484 #endif
94485
94486 int
94487 main ()
94488 {
94489 return f != $ac_func;
94490   ;
94491   return 0;
94492 }
94493 _ACEOF
94494 rm -f conftest.$ac_objext conftest$ac_exeext
94495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94496   (eval $ac_link) 2>conftest.er1
94497   ac_status=$?
94498   grep -v '^ *+' conftest.er1 >conftest.err
94499   rm -f conftest.er1
94500   cat conftest.err >&5
94501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94502   (exit $ac_status); } &&
94503          { ac_try='test -z "$ac_c_werror_flag"
94504                          || test ! -s conftest.err'
94505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94506   (eval $ac_try) 2>&5
94507   ac_status=$?
94508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94509   (exit $ac_status); }; } &&
94510          { ac_try='test -s conftest$ac_exeext'
94511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94512   (eval $ac_try) 2>&5
94513   ac_status=$?
94514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94515   (exit $ac_status); }; }; then
94516   eval "$as_ac_var=yes"
94517 else
94518   echo "$as_me: failed program was:" >&5
94519 sed 's/^/| /' conftest.$ac_ext >&5
94520
94521 eval "$as_ac_var=no"
94522 fi
94523 rm -f conftest.err conftest.$ac_objext \
94524       conftest$ac_exeext conftest.$ac_ext
94525 fi
94526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94528 if test `eval echo '${'$as_ac_var'}'` = yes; then
94529   cat >>confdefs.h <<_ACEOF
94530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94531 _ACEOF
94532
94533 fi
94534 done
94535
94536   else
94537
94538   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94539 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94540   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94541     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94542   echo $ECHO_N "(cached) $ECHO_C" >&6
94543 else
94544
94545
94546
94547       ac_ext=cc
94548 ac_cpp='$CXXCPP $CPPFLAGS'
94549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94552
94553       cat >conftest.$ac_ext <<_ACEOF
94554 /* confdefs.h.  */
94555 _ACEOF
94556 cat confdefs.h >>conftest.$ac_ext
94557 cat >>conftest.$ac_ext <<_ACEOF
94558 /* end confdefs.h.  */
94559 #include <math.h>
94560 int
94561 main ()
94562 {
94563  _frexpf(0, 0);
94564   ;
94565   return 0;
94566 }
94567 _ACEOF
94568 rm -f conftest.$ac_objext
94569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94570   (eval $ac_compile) 2>conftest.er1
94571   ac_status=$?
94572   grep -v '^ *+' conftest.er1 >conftest.err
94573   rm -f conftest.er1
94574   cat conftest.err >&5
94575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94576   (exit $ac_status); } &&
94577          { ac_try='test -z "$ac_cxx_werror_flag"
94578                          || test ! -s conftest.err'
94579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94580   (eval $ac_try) 2>&5
94581   ac_status=$?
94582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94583   (exit $ac_status); }; } &&
94584          { ac_try='test -s conftest.$ac_objext'
94585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94586   (eval $ac_try) 2>&5
94587   ac_status=$?
94588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589   (exit $ac_status); }; }; then
94590   glibcxx_cv_func__frexpf_use=yes
94591 else
94592   echo "$as_me: failed program was:" >&5
94593 sed 's/^/| /' conftest.$ac_ext >&5
94594
94595 glibcxx_cv_func__frexpf_use=no
94596 fi
94597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94598       ac_ext=c
94599 ac_cpp='$CPP $CPPFLAGS'
94600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94603
94604
94605 fi
94606
94607   fi
94608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94609 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94610
94611     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94612
94613 for ac_func in _frexpf
94614 do
94615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94616 echo "$as_me:$LINENO: checking for $ac_func" >&5
94617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94618 if eval "test \"\${$as_ac_var+set}\" = set"; then
94619   echo $ECHO_N "(cached) $ECHO_C" >&6
94620 else
94621   if test x$gcc_no_link = xyes; then
94622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94624    { (exit 1); exit 1; }; }
94625 fi
94626 cat >conftest.$ac_ext <<_ACEOF
94627 /* confdefs.h.  */
94628 _ACEOF
94629 cat confdefs.h >>conftest.$ac_ext
94630 cat >>conftest.$ac_ext <<_ACEOF
94631 /* end confdefs.h.  */
94632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94634 #define $ac_func innocuous_$ac_func
94635
94636 /* System header to define __stub macros and hopefully few prototypes,
94637     which can conflict with char $ac_func (); below.
94638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94639     <limits.h> exists even on freestanding compilers.  */
94640
94641 #ifdef __STDC__
94642 # include <limits.h>
94643 #else
94644 # include <assert.h>
94645 #endif
94646
94647 #undef $ac_func
94648
94649 /* Override any gcc2 internal prototype to avoid an error.  */
94650 #ifdef __cplusplus
94651 extern "C"
94652 {
94653 #endif
94654 /* We use char because int might match the return type of a gcc2
94655    builtin and then its argument prototype would still apply.  */
94656 char $ac_func ();
94657 /* The GNU C library defines this for functions which it implements
94658     to always fail with ENOSYS.  Some functions are actually named
94659     something starting with __ and the normal name is an alias.  */
94660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94661 choke me
94662 #else
94663 char (*f) () = $ac_func;
94664 #endif
94665 #ifdef __cplusplus
94666 }
94667 #endif
94668
94669 int
94670 main ()
94671 {
94672 return f != $ac_func;
94673   ;
94674   return 0;
94675 }
94676 _ACEOF
94677 rm -f conftest.$ac_objext conftest$ac_exeext
94678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94679   (eval $ac_link) 2>conftest.er1
94680   ac_status=$?
94681   grep -v '^ *+' conftest.er1 >conftest.err
94682   rm -f conftest.er1
94683   cat conftest.err >&5
94684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94685   (exit $ac_status); } &&
94686          { ac_try='test -z "$ac_c_werror_flag"
94687                          || test ! -s conftest.err'
94688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94689   (eval $ac_try) 2>&5
94690   ac_status=$?
94691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94692   (exit $ac_status); }; } &&
94693          { ac_try='test -s conftest$ac_exeext'
94694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94695   (eval $ac_try) 2>&5
94696   ac_status=$?
94697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94698   (exit $ac_status); }; }; then
94699   eval "$as_ac_var=yes"
94700 else
94701   echo "$as_me: failed program was:" >&5
94702 sed 's/^/| /' conftest.$ac_ext >&5
94703
94704 eval "$as_ac_var=no"
94705 fi
94706 rm -f conftest.err conftest.$ac_objext \
94707       conftest$ac_exeext conftest.$ac_ext
94708 fi
94709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94711 if test `eval echo '${'$as_ac_var'}'` = yes; then
94712   cat >>confdefs.h <<_ACEOF
94713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94714 _ACEOF
94715
94716 fi
94717 done
94718
94719     fi
94720   fi
94721
94722
94723
94724
94725
94726
94727   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94728 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94729   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94730     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94731   echo $ECHO_N "(cached) $ECHO_C" >&6
94732 else
94733
94734
94735
94736       ac_ext=cc
94737 ac_cpp='$CXXCPP $CPPFLAGS'
94738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94741
94742       cat >conftest.$ac_ext <<_ACEOF
94743 /* confdefs.h.  */
94744 _ACEOF
94745 cat confdefs.h >>conftest.$ac_ext
94746 cat >>conftest.$ac_ext <<_ACEOF
94747 /* end confdefs.h.  */
94748 #include <math.h>
94749 int
94750 main ()
94751 {
94752  hypotf(0, 0);
94753   ;
94754   return 0;
94755 }
94756 _ACEOF
94757 rm -f conftest.$ac_objext
94758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94759   (eval $ac_compile) 2>conftest.er1
94760   ac_status=$?
94761   grep -v '^ *+' conftest.er1 >conftest.err
94762   rm -f conftest.er1
94763   cat conftest.err >&5
94764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94765   (exit $ac_status); } &&
94766          { ac_try='test -z "$ac_cxx_werror_flag"
94767                          || test ! -s conftest.err'
94768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94769   (eval $ac_try) 2>&5
94770   ac_status=$?
94771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94772   (exit $ac_status); }; } &&
94773          { ac_try='test -s conftest.$ac_objext'
94774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94775   (eval $ac_try) 2>&5
94776   ac_status=$?
94777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94778   (exit $ac_status); }; }; then
94779   glibcxx_cv_func_hypotf_use=yes
94780 else
94781   echo "$as_me: failed program was:" >&5
94782 sed 's/^/| /' conftest.$ac_ext >&5
94783
94784 glibcxx_cv_func_hypotf_use=no
94785 fi
94786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94787       ac_ext=c
94788 ac_cpp='$CPP $CPPFLAGS'
94789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94792
94793
94794 fi
94795
94796   fi
94797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94798 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94799
94800   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94801
94802 for ac_func in hypotf
94803 do
94804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94805 echo "$as_me:$LINENO: checking for $ac_func" >&5
94806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94807 if eval "test \"\${$as_ac_var+set}\" = set"; then
94808   echo $ECHO_N "(cached) $ECHO_C" >&6
94809 else
94810   if test x$gcc_no_link = xyes; then
94811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94813    { (exit 1); exit 1; }; }
94814 fi
94815 cat >conftest.$ac_ext <<_ACEOF
94816 /* confdefs.h.  */
94817 _ACEOF
94818 cat confdefs.h >>conftest.$ac_ext
94819 cat >>conftest.$ac_ext <<_ACEOF
94820 /* end confdefs.h.  */
94821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94823 #define $ac_func innocuous_$ac_func
94824
94825 /* System header to define __stub macros and hopefully few prototypes,
94826     which can conflict with char $ac_func (); below.
94827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94828     <limits.h> exists even on freestanding compilers.  */
94829
94830 #ifdef __STDC__
94831 # include <limits.h>
94832 #else
94833 # include <assert.h>
94834 #endif
94835
94836 #undef $ac_func
94837
94838 /* Override any gcc2 internal prototype to avoid an error.  */
94839 #ifdef __cplusplus
94840 extern "C"
94841 {
94842 #endif
94843 /* We use char because int might match the return type of a gcc2
94844    builtin and then its argument prototype would still apply.  */
94845 char $ac_func ();
94846 /* The GNU C library defines this for functions which it implements
94847     to always fail with ENOSYS.  Some functions are actually named
94848     something starting with __ and the normal name is an alias.  */
94849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94850 choke me
94851 #else
94852 char (*f) () = $ac_func;
94853 #endif
94854 #ifdef __cplusplus
94855 }
94856 #endif
94857
94858 int
94859 main ()
94860 {
94861 return f != $ac_func;
94862   ;
94863   return 0;
94864 }
94865 _ACEOF
94866 rm -f conftest.$ac_objext conftest$ac_exeext
94867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94868   (eval $ac_link) 2>conftest.er1
94869   ac_status=$?
94870   grep -v '^ *+' conftest.er1 >conftest.err
94871   rm -f conftest.er1
94872   cat conftest.err >&5
94873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94874   (exit $ac_status); } &&
94875          { ac_try='test -z "$ac_c_werror_flag"
94876                          || test ! -s conftest.err'
94877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94878   (eval $ac_try) 2>&5
94879   ac_status=$?
94880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94881   (exit $ac_status); }; } &&
94882          { ac_try='test -s conftest$ac_exeext'
94883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94884   (eval $ac_try) 2>&5
94885   ac_status=$?
94886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94887   (exit $ac_status); }; }; then
94888   eval "$as_ac_var=yes"
94889 else
94890   echo "$as_me: failed program was:" >&5
94891 sed 's/^/| /' conftest.$ac_ext >&5
94892
94893 eval "$as_ac_var=no"
94894 fi
94895 rm -f conftest.err conftest.$ac_objext \
94896       conftest$ac_exeext conftest.$ac_ext
94897 fi
94898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94900 if test `eval echo '${'$as_ac_var'}'` = yes; then
94901   cat >>confdefs.h <<_ACEOF
94902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94903 _ACEOF
94904
94905 fi
94906 done
94907
94908   else
94909
94910   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94911 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94912   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94913     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94914   echo $ECHO_N "(cached) $ECHO_C" >&6
94915 else
94916
94917
94918
94919       ac_ext=cc
94920 ac_cpp='$CXXCPP $CPPFLAGS'
94921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94924
94925       cat >conftest.$ac_ext <<_ACEOF
94926 /* confdefs.h.  */
94927 _ACEOF
94928 cat confdefs.h >>conftest.$ac_ext
94929 cat >>conftest.$ac_ext <<_ACEOF
94930 /* end confdefs.h.  */
94931 #include <math.h>
94932 int
94933 main ()
94934 {
94935  _hypotf(0, 0);
94936   ;
94937   return 0;
94938 }
94939 _ACEOF
94940 rm -f conftest.$ac_objext
94941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94942   (eval $ac_compile) 2>conftest.er1
94943   ac_status=$?
94944   grep -v '^ *+' conftest.er1 >conftest.err
94945   rm -f conftest.er1
94946   cat conftest.err >&5
94947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94948   (exit $ac_status); } &&
94949          { ac_try='test -z "$ac_cxx_werror_flag"
94950                          || test ! -s conftest.err'
94951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94952   (eval $ac_try) 2>&5
94953   ac_status=$?
94954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94955   (exit $ac_status); }; } &&
94956          { ac_try='test -s conftest.$ac_objext'
94957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94958   (eval $ac_try) 2>&5
94959   ac_status=$?
94960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94961   (exit $ac_status); }; }; then
94962   glibcxx_cv_func__hypotf_use=yes
94963 else
94964   echo "$as_me: failed program was:" >&5
94965 sed 's/^/| /' conftest.$ac_ext >&5
94966
94967 glibcxx_cv_func__hypotf_use=no
94968 fi
94969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94970       ac_ext=c
94971 ac_cpp='$CPP $CPPFLAGS'
94972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94975
94976
94977 fi
94978
94979   fi
94980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94981 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94982
94983     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94984
94985 for ac_func in _hypotf
94986 do
94987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94988 echo "$as_me:$LINENO: checking for $ac_func" >&5
94989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94990 if eval "test \"\${$as_ac_var+set}\" = set"; then
94991   echo $ECHO_N "(cached) $ECHO_C" >&6
94992 else
94993   if test x$gcc_no_link = xyes; then
94994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94996    { (exit 1); exit 1; }; }
94997 fi
94998 cat >conftest.$ac_ext <<_ACEOF
94999 /* confdefs.h.  */
95000 _ACEOF
95001 cat confdefs.h >>conftest.$ac_ext
95002 cat >>conftest.$ac_ext <<_ACEOF
95003 /* end confdefs.h.  */
95004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95006 #define $ac_func innocuous_$ac_func
95007
95008 /* System header to define __stub macros and hopefully few prototypes,
95009     which can conflict with char $ac_func (); below.
95010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95011     <limits.h> exists even on freestanding compilers.  */
95012
95013 #ifdef __STDC__
95014 # include <limits.h>
95015 #else
95016 # include <assert.h>
95017 #endif
95018
95019 #undef $ac_func
95020
95021 /* Override any gcc2 internal prototype to avoid an error.  */
95022 #ifdef __cplusplus
95023 extern "C"
95024 {
95025 #endif
95026 /* We use char because int might match the return type of a gcc2
95027    builtin and then its argument prototype would still apply.  */
95028 char $ac_func ();
95029 /* The GNU C library defines this for functions which it implements
95030     to always fail with ENOSYS.  Some functions are actually named
95031     something starting with __ and the normal name is an alias.  */
95032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95033 choke me
95034 #else
95035 char (*f) () = $ac_func;
95036 #endif
95037 #ifdef __cplusplus
95038 }
95039 #endif
95040
95041 int
95042 main ()
95043 {
95044 return f != $ac_func;
95045   ;
95046   return 0;
95047 }
95048 _ACEOF
95049 rm -f conftest.$ac_objext conftest$ac_exeext
95050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95051   (eval $ac_link) 2>conftest.er1
95052   ac_status=$?
95053   grep -v '^ *+' conftest.er1 >conftest.err
95054   rm -f conftest.er1
95055   cat conftest.err >&5
95056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95057   (exit $ac_status); } &&
95058          { ac_try='test -z "$ac_c_werror_flag"
95059                          || test ! -s conftest.err'
95060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95061   (eval $ac_try) 2>&5
95062   ac_status=$?
95063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95064   (exit $ac_status); }; } &&
95065          { ac_try='test -s conftest$ac_exeext'
95066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95067   (eval $ac_try) 2>&5
95068   ac_status=$?
95069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95070   (exit $ac_status); }; }; then
95071   eval "$as_ac_var=yes"
95072 else
95073   echo "$as_me: failed program was:" >&5
95074 sed 's/^/| /' conftest.$ac_ext >&5
95075
95076 eval "$as_ac_var=no"
95077 fi
95078 rm -f conftest.err conftest.$ac_objext \
95079       conftest$ac_exeext conftest.$ac_ext
95080 fi
95081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95083 if test `eval echo '${'$as_ac_var'}'` = yes; then
95084   cat >>confdefs.h <<_ACEOF
95085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95086 _ACEOF
95087
95088 fi
95089 done
95090
95091     fi
95092   fi
95093
95094
95095
95096
95097
95098
95099   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
95100 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
95101   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
95102     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
95103   echo $ECHO_N "(cached) $ECHO_C" >&6
95104 else
95105
95106
95107
95108       ac_ext=cc
95109 ac_cpp='$CXXCPP $CPPFLAGS'
95110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95113
95114       cat >conftest.$ac_ext <<_ACEOF
95115 /* confdefs.h.  */
95116 _ACEOF
95117 cat confdefs.h >>conftest.$ac_ext
95118 cat >>conftest.$ac_ext <<_ACEOF
95119 /* end confdefs.h.  */
95120 #include <math.h>
95121 int
95122 main ()
95123 {
95124  ldexpf(0, 0);
95125   ;
95126   return 0;
95127 }
95128 _ACEOF
95129 rm -f conftest.$ac_objext
95130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95131   (eval $ac_compile) 2>conftest.er1
95132   ac_status=$?
95133   grep -v '^ *+' conftest.er1 >conftest.err
95134   rm -f conftest.er1
95135   cat conftest.err >&5
95136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95137   (exit $ac_status); } &&
95138          { ac_try='test -z "$ac_cxx_werror_flag"
95139                          || test ! -s conftest.err'
95140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95141   (eval $ac_try) 2>&5
95142   ac_status=$?
95143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95144   (exit $ac_status); }; } &&
95145          { ac_try='test -s conftest.$ac_objext'
95146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95147   (eval $ac_try) 2>&5
95148   ac_status=$?
95149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95150   (exit $ac_status); }; }; then
95151   glibcxx_cv_func_ldexpf_use=yes
95152 else
95153   echo "$as_me: failed program was:" >&5
95154 sed 's/^/| /' conftest.$ac_ext >&5
95155
95156 glibcxx_cv_func_ldexpf_use=no
95157 fi
95158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95159       ac_ext=c
95160 ac_cpp='$CPP $CPPFLAGS'
95161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95164
95165
95166 fi
95167
95168   fi
95169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
95170 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
95171
95172   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
95173
95174 for ac_func in ldexpf
95175 do
95176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95177 echo "$as_me:$LINENO: checking for $ac_func" >&5
95178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95179 if eval "test \"\${$as_ac_var+set}\" = set"; then
95180   echo $ECHO_N "(cached) $ECHO_C" >&6
95181 else
95182   if test x$gcc_no_link = xyes; then
95183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95185    { (exit 1); exit 1; }; }
95186 fi
95187 cat >conftest.$ac_ext <<_ACEOF
95188 /* confdefs.h.  */
95189 _ACEOF
95190 cat confdefs.h >>conftest.$ac_ext
95191 cat >>conftest.$ac_ext <<_ACEOF
95192 /* end confdefs.h.  */
95193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95195 #define $ac_func innocuous_$ac_func
95196
95197 /* System header to define __stub macros and hopefully few prototypes,
95198     which can conflict with char $ac_func (); below.
95199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95200     <limits.h> exists even on freestanding compilers.  */
95201
95202 #ifdef __STDC__
95203 # include <limits.h>
95204 #else
95205 # include <assert.h>
95206 #endif
95207
95208 #undef $ac_func
95209
95210 /* Override any gcc2 internal prototype to avoid an error.  */
95211 #ifdef __cplusplus
95212 extern "C"
95213 {
95214 #endif
95215 /* We use char because int might match the return type of a gcc2
95216    builtin and then its argument prototype would still apply.  */
95217 char $ac_func ();
95218 /* The GNU C library defines this for functions which it implements
95219     to always fail with ENOSYS.  Some functions are actually named
95220     something starting with __ and the normal name is an alias.  */
95221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95222 choke me
95223 #else
95224 char (*f) () = $ac_func;
95225 #endif
95226 #ifdef __cplusplus
95227 }
95228 #endif
95229
95230 int
95231 main ()
95232 {
95233 return f != $ac_func;
95234   ;
95235   return 0;
95236 }
95237 _ACEOF
95238 rm -f conftest.$ac_objext conftest$ac_exeext
95239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95240   (eval $ac_link) 2>conftest.er1
95241   ac_status=$?
95242   grep -v '^ *+' conftest.er1 >conftest.err
95243   rm -f conftest.er1
95244   cat conftest.err >&5
95245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95246   (exit $ac_status); } &&
95247          { ac_try='test -z "$ac_c_werror_flag"
95248                          || test ! -s conftest.err'
95249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95250   (eval $ac_try) 2>&5
95251   ac_status=$?
95252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95253   (exit $ac_status); }; } &&
95254          { ac_try='test -s conftest$ac_exeext'
95255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95256   (eval $ac_try) 2>&5
95257   ac_status=$?
95258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95259   (exit $ac_status); }; }; then
95260   eval "$as_ac_var=yes"
95261 else
95262   echo "$as_me: failed program was:" >&5
95263 sed 's/^/| /' conftest.$ac_ext >&5
95264
95265 eval "$as_ac_var=no"
95266 fi
95267 rm -f conftest.err conftest.$ac_objext \
95268       conftest$ac_exeext conftest.$ac_ext
95269 fi
95270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95272 if test `eval echo '${'$as_ac_var'}'` = yes; then
95273   cat >>confdefs.h <<_ACEOF
95274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95275 _ACEOF
95276
95277 fi
95278 done
95279
95280   else
95281
95282   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
95283 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
95284   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
95285     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
95286   echo $ECHO_N "(cached) $ECHO_C" >&6
95287 else
95288
95289
95290
95291       ac_ext=cc
95292 ac_cpp='$CXXCPP $CPPFLAGS'
95293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95296
95297       cat >conftest.$ac_ext <<_ACEOF
95298 /* confdefs.h.  */
95299 _ACEOF
95300 cat confdefs.h >>conftest.$ac_ext
95301 cat >>conftest.$ac_ext <<_ACEOF
95302 /* end confdefs.h.  */
95303 #include <math.h>
95304 int
95305 main ()
95306 {
95307  _ldexpf(0, 0);
95308   ;
95309   return 0;
95310 }
95311 _ACEOF
95312 rm -f conftest.$ac_objext
95313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95314   (eval $ac_compile) 2>conftest.er1
95315   ac_status=$?
95316   grep -v '^ *+' conftest.er1 >conftest.err
95317   rm -f conftest.er1
95318   cat conftest.err >&5
95319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95320   (exit $ac_status); } &&
95321          { ac_try='test -z "$ac_cxx_werror_flag"
95322                          || test ! -s conftest.err'
95323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95324   (eval $ac_try) 2>&5
95325   ac_status=$?
95326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95327   (exit $ac_status); }; } &&
95328          { ac_try='test -s conftest.$ac_objext'
95329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95330   (eval $ac_try) 2>&5
95331   ac_status=$?
95332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333   (exit $ac_status); }; }; then
95334   glibcxx_cv_func__ldexpf_use=yes
95335 else
95336   echo "$as_me: failed program was:" >&5
95337 sed 's/^/| /' conftest.$ac_ext >&5
95338
95339 glibcxx_cv_func__ldexpf_use=no
95340 fi
95341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95342       ac_ext=c
95343 ac_cpp='$CPP $CPPFLAGS'
95344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95347
95348
95349 fi
95350
95351   fi
95352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95353 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95354
95355     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95356
95357 for ac_func in _ldexpf
95358 do
95359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95360 echo "$as_me:$LINENO: checking for $ac_func" >&5
95361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95362 if eval "test \"\${$as_ac_var+set}\" = set"; then
95363   echo $ECHO_N "(cached) $ECHO_C" >&6
95364 else
95365   if test x$gcc_no_link = xyes; then
95366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95368    { (exit 1); exit 1; }; }
95369 fi
95370 cat >conftest.$ac_ext <<_ACEOF
95371 /* confdefs.h.  */
95372 _ACEOF
95373 cat confdefs.h >>conftest.$ac_ext
95374 cat >>conftest.$ac_ext <<_ACEOF
95375 /* end confdefs.h.  */
95376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95378 #define $ac_func innocuous_$ac_func
95379
95380 /* System header to define __stub macros and hopefully few prototypes,
95381     which can conflict with char $ac_func (); below.
95382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95383     <limits.h> exists even on freestanding compilers.  */
95384
95385 #ifdef __STDC__
95386 # include <limits.h>
95387 #else
95388 # include <assert.h>
95389 #endif
95390
95391 #undef $ac_func
95392
95393 /* Override any gcc2 internal prototype to avoid an error.  */
95394 #ifdef __cplusplus
95395 extern "C"
95396 {
95397 #endif
95398 /* We use char because int might match the return type of a gcc2
95399    builtin and then its argument prototype would still apply.  */
95400 char $ac_func ();
95401 /* The GNU C library defines this for functions which it implements
95402     to always fail with ENOSYS.  Some functions are actually named
95403     something starting with __ and the normal name is an alias.  */
95404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95405 choke me
95406 #else
95407 char (*f) () = $ac_func;
95408 #endif
95409 #ifdef __cplusplus
95410 }
95411 #endif
95412
95413 int
95414 main ()
95415 {
95416 return f != $ac_func;
95417   ;
95418   return 0;
95419 }
95420 _ACEOF
95421 rm -f conftest.$ac_objext conftest$ac_exeext
95422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95423   (eval $ac_link) 2>conftest.er1
95424   ac_status=$?
95425   grep -v '^ *+' conftest.er1 >conftest.err
95426   rm -f conftest.er1
95427   cat conftest.err >&5
95428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95429   (exit $ac_status); } &&
95430          { ac_try='test -z "$ac_c_werror_flag"
95431                          || test ! -s conftest.err'
95432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95433   (eval $ac_try) 2>&5
95434   ac_status=$?
95435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95436   (exit $ac_status); }; } &&
95437          { ac_try='test -s conftest$ac_exeext'
95438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95439   (eval $ac_try) 2>&5
95440   ac_status=$?
95441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95442   (exit $ac_status); }; }; then
95443   eval "$as_ac_var=yes"
95444 else
95445   echo "$as_me: failed program was:" >&5
95446 sed 's/^/| /' conftest.$ac_ext >&5
95447
95448 eval "$as_ac_var=no"
95449 fi
95450 rm -f conftest.err conftest.$ac_objext \
95451       conftest$ac_exeext conftest.$ac_ext
95452 fi
95453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95455 if test `eval echo '${'$as_ac_var'}'` = yes; then
95456   cat >>confdefs.h <<_ACEOF
95457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95458 _ACEOF
95459
95460 fi
95461 done
95462
95463     fi
95464   fi
95465
95466
95467
95468
95469
95470
95471   echo "$as_me:$LINENO: checking for logf declaration" >&5
95472 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95473   if test x${glibcxx_cv_func_logf_use+set} != xset; then
95474     if test "${glibcxx_cv_func_logf_use+set}" = set; then
95475   echo $ECHO_N "(cached) $ECHO_C" >&6
95476 else
95477
95478
95479
95480       ac_ext=cc
95481 ac_cpp='$CXXCPP $CPPFLAGS'
95482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95485
95486       cat >conftest.$ac_ext <<_ACEOF
95487 /* confdefs.h.  */
95488 _ACEOF
95489 cat confdefs.h >>conftest.$ac_ext
95490 cat >>conftest.$ac_ext <<_ACEOF
95491 /* end confdefs.h.  */
95492 #include <math.h>
95493                       #ifdef HAVE_IEEEFP_H
95494                       #include <ieeefp.h>
95495                       #endif
95496
95497 int
95498 main ()
95499 {
95500  logf(0);
95501   ;
95502   return 0;
95503 }
95504 _ACEOF
95505 rm -f conftest.$ac_objext
95506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95507   (eval $ac_compile) 2>conftest.er1
95508   ac_status=$?
95509   grep -v '^ *+' conftest.er1 >conftest.err
95510   rm -f conftest.er1
95511   cat conftest.err >&5
95512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95513   (exit $ac_status); } &&
95514          { ac_try='test -z "$ac_cxx_werror_flag"
95515                          || test ! -s conftest.err'
95516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95517   (eval $ac_try) 2>&5
95518   ac_status=$?
95519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95520   (exit $ac_status); }; } &&
95521          { ac_try='test -s conftest.$ac_objext'
95522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95523   (eval $ac_try) 2>&5
95524   ac_status=$?
95525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95526   (exit $ac_status); }; }; then
95527   glibcxx_cv_func_logf_use=yes
95528 else
95529   echo "$as_me: failed program was:" >&5
95530 sed 's/^/| /' conftest.$ac_ext >&5
95531
95532 glibcxx_cv_func_logf_use=no
95533 fi
95534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95535       ac_ext=c
95536 ac_cpp='$CPP $CPPFLAGS'
95537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95540
95541
95542 fi
95543
95544   fi
95545   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95546 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95547
95548   if test x$glibcxx_cv_func_logf_use = x"yes"; then
95549
95550 for ac_func in logf
95551 do
95552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95553 echo "$as_me:$LINENO: checking for $ac_func" >&5
95554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95555 if eval "test \"\${$as_ac_var+set}\" = set"; then
95556   echo $ECHO_N "(cached) $ECHO_C" >&6
95557 else
95558   if test x$gcc_no_link = xyes; then
95559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95561    { (exit 1); exit 1; }; }
95562 fi
95563 cat >conftest.$ac_ext <<_ACEOF
95564 /* confdefs.h.  */
95565 _ACEOF
95566 cat confdefs.h >>conftest.$ac_ext
95567 cat >>conftest.$ac_ext <<_ACEOF
95568 /* end confdefs.h.  */
95569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95571 #define $ac_func innocuous_$ac_func
95572
95573 /* System header to define __stub macros and hopefully few prototypes,
95574     which can conflict with char $ac_func (); below.
95575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95576     <limits.h> exists even on freestanding compilers.  */
95577
95578 #ifdef __STDC__
95579 # include <limits.h>
95580 #else
95581 # include <assert.h>
95582 #endif
95583
95584 #undef $ac_func
95585
95586 /* Override any gcc2 internal prototype to avoid an error.  */
95587 #ifdef __cplusplus
95588 extern "C"
95589 {
95590 #endif
95591 /* We use char because int might match the return type of a gcc2
95592    builtin and then its argument prototype would still apply.  */
95593 char $ac_func ();
95594 /* The GNU C library defines this for functions which it implements
95595     to always fail with ENOSYS.  Some functions are actually named
95596     something starting with __ and the normal name is an alias.  */
95597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95598 choke me
95599 #else
95600 char (*f) () = $ac_func;
95601 #endif
95602 #ifdef __cplusplus
95603 }
95604 #endif
95605
95606 int
95607 main ()
95608 {
95609 return f != $ac_func;
95610   ;
95611   return 0;
95612 }
95613 _ACEOF
95614 rm -f conftest.$ac_objext conftest$ac_exeext
95615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95616   (eval $ac_link) 2>conftest.er1
95617   ac_status=$?
95618   grep -v '^ *+' conftest.er1 >conftest.err
95619   rm -f conftest.er1
95620   cat conftest.err >&5
95621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95622   (exit $ac_status); } &&
95623          { ac_try='test -z "$ac_c_werror_flag"
95624                          || test ! -s conftest.err'
95625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95626   (eval $ac_try) 2>&5
95627   ac_status=$?
95628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95629   (exit $ac_status); }; } &&
95630          { ac_try='test -s conftest$ac_exeext'
95631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95632   (eval $ac_try) 2>&5
95633   ac_status=$?
95634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95635   (exit $ac_status); }; }; then
95636   eval "$as_ac_var=yes"
95637 else
95638   echo "$as_me: failed program was:" >&5
95639 sed 's/^/| /' conftest.$ac_ext >&5
95640
95641 eval "$as_ac_var=no"
95642 fi
95643 rm -f conftest.err conftest.$ac_objext \
95644       conftest$ac_exeext conftest.$ac_ext
95645 fi
95646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95648 if test `eval echo '${'$as_ac_var'}'` = yes; then
95649   cat >>confdefs.h <<_ACEOF
95650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95651 _ACEOF
95652
95653 fi
95654 done
95655
95656   else
95657
95658   echo "$as_me:$LINENO: checking for _logf declaration" >&5
95659 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95660   if test x${glibcxx_cv_func__logf_use+set} != xset; then
95661     if test "${glibcxx_cv_func__logf_use+set}" = set; then
95662   echo $ECHO_N "(cached) $ECHO_C" >&6
95663 else
95664
95665
95666
95667       ac_ext=cc
95668 ac_cpp='$CXXCPP $CPPFLAGS'
95669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95672
95673       cat >conftest.$ac_ext <<_ACEOF
95674 /* confdefs.h.  */
95675 _ACEOF
95676 cat confdefs.h >>conftest.$ac_ext
95677 cat >>conftest.$ac_ext <<_ACEOF
95678 /* end confdefs.h.  */
95679 #include <math.h>
95680                       #ifdef HAVE_IEEEFP_H
95681                       #include <ieeefp.h>
95682                       #endif
95683
95684 int
95685 main ()
95686 {
95687  _logf(0);
95688   ;
95689   return 0;
95690 }
95691 _ACEOF
95692 rm -f conftest.$ac_objext
95693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95694   (eval $ac_compile) 2>conftest.er1
95695   ac_status=$?
95696   grep -v '^ *+' conftest.er1 >conftest.err
95697   rm -f conftest.er1
95698   cat conftest.err >&5
95699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95700   (exit $ac_status); } &&
95701          { ac_try='test -z "$ac_cxx_werror_flag"
95702                          || test ! -s conftest.err'
95703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95704   (eval $ac_try) 2>&5
95705   ac_status=$?
95706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95707   (exit $ac_status); }; } &&
95708          { ac_try='test -s conftest.$ac_objext'
95709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95710   (eval $ac_try) 2>&5
95711   ac_status=$?
95712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95713   (exit $ac_status); }; }; then
95714   glibcxx_cv_func__logf_use=yes
95715 else
95716   echo "$as_me: failed program was:" >&5
95717 sed 's/^/| /' conftest.$ac_ext >&5
95718
95719 glibcxx_cv_func__logf_use=no
95720 fi
95721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95722       ac_ext=c
95723 ac_cpp='$CPP $CPPFLAGS'
95724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95727
95728
95729 fi
95730
95731   fi
95732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95733 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95734
95735     if test x$glibcxx_cv_func__logf_use = x"yes"; then
95736
95737 for ac_func in _logf
95738 do
95739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95740 echo "$as_me:$LINENO: checking for $ac_func" >&5
95741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95742 if eval "test \"\${$as_ac_var+set}\" = set"; then
95743   echo $ECHO_N "(cached) $ECHO_C" >&6
95744 else
95745   if test x$gcc_no_link = xyes; then
95746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95748    { (exit 1); exit 1; }; }
95749 fi
95750 cat >conftest.$ac_ext <<_ACEOF
95751 /* confdefs.h.  */
95752 _ACEOF
95753 cat confdefs.h >>conftest.$ac_ext
95754 cat >>conftest.$ac_ext <<_ACEOF
95755 /* end confdefs.h.  */
95756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95758 #define $ac_func innocuous_$ac_func
95759
95760 /* System header to define __stub macros and hopefully few prototypes,
95761     which can conflict with char $ac_func (); below.
95762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95763     <limits.h> exists even on freestanding compilers.  */
95764
95765 #ifdef __STDC__
95766 # include <limits.h>
95767 #else
95768 # include <assert.h>
95769 #endif
95770
95771 #undef $ac_func
95772
95773 /* Override any gcc2 internal prototype to avoid an error.  */
95774 #ifdef __cplusplus
95775 extern "C"
95776 {
95777 #endif
95778 /* We use char because int might match the return type of a gcc2
95779    builtin and then its argument prototype would still apply.  */
95780 char $ac_func ();
95781 /* The GNU C library defines this for functions which it implements
95782     to always fail with ENOSYS.  Some functions are actually named
95783     something starting with __ and the normal name is an alias.  */
95784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95785 choke me
95786 #else
95787 char (*f) () = $ac_func;
95788 #endif
95789 #ifdef __cplusplus
95790 }
95791 #endif
95792
95793 int
95794 main ()
95795 {
95796 return f != $ac_func;
95797   ;
95798   return 0;
95799 }
95800 _ACEOF
95801 rm -f conftest.$ac_objext conftest$ac_exeext
95802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95803   (eval $ac_link) 2>conftest.er1
95804   ac_status=$?
95805   grep -v '^ *+' conftest.er1 >conftest.err
95806   rm -f conftest.er1
95807   cat conftest.err >&5
95808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95809   (exit $ac_status); } &&
95810          { ac_try='test -z "$ac_c_werror_flag"
95811                          || test ! -s conftest.err'
95812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95813   (eval $ac_try) 2>&5
95814   ac_status=$?
95815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95816   (exit $ac_status); }; } &&
95817          { ac_try='test -s conftest$ac_exeext'
95818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95819   (eval $ac_try) 2>&5
95820   ac_status=$?
95821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95822   (exit $ac_status); }; }; then
95823   eval "$as_ac_var=yes"
95824 else
95825   echo "$as_me: failed program was:" >&5
95826 sed 's/^/| /' conftest.$ac_ext >&5
95827
95828 eval "$as_ac_var=no"
95829 fi
95830 rm -f conftest.err conftest.$ac_objext \
95831       conftest$ac_exeext conftest.$ac_ext
95832 fi
95833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95835 if test `eval echo '${'$as_ac_var'}'` = yes; then
95836   cat >>confdefs.h <<_ACEOF
95837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95838 _ACEOF
95839
95840 fi
95841 done
95842
95843     fi
95844   fi
95845
95846
95847
95848
95849
95850
95851   echo "$as_me:$LINENO: checking for log10f declaration" >&5
95852 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95853   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95854     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95855   echo $ECHO_N "(cached) $ECHO_C" >&6
95856 else
95857
95858
95859
95860       ac_ext=cc
95861 ac_cpp='$CXXCPP $CPPFLAGS'
95862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95865
95866       cat >conftest.$ac_ext <<_ACEOF
95867 /* confdefs.h.  */
95868 _ACEOF
95869 cat confdefs.h >>conftest.$ac_ext
95870 cat >>conftest.$ac_ext <<_ACEOF
95871 /* end confdefs.h.  */
95872 #include <math.h>
95873                       #ifdef HAVE_IEEEFP_H
95874                       #include <ieeefp.h>
95875                       #endif
95876
95877 int
95878 main ()
95879 {
95880  log10f(0);
95881   ;
95882   return 0;
95883 }
95884 _ACEOF
95885 rm -f conftest.$ac_objext
95886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95887   (eval $ac_compile) 2>conftest.er1
95888   ac_status=$?
95889   grep -v '^ *+' conftest.er1 >conftest.err
95890   rm -f conftest.er1
95891   cat conftest.err >&5
95892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95893   (exit $ac_status); } &&
95894          { ac_try='test -z "$ac_cxx_werror_flag"
95895                          || test ! -s conftest.err'
95896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95897   (eval $ac_try) 2>&5
95898   ac_status=$?
95899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95900   (exit $ac_status); }; } &&
95901          { ac_try='test -s conftest.$ac_objext'
95902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95903   (eval $ac_try) 2>&5
95904   ac_status=$?
95905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95906   (exit $ac_status); }; }; then
95907   glibcxx_cv_func_log10f_use=yes
95908 else
95909   echo "$as_me: failed program was:" >&5
95910 sed 's/^/| /' conftest.$ac_ext >&5
95911
95912 glibcxx_cv_func_log10f_use=no
95913 fi
95914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95915       ac_ext=c
95916 ac_cpp='$CPP $CPPFLAGS'
95917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95920
95921
95922 fi
95923
95924   fi
95925   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95926 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95927
95928   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95929
95930 for ac_func in log10f
95931 do
95932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95933 echo "$as_me:$LINENO: checking for $ac_func" >&5
95934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95935 if eval "test \"\${$as_ac_var+set}\" = set"; then
95936   echo $ECHO_N "(cached) $ECHO_C" >&6
95937 else
95938   if test x$gcc_no_link = xyes; then
95939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95941    { (exit 1); exit 1; }; }
95942 fi
95943 cat >conftest.$ac_ext <<_ACEOF
95944 /* confdefs.h.  */
95945 _ACEOF
95946 cat confdefs.h >>conftest.$ac_ext
95947 cat >>conftest.$ac_ext <<_ACEOF
95948 /* end confdefs.h.  */
95949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95950    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95951 #define $ac_func innocuous_$ac_func
95952
95953 /* System header to define __stub macros and hopefully few prototypes,
95954     which can conflict with char $ac_func (); below.
95955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95956     <limits.h> exists even on freestanding compilers.  */
95957
95958 #ifdef __STDC__
95959 # include <limits.h>
95960 #else
95961 # include <assert.h>
95962 #endif
95963
95964 #undef $ac_func
95965
95966 /* Override any gcc2 internal prototype to avoid an error.  */
95967 #ifdef __cplusplus
95968 extern "C"
95969 {
95970 #endif
95971 /* We use char because int might match the return type of a gcc2
95972    builtin and then its argument prototype would still apply.  */
95973 char $ac_func ();
95974 /* The GNU C library defines this for functions which it implements
95975     to always fail with ENOSYS.  Some functions are actually named
95976     something starting with __ and the normal name is an alias.  */
95977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95978 choke me
95979 #else
95980 char (*f) () = $ac_func;
95981 #endif
95982 #ifdef __cplusplus
95983 }
95984 #endif
95985
95986 int
95987 main ()
95988 {
95989 return f != $ac_func;
95990   ;
95991   return 0;
95992 }
95993 _ACEOF
95994 rm -f conftest.$ac_objext conftest$ac_exeext
95995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95996   (eval $ac_link) 2>conftest.er1
95997   ac_status=$?
95998   grep -v '^ *+' conftest.er1 >conftest.err
95999   rm -f conftest.er1
96000   cat conftest.err >&5
96001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96002   (exit $ac_status); } &&
96003          { ac_try='test -z "$ac_c_werror_flag"
96004                          || test ! -s conftest.err'
96005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96006   (eval $ac_try) 2>&5
96007   ac_status=$?
96008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96009   (exit $ac_status); }; } &&
96010          { ac_try='test -s conftest$ac_exeext'
96011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96012   (eval $ac_try) 2>&5
96013   ac_status=$?
96014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96015   (exit $ac_status); }; }; then
96016   eval "$as_ac_var=yes"
96017 else
96018   echo "$as_me: failed program was:" >&5
96019 sed 's/^/| /' conftest.$ac_ext >&5
96020
96021 eval "$as_ac_var=no"
96022 fi
96023 rm -f conftest.err conftest.$ac_objext \
96024       conftest$ac_exeext conftest.$ac_ext
96025 fi
96026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96028 if test `eval echo '${'$as_ac_var'}'` = yes; then
96029   cat >>confdefs.h <<_ACEOF
96030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96031 _ACEOF
96032
96033 fi
96034 done
96035
96036   else
96037
96038   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
96039 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
96040   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
96041     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
96042   echo $ECHO_N "(cached) $ECHO_C" >&6
96043 else
96044
96045
96046
96047       ac_ext=cc
96048 ac_cpp='$CXXCPP $CPPFLAGS'
96049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96052
96053       cat >conftest.$ac_ext <<_ACEOF
96054 /* confdefs.h.  */
96055 _ACEOF
96056 cat confdefs.h >>conftest.$ac_ext
96057 cat >>conftest.$ac_ext <<_ACEOF
96058 /* end confdefs.h.  */
96059 #include <math.h>
96060                       #ifdef HAVE_IEEEFP_H
96061                       #include <ieeefp.h>
96062                       #endif
96063
96064 int
96065 main ()
96066 {
96067  _log10f(0);
96068   ;
96069   return 0;
96070 }
96071 _ACEOF
96072 rm -f conftest.$ac_objext
96073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96074   (eval $ac_compile) 2>conftest.er1
96075   ac_status=$?
96076   grep -v '^ *+' conftest.er1 >conftest.err
96077   rm -f conftest.er1
96078   cat conftest.err >&5
96079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96080   (exit $ac_status); } &&
96081          { ac_try='test -z "$ac_cxx_werror_flag"
96082                          || test ! -s conftest.err'
96083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96084   (eval $ac_try) 2>&5
96085   ac_status=$?
96086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96087   (exit $ac_status); }; } &&
96088          { ac_try='test -s conftest.$ac_objext'
96089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96090   (eval $ac_try) 2>&5
96091   ac_status=$?
96092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96093   (exit $ac_status); }; }; then
96094   glibcxx_cv_func__log10f_use=yes
96095 else
96096   echo "$as_me: failed program was:" >&5
96097 sed 's/^/| /' conftest.$ac_ext >&5
96098
96099 glibcxx_cv_func__log10f_use=no
96100 fi
96101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96102       ac_ext=c
96103 ac_cpp='$CPP $CPPFLAGS'
96104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96107
96108
96109 fi
96110
96111   fi
96112   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
96113 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
96114
96115     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
96116
96117 for ac_func in _log10f
96118 do
96119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96120 echo "$as_me:$LINENO: checking for $ac_func" >&5
96121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96122 if eval "test \"\${$as_ac_var+set}\" = set"; then
96123   echo $ECHO_N "(cached) $ECHO_C" >&6
96124 else
96125   if test x$gcc_no_link = xyes; then
96126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96128    { (exit 1); exit 1; }; }
96129 fi
96130 cat >conftest.$ac_ext <<_ACEOF
96131 /* confdefs.h.  */
96132 _ACEOF
96133 cat confdefs.h >>conftest.$ac_ext
96134 cat >>conftest.$ac_ext <<_ACEOF
96135 /* end confdefs.h.  */
96136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96138 #define $ac_func innocuous_$ac_func
96139
96140 /* System header to define __stub macros and hopefully few prototypes,
96141     which can conflict with char $ac_func (); below.
96142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96143     <limits.h> exists even on freestanding compilers.  */
96144
96145 #ifdef __STDC__
96146 # include <limits.h>
96147 #else
96148 # include <assert.h>
96149 #endif
96150
96151 #undef $ac_func
96152
96153 /* Override any gcc2 internal prototype to avoid an error.  */
96154 #ifdef __cplusplus
96155 extern "C"
96156 {
96157 #endif
96158 /* We use char because int might match the return type of a gcc2
96159    builtin and then its argument prototype would still apply.  */
96160 char $ac_func ();
96161 /* The GNU C library defines this for functions which it implements
96162     to always fail with ENOSYS.  Some functions are actually named
96163     something starting with __ and the normal name is an alias.  */
96164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96165 choke me
96166 #else
96167 char (*f) () = $ac_func;
96168 #endif
96169 #ifdef __cplusplus
96170 }
96171 #endif
96172
96173 int
96174 main ()
96175 {
96176 return f != $ac_func;
96177   ;
96178   return 0;
96179 }
96180 _ACEOF
96181 rm -f conftest.$ac_objext conftest$ac_exeext
96182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96183   (eval $ac_link) 2>conftest.er1
96184   ac_status=$?
96185   grep -v '^ *+' conftest.er1 >conftest.err
96186   rm -f conftest.er1
96187   cat conftest.err >&5
96188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96189   (exit $ac_status); } &&
96190          { ac_try='test -z "$ac_c_werror_flag"
96191                          || test ! -s conftest.err'
96192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96193   (eval $ac_try) 2>&5
96194   ac_status=$?
96195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96196   (exit $ac_status); }; } &&
96197          { ac_try='test -s conftest$ac_exeext'
96198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96199   (eval $ac_try) 2>&5
96200   ac_status=$?
96201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96202   (exit $ac_status); }; }; then
96203   eval "$as_ac_var=yes"
96204 else
96205   echo "$as_me: failed program was:" >&5
96206 sed 's/^/| /' conftest.$ac_ext >&5
96207
96208 eval "$as_ac_var=no"
96209 fi
96210 rm -f conftest.err conftest.$ac_objext \
96211       conftest$ac_exeext conftest.$ac_ext
96212 fi
96213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96215 if test `eval echo '${'$as_ac_var'}'` = yes; then
96216   cat >>confdefs.h <<_ACEOF
96217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96218 _ACEOF
96219
96220 fi
96221 done
96222
96223     fi
96224   fi
96225
96226
96227
96228
96229
96230
96231   echo "$as_me:$LINENO: checking for modff declaration" >&5
96232 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
96233   if test x${glibcxx_cv_func_modff_use+set} != xset; then
96234     if test "${glibcxx_cv_func_modff_use+set}" = set; then
96235   echo $ECHO_N "(cached) $ECHO_C" >&6
96236 else
96237
96238
96239
96240       ac_ext=cc
96241 ac_cpp='$CXXCPP $CPPFLAGS'
96242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96245
96246       cat >conftest.$ac_ext <<_ACEOF
96247 /* confdefs.h.  */
96248 _ACEOF
96249 cat confdefs.h >>conftest.$ac_ext
96250 cat >>conftest.$ac_ext <<_ACEOF
96251 /* end confdefs.h.  */
96252 #include <math.h>
96253 int
96254 main ()
96255 {
96256  modff(0, 0);
96257   ;
96258   return 0;
96259 }
96260 _ACEOF
96261 rm -f conftest.$ac_objext
96262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96263   (eval $ac_compile) 2>conftest.er1
96264   ac_status=$?
96265   grep -v '^ *+' conftest.er1 >conftest.err
96266   rm -f conftest.er1
96267   cat conftest.err >&5
96268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96269   (exit $ac_status); } &&
96270          { ac_try='test -z "$ac_cxx_werror_flag"
96271                          || test ! -s conftest.err'
96272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96273   (eval $ac_try) 2>&5
96274   ac_status=$?
96275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96276   (exit $ac_status); }; } &&
96277          { ac_try='test -s conftest.$ac_objext'
96278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96279   (eval $ac_try) 2>&5
96280   ac_status=$?
96281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96282   (exit $ac_status); }; }; then
96283   glibcxx_cv_func_modff_use=yes
96284 else
96285   echo "$as_me: failed program was:" >&5
96286 sed 's/^/| /' conftest.$ac_ext >&5
96287
96288 glibcxx_cv_func_modff_use=no
96289 fi
96290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96291       ac_ext=c
96292 ac_cpp='$CPP $CPPFLAGS'
96293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96296
96297
96298 fi
96299
96300   fi
96301   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
96302 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
96303
96304   if test x$glibcxx_cv_func_modff_use = x"yes"; then
96305
96306 for ac_func in modff
96307 do
96308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96309 echo "$as_me:$LINENO: checking for $ac_func" >&5
96310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96311 if eval "test \"\${$as_ac_var+set}\" = set"; then
96312   echo $ECHO_N "(cached) $ECHO_C" >&6
96313 else
96314   if test x$gcc_no_link = xyes; then
96315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96317    { (exit 1); exit 1; }; }
96318 fi
96319 cat >conftest.$ac_ext <<_ACEOF
96320 /* confdefs.h.  */
96321 _ACEOF
96322 cat confdefs.h >>conftest.$ac_ext
96323 cat >>conftest.$ac_ext <<_ACEOF
96324 /* end confdefs.h.  */
96325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96327 #define $ac_func innocuous_$ac_func
96328
96329 /* System header to define __stub macros and hopefully few prototypes,
96330     which can conflict with char $ac_func (); below.
96331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96332     <limits.h> exists even on freestanding compilers.  */
96333
96334 #ifdef __STDC__
96335 # include <limits.h>
96336 #else
96337 # include <assert.h>
96338 #endif
96339
96340 #undef $ac_func
96341
96342 /* Override any gcc2 internal prototype to avoid an error.  */
96343 #ifdef __cplusplus
96344 extern "C"
96345 {
96346 #endif
96347 /* We use char because int might match the return type of a gcc2
96348    builtin and then its argument prototype would still apply.  */
96349 char $ac_func ();
96350 /* The GNU C library defines this for functions which it implements
96351     to always fail with ENOSYS.  Some functions are actually named
96352     something starting with __ and the normal name is an alias.  */
96353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96354 choke me
96355 #else
96356 char (*f) () = $ac_func;
96357 #endif
96358 #ifdef __cplusplus
96359 }
96360 #endif
96361
96362 int
96363 main ()
96364 {
96365 return f != $ac_func;
96366   ;
96367   return 0;
96368 }
96369 _ACEOF
96370 rm -f conftest.$ac_objext conftest$ac_exeext
96371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96372   (eval $ac_link) 2>conftest.er1
96373   ac_status=$?
96374   grep -v '^ *+' conftest.er1 >conftest.err
96375   rm -f conftest.er1
96376   cat conftest.err >&5
96377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96378   (exit $ac_status); } &&
96379          { ac_try='test -z "$ac_c_werror_flag"
96380                          || test ! -s conftest.err'
96381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96382   (eval $ac_try) 2>&5
96383   ac_status=$?
96384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96385   (exit $ac_status); }; } &&
96386          { ac_try='test -s conftest$ac_exeext'
96387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96388   (eval $ac_try) 2>&5
96389   ac_status=$?
96390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96391   (exit $ac_status); }; }; then
96392   eval "$as_ac_var=yes"
96393 else
96394   echo "$as_me: failed program was:" >&5
96395 sed 's/^/| /' conftest.$ac_ext >&5
96396
96397 eval "$as_ac_var=no"
96398 fi
96399 rm -f conftest.err conftest.$ac_objext \
96400       conftest$ac_exeext conftest.$ac_ext
96401 fi
96402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96404 if test `eval echo '${'$as_ac_var'}'` = yes; then
96405   cat >>confdefs.h <<_ACEOF
96406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96407 _ACEOF
96408
96409 fi
96410 done
96411
96412   else
96413
96414   echo "$as_me:$LINENO: checking for _modff declaration" >&5
96415 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96416   if test x${glibcxx_cv_func__modff_use+set} != xset; then
96417     if test "${glibcxx_cv_func__modff_use+set}" = set; then
96418   echo $ECHO_N "(cached) $ECHO_C" >&6
96419 else
96420
96421
96422
96423       ac_ext=cc
96424 ac_cpp='$CXXCPP $CPPFLAGS'
96425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96428
96429       cat >conftest.$ac_ext <<_ACEOF
96430 /* confdefs.h.  */
96431 _ACEOF
96432 cat confdefs.h >>conftest.$ac_ext
96433 cat >>conftest.$ac_ext <<_ACEOF
96434 /* end confdefs.h.  */
96435 #include <math.h>
96436 int
96437 main ()
96438 {
96439  _modff(0, 0);
96440   ;
96441   return 0;
96442 }
96443 _ACEOF
96444 rm -f conftest.$ac_objext
96445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96446   (eval $ac_compile) 2>conftest.er1
96447   ac_status=$?
96448   grep -v '^ *+' conftest.er1 >conftest.err
96449   rm -f conftest.er1
96450   cat conftest.err >&5
96451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96452   (exit $ac_status); } &&
96453          { ac_try='test -z "$ac_cxx_werror_flag"
96454                          || test ! -s conftest.err'
96455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96456   (eval $ac_try) 2>&5
96457   ac_status=$?
96458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96459   (exit $ac_status); }; } &&
96460          { ac_try='test -s conftest.$ac_objext'
96461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96462   (eval $ac_try) 2>&5
96463   ac_status=$?
96464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96465   (exit $ac_status); }; }; then
96466   glibcxx_cv_func__modff_use=yes
96467 else
96468   echo "$as_me: failed program was:" >&5
96469 sed 's/^/| /' conftest.$ac_ext >&5
96470
96471 glibcxx_cv_func__modff_use=no
96472 fi
96473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96474       ac_ext=c
96475 ac_cpp='$CPP $CPPFLAGS'
96476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96479
96480
96481 fi
96482
96483   fi
96484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96485 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96486
96487     if test x$glibcxx_cv_func__modff_use = x"yes"; then
96488
96489 for ac_func in _modff
96490 do
96491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96492 echo "$as_me:$LINENO: checking for $ac_func" >&5
96493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96494 if eval "test \"\${$as_ac_var+set}\" = set"; then
96495   echo $ECHO_N "(cached) $ECHO_C" >&6
96496 else
96497   if test x$gcc_no_link = xyes; then
96498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96500    { (exit 1); exit 1; }; }
96501 fi
96502 cat >conftest.$ac_ext <<_ACEOF
96503 /* confdefs.h.  */
96504 _ACEOF
96505 cat confdefs.h >>conftest.$ac_ext
96506 cat >>conftest.$ac_ext <<_ACEOF
96507 /* end confdefs.h.  */
96508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96510 #define $ac_func innocuous_$ac_func
96511
96512 /* System header to define __stub macros and hopefully few prototypes,
96513     which can conflict with char $ac_func (); below.
96514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96515     <limits.h> exists even on freestanding compilers.  */
96516
96517 #ifdef __STDC__
96518 # include <limits.h>
96519 #else
96520 # include <assert.h>
96521 #endif
96522
96523 #undef $ac_func
96524
96525 /* Override any gcc2 internal prototype to avoid an error.  */
96526 #ifdef __cplusplus
96527 extern "C"
96528 {
96529 #endif
96530 /* We use char because int might match the return type of a gcc2
96531    builtin and then its argument prototype would still apply.  */
96532 char $ac_func ();
96533 /* The GNU C library defines this for functions which it implements
96534     to always fail with ENOSYS.  Some functions are actually named
96535     something starting with __ and the normal name is an alias.  */
96536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96537 choke me
96538 #else
96539 char (*f) () = $ac_func;
96540 #endif
96541 #ifdef __cplusplus
96542 }
96543 #endif
96544
96545 int
96546 main ()
96547 {
96548 return f != $ac_func;
96549   ;
96550   return 0;
96551 }
96552 _ACEOF
96553 rm -f conftest.$ac_objext conftest$ac_exeext
96554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96555   (eval $ac_link) 2>conftest.er1
96556   ac_status=$?
96557   grep -v '^ *+' conftest.er1 >conftest.err
96558   rm -f conftest.er1
96559   cat conftest.err >&5
96560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96561   (exit $ac_status); } &&
96562          { ac_try='test -z "$ac_c_werror_flag"
96563                          || test ! -s conftest.err'
96564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96565   (eval $ac_try) 2>&5
96566   ac_status=$?
96567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96568   (exit $ac_status); }; } &&
96569          { ac_try='test -s conftest$ac_exeext'
96570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96571   (eval $ac_try) 2>&5
96572   ac_status=$?
96573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96574   (exit $ac_status); }; }; then
96575   eval "$as_ac_var=yes"
96576 else
96577   echo "$as_me: failed program was:" >&5
96578 sed 's/^/| /' conftest.$ac_ext >&5
96579
96580 eval "$as_ac_var=no"
96581 fi
96582 rm -f conftest.err conftest.$ac_objext \
96583       conftest$ac_exeext conftest.$ac_ext
96584 fi
96585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96587 if test `eval echo '${'$as_ac_var'}'` = yes; then
96588   cat >>confdefs.h <<_ACEOF
96589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96590 _ACEOF
96591
96592 fi
96593 done
96594
96595     fi
96596   fi
96597
96598
96599
96600
96601
96602
96603   echo "$as_me:$LINENO: checking for modf declaration" >&5
96604 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96605   if test x${glibcxx_cv_func_modf_use+set} != xset; then
96606     if test "${glibcxx_cv_func_modf_use+set}" = set; then
96607   echo $ECHO_N "(cached) $ECHO_C" >&6
96608 else
96609
96610
96611
96612       ac_ext=cc
96613 ac_cpp='$CXXCPP $CPPFLAGS'
96614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96617
96618       cat >conftest.$ac_ext <<_ACEOF
96619 /* confdefs.h.  */
96620 _ACEOF
96621 cat confdefs.h >>conftest.$ac_ext
96622 cat >>conftest.$ac_ext <<_ACEOF
96623 /* end confdefs.h.  */
96624 #include <math.h>
96625 int
96626 main ()
96627 {
96628  modf(0, 0);
96629   ;
96630   return 0;
96631 }
96632 _ACEOF
96633 rm -f conftest.$ac_objext
96634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96635   (eval $ac_compile) 2>conftest.er1
96636   ac_status=$?
96637   grep -v '^ *+' conftest.er1 >conftest.err
96638   rm -f conftest.er1
96639   cat conftest.err >&5
96640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96641   (exit $ac_status); } &&
96642          { ac_try='test -z "$ac_cxx_werror_flag"
96643                          || test ! -s conftest.err'
96644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96645   (eval $ac_try) 2>&5
96646   ac_status=$?
96647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96648   (exit $ac_status); }; } &&
96649          { ac_try='test -s conftest.$ac_objext'
96650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96651   (eval $ac_try) 2>&5
96652   ac_status=$?
96653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96654   (exit $ac_status); }; }; then
96655   glibcxx_cv_func_modf_use=yes
96656 else
96657   echo "$as_me: failed program was:" >&5
96658 sed 's/^/| /' conftest.$ac_ext >&5
96659
96660 glibcxx_cv_func_modf_use=no
96661 fi
96662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96663       ac_ext=c
96664 ac_cpp='$CPP $CPPFLAGS'
96665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96668
96669
96670 fi
96671
96672   fi
96673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96674 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96675
96676   if test x$glibcxx_cv_func_modf_use = x"yes"; then
96677
96678 for ac_func in modf
96679 do
96680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96681 echo "$as_me:$LINENO: checking for $ac_func" >&5
96682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96683 if eval "test \"\${$as_ac_var+set}\" = set"; then
96684   echo $ECHO_N "(cached) $ECHO_C" >&6
96685 else
96686   if test x$gcc_no_link = xyes; then
96687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96689    { (exit 1); exit 1; }; }
96690 fi
96691 cat >conftest.$ac_ext <<_ACEOF
96692 /* confdefs.h.  */
96693 _ACEOF
96694 cat confdefs.h >>conftest.$ac_ext
96695 cat >>conftest.$ac_ext <<_ACEOF
96696 /* end confdefs.h.  */
96697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96699 #define $ac_func innocuous_$ac_func
96700
96701 /* System header to define __stub macros and hopefully few prototypes,
96702     which can conflict with char $ac_func (); below.
96703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96704     <limits.h> exists even on freestanding compilers.  */
96705
96706 #ifdef __STDC__
96707 # include <limits.h>
96708 #else
96709 # include <assert.h>
96710 #endif
96711
96712 #undef $ac_func
96713
96714 /* Override any gcc2 internal prototype to avoid an error.  */
96715 #ifdef __cplusplus
96716 extern "C"
96717 {
96718 #endif
96719 /* We use char because int might match the return type of a gcc2
96720    builtin and then its argument prototype would still apply.  */
96721 char $ac_func ();
96722 /* The GNU C library defines this for functions which it implements
96723     to always fail with ENOSYS.  Some functions are actually named
96724     something starting with __ and the normal name is an alias.  */
96725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96726 choke me
96727 #else
96728 char (*f) () = $ac_func;
96729 #endif
96730 #ifdef __cplusplus
96731 }
96732 #endif
96733
96734 int
96735 main ()
96736 {
96737 return f != $ac_func;
96738   ;
96739   return 0;
96740 }
96741 _ACEOF
96742 rm -f conftest.$ac_objext conftest$ac_exeext
96743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96744   (eval $ac_link) 2>conftest.er1
96745   ac_status=$?
96746   grep -v '^ *+' conftest.er1 >conftest.err
96747   rm -f conftest.er1
96748   cat conftest.err >&5
96749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96750   (exit $ac_status); } &&
96751          { ac_try='test -z "$ac_c_werror_flag"
96752                          || test ! -s conftest.err'
96753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96754   (eval $ac_try) 2>&5
96755   ac_status=$?
96756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96757   (exit $ac_status); }; } &&
96758          { ac_try='test -s conftest$ac_exeext'
96759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96760   (eval $ac_try) 2>&5
96761   ac_status=$?
96762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96763   (exit $ac_status); }; }; then
96764   eval "$as_ac_var=yes"
96765 else
96766   echo "$as_me: failed program was:" >&5
96767 sed 's/^/| /' conftest.$ac_ext >&5
96768
96769 eval "$as_ac_var=no"
96770 fi
96771 rm -f conftest.err conftest.$ac_objext \
96772       conftest$ac_exeext conftest.$ac_ext
96773 fi
96774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96776 if test `eval echo '${'$as_ac_var'}'` = yes; then
96777   cat >>confdefs.h <<_ACEOF
96778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96779 _ACEOF
96780
96781 fi
96782 done
96783
96784   else
96785
96786   echo "$as_me:$LINENO: checking for _modf declaration" >&5
96787 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96788   if test x${glibcxx_cv_func__modf_use+set} != xset; then
96789     if test "${glibcxx_cv_func__modf_use+set}" = set; then
96790   echo $ECHO_N "(cached) $ECHO_C" >&6
96791 else
96792
96793
96794
96795       ac_ext=cc
96796 ac_cpp='$CXXCPP $CPPFLAGS'
96797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96800
96801       cat >conftest.$ac_ext <<_ACEOF
96802 /* confdefs.h.  */
96803 _ACEOF
96804 cat confdefs.h >>conftest.$ac_ext
96805 cat >>conftest.$ac_ext <<_ACEOF
96806 /* end confdefs.h.  */
96807 #include <math.h>
96808 int
96809 main ()
96810 {
96811  _modf(0, 0);
96812   ;
96813   return 0;
96814 }
96815 _ACEOF
96816 rm -f conftest.$ac_objext
96817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96818   (eval $ac_compile) 2>conftest.er1
96819   ac_status=$?
96820   grep -v '^ *+' conftest.er1 >conftest.err
96821   rm -f conftest.er1
96822   cat conftest.err >&5
96823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96824   (exit $ac_status); } &&
96825          { ac_try='test -z "$ac_cxx_werror_flag"
96826                          || test ! -s conftest.err'
96827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96828   (eval $ac_try) 2>&5
96829   ac_status=$?
96830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96831   (exit $ac_status); }; } &&
96832          { ac_try='test -s conftest.$ac_objext'
96833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96834   (eval $ac_try) 2>&5
96835   ac_status=$?
96836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96837   (exit $ac_status); }; }; then
96838   glibcxx_cv_func__modf_use=yes
96839 else
96840   echo "$as_me: failed program was:" >&5
96841 sed 's/^/| /' conftest.$ac_ext >&5
96842
96843 glibcxx_cv_func__modf_use=no
96844 fi
96845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96846       ac_ext=c
96847 ac_cpp='$CPP $CPPFLAGS'
96848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96851
96852
96853 fi
96854
96855   fi
96856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96857 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96858
96859     if test x$glibcxx_cv_func__modf_use = x"yes"; then
96860
96861 for ac_func in _modf
96862 do
96863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96864 echo "$as_me:$LINENO: checking for $ac_func" >&5
96865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96866 if eval "test \"\${$as_ac_var+set}\" = set"; then
96867   echo $ECHO_N "(cached) $ECHO_C" >&6
96868 else
96869   if test x$gcc_no_link = xyes; then
96870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96872    { (exit 1); exit 1; }; }
96873 fi
96874 cat >conftest.$ac_ext <<_ACEOF
96875 /* confdefs.h.  */
96876 _ACEOF
96877 cat confdefs.h >>conftest.$ac_ext
96878 cat >>conftest.$ac_ext <<_ACEOF
96879 /* end confdefs.h.  */
96880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96882 #define $ac_func innocuous_$ac_func
96883
96884 /* System header to define __stub macros and hopefully few prototypes,
96885     which can conflict with char $ac_func (); below.
96886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96887     <limits.h> exists even on freestanding compilers.  */
96888
96889 #ifdef __STDC__
96890 # include <limits.h>
96891 #else
96892 # include <assert.h>
96893 #endif
96894
96895 #undef $ac_func
96896
96897 /* Override any gcc2 internal prototype to avoid an error.  */
96898 #ifdef __cplusplus
96899 extern "C"
96900 {
96901 #endif
96902 /* We use char because int might match the return type of a gcc2
96903    builtin and then its argument prototype would still apply.  */
96904 char $ac_func ();
96905 /* The GNU C library defines this for functions which it implements
96906     to always fail with ENOSYS.  Some functions are actually named
96907     something starting with __ and the normal name is an alias.  */
96908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96909 choke me
96910 #else
96911 char (*f) () = $ac_func;
96912 #endif
96913 #ifdef __cplusplus
96914 }
96915 #endif
96916
96917 int
96918 main ()
96919 {
96920 return f != $ac_func;
96921   ;
96922   return 0;
96923 }
96924 _ACEOF
96925 rm -f conftest.$ac_objext conftest$ac_exeext
96926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96927   (eval $ac_link) 2>conftest.er1
96928   ac_status=$?
96929   grep -v '^ *+' conftest.er1 >conftest.err
96930   rm -f conftest.er1
96931   cat conftest.err >&5
96932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96933   (exit $ac_status); } &&
96934          { ac_try='test -z "$ac_c_werror_flag"
96935                          || test ! -s conftest.err'
96936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96937   (eval $ac_try) 2>&5
96938   ac_status=$?
96939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96940   (exit $ac_status); }; } &&
96941          { ac_try='test -s conftest$ac_exeext'
96942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96943   (eval $ac_try) 2>&5
96944   ac_status=$?
96945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96946   (exit $ac_status); }; }; then
96947   eval "$as_ac_var=yes"
96948 else
96949   echo "$as_me: failed program was:" >&5
96950 sed 's/^/| /' conftest.$ac_ext >&5
96951
96952 eval "$as_ac_var=no"
96953 fi
96954 rm -f conftest.err conftest.$ac_objext \
96955       conftest$ac_exeext conftest.$ac_ext
96956 fi
96957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96959 if test `eval echo '${'$as_ac_var'}'` = yes; then
96960   cat >>confdefs.h <<_ACEOF
96961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96962 _ACEOF
96963
96964 fi
96965 done
96966
96967     fi
96968   fi
96969
96970
96971
96972
96973
96974
96975   echo "$as_me:$LINENO: checking for powf declaration" >&5
96976 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96977   if test x${glibcxx_cv_func_powf_use+set} != xset; then
96978     if test "${glibcxx_cv_func_powf_use+set}" = set; then
96979   echo $ECHO_N "(cached) $ECHO_C" >&6
96980 else
96981
96982
96983
96984       ac_ext=cc
96985 ac_cpp='$CXXCPP $CPPFLAGS'
96986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96989
96990       cat >conftest.$ac_ext <<_ACEOF
96991 /* confdefs.h.  */
96992 _ACEOF
96993 cat confdefs.h >>conftest.$ac_ext
96994 cat >>conftest.$ac_ext <<_ACEOF
96995 /* end confdefs.h.  */
96996 #include <math.h>
96997 int
96998 main ()
96999 {
97000  powf(0, 0);
97001   ;
97002   return 0;
97003 }
97004 _ACEOF
97005 rm -f conftest.$ac_objext
97006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97007   (eval $ac_compile) 2>conftest.er1
97008   ac_status=$?
97009   grep -v '^ *+' conftest.er1 >conftest.err
97010   rm -f conftest.er1
97011   cat conftest.err >&5
97012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97013   (exit $ac_status); } &&
97014          { ac_try='test -z "$ac_cxx_werror_flag"
97015                          || test ! -s conftest.err'
97016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97017   (eval $ac_try) 2>&5
97018   ac_status=$?
97019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97020   (exit $ac_status); }; } &&
97021          { ac_try='test -s conftest.$ac_objext'
97022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97023   (eval $ac_try) 2>&5
97024   ac_status=$?
97025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97026   (exit $ac_status); }; }; then
97027   glibcxx_cv_func_powf_use=yes
97028 else
97029   echo "$as_me: failed program was:" >&5
97030 sed 's/^/| /' conftest.$ac_ext >&5
97031
97032 glibcxx_cv_func_powf_use=no
97033 fi
97034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97035       ac_ext=c
97036 ac_cpp='$CPP $CPPFLAGS'
97037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97040
97041
97042 fi
97043
97044   fi
97045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
97046 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
97047
97048   if test x$glibcxx_cv_func_powf_use = x"yes"; then
97049
97050 for ac_func in powf
97051 do
97052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97053 echo "$as_me:$LINENO: checking for $ac_func" >&5
97054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97055 if eval "test \"\${$as_ac_var+set}\" = set"; then
97056   echo $ECHO_N "(cached) $ECHO_C" >&6
97057 else
97058   if test x$gcc_no_link = xyes; then
97059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97061    { (exit 1); exit 1; }; }
97062 fi
97063 cat >conftest.$ac_ext <<_ACEOF
97064 /* confdefs.h.  */
97065 _ACEOF
97066 cat confdefs.h >>conftest.$ac_ext
97067 cat >>conftest.$ac_ext <<_ACEOF
97068 /* end confdefs.h.  */
97069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97071 #define $ac_func innocuous_$ac_func
97072
97073 /* System header to define __stub macros and hopefully few prototypes,
97074     which can conflict with char $ac_func (); below.
97075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97076     <limits.h> exists even on freestanding compilers.  */
97077
97078 #ifdef __STDC__
97079 # include <limits.h>
97080 #else
97081 # include <assert.h>
97082 #endif
97083
97084 #undef $ac_func
97085
97086 /* Override any gcc2 internal prototype to avoid an error.  */
97087 #ifdef __cplusplus
97088 extern "C"
97089 {
97090 #endif
97091 /* We use char because int might match the return type of a gcc2
97092    builtin and then its argument prototype would still apply.  */
97093 char $ac_func ();
97094 /* The GNU C library defines this for functions which it implements
97095     to always fail with ENOSYS.  Some functions are actually named
97096     something starting with __ and the normal name is an alias.  */
97097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97098 choke me
97099 #else
97100 char (*f) () = $ac_func;
97101 #endif
97102 #ifdef __cplusplus
97103 }
97104 #endif
97105
97106 int
97107 main ()
97108 {
97109 return f != $ac_func;
97110   ;
97111   return 0;
97112 }
97113 _ACEOF
97114 rm -f conftest.$ac_objext conftest$ac_exeext
97115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97116   (eval $ac_link) 2>conftest.er1
97117   ac_status=$?
97118   grep -v '^ *+' conftest.er1 >conftest.err
97119   rm -f conftest.er1
97120   cat conftest.err >&5
97121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97122   (exit $ac_status); } &&
97123          { ac_try='test -z "$ac_c_werror_flag"
97124                          || test ! -s conftest.err'
97125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97126   (eval $ac_try) 2>&5
97127   ac_status=$?
97128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97129   (exit $ac_status); }; } &&
97130          { ac_try='test -s conftest$ac_exeext'
97131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97132   (eval $ac_try) 2>&5
97133   ac_status=$?
97134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97135   (exit $ac_status); }; }; then
97136   eval "$as_ac_var=yes"
97137 else
97138   echo "$as_me: failed program was:" >&5
97139 sed 's/^/| /' conftest.$ac_ext >&5
97140
97141 eval "$as_ac_var=no"
97142 fi
97143 rm -f conftest.err conftest.$ac_objext \
97144       conftest$ac_exeext conftest.$ac_ext
97145 fi
97146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97148 if test `eval echo '${'$as_ac_var'}'` = yes; then
97149   cat >>confdefs.h <<_ACEOF
97150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97151 _ACEOF
97152
97153 fi
97154 done
97155
97156   else
97157
97158   echo "$as_me:$LINENO: checking for _powf declaration" >&5
97159 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
97160   if test x${glibcxx_cv_func__powf_use+set} != xset; then
97161     if test "${glibcxx_cv_func__powf_use+set}" = set; then
97162   echo $ECHO_N "(cached) $ECHO_C" >&6
97163 else
97164
97165
97166
97167       ac_ext=cc
97168 ac_cpp='$CXXCPP $CPPFLAGS'
97169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97172
97173       cat >conftest.$ac_ext <<_ACEOF
97174 /* confdefs.h.  */
97175 _ACEOF
97176 cat confdefs.h >>conftest.$ac_ext
97177 cat >>conftest.$ac_ext <<_ACEOF
97178 /* end confdefs.h.  */
97179 #include <math.h>
97180 int
97181 main ()
97182 {
97183  _powf(0, 0);
97184   ;
97185   return 0;
97186 }
97187 _ACEOF
97188 rm -f conftest.$ac_objext
97189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97190   (eval $ac_compile) 2>conftest.er1
97191   ac_status=$?
97192   grep -v '^ *+' conftest.er1 >conftest.err
97193   rm -f conftest.er1
97194   cat conftest.err >&5
97195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97196   (exit $ac_status); } &&
97197          { ac_try='test -z "$ac_cxx_werror_flag"
97198                          || test ! -s conftest.err'
97199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97200   (eval $ac_try) 2>&5
97201   ac_status=$?
97202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97203   (exit $ac_status); }; } &&
97204          { ac_try='test -s conftest.$ac_objext'
97205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97206   (eval $ac_try) 2>&5
97207   ac_status=$?
97208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97209   (exit $ac_status); }; }; then
97210   glibcxx_cv_func__powf_use=yes
97211 else
97212   echo "$as_me: failed program was:" >&5
97213 sed 's/^/| /' conftest.$ac_ext >&5
97214
97215 glibcxx_cv_func__powf_use=no
97216 fi
97217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97218       ac_ext=c
97219 ac_cpp='$CPP $CPPFLAGS'
97220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97223
97224
97225 fi
97226
97227   fi
97228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
97229 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
97230
97231     if test x$glibcxx_cv_func__powf_use = x"yes"; then
97232
97233 for ac_func in _powf
97234 do
97235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97236 echo "$as_me:$LINENO: checking for $ac_func" >&5
97237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97238 if eval "test \"\${$as_ac_var+set}\" = set"; then
97239   echo $ECHO_N "(cached) $ECHO_C" >&6
97240 else
97241   if test x$gcc_no_link = xyes; then
97242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97244    { (exit 1); exit 1; }; }
97245 fi
97246 cat >conftest.$ac_ext <<_ACEOF
97247 /* confdefs.h.  */
97248 _ACEOF
97249 cat confdefs.h >>conftest.$ac_ext
97250 cat >>conftest.$ac_ext <<_ACEOF
97251 /* end confdefs.h.  */
97252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97254 #define $ac_func innocuous_$ac_func
97255
97256 /* System header to define __stub macros and hopefully few prototypes,
97257     which can conflict with char $ac_func (); below.
97258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97259     <limits.h> exists even on freestanding compilers.  */
97260
97261 #ifdef __STDC__
97262 # include <limits.h>
97263 #else
97264 # include <assert.h>
97265 #endif
97266
97267 #undef $ac_func
97268
97269 /* Override any gcc2 internal prototype to avoid an error.  */
97270 #ifdef __cplusplus
97271 extern "C"
97272 {
97273 #endif
97274 /* We use char because int might match the return type of a gcc2
97275    builtin and then its argument prototype would still apply.  */
97276 char $ac_func ();
97277 /* The GNU C library defines this for functions which it implements
97278     to always fail with ENOSYS.  Some functions are actually named
97279     something starting with __ and the normal name is an alias.  */
97280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97281 choke me
97282 #else
97283 char (*f) () = $ac_func;
97284 #endif
97285 #ifdef __cplusplus
97286 }
97287 #endif
97288
97289 int
97290 main ()
97291 {
97292 return f != $ac_func;
97293   ;
97294   return 0;
97295 }
97296 _ACEOF
97297 rm -f conftest.$ac_objext conftest$ac_exeext
97298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97299   (eval $ac_link) 2>conftest.er1
97300   ac_status=$?
97301   grep -v '^ *+' conftest.er1 >conftest.err
97302   rm -f conftest.er1
97303   cat conftest.err >&5
97304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97305   (exit $ac_status); } &&
97306          { ac_try='test -z "$ac_c_werror_flag"
97307                          || test ! -s conftest.err'
97308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97309   (eval $ac_try) 2>&5
97310   ac_status=$?
97311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97312   (exit $ac_status); }; } &&
97313          { ac_try='test -s conftest$ac_exeext'
97314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97315   (eval $ac_try) 2>&5
97316   ac_status=$?
97317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97318   (exit $ac_status); }; }; then
97319   eval "$as_ac_var=yes"
97320 else
97321   echo "$as_me: failed program was:" >&5
97322 sed 's/^/| /' conftest.$ac_ext >&5
97323
97324 eval "$as_ac_var=no"
97325 fi
97326 rm -f conftest.err conftest.$ac_objext \
97327       conftest$ac_exeext conftest.$ac_ext
97328 fi
97329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97331 if test `eval echo '${'$as_ac_var'}'` = yes; then
97332   cat >>confdefs.h <<_ACEOF
97333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97334 _ACEOF
97335
97336 fi
97337 done
97338
97339     fi
97340   fi
97341
97342
97343
97344
97345
97346
97347   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97348 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97349   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97350     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97351   echo $ECHO_N "(cached) $ECHO_C" >&6
97352 else
97353
97354
97355
97356       ac_ext=cc
97357 ac_cpp='$CXXCPP $CPPFLAGS'
97358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97361
97362       cat >conftest.$ac_ext <<_ACEOF
97363 /* confdefs.h.  */
97364 _ACEOF
97365 cat confdefs.h >>conftest.$ac_ext
97366 cat >>conftest.$ac_ext <<_ACEOF
97367 /* end confdefs.h.  */
97368 #include <math.h>
97369                       #ifdef HAVE_IEEEFP_H
97370                       #include <ieeefp.h>
97371                       #endif
97372
97373 int
97374 main ()
97375 {
97376  sqrtf(0);
97377   ;
97378   return 0;
97379 }
97380 _ACEOF
97381 rm -f conftest.$ac_objext
97382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97383   (eval $ac_compile) 2>conftest.er1
97384   ac_status=$?
97385   grep -v '^ *+' conftest.er1 >conftest.err
97386   rm -f conftest.er1
97387   cat conftest.err >&5
97388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97389   (exit $ac_status); } &&
97390          { ac_try='test -z "$ac_cxx_werror_flag"
97391                          || test ! -s conftest.err'
97392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97393   (eval $ac_try) 2>&5
97394   ac_status=$?
97395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97396   (exit $ac_status); }; } &&
97397          { ac_try='test -s conftest.$ac_objext'
97398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97399   (eval $ac_try) 2>&5
97400   ac_status=$?
97401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97402   (exit $ac_status); }; }; then
97403   glibcxx_cv_func_sqrtf_use=yes
97404 else
97405   echo "$as_me: failed program was:" >&5
97406 sed 's/^/| /' conftest.$ac_ext >&5
97407
97408 glibcxx_cv_func_sqrtf_use=no
97409 fi
97410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97411       ac_ext=c
97412 ac_cpp='$CPP $CPPFLAGS'
97413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97416
97417
97418 fi
97419
97420   fi
97421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97422 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97423
97424   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97425
97426 for ac_func in sqrtf
97427 do
97428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97429 echo "$as_me:$LINENO: checking for $ac_func" >&5
97430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97431 if eval "test \"\${$as_ac_var+set}\" = set"; then
97432   echo $ECHO_N "(cached) $ECHO_C" >&6
97433 else
97434   if test x$gcc_no_link = xyes; then
97435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97437    { (exit 1); exit 1; }; }
97438 fi
97439 cat >conftest.$ac_ext <<_ACEOF
97440 /* confdefs.h.  */
97441 _ACEOF
97442 cat confdefs.h >>conftest.$ac_ext
97443 cat >>conftest.$ac_ext <<_ACEOF
97444 /* end confdefs.h.  */
97445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97447 #define $ac_func innocuous_$ac_func
97448
97449 /* System header to define __stub macros and hopefully few prototypes,
97450     which can conflict with char $ac_func (); below.
97451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97452     <limits.h> exists even on freestanding compilers.  */
97453
97454 #ifdef __STDC__
97455 # include <limits.h>
97456 #else
97457 # include <assert.h>
97458 #endif
97459
97460 #undef $ac_func
97461
97462 /* Override any gcc2 internal prototype to avoid an error.  */
97463 #ifdef __cplusplus
97464 extern "C"
97465 {
97466 #endif
97467 /* We use char because int might match the return type of a gcc2
97468    builtin and then its argument prototype would still apply.  */
97469 char $ac_func ();
97470 /* The GNU C library defines this for functions which it implements
97471     to always fail with ENOSYS.  Some functions are actually named
97472     something starting with __ and the normal name is an alias.  */
97473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97474 choke me
97475 #else
97476 char (*f) () = $ac_func;
97477 #endif
97478 #ifdef __cplusplus
97479 }
97480 #endif
97481
97482 int
97483 main ()
97484 {
97485 return f != $ac_func;
97486   ;
97487   return 0;
97488 }
97489 _ACEOF
97490 rm -f conftest.$ac_objext conftest$ac_exeext
97491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97492   (eval $ac_link) 2>conftest.er1
97493   ac_status=$?
97494   grep -v '^ *+' conftest.er1 >conftest.err
97495   rm -f conftest.er1
97496   cat conftest.err >&5
97497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97498   (exit $ac_status); } &&
97499          { ac_try='test -z "$ac_c_werror_flag"
97500                          || test ! -s conftest.err'
97501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97502   (eval $ac_try) 2>&5
97503   ac_status=$?
97504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97505   (exit $ac_status); }; } &&
97506          { ac_try='test -s conftest$ac_exeext'
97507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97508   (eval $ac_try) 2>&5
97509   ac_status=$?
97510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97511   (exit $ac_status); }; }; then
97512   eval "$as_ac_var=yes"
97513 else
97514   echo "$as_me: failed program was:" >&5
97515 sed 's/^/| /' conftest.$ac_ext >&5
97516
97517 eval "$as_ac_var=no"
97518 fi
97519 rm -f conftest.err conftest.$ac_objext \
97520       conftest$ac_exeext conftest.$ac_ext
97521 fi
97522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97524 if test `eval echo '${'$as_ac_var'}'` = yes; then
97525   cat >>confdefs.h <<_ACEOF
97526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97527 _ACEOF
97528
97529 fi
97530 done
97531
97532   else
97533
97534   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97535 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97536   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97537     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97538   echo $ECHO_N "(cached) $ECHO_C" >&6
97539 else
97540
97541
97542
97543       ac_ext=cc
97544 ac_cpp='$CXXCPP $CPPFLAGS'
97545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97548
97549       cat >conftest.$ac_ext <<_ACEOF
97550 /* confdefs.h.  */
97551 _ACEOF
97552 cat confdefs.h >>conftest.$ac_ext
97553 cat >>conftest.$ac_ext <<_ACEOF
97554 /* end confdefs.h.  */
97555 #include <math.h>
97556                       #ifdef HAVE_IEEEFP_H
97557                       #include <ieeefp.h>
97558                       #endif
97559
97560 int
97561 main ()
97562 {
97563  _sqrtf(0);
97564   ;
97565   return 0;
97566 }
97567 _ACEOF
97568 rm -f conftest.$ac_objext
97569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97570   (eval $ac_compile) 2>conftest.er1
97571   ac_status=$?
97572   grep -v '^ *+' conftest.er1 >conftest.err
97573   rm -f conftest.er1
97574   cat conftest.err >&5
97575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97576   (exit $ac_status); } &&
97577          { ac_try='test -z "$ac_cxx_werror_flag"
97578                          || test ! -s conftest.err'
97579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97580   (eval $ac_try) 2>&5
97581   ac_status=$?
97582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97583   (exit $ac_status); }; } &&
97584          { ac_try='test -s conftest.$ac_objext'
97585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97586   (eval $ac_try) 2>&5
97587   ac_status=$?
97588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97589   (exit $ac_status); }; }; then
97590   glibcxx_cv_func__sqrtf_use=yes
97591 else
97592   echo "$as_me: failed program was:" >&5
97593 sed 's/^/| /' conftest.$ac_ext >&5
97594
97595 glibcxx_cv_func__sqrtf_use=no
97596 fi
97597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97598       ac_ext=c
97599 ac_cpp='$CPP $CPPFLAGS'
97600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97603
97604
97605 fi
97606
97607   fi
97608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97609 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97610
97611     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97612
97613 for ac_func in _sqrtf
97614 do
97615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97616 echo "$as_me:$LINENO: checking for $ac_func" >&5
97617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97618 if eval "test \"\${$as_ac_var+set}\" = set"; then
97619   echo $ECHO_N "(cached) $ECHO_C" >&6
97620 else
97621   if test x$gcc_no_link = xyes; then
97622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97624    { (exit 1); exit 1; }; }
97625 fi
97626 cat >conftest.$ac_ext <<_ACEOF
97627 /* confdefs.h.  */
97628 _ACEOF
97629 cat confdefs.h >>conftest.$ac_ext
97630 cat >>conftest.$ac_ext <<_ACEOF
97631 /* end confdefs.h.  */
97632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97634 #define $ac_func innocuous_$ac_func
97635
97636 /* System header to define __stub macros and hopefully few prototypes,
97637     which can conflict with char $ac_func (); below.
97638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97639     <limits.h> exists even on freestanding compilers.  */
97640
97641 #ifdef __STDC__
97642 # include <limits.h>
97643 #else
97644 # include <assert.h>
97645 #endif
97646
97647 #undef $ac_func
97648
97649 /* Override any gcc2 internal prototype to avoid an error.  */
97650 #ifdef __cplusplus
97651 extern "C"
97652 {
97653 #endif
97654 /* We use char because int might match the return type of a gcc2
97655    builtin and then its argument prototype would still apply.  */
97656 char $ac_func ();
97657 /* The GNU C library defines this for functions which it implements
97658     to always fail with ENOSYS.  Some functions are actually named
97659     something starting with __ and the normal name is an alias.  */
97660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97661 choke me
97662 #else
97663 char (*f) () = $ac_func;
97664 #endif
97665 #ifdef __cplusplus
97666 }
97667 #endif
97668
97669 int
97670 main ()
97671 {
97672 return f != $ac_func;
97673   ;
97674   return 0;
97675 }
97676 _ACEOF
97677 rm -f conftest.$ac_objext conftest$ac_exeext
97678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97679   (eval $ac_link) 2>conftest.er1
97680   ac_status=$?
97681   grep -v '^ *+' conftest.er1 >conftest.err
97682   rm -f conftest.er1
97683   cat conftest.err >&5
97684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97685   (exit $ac_status); } &&
97686          { ac_try='test -z "$ac_c_werror_flag"
97687                          || test ! -s conftest.err'
97688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97689   (eval $ac_try) 2>&5
97690   ac_status=$?
97691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97692   (exit $ac_status); }; } &&
97693          { ac_try='test -s conftest$ac_exeext'
97694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97695   (eval $ac_try) 2>&5
97696   ac_status=$?
97697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97698   (exit $ac_status); }; }; then
97699   eval "$as_ac_var=yes"
97700 else
97701   echo "$as_me: failed program was:" >&5
97702 sed 's/^/| /' conftest.$ac_ext >&5
97703
97704 eval "$as_ac_var=no"
97705 fi
97706 rm -f conftest.err conftest.$ac_objext \
97707       conftest$ac_exeext conftest.$ac_ext
97708 fi
97709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97711 if test `eval echo '${'$as_ac_var'}'` = yes; then
97712   cat >>confdefs.h <<_ACEOF
97713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97714 _ACEOF
97715
97716 fi
97717 done
97718
97719     fi
97720   fi
97721
97722
97723
97724
97725
97726
97727   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97728 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97729   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97730     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97731   echo $ECHO_N "(cached) $ECHO_C" >&6
97732 else
97733
97734
97735
97736       ac_ext=cc
97737 ac_cpp='$CXXCPP $CPPFLAGS'
97738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97741
97742       cat >conftest.$ac_ext <<_ACEOF
97743 /* confdefs.h.  */
97744 _ACEOF
97745 cat confdefs.h >>conftest.$ac_ext
97746 cat >>conftest.$ac_ext <<_ACEOF
97747 /* end confdefs.h.  */
97748 #include <math.h>
97749 int
97750 main ()
97751 {
97752  sincosf(0, 0, 0);
97753   ;
97754   return 0;
97755 }
97756 _ACEOF
97757 rm -f conftest.$ac_objext
97758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97759   (eval $ac_compile) 2>conftest.er1
97760   ac_status=$?
97761   grep -v '^ *+' conftest.er1 >conftest.err
97762   rm -f conftest.er1
97763   cat conftest.err >&5
97764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97765   (exit $ac_status); } &&
97766          { ac_try='test -z "$ac_cxx_werror_flag"
97767                          || test ! -s conftest.err'
97768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97769   (eval $ac_try) 2>&5
97770   ac_status=$?
97771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97772   (exit $ac_status); }; } &&
97773          { ac_try='test -s conftest.$ac_objext'
97774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97775   (eval $ac_try) 2>&5
97776   ac_status=$?
97777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97778   (exit $ac_status); }; }; then
97779   glibcxx_cv_func_sincosf_use=yes
97780 else
97781   echo "$as_me: failed program was:" >&5
97782 sed 's/^/| /' conftest.$ac_ext >&5
97783
97784 glibcxx_cv_func_sincosf_use=no
97785 fi
97786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97787       ac_ext=c
97788 ac_cpp='$CPP $CPPFLAGS'
97789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97792
97793
97794 fi
97795
97796   fi
97797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97798 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97799
97800   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97801
97802 for ac_func in sincosf
97803 do
97804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97805 echo "$as_me:$LINENO: checking for $ac_func" >&5
97806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97807 if eval "test \"\${$as_ac_var+set}\" = set"; then
97808   echo $ECHO_N "(cached) $ECHO_C" >&6
97809 else
97810   if test x$gcc_no_link = xyes; then
97811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97813    { (exit 1); exit 1; }; }
97814 fi
97815 cat >conftest.$ac_ext <<_ACEOF
97816 /* confdefs.h.  */
97817 _ACEOF
97818 cat confdefs.h >>conftest.$ac_ext
97819 cat >>conftest.$ac_ext <<_ACEOF
97820 /* end confdefs.h.  */
97821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97823 #define $ac_func innocuous_$ac_func
97824
97825 /* System header to define __stub macros and hopefully few prototypes,
97826     which can conflict with char $ac_func (); below.
97827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97828     <limits.h> exists even on freestanding compilers.  */
97829
97830 #ifdef __STDC__
97831 # include <limits.h>
97832 #else
97833 # include <assert.h>
97834 #endif
97835
97836 #undef $ac_func
97837
97838 /* Override any gcc2 internal prototype to avoid an error.  */
97839 #ifdef __cplusplus
97840 extern "C"
97841 {
97842 #endif
97843 /* We use char because int might match the return type of a gcc2
97844    builtin and then its argument prototype would still apply.  */
97845 char $ac_func ();
97846 /* The GNU C library defines this for functions which it implements
97847     to always fail with ENOSYS.  Some functions are actually named
97848     something starting with __ and the normal name is an alias.  */
97849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97850 choke me
97851 #else
97852 char (*f) () = $ac_func;
97853 #endif
97854 #ifdef __cplusplus
97855 }
97856 #endif
97857
97858 int
97859 main ()
97860 {
97861 return f != $ac_func;
97862   ;
97863   return 0;
97864 }
97865 _ACEOF
97866 rm -f conftest.$ac_objext conftest$ac_exeext
97867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97868   (eval $ac_link) 2>conftest.er1
97869   ac_status=$?
97870   grep -v '^ *+' conftest.er1 >conftest.err
97871   rm -f conftest.er1
97872   cat conftest.err >&5
97873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97874   (exit $ac_status); } &&
97875          { ac_try='test -z "$ac_c_werror_flag"
97876                          || test ! -s conftest.err'
97877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97878   (eval $ac_try) 2>&5
97879   ac_status=$?
97880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97881   (exit $ac_status); }; } &&
97882          { ac_try='test -s conftest$ac_exeext'
97883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97884   (eval $ac_try) 2>&5
97885   ac_status=$?
97886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97887   (exit $ac_status); }; }; then
97888   eval "$as_ac_var=yes"
97889 else
97890   echo "$as_me: failed program was:" >&5
97891 sed 's/^/| /' conftest.$ac_ext >&5
97892
97893 eval "$as_ac_var=no"
97894 fi
97895 rm -f conftest.err conftest.$ac_objext \
97896       conftest$ac_exeext conftest.$ac_ext
97897 fi
97898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97900 if test `eval echo '${'$as_ac_var'}'` = yes; then
97901   cat >>confdefs.h <<_ACEOF
97902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97903 _ACEOF
97904
97905 fi
97906 done
97907
97908   else
97909
97910   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97911 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97912   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97913     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97914   echo $ECHO_N "(cached) $ECHO_C" >&6
97915 else
97916
97917
97918
97919       ac_ext=cc
97920 ac_cpp='$CXXCPP $CPPFLAGS'
97921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97924
97925       cat >conftest.$ac_ext <<_ACEOF
97926 /* confdefs.h.  */
97927 _ACEOF
97928 cat confdefs.h >>conftest.$ac_ext
97929 cat >>conftest.$ac_ext <<_ACEOF
97930 /* end confdefs.h.  */
97931 #include <math.h>
97932 int
97933 main ()
97934 {
97935  _sincosf(0, 0, 0);
97936   ;
97937   return 0;
97938 }
97939 _ACEOF
97940 rm -f conftest.$ac_objext
97941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97942   (eval $ac_compile) 2>conftest.er1
97943   ac_status=$?
97944   grep -v '^ *+' conftest.er1 >conftest.err
97945   rm -f conftest.er1
97946   cat conftest.err >&5
97947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97948   (exit $ac_status); } &&
97949          { ac_try='test -z "$ac_cxx_werror_flag"
97950                          || test ! -s conftest.err'
97951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97952   (eval $ac_try) 2>&5
97953   ac_status=$?
97954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97955   (exit $ac_status); }; } &&
97956          { ac_try='test -s conftest.$ac_objext'
97957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97958   (eval $ac_try) 2>&5
97959   ac_status=$?
97960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97961   (exit $ac_status); }; }; then
97962   glibcxx_cv_func__sincosf_use=yes
97963 else
97964   echo "$as_me: failed program was:" >&5
97965 sed 's/^/| /' conftest.$ac_ext >&5
97966
97967 glibcxx_cv_func__sincosf_use=no
97968 fi
97969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97970       ac_ext=c
97971 ac_cpp='$CPP $CPPFLAGS'
97972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97975
97976
97977 fi
97978
97979   fi
97980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97981 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97982
97983     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97984
97985 for ac_func in _sincosf
97986 do
97987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97988 echo "$as_me:$LINENO: checking for $ac_func" >&5
97989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97990 if eval "test \"\${$as_ac_var+set}\" = set"; then
97991   echo $ECHO_N "(cached) $ECHO_C" >&6
97992 else
97993   if test x$gcc_no_link = xyes; then
97994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97996    { (exit 1); exit 1; }; }
97997 fi
97998 cat >conftest.$ac_ext <<_ACEOF
97999 /* confdefs.h.  */
98000 _ACEOF
98001 cat confdefs.h >>conftest.$ac_ext
98002 cat >>conftest.$ac_ext <<_ACEOF
98003 /* end confdefs.h.  */
98004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98006 #define $ac_func innocuous_$ac_func
98007
98008 /* System header to define __stub macros and hopefully few prototypes,
98009     which can conflict with char $ac_func (); below.
98010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98011     <limits.h> exists even on freestanding compilers.  */
98012
98013 #ifdef __STDC__
98014 # include <limits.h>
98015 #else
98016 # include <assert.h>
98017 #endif
98018
98019 #undef $ac_func
98020
98021 /* Override any gcc2 internal prototype to avoid an error.  */
98022 #ifdef __cplusplus
98023 extern "C"
98024 {
98025 #endif
98026 /* We use char because int might match the return type of a gcc2
98027    builtin and then its argument prototype would still apply.  */
98028 char $ac_func ();
98029 /* The GNU C library defines this for functions which it implements
98030     to always fail with ENOSYS.  Some functions are actually named
98031     something starting with __ and the normal name is an alias.  */
98032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98033 choke me
98034 #else
98035 char (*f) () = $ac_func;
98036 #endif
98037 #ifdef __cplusplus
98038 }
98039 #endif
98040
98041 int
98042 main ()
98043 {
98044 return f != $ac_func;
98045   ;
98046   return 0;
98047 }
98048 _ACEOF
98049 rm -f conftest.$ac_objext conftest$ac_exeext
98050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98051   (eval $ac_link) 2>conftest.er1
98052   ac_status=$?
98053   grep -v '^ *+' conftest.er1 >conftest.err
98054   rm -f conftest.er1
98055   cat conftest.err >&5
98056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98057   (exit $ac_status); } &&
98058          { ac_try='test -z "$ac_c_werror_flag"
98059                          || test ! -s conftest.err'
98060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98061   (eval $ac_try) 2>&5
98062   ac_status=$?
98063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98064   (exit $ac_status); }; } &&
98065          { ac_try='test -s conftest$ac_exeext'
98066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98067   (eval $ac_try) 2>&5
98068   ac_status=$?
98069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98070   (exit $ac_status); }; }; then
98071   eval "$as_ac_var=yes"
98072 else
98073   echo "$as_me: failed program was:" >&5
98074 sed 's/^/| /' conftest.$ac_ext >&5
98075
98076 eval "$as_ac_var=no"
98077 fi
98078 rm -f conftest.err conftest.$ac_objext \
98079       conftest$ac_exeext conftest.$ac_ext
98080 fi
98081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98083 if test `eval echo '${'$as_ac_var'}'` = yes; then
98084   cat >>confdefs.h <<_ACEOF
98085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98086 _ACEOF
98087
98088 fi
98089 done
98090
98091     fi
98092   fi
98093
98094
98095
98096
98097
98098
98099   echo "$as_me:$LINENO: checking for finitef declaration" >&5
98100 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
98101   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
98102     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
98103   echo $ECHO_N "(cached) $ECHO_C" >&6
98104 else
98105
98106
98107
98108       ac_ext=cc
98109 ac_cpp='$CXXCPP $CPPFLAGS'
98110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98113
98114       cat >conftest.$ac_ext <<_ACEOF
98115 /* confdefs.h.  */
98116 _ACEOF
98117 cat confdefs.h >>conftest.$ac_ext
98118 cat >>conftest.$ac_ext <<_ACEOF
98119 /* end confdefs.h.  */
98120 #include <math.h>
98121                       #ifdef HAVE_IEEEFP_H
98122                       #include <ieeefp.h>
98123                       #endif
98124
98125 int
98126 main ()
98127 {
98128  finitef(0);
98129   ;
98130   return 0;
98131 }
98132 _ACEOF
98133 rm -f conftest.$ac_objext
98134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98135   (eval $ac_compile) 2>conftest.er1
98136   ac_status=$?
98137   grep -v '^ *+' conftest.er1 >conftest.err
98138   rm -f conftest.er1
98139   cat conftest.err >&5
98140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98141   (exit $ac_status); } &&
98142          { ac_try='test -z "$ac_cxx_werror_flag"
98143                          || test ! -s conftest.err'
98144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98145   (eval $ac_try) 2>&5
98146   ac_status=$?
98147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98148   (exit $ac_status); }; } &&
98149          { ac_try='test -s conftest.$ac_objext'
98150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98151   (eval $ac_try) 2>&5
98152   ac_status=$?
98153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98154   (exit $ac_status); }; }; then
98155   glibcxx_cv_func_finitef_use=yes
98156 else
98157   echo "$as_me: failed program was:" >&5
98158 sed 's/^/| /' conftest.$ac_ext >&5
98159
98160 glibcxx_cv_func_finitef_use=no
98161 fi
98162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98163       ac_ext=c
98164 ac_cpp='$CPP $CPPFLAGS'
98165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98168
98169
98170 fi
98171
98172   fi
98173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
98174 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
98175
98176   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
98177
98178 for ac_func in finitef
98179 do
98180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98181 echo "$as_me:$LINENO: checking for $ac_func" >&5
98182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98183 if eval "test \"\${$as_ac_var+set}\" = set"; then
98184   echo $ECHO_N "(cached) $ECHO_C" >&6
98185 else
98186   if test x$gcc_no_link = xyes; then
98187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98189    { (exit 1); exit 1; }; }
98190 fi
98191 cat >conftest.$ac_ext <<_ACEOF
98192 /* confdefs.h.  */
98193 _ACEOF
98194 cat confdefs.h >>conftest.$ac_ext
98195 cat >>conftest.$ac_ext <<_ACEOF
98196 /* end confdefs.h.  */
98197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98199 #define $ac_func innocuous_$ac_func
98200
98201 /* System header to define __stub macros and hopefully few prototypes,
98202     which can conflict with char $ac_func (); below.
98203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98204     <limits.h> exists even on freestanding compilers.  */
98205
98206 #ifdef __STDC__
98207 # include <limits.h>
98208 #else
98209 # include <assert.h>
98210 #endif
98211
98212 #undef $ac_func
98213
98214 /* Override any gcc2 internal prototype to avoid an error.  */
98215 #ifdef __cplusplus
98216 extern "C"
98217 {
98218 #endif
98219 /* We use char because int might match the return type of a gcc2
98220    builtin and then its argument prototype would still apply.  */
98221 char $ac_func ();
98222 /* The GNU C library defines this for functions which it implements
98223     to always fail with ENOSYS.  Some functions are actually named
98224     something starting with __ and the normal name is an alias.  */
98225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98226 choke me
98227 #else
98228 char (*f) () = $ac_func;
98229 #endif
98230 #ifdef __cplusplus
98231 }
98232 #endif
98233
98234 int
98235 main ()
98236 {
98237 return f != $ac_func;
98238   ;
98239   return 0;
98240 }
98241 _ACEOF
98242 rm -f conftest.$ac_objext conftest$ac_exeext
98243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98244   (eval $ac_link) 2>conftest.er1
98245   ac_status=$?
98246   grep -v '^ *+' conftest.er1 >conftest.err
98247   rm -f conftest.er1
98248   cat conftest.err >&5
98249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98250   (exit $ac_status); } &&
98251          { ac_try='test -z "$ac_c_werror_flag"
98252                          || test ! -s conftest.err'
98253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98254   (eval $ac_try) 2>&5
98255   ac_status=$?
98256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98257   (exit $ac_status); }; } &&
98258          { ac_try='test -s conftest$ac_exeext'
98259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98260   (eval $ac_try) 2>&5
98261   ac_status=$?
98262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98263   (exit $ac_status); }; }; then
98264   eval "$as_ac_var=yes"
98265 else
98266   echo "$as_me: failed program was:" >&5
98267 sed 's/^/| /' conftest.$ac_ext >&5
98268
98269 eval "$as_ac_var=no"
98270 fi
98271 rm -f conftest.err conftest.$ac_objext \
98272       conftest$ac_exeext conftest.$ac_ext
98273 fi
98274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98276 if test `eval echo '${'$as_ac_var'}'` = yes; then
98277   cat >>confdefs.h <<_ACEOF
98278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98279 _ACEOF
98280
98281 fi
98282 done
98283
98284   else
98285
98286   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
98287 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
98288   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
98289     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
98290   echo $ECHO_N "(cached) $ECHO_C" >&6
98291 else
98292
98293
98294
98295       ac_ext=cc
98296 ac_cpp='$CXXCPP $CPPFLAGS'
98297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98300
98301       cat >conftest.$ac_ext <<_ACEOF
98302 /* confdefs.h.  */
98303 _ACEOF
98304 cat confdefs.h >>conftest.$ac_ext
98305 cat >>conftest.$ac_ext <<_ACEOF
98306 /* end confdefs.h.  */
98307 #include <math.h>
98308                       #ifdef HAVE_IEEEFP_H
98309                       #include <ieeefp.h>
98310                       #endif
98311
98312 int
98313 main ()
98314 {
98315  _finitef(0);
98316   ;
98317   return 0;
98318 }
98319 _ACEOF
98320 rm -f conftest.$ac_objext
98321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98322   (eval $ac_compile) 2>conftest.er1
98323   ac_status=$?
98324   grep -v '^ *+' conftest.er1 >conftest.err
98325   rm -f conftest.er1
98326   cat conftest.err >&5
98327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98328   (exit $ac_status); } &&
98329          { ac_try='test -z "$ac_cxx_werror_flag"
98330                          || test ! -s conftest.err'
98331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98332   (eval $ac_try) 2>&5
98333   ac_status=$?
98334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98335   (exit $ac_status); }; } &&
98336          { ac_try='test -s conftest.$ac_objext'
98337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98338   (eval $ac_try) 2>&5
98339   ac_status=$?
98340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98341   (exit $ac_status); }; }; then
98342   glibcxx_cv_func__finitef_use=yes
98343 else
98344   echo "$as_me: failed program was:" >&5
98345 sed 's/^/| /' conftest.$ac_ext >&5
98346
98347 glibcxx_cv_func__finitef_use=no
98348 fi
98349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98350       ac_ext=c
98351 ac_cpp='$CPP $CPPFLAGS'
98352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98355
98356
98357 fi
98358
98359   fi
98360   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98361 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98362
98363     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98364
98365 for ac_func in _finitef
98366 do
98367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98368 echo "$as_me:$LINENO: checking for $ac_func" >&5
98369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98370 if eval "test \"\${$as_ac_var+set}\" = set"; then
98371   echo $ECHO_N "(cached) $ECHO_C" >&6
98372 else
98373   if test x$gcc_no_link = xyes; then
98374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98376    { (exit 1); exit 1; }; }
98377 fi
98378 cat >conftest.$ac_ext <<_ACEOF
98379 /* confdefs.h.  */
98380 _ACEOF
98381 cat confdefs.h >>conftest.$ac_ext
98382 cat >>conftest.$ac_ext <<_ACEOF
98383 /* end confdefs.h.  */
98384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98386 #define $ac_func innocuous_$ac_func
98387
98388 /* System header to define __stub macros and hopefully few prototypes,
98389     which can conflict with char $ac_func (); below.
98390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98391     <limits.h> exists even on freestanding compilers.  */
98392
98393 #ifdef __STDC__
98394 # include <limits.h>
98395 #else
98396 # include <assert.h>
98397 #endif
98398
98399 #undef $ac_func
98400
98401 /* Override any gcc2 internal prototype to avoid an error.  */
98402 #ifdef __cplusplus
98403 extern "C"
98404 {
98405 #endif
98406 /* We use char because int might match the return type of a gcc2
98407    builtin and then its argument prototype would still apply.  */
98408 char $ac_func ();
98409 /* The GNU C library defines this for functions which it implements
98410     to always fail with ENOSYS.  Some functions are actually named
98411     something starting with __ and the normal name is an alias.  */
98412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98413 choke me
98414 #else
98415 char (*f) () = $ac_func;
98416 #endif
98417 #ifdef __cplusplus
98418 }
98419 #endif
98420
98421 int
98422 main ()
98423 {
98424 return f != $ac_func;
98425   ;
98426   return 0;
98427 }
98428 _ACEOF
98429 rm -f conftest.$ac_objext conftest$ac_exeext
98430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98431   (eval $ac_link) 2>conftest.er1
98432   ac_status=$?
98433   grep -v '^ *+' conftest.er1 >conftest.err
98434   rm -f conftest.er1
98435   cat conftest.err >&5
98436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98437   (exit $ac_status); } &&
98438          { ac_try='test -z "$ac_c_werror_flag"
98439                          || test ! -s conftest.err'
98440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98441   (eval $ac_try) 2>&5
98442   ac_status=$?
98443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98444   (exit $ac_status); }; } &&
98445          { ac_try='test -s conftest$ac_exeext'
98446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98447   (eval $ac_try) 2>&5
98448   ac_status=$?
98449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98450   (exit $ac_status); }; }; then
98451   eval "$as_ac_var=yes"
98452 else
98453   echo "$as_me: failed program was:" >&5
98454 sed 's/^/| /' conftest.$ac_ext >&5
98455
98456 eval "$as_ac_var=no"
98457 fi
98458 rm -f conftest.err conftest.$ac_objext \
98459       conftest$ac_exeext conftest.$ac_ext
98460 fi
98461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98463 if test `eval echo '${'$as_ac_var'}'` = yes; then
98464   cat >>confdefs.h <<_ACEOF
98465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98466 _ACEOF
98467
98468 fi
98469 done
98470
98471     fi
98472   fi
98473
98474
98475
98476
98477
98478
98479     echo "$as_me:$LINENO: checking for long double trig functions" >&5
98480 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98481   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98482   echo $ECHO_N "(cached) $ECHO_C" >&6
98483 else
98484
98485
98486
98487     ac_ext=cc
98488 ac_cpp='$CXXCPP $CPPFLAGS'
98489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98492
98493     cat >conftest.$ac_ext <<_ACEOF
98494 /* confdefs.h.  */
98495 _ACEOF
98496 cat confdefs.h >>conftest.$ac_ext
98497 cat >>conftest.$ac_ext <<_ACEOF
98498 /* end confdefs.h.  */
98499 #include <math.h>
98500 int
98501 main ()
98502 {
98503 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98504   ;
98505   return 0;
98506 }
98507 _ACEOF
98508 rm -f conftest.$ac_objext
98509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98510   (eval $ac_compile) 2>conftest.er1
98511   ac_status=$?
98512   grep -v '^ *+' conftest.er1 >conftest.err
98513   rm -f conftest.er1
98514   cat conftest.err >&5
98515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98516   (exit $ac_status); } &&
98517          { ac_try='test -z "$ac_cxx_werror_flag"
98518                          || test ! -s conftest.err'
98519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98520   (eval $ac_try) 2>&5
98521   ac_status=$?
98522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98523   (exit $ac_status); }; } &&
98524          { ac_try='test -s conftest.$ac_objext'
98525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98526   (eval $ac_try) 2>&5
98527   ac_status=$?
98528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98529   (exit $ac_status); }; }; then
98530   glibcxx_cv_func_long_double_trig_use=yes
98531 else
98532   echo "$as_me: failed program was:" >&5
98533 sed 's/^/| /' conftest.$ac_ext >&5
98534
98535 glibcxx_cv_func_long_double_trig_use=no
98536 fi
98537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98538     ac_ext=c
98539 ac_cpp='$CPP $CPPFLAGS'
98540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98543
98544 fi
98545
98546   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98547 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98548   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98549
98550
98551
98552
98553
98554
98555
98556
98557
98558 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98559 do
98560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98561 echo "$as_me:$LINENO: checking for $ac_func" >&5
98562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98563 if eval "test \"\${$as_ac_var+set}\" = set"; then
98564   echo $ECHO_N "(cached) $ECHO_C" >&6
98565 else
98566   if test x$gcc_no_link = xyes; then
98567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98569    { (exit 1); exit 1; }; }
98570 fi
98571 cat >conftest.$ac_ext <<_ACEOF
98572 /* confdefs.h.  */
98573 _ACEOF
98574 cat confdefs.h >>conftest.$ac_ext
98575 cat >>conftest.$ac_ext <<_ACEOF
98576 /* end confdefs.h.  */
98577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98579 #define $ac_func innocuous_$ac_func
98580
98581 /* System header to define __stub macros and hopefully few prototypes,
98582     which can conflict with char $ac_func (); below.
98583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98584     <limits.h> exists even on freestanding compilers.  */
98585
98586 #ifdef __STDC__
98587 # include <limits.h>
98588 #else
98589 # include <assert.h>
98590 #endif
98591
98592 #undef $ac_func
98593
98594 /* Override any gcc2 internal prototype to avoid an error.  */
98595 #ifdef __cplusplus
98596 extern "C"
98597 {
98598 #endif
98599 /* We use char because int might match the return type of a gcc2
98600    builtin and then its argument prototype would still apply.  */
98601 char $ac_func ();
98602 /* The GNU C library defines this for functions which it implements
98603     to always fail with ENOSYS.  Some functions are actually named
98604     something starting with __ and the normal name is an alias.  */
98605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98606 choke me
98607 #else
98608 char (*f) () = $ac_func;
98609 #endif
98610 #ifdef __cplusplus
98611 }
98612 #endif
98613
98614 int
98615 main ()
98616 {
98617 return f != $ac_func;
98618   ;
98619   return 0;
98620 }
98621 _ACEOF
98622 rm -f conftest.$ac_objext conftest$ac_exeext
98623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98624   (eval $ac_link) 2>conftest.er1
98625   ac_status=$?
98626   grep -v '^ *+' conftest.er1 >conftest.err
98627   rm -f conftest.er1
98628   cat conftest.err >&5
98629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98630   (exit $ac_status); } &&
98631          { ac_try='test -z "$ac_c_werror_flag"
98632                          || test ! -s conftest.err'
98633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98634   (eval $ac_try) 2>&5
98635   ac_status=$?
98636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98637   (exit $ac_status); }; } &&
98638          { ac_try='test -s conftest$ac_exeext'
98639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98640   (eval $ac_try) 2>&5
98641   ac_status=$?
98642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98643   (exit $ac_status); }; }; then
98644   eval "$as_ac_var=yes"
98645 else
98646   echo "$as_me: failed program was:" >&5
98647 sed 's/^/| /' conftest.$ac_ext >&5
98648
98649 eval "$as_ac_var=no"
98650 fi
98651 rm -f conftest.err conftest.$ac_objext \
98652       conftest$ac_exeext conftest.$ac_ext
98653 fi
98654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98656 if test `eval echo '${'$as_ac_var'}'` = yes; then
98657   cat >>confdefs.h <<_ACEOF
98658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98659 _ACEOF
98660
98661 fi
98662 done
98663
98664   else
98665     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98666 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98667     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98668   echo $ECHO_N "(cached) $ECHO_C" >&6
98669 else
98670
98671
98672
98673       ac_ext=cc
98674 ac_cpp='$CXXCPP $CPPFLAGS'
98675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98678
98679       cat >conftest.$ac_ext <<_ACEOF
98680 /* confdefs.h.  */
98681 _ACEOF
98682 cat confdefs.h >>conftest.$ac_ext
98683 cat >>conftest.$ac_ext <<_ACEOF
98684 /* end confdefs.h.  */
98685 #include <math.h>
98686 int
98687 main ()
98688 {
98689 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98690   ;
98691   return 0;
98692 }
98693 _ACEOF
98694 rm -f conftest.$ac_objext
98695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98696   (eval $ac_compile) 2>conftest.er1
98697   ac_status=$?
98698   grep -v '^ *+' conftest.er1 >conftest.err
98699   rm -f conftest.er1
98700   cat conftest.err >&5
98701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98702   (exit $ac_status); } &&
98703          { ac_try='test -z "$ac_cxx_werror_flag"
98704                          || test ! -s conftest.err'
98705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98706   (eval $ac_try) 2>&5
98707   ac_status=$?
98708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98709   (exit $ac_status); }; } &&
98710          { ac_try='test -s conftest.$ac_objext'
98711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98712   (eval $ac_try) 2>&5
98713   ac_status=$?
98714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98715   (exit $ac_status); }; }; then
98716   glibcxx_cv_func__long_double_trig_use=yes
98717 else
98718   echo "$as_me: failed program was:" >&5
98719 sed 's/^/| /' conftest.$ac_ext >&5
98720
98721 glibcxx_cv_func__long_double_trig_use=no
98722 fi
98723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98724       ac_ext=c
98725 ac_cpp='$CPP $CPPFLAGS'
98726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98729
98730 fi
98731
98732     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98733 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98734     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98735
98736
98737
98738
98739
98740
98741
98742
98743
98744 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98745 do
98746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98747 echo "$as_me:$LINENO: checking for $ac_func" >&5
98748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98749 if eval "test \"\${$as_ac_var+set}\" = set"; then
98750   echo $ECHO_N "(cached) $ECHO_C" >&6
98751 else
98752   if test x$gcc_no_link = xyes; then
98753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98755    { (exit 1); exit 1; }; }
98756 fi
98757 cat >conftest.$ac_ext <<_ACEOF
98758 /* confdefs.h.  */
98759 _ACEOF
98760 cat confdefs.h >>conftest.$ac_ext
98761 cat >>conftest.$ac_ext <<_ACEOF
98762 /* end confdefs.h.  */
98763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98765 #define $ac_func innocuous_$ac_func
98766
98767 /* System header to define __stub macros and hopefully few prototypes,
98768     which can conflict with char $ac_func (); below.
98769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98770     <limits.h> exists even on freestanding compilers.  */
98771
98772 #ifdef __STDC__
98773 # include <limits.h>
98774 #else
98775 # include <assert.h>
98776 #endif
98777
98778 #undef $ac_func
98779
98780 /* Override any gcc2 internal prototype to avoid an error.  */
98781 #ifdef __cplusplus
98782 extern "C"
98783 {
98784 #endif
98785 /* We use char because int might match the return type of a gcc2
98786    builtin and then its argument prototype would still apply.  */
98787 char $ac_func ();
98788 /* The GNU C library defines this for functions which it implements
98789     to always fail with ENOSYS.  Some functions are actually named
98790     something starting with __ and the normal name is an alias.  */
98791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98792 choke me
98793 #else
98794 char (*f) () = $ac_func;
98795 #endif
98796 #ifdef __cplusplus
98797 }
98798 #endif
98799
98800 int
98801 main ()
98802 {
98803 return f != $ac_func;
98804   ;
98805   return 0;
98806 }
98807 _ACEOF
98808 rm -f conftest.$ac_objext conftest$ac_exeext
98809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98810   (eval $ac_link) 2>conftest.er1
98811   ac_status=$?
98812   grep -v '^ *+' conftest.er1 >conftest.err
98813   rm -f conftest.er1
98814   cat conftest.err >&5
98815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98816   (exit $ac_status); } &&
98817          { ac_try='test -z "$ac_c_werror_flag"
98818                          || test ! -s conftest.err'
98819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98820   (eval $ac_try) 2>&5
98821   ac_status=$?
98822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98823   (exit $ac_status); }; } &&
98824          { ac_try='test -s conftest$ac_exeext'
98825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98826   (eval $ac_try) 2>&5
98827   ac_status=$?
98828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98829   (exit $ac_status); }; }; then
98830   eval "$as_ac_var=yes"
98831 else
98832   echo "$as_me: failed program was:" >&5
98833 sed 's/^/| /' conftest.$ac_ext >&5
98834
98835 eval "$as_ac_var=no"
98836 fi
98837 rm -f conftest.err conftest.$ac_objext \
98838       conftest$ac_exeext conftest.$ac_ext
98839 fi
98840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98842 if test `eval echo '${'$as_ac_var'}'` = yes; then
98843   cat >>confdefs.h <<_ACEOF
98844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98845 _ACEOF
98846
98847 fi
98848 done
98849
98850     fi
98851   fi
98852
98853
98854
98855
98856
98857
98858
98859
98860
98861
98862
98863
98864
98865
98866     echo "$as_me:$LINENO: checking for long double round functions" >&5
98867 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98868   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98869   echo $ECHO_N "(cached) $ECHO_C" >&6
98870 else
98871
98872
98873
98874     ac_ext=cc
98875 ac_cpp='$CXXCPP $CPPFLAGS'
98876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98879
98880     cat >conftest.$ac_ext <<_ACEOF
98881 /* confdefs.h.  */
98882 _ACEOF
98883 cat confdefs.h >>conftest.$ac_ext
98884 cat >>conftest.$ac_ext <<_ACEOF
98885 /* end confdefs.h.  */
98886 #include <math.h>
98887 int
98888 main ()
98889 {
98890 ceill (0); floorl (0);
98891   ;
98892   return 0;
98893 }
98894 _ACEOF
98895 rm -f conftest.$ac_objext
98896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98897   (eval $ac_compile) 2>conftest.er1
98898   ac_status=$?
98899   grep -v '^ *+' conftest.er1 >conftest.err
98900   rm -f conftest.er1
98901   cat conftest.err >&5
98902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98903   (exit $ac_status); } &&
98904          { ac_try='test -z "$ac_cxx_werror_flag"
98905                          || test ! -s conftest.err'
98906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98907   (eval $ac_try) 2>&5
98908   ac_status=$?
98909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98910   (exit $ac_status); }; } &&
98911          { ac_try='test -s conftest.$ac_objext'
98912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98913   (eval $ac_try) 2>&5
98914   ac_status=$?
98915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98916   (exit $ac_status); }; }; then
98917   glibcxx_cv_func_long_double_round_use=yes
98918 else
98919   echo "$as_me: failed program was:" >&5
98920 sed 's/^/| /' conftest.$ac_ext >&5
98921
98922 glibcxx_cv_func_long_double_round_use=no
98923 fi
98924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98925     ac_ext=c
98926 ac_cpp='$CPP $CPPFLAGS'
98927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98930
98931 fi
98932
98933   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98934 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98935   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98936
98937
98938 for ac_func in ceill floorl
98939 do
98940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98941 echo "$as_me:$LINENO: checking for $ac_func" >&5
98942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98943 if eval "test \"\${$as_ac_var+set}\" = set"; then
98944   echo $ECHO_N "(cached) $ECHO_C" >&6
98945 else
98946   if test x$gcc_no_link = xyes; then
98947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98949    { (exit 1); exit 1; }; }
98950 fi
98951 cat >conftest.$ac_ext <<_ACEOF
98952 /* confdefs.h.  */
98953 _ACEOF
98954 cat confdefs.h >>conftest.$ac_ext
98955 cat >>conftest.$ac_ext <<_ACEOF
98956 /* end confdefs.h.  */
98957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98959 #define $ac_func innocuous_$ac_func
98960
98961 /* System header to define __stub macros and hopefully few prototypes,
98962     which can conflict with char $ac_func (); below.
98963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98964     <limits.h> exists even on freestanding compilers.  */
98965
98966 #ifdef __STDC__
98967 # include <limits.h>
98968 #else
98969 # include <assert.h>
98970 #endif
98971
98972 #undef $ac_func
98973
98974 /* Override any gcc2 internal prototype to avoid an error.  */
98975 #ifdef __cplusplus
98976 extern "C"
98977 {
98978 #endif
98979 /* We use char because int might match the return type of a gcc2
98980    builtin and then its argument prototype would still apply.  */
98981 char $ac_func ();
98982 /* The GNU C library defines this for functions which it implements
98983     to always fail with ENOSYS.  Some functions are actually named
98984     something starting with __ and the normal name is an alias.  */
98985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98986 choke me
98987 #else
98988 char (*f) () = $ac_func;
98989 #endif
98990 #ifdef __cplusplus
98991 }
98992 #endif
98993
98994 int
98995 main ()
98996 {
98997 return f != $ac_func;
98998   ;
98999   return 0;
99000 }
99001 _ACEOF
99002 rm -f conftest.$ac_objext conftest$ac_exeext
99003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99004   (eval $ac_link) 2>conftest.er1
99005   ac_status=$?
99006   grep -v '^ *+' conftest.er1 >conftest.err
99007   rm -f conftest.er1
99008   cat conftest.err >&5
99009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99010   (exit $ac_status); } &&
99011          { ac_try='test -z "$ac_c_werror_flag"
99012                          || test ! -s conftest.err'
99013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99014   (eval $ac_try) 2>&5
99015   ac_status=$?
99016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99017   (exit $ac_status); }; } &&
99018          { ac_try='test -s conftest$ac_exeext'
99019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99020   (eval $ac_try) 2>&5
99021   ac_status=$?
99022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99023   (exit $ac_status); }; }; then
99024   eval "$as_ac_var=yes"
99025 else
99026   echo "$as_me: failed program was:" >&5
99027 sed 's/^/| /' conftest.$ac_ext >&5
99028
99029 eval "$as_ac_var=no"
99030 fi
99031 rm -f conftest.err conftest.$ac_objext \
99032       conftest$ac_exeext conftest.$ac_ext
99033 fi
99034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99036 if test `eval echo '${'$as_ac_var'}'` = yes; then
99037   cat >>confdefs.h <<_ACEOF
99038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99039 _ACEOF
99040
99041 fi
99042 done
99043
99044   else
99045     echo "$as_me:$LINENO: checking for _long double round functions" >&5
99046 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
99047     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
99048   echo $ECHO_N "(cached) $ECHO_C" >&6
99049 else
99050
99051
99052
99053       ac_ext=cc
99054 ac_cpp='$CXXCPP $CPPFLAGS'
99055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99058
99059       cat >conftest.$ac_ext <<_ACEOF
99060 /* confdefs.h.  */
99061 _ACEOF
99062 cat confdefs.h >>conftest.$ac_ext
99063 cat >>conftest.$ac_ext <<_ACEOF
99064 /* end confdefs.h.  */
99065 #include <math.h>
99066 int
99067 main ()
99068 {
99069 _ceill (0); _floorl (0);
99070   ;
99071   return 0;
99072 }
99073 _ACEOF
99074 rm -f conftest.$ac_objext
99075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99076   (eval $ac_compile) 2>conftest.er1
99077   ac_status=$?
99078   grep -v '^ *+' conftest.er1 >conftest.err
99079   rm -f conftest.er1
99080   cat conftest.err >&5
99081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99082   (exit $ac_status); } &&
99083          { ac_try='test -z "$ac_cxx_werror_flag"
99084                          || test ! -s conftest.err'
99085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99086   (eval $ac_try) 2>&5
99087   ac_status=$?
99088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99089   (exit $ac_status); }; } &&
99090          { ac_try='test -s conftest.$ac_objext'
99091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99092   (eval $ac_try) 2>&5
99093   ac_status=$?
99094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99095   (exit $ac_status); }; }; then
99096   glibcxx_cv_func__long_double_round_use=yes
99097 else
99098   echo "$as_me: failed program was:" >&5
99099 sed 's/^/| /' conftest.$ac_ext >&5
99100
99101 glibcxx_cv_func__long_double_round_use=no
99102 fi
99103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99104       ac_ext=c
99105 ac_cpp='$CPP $CPPFLAGS'
99106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99109
99110 fi
99111
99112     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
99113 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
99114     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
99115
99116
99117 for ac_func in _ceill _floorl
99118 do
99119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99120 echo "$as_me:$LINENO: checking for $ac_func" >&5
99121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99122 if eval "test \"\${$as_ac_var+set}\" = set"; then
99123   echo $ECHO_N "(cached) $ECHO_C" >&6
99124 else
99125   if test x$gcc_no_link = xyes; then
99126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99128    { (exit 1); exit 1; }; }
99129 fi
99130 cat >conftest.$ac_ext <<_ACEOF
99131 /* confdefs.h.  */
99132 _ACEOF
99133 cat confdefs.h >>conftest.$ac_ext
99134 cat >>conftest.$ac_ext <<_ACEOF
99135 /* end confdefs.h.  */
99136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99138 #define $ac_func innocuous_$ac_func
99139
99140 /* System header to define __stub macros and hopefully few prototypes,
99141     which can conflict with char $ac_func (); below.
99142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99143     <limits.h> exists even on freestanding compilers.  */
99144
99145 #ifdef __STDC__
99146 # include <limits.h>
99147 #else
99148 # include <assert.h>
99149 #endif
99150
99151 #undef $ac_func
99152
99153 /* Override any gcc2 internal prototype to avoid an error.  */
99154 #ifdef __cplusplus
99155 extern "C"
99156 {
99157 #endif
99158 /* We use char because int might match the return type of a gcc2
99159    builtin and then its argument prototype would still apply.  */
99160 char $ac_func ();
99161 /* The GNU C library defines this for functions which it implements
99162     to always fail with ENOSYS.  Some functions are actually named
99163     something starting with __ and the normal name is an alias.  */
99164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99165 choke me
99166 #else
99167 char (*f) () = $ac_func;
99168 #endif
99169 #ifdef __cplusplus
99170 }
99171 #endif
99172
99173 int
99174 main ()
99175 {
99176 return f != $ac_func;
99177   ;
99178   return 0;
99179 }
99180 _ACEOF
99181 rm -f conftest.$ac_objext conftest$ac_exeext
99182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99183   (eval $ac_link) 2>conftest.er1
99184   ac_status=$?
99185   grep -v '^ *+' conftest.er1 >conftest.err
99186   rm -f conftest.er1
99187   cat conftest.err >&5
99188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99189   (exit $ac_status); } &&
99190          { ac_try='test -z "$ac_c_werror_flag"
99191                          || test ! -s conftest.err'
99192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99193   (eval $ac_try) 2>&5
99194   ac_status=$?
99195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99196   (exit $ac_status); }; } &&
99197          { ac_try='test -s conftest$ac_exeext'
99198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99199   (eval $ac_try) 2>&5
99200   ac_status=$?
99201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99202   (exit $ac_status); }; }; then
99203   eval "$as_ac_var=yes"
99204 else
99205   echo "$as_me: failed program was:" >&5
99206 sed 's/^/| /' conftest.$ac_ext >&5
99207
99208 eval "$as_ac_var=no"
99209 fi
99210 rm -f conftest.err conftest.$ac_objext \
99211       conftest$ac_exeext conftest.$ac_ext
99212 fi
99213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99215 if test `eval echo '${'$as_ac_var'}'` = yes; then
99216   cat >>confdefs.h <<_ACEOF
99217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99218 _ACEOF
99219
99220 fi
99221 done
99222
99223     fi
99224   fi
99225
99226
99227
99228
99229
99230
99231
99232
99233   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
99234 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
99235   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
99236     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
99237   echo $ECHO_N "(cached) $ECHO_C" >&6
99238 else
99239
99240
99241
99242       ac_ext=cc
99243 ac_cpp='$CXXCPP $CPPFLAGS'
99244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99247
99248       cat >conftest.$ac_ext <<_ACEOF
99249 /* confdefs.h.  */
99250 _ACEOF
99251 cat confdefs.h >>conftest.$ac_ext
99252 cat >>conftest.$ac_ext <<_ACEOF
99253 /* end confdefs.h.  */
99254 #include <math.h>
99255                       #ifdef HAVE_IEEEFP_H
99256                       #include <ieeefp.h>
99257                       #endif
99258
99259 int
99260 main ()
99261 {
99262  isnanl(0);
99263   ;
99264   return 0;
99265 }
99266 _ACEOF
99267 rm -f conftest.$ac_objext
99268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99269   (eval $ac_compile) 2>conftest.er1
99270   ac_status=$?
99271   grep -v '^ *+' conftest.er1 >conftest.err
99272   rm -f conftest.er1
99273   cat conftest.err >&5
99274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99275   (exit $ac_status); } &&
99276          { ac_try='test -z "$ac_cxx_werror_flag"
99277                          || test ! -s conftest.err'
99278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99279   (eval $ac_try) 2>&5
99280   ac_status=$?
99281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99282   (exit $ac_status); }; } &&
99283          { ac_try='test -s conftest.$ac_objext'
99284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99285   (eval $ac_try) 2>&5
99286   ac_status=$?
99287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99288   (exit $ac_status); }; }; then
99289   glibcxx_cv_func_isnanl_use=yes
99290 else
99291   echo "$as_me: failed program was:" >&5
99292 sed 's/^/| /' conftest.$ac_ext >&5
99293
99294 glibcxx_cv_func_isnanl_use=no
99295 fi
99296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99297       ac_ext=c
99298 ac_cpp='$CPP $CPPFLAGS'
99299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99302
99303
99304 fi
99305
99306   fi
99307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
99308 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
99309
99310   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
99311
99312 for ac_func in isnanl
99313 do
99314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99315 echo "$as_me:$LINENO: checking for $ac_func" >&5
99316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99317 if eval "test \"\${$as_ac_var+set}\" = set"; then
99318   echo $ECHO_N "(cached) $ECHO_C" >&6
99319 else
99320   if test x$gcc_no_link = xyes; then
99321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99323    { (exit 1); exit 1; }; }
99324 fi
99325 cat >conftest.$ac_ext <<_ACEOF
99326 /* confdefs.h.  */
99327 _ACEOF
99328 cat confdefs.h >>conftest.$ac_ext
99329 cat >>conftest.$ac_ext <<_ACEOF
99330 /* end confdefs.h.  */
99331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99333 #define $ac_func innocuous_$ac_func
99334
99335 /* System header to define __stub macros and hopefully few prototypes,
99336     which can conflict with char $ac_func (); below.
99337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99338     <limits.h> exists even on freestanding compilers.  */
99339
99340 #ifdef __STDC__
99341 # include <limits.h>
99342 #else
99343 # include <assert.h>
99344 #endif
99345
99346 #undef $ac_func
99347
99348 /* Override any gcc2 internal prototype to avoid an error.  */
99349 #ifdef __cplusplus
99350 extern "C"
99351 {
99352 #endif
99353 /* We use char because int might match the return type of a gcc2
99354    builtin and then its argument prototype would still apply.  */
99355 char $ac_func ();
99356 /* The GNU C library defines this for functions which it implements
99357     to always fail with ENOSYS.  Some functions are actually named
99358     something starting with __ and the normal name is an alias.  */
99359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99360 choke me
99361 #else
99362 char (*f) () = $ac_func;
99363 #endif
99364 #ifdef __cplusplus
99365 }
99366 #endif
99367
99368 int
99369 main ()
99370 {
99371 return f != $ac_func;
99372   ;
99373   return 0;
99374 }
99375 _ACEOF
99376 rm -f conftest.$ac_objext conftest$ac_exeext
99377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99378   (eval $ac_link) 2>conftest.er1
99379   ac_status=$?
99380   grep -v '^ *+' conftest.er1 >conftest.err
99381   rm -f conftest.er1
99382   cat conftest.err >&5
99383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99384   (exit $ac_status); } &&
99385          { ac_try='test -z "$ac_c_werror_flag"
99386                          || test ! -s conftest.err'
99387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99388   (eval $ac_try) 2>&5
99389   ac_status=$?
99390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99391   (exit $ac_status); }; } &&
99392          { ac_try='test -s conftest$ac_exeext'
99393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99394   (eval $ac_try) 2>&5
99395   ac_status=$?
99396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99397   (exit $ac_status); }; }; then
99398   eval "$as_ac_var=yes"
99399 else
99400   echo "$as_me: failed program was:" >&5
99401 sed 's/^/| /' conftest.$ac_ext >&5
99402
99403 eval "$as_ac_var=no"
99404 fi
99405 rm -f conftest.err conftest.$ac_objext \
99406       conftest$ac_exeext conftest.$ac_ext
99407 fi
99408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99410 if test `eval echo '${'$as_ac_var'}'` = yes; then
99411   cat >>confdefs.h <<_ACEOF
99412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99413 _ACEOF
99414
99415 fi
99416 done
99417
99418   else
99419
99420   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99421 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99422   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99423     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99424   echo $ECHO_N "(cached) $ECHO_C" >&6
99425 else
99426
99427
99428
99429       ac_ext=cc
99430 ac_cpp='$CXXCPP $CPPFLAGS'
99431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99434
99435       cat >conftest.$ac_ext <<_ACEOF
99436 /* confdefs.h.  */
99437 _ACEOF
99438 cat confdefs.h >>conftest.$ac_ext
99439 cat >>conftest.$ac_ext <<_ACEOF
99440 /* end confdefs.h.  */
99441 #include <math.h>
99442                       #ifdef HAVE_IEEEFP_H
99443                       #include <ieeefp.h>
99444                       #endif
99445
99446 int
99447 main ()
99448 {
99449  _isnanl(0);
99450   ;
99451   return 0;
99452 }
99453 _ACEOF
99454 rm -f conftest.$ac_objext
99455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99456   (eval $ac_compile) 2>conftest.er1
99457   ac_status=$?
99458   grep -v '^ *+' conftest.er1 >conftest.err
99459   rm -f conftest.er1
99460   cat conftest.err >&5
99461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99462   (exit $ac_status); } &&
99463          { ac_try='test -z "$ac_cxx_werror_flag"
99464                          || test ! -s conftest.err'
99465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99466   (eval $ac_try) 2>&5
99467   ac_status=$?
99468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99469   (exit $ac_status); }; } &&
99470          { ac_try='test -s conftest.$ac_objext'
99471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99472   (eval $ac_try) 2>&5
99473   ac_status=$?
99474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99475   (exit $ac_status); }; }; then
99476   glibcxx_cv_func__isnanl_use=yes
99477 else
99478   echo "$as_me: failed program was:" >&5
99479 sed 's/^/| /' conftest.$ac_ext >&5
99480
99481 glibcxx_cv_func__isnanl_use=no
99482 fi
99483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99484       ac_ext=c
99485 ac_cpp='$CPP $CPPFLAGS'
99486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99489
99490
99491 fi
99492
99493   fi
99494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99495 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99496
99497     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99498
99499 for ac_func in _isnanl
99500 do
99501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99502 echo "$as_me:$LINENO: checking for $ac_func" >&5
99503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99504 if eval "test \"\${$as_ac_var+set}\" = set"; then
99505   echo $ECHO_N "(cached) $ECHO_C" >&6
99506 else
99507   if test x$gcc_no_link = xyes; then
99508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99510    { (exit 1); exit 1; }; }
99511 fi
99512 cat >conftest.$ac_ext <<_ACEOF
99513 /* confdefs.h.  */
99514 _ACEOF
99515 cat confdefs.h >>conftest.$ac_ext
99516 cat >>conftest.$ac_ext <<_ACEOF
99517 /* end confdefs.h.  */
99518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99520 #define $ac_func innocuous_$ac_func
99521
99522 /* System header to define __stub macros and hopefully few prototypes,
99523     which can conflict with char $ac_func (); below.
99524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99525     <limits.h> exists even on freestanding compilers.  */
99526
99527 #ifdef __STDC__
99528 # include <limits.h>
99529 #else
99530 # include <assert.h>
99531 #endif
99532
99533 #undef $ac_func
99534
99535 /* Override any gcc2 internal prototype to avoid an error.  */
99536 #ifdef __cplusplus
99537 extern "C"
99538 {
99539 #endif
99540 /* We use char because int might match the return type of a gcc2
99541    builtin and then its argument prototype would still apply.  */
99542 char $ac_func ();
99543 /* The GNU C library defines this for functions which it implements
99544     to always fail with ENOSYS.  Some functions are actually named
99545     something starting with __ and the normal name is an alias.  */
99546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99547 choke me
99548 #else
99549 char (*f) () = $ac_func;
99550 #endif
99551 #ifdef __cplusplus
99552 }
99553 #endif
99554
99555 int
99556 main ()
99557 {
99558 return f != $ac_func;
99559   ;
99560   return 0;
99561 }
99562 _ACEOF
99563 rm -f conftest.$ac_objext conftest$ac_exeext
99564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99565   (eval $ac_link) 2>conftest.er1
99566   ac_status=$?
99567   grep -v '^ *+' conftest.er1 >conftest.err
99568   rm -f conftest.er1
99569   cat conftest.err >&5
99570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99571   (exit $ac_status); } &&
99572          { ac_try='test -z "$ac_c_werror_flag"
99573                          || test ! -s conftest.err'
99574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99575   (eval $ac_try) 2>&5
99576   ac_status=$?
99577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99578   (exit $ac_status); }; } &&
99579          { ac_try='test -s conftest$ac_exeext'
99580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99581   (eval $ac_try) 2>&5
99582   ac_status=$?
99583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584   (exit $ac_status); }; }; then
99585   eval "$as_ac_var=yes"
99586 else
99587   echo "$as_me: failed program was:" >&5
99588 sed 's/^/| /' conftest.$ac_ext >&5
99589
99590 eval "$as_ac_var=no"
99591 fi
99592 rm -f conftest.err conftest.$ac_objext \
99593       conftest$ac_exeext conftest.$ac_ext
99594 fi
99595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99597 if test `eval echo '${'$as_ac_var'}'` = yes; then
99598   cat >>confdefs.h <<_ACEOF
99599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99600 _ACEOF
99601
99602 fi
99603 done
99604
99605     fi
99606   fi
99607
99608
99609
99610
99611
99612
99613   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99614 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99615   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99616     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99617   echo $ECHO_N "(cached) $ECHO_C" >&6
99618 else
99619
99620
99621
99622       ac_ext=cc
99623 ac_cpp='$CXXCPP $CPPFLAGS'
99624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99627
99628       cat >conftest.$ac_ext <<_ACEOF
99629 /* confdefs.h.  */
99630 _ACEOF
99631 cat confdefs.h >>conftest.$ac_ext
99632 cat >>conftest.$ac_ext <<_ACEOF
99633 /* end confdefs.h.  */
99634 #include <math.h>
99635                       #ifdef HAVE_IEEEFP_H
99636                       #include <ieeefp.h>
99637                       #endif
99638
99639 int
99640 main ()
99641 {
99642  isinfl(0);
99643   ;
99644   return 0;
99645 }
99646 _ACEOF
99647 rm -f conftest.$ac_objext
99648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99649   (eval $ac_compile) 2>conftest.er1
99650   ac_status=$?
99651   grep -v '^ *+' conftest.er1 >conftest.err
99652   rm -f conftest.er1
99653   cat conftest.err >&5
99654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99655   (exit $ac_status); } &&
99656          { ac_try='test -z "$ac_cxx_werror_flag"
99657                          || test ! -s conftest.err'
99658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99659   (eval $ac_try) 2>&5
99660   ac_status=$?
99661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99662   (exit $ac_status); }; } &&
99663          { ac_try='test -s conftest.$ac_objext'
99664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99665   (eval $ac_try) 2>&5
99666   ac_status=$?
99667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99668   (exit $ac_status); }; }; then
99669   glibcxx_cv_func_isinfl_use=yes
99670 else
99671   echo "$as_me: failed program was:" >&5
99672 sed 's/^/| /' conftest.$ac_ext >&5
99673
99674 glibcxx_cv_func_isinfl_use=no
99675 fi
99676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99677       ac_ext=c
99678 ac_cpp='$CPP $CPPFLAGS'
99679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99682
99683
99684 fi
99685
99686   fi
99687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99688 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99689
99690   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99691
99692 for ac_func in isinfl
99693 do
99694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99695 echo "$as_me:$LINENO: checking for $ac_func" >&5
99696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99697 if eval "test \"\${$as_ac_var+set}\" = set"; then
99698   echo $ECHO_N "(cached) $ECHO_C" >&6
99699 else
99700   if test x$gcc_no_link = xyes; then
99701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99703    { (exit 1); exit 1; }; }
99704 fi
99705 cat >conftest.$ac_ext <<_ACEOF
99706 /* confdefs.h.  */
99707 _ACEOF
99708 cat confdefs.h >>conftest.$ac_ext
99709 cat >>conftest.$ac_ext <<_ACEOF
99710 /* end confdefs.h.  */
99711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99713 #define $ac_func innocuous_$ac_func
99714
99715 /* System header to define __stub macros and hopefully few prototypes,
99716     which can conflict with char $ac_func (); below.
99717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99718     <limits.h> exists even on freestanding compilers.  */
99719
99720 #ifdef __STDC__
99721 # include <limits.h>
99722 #else
99723 # include <assert.h>
99724 #endif
99725
99726 #undef $ac_func
99727
99728 /* Override any gcc2 internal prototype to avoid an error.  */
99729 #ifdef __cplusplus
99730 extern "C"
99731 {
99732 #endif
99733 /* We use char because int might match the return type of a gcc2
99734    builtin and then its argument prototype would still apply.  */
99735 char $ac_func ();
99736 /* The GNU C library defines this for functions which it implements
99737     to always fail with ENOSYS.  Some functions are actually named
99738     something starting with __ and the normal name is an alias.  */
99739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99740 choke me
99741 #else
99742 char (*f) () = $ac_func;
99743 #endif
99744 #ifdef __cplusplus
99745 }
99746 #endif
99747
99748 int
99749 main ()
99750 {
99751 return f != $ac_func;
99752   ;
99753   return 0;
99754 }
99755 _ACEOF
99756 rm -f conftest.$ac_objext conftest$ac_exeext
99757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99758   (eval $ac_link) 2>conftest.er1
99759   ac_status=$?
99760   grep -v '^ *+' conftest.er1 >conftest.err
99761   rm -f conftest.er1
99762   cat conftest.err >&5
99763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99764   (exit $ac_status); } &&
99765          { ac_try='test -z "$ac_c_werror_flag"
99766                          || test ! -s conftest.err'
99767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99768   (eval $ac_try) 2>&5
99769   ac_status=$?
99770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99771   (exit $ac_status); }; } &&
99772          { ac_try='test -s conftest$ac_exeext'
99773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99774   (eval $ac_try) 2>&5
99775   ac_status=$?
99776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99777   (exit $ac_status); }; }; then
99778   eval "$as_ac_var=yes"
99779 else
99780   echo "$as_me: failed program was:" >&5
99781 sed 's/^/| /' conftest.$ac_ext >&5
99782
99783 eval "$as_ac_var=no"
99784 fi
99785 rm -f conftest.err conftest.$ac_objext \
99786       conftest$ac_exeext conftest.$ac_ext
99787 fi
99788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99790 if test `eval echo '${'$as_ac_var'}'` = yes; then
99791   cat >>confdefs.h <<_ACEOF
99792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99793 _ACEOF
99794
99795 fi
99796 done
99797
99798   else
99799
99800   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99801 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99802   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99803     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99804   echo $ECHO_N "(cached) $ECHO_C" >&6
99805 else
99806
99807
99808
99809       ac_ext=cc
99810 ac_cpp='$CXXCPP $CPPFLAGS'
99811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99814
99815       cat >conftest.$ac_ext <<_ACEOF
99816 /* confdefs.h.  */
99817 _ACEOF
99818 cat confdefs.h >>conftest.$ac_ext
99819 cat >>conftest.$ac_ext <<_ACEOF
99820 /* end confdefs.h.  */
99821 #include <math.h>
99822                       #ifdef HAVE_IEEEFP_H
99823                       #include <ieeefp.h>
99824                       #endif
99825
99826 int
99827 main ()
99828 {
99829  _isinfl(0);
99830   ;
99831   return 0;
99832 }
99833 _ACEOF
99834 rm -f conftest.$ac_objext
99835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99836   (eval $ac_compile) 2>conftest.er1
99837   ac_status=$?
99838   grep -v '^ *+' conftest.er1 >conftest.err
99839   rm -f conftest.er1
99840   cat conftest.err >&5
99841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99842   (exit $ac_status); } &&
99843          { ac_try='test -z "$ac_cxx_werror_flag"
99844                          || test ! -s conftest.err'
99845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99846   (eval $ac_try) 2>&5
99847   ac_status=$?
99848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99849   (exit $ac_status); }; } &&
99850          { ac_try='test -s conftest.$ac_objext'
99851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99852   (eval $ac_try) 2>&5
99853   ac_status=$?
99854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99855   (exit $ac_status); }; }; then
99856   glibcxx_cv_func__isinfl_use=yes
99857 else
99858   echo "$as_me: failed program was:" >&5
99859 sed 's/^/| /' conftest.$ac_ext >&5
99860
99861 glibcxx_cv_func__isinfl_use=no
99862 fi
99863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99864       ac_ext=c
99865 ac_cpp='$CPP $CPPFLAGS'
99866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99869
99870
99871 fi
99872
99873   fi
99874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99875 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99876
99877     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99878
99879 for ac_func in _isinfl
99880 do
99881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99882 echo "$as_me:$LINENO: checking for $ac_func" >&5
99883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99884 if eval "test \"\${$as_ac_var+set}\" = set"; then
99885   echo $ECHO_N "(cached) $ECHO_C" >&6
99886 else
99887   if test x$gcc_no_link = xyes; then
99888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99890    { (exit 1); exit 1; }; }
99891 fi
99892 cat >conftest.$ac_ext <<_ACEOF
99893 /* confdefs.h.  */
99894 _ACEOF
99895 cat confdefs.h >>conftest.$ac_ext
99896 cat >>conftest.$ac_ext <<_ACEOF
99897 /* end confdefs.h.  */
99898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99900 #define $ac_func innocuous_$ac_func
99901
99902 /* System header to define __stub macros and hopefully few prototypes,
99903     which can conflict with char $ac_func (); below.
99904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99905     <limits.h> exists even on freestanding compilers.  */
99906
99907 #ifdef __STDC__
99908 # include <limits.h>
99909 #else
99910 # include <assert.h>
99911 #endif
99912
99913 #undef $ac_func
99914
99915 /* Override any gcc2 internal prototype to avoid an error.  */
99916 #ifdef __cplusplus
99917 extern "C"
99918 {
99919 #endif
99920 /* We use char because int might match the return type of a gcc2
99921    builtin and then its argument prototype would still apply.  */
99922 char $ac_func ();
99923 /* The GNU C library defines this for functions which it implements
99924     to always fail with ENOSYS.  Some functions are actually named
99925     something starting with __ and the normal name is an alias.  */
99926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99927 choke me
99928 #else
99929 char (*f) () = $ac_func;
99930 #endif
99931 #ifdef __cplusplus
99932 }
99933 #endif
99934
99935 int
99936 main ()
99937 {
99938 return f != $ac_func;
99939   ;
99940   return 0;
99941 }
99942 _ACEOF
99943 rm -f conftest.$ac_objext conftest$ac_exeext
99944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99945   (eval $ac_link) 2>conftest.er1
99946   ac_status=$?
99947   grep -v '^ *+' conftest.er1 >conftest.err
99948   rm -f conftest.er1
99949   cat conftest.err >&5
99950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99951   (exit $ac_status); } &&
99952          { ac_try='test -z "$ac_c_werror_flag"
99953                          || test ! -s conftest.err'
99954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99955   (eval $ac_try) 2>&5
99956   ac_status=$?
99957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99958   (exit $ac_status); }; } &&
99959          { ac_try='test -s conftest$ac_exeext'
99960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99961   (eval $ac_try) 2>&5
99962   ac_status=$?
99963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99964   (exit $ac_status); }; }; then
99965   eval "$as_ac_var=yes"
99966 else
99967   echo "$as_me: failed program was:" >&5
99968 sed 's/^/| /' conftest.$ac_ext >&5
99969
99970 eval "$as_ac_var=no"
99971 fi
99972 rm -f conftest.err conftest.$ac_objext \
99973       conftest$ac_exeext conftest.$ac_ext
99974 fi
99975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99977 if test `eval echo '${'$as_ac_var'}'` = yes; then
99978   cat >>confdefs.h <<_ACEOF
99979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99980 _ACEOF
99981
99982 fi
99983 done
99984
99985     fi
99986   fi
99987
99988
99989
99990
99991
99992
99993   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99994 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99995   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99996     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99997   echo $ECHO_N "(cached) $ECHO_C" >&6
99998 else
99999
100000
100001
100002       ac_ext=cc
100003 ac_cpp='$CXXCPP $CPPFLAGS'
100004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100007
100008       cat >conftest.$ac_ext <<_ACEOF
100009 /* confdefs.h.  */
100010 _ACEOF
100011 cat confdefs.h >>conftest.$ac_ext
100012 cat >>conftest.$ac_ext <<_ACEOF
100013 /* end confdefs.h.  */
100014 #include <math.h>
100015 int
100016 main ()
100017 {
100018  copysignl(0, 0);
100019   ;
100020   return 0;
100021 }
100022 _ACEOF
100023 rm -f conftest.$ac_objext
100024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100025   (eval $ac_compile) 2>conftest.er1
100026   ac_status=$?
100027   grep -v '^ *+' conftest.er1 >conftest.err
100028   rm -f conftest.er1
100029   cat conftest.err >&5
100030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100031   (exit $ac_status); } &&
100032          { ac_try='test -z "$ac_cxx_werror_flag"
100033                          || test ! -s conftest.err'
100034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100035   (eval $ac_try) 2>&5
100036   ac_status=$?
100037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100038   (exit $ac_status); }; } &&
100039          { ac_try='test -s conftest.$ac_objext'
100040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100041   (eval $ac_try) 2>&5
100042   ac_status=$?
100043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100044   (exit $ac_status); }; }; then
100045   glibcxx_cv_func_copysignl_use=yes
100046 else
100047   echo "$as_me: failed program was:" >&5
100048 sed 's/^/| /' conftest.$ac_ext >&5
100049
100050 glibcxx_cv_func_copysignl_use=no
100051 fi
100052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100053       ac_ext=c
100054 ac_cpp='$CPP $CPPFLAGS'
100055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100058
100059
100060 fi
100061
100062   fi
100063   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
100064 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
100065
100066   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
100067
100068 for ac_func in copysignl
100069 do
100070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100071 echo "$as_me:$LINENO: checking for $ac_func" >&5
100072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100073 if eval "test \"\${$as_ac_var+set}\" = set"; then
100074   echo $ECHO_N "(cached) $ECHO_C" >&6
100075 else
100076   if test x$gcc_no_link = xyes; then
100077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100079    { (exit 1); exit 1; }; }
100080 fi
100081 cat >conftest.$ac_ext <<_ACEOF
100082 /* confdefs.h.  */
100083 _ACEOF
100084 cat confdefs.h >>conftest.$ac_ext
100085 cat >>conftest.$ac_ext <<_ACEOF
100086 /* end confdefs.h.  */
100087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100089 #define $ac_func innocuous_$ac_func
100090
100091 /* System header to define __stub macros and hopefully few prototypes,
100092     which can conflict with char $ac_func (); below.
100093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100094     <limits.h> exists even on freestanding compilers.  */
100095
100096 #ifdef __STDC__
100097 # include <limits.h>
100098 #else
100099 # include <assert.h>
100100 #endif
100101
100102 #undef $ac_func
100103
100104 /* Override any gcc2 internal prototype to avoid an error.  */
100105 #ifdef __cplusplus
100106 extern "C"
100107 {
100108 #endif
100109 /* We use char because int might match the return type of a gcc2
100110    builtin and then its argument prototype would still apply.  */
100111 char $ac_func ();
100112 /* The GNU C library defines this for functions which it implements
100113     to always fail with ENOSYS.  Some functions are actually named
100114     something starting with __ and the normal name is an alias.  */
100115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100116 choke me
100117 #else
100118 char (*f) () = $ac_func;
100119 #endif
100120 #ifdef __cplusplus
100121 }
100122 #endif
100123
100124 int
100125 main ()
100126 {
100127 return f != $ac_func;
100128   ;
100129   return 0;
100130 }
100131 _ACEOF
100132 rm -f conftest.$ac_objext conftest$ac_exeext
100133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100134   (eval $ac_link) 2>conftest.er1
100135   ac_status=$?
100136   grep -v '^ *+' conftest.er1 >conftest.err
100137   rm -f conftest.er1
100138   cat conftest.err >&5
100139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140   (exit $ac_status); } &&
100141          { ac_try='test -z "$ac_c_werror_flag"
100142                          || test ! -s conftest.err'
100143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100144   (eval $ac_try) 2>&5
100145   ac_status=$?
100146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100147   (exit $ac_status); }; } &&
100148          { ac_try='test -s conftest$ac_exeext'
100149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100150   (eval $ac_try) 2>&5
100151   ac_status=$?
100152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100153   (exit $ac_status); }; }; then
100154   eval "$as_ac_var=yes"
100155 else
100156   echo "$as_me: failed program was:" >&5
100157 sed 's/^/| /' conftest.$ac_ext >&5
100158
100159 eval "$as_ac_var=no"
100160 fi
100161 rm -f conftest.err conftest.$ac_objext \
100162       conftest$ac_exeext conftest.$ac_ext
100163 fi
100164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100166 if test `eval echo '${'$as_ac_var'}'` = yes; then
100167   cat >>confdefs.h <<_ACEOF
100168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100169 _ACEOF
100170
100171 fi
100172 done
100173
100174   else
100175
100176   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
100177 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
100178   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
100179     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
100180   echo $ECHO_N "(cached) $ECHO_C" >&6
100181 else
100182
100183
100184
100185       ac_ext=cc
100186 ac_cpp='$CXXCPP $CPPFLAGS'
100187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100190
100191       cat >conftest.$ac_ext <<_ACEOF
100192 /* confdefs.h.  */
100193 _ACEOF
100194 cat confdefs.h >>conftest.$ac_ext
100195 cat >>conftest.$ac_ext <<_ACEOF
100196 /* end confdefs.h.  */
100197 #include <math.h>
100198 int
100199 main ()
100200 {
100201  _copysignl(0, 0);
100202   ;
100203   return 0;
100204 }
100205 _ACEOF
100206 rm -f conftest.$ac_objext
100207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100208   (eval $ac_compile) 2>conftest.er1
100209   ac_status=$?
100210   grep -v '^ *+' conftest.er1 >conftest.err
100211   rm -f conftest.er1
100212   cat conftest.err >&5
100213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100214   (exit $ac_status); } &&
100215          { ac_try='test -z "$ac_cxx_werror_flag"
100216                          || test ! -s conftest.err'
100217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100218   (eval $ac_try) 2>&5
100219   ac_status=$?
100220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100221   (exit $ac_status); }; } &&
100222          { ac_try='test -s conftest.$ac_objext'
100223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100224   (eval $ac_try) 2>&5
100225   ac_status=$?
100226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100227   (exit $ac_status); }; }; then
100228   glibcxx_cv_func__copysignl_use=yes
100229 else
100230   echo "$as_me: failed program was:" >&5
100231 sed 's/^/| /' conftest.$ac_ext >&5
100232
100233 glibcxx_cv_func__copysignl_use=no
100234 fi
100235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100236       ac_ext=c
100237 ac_cpp='$CPP $CPPFLAGS'
100238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100241
100242
100243 fi
100244
100245   fi
100246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
100247 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
100248
100249     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
100250
100251 for ac_func in _copysignl
100252 do
100253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100254 echo "$as_me:$LINENO: checking for $ac_func" >&5
100255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100256 if eval "test \"\${$as_ac_var+set}\" = set"; then
100257   echo $ECHO_N "(cached) $ECHO_C" >&6
100258 else
100259   if test x$gcc_no_link = xyes; then
100260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100262    { (exit 1); exit 1; }; }
100263 fi
100264 cat >conftest.$ac_ext <<_ACEOF
100265 /* confdefs.h.  */
100266 _ACEOF
100267 cat confdefs.h >>conftest.$ac_ext
100268 cat >>conftest.$ac_ext <<_ACEOF
100269 /* end confdefs.h.  */
100270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100272 #define $ac_func innocuous_$ac_func
100273
100274 /* System header to define __stub macros and hopefully few prototypes,
100275     which can conflict with char $ac_func (); below.
100276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100277     <limits.h> exists even on freestanding compilers.  */
100278
100279 #ifdef __STDC__
100280 # include <limits.h>
100281 #else
100282 # include <assert.h>
100283 #endif
100284
100285 #undef $ac_func
100286
100287 /* Override any gcc2 internal prototype to avoid an error.  */
100288 #ifdef __cplusplus
100289 extern "C"
100290 {
100291 #endif
100292 /* We use char because int might match the return type of a gcc2
100293    builtin and then its argument prototype would still apply.  */
100294 char $ac_func ();
100295 /* The GNU C library defines this for functions which it implements
100296     to always fail with ENOSYS.  Some functions are actually named
100297     something starting with __ and the normal name is an alias.  */
100298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100299 choke me
100300 #else
100301 char (*f) () = $ac_func;
100302 #endif
100303 #ifdef __cplusplus
100304 }
100305 #endif
100306
100307 int
100308 main ()
100309 {
100310 return f != $ac_func;
100311   ;
100312   return 0;
100313 }
100314 _ACEOF
100315 rm -f conftest.$ac_objext conftest$ac_exeext
100316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100317   (eval $ac_link) 2>conftest.er1
100318   ac_status=$?
100319   grep -v '^ *+' conftest.er1 >conftest.err
100320   rm -f conftest.er1
100321   cat conftest.err >&5
100322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100323   (exit $ac_status); } &&
100324          { ac_try='test -z "$ac_c_werror_flag"
100325                          || test ! -s conftest.err'
100326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100327   (eval $ac_try) 2>&5
100328   ac_status=$?
100329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100330   (exit $ac_status); }; } &&
100331          { ac_try='test -s conftest$ac_exeext'
100332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100333   (eval $ac_try) 2>&5
100334   ac_status=$?
100335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100336   (exit $ac_status); }; }; then
100337   eval "$as_ac_var=yes"
100338 else
100339   echo "$as_me: failed program was:" >&5
100340 sed 's/^/| /' conftest.$ac_ext >&5
100341
100342 eval "$as_ac_var=no"
100343 fi
100344 rm -f conftest.err conftest.$ac_objext \
100345       conftest$ac_exeext conftest.$ac_ext
100346 fi
100347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100349 if test `eval echo '${'$as_ac_var'}'` = yes; then
100350   cat >>confdefs.h <<_ACEOF
100351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100352 _ACEOF
100353
100354 fi
100355 done
100356
100357     fi
100358   fi
100359
100360
100361
100362
100363
100364
100365   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100366 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100367   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100368     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100369   echo $ECHO_N "(cached) $ECHO_C" >&6
100370 else
100371
100372
100373
100374       ac_ext=cc
100375 ac_cpp='$CXXCPP $CPPFLAGS'
100376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100379
100380       cat >conftest.$ac_ext <<_ACEOF
100381 /* confdefs.h.  */
100382 _ACEOF
100383 cat confdefs.h >>conftest.$ac_ext
100384 cat >>conftest.$ac_ext <<_ACEOF
100385 /* end confdefs.h.  */
100386 #include <math.h>
100387 int
100388 main ()
100389 {
100390  atan2l(0, 0);
100391   ;
100392   return 0;
100393 }
100394 _ACEOF
100395 rm -f conftest.$ac_objext
100396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100397   (eval $ac_compile) 2>conftest.er1
100398   ac_status=$?
100399   grep -v '^ *+' conftest.er1 >conftest.err
100400   rm -f conftest.er1
100401   cat conftest.err >&5
100402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100403   (exit $ac_status); } &&
100404          { ac_try='test -z "$ac_cxx_werror_flag"
100405                          || test ! -s conftest.err'
100406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100407   (eval $ac_try) 2>&5
100408   ac_status=$?
100409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100410   (exit $ac_status); }; } &&
100411          { ac_try='test -s conftest.$ac_objext'
100412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100413   (eval $ac_try) 2>&5
100414   ac_status=$?
100415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100416   (exit $ac_status); }; }; then
100417   glibcxx_cv_func_atan2l_use=yes
100418 else
100419   echo "$as_me: failed program was:" >&5
100420 sed 's/^/| /' conftest.$ac_ext >&5
100421
100422 glibcxx_cv_func_atan2l_use=no
100423 fi
100424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100425       ac_ext=c
100426 ac_cpp='$CPP $CPPFLAGS'
100427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100430
100431
100432 fi
100433
100434   fi
100435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100436 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100437
100438   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100439
100440 for ac_func in atan2l
100441 do
100442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100443 echo "$as_me:$LINENO: checking for $ac_func" >&5
100444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100445 if eval "test \"\${$as_ac_var+set}\" = set"; then
100446   echo $ECHO_N "(cached) $ECHO_C" >&6
100447 else
100448   if test x$gcc_no_link = xyes; then
100449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100451    { (exit 1); exit 1; }; }
100452 fi
100453 cat >conftest.$ac_ext <<_ACEOF
100454 /* confdefs.h.  */
100455 _ACEOF
100456 cat confdefs.h >>conftest.$ac_ext
100457 cat >>conftest.$ac_ext <<_ACEOF
100458 /* end confdefs.h.  */
100459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100461 #define $ac_func innocuous_$ac_func
100462
100463 /* System header to define __stub macros and hopefully few prototypes,
100464     which can conflict with char $ac_func (); below.
100465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100466     <limits.h> exists even on freestanding compilers.  */
100467
100468 #ifdef __STDC__
100469 # include <limits.h>
100470 #else
100471 # include <assert.h>
100472 #endif
100473
100474 #undef $ac_func
100475
100476 /* Override any gcc2 internal prototype to avoid an error.  */
100477 #ifdef __cplusplus
100478 extern "C"
100479 {
100480 #endif
100481 /* We use char because int might match the return type of a gcc2
100482    builtin and then its argument prototype would still apply.  */
100483 char $ac_func ();
100484 /* The GNU C library defines this for functions which it implements
100485     to always fail with ENOSYS.  Some functions are actually named
100486     something starting with __ and the normal name is an alias.  */
100487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100488 choke me
100489 #else
100490 char (*f) () = $ac_func;
100491 #endif
100492 #ifdef __cplusplus
100493 }
100494 #endif
100495
100496 int
100497 main ()
100498 {
100499 return f != $ac_func;
100500   ;
100501   return 0;
100502 }
100503 _ACEOF
100504 rm -f conftest.$ac_objext conftest$ac_exeext
100505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100506   (eval $ac_link) 2>conftest.er1
100507   ac_status=$?
100508   grep -v '^ *+' conftest.er1 >conftest.err
100509   rm -f conftest.er1
100510   cat conftest.err >&5
100511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100512   (exit $ac_status); } &&
100513          { ac_try='test -z "$ac_c_werror_flag"
100514                          || test ! -s conftest.err'
100515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100516   (eval $ac_try) 2>&5
100517   ac_status=$?
100518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100519   (exit $ac_status); }; } &&
100520          { ac_try='test -s conftest$ac_exeext'
100521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100522   (eval $ac_try) 2>&5
100523   ac_status=$?
100524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100525   (exit $ac_status); }; }; then
100526   eval "$as_ac_var=yes"
100527 else
100528   echo "$as_me: failed program was:" >&5
100529 sed 's/^/| /' conftest.$ac_ext >&5
100530
100531 eval "$as_ac_var=no"
100532 fi
100533 rm -f conftest.err conftest.$ac_objext \
100534       conftest$ac_exeext conftest.$ac_ext
100535 fi
100536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100538 if test `eval echo '${'$as_ac_var'}'` = yes; then
100539   cat >>confdefs.h <<_ACEOF
100540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100541 _ACEOF
100542
100543 fi
100544 done
100545
100546   else
100547
100548   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100549 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100550   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100551     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100552   echo $ECHO_N "(cached) $ECHO_C" >&6
100553 else
100554
100555
100556
100557       ac_ext=cc
100558 ac_cpp='$CXXCPP $CPPFLAGS'
100559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100562
100563       cat >conftest.$ac_ext <<_ACEOF
100564 /* confdefs.h.  */
100565 _ACEOF
100566 cat confdefs.h >>conftest.$ac_ext
100567 cat >>conftest.$ac_ext <<_ACEOF
100568 /* end confdefs.h.  */
100569 #include <math.h>
100570 int
100571 main ()
100572 {
100573  _atan2l(0, 0);
100574   ;
100575   return 0;
100576 }
100577 _ACEOF
100578 rm -f conftest.$ac_objext
100579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100580   (eval $ac_compile) 2>conftest.er1
100581   ac_status=$?
100582   grep -v '^ *+' conftest.er1 >conftest.err
100583   rm -f conftest.er1
100584   cat conftest.err >&5
100585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100586   (exit $ac_status); } &&
100587          { ac_try='test -z "$ac_cxx_werror_flag"
100588                          || test ! -s conftest.err'
100589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100590   (eval $ac_try) 2>&5
100591   ac_status=$?
100592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100593   (exit $ac_status); }; } &&
100594          { ac_try='test -s conftest.$ac_objext'
100595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100596   (eval $ac_try) 2>&5
100597   ac_status=$?
100598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100599   (exit $ac_status); }; }; then
100600   glibcxx_cv_func__atan2l_use=yes
100601 else
100602   echo "$as_me: failed program was:" >&5
100603 sed 's/^/| /' conftest.$ac_ext >&5
100604
100605 glibcxx_cv_func__atan2l_use=no
100606 fi
100607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100608       ac_ext=c
100609 ac_cpp='$CPP $CPPFLAGS'
100610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100613
100614
100615 fi
100616
100617   fi
100618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100619 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100620
100621     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100622
100623 for ac_func in _atan2l
100624 do
100625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100626 echo "$as_me:$LINENO: checking for $ac_func" >&5
100627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100628 if eval "test \"\${$as_ac_var+set}\" = set"; then
100629   echo $ECHO_N "(cached) $ECHO_C" >&6
100630 else
100631   if test x$gcc_no_link = xyes; then
100632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100634    { (exit 1); exit 1; }; }
100635 fi
100636 cat >conftest.$ac_ext <<_ACEOF
100637 /* confdefs.h.  */
100638 _ACEOF
100639 cat confdefs.h >>conftest.$ac_ext
100640 cat >>conftest.$ac_ext <<_ACEOF
100641 /* end confdefs.h.  */
100642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100644 #define $ac_func innocuous_$ac_func
100645
100646 /* System header to define __stub macros and hopefully few prototypes,
100647     which can conflict with char $ac_func (); below.
100648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100649     <limits.h> exists even on freestanding compilers.  */
100650
100651 #ifdef __STDC__
100652 # include <limits.h>
100653 #else
100654 # include <assert.h>
100655 #endif
100656
100657 #undef $ac_func
100658
100659 /* Override any gcc2 internal prototype to avoid an error.  */
100660 #ifdef __cplusplus
100661 extern "C"
100662 {
100663 #endif
100664 /* We use char because int might match the return type of a gcc2
100665    builtin and then its argument prototype would still apply.  */
100666 char $ac_func ();
100667 /* The GNU C library defines this for functions which it implements
100668     to always fail with ENOSYS.  Some functions are actually named
100669     something starting with __ and the normal name is an alias.  */
100670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100671 choke me
100672 #else
100673 char (*f) () = $ac_func;
100674 #endif
100675 #ifdef __cplusplus
100676 }
100677 #endif
100678
100679 int
100680 main ()
100681 {
100682 return f != $ac_func;
100683   ;
100684   return 0;
100685 }
100686 _ACEOF
100687 rm -f conftest.$ac_objext conftest$ac_exeext
100688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100689   (eval $ac_link) 2>conftest.er1
100690   ac_status=$?
100691   grep -v '^ *+' conftest.er1 >conftest.err
100692   rm -f conftest.er1
100693   cat conftest.err >&5
100694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100695   (exit $ac_status); } &&
100696          { ac_try='test -z "$ac_c_werror_flag"
100697                          || test ! -s conftest.err'
100698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100699   (eval $ac_try) 2>&5
100700   ac_status=$?
100701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100702   (exit $ac_status); }; } &&
100703          { ac_try='test -s conftest$ac_exeext'
100704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100705   (eval $ac_try) 2>&5
100706   ac_status=$?
100707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100708   (exit $ac_status); }; }; then
100709   eval "$as_ac_var=yes"
100710 else
100711   echo "$as_me: failed program was:" >&5
100712 sed 's/^/| /' conftest.$ac_ext >&5
100713
100714 eval "$as_ac_var=no"
100715 fi
100716 rm -f conftest.err conftest.$ac_objext \
100717       conftest$ac_exeext conftest.$ac_ext
100718 fi
100719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100721 if test `eval echo '${'$as_ac_var'}'` = yes; then
100722   cat >>confdefs.h <<_ACEOF
100723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100724 _ACEOF
100725
100726 fi
100727 done
100728
100729     fi
100730   fi
100731
100732
100733
100734
100735
100736
100737   echo "$as_me:$LINENO: checking for expl declaration" >&5
100738 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100739   if test x${glibcxx_cv_func_expl_use+set} != xset; then
100740     if test "${glibcxx_cv_func_expl_use+set}" = set; then
100741   echo $ECHO_N "(cached) $ECHO_C" >&6
100742 else
100743
100744
100745
100746       ac_ext=cc
100747 ac_cpp='$CXXCPP $CPPFLAGS'
100748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100751
100752       cat >conftest.$ac_ext <<_ACEOF
100753 /* confdefs.h.  */
100754 _ACEOF
100755 cat confdefs.h >>conftest.$ac_ext
100756 cat >>conftest.$ac_ext <<_ACEOF
100757 /* end confdefs.h.  */
100758 #include <math.h>
100759                       #ifdef HAVE_IEEEFP_H
100760                       #include <ieeefp.h>
100761                       #endif
100762
100763 int
100764 main ()
100765 {
100766  expl(0);
100767   ;
100768   return 0;
100769 }
100770 _ACEOF
100771 rm -f conftest.$ac_objext
100772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100773   (eval $ac_compile) 2>conftest.er1
100774   ac_status=$?
100775   grep -v '^ *+' conftest.er1 >conftest.err
100776   rm -f conftest.er1
100777   cat conftest.err >&5
100778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100779   (exit $ac_status); } &&
100780          { ac_try='test -z "$ac_cxx_werror_flag"
100781                          || test ! -s conftest.err'
100782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100783   (eval $ac_try) 2>&5
100784   ac_status=$?
100785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100786   (exit $ac_status); }; } &&
100787          { ac_try='test -s conftest.$ac_objext'
100788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100789   (eval $ac_try) 2>&5
100790   ac_status=$?
100791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100792   (exit $ac_status); }; }; then
100793   glibcxx_cv_func_expl_use=yes
100794 else
100795   echo "$as_me: failed program was:" >&5
100796 sed 's/^/| /' conftest.$ac_ext >&5
100797
100798 glibcxx_cv_func_expl_use=no
100799 fi
100800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100801       ac_ext=c
100802 ac_cpp='$CPP $CPPFLAGS'
100803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100806
100807
100808 fi
100809
100810   fi
100811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100812 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100813
100814   if test x$glibcxx_cv_func_expl_use = x"yes"; then
100815
100816 for ac_func in expl
100817 do
100818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100819 echo "$as_me:$LINENO: checking for $ac_func" >&5
100820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100821 if eval "test \"\${$as_ac_var+set}\" = set"; then
100822   echo $ECHO_N "(cached) $ECHO_C" >&6
100823 else
100824   if test x$gcc_no_link = xyes; then
100825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100827    { (exit 1); exit 1; }; }
100828 fi
100829 cat >conftest.$ac_ext <<_ACEOF
100830 /* confdefs.h.  */
100831 _ACEOF
100832 cat confdefs.h >>conftest.$ac_ext
100833 cat >>conftest.$ac_ext <<_ACEOF
100834 /* end confdefs.h.  */
100835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100837 #define $ac_func innocuous_$ac_func
100838
100839 /* System header to define __stub macros and hopefully few prototypes,
100840     which can conflict with char $ac_func (); below.
100841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100842     <limits.h> exists even on freestanding compilers.  */
100843
100844 #ifdef __STDC__
100845 # include <limits.h>
100846 #else
100847 # include <assert.h>
100848 #endif
100849
100850 #undef $ac_func
100851
100852 /* Override any gcc2 internal prototype to avoid an error.  */
100853 #ifdef __cplusplus
100854 extern "C"
100855 {
100856 #endif
100857 /* We use char because int might match the return type of a gcc2
100858    builtin and then its argument prototype would still apply.  */
100859 char $ac_func ();
100860 /* The GNU C library defines this for functions which it implements
100861     to always fail with ENOSYS.  Some functions are actually named
100862     something starting with __ and the normal name is an alias.  */
100863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100864 choke me
100865 #else
100866 char (*f) () = $ac_func;
100867 #endif
100868 #ifdef __cplusplus
100869 }
100870 #endif
100871
100872 int
100873 main ()
100874 {
100875 return f != $ac_func;
100876   ;
100877   return 0;
100878 }
100879 _ACEOF
100880 rm -f conftest.$ac_objext conftest$ac_exeext
100881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100882   (eval $ac_link) 2>conftest.er1
100883   ac_status=$?
100884   grep -v '^ *+' conftest.er1 >conftest.err
100885   rm -f conftest.er1
100886   cat conftest.err >&5
100887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100888   (exit $ac_status); } &&
100889          { ac_try='test -z "$ac_c_werror_flag"
100890                          || test ! -s conftest.err'
100891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100892   (eval $ac_try) 2>&5
100893   ac_status=$?
100894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100895   (exit $ac_status); }; } &&
100896          { ac_try='test -s conftest$ac_exeext'
100897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100898   (eval $ac_try) 2>&5
100899   ac_status=$?
100900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100901   (exit $ac_status); }; }; then
100902   eval "$as_ac_var=yes"
100903 else
100904   echo "$as_me: failed program was:" >&5
100905 sed 's/^/| /' conftest.$ac_ext >&5
100906
100907 eval "$as_ac_var=no"
100908 fi
100909 rm -f conftest.err conftest.$ac_objext \
100910       conftest$ac_exeext conftest.$ac_ext
100911 fi
100912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100914 if test `eval echo '${'$as_ac_var'}'` = yes; then
100915   cat >>confdefs.h <<_ACEOF
100916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100917 _ACEOF
100918
100919 fi
100920 done
100921
100922   else
100923
100924   echo "$as_me:$LINENO: checking for _expl declaration" >&5
100925 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100926   if test x${glibcxx_cv_func__expl_use+set} != xset; then
100927     if test "${glibcxx_cv_func__expl_use+set}" = set; then
100928   echo $ECHO_N "(cached) $ECHO_C" >&6
100929 else
100930
100931
100932
100933       ac_ext=cc
100934 ac_cpp='$CXXCPP $CPPFLAGS'
100935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100938
100939       cat >conftest.$ac_ext <<_ACEOF
100940 /* confdefs.h.  */
100941 _ACEOF
100942 cat confdefs.h >>conftest.$ac_ext
100943 cat >>conftest.$ac_ext <<_ACEOF
100944 /* end confdefs.h.  */
100945 #include <math.h>
100946                       #ifdef HAVE_IEEEFP_H
100947                       #include <ieeefp.h>
100948                       #endif
100949
100950 int
100951 main ()
100952 {
100953  _expl(0);
100954   ;
100955   return 0;
100956 }
100957 _ACEOF
100958 rm -f conftest.$ac_objext
100959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100960   (eval $ac_compile) 2>conftest.er1
100961   ac_status=$?
100962   grep -v '^ *+' conftest.er1 >conftest.err
100963   rm -f conftest.er1
100964   cat conftest.err >&5
100965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100966   (exit $ac_status); } &&
100967          { ac_try='test -z "$ac_cxx_werror_flag"
100968                          || test ! -s conftest.err'
100969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100970   (eval $ac_try) 2>&5
100971   ac_status=$?
100972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100973   (exit $ac_status); }; } &&
100974          { ac_try='test -s conftest.$ac_objext'
100975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100976   (eval $ac_try) 2>&5
100977   ac_status=$?
100978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100979   (exit $ac_status); }; }; then
100980   glibcxx_cv_func__expl_use=yes
100981 else
100982   echo "$as_me: failed program was:" >&5
100983 sed 's/^/| /' conftest.$ac_ext >&5
100984
100985 glibcxx_cv_func__expl_use=no
100986 fi
100987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100988       ac_ext=c
100989 ac_cpp='$CPP $CPPFLAGS'
100990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100993
100994
100995 fi
100996
100997   fi
100998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100999 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
101000
101001     if test x$glibcxx_cv_func__expl_use = x"yes"; then
101002
101003 for ac_func in _expl
101004 do
101005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101006 echo "$as_me:$LINENO: checking for $ac_func" >&5
101007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101008 if eval "test \"\${$as_ac_var+set}\" = set"; then
101009   echo $ECHO_N "(cached) $ECHO_C" >&6
101010 else
101011   if test x$gcc_no_link = xyes; then
101012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101014    { (exit 1); exit 1; }; }
101015 fi
101016 cat >conftest.$ac_ext <<_ACEOF
101017 /* confdefs.h.  */
101018 _ACEOF
101019 cat confdefs.h >>conftest.$ac_ext
101020 cat >>conftest.$ac_ext <<_ACEOF
101021 /* end confdefs.h.  */
101022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101024 #define $ac_func innocuous_$ac_func
101025
101026 /* System header to define __stub macros and hopefully few prototypes,
101027     which can conflict with char $ac_func (); below.
101028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101029     <limits.h> exists even on freestanding compilers.  */
101030
101031 #ifdef __STDC__
101032 # include <limits.h>
101033 #else
101034 # include <assert.h>
101035 #endif
101036
101037 #undef $ac_func
101038
101039 /* Override any gcc2 internal prototype to avoid an error.  */
101040 #ifdef __cplusplus
101041 extern "C"
101042 {
101043 #endif
101044 /* We use char because int might match the return type of a gcc2
101045    builtin and then its argument prototype would still apply.  */
101046 char $ac_func ();
101047 /* The GNU C library defines this for functions which it implements
101048     to always fail with ENOSYS.  Some functions are actually named
101049     something starting with __ and the normal name is an alias.  */
101050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101051 choke me
101052 #else
101053 char (*f) () = $ac_func;
101054 #endif
101055 #ifdef __cplusplus
101056 }
101057 #endif
101058
101059 int
101060 main ()
101061 {
101062 return f != $ac_func;
101063   ;
101064   return 0;
101065 }
101066 _ACEOF
101067 rm -f conftest.$ac_objext conftest$ac_exeext
101068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101069   (eval $ac_link) 2>conftest.er1
101070   ac_status=$?
101071   grep -v '^ *+' conftest.er1 >conftest.err
101072   rm -f conftest.er1
101073   cat conftest.err >&5
101074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101075   (exit $ac_status); } &&
101076          { ac_try='test -z "$ac_c_werror_flag"
101077                          || test ! -s conftest.err'
101078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101079   (eval $ac_try) 2>&5
101080   ac_status=$?
101081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101082   (exit $ac_status); }; } &&
101083          { ac_try='test -s conftest$ac_exeext'
101084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101085   (eval $ac_try) 2>&5
101086   ac_status=$?
101087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101088   (exit $ac_status); }; }; then
101089   eval "$as_ac_var=yes"
101090 else
101091   echo "$as_me: failed program was:" >&5
101092 sed 's/^/| /' conftest.$ac_ext >&5
101093
101094 eval "$as_ac_var=no"
101095 fi
101096 rm -f conftest.err conftest.$ac_objext \
101097       conftest$ac_exeext conftest.$ac_ext
101098 fi
101099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101101 if test `eval echo '${'$as_ac_var'}'` = yes; then
101102   cat >>confdefs.h <<_ACEOF
101103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101104 _ACEOF
101105
101106 fi
101107 done
101108
101109     fi
101110   fi
101111
101112
101113
101114
101115
101116
101117   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
101118 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
101119   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
101120     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
101121   echo $ECHO_N "(cached) $ECHO_C" >&6
101122 else
101123
101124
101125
101126       ac_ext=cc
101127 ac_cpp='$CXXCPP $CPPFLAGS'
101128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101131
101132       cat >conftest.$ac_ext <<_ACEOF
101133 /* confdefs.h.  */
101134 _ACEOF
101135 cat confdefs.h >>conftest.$ac_ext
101136 cat >>conftest.$ac_ext <<_ACEOF
101137 /* end confdefs.h.  */
101138 #include <math.h>
101139                       #ifdef HAVE_IEEEFP_H
101140                       #include <ieeefp.h>
101141                       #endif
101142
101143 int
101144 main ()
101145 {
101146  fabsl(0);
101147   ;
101148   return 0;
101149 }
101150 _ACEOF
101151 rm -f conftest.$ac_objext
101152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101153   (eval $ac_compile) 2>conftest.er1
101154   ac_status=$?
101155   grep -v '^ *+' conftest.er1 >conftest.err
101156   rm -f conftest.er1
101157   cat conftest.err >&5
101158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101159   (exit $ac_status); } &&
101160          { ac_try='test -z "$ac_cxx_werror_flag"
101161                          || test ! -s conftest.err'
101162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101163   (eval $ac_try) 2>&5
101164   ac_status=$?
101165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101166   (exit $ac_status); }; } &&
101167          { ac_try='test -s conftest.$ac_objext'
101168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101169   (eval $ac_try) 2>&5
101170   ac_status=$?
101171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101172   (exit $ac_status); }; }; then
101173   glibcxx_cv_func_fabsl_use=yes
101174 else
101175   echo "$as_me: failed program was:" >&5
101176 sed 's/^/| /' conftest.$ac_ext >&5
101177
101178 glibcxx_cv_func_fabsl_use=no
101179 fi
101180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101181       ac_ext=c
101182 ac_cpp='$CPP $CPPFLAGS'
101183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101186
101187
101188 fi
101189
101190   fi
101191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
101192 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
101193
101194   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
101195
101196 for ac_func in fabsl
101197 do
101198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101199 echo "$as_me:$LINENO: checking for $ac_func" >&5
101200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101201 if eval "test \"\${$as_ac_var+set}\" = set"; then
101202   echo $ECHO_N "(cached) $ECHO_C" >&6
101203 else
101204   if test x$gcc_no_link = xyes; then
101205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101207    { (exit 1); exit 1; }; }
101208 fi
101209 cat >conftest.$ac_ext <<_ACEOF
101210 /* confdefs.h.  */
101211 _ACEOF
101212 cat confdefs.h >>conftest.$ac_ext
101213 cat >>conftest.$ac_ext <<_ACEOF
101214 /* end confdefs.h.  */
101215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101217 #define $ac_func innocuous_$ac_func
101218
101219 /* System header to define __stub macros and hopefully few prototypes,
101220     which can conflict with char $ac_func (); below.
101221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101222     <limits.h> exists even on freestanding compilers.  */
101223
101224 #ifdef __STDC__
101225 # include <limits.h>
101226 #else
101227 # include <assert.h>
101228 #endif
101229
101230 #undef $ac_func
101231
101232 /* Override any gcc2 internal prototype to avoid an error.  */
101233 #ifdef __cplusplus
101234 extern "C"
101235 {
101236 #endif
101237 /* We use char because int might match the return type of a gcc2
101238    builtin and then its argument prototype would still apply.  */
101239 char $ac_func ();
101240 /* The GNU C library defines this for functions which it implements
101241     to always fail with ENOSYS.  Some functions are actually named
101242     something starting with __ and the normal name is an alias.  */
101243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101244 choke me
101245 #else
101246 char (*f) () = $ac_func;
101247 #endif
101248 #ifdef __cplusplus
101249 }
101250 #endif
101251
101252 int
101253 main ()
101254 {
101255 return f != $ac_func;
101256   ;
101257   return 0;
101258 }
101259 _ACEOF
101260 rm -f conftest.$ac_objext conftest$ac_exeext
101261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101262   (eval $ac_link) 2>conftest.er1
101263   ac_status=$?
101264   grep -v '^ *+' conftest.er1 >conftest.err
101265   rm -f conftest.er1
101266   cat conftest.err >&5
101267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101268   (exit $ac_status); } &&
101269          { ac_try='test -z "$ac_c_werror_flag"
101270                          || test ! -s conftest.err'
101271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101272   (eval $ac_try) 2>&5
101273   ac_status=$?
101274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101275   (exit $ac_status); }; } &&
101276          { ac_try='test -s conftest$ac_exeext'
101277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101278   (eval $ac_try) 2>&5
101279   ac_status=$?
101280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101281   (exit $ac_status); }; }; then
101282   eval "$as_ac_var=yes"
101283 else
101284   echo "$as_me: failed program was:" >&5
101285 sed 's/^/| /' conftest.$ac_ext >&5
101286
101287 eval "$as_ac_var=no"
101288 fi
101289 rm -f conftest.err conftest.$ac_objext \
101290       conftest$ac_exeext conftest.$ac_ext
101291 fi
101292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101294 if test `eval echo '${'$as_ac_var'}'` = yes; then
101295   cat >>confdefs.h <<_ACEOF
101296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101297 _ACEOF
101298
101299 fi
101300 done
101301
101302   else
101303
101304   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
101305 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
101306   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
101307     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
101308   echo $ECHO_N "(cached) $ECHO_C" >&6
101309 else
101310
101311
101312
101313       ac_ext=cc
101314 ac_cpp='$CXXCPP $CPPFLAGS'
101315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101318
101319       cat >conftest.$ac_ext <<_ACEOF
101320 /* confdefs.h.  */
101321 _ACEOF
101322 cat confdefs.h >>conftest.$ac_ext
101323 cat >>conftest.$ac_ext <<_ACEOF
101324 /* end confdefs.h.  */
101325 #include <math.h>
101326                       #ifdef HAVE_IEEEFP_H
101327                       #include <ieeefp.h>
101328                       #endif
101329
101330 int
101331 main ()
101332 {
101333  _fabsl(0);
101334   ;
101335   return 0;
101336 }
101337 _ACEOF
101338 rm -f conftest.$ac_objext
101339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101340   (eval $ac_compile) 2>conftest.er1
101341   ac_status=$?
101342   grep -v '^ *+' conftest.er1 >conftest.err
101343   rm -f conftest.er1
101344   cat conftest.err >&5
101345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101346   (exit $ac_status); } &&
101347          { ac_try='test -z "$ac_cxx_werror_flag"
101348                          || test ! -s conftest.err'
101349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101350   (eval $ac_try) 2>&5
101351   ac_status=$?
101352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101353   (exit $ac_status); }; } &&
101354          { ac_try='test -s conftest.$ac_objext'
101355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101356   (eval $ac_try) 2>&5
101357   ac_status=$?
101358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101359   (exit $ac_status); }; }; then
101360   glibcxx_cv_func__fabsl_use=yes
101361 else
101362   echo "$as_me: failed program was:" >&5
101363 sed 's/^/| /' conftest.$ac_ext >&5
101364
101365 glibcxx_cv_func__fabsl_use=no
101366 fi
101367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101368       ac_ext=c
101369 ac_cpp='$CPP $CPPFLAGS'
101370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101373
101374
101375 fi
101376
101377   fi
101378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101379 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101380
101381     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101382
101383 for ac_func in _fabsl
101384 do
101385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101386 echo "$as_me:$LINENO: checking for $ac_func" >&5
101387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101388 if eval "test \"\${$as_ac_var+set}\" = set"; then
101389   echo $ECHO_N "(cached) $ECHO_C" >&6
101390 else
101391   if test x$gcc_no_link = xyes; then
101392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101394    { (exit 1); exit 1; }; }
101395 fi
101396 cat >conftest.$ac_ext <<_ACEOF
101397 /* confdefs.h.  */
101398 _ACEOF
101399 cat confdefs.h >>conftest.$ac_ext
101400 cat >>conftest.$ac_ext <<_ACEOF
101401 /* end confdefs.h.  */
101402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101404 #define $ac_func innocuous_$ac_func
101405
101406 /* System header to define __stub macros and hopefully few prototypes,
101407     which can conflict with char $ac_func (); below.
101408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101409     <limits.h> exists even on freestanding compilers.  */
101410
101411 #ifdef __STDC__
101412 # include <limits.h>
101413 #else
101414 # include <assert.h>
101415 #endif
101416
101417 #undef $ac_func
101418
101419 /* Override any gcc2 internal prototype to avoid an error.  */
101420 #ifdef __cplusplus
101421 extern "C"
101422 {
101423 #endif
101424 /* We use char because int might match the return type of a gcc2
101425    builtin and then its argument prototype would still apply.  */
101426 char $ac_func ();
101427 /* The GNU C library defines this for functions which it implements
101428     to always fail with ENOSYS.  Some functions are actually named
101429     something starting with __ and the normal name is an alias.  */
101430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101431 choke me
101432 #else
101433 char (*f) () = $ac_func;
101434 #endif
101435 #ifdef __cplusplus
101436 }
101437 #endif
101438
101439 int
101440 main ()
101441 {
101442 return f != $ac_func;
101443   ;
101444   return 0;
101445 }
101446 _ACEOF
101447 rm -f conftest.$ac_objext conftest$ac_exeext
101448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101449   (eval $ac_link) 2>conftest.er1
101450   ac_status=$?
101451   grep -v '^ *+' conftest.er1 >conftest.err
101452   rm -f conftest.er1
101453   cat conftest.err >&5
101454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101455   (exit $ac_status); } &&
101456          { ac_try='test -z "$ac_c_werror_flag"
101457                          || test ! -s conftest.err'
101458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101459   (eval $ac_try) 2>&5
101460   ac_status=$?
101461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101462   (exit $ac_status); }; } &&
101463          { ac_try='test -s conftest$ac_exeext'
101464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101465   (eval $ac_try) 2>&5
101466   ac_status=$?
101467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101468   (exit $ac_status); }; }; then
101469   eval "$as_ac_var=yes"
101470 else
101471   echo "$as_me: failed program was:" >&5
101472 sed 's/^/| /' conftest.$ac_ext >&5
101473
101474 eval "$as_ac_var=no"
101475 fi
101476 rm -f conftest.err conftest.$ac_objext \
101477       conftest$ac_exeext conftest.$ac_ext
101478 fi
101479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101481 if test `eval echo '${'$as_ac_var'}'` = yes; then
101482   cat >>confdefs.h <<_ACEOF
101483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101484 _ACEOF
101485
101486 fi
101487 done
101488
101489     fi
101490   fi
101491
101492
101493
101494
101495
101496
101497   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101498 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101499   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101500     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101501   echo $ECHO_N "(cached) $ECHO_C" >&6
101502 else
101503
101504
101505
101506       ac_ext=cc
101507 ac_cpp='$CXXCPP $CPPFLAGS'
101508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101511
101512       cat >conftest.$ac_ext <<_ACEOF
101513 /* confdefs.h.  */
101514 _ACEOF
101515 cat confdefs.h >>conftest.$ac_ext
101516 cat >>conftest.$ac_ext <<_ACEOF
101517 /* end confdefs.h.  */
101518 #include <math.h>
101519 int
101520 main ()
101521 {
101522  fmodl(0, 0);
101523   ;
101524   return 0;
101525 }
101526 _ACEOF
101527 rm -f conftest.$ac_objext
101528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101529   (eval $ac_compile) 2>conftest.er1
101530   ac_status=$?
101531   grep -v '^ *+' conftest.er1 >conftest.err
101532   rm -f conftest.er1
101533   cat conftest.err >&5
101534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101535   (exit $ac_status); } &&
101536          { ac_try='test -z "$ac_cxx_werror_flag"
101537                          || test ! -s conftest.err'
101538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101539   (eval $ac_try) 2>&5
101540   ac_status=$?
101541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101542   (exit $ac_status); }; } &&
101543          { ac_try='test -s conftest.$ac_objext'
101544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101545   (eval $ac_try) 2>&5
101546   ac_status=$?
101547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101548   (exit $ac_status); }; }; then
101549   glibcxx_cv_func_fmodl_use=yes
101550 else
101551   echo "$as_me: failed program was:" >&5
101552 sed 's/^/| /' conftest.$ac_ext >&5
101553
101554 glibcxx_cv_func_fmodl_use=no
101555 fi
101556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101557       ac_ext=c
101558 ac_cpp='$CPP $CPPFLAGS'
101559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101562
101563
101564 fi
101565
101566   fi
101567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101568 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101569
101570   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101571
101572 for ac_func in fmodl
101573 do
101574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101575 echo "$as_me:$LINENO: checking for $ac_func" >&5
101576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101577 if eval "test \"\${$as_ac_var+set}\" = set"; then
101578   echo $ECHO_N "(cached) $ECHO_C" >&6
101579 else
101580   if test x$gcc_no_link = xyes; then
101581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101583    { (exit 1); exit 1; }; }
101584 fi
101585 cat >conftest.$ac_ext <<_ACEOF
101586 /* confdefs.h.  */
101587 _ACEOF
101588 cat confdefs.h >>conftest.$ac_ext
101589 cat >>conftest.$ac_ext <<_ACEOF
101590 /* end confdefs.h.  */
101591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101593 #define $ac_func innocuous_$ac_func
101594
101595 /* System header to define __stub macros and hopefully few prototypes,
101596     which can conflict with char $ac_func (); below.
101597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101598     <limits.h> exists even on freestanding compilers.  */
101599
101600 #ifdef __STDC__
101601 # include <limits.h>
101602 #else
101603 # include <assert.h>
101604 #endif
101605
101606 #undef $ac_func
101607
101608 /* Override any gcc2 internal prototype to avoid an error.  */
101609 #ifdef __cplusplus
101610 extern "C"
101611 {
101612 #endif
101613 /* We use char because int might match the return type of a gcc2
101614    builtin and then its argument prototype would still apply.  */
101615 char $ac_func ();
101616 /* The GNU C library defines this for functions which it implements
101617     to always fail with ENOSYS.  Some functions are actually named
101618     something starting with __ and the normal name is an alias.  */
101619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101620 choke me
101621 #else
101622 char (*f) () = $ac_func;
101623 #endif
101624 #ifdef __cplusplus
101625 }
101626 #endif
101627
101628 int
101629 main ()
101630 {
101631 return f != $ac_func;
101632   ;
101633   return 0;
101634 }
101635 _ACEOF
101636 rm -f conftest.$ac_objext conftest$ac_exeext
101637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101638   (eval $ac_link) 2>conftest.er1
101639   ac_status=$?
101640   grep -v '^ *+' conftest.er1 >conftest.err
101641   rm -f conftest.er1
101642   cat conftest.err >&5
101643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101644   (exit $ac_status); } &&
101645          { ac_try='test -z "$ac_c_werror_flag"
101646                          || test ! -s conftest.err'
101647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101648   (eval $ac_try) 2>&5
101649   ac_status=$?
101650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651   (exit $ac_status); }; } &&
101652          { ac_try='test -s conftest$ac_exeext'
101653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101654   (eval $ac_try) 2>&5
101655   ac_status=$?
101656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101657   (exit $ac_status); }; }; then
101658   eval "$as_ac_var=yes"
101659 else
101660   echo "$as_me: failed program was:" >&5
101661 sed 's/^/| /' conftest.$ac_ext >&5
101662
101663 eval "$as_ac_var=no"
101664 fi
101665 rm -f conftest.err conftest.$ac_objext \
101666       conftest$ac_exeext conftest.$ac_ext
101667 fi
101668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101670 if test `eval echo '${'$as_ac_var'}'` = yes; then
101671   cat >>confdefs.h <<_ACEOF
101672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101673 _ACEOF
101674
101675 fi
101676 done
101677
101678   else
101679
101680   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101681 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101682   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101683     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101684   echo $ECHO_N "(cached) $ECHO_C" >&6
101685 else
101686
101687
101688
101689       ac_ext=cc
101690 ac_cpp='$CXXCPP $CPPFLAGS'
101691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101694
101695       cat >conftest.$ac_ext <<_ACEOF
101696 /* confdefs.h.  */
101697 _ACEOF
101698 cat confdefs.h >>conftest.$ac_ext
101699 cat >>conftest.$ac_ext <<_ACEOF
101700 /* end confdefs.h.  */
101701 #include <math.h>
101702 int
101703 main ()
101704 {
101705  _fmodl(0, 0);
101706   ;
101707   return 0;
101708 }
101709 _ACEOF
101710 rm -f conftest.$ac_objext
101711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101712   (eval $ac_compile) 2>conftest.er1
101713   ac_status=$?
101714   grep -v '^ *+' conftest.er1 >conftest.err
101715   rm -f conftest.er1
101716   cat conftest.err >&5
101717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101718   (exit $ac_status); } &&
101719          { ac_try='test -z "$ac_cxx_werror_flag"
101720                          || test ! -s conftest.err'
101721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101722   (eval $ac_try) 2>&5
101723   ac_status=$?
101724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101725   (exit $ac_status); }; } &&
101726          { ac_try='test -s conftest.$ac_objext'
101727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101728   (eval $ac_try) 2>&5
101729   ac_status=$?
101730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101731   (exit $ac_status); }; }; then
101732   glibcxx_cv_func__fmodl_use=yes
101733 else
101734   echo "$as_me: failed program was:" >&5
101735 sed 's/^/| /' conftest.$ac_ext >&5
101736
101737 glibcxx_cv_func__fmodl_use=no
101738 fi
101739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101740       ac_ext=c
101741 ac_cpp='$CPP $CPPFLAGS'
101742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101745
101746
101747 fi
101748
101749   fi
101750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101751 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101752
101753     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101754
101755 for ac_func in _fmodl
101756 do
101757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101758 echo "$as_me:$LINENO: checking for $ac_func" >&5
101759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101760 if eval "test \"\${$as_ac_var+set}\" = set"; then
101761   echo $ECHO_N "(cached) $ECHO_C" >&6
101762 else
101763   if test x$gcc_no_link = xyes; then
101764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101766    { (exit 1); exit 1; }; }
101767 fi
101768 cat >conftest.$ac_ext <<_ACEOF
101769 /* confdefs.h.  */
101770 _ACEOF
101771 cat confdefs.h >>conftest.$ac_ext
101772 cat >>conftest.$ac_ext <<_ACEOF
101773 /* end confdefs.h.  */
101774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101776 #define $ac_func innocuous_$ac_func
101777
101778 /* System header to define __stub macros and hopefully few prototypes,
101779     which can conflict with char $ac_func (); below.
101780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101781     <limits.h> exists even on freestanding compilers.  */
101782
101783 #ifdef __STDC__
101784 # include <limits.h>
101785 #else
101786 # include <assert.h>
101787 #endif
101788
101789 #undef $ac_func
101790
101791 /* Override any gcc2 internal prototype to avoid an error.  */
101792 #ifdef __cplusplus
101793 extern "C"
101794 {
101795 #endif
101796 /* We use char because int might match the return type of a gcc2
101797    builtin and then its argument prototype would still apply.  */
101798 char $ac_func ();
101799 /* The GNU C library defines this for functions which it implements
101800     to always fail with ENOSYS.  Some functions are actually named
101801     something starting with __ and the normal name is an alias.  */
101802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101803 choke me
101804 #else
101805 char (*f) () = $ac_func;
101806 #endif
101807 #ifdef __cplusplus
101808 }
101809 #endif
101810
101811 int
101812 main ()
101813 {
101814 return f != $ac_func;
101815   ;
101816   return 0;
101817 }
101818 _ACEOF
101819 rm -f conftest.$ac_objext conftest$ac_exeext
101820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101821   (eval $ac_link) 2>conftest.er1
101822   ac_status=$?
101823   grep -v '^ *+' conftest.er1 >conftest.err
101824   rm -f conftest.er1
101825   cat conftest.err >&5
101826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101827   (exit $ac_status); } &&
101828          { ac_try='test -z "$ac_c_werror_flag"
101829                          || test ! -s conftest.err'
101830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101831   (eval $ac_try) 2>&5
101832   ac_status=$?
101833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101834   (exit $ac_status); }; } &&
101835          { ac_try='test -s conftest$ac_exeext'
101836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101837   (eval $ac_try) 2>&5
101838   ac_status=$?
101839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101840   (exit $ac_status); }; }; then
101841   eval "$as_ac_var=yes"
101842 else
101843   echo "$as_me: failed program was:" >&5
101844 sed 's/^/| /' conftest.$ac_ext >&5
101845
101846 eval "$as_ac_var=no"
101847 fi
101848 rm -f conftest.err conftest.$ac_objext \
101849       conftest$ac_exeext conftest.$ac_ext
101850 fi
101851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101853 if test `eval echo '${'$as_ac_var'}'` = yes; then
101854   cat >>confdefs.h <<_ACEOF
101855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101856 _ACEOF
101857
101858 fi
101859 done
101860
101861     fi
101862   fi
101863
101864
101865
101866
101867
101868
101869   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101870 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101871   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101872     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101873   echo $ECHO_N "(cached) $ECHO_C" >&6
101874 else
101875
101876
101877
101878       ac_ext=cc
101879 ac_cpp='$CXXCPP $CPPFLAGS'
101880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101883
101884       cat >conftest.$ac_ext <<_ACEOF
101885 /* confdefs.h.  */
101886 _ACEOF
101887 cat confdefs.h >>conftest.$ac_ext
101888 cat >>conftest.$ac_ext <<_ACEOF
101889 /* end confdefs.h.  */
101890 #include <math.h>
101891 int
101892 main ()
101893 {
101894  frexpl(0, 0);
101895   ;
101896   return 0;
101897 }
101898 _ACEOF
101899 rm -f conftest.$ac_objext
101900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101901   (eval $ac_compile) 2>conftest.er1
101902   ac_status=$?
101903   grep -v '^ *+' conftest.er1 >conftest.err
101904   rm -f conftest.er1
101905   cat conftest.err >&5
101906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101907   (exit $ac_status); } &&
101908          { ac_try='test -z "$ac_cxx_werror_flag"
101909                          || test ! -s conftest.err'
101910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101911   (eval $ac_try) 2>&5
101912   ac_status=$?
101913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101914   (exit $ac_status); }; } &&
101915          { ac_try='test -s conftest.$ac_objext'
101916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101917   (eval $ac_try) 2>&5
101918   ac_status=$?
101919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101920   (exit $ac_status); }; }; then
101921   glibcxx_cv_func_frexpl_use=yes
101922 else
101923   echo "$as_me: failed program was:" >&5
101924 sed 's/^/| /' conftest.$ac_ext >&5
101925
101926 glibcxx_cv_func_frexpl_use=no
101927 fi
101928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101929       ac_ext=c
101930 ac_cpp='$CPP $CPPFLAGS'
101931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101934
101935
101936 fi
101937
101938   fi
101939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101940 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101941
101942   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101943
101944 for ac_func in frexpl
101945 do
101946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101947 echo "$as_me:$LINENO: checking for $ac_func" >&5
101948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101949 if eval "test \"\${$as_ac_var+set}\" = set"; then
101950   echo $ECHO_N "(cached) $ECHO_C" >&6
101951 else
101952   if test x$gcc_no_link = xyes; then
101953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101955    { (exit 1); exit 1; }; }
101956 fi
101957 cat >conftest.$ac_ext <<_ACEOF
101958 /* confdefs.h.  */
101959 _ACEOF
101960 cat confdefs.h >>conftest.$ac_ext
101961 cat >>conftest.$ac_ext <<_ACEOF
101962 /* end confdefs.h.  */
101963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101965 #define $ac_func innocuous_$ac_func
101966
101967 /* System header to define __stub macros and hopefully few prototypes,
101968     which can conflict with char $ac_func (); below.
101969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101970     <limits.h> exists even on freestanding compilers.  */
101971
101972 #ifdef __STDC__
101973 # include <limits.h>
101974 #else
101975 # include <assert.h>
101976 #endif
101977
101978 #undef $ac_func
101979
101980 /* Override any gcc2 internal prototype to avoid an error.  */
101981 #ifdef __cplusplus
101982 extern "C"
101983 {
101984 #endif
101985 /* We use char because int might match the return type of a gcc2
101986    builtin and then its argument prototype would still apply.  */
101987 char $ac_func ();
101988 /* The GNU C library defines this for functions which it implements
101989     to always fail with ENOSYS.  Some functions are actually named
101990     something starting with __ and the normal name is an alias.  */
101991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101992 choke me
101993 #else
101994 char (*f) () = $ac_func;
101995 #endif
101996 #ifdef __cplusplus
101997 }
101998 #endif
101999
102000 int
102001 main ()
102002 {
102003 return f != $ac_func;
102004   ;
102005   return 0;
102006 }
102007 _ACEOF
102008 rm -f conftest.$ac_objext conftest$ac_exeext
102009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102010   (eval $ac_link) 2>conftest.er1
102011   ac_status=$?
102012   grep -v '^ *+' conftest.er1 >conftest.err
102013   rm -f conftest.er1
102014   cat conftest.err >&5
102015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102016   (exit $ac_status); } &&
102017          { ac_try='test -z "$ac_c_werror_flag"
102018                          || test ! -s conftest.err'
102019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102020   (eval $ac_try) 2>&5
102021   ac_status=$?
102022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102023   (exit $ac_status); }; } &&
102024          { ac_try='test -s conftest$ac_exeext'
102025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102026   (eval $ac_try) 2>&5
102027   ac_status=$?
102028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102029   (exit $ac_status); }; }; then
102030   eval "$as_ac_var=yes"
102031 else
102032   echo "$as_me: failed program was:" >&5
102033 sed 's/^/| /' conftest.$ac_ext >&5
102034
102035 eval "$as_ac_var=no"
102036 fi
102037 rm -f conftest.err conftest.$ac_objext \
102038       conftest$ac_exeext conftest.$ac_ext
102039 fi
102040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102042 if test `eval echo '${'$as_ac_var'}'` = yes; then
102043   cat >>confdefs.h <<_ACEOF
102044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102045 _ACEOF
102046
102047 fi
102048 done
102049
102050   else
102051
102052   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
102053 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
102054   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
102055     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
102056   echo $ECHO_N "(cached) $ECHO_C" >&6
102057 else
102058
102059
102060
102061       ac_ext=cc
102062 ac_cpp='$CXXCPP $CPPFLAGS'
102063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102066
102067       cat >conftest.$ac_ext <<_ACEOF
102068 /* confdefs.h.  */
102069 _ACEOF
102070 cat confdefs.h >>conftest.$ac_ext
102071 cat >>conftest.$ac_ext <<_ACEOF
102072 /* end confdefs.h.  */
102073 #include <math.h>
102074 int
102075 main ()
102076 {
102077  _frexpl(0, 0);
102078   ;
102079   return 0;
102080 }
102081 _ACEOF
102082 rm -f conftest.$ac_objext
102083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102084   (eval $ac_compile) 2>conftest.er1
102085   ac_status=$?
102086   grep -v '^ *+' conftest.er1 >conftest.err
102087   rm -f conftest.er1
102088   cat conftest.err >&5
102089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102090   (exit $ac_status); } &&
102091          { ac_try='test -z "$ac_cxx_werror_flag"
102092                          || test ! -s conftest.err'
102093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102094   (eval $ac_try) 2>&5
102095   ac_status=$?
102096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102097   (exit $ac_status); }; } &&
102098          { ac_try='test -s conftest.$ac_objext'
102099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102100   (eval $ac_try) 2>&5
102101   ac_status=$?
102102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102103   (exit $ac_status); }; }; then
102104   glibcxx_cv_func__frexpl_use=yes
102105 else
102106   echo "$as_me: failed program was:" >&5
102107 sed 's/^/| /' conftest.$ac_ext >&5
102108
102109 glibcxx_cv_func__frexpl_use=no
102110 fi
102111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102112       ac_ext=c
102113 ac_cpp='$CPP $CPPFLAGS'
102114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102117
102118
102119 fi
102120
102121   fi
102122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
102123 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
102124
102125     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
102126
102127 for ac_func in _frexpl
102128 do
102129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102130 echo "$as_me:$LINENO: checking for $ac_func" >&5
102131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102132 if eval "test \"\${$as_ac_var+set}\" = set"; then
102133   echo $ECHO_N "(cached) $ECHO_C" >&6
102134 else
102135   if test x$gcc_no_link = xyes; then
102136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102138    { (exit 1); exit 1; }; }
102139 fi
102140 cat >conftest.$ac_ext <<_ACEOF
102141 /* confdefs.h.  */
102142 _ACEOF
102143 cat confdefs.h >>conftest.$ac_ext
102144 cat >>conftest.$ac_ext <<_ACEOF
102145 /* end confdefs.h.  */
102146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102148 #define $ac_func innocuous_$ac_func
102149
102150 /* System header to define __stub macros and hopefully few prototypes,
102151     which can conflict with char $ac_func (); below.
102152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102153     <limits.h> exists even on freestanding compilers.  */
102154
102155 #ifdef __STDC__
102156 # include <limits.h>
102157 #else
102158 # include <assert.h>
102159 #endif
102160
102161 #undef $ac_func
102162
102163 /* Override any gcc2 internal prototype to avoid an error.  */
102164 #ifdef __cplusplus
102165 extern "C"
102166 {
102167 #endif
102168 /* We use char because int might match the return type of a gcc2
102169    builtin and then its argument prototype would still apply.  */
102170 char $ac_func ();
102171 /* The GNU C library defines this for functions which it implements
102172     to always fail with ENOSYS.  Some functions are actually named
102173     something starting with __ and the normal name is an alias.  */
102174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102175 choke me
102176 #else
102177 char (*f) () = $ac_func;
102178 #endif
102179 #ifdef __cplusplus
102180 }
102181 #endif
102182
102183 int
102184 main ()
102185 {
102186 return f != $ac_func;
102187   ;
102188   return 0;
102189 }
102190 _ACEOF
102191 rm -f conftest.$ac_objext conftest$ac_exeext
102192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102193   (eval $ac_link) 2>conftest.er1
102194   ac_status=$?
102195   grep -v '^ *+' conftest.er1 >conftest.err
102196   rm -f conftest.er1
102197   cat conftest.err >&5
102198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102199   (exit $ac_status); } &&
102200          { ac_try='test -z "$ac_c_werror_flag"
102201                          || test ! -s conftest.err'
102202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102203   (eval $ac_try) 2>&5
102204   ac_status=$?
102205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102206   (exit $ac_status); }; } &&
102207          { ac_try='test -s conftest$ac_exeext'
102208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102209   (eval $ac_try) 2>&5
102210   ac_status=$?
102211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102212   (exit $ac_status); }; }; then
102213   eval "$as_ac_var=yes"
102214 else
102215   echo "$as_me: failed program was:" >&5
102216 sed 's/^/| /' conftest.$ac_ext >&5
102217
102218 eval "$as_ac_var=no"
102219 fi
102220 rm -f conftest.err conftest.$ac_objext \
102221       conftest$ac_exeext conftest.$ac_ext
102222 fi
102223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102225 if test `eval echo '${'$as_ac_var'}'` = yes; then
102226   cat >>confdefs.h <<_ACEOF
102227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102228 _ACEOF
102229
102230 fi
102231 done
102232
102233     fi
102234   fi
102235
102236
102237
102238
102239
102240
102241   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
102242 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
102243   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
102244     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
102245   echo $ECHO_N "(cached) $ECHO_C" >&6
102246 else
102247
102248
102249
102250       ac_ext=cc
102251 ac_cpp='$CXXCPP $CPPFLAGS'
102252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102255
102256       cat >conftest.$ac_ext <<_ACEOF
102257 /* confdefs.h.  */
102258 _ACEOF
102259 cat confdefs.h >>conftest.$ac_ext
102260 cat >>conftest.$ac_ext <<_ACEOF
102261 /* end confdefs.h.  */
102262 #include <math.h>
102263 int
102264 main ()
102265 {
102266  hypotl(0, 0);
102267   ;
102268   return 0;
102269 }
102270 _ACEOF
102271 rm -f conftest.$ac_objext
102272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102273   (eval $ac_compile) 2>conftest.er1
102274   ac_status=$?
102275   grep -v '^ *+' conftest.er1 >conftest.err
102276   rm -f conftest.er1
102277   cat conftest.err >&5
102278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102279   (exit $ac_status); } &&
102280          { ac_try='test -z "$ac_cxx_werror_flag"
102281                          || test ! -s conftest.err'
102282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102283   (eval $ac_try) 2>&5
102284   ac_status=$?
102285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102286   (exit $ac_status); }; } &&
102287          { ac_try='test -s conftest.$ac_objext'
102288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102289   (eval $ac_try) 2>&5
102290   ac_status=$?
102291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102292   (exit $ac_status); }; }; then
102293   glibcxx_cv_func_hypotl_use=yes
102294 else
102295   echo "$as_me: failed program was:" >&5
102296 sed 's/^/| /' conftest.$ac_ext >&5
102297
102298 glibcxx_cv_func_hypotl_use=no
102299 fi
102300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102301       ac_ext=c
102302 ac_cpp='$CPP $CPPFLAGS'
102303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102306
102307
102308 fi
102309
102310   fi
102311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
102312 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
102313
102314   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
102315
102316 for ac_func in hypotl
102317 do
102318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102319 echo "$as_me:$LINENO: checking for $ac_func" >&5
102320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102321 if eval "test \"\${$as_ac_var+set}\" = set"; then
102322   echo $ECHO_N "(cached) $ECHO_C" >&6
102323 else
102324   if test x$gcc_no_link = xyes; then
102325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102327    { (exit 1); exit 1; }; }
102328 fi
102329 cat >conftest.$ac_ext <<_ACEOF
102330 /* confdefs.h.  */
102331 _ACEOF
102332 cat confdefs.h >>conftest.$ac_ext
102333 cat >>conftest.$ac_ext <<_ACEOF
102334 /* end confdefs.h.  */
102335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102337 #define $ac_func innocuous_$ac_func
102338
102339 /* System header to define __stub macros and hopefully few prototypes,
102340     which can conflict with char $ac_func (); below.
102341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102342     <limits.h> exists even on freestanding compilers.  */
102343
102344 #ifdef __STDC__
102345 # include <limits.h>
102346 #else
102347 # include <assert.h>
102348 #endif
102349
102350 #undef $ac_func
102351
102352 /* Override any gcc2 internal prototype to avoid an error.  */
102353 #ifdef __cplusplus
102354 extern "C"
102355 {
102356 #endif
102357 /* We use char because int might match the return type of a gcc2
102358    builtin and then its argument prototype would still apply.  */
102359 char $ac_func ();
102360 /* The GNU C library defines this for functions which it implements
102361     to always fail with ENOSYS.  Some functions are actually named
102362     something starting with __ and the normal name is an alias.  */
102363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102364 choke me
102365 #else
102366 char (*f) () = $ac_func;
102367 #endif
102368 #ifdef __cplusplus
102369 }
102370 #endif
102371
102372 int
102373 main ()
102374 {
102375 return f != $ac_func;
102376   ;
102377   return 0;
102378 }
102379 _ACEOF
102380 rm -f conftest.$ac_objext conftest$ac_exeext
102381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102382   (eval $ac_link) 2>conftest.er1
102383   ac_status=$?
102384   grep -v '^ *+' conftest.er1 >conftest.err
102385   rm -f conftest.er1
102386   cat conftest.err >&5
102387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102388   (exit $ac_status); } &&
102389          { ac_try='test -z "$ac_c_werror_flag"
102390                          || test ! -s conftest.err'
102391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102392   (eval $ac_try) 2>&5
102393   ac_status=$?
102394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102395   (exit $ac_status); }; } &&
102396          { ac_try='test -s conftest$ac_exeext'
102397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102398   (eval $ac_try) 2>&5
102399   ac_status=$?
102400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102401   (exit $ac_status); }; }; then
102402   eval "$as_ac_var=yes"
102403 else
102404   echo "$as_me: failed program was:" >&5
102405 sed 's/^/| /' conftest.$ac_ext >&5
102406
102407 eval "$as_ac_var=no"
102408 fi
102409 rm -f conftest.err conftest.$ac_objext \
102410       conftest$ac_exeext conftest.$ac_ext
102411 fi
102412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102414 if test `eval echo '${'$as_ac_var'}'` = yes; then
102415   cat >>confdefs.h <<_ACEOF
102416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102417 _ACEOF
102418
102419 fi
102420 done
102421
102422   else
102423
102424   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102425 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102426   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102427     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102428   echo $ECHO_N "(cached) $ECHO_C" >&6
102429 else
102430
102431
102432
102433       ac_ext=cc
102434 ac_cpp='$CXXCPP $CPPFLAGS'
102435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102438
102439       cat >conftest.$ac_ext <<_ACEOF
102440 /* confdefs.h.  */
102441 _ACEOF
102442 cat confdefs.h >>conftest.$ac_ext
102443 cat >>conftest.$ac_ext <<_ACEOF
102444 /* end confdefs.h.  */
102445 #include <math.h>
102446 int
102447 main ()
102448 {
102449  _hypotl(0, 0);
102450   ;
102451   return 0;
102452 }
102453 _ACEOF
102454 rm -f conftest.$ac_objext
102455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102456   (eval $ac_compile) 2>conftest.er1
102457   ac_status=$?
102458   grep -v '^ *+' conftest.er1 >conftest.err
102459   rm -f conftest.er1
102460   cat conftest.err >&5
102461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102462   (exit $ac_status); } &&
102463          { ac_try='test -z "$ac_cxx_werror_flag"
102464                          || test ! -s conftest.err'
102465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102466   (eval $ac_try) 2>&5
102467   ac_status=$?
102468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102469   (exit $ac_status); }; } &&
102470          { ac_try='test -s conftest.$ac_objext'
102471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102472   (eval $ac_try) 2>&5
102473   ac_status=$?
102474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102475   (exit $ac_status); }; }; then
102476   glibcxx_cv_func__hypotl_use=yes
102477 else
102478   echo "$as_me: failed program was:" >&5
102479 sed 's/^/| /' conftest.$ac_ext >&5
102480
102481 glibcxx_cv_func__hypotl_use=no
102482 fi
102483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102484       ac_ext=c
102485 ac_cpp='$CPP $CPPFLAGS'
102486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102489
102490
102491 fi
102492
102493   fi
102494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102495 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102496
102497     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102498
102499 for ac_func in _hypotl
102500 do
102501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102502 echo "$as_me:$LINENO: checking for $ac_func" >&5
102503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102504 if eval "test \"\${$as_ac_var+set}\" = set"; then
102505   echo $ECHO_N "(cached) $ECHO_C" >&6
102506 else
102507   if test x$gcc_no_link = xyes; then
102508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102510    { (exit 1); exit 1; }; }
102511 fi
102512 cat >conftest.$ac_ext <<_ACEOF
102513 /* confdefs.h.  */
102514 _ACEOF
102515 cat confdefs.h >>conftest.$ac_ext
102516 cat >>conftest.$ac_ext <<_ACEOF
102517 /* end confdefs.h.  */
102518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102520 #define $ac_func innocuous_$ac_func
102521
102522 /* System header to define __stub macros and hopefully few prototypes,
102523     which can conflict with char $ac_func (); below.
102524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102525     <limits.h> exists even on freestanding compilers.  */
102526
102527 #ifdef __STDC__
102528 # include <limits.h>
102529 #else
102530 # include <assert.h>
102531 #endif
102532
102533 #undef $ac_func
102534
102535 /* Override any gcc2 internal prototype to avoid an error.  */
102536 #ifdef __cplusplus
102537 extern "C"
102538 {
102539 #endif
102540 /* We use char because int might match the return type of a gcc2
102541    builtin and then its argument prototype would still apply.  */
102542 char $ac_func ();
102543 /* The GNU C library defines this for functions which it implements
102544     to always fail with ENOSYS.  Some functions are actually named
102545     something starting with __ and the normal name is an alias.  */
102546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102547 choke me
102548 #else
102549 char (*f) () = $ac_func;
102550 #endif
102551 #ifdef __cplusplus
102552 }
102553 #endif
102554
102555 int
102556 main ()
102557 {
102558 return f != $ac_func;
102559   ;
102560   return 0;
102561 }
102562 _ACEOF
102563 rm -f conftest.$ac_objext conftest$ac_exeext
102564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102565   (eval $ac_link) 2>conftest.er1
102566   ac_status=$?
102567   grep -v '^ *+' conftest.er1 >conftest.err
102568   rm -f conftest.er1
102569   cat conftest.err >&5
102570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102571   (exit $ac_status); } &&
102572          { ac_try='test -z "$ac_c_werror_flag"
102573                          || test ! -s conftest.err'
102574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102575   (eval $ac_try) 2>&5
102576   ac_status=$?
102577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102578   (exit $ac_status); }; } &&
102579          { ac_try='test -s conftest$ac_exeext'
102580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102581   (eval $ac_try) 2>&5
102582   ac_status=$?
102583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102584   (exit $ac_status); }; }; then
102585   eval "$as_ac_var=yes"
102586 else
102587   echo "$as_me: failed program was:" >&5
102588 sed 's/^/| /' conftest.$ac_ext >&5
102589
102590 eval "$as_ac_var=no"
102591 fi
102592 rm -f conftest.err conftest.$ac_objext \
102593       conftest$ac_exeext conftest.$ac_ext
102594 fi
102595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102597 if test `eval echo '${'$as_ac_var'}'` = yes; then
102598   cat >>confdefs.h <<_ACEOF
102599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102600 _ACEOF
102601
102602 fi
102603 done
102604
102605     fi
102606   fi
102607
102608
102609
102610
102611
102612
102613   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102614 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102615   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102616     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102617   echo $ECHO_N "(cached) $ECHO_C" >&6
102618 else
102619
102620
102621
102622       ac_ext=cc
102623 ac_cpp='$CXXCPP $CPPFLAGS'
102624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102627
102628       cat >conftest.$ac_ext <<_ACEOF
102629 /* confdefs.h.  */
102630 _ACEOF
102631 cat confdefs.h >>conftest.$ac_ext
102632 cat >>conftest.$ac_ext <<_ACEOF
102633 /* end confdefs.h.  */
102634 #include <math.h>
102635 int
102636 main ()
102637 {
102638  ldexpl(0, 0);
102639   ;
102640   return 0;
102641 }
102642 _ACEOF
102643 rm -f conftest.$ac_objext
102644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102645   (eval $ac_compile) 2>conftest.er1
102646   ac_status=$?
102647   grep -v '^ *+' conftest.er1 >conftest.err
102648   rm -f conftest.er1
102649   cat conftest.err >&5
102650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102651   (exit $ac_status); } &&
102652          { ac_try='test -z "$ac_cxx_werror_flag"
102653                          || test ! -s conftest.err'
102654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102655   (eval $ac_try) 2>&5
102656   ac_status=$?
102657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102658   (exit $ac_status); }; } &&
102659          { ac_try='test -s conftest.$ac_objext'
102660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102661   (eval $ac_try) 2>&5
102662   ac_status=$?
102663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102664   (exit $ac_status); }; }; then
102665   glibcxx_cv_func_ldexpl_use=yes
102666 else
102667   echo "$as_me: failed program was:" >&5
102668 sed 's/^/| /' conftest.$ac_ext >&5
102669
102670 glibcxx_cv_func_ldexpl_use=no
102671 fi
102672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102673       ac_ext=c
102674 ac_cpp='$CPP $CPPFLAGS'
102675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102678
102679
102680 fi
102681
102682   fi
102683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102684 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102685
102686   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102687
102688 for ac_func in ldexpl
102689 do
102690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102691 echo "$as_me:$LINENO: checking for $ac_func" >&5
102692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102693 if eval "test \"\${$as_ac_var+set}\" = set"; then
102694   echo $ECHO_N "(cached) $ECHO_C" >&6
102695 else
102696   if test x$gcc_no_link = xyes; then
102697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102699    { (exit 1); exit 1; }; }
102700 fi
102701 cat >conftest.$ac_ext <<_ACEOF
102702 /* confdefs.h.  */
102703 _ACEOF
102704 cat confdefs.h >>conftest.$ac_ext
102705 cat >>conftest.$ac_ext <<_ACEOF
102706 /* end confdefs.h.  */
102707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102709 #define $ac_func innocuous_$ac_func
102710
102711 /* System header to define __stub macros and hopefully few prototypes,
102712     which can conflict with char $ac_func (); below.
102713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102714     <limits.h> exists even on freestanding compilers.  */
102715
102716 #ifdef __STDC__
102717 # include <limits.h>
102718 #else
102719 # include <assert.h>
102720 #endif
102721
102722 #undef $ac_func
102723
102724 /* Override any gcc2 internal prototype to avoid an error.  */
102725 #ifdef __cplusplus
102726 extern "C"
102727 {
102728 #endif
102729 /* We use char because int might match the return type of a gcc2
102730    builtin and then its argument prototype would still apply.  */
102731 char $ac_func ();
102732 /* The GNU C library defines this for functions which it implements
102733     to always fail with ENOSYS.  Some functions are actually named
102734     something starting with __ and the normal name is an alias.  */
102735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102736 choke me
102737 #else
102738 char (*f) () = $ac_func;
102739 #endif
102740 #ifdef __cplusplus
102741 }
102742 #endif
102743
102744 int
102745 main ()
102746 {
102747 return f != $ac_func;
102748   ;
102749   return 0;
102750 }
102751 _ACEOF
102752 rm -f conftest.$ac_objext conftest$ac_exeext
102753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102754   (eval $ac_link) 2>conftest.er1
102755   ac_status=$?
102756   grep -v '^ *+' conftest.er1 >conftest.err
102757   rm -f conftest.er1
102758   cat conftest.err >&5
102759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102760   (exit $ac_status); } &&
102761          { ac_try='test -z "$ac_c_werror_flag"
102762                          || test ! -s conftest.err'
102763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102764   (eval $ac_try) 2>&5
102765   ac_status=$?
102766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102767   (exit $ac_status); }; } &&
102768          { ac_try='test -s conftest$ac_exeext'
102769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102770   (eval $ac_try) 2>&5
102771   ac_status=$?
102772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102773   (exit $ac_status); }; }; then
102774   eval "$as_ac_var=yes"
102775 else
102776   echo "$as_me: failed program was:" >&5
102777 sed 's/^/| /' conftest.$ac_ext >&5
102778
102779 eval "$as_ac_var=no"
102780 fi
102781 rm -f conftest.err conftest.$ac_objext \
102782       conftest$ac_exeext conftest.$ac_ext
102783 fi
102784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102786 if test `eval echo '${'$as_ac_var'}'` = yes; then
102787   cat >>confdefs.h <<_ACEOF
102788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102789 _ACEOF
102790
102791 fi
102792 done
102793
102794   else
102795
102796   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102797 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102798   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102799     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102800   echo $ECHO_N "(cached) $ECHO_C" >&6
102801 else
102802
102803
102804
102805       ac_ext=cc
102806 ac_cpp='$CXXCPP $CPPFLAGS'
102807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102810
102811       cat >conftest.$ac_ext <<_ACEOF
102812 /* confdefs.h.  */
102813 _ACEOF
102814 cat confdefs.h >>conftest.$ac_ext
102815 cat >>conftest.$ac_ext <<_ACEOF
102816 /* end confdefs.h.  */
102817 #include <math.h>
102818 int
102819 main ()
102820 {
102821  _ldexpl(0, 0);
102822   ;
102823   return 0;
102824 }
102825 _ACEOF
102826 rm -f conftest.$ac_objext
102827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102828   (eval $ac_compile) 2>conftest.er1
102829   ac_status=$?
102830   grep -v '^ *+' conftest.er1 >conftest.err
102831   rm -f conftest.er1
102832   cat conftest.err >&5
102833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102834   (exit $ac_status); } &&
102835          { ac_try='test -z "$ac_cxx_werror_flag"
102836                          || test ! -s conftest.err'
102837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102838   (eval $ac_try) 2>&5
102839   ac_status=$?
102840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102841   (exit $ac_status); }; } &&
102842          { ac_try='test -s conftest.$ac_objext'
102843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102844   (eval $ac_try) 2>&5
102845   ac_status=$?
102846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102847   (exit $ac_status); }; }; then
102848   glibcxx_cv_func__ldexpl_use=yes
102849 else
102850   echo "$as_me: failed program was:" >&5
102851 sed 's/^/| /' conftest.$ac_ext >&5
102852
102853 glibcxx_cv_func__ldexpl_use=no
102854 fi
102855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102856       ac_ext=c
102857 ac_cpp='$CPP $CPPFLAGS'
102858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102861
102862
102863 fi
102864
102865   fi
102866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102867 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102868
102869     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102870
102871 for ac_func in _ldexpl
102872 do
102873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102874 echo "$as_me:$LINENO: checking for $ac_func" >&5
102875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102876 if eval "test \"\${$as_ac_var+set}\" = set"; then
102877   echo $ECHO_N "(cached) $ECHO_C" >&6
102878 else
102879   if test x$gcc_no_link = xyes; then
102880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102882    { (exit 1); exit 1; }; }
102883 fi
102884 cat >conftest.$ac_ext <<_ACEOF
102885 /* confdefs.h.  */
102886 _ACEOF
102887 cat confdefs.h >>conftest.$ac_ext
102888 cat >>conftest.$ac_ext <<_ACEOF
102889 /* end confdefs.h.  */
102890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102892 #define $ac_func innocuous_$ac_func
102893
102894 /* System header to define __stub macros and hopefully few prototypes,
102895     which can conflict with char $ac_func (); below.
102896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102897     <limits.h> exists even on freestanding compilers.  */
102898
102899 #ifdef __STDC__
102900 # include <limits.h>
102901 #else
102902 # include <assert.h>
102903 #endif
102904
102905 #undef $ac_func
102906
102907 /* Override any gcc2 internal prototype to avoid an error.  */
102908 #ifdef __cplusplus
102909 extern "C"
102910 {
102911 #endif
102912 /* We use char because int might match the return type of a gcc2
102913    builtin and then its argument prototype would still apply.  */
102914 char $ac_func ();
102915 /* The GNU C library defines this for functions which it implements
102916     to always fail with ENOSYS.  Some functions are actually named
102917     something starting with __ and the normal name is an alias.  */
102918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102919 choke me
102920 #else
102921 char (*f) () = $ac_func;
102922 #endif
102923 #ifdef __cplusplus
102924 }
102925 #endif
102926
102927 int
102928 main ()
102929 {
102930 return f != $ac_func;
102931   ;
102932   return 0;
102933 }
102934 _ACEOF
102935 rm -f conftest.$ac_objext conftest$ac_exeext
102936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102937   (eval $ac_link) 2>conftest.er1
102938   ac_status=$?
102939   grep -v '^ *+' conftest.er1 >conftest.err
102940   rm -f conftest.er1
102941   cat conftest.err >&5
102942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102943   (exit $ac_status); } &&
102944          { ac_try='test -z "$ac_c_werror_flag"
102945                          || test ! -s conftest.err'
102946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102947   (eval $ac_try) 2>&5
102948   ac_status=$?
102949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102950   (exit $ac_status); }; } &&
102951          { ac_try='test -s conftest$ac_exeext'
102952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102953   (eval $ac_try) 2>&5
102954   ac_status=$?
102955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102956   (exit $ac_status); }; }; then
102957   eval "$as_ac_var=yes"
102958 else
102959   echo "$as_me: failed program was:" >&5
102960 sed 's/^/| /' conftest.$ac_ext >&5
102961
102962 eval "$as_ac_var=no"
102963 fi
102964 rm -f conftest.err conftest.$ac_objext \
102965       conftest$ac_exeext conftest.$ac_ext
102966 fi
102967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102969 if test `eval echo '${'$as_ac_var'}'` = yes; then
102970   cat >>confdefs.h <<_ACEOF
102971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102972 _ACEOF
102973
102974 fi
102975 done
102976
102977     fi
102978   fi
102979
102980
102981
102982
102983
102984
102985   echo "$as_me:$LINENO: checking for logl declaration" >&5
102986 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102987   if test x${glibcxx_cv_func_logl_use+set} != xset; then
102988     if test "${glibcxx_cv_func_logl_use+set}" = set; then
102989   echo $ECHO_N "(cached) $ECHO_C" >&6
102990 else
102991
102992
102993
102994       ac_ext=cc
102995 ac_cpp='$CXXCPP $CPPFLAGS'
102996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102999
103000       cat >conftest.$ac_ext <<_ACEOF
103001 /* confdefs.h.  */
103002 _ACEOF
103003 cat confdefs.h >>conftest.$ac_ext
103004 cat >>conftest.$ac_ext <<_ACEOF
103005 /* end confdefs.h.  */
103006 #include <math.h>
103007                       #ifdef HAVE_IEEEFP_H
103008                       #include <ieeefp.h>
103009                       #endif
103010
103011 int
103012 main ()
103013 {
103014  logl(0);
103015   ;
103016   return 0;
103017 }
103018 _ACEOF
103019 rm -f conftest.$ac_objext
103020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103021   (eval $ac_compile) 2>conftest.er1
103022   ac_status=$?
103023   grep -v '^ *+' conftest.er1 >conftest.err
103024   rm -f conftest.er1
103025   cat conftest.err >&5
103026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103027   (exit $ac_status); } &&
103028          { ac_try='test -z "$ac_cxx_werror_flag"
103029                          || test ! -s conftest.err'
103030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103031   (eval $ac_try) 2>&5
103032   ac_status=$?
103033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103034   (exit $ac_status); }; } &&
103035          { ac_try='test -s conftest.$ac_objext'
103036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103037   (eval $ac_try) 2>&5
103038   ac_status=$?
103039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103040   (exit $ac_status); }; }; then
103041   glibcxx_cv_func_logl_use=yes
103042 else
103043   echo "$as_me: failed program was:" >&5
103044 sed 's/^/| /' conftest.$ac_ext >&5
103045
103046 glibcxx_cv_func_logl_use=no
103047 fi
103048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103049       ac_ext=c
103050 ac_cpp='$CPP $CPPFLAGS'
103051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103054
103055
103056 fi
103057
103058   fi
103059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
103060 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
103061
103062   if test x$glibcxx_cv_func_logl_use = x"yes"; then
103063
103064 for ac_func in logl
103065 do
103066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103067 echo "$as_me:$LINENO: checking for $ac_func" >&5
103068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103069 if eval "test \"\${$as_ac_var+set}\" = set"; then
103070   echo $ECHO_N "(cached) $ECHO_C" >&6
103071 else
103072   if test x$gcc_no_link = xyes; then
103073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103075    { (exit 1); exit 1; }; }
103076 fi
103077 cat >conftest.$ac_ext <<_ACEOF
103078 /* confdefs.h.  */
103079 _ACEOF
103080 cat confdefs.h >>conftest.$ac_ext
103081 cat >>conftest.$ac_ext <<_ACEOF
103082 /* end confdefs.h.  */
103083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103085 #define $ac_func innocuous_$ac_func
103086
103087 /* System header to define __stub macros and hopefully few prototypes,
103088     which can conflict with char $ac_func (); below.
103089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103090     <limits.h> exists even on freestanding compilers.  */
103091
103092 #ifdef __STDC__
103093 # include <limits.h>
103094 #else
103095 # include <assert.h>
103096 #endif
103097
103098 #undef $ac_func
103099
103100 /* Override any gcc2 internal prototype to avoid an error.  */
103101 #ifdef __cplusplus
103102 extern "C"
103103 {
103104 #endif
103105 /* We use char because int might match the return type of a gcc2
103106    builtin and then its argument prototype would still apply.  */
103107 char $ac_func ();
103108 /* The GNU C library defines this for functions which it implements
103109     to always fail with ENOSYS.  Some functions are actually named
103110     something starting with __ and the normal name is an alias.  */
103111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103112 choke me
103113 #else
103114 char (*f) () = $ac_func;
103115 #endif
103116 #ifdef __cplusplus
103117 }
103118 #endif
103119
103120 int
103121 main ()
103122 {
103123 return f != $ac_func;
103124   ;
103125   return 0;
103126 }
103127 _ACEOF
103128 rm -f conftest.$ac_objext conftest$ac_exeext
103129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103130   (eval $ac_link) 2>conftest.er1
103131   ac_status=$?
103132   grep -v '^ *+' conftest.er1 >conftest.err
103133   rm -f conftest.er1
103134   cat conftest.err >&5
103135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103136   (exit $ac_status); } &&
103137          { ac_try='test -z "$ac_c_werror_flag"
103138                          || test ! -s conftest.err'
103139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103140   (eval $ac_try) 2>&5
103141   ac_status=$?
103142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103143   (exit $ac_status); }; } &&
103144          { ac_try='test -s conftest$ac_exeext'
103145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103146   (eval $ac_try) 2>&5
103147   ac_status=$?
103148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103149   (exit $ac_status); }; }; then
103150   eval "$as_ac_var=yes"
103151 else
103152   echo "$as_me: failed program was:" >&5
103153 sed 's/^/| /' conftest.$ac_ext >&5
103154
103155 eval "$as_ac_var=no"
103156 fi
103157 rm -f conftest.err conftest.$ac_objext \
103158       conftest$ac_exeext conftest.$ac_ext
103159 fi
103160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103162 if test `eval echo '${'$as_ac_var'}'` = yes; then
103163   cat >>confdefs.h <<_ACEOF
103164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103165 _ACEOF
103166
103167 fi
103168 done
103169
103170   else
103171
103172   echo "$as_me:$LINENO: checking for _logl declaration" >&5
103173 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
103174   if test x${glibcxx_cv_func__logl_use+set} != xset; then
103175     if test "${glibcxx_cv_func__logl_use+set}" = set; then
103176   echo $ECHO_N "(cached) $ECHO_C" >&6
103177 else
103178
103179
103180
103181       ac_ext=cc
103182 ac_cpp='$CXXCPP $CPPFLAGS'
103183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103186
103187       cat >conftest.$ac_ext <<_ACEOF
103188 /* confdefs.h.  */
103189 _ACEOF
103190 cat confdefs.h >>conftest.$ac_ext
103191 cat >>conftest.$ac_ext <<_ACEOF
103192 /* end confdefs.h.  */
103193 #include <math.h>
103194                       #ifdef HAVE_IEEEFP_H
103195                       #include <ieeefp.h>
103196                       #endif
103197
103198 int
103199 main ()
103200 {
103201  _logl(0);
103202   ;
103203   return 0;
103204 }
103205 _ACEOF
103206 rm -f conftest.$ac_objext
103207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103208   (eval $ac_compile) 2>conftest.er1
103209   ac_status=$?
103210   grep -v '^ *+' conftest.er1 >conftest.err
103211   rm -f conftest.er1
103212   cat conftest.err >&5
103213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103214   (exit $ac_status); } &&
103215          { ac_try='test -z "$ac_cxx_werror_flag"
103216                          || test ! -s conftest.err'
103217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103218   (eval $ac_try) 2>&5
103219   ac_status=$?
103220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103221   (exit $ac_status); }; } &&
103222          { ac_try='test -s conftest.$ac_objext'
103223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103224   (eval $ac_try) 2>&5
103225   ac_status=$?
103226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103227   (exit $ac_status); }; }; then
103228   glibcxx_cv_func__logl_use=yes
103229 else
103230   echo "$as_me: failed program was:" >&5
103231 sed 's/^/| /' conftest.$ac_ext >&5
103232
103233 glibcxx_cv_func__logl_use=no
103234 fi
103235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103236       ac_ext=c
103237 ac_cpp='$CPP $CPPFLAGS'
103238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103241
103242
103243 fi
103244
103245   fi
103246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
103247 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
103248
103249     if test x$glibcxx_cv_func__logl_use = x"yes"; then
103250
103251 for ac_func in _logl
103252 do
103253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103254 echo "$as_me:$LINENO: checking for $ac_func" >&5
103255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103256 if eval "test \"\${$as_ac_var+set}\" = set"; then
103257   echo $ECHO_N "(cached) $ECHO_C" >&6
103258 else
103259   if test x$gcc_no_link = xyes; then
103260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103262    { (exit 1); exit 1; }; }
103263 fi
103264 cat >conftest.$ac_ext <<_ACEOF
103265 /* confdefs.h.  */
103266 _ACEOF
103267 cat confdefs.h >>conftest.$ac_ext
103268 cat >>conftest.$ac_ext <<_ACEOF
103269 /* end confdefs.h.  */
103270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103272 #define $ac_func innocuous_$ac_func
103273
103274 /* System header to define __stub macros and hopefully few prototypes,
103275     which can conflict with char $ac_func (); below.
103276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103277     <limits.h> exists even on freestanding compilers.  */
103278
103279 #ifdef __STDC__
103280 # include <limits.h>
103281 #else
103282 # include <assert.h>
103283 #endif
103284
103285 #undef $ac_func
103286
103287 /* Override any gcc2 internal prototype to avoid an error.  */
103288 #ifdef __cplusplus
103289 extern "C"
103290 {
103291 #endif
103292 /* We use char because int might match the return type of a gcc2
103293    builtin and then its argument prototype would still apply.  */
103294 char $ac_func ();
103295 /* The GNU C library defines this for functions which it implements
103296     to always fail with ENOSYS.  Some functions are actually named
103297     something starting with __ and the normal name is an alias.  */
103298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103299 choke me
103300 #else
103301 char (*f) () = $ac_func;
103302 #endif
103303 #ifdef __cplusplus
103304 }
103305 #endif
103306
103307 int
103308 main ()
103309 {
103310 return f != $ac_func;
103311   ;
103312   return 0;
103313 }
103314 _ACEOF
103315 rm -f conftest.$ac_objext conftest$ac_exeext
103316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103317   (eval $ac_link) 2>conftest.er1
103318   ac_status=$?
103319   grep -v '^ *+' conftest.er1 >conftest.err
103320   rm -f conftest.er1
103321   cat conftest.err >&5
103322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103323   (exit $ac_status); } &&
103324          { ac_try='test -z "$ac_c_werror_flag"
103325                          || test ! -s conftest.err'
103326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103327   (eval $ac_try) 2>&5
103328   ac_status=$?
103329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103330   (exit $ac_status); }; } &&
103331          { ac_try='test -s conftest$ac_exeext'
103332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103333   (eval $ac_try) 2>&5
103334   ac_status=$?
103335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103336   (exit $ac_status); }; }; then
103337   eval "$as_ac_var=yes"
103338 else
103339   echo "$as_me: failed program was:" >&5
103340 sed 's/^/| /' conftest.$ac_ext >&5
103341
103342 eval "$as_ac_var=no"
103343 fi
103344 rm -f conftest.err conftest.$ac_objext \
103345       conftest$ac_exeext conftest.$ac_ext
103346 fi
103347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103349 if test `eval echo '${'$as_ac_var'}'` = yes; then
103350   cat >>confdefs.h <<_ACEOF
103351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103352 _ACEOF
103353
103354 fi
103355 done
103356
103357     fi
103358   fi
103359
103360
103361
103362
103363
103364
103365   echo "$as_me:$LINENO: checking for log10l declaration" >&5
103366 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103367   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103368     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103369   echo $ECHO_N "(cached) $ECHO_C" >&6
103370 else
103371
103372
103373
103374       ac_ext=cc
103375 ac_cpp='$CXXCPP $CPPFLAGS'
103376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103379
103380       cat >conftest.$ac_ext <<_ACEOF
103381 /* confdefs.h.  */
103382 _ACEOF
103383 cat confdefs.h >>conftest.$ac_ext
103384 cat >>conftest.$ac_ext <<_ACEOF
103385 /* end confdefs.h.  */
103386 #include <math.h>
103387                       #ifdef HAVE_IEEEFP_H
103388                       #include <ieeefp.h>
103389                       #endif
103390
103391 int
103392 main ()
103393 {
103394  log10l(0);
103395   ;
103396   return 0;
103397 }
103398 _ACEOF
103399 rm -f conftest.$ac_objext
103400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103401   (eval $ac_compile) 2>conftest.er1
103402   ac_status=$?
103403   grep -v '^ *+' conftest.er1 >conftest.err
103404   rm -f conftest.er1
103405   cat conftest.err >&5
103406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103407   (exit $ac_status); } &&
103408          { ac_try='test -z "$ac_cxx_werror_flag"
103409                          || test ! -s conftest.err'
103410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103411   (eval $ac_try) 2>&5
103412   ac_status=$?
103413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103414   (exit $ac_status); }; } &&
103415          { ac_try='test -s conftest.$ac_objext'
103416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103417   (eval $ac_try) 2>&5
103418   ac_status=$?
103419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103420   (exit $ac_status); }; }; then
103421   glibcxx_cv_func_log10l_use=yes
103422 else
103423   echo "$as_me: failed program was:" >&5
103424 sed 's/^/| /' conftest.$ac_ext >&5
103425
103426 glibcxx_cv_func_log10l_use=no
103427 fi
103428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103429       ac_ext=c
103430 ac_cpp='$CPP $CPPFLAGS'
103431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103434
103435
103436 fi
103437
103438   fi
103439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103440 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103441
103442   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103443
103444 for ac_func in log10l
103445 do
103446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103447 echo "$as_me:$LINENO: checking for $ac_func" >&5
103448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103449 if eval "test \"\${$as_ac_var+set}\" = set"; then
103450   echo $ECHO_N "(cached) $ECHO_C" >&6
103451 else
103452   if test x$gcc_no_link = xyes; then
103453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103455    { (exit 1); exit 1; }; }
103456 fi
103457 cat >conftest.$ac_ext <<_ACEOF
103458 /* confdefs.h.  */
103459 _ACEOF
103460 cat confdefs.h >>conftest.$ac_ext
103461 cat >>conftest.$ac_ext <<_ACEOF
103462 /* end confdefs.h.  */
103463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103465 #define $ac_func innocuous_$ac_func
103466
103467 /* System header to define __stub macros and hopefully few prototypes,
103468     which can conflict with char $ac_func (); below.
103469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103470     <limits.h> exists even on freestanding compilers.  */
103471
103472 #ifdef __STDC__
103473 # include <limits.h>
103474 #else
103475 # include <assert.h>
103476 #endif
103477
103478 #undef $ac_func
103479
103480 /* Override any gcc2 internal prototype to avoid an error.  */
103481 #ifdef __cplusplus
103482 extern "C"
103483 {
103484 #endif
103485 /* We use char because int might match the return type of a gcc2
103486    builtin and then its argument prototype would still apply.  */
103487 char $ac_func ();
103488 /* The GNU C library defines this for functions which it implements
103489     to always fail with ENOSYS.  Some functions are actually named
103490     something starting with __ and the normal name is an alias.  */
103491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103492 choke me
103493 #else
103494 char (*f) () = $ac_func;
103495 #endif
103496 #ifdef __cplusplus
103497 }
103498 #endif
103499
103500 int
103501 main ()
103502 {
103503 return f != $ac_func;
103504   ;
103505   return 0;
103506 }
103507 _ACEOF
103508 rm -f conftest.$ac_objext conftest$ac_exeext
103509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103510   (eval $ac_link) 2>conftest.er1
103511   ac_status=$?
103512   grep -v '^ *+' conftest.er1 >conftest.err
103513   rm -f conftest.er1
103514   cat conftest.err >&5
103515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103516   (exit $ac_status); } &&
103517          { ac_try='test -z "$ac_c_werror_flag"
103518                          || test ! -s conftest.err'
103519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103520   (eval $ac_try) 2>&5
103521   ac_status=$?
103522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103523   (exit $ac_status); }; } &&
103524          { ac_try='test -s conftest$ac_exeext'
103525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103526   (eval $ac_try) 2>&5
103527   ac_status=$?
103528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103529   (exit $ac_status); }; }; then
103530   eval "$as_ac_var=yes"
103531 else
103532   echo "$as_me: failed program was:" >&5
103533 sed 's/^/| /' conftest.$ac_ext >&5
103534
103535 eval "$as_ac_var=no"
103536 fi
103537 rm -f conftest.err conftest.$ac_objext \
103538       conftest$ac_exeext conftest.$ac_ext
103539 fi
103540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103542 if test `eval echo '${'$as_ac_var'}'` = yes; then
103543   cat >>confdefs.h <<_ACEOF
103544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103545 _ACEOF
103546
103547 fi
103548 done
103549
103550   else
103551
103552   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103553 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103554   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103555     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103556   echo $ECHO_N "(cached) $ECHO_C" >&6
103557 else
103558
103559
103560
103561       ac_ext=cc
103562 ac_cpp='$CXXCPP $CPPFLAGS'
103563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103566
103567       cat >conftest.$ac_ext <<_ACEOF
103568 /* confdefs.h.  */
103569 _ACEOF
103570 cat confdefs.h >>conftest.$ac_ext
103571 cat >>conftest.$ac_ext <<_ACEOF
103572 /* end confdefs.h.  */
103573 #include <math.h>
103574                       #ifdef HAVE_IEEEFP_H
103575                       #include <ieeefp.h>
103576                       #endif
103577
103578 int
103579 main ()
103580 {
103581  _log10l(0);
103582   ;
103583   return 0;
103584 }
103585 _ACEOF
103586 rm -f conftest.$ac_objext
103587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103588   (eval $ac_compile) 2>conftest.er1
103589   ac_status=$?
103590   grep -v '^ *+' conftest.er1 >conftest.err
103591   rm -f conftest.er1
103592   cat conftest.err >&5
103593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103594   (exit $ac_status); } &&
103595          { ac_try='test -z "$ac_cxx_werror_flag"
103596                          || test ! -s conftest.err'
103597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103598   (eval $ac_try) 2>&5
103599   ac_status=$?
103600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103601   (exit $ac_status); }; } &&
103602          { ac_try='test -s conftest.$ac_objext'
103603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103604   (eval $ac_try) 2>&5
103605   ac_status=$?
103606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103607   (exit $ac_status); }; }; then
103608   glibcxx_cv_func__log10l_use=yes
103609 else
103610   echo "$as_me: failed program was:" >&5
103611 sed 's/^/| /' conftest.$ac_ext >&5
103612
103613 glibcxx_cv_func__log10l_use=no
103614 fi
103615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103616       ac_ext=c
103617 ac_cpp='$CPP $CPPFLAGS'
103618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103621
103622
103623 fi
103624
103625   fi
103626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103627 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103628
103629     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103630
103631 for ac_func in _log10l
103632 do
103633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103634 echo "$as_me:$LINENO: checking for $ac_func" >&5
103635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103636 if eval "test \"\${$as_ac_var+set}\" = set"; then
103637   echo $ECHO_N "(cached) $ECHO_C" >&6
103638 else
103639   if test x$gcc_no_link = xyes; then
103640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103642    { (exit 1); exit 1; }; }
103643 fi
103644 cat >conftest.$ac_ext <<_ACEOF
103645 /* confdefs.h.  */
103646 _ACEOF
103647 cat confdefs.h >>conftest.$ac_ext
103648 cat >>conftest.$ac_ext <<_ACEOF
103649 /* end confdefs.h.  */
103650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103652 #define $ac_func innocuous_$ac_func
103653
103654 /* System header to define __stub macros and hopefully few prototypes,
103655     which can conflict with char $ac_func (); below.
103656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103657     <limits.h> exists even on freestanding compilers.  */
103658
103659 #ifdef __STDC__
103660 # include <limits.h>
103661 #else
103662 # include <assert.h>
103663 #endif
103664
103665 #undef $ac_func
103666
103667 /* Override any gcc2 internal prototype to avoid an error.  */
103668 #ifdef __cplusplus
103669 extern "C"
103670 {
103671 #endif
103672 /* We use char because int might match the return type of a gcc2
103673    builtin and then its argument prototype would still apply.  */
103674 char $ac_func ();
103675 /* The GNU C library defines this for functions which it implements
103676     to always fail with ENOSYS.  Some functions are actually named
103677     something starting with __ and the normal name is an alias.  */
103678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103679 choke me
103680 #else
103681 char (*f) () = $ac_func;
103682 #endif
103683 #ifdef __cplusplus
103684 }
103685 #endif
103686
103687 int
103688 main ()
103689 {
103690 return f != $ac_func;
103691   ;
103692   return 0;
103693 }
103694 _ACEOF
103695 rm -f conftest.$ac_objext conftest$ac_exeext
103696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103697   (eval $ac_link) 2>conftest.er1
103698   ac_status=$?
103699   grep -v '^ *+' conftest.er1 >conftest.err
103700   rm -f conftest.er1
103701   cat conftest.err >&5
103702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103703   (exit $ac_status); } &&
103704          { ac_try='test -z "$ac_c_werror_flag"
103705                          || test ! -s conftest.err'
103706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103707   (eval $ac_try) 2>&5
103708   ac_status=$?
103709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103710   (exit $ac_status); }; } &&
103711          { ac_try='test -s conftest$ac_exeext'
103712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103713   (eval $ac_try) 2>&5
103714   ac_status=$?
103715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103716   (exit $ac_status); }; }; then
103717   eval "$as_ac_var=yes"
103718 else
103719   echo "$as_me: failed program was:" >&5
103720 sed 's/^/| /' conftest.$ac_ext >&5
103721
103722 eval "$as_ac_var=no"
103723 fi
103724 rm -f conftest.err conftest.$ac_objext \
103725       conftest$ac_exeext conftest.$ac_ext
103726 fi
103727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103729 if test `eval echo '${'$as_ac_var'}'` = yes; then
103730   cat >>confdefs.h <<_ACEOF
103731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103732 _ACEOF
103733
103734 fi
103735 done
103736
103737     fi
103738   fi
103739
103740
103741
103742
103743
103744
103745   echo "$as_me:$LINENO: checking for modfl declaration" >&5
103746 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103747   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103748     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103749   echo $ECHO_N "(cached) $ECHO_C" >&6
103750 else
103751
103752
103753
103754       ac_ext=cc
103755 ac_cpp='$CXXCPP $CPPFLAGS'
103756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103759
103760       cat >conftest.$ac_ext <<_ACEOF
103761 /* confdefs.h.  */
103762 _ACEOF
103763 cat confdefs.h >>conftest.$ac_ext
103764 cat >>conftest.$ac_ext <<_ACEOF
103765 /* end confdefs.h.  */
103766 #include <math.h>
103767 int
103768 main ()
103769 {
103770  modfl(0, 0);
103771   ;
103772   return 0;
103773 }
103774 _ACEOF
103775 rm -f conftest.$ac_objext
103776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103777   (eval $ac_compile) 2>conftest.er1
103778   ac_status=$?
103779   grep -v '^ *+' conftest.er1 >conftest.err
103780   rm -f conftest.er1
103781   cat conftest.err >&5
103782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103783   (exit $ac_status); } &&
103784          { ac_try='test -z "$ac_cxx_werror_flag"
103785                          || test ! -s conftest.err'
103786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103787   (eval $ac_try) 2>&5
103788   ac_status=$?
103789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103790   (exit $ac_status); }; } &&
103791          { ac_try='test -s conftest.$ac_objext'
103792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103793   (eval $ac_try) 2>&5
103794   ac_status=$?
103795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103796   (exit $ac_status); }; }; then
103797   glibcxx_cv_func_modfl_use=yes
103798 else
103799   echo "$as_me: failed program was:" >&5
103800 sed 's/^/| /' conftest.$ac_ext >&5
103801
103802 glibcxx_cv_func_modfl_use=no
103803 fi
103804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103805       ac_ext=c
103806 ac_cpp='$CPP $CPPFLAGS'
103807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103810
103811
103812 fi
103813
103814   fi
103815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103816 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103817
103818   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103819
103820 for ac_func in modfl
103821 do
103822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103823 echo "$as_me:$LINENO: checking for $ac_func" >&5
103824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103825 if eval "test \"\${$as_ac_var+set}\" = set"; then
103826   echo $ECHO_N "(cached) $ECHO_C" >&6
103827 else
103828   if test x$gcc_no_link = xyes; then
103829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103831    { (exit 1); exit 1; }; }
103832 fi
103833 cat >conftest.$ac_ext <<_ACEOF
103834 /* confdefs.h.  */
103835 _ACEOF
103836 cat confdefs.h >>conftest.$ac_ext
103837 cat >>conftest.$ac_ext <<_ACEOF
103838 /* end confdefs.h.  */
103839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103841 #define $ac_func innocuous_$ac_func
103842
103843 /* System header to define __stub macros and hopefully few prototypes,
103844     which can conflict with char $ac_func (); below.
103845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103846     <limits.h> exists even on freestanding compilers.  */
103847
103848 #ifdef __STDC__
103849 # include <limits.h>
103850 #else
103851 # include <assert.h>
103852 #endif
103853
103854 #undef $ac_func
103855
103856 /* Override any gcc2 internal prototype to avoid an error.  */
103857 #ifdef __cplusplus
103858 extern "C"
103859 {
103860 #endif
103861 /* We use char because int might match the return type of a gcc2
103862    builtin and then its argument prototype would still apply.  */
103863 char $ac_func ();
103864 /* The GNU C library defines this for functions which it implements
103865     to always fail with ENOSYS.  Some functions are actually named
103866     something starting with __ and the normal name is an alias.  */
103867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103868 choke me
103869 #else
103870 char (*f) () = $ac_func;
103871 #endif
103872 #ifdef __cplusplus
103873 }
103874 #endif
103875
103876 int
103877 main ()
103878 {
103879 return f != $ac_func;
103880   ;
103881   return 0;
103882 }
103883 _ACEOF
103884 rm -f conftest.$ac_objext conftest$ac_exeext
103885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103886   (eval $ac_link) 2>conftest.er1
103887   ac_status=$?
103888   grep -v '^ *+' conftest.er1 >conftest.err
103889   rm -f conftest.er1
103890   cat conftest.err >&5
103891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103892   (exit $ac_status); } &&
103893          { ac_try='test -z "$ac_c_werror_flag"
103894                          || test ! -s conftest.err'
103895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103896   (eval $ac_try) 2>&5
103897   ac_status=$?
103898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103899   (exit $ac_status); }; } &&
103900          { ac_try='test -s conftest$ac_exeext'
103901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103902   (eval $ac_try) 2>&5
103903   ac_status=$?
103904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103905   (exit $ac_status); }; }; then
103906   eval "$as_ac_var=yes"
103907 else
103908   echo "$as_me: failed program was:" >&5
103909 sed 's/^/| /' conftest.$ac_ext >&5
103910
103911 eval "$as_ac_var=no"
103912 fi
103913 rm -f conftest.err conftest.$ac_objext \
103914       conftest$ac_exeext conftest.$ac_ext
103915 fi
103916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103918 if test `eval echo '${'$as_ac_var'}'` = yes; then
103919   cat >>confdefs.h <<_ACEOF
103920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103921 _ACEOF
103922
103923 fi
103924 done
103925
103926   else
103927
103928   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103929 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103930   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103931     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103932   echo $ECHO_N "(cached) $ECHO_C" >&6
103933 else
103934
103935
103936
103937       ac_ext=cc
103938 ac_cpp='$CXXCPP $CPPFLAGS'
103939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103942
103943       cat >conftest.$ac_ext <<_ACEOF
103944 /* confdefs.h.  */
103945 _ACEOF
103946 cat confdefs.h >>conftest.$ac_ext
103947 cat >>conftest.$ac_ext <<_ACEOF
103948 /* end confdefs.h.  */
103949 #include <math.h>
103950 int
103951 main ()
103952 {
103953  _modfl(0, 0);
103954   ;
103955   return 0;
103956 }
103957 _ACEOF
103958 rm -f conftest.$ac_objext
103959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103960   (eval $ac_compile) 2>conftest.er1
103961   ac_status=$?
103962   grep -v '^ *+' conftest.er1 >conftest.err
103963   rm -f conftest.er1
103964   cat conftest.err >&5
103965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103966   (exit $ac_status); } &&
103967          { ac_try='test -z "$ac_cxx_werror_flag"
103968                          || test ! -s conftest.err'
103969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103970   (eval $ac_try) 2>&5
103971   ac_status=$?
103972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103973   (exit $ac_status); }; } &&
103974          { ac_try='test -s conftest.$ac_objext'
103975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103976   (eval $ac_try) 2>&5
103977   ac_status=$?
103978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103979   (exit $ac_status); }; }; then
103980   glibcxx_cv_func__modfl_use=yes
103981 else
103982   echo "$as_me: failed program was:" >&5
103983 sed 's/^/| /' conftest.$ac_ext >&5
103984
103985 glibcxx_cv_func__modfl_use=no
103986 fi
103987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103988       ac_ext=c
103989 ac_cpp='$CPP $CPPFLAGS'
103990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103993
103994
103995 fi
103996
103997   fi
103998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103999 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
104000
104001     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
104002
104003 for ac_func in _modfl
104004 do
104005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104006 echo "$as_me:$LINENO: checking for $ac_func" >&5
104007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104008 if eval "test \"\${$as_ac_var+set}\" = set"; then
104009   echo $ECHO_N "(cached) $ECHO_C" >&6
104010 else
104011   if test x$gcc_no_link = xyes; then
104012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104014    { (exit 1); exit 1; }; }
104015 fi
104016 cat >conftest.$ac_ext <<_ACEOF
104017 /* confdefs.h.  */
104018 _ACEOF
104019 cat confdefs.h >>conftest.$ac_ext
104020 cat >>conftest.$ac_ext <<_ACEOF
104021 /* end confdefs.h.  */
104022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104024 #define $ac_func innocuous_$ac_func
104025
104026 /* System header to define __stub macros and hopefully few prototypes,
104027     which can conflict with char $ac_func (); below.
104028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104029     <limits.h> exists even on freestanding compilers.  */
104030
104031 #ifdef __STDC__
104032 # include <limits.h>
104033 #else
104034 # include <assert.h>
104035 #endif
104036
104037 #undef $ac_func
104038
104039 /* Override any gcc2 internal prototype to avoid an error.  */
104040 #ifdef __cplusplus
104041 extern "C"
104042 {
104043 #endif
104044 /* We use char because int might match the return type of a gcc2
104045    builtin and then its argument prototype would still apply.  */
104046 char $ac_func ();
104047 /* The GNU C library defines this for functions which it implements
104048     to always fail with ENOSYS.  Some functions are actually named
104049     something starting with __ and the normal name is an alias.  */
104050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104051 choke me
104052 #else
104053 char (*f) () = $ac_func;
104054 #endif
104055 #ifdef __cplusplus
104056 }
104057 #endif
104058
104059 int
104060 main ()
104061 {
104062 return f != $ac_func;
104063   ;
104064   return 0;
104065 }
104066 _ACEOF
104067 rm -f conftest.$ac_objext conftest$ac_exeext
104068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104069   (eval $ac_link) 2>conftest.er1
104070   ac_status=$?
104071   grep -v '^ *+' conftest.er1 >conftest.err
104072   rm -f conftest.er1
104073   cat conftest.err >&5
104074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104075   (exit $ac_status); } &&
104076          { ac_try='test -z "$ac_c_werror_flag"
104077                          || test ! -s conftest.err'
104078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104079   (eval $ac_try) 2>&5
104080   ac_status=$?
104081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104082   (exit $ac_status); }; } &&
104083          { ac_try='test -s conftest$ac_exeext'
104084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104085   (eval $ac_try) 2>&5
104086   ac_status=$?
104087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104088   (exit $ac_status); }; }; then
104089   eval "$as_ac_var=yes"
104090 else
104091   echo "$as_me: failed program was:" >&5
104092 sed 's/^/| /' conftest.$ac_ext >&5
104093
104094 eval "$as_ac_var=no"
104095 fi
104096 rm -f conftest.err conftest.$ac_objext \
104097       conftest$ac_exeext conftest.$ac_ext
104098 fi
104099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104101 if test `eval echo '${'$as_ac_var'}'` = yes; then
104102   cat >>confdefs.h <<_ACEOF
104103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104104 _ACEOF
104105
104106 fi
104107 done
104108
104109     fi
104110   fi
104111
104112
104113
104114
104115
104116
104117   echo "$as_me:$LINENO: checking for powl declaration" >&5
104118 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
104119   if test x${glibcxx_cv_func_powl_use+set} != xset; then
104120     if test "${glibcxx_cv_func_powl_use+set}" = set; then
104121   echo $ECHO_N "(cached) $ECHO_C" >&6
104122 else
104123
104124
104125
104126       ac_ext=cc
104127 ac_cpp='$CXXCPP $CPPFLAGS'
104128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104131
104132       cat >conftest.$ac_ext <<_ACEOF
104133 /* confdefs.h.  */
104134 _ACEOF
104135 cat confdefs.h >>conftest.$ac_ext
104136 cat >>conftest.$ac_ext <<_ACEOF
104137 /* end confdefs.h.  */
104138 #include <math.h>
104139 int
104140 main ()
104141 {
104142  powl(0, 0);
104143   ;
104144   return 0;
104145 }
104146 _ACEOF
104147 rm -f conftest.$ac_objext
104148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104149   (eval $ac_compile) 2>conftest.er1
104150   ac_status=$?
104151   grep -v '^ *+' conftest.er1 >conftest.err
104152   rm -f conftest.er1
104153   cat conftest.err >&5
104154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104155   (exit $ac_status); } &&
104156          { ac_try='test -z "$ac_cxx_werror_flag"
104157                          || test ! -s conftest.err'
104158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104159   (eval $ac_try) 2>&5
104160   ac_status=$?
104161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104162   (exit $ac_status); }; } &&
104163          { ac_try='test -s conftest.$ac_objext'
104164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104165   (eval $ac_try) 2>&5
104166   ac_status=$?
104167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104168   (exit $ac_status); }; }; then
104169   glibcxx_cv_func_powl_use=yes
104170 else
104171   echo "$as_me: failed program was:" >&5
104172 sed 's/^/| /' conftest.$ac_ext >&5
104173
104174 glibcxx_cv_func_powl_use=no
104175 fi
104176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104177       ac_ext=c
104178 ac_cpp='$CPP $CPPFLAGS'
104179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104182
104183
104184 fi
104185
104186   fi
104187   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
104188 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
104189
104190   if test x$glibcxx_cv_func_powl_use = x"yes"; then
104191
104192 for ac_func in powl
104193 do
104194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104195 echo "$as_me:$LINENO: checking for $ac_func" >&5
104196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104197 if eval "test \"\${$as_ac_var+set}\" = set"; then
104198   echo $ECHO_N "(cached) $ECHO_C" >&6
104199 else
104200   if test x$gcc_no_link = xyes; then
104201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104203    { (exit 1); exit 1; }; }
104204 fi
104205 cat >conftest.$ac_ext <<_ACEOF
104206 /* confdefs.h.  */
104207 _ACEOF
104208 cat confdefs.h >>conftest.$ac_ext
104209 cat >>conftest.$ac_ext <<_ACEOF
104210 /* end confdefs.h.  */
104211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104213 #define $ac_func innocuous_$ac_func
104214
104215 /* System header to define __stub macros and hopefully few prototypes,
104216     which can conflict with char $ac_func (); below.
104217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104218     <limits.h> exists even on freestanding compilers.  */
104219
104220 #ifdef __STDC__
104221 # include <limits.h>
104222 #else
104223 # include <assert.h>
104224 #endif
104225
104226 #undef $ac_func
104227
104228 /* Override any gcc2 internal prototype to avoid an error.  */
104229 #ifdef __cplusplus
104230 extern "C"
104231 {
104232 #endif
104233 /* We use char because int might match the return type of a gcc2
104234    builtin and then its argument prototype would still apply.  */
104235 char $ac_func ();
104236 /* The GNU C library defines this for functions which it implements
104237     to always fail with ENOSYS.  Some functions are actually named
104238     something starting with __ and the normal name is an alias.  */
104239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104240 choke me
104241 #else
104242 char (*f) () = $ac_func;
104243 #endif
104244 #ifdef __cplusplus
104245 }
104246 #endif
104247
104248 int
104249 main ()
104250 {
104251 return f != $ac_func;
104252   ;
104253   return 0;
104254 }
104255 _ACEOF
104256 rm -f conftest.$ac_objext conftest$ac_exeext
104257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104258   (eval $ac_link) 2>conftest.er1
104259   ac_status=$?
104260   grep -v '^ *+' conftest.er1 >conftest.err
104261   rm -f conftest.er1
104262   cat conftest.err >&5
104263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104264   (exit $ac_status); } &&
104265          { ac_try='test -z "$ac_c_werror_flag"
104266                          || test ! -s conftest.err'
104267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104268   (eval $ac_try) 2>&5
104269   ac_status=$?
104270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104271   (exit $ac_status); }; } &&
104272          { ac_try='test -s conftest$ac_exeext'
104273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104274   (eval $ac_try) 2>&5
104275   ac_status=$?
104276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104277   (exit $ac_status); }; }; then
104278   eval "$as_ac_var=yes"
104279 else
104280   echo "$as_me: failed program was:" >&5
104281 sed 's/^/| /' conftest.$ac_ext >&5
104282
104283 eval "$as_ac_var=no"
104284 fi
104285 rm -f conftest.err conftest.$ac_objext \
104286       conftest$ac_exeext conftest.$ac_ext
104287 fi
104288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104290 if test `eval echo '${'$as_ac_var'}'` = yes; then
104291   cat >>confdefs.h <<_ACEOF
104292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104293 _ACEOF
104294
104295 fi
104296 done
104297
104298   else
104299
104300   echo "$as_me:$LINENO: checking for _powl declaration" >&5
104301 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
104302   if test x${glibcxx_cv_func__powl_use+set} != xset; then
104303     if test "${glibcxx_cv_func__powl_use+set}" = set; then
104304   echo $ECHO_N "(cached) $ECHO_C" >&6
104305 else
104306
104307
104308
104309       ac_ext=cc
104310 ac_cpp='$CXXCPP $CPPFLAGS'
104311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104314
104315       cat >conftest.$ac_ext <<_ACEOF
104316 /* confdefs.h.  */
104317 _ACEOF
104318 cat confdefs.h >>conftest.$ac_ext
104319 cat >>conftest.$ac_ext <<_ACEOF
104320 /* end confdefs.h.  */
104321 #include <math.h>
104322 int
104323 main ()
104324 {
104325  _powl(0, 0);
104326   ;
104327   return 0;
104328 }
104329 _ACEOF
104330 rm -f conftest.$ac_objext
104331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104332   (eval $ac_compile) 2>conftest.er1
104333   ac_status=$?
104334   grep -v '^ *+' conftest.er1 >conftest.err
104335   rm -f conftest.er1
104336   cat conftest.err >&5
104337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104338   (exit $ac_status); } &&
104339          { ac_try='test -z "$ac_cxx_werror_flag"
104340                          || test ! -s conftest.err'
104341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104342   (eval $ac_try) 2>&5
104343   ac_status=$?
104344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104345   (exit $ac_status); }; } &&
104346          { ac_try='test -s conftest.$ac_objext'
104347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104348   (eval $ac_try) 2>&5
104349   ac_status=$?
104350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104351   (exit $ac_status); }; }; then
104352   glibcxx_cv_func__powl_use=yes
104353 else
104354   echo "$as_me: failed program was:" >&5
104355 sed 's/^/| /' conftest.$ac_ext >&5
104356
104357 glibcxx_cv_func__powl_use=no
104358 fi
104359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104360       ac_ext=c
104361 ac_cpp='$CPP $CPPFLAGS'
104362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104365
104366
104367 fi
104368
104369   fi
104370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104371 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104372
104373     if test x$glibcxx_cv_func__powl_use = x"yes"; then
104374
104375 for ac_func in _powl
104376 do
104377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104378 echo "$as_me:$LINENO: checking for $ac_func" >&5
104379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104380 if eval "test \"\${$as_ac_var+set}\" = set"; then
104381   echo $ECHO_N "(cached) $ECHO_C" >&6
104382 else
104383   if test x$gcc_no_link = xyes; then
104384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104386    { (exit 1); exit 1; }; }
104387 fi
104388 cat >conftest.$ac_ext <<_ACEOF
104389 /* confdefs.h.  */
104390 _ACEOF
104391 cat confdefs.h >>conftest.$ac_ext
104392 cat >>conftest.$ac_ext <<_ACEOF
104393 /* end confdefs.h.  */
104394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104396 #define $ac_func innocuous_$ac_func
104397
104398 /* System header to define __stub macros and hopefully few prototypes,
104399     which can conflict with char $ac_func (); below.
104400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104401     <limits.h> exists even on freestanding compilers.  */
104402
104403 #ifdef __STDC__
104404 # include <limits.h>
104405 #else
104406 # include <assert.h>
104407 #endif
104408
104409 #undef $ac_func
104410
104411 /* Override any gcc2 internal prototype to avoid an error.  */
104412 #ifdef __cplusplus
104413 extern "C"
104414 {
104415 #endif
104416 /* We use char because int might match the return type of a gcc2
104417    builtin and then its argument prototype would still apply.  */
104418 char $ac_func ();
104419 /* The GNU C library defines this for functions which it implements
104420     to always fail with ENOSYS.  Some functions are actually named
104421     something starting with __ and the normal name is an alias.  */
104422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104423 choke me
104424 #else
104425 char (*f) () = $ac_func;
104426 #endif
104427 #ifdef __cplusplus
104428 }
104429 #endif
104430
104431 int
104432 main ()
104433 {
104434 return f != $ac_func;
104435   ;
104436   return 0;
104437 }
104438 _ACEOF
104439 rm -f conftest.$ac_objext conftest$ac_exeext
104440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104441   (eval $ac_link) 2>conftest.er1
104442   ac_status=$?
104443   grep -v '^ *+' conftest.er1 >conftest.err
104444   rm -f conftest.er1
104445   cat conftest.err >&5
104446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104447   (exit $ac_status); } &&
104448          { ac_try='test -z "$ac_c_werror_flag"
104449                          || test ! -s conftest.err'
104450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104451   (eval $ac_try) 2>&5
104452   ac_status=$?
104453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104454   (exit $ac_status); }; } &&
104455          { ac_try='test -s conftest$ac_exeext'
104456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104457   (eval $ac_try) 2>&5
104458   ac_status=$?
104459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104460   (exit $ac_status); }; }; then
104461   eval "$as_ac_var=yes"
104462 else
104463   echo "$as_me: failed program was:" >&5
104464 sed 's/^/| /' conftest.$ac_ext >&5
104465
104466 eval "$as_ac_var=no"
104467 fi
104468 rm -f conftest.err conftest.$ac_objext \
104469       conftest$ac_exeext conftest.$ac_ext
104470 fi
104471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104473 if test `eval echo '${'$as_ac_var'}'` = yes; then
104474   cat >>confdefs.h <<_ACEOF
104475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104476 _ACEOF
104477
104478 fi
104479 done
104480
104481     fi
104482   fi
104483
104484
104485
104486
104487
104488
104489   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104490 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104491   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104492     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104493   echo $ECHO_N "(cached) $ECHO_C" >&6
104494 else
104495
104496
104497
104498       ac_ext=cc
104499 ac_cpp='$CXXCPP $CPPFLAGS'
104500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104503
104504       cat >conftest.$ac_ext <<_ACEOF
104505 /* confdefs.h.  */
104506 _ACEOF
104507 cat confdefs.h >>conftest.$ac_ext
104508 cat >>conftest.$ac_ext <<_ACEOF
104509 /* end confdefs.h.  */
104510 #include <math.h>
104511                       #ifdef HAVE_IEEEFP_H
104512                       #include <ieeefp.h>
104513                       #endif
104514
104515 int
104516 main ()
104517 {
104518  sqrtl(0);
104519   ;
104520   return 0;
104521 }
104522 _ACEOF
104523 rm -f conftest.$ac_objext
104524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104525   (eval $ac_compile) 2>conftest.er1
104526   ac_status=$?
104527   grep -v '^ *+' conftest.er1 >conftest.err
104528   rm -f conftest.er1
104529   cat conftest.err >&5
104530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104531   (exit $ac_status); } &&
104532          { ac_try='test -z "$ac_cxx_werror_flag"
104533                          || test ! -s conftest.err'
104534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104535   (eval $ac_try) 2>&5
104536   ac_status=$?
104537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104538   (exit $ac_status); }; } &&
104539          { ac_try='test -s conftest.$ac_objext'
104540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104541   (eval $ac_try) 2>&5
104542   ac_status=$?
104543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104544   (exit $ac_status); }; }; then
104545   glibcxx_cv_func_sqrtl_use=yes
104546 else
104547   echo "$as_me: failed program was:" >&5
104548 sed 's/^/| /' conftest.$ac_ext >&5
104549
104550 glibcxx_cv_func_sqrtl_use=no
104551 fi
104552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104553       ac_ext=c
104554 ac_cpp='$CPP $CPPFLAGS'
104555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104558
104559
104560 fi
104561
104562   fi
104563   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104564 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104565
104566   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104567
104568 for ac_func in sqrtl
104569 do
104570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104571 echo "$as_me:$LINENO: checking for $ac_func" >&5
104572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104573 if eval "test \"\${$as_ac_var+set}\" = set"; then
104574   echo $ECHO_N "(cached) $ECHO_C" >&6
104575 else
104576   if test x$gcc_no_link = xyes; then
104577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104579    { (exit 1); exit 1; }; }
104580 fi
104581 cat >conftest.$ac_ext <<_ACEOF
104582 /* confdefs.h.  */
104583 _ACEOF
104584 cat confdefs.h >>conftest.$ac_ext
104585 cat >>conftest.$ac_ext <<_ACEOF
104586 /* end confdefs.h.  */
104587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104589 #define $ac_func innocuous_$ac_func
104590
104591 /* System header to define __stub macros and hopefully few prototypes,
104592     which can conflict with char $ac_func (); below.
104593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104594     <limits.h> exists even on freestanding compilers.  */
104595
104596 #ifdef __STDC__
104597 # include <limits.h>
104598 #else
104599 # include <assert.h>
104600 #endif
104601
104602 #undef $ac_func
104603
104604 /* Override any gcc2 internal prototype to avoid an error.  */
104605 #ifdef __cplusplus
104606 extern "C"
104607 {
104608 #endif
104609 /* We use char because int might match the return type of a gcc2
104610    builtin and then its argument prototype would still apply.  */
104611 char $ac_func ();
104612 /* The GNU C library defines this for functions which it implements
104613     to always fail with ENOSYS.  Some functions are actually named
104614     something starting with __ and the normal name is an alias.  */
104615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104616 choke me
104617 #else
104618 char (*f) () = $ac_func;
104619 #endif
104620 #ifdef __cplusplus
104621 }
104622 #endif
104623
104624 int
104625 main ()
104626 {
104627 return f != $ac_func;
104628   ;
104629   return 0;
104630 }
104631 _ACEOF
104632 rm -f conftest.$ac_objext conftest$ac_exeext
104633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104634   (eval $ac_link) 2>conftest.er1
104635   ac_status=$?
104636   grep -v '^ *+' conftest.er1 >conftest.err
104637   rm -f conftest.er1
104638   cat conftest.err >&5
104639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104640   (exit $ac_status); } &&
104641          { ac_try='test -z "$ac_c_werror_flag"
104642                          || test ! -s conftest.err'
104643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104644   (eval $ac_try) 2>&5
104645   ac_status=$?
104646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104647   (exit $ac_status); }; } &&
104648          { ac_try='test -s conftest$ac_exeext'
104649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104650   (eval $ac_try) 2>&5
104651   ac_status=$?
104652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104653   (exit $ac_status); }; }; then
104654   eval "$as_ac_var=yes"
104655 else
104656   echo "$as_me: failed program was:" >&5
104657 sed 's/^/| /' conftest.$ac_ext >&5
104658
104659 eval "$as_ac_var=no"
104660 fi
104661 rm -f conftest.err conftest.$ac_objext \
104662       conftest$ac_exeext conftest.$ac_ext
104663 fi
104664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104666 if test `eval echo '${'$as_ac_var'}'` = yes; then
104667   cat >>confdefs.h <<_ACEOF
104668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104669 _ACEOF
104670
104671 fi
104672 done
104673
104674   else
104675
104676   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104677 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104678   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104679     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104680   echo $ECHO_N "(cached) $ECHO_C" >&6
104681 else
104682
104683
104684
104685       ac_ext=cc
104686 ac_cpp='$CXXCPP $CPPFLAGS'
104687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104690
104691       cat >conftest.$ac_ext <<_ACEOF
104692 /* confdefs.h.  */
104693 _ACEOF
104694 cat confdefs.h >>conftest.$ac_ext
104695 cat >>conftest.$ac_ext <<_ACEOF
104696 /* end confdefs.h.  */
104697 #include <math.h>
104698                       #ifdef HAVE_IEEEFP_H
104699                       #include <ieeefp.h>
104700                       #endif
104701
104702 int
104703 main ()
104704 {
104705  _sqrtl(0);
104706   ;
104707   return 0;
104708 }
104709 _ACEOF
104710 rm -f conftest.$ac_objext
104711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104712   (eval $ac_compile) 2>conftest.er1
104713   ac_status=$?
104714   grep -v '^ *+' conftest.er1 >conftest.err
104715   rm -f conftest.er1
104716   cat conftest.err >&5
104717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104718   (exit $ac_status); } &&
104719          { ac_try='test -z "$ac_cxx_werror_flag"
104720                          || test ! -s conftest.err'
104721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104722   (eval $ac_try) 2>&5
104723   ac_status=$?
104724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104725   (exit $ac_status); }; } &&
104726          { ac_try='test -s conftest.$ac_objext'
104727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104728   (eval $ac_try) 2>&5
104729   ac_status=$?
104730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104731   (exit $ac_status); }; }; then
104732   glibcxx_cv_func__sqrtl_use=yes
104733 else
104734   echo "$as_me: failed program was:" >&5
104735 sed 's/^/| /' conftest.$ac_ext >&5
104736
104737 glibcxx_cv_func__sqrtl_use=no
104738 fi
104739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104740       ac_ext=c
104741 ac_cpp='$CPP $CPPFLAGS'
104742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104745
104746
104747 fi
104748
104749   fi
104750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104751 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104752
104753     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104754
104755 for ac_func in _sqrtl
104756 do
104757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104758 echo "$as_me:$LINENO: checking for $ac_func" >&5
104759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104760 if eval "test \"\${$as_ac_var+set}\" = set"; then
104761   echo $ECHO_N "(cached) $ECHO_C" >&6
104762 else
104763   if test x$gcc_no_link = xyes; then
104764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104766    { (exit 1); exit 1; }; }
104767 fi
104768 cat >conftest.$ac_ext <<_ACEOF
104769 /* confdefs.h.  */
104770 _ACEOF
104771 cat confdefs.h >>conftest.$ac_ext
104772 cat >>conftest.$ac_ext <<_ACEOF
104773 /* end confdefs.h.  */
104774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104776 #define $ac_func innocuous_$ac_func
104777
104778 /* System header to define __stub macros and hopefully few prototypes,
104779     which can conflict with char $ac_func (); below.
104780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104781     <limits.h> exists even on freestanding compilers.  */
104782
104783 #ifdef __STDC__
104784 # include <limits.h>
104785 #else
104786 # include <assert.h>
104787 #endif
104788
104789 #undef $ac_func
104790
104791 /* Override any gcc2 internal prototype to avoid an error.  */
104792 #ifdef __cplusplus
104793 extern "C"
104794 {
104795 #endif
104796 /* We use char because int might match the return type of a gcc2
104797    builtin and then its argument prototype would still apply.  */
104798 char $ac_func ();
104799 /* The GNU C library defines this for functions which it implements
104800     to always fail with ENOSYS.  Some functions are actually named
104801     something starting with __ and the normal name is an alias.  */
104802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104803 choke me
104804 #else
104805 char (*f) () = $ac_func;
104806 #endif
104807 #ifdef __cplusplus
104808 }
104809 #endif
104810
104811 int
104812 main ()
104813 {
104814 return f != $ac_func;
104815   ;
104816   return 0;
104817 }
104818 _ACEOF
104819 rm -f conftest.$ac_objext conftest$ac_exeext
104820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104821   (eval $ac_link) 2>conftest.er1
104822   ac_status=$?
104823   grep -v '^ *+' conftest.er1 >conftest.err
104824   rm -f conftest.er1
104825   cat conftest.err >&5
104826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104827   (exit $ac_status); } &&
104828          { ac_try='test -z "$ac_c_werror_flag"
104829                          || test ! -s conftest.err'
104830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104831   (eval $ac_try) 2>&5
104832   ac_status=$?
104833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104834   (exit $ac_status); }; } &&
104835          { ac_try='test -s conftest$ac_exeext'
104836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104837   (eval $ac_try) 2>&5
104838   ac_status=$?
104839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104840   (exit $ac_status); }; }; then
104841   eval "$as_ac_var=yes"
104842 else
104843   echo "$as_me: failed program was:" >&5
104844 sed 's/^/| /' conftest.$ac_ext >&5
104845
104846 eval "$as_ac_var=no"
104847 fi
104848 rm -f conftest.err conftest.$ac_objext \
104849       conftest$ac_exeext conftest.$ac_ext
104850 fi
104851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104853 if test `eval echo '${'$as_ac_var'}'` = yes; then
104854   cat >>confdefs.h <<_ACEOF
104855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104856 _ACEOF
104857
104858 fi
104859 done
104860
104861     fi
104862   fi
104863
104864
104865
104866
104867
104868
104869   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104870 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104871   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104872     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104873   echo $ECHO_N "(cached) $ECHO_C" >&6
104874 else
104875
104876
104877
104878       ac_ext=cc
104879 ac_cpp='$CXXCPP $CPPFLAGS'
104880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104883
104884       cat >conftest.$ac_ext <<_ACEOF
104885 /* confdefs.h.  */
104886 _ACEOF
104887 cat confdefs.h >>conftest.$ac_ext
104888 cat >>conftest.$ac_ext <<_ACEOF
104889 /* end confdefs.h.  */
104890 #include <math.h>
104891 int
104892 main ()
104893 {
104894  sincosl(0, 0, 0);
104895   ;
104896   return 0;
104897 }
104898 _ACEOF
104899 rm -f conftest.$ac_objext
104900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104901   (eval $ac_compile) 2>conftest.er1
104902   ac_status=$?
104903   grep -v '^ *+' conftest.er1 >conftest.err
104904   rm -f conftest.er1
104905   cat conftest.err >&5
104906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104907   (exit $ac_status); } &&
104908          { ac_try='test -z "$ac_cxx_werror_flag"
104909                          || test ! -s conftest.err'
104910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104911   (eval $ac_try) 2>&5
104912   ac_status=$?
104913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104914   (exit $ac_status); }; } &&
104915          { ac_try='test -s conftest.$ac_objext'
104916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104917   (eval $ac_try) 2>&5
104918   ac_status=$?
104919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104920   (exit $ac_status); }; }; then
104921   glibcxx_cv_func_sincosl_use=yes
104922 else
104923   echo "$as_me: failed program was:" >&5
104924 sed 's/^/| /' conftest.$ac_ext >&5
104925
104926 glibcxx_cv_func_sincosl_use=no
104927 fi
104928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104929       ac_ext=c
104930 ac_cpp='$CPP $CPPFLAGS'
104931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104934
104935
104936 fi
104937
104938   fi
104939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104940 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104941
104942   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104943
104944 for ac_func in sincosl
104945 do
104946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104947 echo "$as_me:$LINENO: checking for $ac_func" >&5
104948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104949 if eval "test \"\${$as_ac_var+set}\" = set"; then
104950   echo $ECHO_N "(cached) $ECHO_C" >&6
104951 else
104952   if test x$gcc_no_link = xyes; then
104953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104955    { (exit 1); exit 1; }; }
104956 fi
104957 cat >conftest.$ac_ext <<_ACEOF
104958 /* confdefs.h.  */
104959 _ACEOF
104960 cat confdefs.h >>conftest.$ac_ext
104961 cat >>conftest.$ac_ext <<_ACEOF
104962 /* end confdefs.h.  */
104963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104965 #define $ac_func innocuous_$ac_func
104966
104967 /* System header to define __stub macros and hopefully few prototypes,
104968     which can conflict with char $ac_func (); below.
104969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104970     <limits.h> exists even on freestanding compilers.  */
104971
104972 #ifdef __STDC__
104973 # include <limits.h>
104974 #else
104975 # include <assert.h>
104976 #endif
104977
104978 #undef $ac_func
104979
104980 /* Override any gcc2 internal prototype to avoid an error.  */
104981 #ifdef __cplusplus
104982 extern "C"
104983 {
104984 #endif
104985 /* We use char because int might match the return type of a gcc2
104986    builtin and then its argument prototype would still apply.  */
104987 char $ac_func ();
104988 /* The GNU C library defines this for functions which it implements
104989     to always fail with ENOSYS.  Some functions are actually named
104990     something starting with __ and the normal name is an alias.  */
104991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104992 choke me
104993 #else
104994 char (*f) () = $ac_func;
104995 #endif
104996 #ifdef __cplusplus
104997 }
104998 #endif
104999
105000 int
105001 main ()
105002 {
105003 return f != $ac_func;
105004   ;
105005   return 0;
105006 }
105007 _ACEOF
105008 rm -f conftest.$ac_objext conftest$ac_exeext
105009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105010   (eval $ac_link) 2>conftest.er1
105011   ac_status=$?
105012   grep -v '^ *+' conftest.er1 >conftest.err
105013   rm -f conftest.er1
105014   cat conftest.err >&5
105015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105016   (exit $ac_status); } &&
105017          { ac_try='test -z "$ac_c_werror_flag"
105018                          || test ! -s conftest.err'
105019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105020   (eval $ac_try) 2>&5
105021   ac_status=$?
105022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105023   (exit $ac_status); }; } &&
105024          { ac_try='test -s conftest$ac_exeext'
105025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105026   (eval $ac_try) 2>&5
105027   ac_status=$?
105028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105029   (exit $ac_status); }; }; then
105030   eval "$as_ac_var=yes"
105031 else
105032   echo "$as_me: failed program was:" >&5
105033 sed 's/^/| /' conftest.$ac_ext >&5
105034
105035 eval "$as_ac_var=no"
105036 fi
105037 rm -f conftest.err conftest.$ac_objext \
105038       conftest$ac_exeext conftest.$ac_ext
105039 fi
105040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105042 if test `eval echo '${'$as_ac_var'}'` = yes; then
105043   cat >>confdefs.h <<_ACEOF
105044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105045 _ACEOF
105046
105047 fi
105048 done
105049
105050   else
105051
105052   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
105053 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
105054   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
105055     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
105056   echo $ECHO_N "(cached) $ECHO_C" >&6
105057 else
105058
105059
105060
105061       ac_ext=cc
105062 ac_cpp='$CXXCPP $CPPFLAGS'
105063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105066
105067       cat >conftest.$ac_ext <<_ACEOF
105068 /* confdefs.h.  */
105069 _ACEOF
105070 cat confdefs.h >>conftest.$ac_ext
105071 cat >>conftest.$ac_ext <<_ACEOF
105072 /* end confdefs.h.  */
105073 #include <math.h>
105074 int
105075 main ()
105076 {
105077  _sincosl(0, 0, 0);
105078   ;
105079   return 0;
105080 }
105081 _ACEOF
105082 rm -f conftest.$ac_objext
105083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105084   (eval $ac_compile) 2>conftest.er1
105085   ac_status=$?
105086   grep -v '^ *+' conftest.er1 >conftest.err
105087   rm -f conftest.er1
105088   cat conftest.err >&5
105089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105090   (exit $ac_status); } &&
105091          { ac_try='test -z "$ac_cxx_werror_flag"
105092                          || test ! -s conftest.err'
105093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105094   (eval $ac_try) 2>&5
105095   ac_status=$?
105096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105097   (exit $ac_status); }; } &&
105098          { ac_try='test -s conftest.$ac_objext'
105099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105100   (eval $ac_try) 2>&5
105101   ac_status=$?
105102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105103   (exit $ac_status); }; }; then
105104   glibcxx_cv_func__sincosl_use=yes
105105 else
105106   echo "$as_me: failed program was:" >&5
105107 sed 's/^/| /' conftest.$ac_ext >&5
105108
105109 glibcxx_cv_func__sincosl_use=no
105110 fi
105111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105112       ac_ext=c
105113 ac_cpp='$CPP $CPPFLAGS'
105114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105117
105118
105119 fi
105120
105121   fi
105122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
105123 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
105124
105125     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
105126
105127 for ac_func in _sincosl
105128 do
105129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105130 echo "$as_me:$LINENO: checking for $ac_func" >&5
105131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105132 if eval "test \"\${$as_ac_var+set}\" = set"; then
105133   echo $ECHO_N "(cached) $ECHO_C" >&6
105134 else
105135   if test x$gcc_no_link = xyes; then
105136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105138    { (exit 1); exit 1; }; }
105139 fi
105140 cat >conftest.$ac_ext <<_ACEOF
105141 /* confdefs.h.  */
105142 _ACEOF
105143 cat confdefs.h >>conftest.$ac_ext
105144 cat >>conftest.$ac_ext <<_ACEOF
105145 /* end confdefs.h.  */
105146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105148 #define $ac_func innocuous_$ac_func
105149
105150 /* System header to define __stub macros and hopefully few prototypes,
105151     which can conflict with char $ac_func (); below.
105152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105153     <limits.h> exists even on freestanding compilers.  */
105154
105155 #ifdef __STDC__
105156 # include <limits.h>
105157 #else
105158 # include <assert.h>
105159 #endif
105160
105161 #undef $ac_func
105162
105163 /* Override any gcc2 internal prototype to avoid an error.  */
105164 #ifdef __cplusplus
105165 extern "C"
105166 {
105167 #endif
105168 /* We use char because int might match the return type of a gcc2
105169    builtin and then its argument prototype would still apply.  */
105170 char $ac_func ();
105171 /* The GNU C library defines this for functions which it implements
105172     to always fail with ENOSYS.  Some functions are actually named
105173     something starting with __ and the normal name is an alias.  */
105174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105175 choke me
105176 #else
105177 char (*f) () = $ac_func;
105178 #endif
105179 #ifdef __cplusplus
105180 }
105181 #endif
105182
105183 int
105184 main ()
105185 {
105186 return f != $ac_func;
105187   ;
105188   return 0;
105189 }
105190 _ACEOF
105191 rm -f conftest.$ac_objext conftest$ac_exeext
105192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105193   (eval $ac_link) 2>conftest.er1
105194   ac_status=$?
105195   grep -v '^ *+' conftest.er1 >conftest.err
105196   rm -f conftest.er1
105197   cat conftest.err >&5
105198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105199   (exit $ac_status); } &&
105200          { ac_try='test -z "$ac_c_werror_flag"
105201                          || test ! -s conftest.err'
105202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105203   (eval $ac_try) 2>&5
105204   ac_status=$?
105205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105206   (exit $ac_status); }; } &&
105207          { ac_try='test -s conftest$ac_exeext'
105208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105209   (eval $ac_try) 2>&5
105210   ac_status=$?
105211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105212   (exit $ac_status); }; }; then
105213   eval "$as_ac_var=yes"
105214 else
105215   echo "$as_me: failed program was:" >&5
105216 sed 's/^/| /' conftest.$ac_ext >&5
105217
105218 eval "$as_ac_var=no"
105219 fi
105220 rm -f conftest.err conftest.$ac_objext \
105221       conftest$ac_exeext conftest.$ac_ext
105222 fi
105223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105225 if test `eval echo '${'$as_ac_var'}'` = yes; then
105226   cat >>confdefs.h <<_ACEOF
105227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105228 _ACEOF
105229
105230 fi
105231 done
105232
105233     fi
105234   fi
105235
105236
105237
105238
105239
105240
105241   echo "$as_me:$LINENO: checking for finitel declaration" >&5
105242 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
105243   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
105244     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
105245   echo $ECHO_N "(cached) $ECHO_C" >&6
105246 else
105247
105248
105249
105250       ac_ext=cc
105251 ac_cpp='$CXXCPP $CPPFLAGS'
105252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105255
105256       cat >conftest.$ac_ext <<_ACEOF
105257 /* confdefs.h.  */
105258 _ACEOF
105259 cat confdefs.h >>conftest.$ac_ext
105260 cat >>conftest.$ac_ext <<_ACEOF
105261 /* end confdefs.h.  */
105262 #include <math.h>
105263                       #ifdef HAVE_IEEEFP_H
105264                       #include <ieeefp.h>
105265                       #endif
105266
105267 int
105268 main ()
105269 {
105270  finitel(0);
105271   ;
105272   return 0;
105273 }
105274 _ACEOF
105275 rm -f conftest.$ac_objext
105276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105277   (eval $ac_compile) 2>conftest.er1
105278   ac_status=$?
105279   grep -v '^ *+' conftest.er1 >conftest.err
105280   rm -f conftest.er1
105281   cat conftest.err >&5
105282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105283   (exit $ac_status); } &&
105284          { ac_try='test -z "$ac_cxx_werror_flag"
105285                          || test ! -s conftest.err'
105286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105287   (eval $ac_try) 2>&5
105288   ac_status=$?
105289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105290   (exit $ac_status); }; } &&
105291          { ac_try='test -s conftest.$ac_objext'
105292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105293   (eval $ac_try) 2>&5
105294   ac_status=$?
105295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105296   (exit $ac_status); }; }; then
105297   glibcxx_cv_func_finitel_use=yes
105298 else
105299   echo "$as_me: failed program was:" >&5
105300 sed 's/^/| /' conftest.$ac_ext >&5
105301
105302 glibcxx_cv_func_finitel_use=no
105303 fi
105304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105305       ac_ext=c
105306 ac_cpp='$CPP $CPPFLAGS'
105307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105310
105311
105312 fi
105313
105314   fi
105315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
105316 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
105317
105318   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
105319
105320 for ac_func in finitel
105321 do
105322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105323 echo "$as_me:$LINENO: checking for $ac_func" >&5
105324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105325 if eval "test \"\${$as_ac_var+set}\" = set"; then
105326   echo $ECHO_N "(cached) $ECHO_C" >&6
105327 else
105328   if test x$gcc_no_link = xyes; then
105329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105331    { (exit 1); exit 1; }; }
105332 fi
105333 cat >conftest.$ac_ext <<_ACEOF
105334 /* confdefs.h.  */
105335 _ACEOF
105336 cat confdefs.h >>conftest.$ac_ext
105337 cat >>conftest.$ac_ext <<_ACEOF
105338 /* end confdefs.h.  */
105339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105341 #define $ac_func innocuous_$ac_func
105342
105343 /* System header to define __stub macros and hopefully few prototypes,
105344     which can conflict with char $ac_func (); below.
105345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105346     <limits.h> exists even on freestanding compilers.  */
105347
105348 #ifdef __STDC__
105349 # include <limits.h>
105350 #else
105351 # include <assert.h>
105352 #endif
105353
105354 #undef $ac_func
105355
105356 /* Override any gcc2 internal prototype to avoid an error.  */
105357 #ifdef __cplusplus
105358 extern "C"
105359 {
105360 #endif
105361 /* We use char because int might match the return type of a gcc2
105362    builtin and then its argument prototype would still apply.  */
105363 char $ac_func ();
105364 /* The GNU C library defines this for functions which it implements
105365     to always fail with ENOSYS.  Some functions are actually named
105366     something starting with __ and the normal name is an alias.  */
105367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105368 choke me
105369 #else
105370 char (*f) () = $ac_func;
105371 #endif
105372 #ifdef __cplusplus
105373 }
105374 #endif
105375
105376 int
105377 main ()
105378 {
105379 return f != $ac_func;
105380   ;
105381   return 0;
105382 }
105383 _ACEOF
105384 rm -f conftest.$ac_objext conftest$ac_exeext
105385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105386   (eval $ac_link) 2>conftest.er1
105387   ac_status=$?
105388   grep -v '^ *+' conftest.er1 >conftest.err
105389   rm -f conftest.er1
105390   cat conftest.err >&5
105391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105392   (exit $ac_status); } &&
105393          { ac_try='test -z "$ac_c_werror_flag"
105394                          || test ! -s conftest.err'
105395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105396   (eval $ac_try) 2>&5
105397   ac_status=$?
105398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105399   (exit $ac_status); }; } &&
105400          { ac_try='test -s conftest$ac_exeext'
105401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105402   (eval $ac_try) 2>&5
105403   ac_status=$?
105404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105405   (exit $ac_status); }; }; then
105406   eval "$as_ac_var=yes"
105407 else
105408   echo "$as_me: failed program was:" >&5
105409 sed 's/^/| /' conftest.$ac_ext >&5
105410
105411 eval "$as_ac_var=no"
105412 fi
105413 rm -f conftest.err conftest.$ac_objext \
105414       conftest$ac_exeext conftest.$ac_ext
105415 fi
105416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105418 if test `eval echo '${'$as_ac_var'}'` = yes; then
105419   cat >>confdefs.h <<_ACEOF
105420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105421 _ACEOF
105422
105423 fi
105424 done
105425
105426   else
105427
105428   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105429 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105430   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105431     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105432   echo $ECHO_N "(cached) $ECHO_C" >&6
105433 else
105434
105435
105436
105437       ac_ext=cc
105438 ac_cpp='$CXXCPP $CPPFLAGS'
105439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105442
105443       cat >conftest.$ac_ext <<_ACEOF
105444 /* confdefs.h.  */
105445 _ACEOF
105446 cat confdefs.h >>conftest.$ac_ext
105447 cat >>conftest.$ac_ext <<_ACEOF
105448 /* end confdefs.h.  */
105449 #include <math.h>
105450                       #ifdef HAVE_IEEEFP_H
105451                       #include <ieeefp.h>
105452                       #endif
105453
105454 int
105455 main ()
105456 {
105457  _finitel(0);
105458   ;
105459   return 0;
105460 }
105461 _ACEOF
105462 rm -f conftest.$ac_objext
105463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105464   (eval $ac_compile) 2>conftest.er1
105465   ac_status=$?
105466   grep -v '^ *+' conftest.er1 >conftest.err
105467   rm -f conftest.er1
105468   cat conftest.err >&5
105469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105470   (exit $ac_status); } &&
105471          { ac_try='test -z "$ac_cxx_werror_flag"
105472                          || test ! -s conftest.err'
105473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105474   (eval $ac_try) 2>&5
105475   ac_status=$?
105476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105477   (exit $ac_status); }; } &&
105478          { ac_try='test -s conftest.$ac_objext'
105479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105480   (eval $ac_try) 2>&5
105481   ac_status=$?
105482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105483   (exit $ac_status); }; }; then
105484   glibcxx_cv_func__finitel_use=yes
105485 else
105486   echo "$as_me: failed program was:" >&5
105487 sed 's/^/| /' conftest.$ac_ext >&5
105488
105489 glibcxx_cv_func__finitel_use=no
105490 fi
105491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105492       ac_ext=c
105493 ac_cpp='$CPP $CPPFLAGS'
105494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105497
105498
105499 fi
105500
105501   fi
105502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105503 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105504
105505     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105506
105507 for ac_func in _finitel
105508 do
105509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105510 echo "$as_me:$LINENO: checking for $ac_func" >&5
105511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105512 if eval "test \"\${$as_ac_var+set}\" = set"; then
105513   echo $ECHO_N "(cached) $ECHO_C" >&6
105514 else
105515   if test x$gcc_no_link = xyes; then
105516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105518    { (exit 1); exit 1; }; }
105519 fi
105520 cat >conftest.$ac_ext <<_ACEOF
105521 /* confdefs.h.  */
105522 _ACEOF
105523 cat confdefs.h >>conftest.$ac_ext
105524 cat >>conftest.$ac_ext <<_ACEOF
105525 /* end confdefs.h.  */
105526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105528 #define $ac_func innocuous_$ac_func
105529
105530 /* System header to define __stub macros and hopefully few prototypes,
105531     which can conflict with char $ac_func (); below.
105532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105533     <limits.h> exists even on freestanding compilers.  */
105534
105535 #ifdef __STDC__
105536 # include <limits.h>
105537 #else
105538 # include <assert.h>
105539 #endif
105540
105541 #undef $ac_func
105542
105543 /* Override any gcc2 internal prototype to avoid an error.  */
105544 #ifdef __cplusplus
105545 extern "C"
105546 {
105547 #endif
105548 /* We use char because int might match the return type of a gcc2
105549    builtin and then its argument prototype would still apply.  */
105550 char $ac_func ();
105551 /* The GNU C library defines this for functions which it implements
105552     to always fail with ENOSYS.  Some functions are actually named
105553     something starting with __ and the normal name is an alias.  */
105554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105555 choke me
105556 #else
105557 char (*f) () = $ac_func;
105558 #endif
105559 #ifdef __cplusplus
105560 }
105561 #endif
105562
105563 int
105564 main ()
105565 {
105566 return f != $ac_func;
105567   ;
105568   return 0;
105569 }
105570 _ACEOF
105571 rm -f conftest.$ac_objext conftest$ac_exeext
105572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105573   (eval $ac_link) 2>conftest.er1
105574   ac_status=$?
105575   grep -v '^ *+' conftest.er1 >conftest.err
105576   rm -f conftest.er1
105577   cat conftest.err >&5
105578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105579   (exit $ac_status); } &&
105580          { ac_try='test -z "$ac_c_werror_flag"
105581                          || test ! -s conftest.err'
105582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105583   (eval $ac_try) 2>&5
105584   ac_status=$?
105585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105586   (exit $ac_status); }; } &&
105587          { ac_try='test -s conftest$ac_exeext'
105588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105589   (eval $ac_try) 2>&5
105590   ac_status=$?
105591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105592   (exit $ac_status); }; }; then
105593   eval "$as_ac_var=yes"
105594 else
105595   echo "$as_me: failed program was:" >&5
105596 sed 's/^/| /' conftest.$ac_ext >&5
105597
105598 eval "$as_ac_var=no"
105599 fi
105600 rm -f conftest.err conftest.$ac_objext \
105601       conftest$ac_exeext conftest.$ac_ext
105602 fi
105603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105605 if test `eval echo '${'$as_ac_var'}'` = yes; then
105606   cat >>confdefs.h <<_ACEOF
105607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105608 _ACEOF
105609
105610 fi
105611 done
105612
105613     fi
105614   fi
105615
105616
105617
105618
105619
105620   LIBS="$ac_save_LIBS"
105621   CXXFLAGS="$ac_save_CXXFLAGS"
105622
105623
105624
105625   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105626 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105627   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105628     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105629   echo $ECHO_N "(cached) $ECHO_C" >&6
105630 else
105631
105632
105633
105634       ac_ext=cc
105635 ac_cpp='$CXXCPP $CPPFLAGS'
105636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105639
105640       cat >conftest.$ac_ext <<_ACEOF
105641 /* confdefs.h.  */
105642 _ACEOF
105643 cat confdefs.h >>conftest.$ac_ext
105644 cat >>conftest.$ac_ext <<_ACEOF
105645 /* end confdefs.h.  */
105646 #include <math.h>
105647 int
105648 main ()
105649 {
105650  __builtin_abs(0);
105651   ;
105652   return 0;
105653 }
105654 _ACEOF
105655 rm -f conftest.$ac_objext
105656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105657   (eval $ac_compile) 2>conftest.er1
105658   ac_status=$?
105659   grep -v '^ *+' conftest.er1 >conftest.err
105660   rm -f conftest.er1
105661   cat conftest.err >&5
105662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105663   (exit $ac_status); } &&
105664          { ac_try='test -z "$ac_cxx_werror_flag"
105665                          || test ! -s conftest.err'
105666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105667   (eval $ac_try) 2>&5
105668   ac_status=$?
105669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105670   (exit $ac_status); }; } &&
105671          { ac_try='test -s conftest.$ac_objext'
105672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105673   (eval $ac_try) 2>&5
105674   ac_status=$?
105675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105676   (exit $ac_status); }; }; then
105677   glibcxx_cv_func___builtin_abs_use=yes
105678 else
105679   echo "$as_me: failed program was:" >&5
105680 sed 's/^/| /' conftest.$ac_ext >&5
105681
105682 glibcxx_cv_func___builtin_abs_use=no
105683 fi
105684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105685       ac_ext=c
105686 ac_cpp='$CPP $CPPFLAGS'
105687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105690
105691
105692 fi
105693
105694   fi
105695   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105696 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105697   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105698     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105699 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105700     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105701       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105702   echo $ECHO_N "(cached) $ECHO_C" >&6
105703 else
105704
105705         if test x$gcc_no_link = xyes; then
105706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105708    { (exit 1); exit 1; }; }
105709 fi
105710 cat >conftest.$ac_ext <<_ACEOF
105711 /* confdefs.h.  */
105712 _ACEOF
105713 cat confdefs.h >>conftest.$ac_ext
105714 cat >>conftest.$ac_ext <<_ACEOF
105715 /* end confdefs.h.  */
105716 #include <math.h>
105717 int
105718 main ()
105719 {
105720  __builtin_abs(0);
105721   ;
105722   return 0;
105723 }
105724 _ACEOF
105725 rm -f conftest.$ac_objext conftest$ac_exeext
105726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105727   (eval $ac_link) 2>conftest.er1
105728   ac_status=$?
105729   grep -v '^ *+' conftest.er1 >conftest.err
105730   rm -f conftest.er1
105731   cat conftest.err >&5
105732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105733   (exit $ac_status); } &&
105734          { ac_try='test -z "$ac_c_werror_flag"
105735                          || test ! -s conftest.err'
105736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105737   (eval $ac_try) 2>&5
105738   ac_status=$?
105739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105740   (exit $ac_status); }; } &&
105741          { ac_try='test -s conftest$ac_exeext'
105742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105743   (eval $ac_try) 2>&5
105744   ac_status=$?
105745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105746   (exit $ac_status); }; }; then
105747   glibcxx_cv_func___builtin_abs_link=yes
105748 else
105749   echo "$as_me: failed program was:" >&5
105750 sed 's/^/| /' conftest.$ac_ext >&5
105751
105752 glibcxx_cv_func___builtin_abs_link=no
105753 fi
105754 rm -f conftest.err conftest.$ac_objext \
105755       conftest$ac_exeext conftest.$ac_ext
105756
105757 fi
105758
105759     fi
105760     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105761 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105762
105763     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105764
105765 cat >>confdefs.h <<\_ACEOF
105766 #define HAVE___BUILTIN_ABS 1
105767 _ACEOF
105768
105769     fi
105770
105771   fi
105772
105773
105774   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105775 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105776   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105777     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105778   echo $ECHO_N "(cached) $ECHO_C" >&6
105779 else
105780
105781
105782
105783       ac_ext=cc
105784 ac_cpp='$CXXCPP $CPPFLAGS'
105785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105788
105789       cat >conftest.$ac_ext <<_ACEOF
105790 /* confdefs.h.  */
105791 _ACEOF
105792 cat confdefs.h >>conftest.$ac_ext
105793 cat >>conftest.$ac_ext <<_ACEOF
105794 /* end confdefs.h.  */
105795 #include <math.h>
105796 int
105797 main ()
105798 {
105799  __builtin_fabsf(0);
105800   ;
105801   return 0;
105802 }
105803 _ACEOF
105804 rm -f conftest.$ac_objext
105805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105806   (eval $ac_compile) 2>conftest.er1
105807   ac_status=$?
105808   grep -v '^ *+' conftest.er1 >conftest.err
105809   rm -f conftest.er1
105810   cat conftest.err >&5
105811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105812   (exit $ac_status); } &&
105813          { ac_try='test -z "$ac_cxx_werror_flag"
105814                          || test ! -s conftest.err'
105815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105816   (eval $ac_try) 2>&5
105817   ac_status=$?
105818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105819   (exit $ac_status); }; } &&
105820          { ac_try='test -s conftest.$ac_objext'
105821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105822   (eval $ac_try) 2>&5
105823   ac_status=$?
105824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105825   (exit $ac_status); }; }; then
105826   glibcxx_cv_func___builtin_fabsf_use=yes
105827 else
105828   echo "$as_me: failed program was:" >&5
105829 sed 's/^/| /' conftest.$ac_ext >&5
105830
105831 glibcxx_cv_func___builtin_fabsf_use=no
105832 fi
105833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105834       ac_ext=c
105835 ac_cpp='$CPP $CPPFLAGS'
105836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105839
105840
105841 fi
105842
105843   fi
105844   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105845 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105846   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105847     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105848 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105849     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105850       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105851   echo $ECHO_N "(cached) $ECHO_C" >&6
105852 else
105853
105854         if test x$gcc_no_link = xyes; then
105855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105857    { (exit 1); exit 1; }; }
105858 fi
105859 cat >conftest.$ac_ext <<_ACEOF
105860 /* confdefs.h.  */
105861 _ACEOF
105862 cat confdefs.h >>conftest.$ac_ext
105863 cat >>conftest.$ac_ext <<_ACEOF
105864 /* end confdefs.h.  */
105865 #include <math.h>
105866 int
105867 main ()
105868 {
105869  __builtin_fabsf(0);
105870   ;
105871   return 0;
105872 }
105873 _ACEOF
105874 rm -f conftest.$ac_objext conftest$ac_exeext
105875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105876   (eval $ac_link) 2>conftest.er1
105877   ac_status=$?
105878   grep -v '^ *+' conftest.er1 >conftest.err
105879   rm -f conftest.er1
105880   cat conftest.err >&5
105881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105882   (exit $ac_status); } &&
105883          { ac_try='test -z "$ac_c_werror_flag"
105884                          || test ! -s conftest.err'
105885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105886   (eval $ac_try) 2>&5
105887   ac_status=$?
105888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105889   (exit $ac_status); }; } &&
105890          { ac_try='test -s conftest$ac_exeext'
105891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105892   (eval $ac_try) 2>&5
105893   ac_status=$?
105894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105895   (exit $ac_status); }; }; then
105896   glibcxx_cv_func___builtin_fabsf_link=yes
105897 else
105898   echo "$as_me: failed program was:" >&5
105899 sed 's/^/| /' conftest.$ac_ext >&5
105900
105901 glibcxx_cv_func___builtin_fabsf_link=no
105902 fi
105903 rm -f conftest.err conftest.$ac_objext \
105904       conftest$ac_exeext conftest.$ac_ext
105905
105906 fi
105907
105908     fi
105909     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105910 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105911
105912     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105913
105914 cat >>confdefs.h <<\_ACEOF
105915 #define HAVE___BUILTIN_FABSF 1
105916 _ACEOF
105917
105918     fi
105919
105920   fi
105921
105922
105923   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105924 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105925   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105926     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105927   echo $ECHO_N "(cached) $ECHO_C" >&6
105928 else
105929
105930
105931
105932       ac_ext=cc
105933 ac_cpp='$CXXCPP $CPPFLAGS'
105934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105937
105938       cat >conftest.$ac_ext <<_ACEOF
105939 /* confdefs.h.  */
105940 _ACEOF
105941 cat confdefs.h >>conftest.$ac_ext
105942 cat >>conftest.$ac_ext <<_ACEOF
105943 /* end confdefs.h.  */
105944 #include <math.h>
105945 int
105946 main ()
105947 {
105948  __builtin_fabs(0);
105949   ;
105950   return 0;
105951 }
105952 _ACEOF
105953 rm -f conftest.$ac_objext
105954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105955   (eval $ac_compile) 2>conftest.er1
105956   ac_status=$?
105957   grep -v '^ *+' conftest.er1 >conftest.err
105958   rm -f conftest.er1
105959   cat conftest.err >&5
105960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105961   (exit $ac_status); } &&
105962          { ac_try='test -z "$ac_cxx_werror_flag"
105963                          || test ! -s conftest.err'
105964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105965   (eval $ac_try) 2>&5
105966   ac_status=$?
105967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105968   (exit $ac_status); }; } &&
105969          { ac_try='test -s conftest.$ac_objext'
105970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105971   (eval $ac_try) 2>&5
105972   ac_status=$?
105973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105974   (exit $ac_status); }; }; then
105975   glibcxx_cv_func___builtin_fabs_use=yes
105976 else
105977   echo "$as_me: failed program was:" >&5
105978 sed 's/^/| /' conftest.$ac_ext >&5
105979
105980 glibcxx_cv_func___builtin_fabs_use=no
105981 fi
105982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105983       ac_ext=c
105984 ac_cpp='$CPP $CPPFLAGS'
105985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105988
105989
105990 fi
105991
105992   fi
105993   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105994 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105995   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105996     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105997 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105998     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105999       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
106000   echo $ECHO_N "(cached) $ECHO_C" >&6
106001 else
106002
106003         if test x$gcc_no_link = xyes; then
106004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106006    { (exit 1); exit 1; }; }
106007 fi
106008 cat >conftest.$ac_ext <<_ACEOF
106009 /* confdefs.h.  */
106010 _ACEOF
106011 cat confdefs.h >>conftest.$ac_ext
106012 cat >>conftest.$ac_ext <<_ACEOF
106013 /* end confdefs.h.  */
106014 #include <math.h>
106015 int
106016 main ()
106017 {
106018  __builtin_fabs(0);
106019   ;
106020   return 0;
106021 }
106022 _ACEOF
106023 rm -f conftest.$ac_objext conftest$ac_exeext
106024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106025   (eval $ac_link) 2>conftest.er1
106026   ac_status=$?
106027   grep -v '^ *+' conftest.er1 >conftest.err
106028   rm -f conftest.er1
106029   cat conftest.err >&5
106030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106031   (exit $ac_status); } &&
106032          { ac_try='test -z "$ac_c_werror_flag"
106033                          || test ! -s conftest.err'
106034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106035   (eval $ac_try) 2>&5
106036   ac_status=$?
106037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106038   (exit $ac_status); }; } &&
106039          { ac_try='test -s conftest$ac_exeext'
106040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106041   (eval $ac_try) 2>&5
106042   ac_status=$?
106043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106044   (exit $ac_status); }; }; then
106045   glibcxx_cv_func___builtin_fabs_link=yes
106046 else
106047   echo "$as_me: failed program was:" >&5
106048 sed 's/^/| /' conftest.$ac_ext >&5
106049
106050 glibcxx_cv_func___builtin_fabs_link=no
106051 fi
106052 rm -f conftest.err conftest.$ac_objext \
106053       conftest$ac_exeext conftest.$ac_ext
106054
106055 fi
106056
106057     fi
106058     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
106059 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
106060
106061     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
106062
106063 cat >>confdefs.h <<\_ACEOF
106064 #define HAVE___BUILTIN_FABS 1
106065 _ACEOF
106066
106067     fi
106068
106069   fi
106070
106071
106072   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
106073 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
106074   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
106075     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
106076   echo $ECHO_N "(cached) $ECHO_C" >&6
106077 else
106078
106079
106080
106081       ac_ext=cc
106082 ac_cpp='$CXXCPP $CPPFLAGS'
106083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106086
106087       cat >conftest.$ac_ext <<_ACEOF
106088 /* confdefs.h.  */
106089 _ACEOF
106090 cat confdefs.h >>conftest.$ac_ext
106091 cat >>conftest.$ac_ext <<_ACEOF
106092 /* end confdefs.h.  */
106093 #include <math.h>
106094 int
106095 main ()
106096 {
106097  __builtin_fabsl(0);
106098   ;
106099   return 0;
106100 }
106101 _ACEOF
106102 rm -f conftest.$ac_objext
106103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106104   (eval $ac_compile) 2>conftest.er1
106105   ac_status=$?
106106   grep -v '^ *+' conftest.er1 >conftest.err
106107   rm -f conftest.er1
106108   cat conftest.err >&5
106109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106110   (exit $ac_status); } &&
106111          { ac_try='test -z "$ac_cxx_werror_flag"
106112                          || test ! -s conftest.err'
106113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106114   (eval $ac_try) 2>&5
106115   ac_status=$?
106116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106117   (exit $ac_status); }; } &&
106118          { ac_try='test -s conftest.$ac_objext'
106119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106120   (eval $ac_try) 2>&5
106121   ac_status=$?
106122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106123   (exit $ac_status); }; }; then
106124   glibcxx_cv_func___builtin_fabsl_use=yes
106125 else
106126   echo "$as_me: failed program was:" >&5
106127 sed 's/^/| /' conftest.$ac_ext >&5
106128
106129 glibcxx_cv_func___builtin_fabsl_use=no
106130 fi
106131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106132       ac_ext=c
106133 ac_cpp='$CPP $CPPFLAGS'
106134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106137
106138
106139 fi
106140
106141   fi
106142   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
106143 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
106144   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
106145     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
106146 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
106147     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
106148       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
106149   echo $ECHO_N "(cached) $ECHO_C" >&6
106150 else
106151
106152         if test x$gcc_no_link = xyes; then
106153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106155    { (exit 1); exit 1; }; }
106156 fi
106157 cat >conftest.$ac_ext <<_ACEOF
106158 /* confdefs.h.  */
106159 _ACEOF
106160 cat confdefs.h >>conftest.$ac_ext
106161 cat >>conftest.$ac_ext <<_ACEOF
106162 /* end confdefs.h.  */
106163 #include <math.h>
106164 int
106165 main ()
106166 {
106167  __builtin_fabsl(0);
106168   ;
106169   return 0;
106170 }
106171 _ACEOF
106172 rm -f conftest.$ac_objext conftest$ac_exeext
106173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106174   (eval $ac_link) 2>conftest.er1
106175   ac_status=$?
106176   grep -v '^ *+' conftest.er1 >conftest.err
106177   rm -f conftest.er1
106178   cat conftest.err >&5
106179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106180   (exit $ac_status); } &&
106181          { ac_try='test -z "$ac_c_werror_flag"
106182                          || test ! -s conftest.err'
106183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106184   (eval $ac_try) 2>&5
106185   ac_status=$?
106186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106187   (exit $ac_status); }; } &&
106188          { ac_try='test -s conftest$ac_exeext'
106189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106190   (eval $ac_try) 2>&5
106191   ac_status=$?
106192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106193   (exit $ac_status); }; }; then
106194   glibcxx_cv_func___builtin_fabsl_link=yes
106195 else
106196   echo "$as_me: failed program was:" >&5
106197 sed 's/^/| /' conftest.$ac_ext >&5
106198
106199 glibcxx_cv_func___builtin_fabsl_link=no
106200 fi
106201 rm -f conftest.err conftest.$ac_objext \
106202       conftest$ac_exeext conftest.$ac_ext
106203
106204 fi
106205
106206     fi
106207     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
106208 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
106209
106210     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
106211
106212 cat >>confdefs.h <<\_ACEOF
106213 #define HAVE___BUILTIN_FABSL 1
106214 _ACEOF
106215
106216     fi
106217
106218   fi
106219
106220
106221   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
106222 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
106223   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
106224     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
106225   echo $ECHO_N "(cached) $ECHO_C" >&6
106226 else
106227
106228
106229
106230       ac_ext=cc
106231 ac_cpp='$CXXCPP $CPPFLAGS'
106232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106235
106236       cat >conftest.$ac_ext <<_ACEOF
106237 /* confdefs.h.  */
106238 _ACEOF
106239 cat confdefs.h >>conftest.$ac_ext
106240 cat >>conftest.$ac_ext <<_ACEOF
106241 /* end confdefs.h.  */
106242 #include <math.h>
106243 int
106244 main ()
106245 {
106246  __builtin_labs(0);
106247   ;
106248   return 0;
106249 }
106250 _ACEOF
106251 rm -f conftest.$ac_objext
106252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106253   (eval $ac_compile) 2>conftest.er1
106254   ac_status=$?
106255   grep -v '^ *+' conftest.er1 >conftest.err
106256   rm -f conftest.er1
106257   cat conftest.err >&5
106258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106259   (exit $ac_status); } &&
106260          { ac_try='test -z "$ac_cxx_werror_flag"
106261                          || test ! -s conftest.err'
106262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106263   (eval $ac_try) 2>&5
106264   ac_status=$?
106265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266   (exit $ac_status); }; } &&
106267          { ac_try='test -s conftest.$ac_objext'
106268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106269   (eval $ac_try) 2>&5
106270   ac_status=$?
106271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106272   (exit $ac_status); }; }; then
106273   glibcxx_cv_func___builtin_labs_use=yes
106274 else
106275   echo "$as_me: failed program was:" >&5
106276 sed 's/^/| /' conftest.$ac_ext >&5
106277
106278 glibcxx_cv_func___builtin_labs_use=no
106279 fi
106280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106281       ac_ext=c
106282 ac_cpp='$CPP $CPPFLAGS'
106283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106286
106287
106288 fi
106289
106290   fi
106291   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
106292 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
106293   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
106294     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
106295 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
106296     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
106297       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
106298   echo $ECHO_N "(cached) $ECHO_C" >&6
106299 else
106300
106301         if test x$gcc_no_link = xyes; then
106302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106304    { (exit 1); exit 1; }; }
106305 fi
106306 cat >conftest.$ac_ext <<_ACEOF
106307 /* confdefs.h.  */
106308 _ACEOF
106309 cat confdefs.h >>conftest.$ac_ext
106310 cat >>conftest.$ac_ext <<_ACEOF
106311 /* end confdefs.h.  */
106312 #include <math.h>
106313 int
106314 main ()
106315 {
106316  __builtin_labs(0);
106317   ;
106318   return 0;
106319 }
106320 _ACEOF
106321 rm -f conftest.$ac_objext conftest$ac_exeext
106322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106323   (eval $ac_link) 2>conftest.er1
106324   ac_status=$?
106325   grep -v '^ *+' conftest.er1 >conftest.err
106326   rm -f conftest.er1
106327   cat conftest.err >&5
106328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106329   (exit $ac_status); } &&
106330          { ac_try='test -z "$ac_c_werror_flag"
106331                          || test ! -s conftest.err'
106332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106333   (eval $ac_try) 2>&5
106334   ac_status=$?
106335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106336   (exit $ac_status); }; } &&
106337          { ac_try='test -s conftest$ac_exeext'
106338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106339   (eval $ac_try) 2>&5
106340   ac_status=$?
106341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106342   (exit $ac_status); }; }; then
106343   glibcxx_cv_func___builtin_labs_link=yes
106344 else
106345   echo "$as_me: failed program was:" >&5
106346 sed 's/^/| /' conftest.$ac_ext >&5
106347
106348 glibcxx_cv_func___builtin_labs_link=no
106349 fi
106350 rm -f conftest.err conftest.$ac_objext \
106351       conftest$ac_exeext conftest.$ac_ext
106352
106353 fi
106354
106355     fi
106356     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106357 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106358
106359     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106360
106361 cat >>confdefs.h <<\_ACEOF
106362 #define HAVE___BUILTIN_LABS 1
106363 _ACEOF
106364
106365     fi
106366
106367   fi
106368
106369
106370
106371   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106372 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106373   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106374     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106375   echo $ECHO_N "(cached) $ECHO_C" >&6
106376 else
106377
106378
106379
106380       ac_ext=cc
106381 ac_cpp='$CXXCPP $CPPFLAGS'
106382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106385
106386       cat >conftest.$ac_ext <<_ACEOF
106387 /* confdefs.h.  */
106388 _ACEOF
106389 cat confdefs.h >>conftest.$ac_ext
106390 cat >>conftest.$ac_ext <<_ACEOF
106391 /* end confdefs.h.  */
106392 #include <math.h>
106393 int
106394 main ()
106395 {
106396  __builtin_sqrtf(0);
106397   ;
106398   return 0;
106399 }
106400 _ACEOF
106401 rm -f conftest.$ac_objext
106402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106403   (eval $ac_compile) 2>conftest.er1
106404   ac_status=$?
106405   grep -v '^ *+' conftest.er1 >conftest.err
106406   rm -f conftest.er1
106407   cat conftest.err >&5
106408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106409   (exit $ac_status); } &&
106410          { ac_try='test -z "$ac_cxx_werror_flag"
106411                          || test ! -s conftest.err'
106412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106413   (eval $ac_try) 2>&5
106414   ac_status=$?
106415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106416   (exit $ac_status); }; } &&
106417          { ac_try='test -s conftest.$ac_objext'
106418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106419   (eval $ac_try) 2>&5
106420   ac_status=$?
106421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106422   (exit $ac_status); }; }; then
106423   glibcxx_cv_func___builtin_sqrtf_use=yes
106424 else
106425   echo "$as_me: failed program was:" >&5
106426 sed 's/^/| /' conftest.$ac_ext >&5
106427
106428 glibcxx_cv_func___builtin_sqrtf_use=no
106429 fi
106430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106431       ac_ext=c
106432 ac_cpp='$CPP $CPPFLAGS'
106433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106436
106437
106438 fi
106439
106440   fi
106441   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106442 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106443   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106444     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106445 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106446     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106447       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106448   echo $ECHO_N "(cached) $ECHO_C" >&6
106449 else
106450
106451         if test x$gcc_no_link = xyes; then
106452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106454    { (exit 1); exit 1; }; }
106455 fi
106456 cat >conftest.$ac_ext <<_ACEOF
106457 /* confdefs.h.  */
106458 _ACEOF
106459 cat confdefs.h >>conftest.$ac_ext
106460 cat >>conftest.$ac_ext <<_ACEOF
106461 /* end confdefs.h.  */
106462 #include <math.h>
106463 int
106464 main ()
106465 {
106466  __builtin_sqrtf(0);
106467   ;
106468   return 0;
106469 }
106470 _ACEOF
106471 rm -f conftest.$ac_objext conftest$ac_exeext
106472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106473   (eval $ac_link) 2>conftest.er1
106474   ac_status=$?
106475   grep -v '^ *+' conftest.er1 >conftest.err
106476   rm -f conftest.er1
106477   cat conftest.err >&5
106478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106479   (exit $ac_status); } &&
106480          { ac_try='test -z "$ac_c_werror_flag"
106481                          || test ! -s conftest.err'
106482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106483   (eval $ac_try) 2>&5
106484   ac_status=$?
106485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106486   (exit $ac_status); }; } &&
106487          { ac_try='test -s conftest$ac_exeext'
106488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106489   (eval $ac_try) 2>&5
106490   ac_status=$?
106491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106492   (exit $ac_status); }; }; then
106493   glibcxx_cv_func___builtin_sqrtf_link=yes
106494 else
106495   echo "$as_me: failed program was:" >&5
106496 sed 's/^/| /' conftest.$ac_ext >&5
106497
106498 glibcxx_cv_func___builtin_sqrtf_link=no
106499 fi
106500 rm -f conftest.err conftest.$ac_objext \
106501       conftest$ac_exeext conftest.$ac_ext
106502
106503 fi
106504
106505     fi
106506     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106507 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106508
106509     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106510
106511 cat >>confdefs.h <<\_ACEOF
106512 #define HAVE___BUILTIN_SQRTF 1
106513 _ACEOF
106514
106515     fi
106516
106517   fi
106518
106519
106520   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106521 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106522   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106523     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106524   echo $ECHO_N "(cached) $ECHO_C" >&6
106525 else
106526
106527
106528
106529       ac_ext=cc
106530 ac_cpp='$CXXCPP $CPPFLAGS'
106531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106534
106535       cat >conftest.$ac_ext <<_ACEOF
106536 /* confdefs.h.  */
106537 _ACEOF
106538 cat confdefs.h >>conftest.$ac_ext
106539 cat >>conftest.$ac_ext <<_ACEOF
106540 /* end confdefs.h.  */
106541 #include <math.h>
106542 int
106543 main ()
106544 {
106545  __builtin_sqrt(0);
106546   ;
106547   return 0;
106548 }
106549 _ACEOF
106550 rm -f conftest.$ac_objext
106551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106552   (eval $ac_compile) 2>conftest.er1
106553   ac_status=$?
106554   grep -v '^ *+' conftest.er1 >conftest.err
106555   rm -f conftest.er1
106556   cat conftest.err >&5
106557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106558   (exit $ac_status); } &&
106559          { ac_try='test -z "$ac_cxx_werror_flag"
106560                          || test ! -s conftest.err'
106561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106562   (eval $ac_try) 2>&5
106563   ac_status=$?
106564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106565   (exit $ac_status); }; } &&
106566          { ac_try='test -s conftest.$ac_objext'
106567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106568   (eval $ac_try) 2>&5
106569   ac_status=$?
106570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106571   (exit $ac_status); }; }; then
106572   glibcxx_cv_func___builtin_sqrt_use=yes
106573 else
106574   echo "$as_me: failed program was:" >&5
106575 sed 's/^/| /' conftest.$ac_ext >&5
106576
106577 glibcxx_cv_func___builtin_sqrt_use=no
106578 fi
106579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106580       ac_ext=c
106581 ac_cpp='$CPP $CPPFLAGS'
106582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106585
106586
106587 fi
106588
106589   fi
106590   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106591 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106592   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106593     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106594 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106595     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106596       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106597   echo $ECHO_N "(cached) $ECHO_C" >&6
106598 else
106599
106600         if test x$gcc_no_link = xyes; then
106601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106603    { (exit 1); exit 1; }; }
106604 fi
106605 cat >conftest.$ac_ext <<_ACEOF
106606 /* confdefs.h.  */
106607 _ACEOF
106608 cat confdefs.h >>conftest.$ac_ext
106609 cat >>conftest.$ac_ext <<_ACEOF
106610 /* end confdefs.h.  */
106611 #include <math.h>
106612 int
106613 main ()
106614 {
106615  __builtin_sqrt(0);
106616   ;
106617   return 0;
106618 }
106619 _ACEOF
106620 rm -f conftest.$ac_objext conftest$ac_exeext
106621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106622   (eval $ac_link) 2>conftest.er1
106623   ac_status=$?
106624   grep -v '^ *+' conftest.er1 >conftest.err
106625   rm -f conftest.er1
106626   cat conftest.err >&5
106627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106628   (exit $ac_status); } &&
106629          { ac_try='test -z "$ac_c_werror_flag"
106630                          || test ! -s conftest.err'
106631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106632   (eval $ac_try) 2>&5
106633   ac_status=$?
106634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106635   (exit $ac_status); }; } &&
106636          { ac_try='test -s conftest$ac_exeext'
106637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106638   (eval $ac_try) 2>&5
106639   ac_status=$?
106640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106641   (exit $ac_status); }; }; then
106642   glibcxx_cv_func___builtin_sqrt_link=yes
106643 else
106644   echo "$as_me: failed program was:" >&5
106645 sed 's/^/| /' conftest.$ac_ext >&5
106646
106647 glibcxx_cv_func___builtin_sqrt_link=no
106648 fi
106649 rm -f conftest.err conftest.$ac_objext \
106650       conftest$ac_exeext conftest.$ac_ext
106651
106652 fi
106653
106654     fi
106655     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106656 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106657
106658     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106659
106660 cat >>confdefs.h <<\_ACEOF
106661 #define HAVE___BUILTIN_SQRT 1
106662 _ACEOF
106663
106664     fi
106665
106666   fi
106667
106668
106669   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106670 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106671   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106672     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106673   echo $ECHO_N "(cached) $ECHO_C" >&6
106674 else
106675
106676
106677
106678       ac_ext=cc
106679 ac_cpp='$CXXCPP $CPPFLAGS'
106680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106683
106684       cat >conftest.$ac_ext <<_ACEOF
106685 /* confdefs.h.  */
106686 _ACEOF
106687 cat confdefs.h >>conftest.$ac_ext
106688 cat >>conftest.$ac_ext <<_ACEOF
106689 /* end confdefs.h.  */
106690 #include <math.h>
106691 int
106692 main ()
106693 {
106694  __builtin_sqrtl(0);
106695   ;
106696   return 0;
106697 }
106698 _ACEOF
106699 rm -f conftest.$ac_objext
106700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106701   (eval $ac_compile) 2>conftest.er1
106702   ac_status=$?
106703   grep -v '^ *+' conftest.er1 >conftest.err
106704   rm -f conftest.er1
106705   cat conftest.err >&5
106706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106707   (exit $ac_status); } &&
106708          { ac_try='test -z "$ac_cxx_werror_flag"
106709                          || test ! -s conftest.err'
106710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106711   (eval $ac_try) 2>&5
106712   ac_status=$?
106713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106714   (exit $ac_status); }; } &&
106715          { ac_try='test -s conftest.$ac_objext'
106716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106717   (eval $ac_try) 2>&5
106718   ac_status=$?
106719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106720   (exit $ac_status); }; }; then
106721   glibcxx_cv_func___builtin_sqrtl_use=yes
106722 else
106723   echo "$as_me: failed program was:" >&5
106724 sed 's/^/| /' conftest.$ac_ext >&5
106725
106726 glibcxx_cv_func___builtin_sqrtl_use=no
106727 fi
106728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106729       ac_ext=c
106730 ac_cpp='$CPP $CPPFLAGS'
106731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106734
106735
106736 fi
106737
106738   fi
106739   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106740 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106741   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106742     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106743 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106744     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106745       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106746   echo $ECHO_N "(cached) $ECHO_C" >&6
106747 else
106748
106749         if test x$gcc_no_link = xyes; then
106750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106752    { (exit 1); exit 1; }; }
106753 fi
106754 cat >conftest.$ac_ext <<_ACEOF
106755 /* confdefs.h.  */
106756 _ACEOF
106757 cat confdefs.h >>conftest.$ac_ext
106758 cat >>conftest.$ac_ext <<_ACEOF
106759 /* end confdefs.h.  */
106760 #include <math.h>
106761 int
106762 main ()
106763 {
106764  __builtin_sqrtl(0);
106765   ;
106766   return 0;
106767 }
106768 _ACEOF
106769 rm -f conftest.$ac_objext conftest$ac_exeext
106770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106771   (eval $ac_link) 2>conftest.er1
106772   ac_status=$?
106773   grep -v '^ *+' conftest.er1 >conftest.err
106774   rm -f conftest.er1
106775   cat conftest.err >&5
106776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106777   (exit $ac_status); } &&
106778          { ac_try='test -z "$ac_c_werror_flag"
106779                          || test ! -s conftest.err'
106780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106781   (eval $ac_try) 2>&5
106782   ac_status=$?
106783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106784   (exit $ac_status); }; } &&
106785          { ac_try='test -s conftest$ac_exeext'
106786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106787   (eval $ac_try) 2>&5
106788   ac_status=$?
106789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106790   (exit $ac_status); }; }; then
106791   glibcxx_cv_func___builtin_sqrtl_link=yes
106792 else
106793   echo "$as_me: failed program was:" >&5
106794 sed 's/^/| /' conftest.$ac_ext >&5
106795
106796 glibcxx_cv_func___builtin_sqrtl_link=no
106797 fi
106798 rm -f conftest.err conftest.$ac_objext \
106799       conftest$ac_exeext conftest.$ac_ext
106800
106801 fi
106802
106803     fi
106804     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106805 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106806
106807     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106808
106809 cat >>confdefs.h <<\_ACEOF
106810 #define HAVE___BUILTIN_SQRTL 1
106811 _ACEOF
106812
106813     fi
106814
106815   fi
106816
106817
106818
106819   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106820 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106821   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106822     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106823   echo $ECHO_N "(cached) $ECHO_C" >&6
106824 else
106825
106826
106827
106828       ac_ext=cc
106829 ac_cpp='$CXXCPP $CPPFLAGS'
106830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106833
106834       cat >conftest.$ac_ext <<_ACEOF
106835 /* confdefs.h.  */
106836 _ACEOF
106837 cat confdefs.h >>conftest.$ac_ext
106838 cat >>conftest.$ac_ext <<_ACEOF
106839 /* end confdefs.h.  */
106840 #include <math.h>
106841 int
106842 main ()
106843 {
106844  __builtin_sinf(0);
106845   ;
106846   return 0;
106847 }
106848 _ACEOF
106849 rm -f conftest.$ac_objext
106850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106851   (eval $ac_compile) 2>conftest.er1
106852   ac_status=$?
106853   grep -v '^ *+' conftest.er1 >conftest.err
106854   rm -f conftest.er1
106855   cat conftest.err >&5
106856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106857   (exit $ac_status); } &&
106858          { ac_try='test -z "$ac_cxx_werror_flag"
106859                          || test ! -s conftest.err'
106860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106861   (eval $ac_try) 2>&5
106862   ac_status=$?
106863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106864   (exit $ac_status); }; } &&
106865          { ac_try='test -s conftest.$ac_objext'
106866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106867   (eval $ac_try) 2>&5
106868   ac_status=$?
106869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106870   (exit $ac_status); }; }; then
106871   glibcxx_cv_func___builtin_sinf_use=yes
106872 else
106873   echo "$as_me: failed program was:" >&5
106874 sed 's/^/| /' conftest.$ac_ext >&5
106875
106876 glibcxx_cv_func___builtin_sinf_use=no
106877 fi
106878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106879       ac_ext=c
106880 ac_cpp='$CPP $CPPFLAGS'
106881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106884
106885
106886 fi
106887
106888   fi
106889   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106890 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106891   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106892     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106893 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106894     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106895       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106896   echo $ECHO_N "(cached) $ECHO_C" >&6
106897 else
106898
106899         if test x$gcc_no_link = xyes; then
106900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106902    { (exit 1); exit 1; }; }
106903 fi
106904 cat >conftest.$ac_ext <<_ACEOF
106905 /* confdefs.h.  */
106906 _ACEOF
106907 cat confdefs.h >>conftest.$ac_ext
106908 cat >>conftest.$ac_ext <<_ACEOF
106909 /* end confdefs.h.  */
106910 #include <math.h>
106911 int
106912 main ()
106913 {
106914  __builtin_sinf(0);
106915   ;
106916   return 0;
106917 }
106918 _ACEOF
106919 rm -f conftest.$ac_objext conftest$ac_exeext
106920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106921   (eval $ac_link) 2>conftest.er1
106922   ac_status=$?
106923   grep -v '^ *+' conftest.er1 >conftest.err
106924   rm -f conftest.er1
106925   cat conftest.err >&5
106926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106927   (exit $ac_status); } &&
106928          { ac_try='test -z "$ac_c_werror_flag"
106929                          || test ! -s conftest.err'
106930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106931   (eval $ac_try) 2>&5
106932   ac_status=$?
106933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106934   (exit $ac_status); }; } &&
106935          { ac_try='test -s conftest$ac_exeext'
106936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106937   (eval $ac_try) 2>&5
106938   ac_status=$?
106939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106940   (exit $ac_status); }; }; then
106941   glibcxx_cv_func___builtin_sinf_link=yes
106942 else
106943   echo "$as_me: failed program was:" >&5
106944 sed 's/^/| /' conftest.$ac_ext >&5
106945
106946 glibcxx_cv_func___builtin_sinf_link=no
106947 fi
106948 rm -f conftest.err conftest.$ac_objext \
106949       conftest$ac_exeext conftest.$ac_ext
106950
106951 fi
106952
106953     fi
106954     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106955 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106956
106957     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106958
106959 cat >>confdefs.h <<\_ACEOF
106960 #define HAVE___BUILTIN_SINF 1
106961 _ACEOF
106962
106963     fi
106964
106965   fi
106966
106967
106968   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106969 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106970   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106971     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106972   echo $ECHO_N "(cached) $ECHO_C" >&6
106973 else
106974
106975
106976
106977       ac_ext=cc
106978 ac_cpp='$CXXCPP $CPPFLAGS'
106979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106982
106983       cat >conftest.$ac_ext <<_ACEOF
106984 /* confdefs.h.  */
106985 _ACEOF
106986 cat confdefs.h >>conftest.$ac_ext
106987 cat >>conftest.$ac_ext <<_ACEOF
106988 /* end confdefs.h.  */
106989 #include <math.h>
106990 int
106991 main ()
106992 {
106993  __builtin_sin(0);
106994   ;
106995   return 0;
106996 }
106997 _ACEOF
106998 rm -f conftest.$ac_objext
106999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107000   (eval $ac_compile) 2>conftest.er1
107001   ac_status=$?
107002   grep -v '^ *+' conftest.er1 >conftest.err
107003   rm -f conftest.er1
107004   cat conftest.err >&5
107005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107006   (exit $ac_status); } &&
107007          { ac_try='test -z "$ac_cxx_werror_flag"
107008                          || test ! -s conftest.err'
107009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107010   (eval $ac_try) 2>&5
107011   ac_status=$?
107012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107013   (exit $ac_status); }; } &&
107014          { ac_try='test -s conftest.$ac_objext'
107015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107016   (eval $ac_try) 2>&5
107017   ac_status=$?
107018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107019   (exit $ac_status); }; }; then
107020   glibcxx_cv_func___builtin_sin_use=yes
107021 else
107022   echo "$as_me: failed program was:" >&5
107023 sed 's/^/| /' conftest.$ac_ext >&5
107024
107025 glibcxx_cv_func___builtin_sin_use=no
107026 fi
107027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107028       ac_ext=c
107029 ac_cpp='$CPP $CPPFLAGS'
107030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107033
107034
107035 fi
107036
107037   fi
107038   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
107039 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
107040   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
107041     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
107042 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
107043     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
107044       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
107045   echo $ECHO_N "(cached) $ECHO_C" >&6
107046 else
107047
107048         if test x$gcc_no_link = xyes; then
107049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107051    { (exit 1); exit 1; }; }
107052 fi
107053 cat >conftest.$ac_ext <<_ACEOF
107054 /* confdefs.h.  */
107055 _ACEOF
107056 cat confdefs.h >>conftest.$ac_ext
107057 cat >>conftest.$ac_ext <<_ACEOF
107058 /* end confdefs.h.  */
107059 #include <math.h>
107060 int
107061 main ()
107062 {
107063  __builtin_sin(0);
107064   ;
107065   return 0;
107066 }
107067 _ACEOF
107068 rm -f conftest.$ac_objext conftest$ac_exeext
107069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107070   (eval $ac_link) 2>conftest.er1
107071   ac_status=$?
107072   grep -v '^ *+' conftest.er1 >conftest.err
107073   rm -f conftest.er1
107074   cat conftest.err >&5
107075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107076   (exit $ac_status); } &&
107077          { ac_try='test -z "$ac_c_werror_flag"
107078                          || test ! -s conftest.err'
107079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107080   (eval $ac_try) 2>&5
107081   ac_status=$?
107082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107083   (exit $ac_status); }; } &&
107084          { ac_try='test -s conftest$ac_exeext'
107085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107086   (eval $ac_try) 2>&5
107087   ac_status=$?
107088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107089   (exit $ac_status); }; }; then
107090   glibcxx_cv_func___builtin_sin_link=yes
107091 else
107092   echo "$as_me: failed program was:" >&5
107093 sed 's/^/| /' conftest.$ac_ext >&5
107094
107095 glibcxx_cv_func___builtin_sin_link=no
107096 fi
107097 rm -f conftest.err conftest.$ac_objext \
107098       conftest$ac_exeext conftest.$ac_ext
107099
107100 fi
107101
107102     fi
107103     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
107104 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
107105
107106     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
107107
107108 cat >>confdefs.h <<\_ACEOF
107109 #define HAVE___BUILTIN_SIN 1
107110 _ACEOF
107111
107112     fi
107113
107114   fi
107115
107116
107117   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
107118 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
107119   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
107120     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
107121   echo $ECHO_N "(cached) $ECHO_C" >&6
107122 else
107123
107124
107125
107126       ac_ext=cc
107127 ac_cpp='$CXXCPP $CPPFLAGS'
107128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107131
107132       cat >conftest.$ac_ext <<_ACEOF
107133 /* confdefs.h.  */
107134 _ACEOF
107135 cat confdefs.h >>conftest.$ac_ext
107136 cat >>conftest.$ac_ext <<_ACEOF
107137 /* end confdefs.h.  */
107138 #include <math.h>
107139 int
107140 main ()
107141 {
107142  __builtin_sinl(0);
107143   ;
107144   return 0;
107145 }
107146 _ACEOF
107147 rm -f conftest.$ac_objext
107148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107149   (eval $ac_compile) 2>conftest.er1
107150   ac_status=$?
107151   grep -v '^ *+' conftest.er1 >conftest.err
107152   rm -f conftest.er1
107153   cat conftest.err >&5
107154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107155   (exit $ac_status); } &&
107156          { ac_try='test -z "$ac_cxx_werror_flag"
107157                          || test ! -s conftest.err'
107158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107159   (eval $ac_try) 2>&5
107160   ac_status=$?
107161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107162   (exit $ac_status); }; } &&
107163          { ac_try='test -s conftest.$ac_objext'
107164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107165   (eval $ac_try) 2>&5
107166   ac_status=$?
107167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107168   (exit $ac_status); }; }; then
107169   glibcxx_cv_func___builtin_sinl_use=yes
107170 else
107171   echo "$as_me: failed program was:" >&5
107172 sed 's/^/| /' conftest.$ac_ext >&5
107173
107174 glibcxx_cv_func___builtin_sinl_use=no
107175 fi
107176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107177       ac_ext=c
107178 ac_cpp='$CPP $CPPFLAGS'
107179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107182
107183
107184 fi
107185
107186   fi
107187   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
107188 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
107189   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
107190     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
107191 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
107192     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
107193       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
107194   echo $ECHO_N "(cached) $ECHO_C" >&6
107195 else
107196
107197         if test x$gcc_no_link = xyes; then
107198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107200    { (exit 1); exit 1; }; }
107201 fi
107202 cat >conftest.$ac_ext <<_ACEOF
107203 /* confdefs.h.  */
107204 _ACEOF
107205 cat confdefs.h >>conftest.$ac_ext
107206 cat >>conftest.$ac_ext <<_ACEOF
107207 /* end confdefs.h.  */
107208 #include <math.h>
107209 int
107210 main ()
107211 {
107212  __builtin_sinl(0);
107213   ;
107214   return 0;
107215 }
107216 _ACEOF
107217 rm -f conftest.$ac_objext conftest$ac_exeext
107218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107219   (eval $ac_link) 2>conftest.er1
107220   ac_status=$?
107221   grep -v '^ *+' conftest.er1 >conftest.err
107222   rm -f conftest.er1
107223   cat conftest.err >&5
107224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107225   (exit $ac_status); } &&
107226          { ac_try='test -z "$ac_c_werror_flag"
107227                          || test ! -s conftest.err'
107228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107229   (eval $ac_try) 2>&5
107230   ac_status=$?
107231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107232   (exit $ac_status); }; } &&
107233          { ac_try='test -s conftest$ac_exeext'
107234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107235   (eval $ac_try) 2>&5
107236   ac_status=$?
107237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107238   (exit $ac_status); }; }; then
107239   glibcxx_cv_func___builtin_sinl_link=yes
107240 else
107241   echo "$as_me: failed program was:" >&5
107242 sed 's/^/| /' conftest.$ac_ext >&5
107243
107244 glibcxx_cv_func___builtin_sinl_link=no
107245 fi
107246 rm -f conftest.err conftest.$ac_objext \
107247       conftest$ac_exeext conftest.$ac_ext
107248
107249 fi
107250
107251     fi
107252     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
107253 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
107254
107255     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
107256
107257 cat >>confdefs.h <<\_ACEOF
107258 #define HAVE___BUILTIN_SINL 1
107259 _ACEOF
107260
107261     fi
107262
107263   fi
107264
107265
107266
107267   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
107268 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
107269   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
107270     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
107271   echo $ECHO_N "(cached) $ECHO_C" >&6
107272 else
107273
107274
107275
107276       ac_ext=cc
107277 ac_cpp='$CXXCPP $CPPFLAGS'
107278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107281
107282       cat >conftest.$ac_ext <<_ACEOF
107283 /* confdefs.h.  */
107284 _ACEOF
107285 cat confdefs.h >>conftest.$ac_ext
107286 cat >>conftest.$ac_ext <<_ACEOF
107287 /* end confdefs.h.  */
107288 #include <math.h>
107289 int
107290 main ()
107291 {
107292  __builtin_cosf(0);
107293   ;
107294   return 0;
107295 }
107296 _ACEOF
107297 rm -f conftest.$ac_objext
107298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107299   (eval $ac_compile) 2>conftest.er1
107300   ac_status=$?
107301   grep -v '^ *+' conftest.er1 >conftest.err
107302   rm -f conftest.er1
107303   cat conftest.err >&5
107304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107305   (exit $ac_status); } &&
107306          { ac_try='test -z "$ac_cxx_werror_flag"
107307                          || test ! -s conftest.err'
107308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107309   (eval $ac_try) 2>&5
107310   ac_status=$?
107311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107312   (exit $ac_status); }; } &&
107313          { ac_try='test -s conftest.$ac_objext'
107314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107315   (eval $ac_try) 2>&5
107316   ac_status=$?
107317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107318   (exit $ac_status); }; }; then
107319   glibcxx_cv_func___builtin_cosf_use=yes
107320 else
107321   echo "$as_me: failed program was:" >&5
107322 sed 's/^/| /' conftest.$ac_ext >&5
107323
107324 glibcxx_cv_func___builtin_cosf_use=no
107325 fi
107326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107327       ac_ext=c
107328 ac_cpp='$CPP $CPPFLAGS'
107329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107332
107333
107334 fi
107335
107336   fi
107337   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107338 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107339   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107340     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107341 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107342     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107343       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107344   echo $ECHO_N "(cached) $ECHO_C" >&6
107345 else
107346
107347         if test x$gcc_no_link = xyes; then
107348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107350    { (exit 1); exit 1; }; }
107351 fi
107352 cat >conftest.$ac_ext <<_ACEOF
107353 /* confdefs.h.  */
107354 _ACEOF
107355 cat confdefs.h >>conftest.$ac_ext
107356 cat >>conftest.$ac_ext <<_ACEOF
107357 /* end confdefs.h.  */
107358 #include <math.h>
107359 int
107360 main ()
107361 {
107362  __builtin_cosf(0);
107363   ;
107364   return 0;
107365 }
107366 _ACEOF
107367 rm -f conftest.$ac_objext conftest$ac_exeext
107368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107369   (eval $ac_link) 2>conftest.er1
107370   ac_status=$?
107371   grep -v '^ *+' conftest.er1 >conftest.err
107372   rm -f conftest.er1
107373   cat conftest.err >&5
107374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107375   (exit $ac_status); } &&
107376          { ac_try='test -z "$ac_c_werror_flag"
107377                          || test ! -s conftest.err'
107378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107379   (eval $ac_try) 2>&5
107380   ac_status=$?
107381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107382   (exit $ac_status); }; } &&
107383          { ac_try='test -s conftest$ac_exeext'
107384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107385   (eval $ac_try) 2>&5
107386   ac_status=$?
107387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107388   (exit $ac_status); }; }; then
107389   glibcxx_cv_func___builtin_cosf_link=yes
107390 else
107391   echo "$as_me: failed program was:" >&5
107392 sed 's/^/| /' conftest.$ac_ext >&5
107393
107394 glibcxx_cv_func___builtin_cosf_link=no
107395 fi
107396 rm -f conftest.err conftest.$ac_objext \
107397       conftest$ac_exeext conftest.$ac_ext
107398
107399 fi
107400
107401     fi
107402     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107403 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107404
107405     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107406
107407 cat >>confdefs.h <<\_ACEOF
107408 #define HAVE___BUILTIN_COSF 1
107409 _ACEOF
107410
107411     fi
107412
107413   fi
107414
107415
107416   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107417 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107418   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107419     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107420   echo $ECHO_N "(cached) $ECHO_C" >&6
107421 else
107422
107423
107424
107425       ac_ext=cc
107426 ac_cpp='$CXXCPP $CPPFLAGS'
107427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107430
107431       cat >conftest.$ac_ext <<_ACEOF
107432 /* confdefs.h.  */
107433 _ACEOF
107434 cat confdefs.h >>conftest.$ac_ext
107435 cat >>conftest.$ac_ext <<_ACEOF
107436 /* end confdefs.h.  */
107437 #include <math.h>
107438 int
107439 main ()
107440 {
107441  __builtin_cos(0);
107442   ;
107443   return 0;
107444 }
107445 _ACEOF
107446 rm -f conftest.$ac_objext
107447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107448   (eval $ac_compile) 2>conftest.er1
107449   ac_status=$?
107450   grep -v '^ *+' conftest.er1 >conftest.err
107451   rm -f conftest.er1
107452   cat conftest.err >&5
107453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107454   (exit $ac_status); } &&
107455          { ac_try='test -z "$ac_cxx_werror_flag"
107456                          || test ! -s conftest.err'
107457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107458   (eval $ac_try) 2>&5
107459   ac_status=$?
107460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107461   (exit $ac_status); }; } &&
107462          { ac_try='test -s conftest.$ac_objext'
107463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107464   (eval $ac_try) 2>&5
107465   ac_status=$?
107466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107467   (exit $ac_status); }; }; then
107468   glibcxx_cv_func___builtin_cos_use=yes
107469 else
107470   echo "$as_me: failed program was:" >&5
107471 sed 's/^/| /' conftest.$ac_ext >&5
107472
107473 glibcxx_cv_func___builtin_cos_use=no
107474 fi
107475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107476       ac_ext=c
107477 ac_cpp='$CPP $CPPFLAGS'
107478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107481
107482
107483 fi
107484
107485   fi
107486   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107487 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107488   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107489     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107490 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107491     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107492       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107493   echo $ECHO_N "(cached) $ECHO_C" >&6
107494 else
107495
107496         if test x$gcc_no_link = xyes; then
107497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107499    { (exit 1); exit 1; }; }
107500 fi
107501 cat >conftest.$ac_ext <<_ACEOF
107502 /* confdefs.h.  */
107503 _ACEOF
107504 cat confdefs.h >>conftest.$ac_ext
107505 cat >>conftest.$ac_ext <<_ACEOF
107506 /* end confdefs.h.  */
107507 #include <math.h>
107508 int
107509 main ()
107510 {
107511  __builtin_cos(0);
107512   ;
107513   return 0;
107514 }
107515 _ACEOF
107516 rm -f conftest.$ac_objext conftest$ac_exeext
107517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107518   (eval $ac_link) 2>conftest.er1
107519   ac_status=$?
107520   grep -v '^ *+' conftest.er1 >conftest.err
107521   rm -f conftest.er1
107522   cat conftest.err >&5
107523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107524   (exit $ac_status); } &&
107525          { ac_try='test -z "$ac_c_werror_flag"
107526                          || test ! -s conftest.err'
107527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107528   (eval $ac_try) 2>&5
107529   ac_status=$?
107530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107531   (exit $ac_status); }; } &&
107532          { ac_try='test -s conftest$ac_exeext'
107533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107534   (eval $ac_try) 2>&5
107535   ac_status=$?
107536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107537   (exit $ac_status); }; }; then
107538   glibcxx_cv_func___builtin_cos_link=yes
107539 else
107540   echo "$as_me: failed program was:" >&5
107541 sed 's/^/| /' conftest.$ac_ext >&5
107542
107543 glibcxx_cv_func___builtin_cos_link=no
107544 fi
107545 rm -f conftest.err conftest.$ac_objext \
107546       conftest$ac_exeext conftest.$ac_ext
107547
107548 fi
107549
107550     fi
107551     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107552 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107553
107554     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107555
107556 cat >>confdefs.h <<\_ACEOF
107557 #define HAVE___BUILTIN_COS 1
107558 _ACEOF
107559
107560     fi
107561
107562   fi
107563
107564
107565   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107566 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107567   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107568     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107569   echo $ECHO_N "(cached) $ECHO_C" >&6
107570 else
107571
107572
107573
107574       ac_ext=cc
107575 ac_cpp='$CXXCPP $CPPFLAGS'
107576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107579
107580       cat >conftest.$ac_ext <<_ACEOF
107581 /* confdefs.h.  */
107582 _ACEOF
107583 cat confdefs.h >>conftest.$ac_ext
107584 cat >>conftest.$ac_ext <<_ACEOF
107585 /* end confdefs.h.  */
107586 #include <math.h>
107587 int
107588 main ()
107589 {
107590  __builtin_cosl(0);
107591   ;
107592   return 0;
107593 }
107594 _ACEOF
107595 rm -f conftest.$ac_objext
107596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107597   (eval $ac_compile) 2>conftest.er1
107598   ac_status=$?
107599   grep -v '^ *+' conftest.er1 >conftest.err
107600   rm -f conftest.er1
107601   cat conftest.err >&5
107602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107603   (exit $ac_status); } &&
107604          { ac_try='test -z "$ac_cxx_werror_flag"
107605                          || test ! -s conftest.err'
107606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107607   (eval $ac_try) 2>&5
107608   ac_status=$?
107609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107610   (exit $ac_status); }; } &&
107611          { ac_try='test -s conftest.$ac_objext'
107612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107613   (eval $ac_try) 2>&5
107614   ac_status=$?
107615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107616   (exit $ac_status); }; }; then
107617   glibcxx_cv_func___builtin_cosl_use=yes
107618 else
107619   echo "$as_me: failed program was:" >&5
107620 sed 's/^/| /' conftest.$ac_ext >&5
107621
107622 glibcxx_cv_func___builtin_cosl_use=no
107623 fi
107624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107625       ac_ext=c
107626 ac_cpp='$CPP $CPPFLAGS'
107627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107630
107631
107632 fi
107633
107634   fi
107635   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107636 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107637   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107638     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107639 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107640     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107641       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107642   echo $ECHO_N "(cached) $ECHO_C" >&6
107643 else
107644
107645         if test x$gcc_no_link = xyes; then
107646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107648    { (exit 1); exit 1; }; }
107649 fi
107650 cat >conftest.$ac_ext <<_ACEOF
107651 /* confdefs.h.  */
107652 _ACEOF
107653 cat confdefs.h >>conftest.$ac_ext
107654 cat >>conftest.$ac_ext <<_ACEOF
107655 /* end confdefs.h.  */
107656 #include <math.h>
107657 int
107658 main ()
107659 {
107660  __builtin_cosl(0);
107661   ;
107662   return 0;
107663 }
107664 _ACEOF
107665 rm -f conftest.$ac_objext conftest$ac_exeext
107666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107667   (eval $ac_link) 2>conftest.er1
107668   ac_status=$?
107669   grep -v '^ *+' conftest.er1 >conftest.err
107670   rm -f conftest.er1
107671   cat conftest.err >&5
107672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107673   (exit $ac_status); } &&
107674          { ac_try='test -z "$ac_c_werror_flag"
107675                          || test ! -s conftest.err'
107676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107677   (eval $ac_try) 2>&5
107678   ac_status=$?
107679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107680   (exit $ac_status); }; } &&
107681          { ac_try='test -s conftest$ac_exeext'
107682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107683   (eval $ac_try) 2>&5
107684   ac_status=$?
107685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107686   (exit $ac_status); }; }; then
107687   glibcxx_cv_func___builtin_cosl_link=yes
107688 else
107689   echo "$as_me: failed program was:" >&5
107690 sed 's/^/| /' conftest.$ac_ext >&5
107691
107692 glibcxx_cv_func___builtin_cosl_link=no
107693 fi
107694 rm -f conftest.err conftest.$ac_objext \
107695       conftest$ac_exeext conftest.$ac_ext
107696
107697 fi
107698
107699     fi
107700     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107701 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107702
107703     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107704
107705 cat >>confdefs.h <<\_ACEOF
107706 #define HAVE___BUILTIN_COSL 1
107707 _ACEOF
107708
107709     fi
107710
107711   fi
107712
107713
107714
107715
107716 echo "$as_me:$LINENO: checking for main in -lm" >&5
107717 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107718 if test "${ac_cv_lib_m_main+set}" = set; then
107719   echo $ECHO_N "(cached) $ECHO_C" >&6
107720 else
107721   ac_check_lib_save_LIBS=$LIBS
107722 LIBS="-lm  $LIBS"
107723 if test x$gcc_no_link = xyes; then
107724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107726    { (exit 1); exit 1; }; }
107727 fi
107728 cat >conftest.$ac_ext <<_ACEOF
107729 /* confdefs.h.  */
107730 _ACEOF
107731 cat confdefs.h >>conftest.$ac_ext
107732 cat >>conftest.$ac_ext <<_ACEOF
107733 /* end confdefs.h.  */
107734
107735
107736 int
107737 main ()
107738 {
107739 main ();
107740   ;
107741   return 0;
107742 }
107743 _ACEOF
107744 rm -f conftest.$ac_objext conftest$ac_exeext
107745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107746   (eval $ac_link) 2>conftest.er1
107747   ac_status=$?
107748   grep -v '^ *+' conftest.er1 >conftest.err
107749   rm -f conftest.er1
107750   cat conftest.err >&5
107751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107752   (exit $ac_status); } &&
107753          { ac_try='test -z "$ac_c_werror_flag"
107754                          || test ! -s conftest.err'
107755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107756   (eval $ac_try) 2>&5
107757   ac_status=$?
107758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107759   (exit $ac_status); }; } &&
107760          { ac_try='test -s conftest$ac_exeext'
107761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107762   (eval $ac_try) 2>&5
107763   ac_status=$?
107764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107765   (exit $ac_status); }; }; then
107766   ac_cv_lib_m_main=yes
107767 else
107768   echo "$as_me: failed program was:" >&5
107769 sed 's/^/| /' conftest.$ac_ext >&5
107770
107771 ac_cv_lib_m_main=no
107772 fi
107773 rm -f conftest.err conftest.$ac_objext \
107774       conftest$ac_exeext conftest.$ac_ext
107775 LIBS=$ac_check_lib_save_LIBS
107776 fi
107777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107778 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107779 if test $ac_cv_lib_m_main = yes; then
107780   cat >>confdefs.h <<_ACEOF
107781 #define HAVE_LIBM 1
107782 _ACEOF
107783
107784   LIBS="-lm $LIBS"
107785
107786 fi
107787
107788
107789 for ac_func in copysignf
107790 do
107791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107792 echo "$as_me:$LINENO: checking for $ac_func" >&5
107793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107794 if eval "test \"\${$as_ac_var+set}\" = set"; then
107795   echo $ECHO_N "(cached) $ECHO_C" >&6
107796 else
107797   if test x$gcc_no_link = xyes; then
107798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107800    { (exit 1); exit 1; }; }
107801 fi
107802 cat >conftest.$ac_ext <<_ACEOF
107803 /* confdefs.h.  */
107804 _ACEOF
107805 cat confdefs.h >>conftest.$ac_ext
107806 cat >>conftest.$ac_ext <<_ACEOF
107807 /* end confdefs.h.  */
107808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107810 #define $ac_func innocuous_$ac_func
107811
107812 /* System header to define __stub macros and hopefully few prototypes,
107813     which can conflict with char $ac_func (); below.
107814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107815     <limits.h> exists even on freestanding compilers.  */
107816
107817 #ifdef __STDC__
107818 # include <limits.h>
107819 #else
107820 # include <assert.h>
107821 #endif
107822
107823 #undef $ac_func
107824
107825 /* Override any gcc2 internal prototype to avoid an error.  */
107826 #ifdef __cplusplus
107827 extern "C"
107828 {
107829 #endif
107830 /* We use char because int might match the return type of a gcc2
107831    builtin and then its argument prototype would still apply.  */
107832 char $ac_func ();
107833 /* The GNU C library defines this for functions which it implements
107834     to always fail with ENOSYS.  Some functions are actually named
107835     something starting with __ and the normal name is an alias.  */
107836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107837 choke me
107838 #else
107839 char (*f) () = $ac_func;
107840 #endif
107841 #ifdef __cplusplus
107842 }
107843 #endif
107844
107845 int
107846 main ()
107847 {
107848 return f != $ac_func;
107849   ;
107850   return 0;
107851 }
107852 _ACEOF
107853 rm -f conftest.$ac_objext conftest$ac_exeext
107854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107855   (eval $ac_link) 2>conftest.er1
107856   ac_status=$?
107857   grep -v '^ *+' conftest.er1 >conftest.err
107858   rm -f conftest.er1
107859   cat conftest.err >&5
107860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107861   (exit $ac_status); } &&
107862          { ac_try='test -z "$ac_c_werror_flag"
107863                          || test ! -s conftest.err'
107864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107865   (eval $ac_try) 2>&5
107866   ac_status=$?
107867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107868   (exit $ac_status); }; } &&
107869          { ac_try='test -s conftest$ac_exeext'
107870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107871   (eval $ac_try) 2>&5
107872   ac_status=$?
107873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107874   (exit $ac_status); }; }; then
107875   eval "$as_ac_var=yes"
107876 else
107877   echo "$as_me: failed program was:" >&5
107878 sed 's/^/| /' conftest.$ac_ext >&5
107879
107880 eval "$as_ac_var=no"
107881 fi
107882 rm -f conftest.err conftest.$ac_objext \
107883       conftest$ac_exeext conftest.$ac_ext
107884 fi
107885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107887 if test `eval echo '${'$as_ac_var'}'` = yes; then
107888   cat >>confdefs.h <<_ACEOF
107889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107890 _ACEOF
107891
107892 else
107893   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107894 fi
107895 done
107896
107897
107898
107899 for ac_func in __signbit
107900 do
107901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107902 echo "$as_me:$LINENO: checking for $ac_func" >&5
107903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107904 if eval "test \"\${$as_ac_var+set}\" = set"; then
107905   echo $ECHO_N "(cached) $ECHO_C" >&6
107906 else
107907   if test x$gcc_no_link = xyes; then
107908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107910    { (exit 1); exit 1; }; }
107911 fi
107912 cat >conftest.$ac_ext <<_ACEOF
107913 /* confdefs.h.  */
107914 _ACEOF
107915 cat confdefs.h >>conftest.$ac_ext
107916 cat >>conftest.$ac_ext <<_ACEOF
107917 /* end confdefs.h.  */
107918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107920 #define $ac_func innocuous_$ac_func
107921
107922 /* System header to define __stub macros and hopefully few prototypes,
107923     which can conflict with char $ac_func (); below.
107924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107925     <limits.h> exists even on freestanding compilers.  */
107926
107927 #ifdef __STDC__
107928 # include <limits.h>
107929 #else
107930 # include <assert.h>
107931 #endif
107932
107933 #undef $ac_func
107934
107935 /* Override any gcc2 internal prototype to avoid an error.  */
107936 #ifdef __cplusplus
107937 extern "C"
107938 {
107939 #endif
107940 /* We use char because int might match the return type of a gcc2
107941    builtin and then its argument prototype would still apply.  */
107942 char $ac_func ();
107943 /* The GNU C library defines this for functions which it implements
107944     to always fail with ENOSYS.  Some functions are actually named
107945     something starting with __ and the normal name is an alias.  */
107946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107947 choke me
107948 #else
107949 char (*f) () = $ac_func;
107950 #endif
107951 #ifdef __cplusplus
107952 }
107953 #endif
107954
107955 int
107956 main ()
107957 {
107958 return f != $ac_func;
107959   ;
107960   return 0;
107961 }
107962 _ACEOF
107963 rm -f conftest.$ac_objext conftest$ac_exeext
107964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107965   (eval $ac_link) 2>conftest.er1
107966   ac_status=$?
107967   grep -v '^ *+' conftest.er1 >conftest.err
107968   rm -f conftest.er1
107969   cat conftest.err >&5
107970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107971   (exit $ac_status); } &&
107972          { ac_try='test -z "$ac_c_werror_flag"
107973                          || test ! -s conftest.err'
107974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107975   (eval $ac_try) 2>&5
107976   ac_status=$?
107977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107978   (exit $ac_status); }; } &&
107979          { ac_try='test -s conftest$ac_exeext'
107980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107981   (eval $ac_try) 2>&5
107982   ac_status=$?
107983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107984   (exit $ac_status); }; }; then
107985   eval "$as_ac_var=yes"
107986 else
107987   echo "$as_me: failed program was:" >&5
107988 sed 's/^/| /' conftest.$ac_ext >&5
107989
107990 eval "$as_ac_var=no"
107991 fi
107992 rm -f conftest.err conftest.$ac_objext \
107993       conftest$ac_exeext conftest.$ac_ext
107994 fi
107995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107997 if test `eval echo '${'$as_ac_var'}'` = yes; then
107998   cat >>confdefs.h <<_ACEOF
107999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108000 _ACEOF
108001
108002 else
108003   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108004 fi
108005 done
108006
108007
108008
108009 for ac_func in __signbitf
108010 do
108011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108012 echo "$as_me:$LINENO: checking for $ac_func" >&5
108013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108014 if eval "test \"\${$as_ac_var+set}\" = set"; then
108015   echo $ECHO_N "(cached) $ECHO_C" >&6
108016 else
108017   if test x$gcc_no_link = xyes; then
108018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108020    { (exit 1); exit 1; }; }
108021 fi
108022 cat >conftest.$ac_ext <<_ACEOF
108023 /* confdefs.h.  */
108024 _ACEOF
108025 cat confdefs.h >>conftest.$ac_ext
108026 cat >>conftest.$ac_ext <<_ACEOF
108027 /* end confdefs.h.  */
108028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108030 #define $ac_func innocuous_$ac_func
108031
108032 /* System header to define __stub macros and hopefully few prototypes,
108033     which can conflict with char $ac_func (); below.
108034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108035     <limits.h> exists even on freestanding compilers.  */
108036
108037 #ifdef __STDC__
108038 # include <limits.h>
108039 #else
108040 # include <assert.h>
108041 #endif
108042
108043 #undef $ac_func
108044
108045 /* Override any gcc2 internal prototype to avoid an error.  */
108046 #ifdef __cplusplus
108047 extern "C"
108048 {
108049 #endif
108050 /* We use char because int might match the return type of a gcc2
108051    builtin and then its argument prototype would still apply.  */
108052 char $ac_func ();
108053 /* The GNU C library defines this for functions which it implements
108054     to always fail with ENOSYS.  Some functions are actually named
108055     something starting with __ and the normal name is an alias.  */
108056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108057 choke me
108058 #else
108059 char (*f) () = $ac_func;
108060 #endif
108061 #ifdef __cplusplus
108062 }
108063 #endif
108064
108065 int
108066 main ()
108067 {
108068 return f != $ac_func;
108069   ;
108070   return 0;
108071 }
108072 _ACEOF
108073 rm -f conftest.$ac_objext conftest$ac_exeext
108074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108075   (eval $ac_link) 2>conftest.er1
108076   ac_status=$?
108077   grep -v '^ *+' conftest.er1 >conftest.err
108078   rm -f conftest.er1
108079   cat conftest.err >&5
108080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108081   (exit $ac_status); } &&
108082          { ac_try='test -z "$ac_c_werror_flag"
108083                          || test ! -s conftest.err'
108084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108085   (eval $ac_try) 2>&5
108086   ac_status=$?
108087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108088   (exit $ac_status); }; } &&
108089          { ac_try='test -s conftest$ac_exeext'
108090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108091   (eval $ac_try) 2>&5
108092   ac_status=$?
108093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108094   (exit $ac_status); }; }; then
108095   eval "$as_ac_var=yes"
108096 else
108097   echo "$as_me: failed program was:" >&5
108098 sed 's/^/| /' conftest.$ac_ext >&5
108099
108100 eval "$as_ac_var=no"
108101 fi
108102 rm -f conftest.err conftest.$ac_objext \
108103       conftest$ac_exeext conftest.$ac_ext
108104 fi
108105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108107 if test `eval echo '${'$as_ac_var'}'` = yes; then
108108   cat >>confdefs.h <<_ACEOF
108109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108110 _ACEOF
108111
108112 else
108113   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108114 fi
108115 done
108116
108117
108118           if test x$ac_cv_func_copysignl = x"yes"; then
108119
108120 for ac_func in __signbitl
108121 do
108122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108123 echo "$as_me:$LINENO: checking for $ac_func" >&5
108124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108125 if eval "test \"\${$as_ac_var+set}\" = set"; then
108126   echo $ECHO_N "(cached) $ECHO_C" >&6
108127 else
108128   if test x$gcc_no_link = xyes; then
108129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108131    { (exit 1); exit 1; }; }
108132 fi
108133 cat >conftest.$ac_ext <<_ACEOF
108134 /* confdefs.h.  */
108135 _ACEOF
108136 cat confdefs.h >>conftest.$ac_ext
108137 cat >>conftest.$ac_ext <<_ACEOF
108138 /* end confdefs.h.  */
108139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108141 #define $ac_func innocuous_$ac_func
108142
108143 /* System header to define __stub macros and hopefully few prototypes,
108144     which can conflict with char $ac_func (); below.
108145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108146     <limits.h> exists even on freestanding compilers.  */
108147
108148 #ifdef __STDC__
108149 # include <limits.h>
108150 #else
108151 # include <assert.h>
108152 #endif
108153
108154 #undef $ac_func
108155
108156 /* Override any gcc2 internal prototype to avoid an error.  */
108157 #ifdef __cplusplus
108158 extern "C"
108159 {
108160 #endif
108161 /* We use char because int might match the return type of a gcc2
108162    builtin and then its argument prototype would still apply.  */
108163 char $ac_func ();
108164 /* The GNU C library defines this for functions which it implements
108165     to always fail with ENOSYS.  Some functions are actually named
108166     something starting with __ and the normal name is an alias.  */
108167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108168 choke me
108169 #else
108170 char (*f) () = $ac_func;
108171 #endif
108172 #ifdef __cplusplus
108173 }
108174 #endif
108175
108176 int
108177 main ()
108178 {
108179 return f != $ac_func;
108180   ;
108181   return 0;
108182 }
108183 _ACEOF
108184 rm -f conftest.$ac_objext conftest$ac_exeext
108185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108186   (eval $ac_link) 2>conftest.er1
108187   ac_status=$?
108188   grep -v '^ *+' conftest.er1 >conftest.err
108189   rm -f conftest.er1
108190   cat conftest.err >&5
108191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108192   (exit $ac_status); } &&
108193          { ac_try='test -z "$ac_c_werror_flag"
108194                          || test ! -s conftest.err'
108195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108196   (eval $ac_try) 2>&5
108197   ac_status=$?
108198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108199   (exit $ac_status); }; } &&
108200          { ac_try='test -s conftest$ac_exeext'
108201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108202   (eval $ac_try) 2>&5
108203   ac_status=$?
108204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108205   (exit $ac_status); }; }; then
108206   eval "$as_ac_var=yes"
108207 else
108208   echo "$as_me: failed program was:" >&5
108209 sed 's/^/| /' conftest.$ac_ext >&5
108210
108211 eval "$as_ac_var=no"
108212 fi
108213 rm -f conftest.err conftest.$ac_objext \
108214       conftest$ac_exeext conftest.$ac_ext
108215 fi
108216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108218 if test `eval echo '${'$as_ac_var'}'` = yes; then
108219   cat >>confdefs.h <<_ACEOF
108220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108221 _ACEOF
108222
108223 else
108224   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108225 fi
108226 done
108227
108228   fi
108229
108230   # Used in libmath/Makefile.am.
108231   if test -n "$LIBMATHOBJS"; then
108232     need_libmath=yes
108233   fi
108234
108235
108236
108237   ac_test_CXXFLAGS="${CXXFLAGS+set}"
108238   ac_save_CXXFLAGS="$CXXFLAGS"
108239   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
108240
108241
108242   echo "$as_me:$LINENO: checking for strtold declaration" >&5
108243 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
108244   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
108245     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
108246   echo $ECHO_N "(cached) $ECHO_C" >&6
108247 else
108248
108249
108250
108251       ac_ext=cc
108252 ac_cpp='$CXXCPP $CPPFLAGS'
108253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108256
108257       cat >conftest.$ac_ext <<_ACEOF
108258 /* confdefs.h.  */
108259 _ACEOF
108260 cat confdefs.h >>conftest.$ac_ext
108261 cat >>conftest.$ac_ext <<_ACEOF
108262 /* end confdefs.h.  */
108263 #include <stdlib.h>
108264 int
108265 main ()
108266 {
108267  strtold(0, 0);
108268   ;
108269   return 0;
108270 }
108271 _ACEOF
108272 rm -f conftest.$ac_objext
108273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108274   (eval $ac_compile) 2>conftest.er1
108275   ac_status=$?
108276   grep -v '^ *+' conftest.er1 >conftest.err
108277   rm -f conftest.er1
108278   cat conftest.err >&5
108279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108280   (exit $ac_status); } &&
108281          { ac_try='test -z "$ac_cxx_werror_flag"
108282                          || test ! -s conftest.err'
108283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108284   (eval $ac_try) 2>&5
108285   ac_status=$?
108286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108287   (exit $ac_status); }; } &&
108288          { ac_try='test -s conftest.$ac_objext'
108289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108290   (eval $ac_try) 2>&5
108291   ac_status=$?
108292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108293   (exit $ac_status); }; }; then
108294   glibcxx_cv_func_strtold_use=yes
108295 else
108296   echo "$as_me: failed program was:" >&5
108297 sed 's/^/| /' conftest.$ac_ext >&5
108298
108299 glibcxx_cv_func_strtold_use=no
108300 fi
108301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108302       ac_ext=c
108303 ac_cpp='$CPP $CPPFLAGS'
108304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108307
108308
108309 fi
108310
108311   fi
108312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
108313 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
108314   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
108315
108316 for ac_func in strtold
108317 do
108318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108319 echo "$as_me:$LINENO: checking for $ac_func" >&5
108320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108321 if eval "test \"\${$as_ac_var+set}\" = set"; then
108322   echo $ECHO_N "(cached) $ECHO_C" >&6
108323 else
108324   if test x$gcc_no_link = xyes; then
108325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108327    { (exit 1); exit 1; }; }
108328 fi
108329 cat >conftest.$ac_ext <<_ACEOF
108330 /* confdefs.h.  */
108331 _ACEOF
108332 cat confdefs.h >>conftest.$ac_ext
108333 cat >>conftest.$ac_ext <<_ACEOF
108334 /* end confdefs.h.  */
108335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108337 #define $ac_func innocuous_$ac_func
108338
108339 /* System header to define __stub macros and hopefully few prototypes,
108340     which can conflict with char $ac_func (); below.
108341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108342     <limits.h> exists even on freestanding compilers.  */
108343
108344 #ifdef __STDC__
108345 # include <limits.h>
108346 #else
108347 # include <assert.h>
108348 #endif
108349
108350 #undef $ac_func
108351
108352 /* Override any gcc2 internal prototype to avoid an error.  */
108353 #ifdef __cplusplus
108354 extern "C"
108355 {
108356 #endif
108357 /* We use char because int might match the return type of a gcc2
108358    builtin and then its argument prototype would still apply.  */
108359 char $ac_func ();
108360 /* The GNU C library defines this for functions which it implements
108361     to always fail with ENOSYS.  Some functions are actually named
108362     something starting with __ and the normal name is an alias.  */
108363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108364 choke me
108365 #else
108366 char (*f) () = $ac_func;
108367 #endif
108368 #ifdef __cplusplus
108369 }
108370 #endif
108371
108372 int
108373 main ()
108374 {
108375 return f != $ac_func;
108376   ;
108377   return 0;
108378 }
108379 _ACEOF
108380 rm -f conftest.$ac_objext conftest$ac_exeext
108381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108382   (eval $ac_link) 2>conftest.er1
108383   ac_status=$?
108384   grep -v '^ *+' conftest.er1 >conftest.err
108385   rm -f conftest.er1
108386   cat conftest.err >&5
108387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108388   (exit $ac_status); } &&
108389          { ac_try='test -z "$ac_c_werror_flag"
108390                          || test ! -s conftest.err'
108391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108392   (eval $ac_try) 2>&5
108393   ac_status=$?
108394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108395   (exit $ac_status); }; } &&
108396          { ac_try='test -s conftest$ac_exeext'
108397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108398   (eval $ac_try) 2>&5
108399   ac_status=$?
108400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108401   (exit $ac_status); }; }; then
108402   eval "$as_ac_var=yes"
108403 else
108404   echo "$as_me: failed program was:" >&5
108405 sed 's/^/| /' conftest.$ac_ext >&5
108406
108407 eval "$as_ac_var=no"
108408 fi
108409 rm -f conftest.err conftest.$ac_objext \
108410       conftest$ac_exeext conftest.$ac_ext
108411 fi
108412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108414 if test `eval echo '${'$as_ac_var'}'` = yes; then
108415   cat >>confdefs.h <<_ACEOF
108416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108417 _ACEOF
108418
108419 fi
108420 done
108421
108422   fi
108423
108424
108425
108426
108427
108428   echo "$as_me:$LINENO: checking for strtof declaration" >&5
108429 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108430   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108431     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108432   echo $ECHO_N "(cached) $ECHO_C" >&6
108433 else
108434
108435
108436
108437       ac_ext=cc
108438 ac_cpp='$CXXCPP $CPPFLAGS'
108439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108442
108443       cat >conftest.$ac_ext <<_ACEOF
108444 /* confdefs.h.  */
108445 _ACEOF
108446 cat confdefs.h >>conftest.$ac_ext
108447 cat >>conftest.$ac_ext <<_ACEOF
108448 /* end confdefs.h.  */
108449 #include <stdlib.h>
108450 int
108451 main ()
108452 {
108453  strtof(0, 0);
108454   ;
108455   return 0;
108456 }
108457 _ACEOF
108458 rm -f conftest.$ac_objext
108459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108460   (eval $ac_compile) 2>conftest.er1
108461   ac_status=$?
108462   grep -v '^ *+' conftest.er1 >conftest.err
108463   rm -f conftest.er1
108464   cat conftest.err >&5
108465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108466   (exit $ac_status); } &&
108467          { ac_try='test -z "$ac_cxx_werror_flag"
108468                          || test ! -s conftest.err'
108469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108470   (eval $ac_try) 2>&5
108471   ac_status=$?
108472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108473   (exit $ac_status); }; } &&
108474          { ac_try='test -s conftest.$ac_objext'
108475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108476   (eval $ac_try) 2>&5
108477   ac_status=$?
108478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108479   (exit $ac_status); }; }; then
108480   glibcxx_cv_func_strtof_use=yes
108481 else
108482   echo "$as_me: failed program was:" >&5
108483 sed 's/^/| /' conftest.$ac_ext >&5
108484
108485 glibcxx_cv_func_strtof_use=no
108486 fi
108487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108488       ac_ext=c
108489 ac_cpp='$CPP $CPPFLAGS'
108490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108493
108494
108495 fi
108496
108497   fi
108498   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108499 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108500   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108501
108502 for ac_func in strtof
108503 do
108504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108505 echo "$as_me:$LINENO: checking for $ac_func" >&5
108506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108507 if eval "test \"\${$as_ac_var+set}\" = set"; then
108508   echo $ECHO_N "(cached) $ECHO_C" >&6
108509 else
108510   if test x$gcc_no_link = xyes; then
108511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108513    { (exit 1); exit 1; }; }
108514 fi
108515 cat >conftest.$ac_ext <<_ACEOF
108516 /* confdefs.h.  */
108517 _ACEOF
108518 cat confdefs.h >>conftest.$ac_ext
108519 cat >>conftest.$ac_ext <<_ACEOF
108520 /* end confdefs.h.  */
108521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108523 #define $ac_func innocuous_$ac_func
108524
108525 /* System header to define __stub macros and hopefully few prototypes,
108526     which can conflict with char $ac_func (); below.
108527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108528     <limits.h> exists even on freestanding compilers.  */
108529
108530 #ifdef __STDC__
108531 # include <limits.h>
108532 #else
108533 # include <assert.h>
108534 #endif
108535
108536 #undef $ac_func
108537
108538 /* Override any gcc2 internal prototype to avoid an error.  */
108539 #ifdef __cplusplus
108540 extern "C"
108541 {
108542 #endif
108543 /* We use char because int might match the return type of a gcc2
108544    builtin and then its argument prototype would still apply.  */
108545 char $ac_func ();
108546 /* The GNU C library defines this for functions which it implements
108547     to always fail with ENOSYS.  Some functions are actually named
108548     something starting with __ and the normal name is an alias.  */
108549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108550 choke me
108551 #else
108552 char (*f) () = $ac_func;
108553 #endif
108554 #ifdef __cplusplus
108555 }
108556 #endif
108557
108558 int
108559 main ()
108560 {
108561 return f != $ac_func;
108562   ;
108563   return 0;
108564 }
108565 _ACEOF
108566 rm -f conftest.$ac_objext conftest$ac_exeext
108567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108568   (eval $ac_link) 2>conftest.er1
108569   ac_status=$?
108570   grep -v '^ *+' conftest.er1 >conftest.err
108571   rm -f conftest.er1
108572   cat conftest.err >&5
108573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108574   (exit $ac_status); } &&
108575          { ac_try='test -z "$ac_c_werror_flag"
108576                          || test ! -s conftest.err'
108577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108578   (eval $ac_try) 2>&5
108579   ac_status=$?
108580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108581   (exit $ac_status); }; } &&
108582          { ac_try='test -s conftest$ac_exeext'
108583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108584   (eval $ac_try) 2>&5
108585   ac_status=$?
108586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108587   (exit $ac_status); }; }; then
108588   eval "$as_ac_var=yes"
108589 else
108590   echo "$as_me: failed program was:" >&5
108591 sed 's/^/| /' conftest.$ac_ext >&5
108592
108593 eval "$as_ac_var=no"
108594 fi
108595 rm -f conftest.err conftest.$ac_objext \
108596       conftest$ac_exeext conftest.$ac_ext
108597 fi
108598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108600 if test `eval echo '${'$as_ac_var'}'` = yes; then
108601   cat >>confdefs.h <<_ACEOF
108602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108603 _ACEOF
108604
108605 fi
108606 done
108607
108608   fi
108609
108610
108611
108612
108613
108614   CXXFLAGS="$ac_save_CXXFLAGS"
108615
108616
108617     # For LFS.
108618
108619
108620
108621   ac_ext=cc
108622 ac_cpp='$CXXCPP $CPPFLAGS'
108623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108626
108627   ac_save_CXXFLAGS="$CXXFLAGS"
108628   CXXFLAGS="$CXXFLAGS -fno-exceptions"
108629   echo "$as_me:$LINENO: checking for LFS support" >&5
108630 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108631   if test "${glibcxx_cv_LFS+set}" = set; then
108632   echo $ECHO_N "(cached) $ECHO_C" >&6
108633 else
108634
108635     if test x$gcc_no_link = xyes; then
108636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108638    { (exit 1); exit 1; }; }
108639 fi
108640 cat >conftest.$ac_ext <<_ACEOF
108641 /* confdefs.h.  */
108642 _ACEOF
108643 cat confdefs.h >>conftest.$ac_ext
108644 cat >>conftest.$ac_ext <<_ACEOF
108645 /* end confdefs.h.  */
108646 #include <unistd.h>
108647        #include <stdio.h>
108648        #include <sys/stat.h>
108649
108650 int
108651 main ()
108652 {
108653 FILE* fp;
108654        fopen64("t", "w");
108655        fseeko64(fp, 0, SEEK_CUR);
108656        ftello64(fp);
108657        lseek64(1, 0, SEEK_CUR);
108658        struct stat64 buf;
108659        fstat64(1, &buf);
108660   ;
108661   return 0;
108662 }
108663 _ACEOF
108664 rm -f conftest.$ac_objext conftest$ac_exeext
108665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108666   (eval $ac_link) 2>conftest.er1
108667   ac_status=$?
108668   grep -v '^ *+' conftest.er1 >conftest.err
108669   rm -f conftest.er1
108670   cat conftest.err >&5
108671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108672   (exit $ac_status); } &&
108673          { ac_try='test -z "$ac_cxx_werror_flag"
108674                          || test ! -s conftest.err'
108675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108676   (eval $ac_try) 2>&5
108677   ac_status=$?
108678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108679   (exit $ac_status); }; } &&
108680          { ac_try='test -s conftest$ac_exeext'
108681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108682   (eval $ac_try) 2>&5
108683   ac_status=$?
108684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108685   (exit $ac_status); }; }; then
108686   glibcxx_cv_LFS=yes
108687 else
108688   echo "$as_me: failed program was:" >&5
108689 sed 's/^/| /' conftest.$ac_ext >&5
108690
108691 glibcxx_cv_LFS=no
108692 fi
108693 rm -f conftest.err conftest.$ac_objext \
108694       conftest$ac_exeext conftest.$ac_ext
108695
108696 fi
108697
108698   if test $glibcxx_cv_LFS = yes; then
108699
108700 cat >>confdefs.h <<\_ACEOF
108701 #define _GLIBCXX_USE_LFS 1
108702 _ACEOF
108703
108704   fi
108705   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108706 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108707   CXXFLAGS="$ac_save_CXXFLAGS"
108708   ac_ext=c
108709 ac_cpp='$CPP $CPPFLAGS'
108710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108713
108714
108715
108716     # For showmanyc_helper().
108717
108718
108719 for ac_header in sys/ioctl.h sys/filio.h
108720 do
108721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108723   echo "$as_me:$LINENO: checking for $ac_header" >&5
108724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108726   echo $ECHO_N "(cached) $ECHO_C" >&6
108727 fi
108728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108730 else
108731   # Is the header compilable?
108732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108734 cat >conftest.$ac_ext <<_ACEOF
108735 /* confdefs.h.  */
108736 _ACEOF
108737 cat confdefs.h >>conftest.$ac_ext
108738 cat >>conftest.$ac_ext <<_ACEOF
108739 /* end confdefs.h.  */
108740 $ac_includes_default
108741 #include <$ac_header>
108742 _ACEOF
108743 rm -f conftest.$ac_objext
108744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108745   (eval $ac_compile) 2>conftest.er1
108746   ac_status=$?
108747   grep -v '^ *+' conftest.er1 >conftest.err
108748   rm -f conftest.er1
108749   cat conftest.err >&5
108750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108751   (exit $ac_status); } &&
108752          { ac_try='test -z "$ac_c_werror_flag"
108753                          || test ! -s conftest.err'
108754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108755   (eval $ac_try) 2>&5
108756   ac_status=$?
108757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108758   (exit $ac_status); }; } &&
108759          { ac_try='test -s conftest.$ac_objext'
108760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108761   (eval $ac_try) 2>&5
108762   ac_status=$?
108763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108764   (exit $ac_status); }; }; then
108765   ac_header_compiler=yes
108766 else
108767   echo "$as_me: failed program was:" >&5
108768 sed 's/^/| /' conftest.$ac_ext >&5
108769
108770 ac_header_compiler=no
108771 fi
108772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108774 echo "${ECHO_T}$ac_header_compiler" >&6
108775
108776 # Is the header present?
108777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108779 cat >conftest.$ac_ext <<_ACEOF
108780 /* confdefs.h.  */
108781 _ACEOF
108782 cat confdefs.h >>conftest.$ac_ext
108783 cat >>conftest.$ac_ext <<_ACEOF
108784 /* end confdefs.h.  */
108785 #include <$ac_header>
108786 _ACEOF
108787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108788   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108789   ac_status=$?
108790   grep -v '^ *+' conftest.er1 >conftest.err
108791   rm -f conftest.er1
108792   cat conftest.err >&5
108793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108794   (exit $ac_status); } >/dev/null; then
108795   if test -s conftest.err; then
108796     ac_cpp_err=$ac_c_preproc_warn_flag
108797     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108798   else
108799     ac_cpp_err=
108800   fi
108801 else
108802   ac_cpp_err=yes
108803 fi
108804 if test -z "$ac_cpp_err"; then
108805   ac_header_preproc=yes
108806 else
108807   echo "$as_me: failed program was:" >&5
108808 sed 's/^/| /' conftest.$ac_ext >&5
108809
108810   ac_header_preproc=no
108811 fi
108812 rm -f conftest.err conftest.$ac_ext
108813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108814 echo "${ECHO_T}$ac_header_preproc" >&6
108815
108816 # So?  What about this header?
108817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108818   yes:no: )
108819     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108821     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108823     ac_header_preproc=yes
108824     ;;
108825   no:yes:* )
108826     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108828     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108829 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108830     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108832     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108833 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108834     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108836     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108838     (
108839       cat <<\_ASBOX
108840 ## ----------------------------------------- ##
108841 ## Report this to the package-unused lists.  ##
108842 ## ----------------------------------------- ##
108843 _ASBOX
108844     ) |
108845       sed "s/^/$as_me: WARNING:     /" >&2
108846     ;;
108847 esac
108848 echo "$as_me:$LINENO: checking for $ac_header" >&5
108849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108851   echo $ECHO_N "(cached) $ECHO_C" >&6
108852 else
108853   eval "$as_ac_Header=\$ac_header_preproc"
108854 fi
108855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108857
108858 fi
108859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108860   cat >>confdefs.h <<_ACEOF
108861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108862 _ACEOF
108863
108864 fi
108865
108866 done
108867
108868
108869   echo "$as_me:$LINENO: checking for poll" >&5
108870 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108871   if test "${glibcxx_cv_POLL+set}" = set; then
108872   echo $ECHO_N "(cached) $ECHO_C" >&6
108873 else
108874
108875     if test x$gcc_no_link = xyes; then
108876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108878    { (exit 1); exit 1; }; }
108879 fi
108880 cat >conftest.$ac_ext <<_ACEOF
108881 /* confdefs.h.  */
108882 _ACEOF
108883 cat confdefs.h >>conftest.$ac_ext
108884 cat >>conftest.$ac_ext <<_ACEOF
108885 /* end confdefs.h.  */
108886 #include <poll.h>
108887 int
108888 main ()
108889 {
108890 struct pollfd pfd[1];
108891        pfd[0].events = POLLIN;
108892        poll(pfd, 1, 0);
108893   ;
108894   return 0;
108895 }
108896 _ACEOF
108897 rm -f conftest.$ac_objext conftest$ac_exeext
108898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108899   (eval $ac_link) 2>conftest.er1
108900   ac_status=$?
108901   grep -v '^ *+' conftest.er1 >conftest.err
108902   rm -f conftest.er1
108903   cat conftest.err >&5
108904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108905   (exit $ac_status); } &&
108906          { ac_try='test -z "$ac_c_werror_flag"
108907                          || test ! -s conftest.err'
108908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108909   (eval $ac_try) 2>&5
108910   ac_status=$?
108911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108912   (exit $ac_status); }; } &&
108913          { ac_try='test -s conftest$ac_exeext'
108914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108915   (eval $ac_try) 2>&5
108916   ac_status=$?
108917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108918   (exit $ac_status); }; }; then
108919   glibcxx_cv_POLL=yes
108920 else
108921   echo "$as_me: failed program was:" >&5
108922 sed 's/^/| /' conftest.$ac_ext >&5
108923
108924 glibcxx_cv_POLL=no
108925 fi
108926 rm -f conftest.err conftest.$ac_objext \
108927       conftest$ac_exeext conftest.$ac_ext
108928
108929 fi
108930
108931   if test $glibcxx_cv_POLL = yes; then
108932
108933 cat >>confdefs.h <<\_ACEOF
108934 #define HAVE_POLL 1
108935 _ACEOF
108936
108937   fi
108938   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108939 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108940
108941
108942   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108943 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108944   if test "${glibcxx_cv_S_ISREG+set}" = set; then
108945   echo $ECHO_N "(cached) $ECHO_C" >&6
108946 else
108947
108948     if test x$gcc_no_link = xyes; then
108949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108951    { (exit 1); exit 1; }; }
108952 fi
108953 cat >conftest.$ac_ext <<_ACEOF
108954 /* confdefs.h.  */
108955 _ACEOF
108956 cat confdefs.h >>conftest.$ac_ext
108957 cat >>conftest.$ac_ext <<_ACEOF
108958 /* end confdefs.h.  */
108959 #include <sys/stat.h>
108960 int
108961 main ()
108962 {
108963 struct stat buffer;
108964        fstat(0, &buffer);
108965        S_ISREG(buffer.st_mode);
108966   ;
108967   return 0;
108968 }
108969 _ACEOF
108970 rm -f conftest.$ac_objext conftest$ac_exeext
108971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108972   (eval $ac_link) 2>conftest.er1
108973   ac_status=$?
108974   grep -v '^ *+' conftest.er1 >conftest.err
108975   rm -f conftest.er1
108976   cat conftest.err >&5
108977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108978   (exit $ac_status); } &&
108979          { ac_try='test -z "$ac_c_werror_flag"
108980                          || test ! -s conftest.err'
108981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108982   (eval $ac_try) 2>&5
108983   ac_status=$?
108984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108985   (exit $ac_status); }; } &&
108986          { ac_try='test -s conftest$ac_exeext'
108987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108988   (eval $ac_try) 2>&5
108989   ac_status=$?
108990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108991   (exit $ac_status); }; }; then
108992   glibcxx_cv_S_ISREG=yes
108993 else
108994   echo "$as_me: failed program was:" >&5
108995 sed 's/^/| /' conftest.$ac_ext >&5
108996
108997 glibcxx_cv_S_ISREG=no
108998 fi
108999 rm -f conftest.err conftest.$ac_objext \
109000       conftest$ac_exeext conftest.$ac_ext
109001
109002 fi
109003
109004   if test "${glibcxx_cv_S_IFREG+set}" = set; then
109005   echo $ECHO_N "(cached) $ECHO_C" >&6
109006 else
109007
109008     if test x$gcc_no_link = xyes; then
109009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109011    { (exit 1); exit 1; }; }
109012 fi
109013 cat >conftest.$ac_ext <<_ACEOF
109014 /* confdefs.h.  */
109015 _ACEOF
109016 cat confdefs.h >>conftest.$ac_ext
109017 cat >>conftest.$ac_ext <<_ACEOF
109018 /* end confdefs.h.  */
109019 #include <sys/stat.h>
109020 int
109021 main ()
109022 {
109023 struct stat buffer;
109024        fstat(0, &buffer);
109025        S_IFREG & buffer.st_mode;
109026   ;
109027   return 0;
109028 }
109029 _ACEOF
109030 rm -f conftest.$ac_objext conftest$ac_exeext
109031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109032   (eval $ac_link) 2>conftest.er1
109033   ac_status=$?
109034   grep -v '^ *+' conftest.er1 >conftest.err
109035   rm -f conftest.er1
109036   cat conftest.err >&5
109037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109038   (exit $ac_status); } &&
109039          { ac_try='test -z "$ac_c_werror_flag"
109040                          || test ! -s conftest.err'
109041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109042   (eval $ac_try) 2>&5
109043   ac_status=$?
109044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109045   (exit $ac_status); }; } &&
109046          { ac_try='test -s conftest$ac_exeext'
109047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109048   (eval $ac_try) 2>&5
109049   ac_status=$?
109050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109051   (exit $ac_status); }; }; then
109052   glibcxx_cv_S_IFREG=yes
109053 else
109054   echo "$as_me: failed program was:" >&5
109055 sed 's/^/| /' conftest.$ac_ext >&5
109056
109057 glibcxx_cv_S_IFREG=no
109058 fi
109059 rm -f conftest.err conftest.$ac_objext \
109060       conftest$ac_exeext conftest.$ac_ext
109061
109062 fi
109063
109064   res=no
109065   if test $glibcxx_cv_S_ISREG = yes; then
109066
109067 cat >>confdefs.h <<\_ACEOF
109068 #define HAVE_S_ISREG 1
109069 _ACEOF
109070
109071     res=S_ISREG
109072   elif test $glibcxx_cv_S_IFREG = yes; then
109073
109074 cat >>confdefs.h <<\_ACEOF
109075 #define HAVE_S_IFREG 1
109076 _ACEOF
109077
109078     res=S_IFREG
109079   fi
109080   echo "$as_me:$LINENO: result: $res" >&5
109081 echo "${ECHO_T}$res" >&6
109082
109083
109084     # For xsputn_2().
109085
109086 for ac_header in sys/uio.h
109087 do
109088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109090   echo "$as_me:$LINENO: checking for $ac_header" >&5
109091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109093   echo $ECHO_N "(cached) $ECHO_C" >&6
109094 fi
109095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109097 else
109098   # Is the header compilable?
109099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109101 cat >conftest.$ac_ext <<_ACEOF
109102 /* confdefs.h.  */
109103 _ACEOF
109104 cat confdefs.h >>conftest.$ac_ext
109105 cat >>conftest.$ac_ext <<_ACEOF
109106 /* end confdefs.h.  */
109107 $ac_includes_default
109108 #include <$ac_header>
109109 _ACEOF
109110 rm -f conftest.$ac_objext
109111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109112   (eval $ac_compile) 2>conftest.er1
109113   ac_status=$?
109114   grep -v '^ *+' conftest.er1 >conftest.err
109115   rm -f conftest.er1
109116   cat conftest.err >&5
109117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109118   (exit $ac_status); } &&
109119          { ac_try='test -z "$ac_c_werror_flag"
109120                          || test ! -s conftest.err'
109121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109122   (eval $ac_try) 2>&5
109123   ac_status=$?
109124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109125   (exit $ac_status); }; } &&
109126          { ac_try='test -s conftest.$ac_objext'
109127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109128   (eval $ac_try) 2>&5
109129   ac_status=$?
109130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109131   (exit $ac_status); }; }; then
109132   ac_header_compiler=yes
109133 else
109134   echo "$as_me: failed program was:" >&5
109135 sed 's/^/| /' conftest.$ac_ext >&5
109136
109137 ac_header_compiler=no
109138 fi
109139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109141 echo "${ECHO_T}$ac_header_compiler" >&6
109142
109143 # Is the header present?
109144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109146 cat >conftest.$ac_ext <<_ACEOF
109147 /* confdefs.h.  */
109148 _ACEOF
109149 cat confdefs.h >>conftest.$ac_ext
109150 cat >>conftest.$ac_ext <<_ACEOF
109151 /* end confdefs.h.  */
109152 #include <$ac_header>
109153 _ACEOF
109154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109155   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109156   ac_status=$?
109157   grep -v '^ *+' conftest.er1 >conftest.err
109158   rm -f conftest.er1
109159   cat conftest.err >&5
109160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109161   (exit $ac_status); } >/dev/null; then
109162   if test -s conftest.err; then
109163     ac_cpp_err=$ac_c_preproc_warn_flag
109164     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109165   else
109166     ac_cpp_err=
109167   fi
109168 else
109169   ac_cpp_err=yes
109170 fi
109171 if test -z "$ac_cpp_err"; then
109172   ac_header_preproc=yes
109173 else
109174   echo "$as_me: failed program was:" >&5
109175 sed 's/^/| /' conftest.$ac_ext >&5
109176
109177   ac_header_preproc=no
109178 fi
109179 rm -f conftest.err conftest.$ac_ext
109180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109181 echo "${ECHO_T}$ac_header_preproc" >&6
109182
109183 # So?  What about this header?
109184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109185   yes:no: )
109186     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109190     ac_header_preproc=yes
109191     ;;
109192   no:yes:* )
109193     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109195     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109196 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109197     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109199     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109200 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109201     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109203     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109205     (
109206       cat <<\_ASBOX
109207 ## ----------------------------------------- ##
109208 ## Report this to the package-unused lists.  ##
109209 ## ----------------------------------------- ##
109210 _ASBOX
109211     ) |
109212       sed "s/^/$as_me: WARNING:     /" >&2
109213     ;;
109214 esac
109215 echo "$as_me:$LINENO: checking for $ac_header" >&5
109216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109218   echo $ECHO_N "(cached) $ECHO_C" >&6
109219 else
109220   eval "$as_ac_Header=\$ac_header_preproc"
109221 fi
109222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109224
109225 fi
109226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109227   cat >>confdefs.h <<_ACEOF
109228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109229 _ACEOF
109230
109231 fi
109232
109233 done
109234
109235
109236   echo "$as_me:$LINENO: checking for writev" >&5
109237 echo $ECHO_N "checking for writev... $ECHO_C" >&6
109238   if test "${glibcxx_cv_WRITEV+set}" = set; then
109239   echo $ECHO_N "(cached) $ECHO_C" >&6
109240 else
109241
109242     if test x$gcc_no_link = xyes; then
109243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109245    { (exit 1); exit 1; }; }
109246 fi
109247 cat >conftest.$ac_ext <<_ACEOF
109248 /* confdefs.h.  */
109249 _ACEOF
109250 cat confdefs.h >>conftest.$ac_ext
109251 cat >>conftest.$ac_ext <<_ACEOF
109252 /* end confdefs.h.  */
109253 #include <sys/uio.h>
109254 int
109255 main ()
109256 {
109257 struct iovec iov[2];
109258        writev(0, iov, 0);
109259   ;
109260   return 0;
109261 }
109262 _ACEOF
109263 rm -f conftest.$ac_objext conftest$ac_exeext
109264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109265   (eval $ac_link) 2>conftest.er1
109266   ac_status=$?
109267   grep -v '^ *+' conftest.er1 >conftest.err
109268   rm -f conftest.er1
109269   cat conftest.err >&5
109270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109271   (exit $ac_status); } &&
109272          { ac_try='test -z "$ac_c_werror_flag"
109273                          || test ! -s conftest.err'
109274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109275   (eval $ac_try) 2>&5
109276   ac_status=$?
109277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109278   (exit $ac_status); }; } &&
109279          { ac_try='test -s conftest$ac_exeext'
109280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109281   (eval $ac_try) 2>&5
109282   ac_status=$?
109283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109284   (exit $ac_status); }; }; then
109285   glibcxx_cv_WRITEV=yes
109286 else
109287   echo "$as_me: failed program was:" >&5
109288 sed 's/^/| /' conftest.$ac_ext >&5
109289
109290 glibcxx_cv_WRITEV=no
109291 fi
109292 rm -f conftest.err conftest.$ac_objext \
109293       conftest$ac_exeext conftest.$ac_ext
109294
109295 fi
109296
109297   if test $glibcxx_cv_WRITEV = yes; then
109298
109299 cat >>confdefs.h <<\_ACEOF
109300 #define HAVE_WRITEV 1
109301 _ACEOF
109302
109303   fi
109304   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
109305 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
109306
109307
109308     cat >>confdefs.h <<\_ACEOF
109309 #define _GLIBCXX_USE_RANDOM_TR1 1
109310 _ACEOF
109311
109312
109313
109314   if test "${ac_cv_header_locale_h+set}" = set; then
109315   echo "$as_me:$LINENO: checking for locale.h" >&5
109316 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
109317 if test "${ac_cv_header_locale_h+set}" = set; then
109318   echo $ECHO_N "(cached) $ECHO_C" >&6
109319 fi
109320 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
109321 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
109322 else
109323   # Is the header compilable?
109324 echo "$as_me:$LINENO: checking locale.h usability" >&5
109325 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
109326 cat >conftest.$ac_ext <<_ACEOF
109327 /* confdefs.h.  */
109328 _ACEOF
109329 cat confdefs.h >>conftest.$ac_ext
109330 cat >>conftest.$ac_ext <<_ACEOF
109331 /* end confdefs.h.  */
109332 $ac_includes_default
109333 #include <locale.h>
109334 _ACEOF
109335 rm -f conftest.$ac_objext
109336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109337   (eval $ac_compile) 2>conftest.er1
109338   ac_status=$?
109339   grep -v '^ *+' conftest.er1 >conftest.err
109340   rm -f conftest.er1
109341   cat conftest.err >&5
109342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109343   (exit $ac_status); } &&
109344          { ac_try='test -z "$ac_c_werror_flag"
109345                          || test ! -s conftest.err'
109346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109347   (eval $ac_try) 2>&5
109348   ac_status=$?
109349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109350   (exit $ac_status); }; } &&
109351          { ac_try='test -s conftest.$ac_objext'
109352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109353   (eval $ac_try) 2>&5
109354   ac_status=$?
109355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109356   (exit $ac_status); }; }; then
109357   ac_header_compiler=yes
109358 else
109359   echo "$as_me: failed program was:" >&5
109360 sed 's/^/| /' conftest.$ac_ext >&5
109361
109362 ac_header_compiler=no
109363 fi
109364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109366 echo "${ECHO_T}$ac_header_compiler" >&6
109367
109368 # Is the header present?
109369 echo "$as_me:$LINENO: checking locale.h presence" >&5
109370 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
109371 cat >conftest.$ac_ext <<_ACEOF
109372 /* confdefs.h.  */
109373 _ACEOF
109374 cat confdefs.h >>conftest.$ac_ext
109375 cat >>conftest.$ac_ext <<_ACEOF
109376 /* end confdefs.h.  */
109377 #include <locale.h>
109378 _ACEOF
109379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109380   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109381   ac_status=$?
109382   grep -v '^ *+' conftest.er1 >conftest.err
109383   rm -f conftest.er1
109384   cat conftest.err >&5
109385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109386   (exit $ac_status); } >/dev/null; then
109387   if test -s conftest.err; then
109388     ac_cpp_err=$ac_c_preproc_warn_flag
109389     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109390   else
109391     ac_cpp_err=
109392   fi
109393 else
109394   ac_cpp_err=yes
109395 fi
109396 if test -z "$ac_cpp_err"; then
109397   ac_header_preproc=yes
109398 else
109399   echo "$as_me: failed program was:" >&5
109400 sed 's/^/| /' conftest.$ac_ext >&5
109401
109402   ac_header_preproc=no
109403 fi
109404 rm -f conftest.err conftest.$ac_ext
109405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109406 echo "${ECHO_T}$ac_header_preproc" >&6
109407
109408 # So?  What about this header?
109409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109410   yes:no: )
109411     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
109412 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
109413     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
109414 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
109415     ac_header_preproc=yes
109416     ;;
109417   no:yes:* )
109418     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
109419 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
109420     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
109421 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
109422     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
109423 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
109424     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
109425 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
109426     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
109427 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
109428     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
109429 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
109430     (
109431       cat <<\_ASBOX
109432 ## ----------------------------------------- ##
109433 ## Report this to the package-unused lists.  ##
109434 ## ----------------------------------------- ##
109435 _ASBOX
109436     ) |
109437       sed "s/^/$as_me: WARNING:     /" >&2
109438     ;;
109439 esac
109440 echo "$as_me:$LINENO: checking for locale.h" >&5
109441 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
109442 if test "${ac_cv_header_locale_h+set}" = set; then
109443   echo $ECHO_N "(cached) $ECHO_C" >&6
109444 else
109445   ac_cv_header_locale_h=$ac_header_preproc
109446 fi
109447 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
109448 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
109449
109450 fi
109451 if test $ac_cv_header_locale_h = yes; then
109452
109453     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
109454 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
109455 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
109456   echo $ECHO_N "(cached) $ECHO_C" >&6
109457 else
109458   if test x$gcc_no_link = xyes; then
109459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109461    { (exit 1); exit 1; }; }
109462 fi
109463 cat >conftest.$ac_ext <<_ACEOF
109464 /* confdefs.h.  */
109465 _ACEOF
109466 cat confdefs.h >>conftest.$ac_ext
109467 cat >>conftest.$ac_ext <<_ACEOF
109468 /* end confdefs.h.  */
109469 #include <locale.h>
109470 int
109471 main ()
109472 {
109473 return LC_MESSAGES
109474   ;
109475   return 0;
109476 }
109477 _ACEOF
109478 rm -f conftest.$ac_objext conftest$ac_exeext
109479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109480   (eval $ac_link) 2>conftest.er1
109481   ac_status=$?
109482   grep -v '^ *+' conftest.er1 >conftest.err
109483   rm -f conftest.er1
109484   cat conftest.err >&5
109485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109486   (exit $ac_status); } &&
109487          { ac_try='test -z "$ac_c_werror_flag"
109488                          || test ! -s conftest.err'
109489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109490   (eval $ac_try) 2>&5
109491   ac_status=$?
109492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109493   (exit $ac_status); }; } &&
109494          { ac_try='test -s conftest$ac_exeext'
109495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109496   (eval $ac_try) 2>&5
109497   ac_status=$?
109498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109499   (exit $ac_status); }; }; then
109500   ac_cv_val_LC_MESSAGES=yes
109501 else
109502   echo "$as_me: failed program was:" >&5
109503 sed 's/^/| /' conftest.$ac_ext >&5
109504
109505 ac_cv_val_LC_MESSAGES=no
109506 fi
109507 rm -f conftest.err conftest.$ac_objext \
109508       conftest$ac_exeext conftest.$ac_ext
109509 fi
109510 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
109511 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
109512     if test $ac_cv_val_LC_MESSAGES = yes; then
109513
109514 cat >>confdefs.h <<\_ACEOF
109515 #define HAVE_LC_MESSAGES 1
109516 _ACEOF
109517
109518     fi
109519
109520 fi
109521
109522
109523
109524
109525     # For iconv support.
109526
109527
109528
109529
109530
109531           am_save_CPPFLAGS="$CPPFLAGS"
109532
109533   for element in $INCICONV; do
109534     haveit=
109535     for x in $CPPFLAGS; do
109536
109537   acl_save_prefix="$prefix"
109538   prefix="$acl_final_prefix"
109539   acl_save_exec_prefix="$exec_prefix"
109540   exec_prefix="$acl_final_exec_prefix"
109541   eval x=\"$x\"
109542   exec_prefix="$acl_save_exec_prefix"
109543   prefix="$acl_save_prefix"
109544
109545       if test "X$x" = "X$element"; then
109546         haveit=yes
109547         break
109548       fi
109549     done
109550     if test -z "$haveit"; then
109551       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
109552     fi
109553   done
109554
109555
109556   echo "$as_me:$LINENO: checking for iconv" >&5
109557 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
109558 if test "${am_cv_func_iconv+set}" = set; then
109559   echo $ECHO_N "(cached) $ECHO_C" >&6
109560 else
109561
109562     am_cv_func_iconv="no, consider installing GNU libiconv"
109563     am_cv_lib_iconv=no
109564     if test x$gcc_no_link = xyes; then
109565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109567    { (exit 1); exit 1; }; }
109568 fi
109569 cat >conftest.$ac_ext <<_ACEOF
109570 /* confdefs.h.  */
109571 _ACEOF
109572 cat confdefs.h >>conftest.$ac_ext
109573 cat >>conftest.$ac_ext <<_ACEOF
109574 /* end confdefs.h.  */
109575 #include <stdlib.h>
109576 #include <iconv.h>
109577 int
109578 main ()
109579 {
109580 iconv_t cd = iconv_open("","");
109581        iconv(cd,NULL,NULL,NULL,NULL);
109582        iconv_close(cd);
109583   ;
109584   return 0;
109585 }
109586 _ACEOF
109587 rm -f conftest.$ac_objext conftest$ac_exeext
109588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109589   (eval $ac_link) 2>conftest.er1
109590   ac_status=$?
109591   grep -v '^ *+' conftest.er1 >conftest.err
109592   rm -f conftest.er1
109593   cat conftest.err >&5
109594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109595   (exit $ac_status); } &&
109596          { ac_try='test -z "$ac_c_werror_flag"
109597                          || test ! -s conftest.err'
109598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109599   (eval $ac_try) 2>&5
109600   ac_status=$?
109601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109602   (exit $ac_status); }; } &&
109603          { ac_try='test -s conftest$ac_exeext'
109604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109605   (eval $ac_try) 2>&5
109606   ac_status=$?
109607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109608   (exit $ac_status); }; }; then
109609   am_cv_func_iconv=yes
109610 else
109611   echo "$as_me: failed program was:" >&5
109612 sed 's/^/| /' conftest.$ac_ext >&5
109613
109614 fi
109615 rm -f conftest.err conftest.$ac_objext \
109616       conftest$ac_exeext conftest.$ac_ext
109617     if test "$am_cv_func_iconv" != yes; then
109618       am_save_LIBS="$LIBS"
109619       LIBS="$LIBS $LIBICONV"
109620       if test x$gcc_no_link = xyes; then
109621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109623    { (exit 1); exit 1; }; }
109624 fi
109625 cat >conftest.$ac_ext <<_ACEOF
109626 /* confdefs.h.  */
109627 _ACEOF
109628 cat confdefs.h >>conftest.$ac_ext
109629 cat >>conftest.$ac_ext <<_ACEOF
109630 /* end confdefs.h.  */
109631 #include <stdlib.h>
109632 #include <iconv.h>
109633 int
109634 main ()
109635 {
109636 iconv_t cd = iconv_open("","");
109637          iconv(cd,NULL,NULL,NULL,NULL);
109638          iconv_close(cd);
109639   ;
109640   return 0;
109641 }
109642 _ACEOF
109643 rm -f conftest.$ac_objext conftest$ac_exeext
109644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109645   (eval $ac_link) 2>conftest.er1
109646   ac_status=$?
109647   grep -v '^ *+' conftest.er1 >conftest.err
109648   rm -f conftest.er1
109649   cat conftest.err >&5
109650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109651   (exit $ac_status); } &&
109652          { ac_try='test -z "$ac_c_werror_flag"
109653                          || test ! -s conftest.err'
109654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109655   (eval $ac_try) 2>&5
109656   ac_status=$?
109657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109658   (exit $ac_status); }; } &&
109659          { ac_try='test -s conftest$ac_exeext'
109660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109661   (eval $ac_try) 2>&5
109662   ac_status=$?
109663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109664   (exit $ac_status); }; }; then
109665   am_cv_lib_iconv=yes
109666         am_cv_func_iconv=yes
109667 else
109668   echo "$as_me: failed program was:" >&5
109669 sed 's/^/| /' conftest.$ac_ext >&5
109670
109671 fi
109672 rm -f conftest.err conftest.$ac_objext \
109673       conftest$ac_exeext conftest.$ac_ext
109674       LIBS="$am_save_LIBS"
109675     fi
109676
109677 fi
109678 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
109679 echo "${ECHO_T}$am_cv_func_iconv" >&6
109680   if test "$am_cv_func_iconv" = yes; then
109681
109682 cat >>confdefs.h <<\_ACEOF
109683 #define HAVE_ICONV 1
109684 _ACEOF
109685
109686   fi
109687   if test "$am_cv_lib_iconv" = yes; then
109688     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
109689 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
109690     echo "$as_me:$LINENO: result: $LIBICONV" >&5
109691 echo "${ECHO_T}$LIBICONV" >&6
109692   else
109693             CPPFLAGS="$am_save_CPPFLAGS"
109694     LIBICONV=
109695     LTLIBICONV=
109696   fi
109697
109698
109699
109700   if test "$am_cv_func_iconv" = yes; then
109701     echo "$as_me:$LINENO: checking for iconv declaration" >&5
109702 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
109703     if test "${am_cv_proto_iconv+set}" = set; then
109704   echo $ECHO_N "(cached) $ECHO_C" >&6
109705 else
109706
109707       cat >conftest.$ac_ext <<_ACEOF
109708 /* confdefs.h.  */
109709 _ACEOF
109710 cat confdefs.h >>conftest.$ac_ext
109711 cat >>conftest.$ac_ext <<_ACEOF
109712 /* end confdefs.h.  */
109713
109714 #include <stdlib.h>
109715 #include <iconv.h>
109716 extern
109717 #ifdef __cplusplus
109718 "C"
109719 #endif
109720 #if defined(__STDC__) || defined(__cplusplus)
109721 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
109722 #else
109723 size_t iconv();
109724 #endif
109725
109726 int
109727 main ()
109728 {
109729
109730   ;
109731   return 0;
109732 }
109733 _ACEOF
109734 rm -f conftest.$ac_objext
109735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109736   (eval $ac_compile) 2>conftest.er1
109737   ac_status=$?
109738   grep -v '^ *+' conftest.er1 >conftest.err
109739   rm -f conftest.er1
109740   cat conftest.err >&5
109741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109742   (exit $ac_status); } &&
109743          { ac_try='test -z "$ac_c_werror_flag"
109744                          || test ! -s conftest.err'
109745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109746   (eval $ac_try) 2>&5
109747   ac_status=$?
109748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109749   (exit $ac_status); }; } &&
109750          { ac_try='test -s conftest.$ac_objext'
109751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109752   (eval $ac_try) 2>&5
109753   ac_status=$?
109754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109755   (exit $ac_status); }; }; then
109756   am_cv_proto_iconv_arg1=""
109757 else
109758   echo "$as_me: failed program was:" >&5
109759 sed 's/^/| /' conftest.$ac_ext >&5
109760
109761 am_cv_proto_iconv_arg1="const"
109762 fi
109763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109764       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);"
109765 fi
109766
109767     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
109768     echo "$as_me:$LINENO: result: ${ac_t:-
109769          }$am_cv_proto_iconv" >&5
109770 echo "${ECHO_T}${ac_t:-
109771          }$am_cv_proto_iconv" >&6
109772
109773 cat >>confdefs.h <<_ACEOF
109774 #define ICONV_CONST $am_cv_proto_iconv_arg1
109775 _ACEOF
109776
109777   fi
109778
109779     ;;
109780   *-mingw32*)
109781
109782
109783
109784 for ac_header in sys/types.h locale.h float.h
109785 do
109786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109788   echo "$as_me:$LINENO: checking for $ac_header" >&5
109789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109791   echo $ECHO_N "(cached) $ECHO_C" >&6
109792 fi
109793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109795 else
109796   # Is the header compilable?
109797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109799 cat >conftest.$ac_ext <<_ACEOF
109800 /* confdefs.h.  */
109801 _ACEOF
109802 cat confdefs.h >>conftest.$ac_ext
109803 cat >>conftest.$ac_ext <<_ACEOF
109804 /* end confdefs.h.  */
109805 $ac_includes_default
109806 #include <$ac_header>
109807 _ACEOF
109808 rm -f conftest.$ac_objext
109809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109810   (eval $ac_compile) 2>conftest.er1
109811   ac_status=$?
109812   grep -v '^ *+' conftest.er1 >conftest.err
109813   rm -f conftest.er1
109814   cat conftest.err >&5
109815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109816   (exit $ac_status); } &&
109817          { ac_try='test -z "$ac_c_werror_flag"
109818                          || test ! -s conftest.err'
109819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109820   (eval $ac_try) 2>&5
109821   ac_status=$?
109822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109823   (exit $ac_status); }; } &&
109824          { ac_try='test -s conftest.$ac_objext'
109825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109826   (eval $ac_try) 2>&5
109827   ac_status=$?
109828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109829   (exit $ac_status); }; }; then
109830   ac_header_compiler=yes
109831 else
109832   echo "$as_me: failed program was:" >&5
109833 sed 's/^/| /' conftest.$ac_ext >&5
109834
109835 ac_header_compiler=no
109836 fi
109837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109839 echo "${ECHO_T}$ac_header_compiler" >&6
109840
109841 # Is the header present?
109842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109844 cat >conftest.$ac_ext <<_ACEOF
109845 /* confdefs.h.  */
109846 _ACEOF
109847 cat confdefs.h >>conftest.$ac_ext
109848 cat >>conftest.$ac_ext <<_ACEOF
109849 /* end confdefs.h.  */
109850 #include <$ac_header>
109851 _ACEOF
109852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109853   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109854   ac_status=$?
109855   grep -v '^ *+' conftest.er1 >conftest.err
109856   rm -f conftest.er1
109857   cat conftest.err >&5
109858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109859   (exit $ac_status); } >/dev/null; then
109860   if test -s conftest.err; then
109861     ac_cpp_err=$ac_c_preproc_warn_flag
109862     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109863   else
109864     ac_cpp_err=
109865   fi
109866 else
109867   ac_cpp_err=yes
109868 fi
109869 if test -z "$ac_cpp_err"; then
109870   ac_header_preproc=yes
109871 else
109872   echo "$as_me: failed program was:" >&5
109873 sed 's/^/| /' conftest.$ac_ext >&5
109874
109875   ac_header_preproc=no
109876 fi
109877 rm -f conftest.err conftest.$ac_ext
109878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109879 echo "${ECHO_T}$ac_header_preproc" >&6
109880
109881 # So?  What about this header?
109882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109883   yes:no: )
109884     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109886     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109888     ac_header_preproc=yes
109889     ;;
109890   no:yes:* )
109891     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109893     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109894 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109895     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109897     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109898 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109899     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109901     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109903     (
109904       cat <<\_ASBOX
109905 ## ----------------------------------------- ##
109906 ## Report this to the package-unused lists.  ##
109907 ## ----------------------------------------- ##
109908 _ASBOX
109909     ) |
109910       sed "s/^/$as_me: WARNING:     /" >&2
109911     ;;
109912 esac
109913 echo "$as_me:$LINENO: checking for $ac_header" >&5
109914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109916   echo $ECHO_N "(cached) $ECHO_C" >&6
109917 else
109918   eval "$as_ac_Header=\$ac_header_preproc"
109919 fi
109920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109922
109923 fi
109924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109925   cat >>confdefs.h <<_ACEOF
109926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109927 _ACEOF
109928
109929 fi
109930
109931 done
109932
109933     cat >>confdefs.h <<\_ACEOF
109934 #define HAVE_STRTOF 1
109935 _ACEOF
109936
109937     cat >>confdefs.h <<\_ACEOF
109938 #define HAVE_STRTOLD 1
109939 _ACEOF
109940
109941
109942   # If we're not using GNU ld, then there's no point in even trying these
109943   # tests.  Check for that first.  We should have already tested for gld
109944   # by now (in libtool), but require it now just to be safe...
109945   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109946   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109947
109948
109949
109950   # The name set by libtool depends on the version of libtool.  Shame on us
109951   # for depending on an impl detail, but c'est la vie.  Older versions used
109952   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109953   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109954   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
109955   # set (hence we're using an older libtool), then set it.
109956   if test x${with_gnu_ld+set} != xset; then
109957     if test x${ac_cv_prog_gnu_ld+set} != xset; then
109958       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
109959       with_gnu_ld=no
109960     else
109961       with_gnu_ld=$ac_cv_prog_gnu_ld
109962     fi
109963   fi
109964
109965   # Start by getting the version number.  I think the libtool test already
109966   # does some of this, but throws away the result.
109967   glibcxx_ld_is_gold=no
109968   if test x"$with_gnu_ld" = x"yes"; then
109969     echo "$as_me:$LINENO: checking for ld version" >&5
109970 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109971
109972     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
109973       glibcxx_ld_is_gold=yes
109974     fi
109975     ldver=`$LD --version 2>/dev/null | head -1 | \
109976            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
109977
109978     glibcxx_gnu_ld_version=`echo $ldver | \
109979            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109980     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109981 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109982   fi
109983
109984   # Set --gc-sections.
109985   glibcxx_have_gc_sections=no
109986   if test "$glibcxx_ld_is_gold" = "yes"; then
109987     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
109988       glibcxx_have_gc_sections=yes
109989     fi
109990   else
109991     glibcxx_gcsections_min_ld=21602
109992     if test x"$with_gnu_ld" = x"yes" &&
109993         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109994       glibcxx_have_gc_sections=yes
109995     fi
109996   fi
109997   if test "$glibcxx_have_gc_sections" = "yes"; then
109998     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
109999     # NB: This flag only works reliably after 2.16.1. Configure tests
110000     # for this are difficult, so hard wire a value that should work.
110001
110002     ac_test_CFLAGS="${CFLAGS+set}"
110003     ac_save_CFLAGS="$CFLAGS"
110004     CFLAGS='-Wl,--gc-sections'
110005
110006     # Check for -Wl,--gc-sections
110007     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110008 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110009     if test x$gcc_no_link = xyes; then
110010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110012    { (exit 1); exit 1; }; }
110013 fi
110014 cat >conftest.$ac_ext <<_ACEOF
110015 /* confdefs.h.  */
110016 _ACEOF
110017 cat confdefs.h >>conftest.$ac_ext
110018 cat >>conftest.$ac_ext <<_ACEOF
110019 /* end confdefs.h.  */
110020  int one(void) { return 1; }
110021      int two(void) { return 2; }
110022
110023 int
110024 main ()
110025 {
110026  two();
110027   ;
110028   return 0;
110029 }
110030 _ACEOF
110031 rm -f conftest.$ac_objext conftest$ac_exeext
110032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110033   (eval $ac_link) 2>conftest.er1
110034   ac_status=$?
110035   grep -v '^ *+' conftest.er1 >conftest.err
110036   rm -f conftest.er1
110037   cat conftest.err >&5
110038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110039   (exit $ac_status); } &&
110040          { ac_try='test -z "$ac_c_werror_flag"
110041                          || test ! -s conftest.err'
110042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110043   (eval $ac_try) 2>&5
110044   ac_status=$?
110045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110046   (exit $ac_status); }; } &&
110047          { ac_try='test -s conftest$ac_exeext'
110048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110049   (eval $ac_try) 2>&5
110050   ac_status=$?
110051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110052   (exit $ac_status); }; }; then
110053   ac_gcsections=yes
110054 else
110055   echo "$as_me: failed program was:" >&5
110056 sed 's/^/| /' conftest.$ac_ext >&5
110057
110058 ac_gcsections=no
110059 fi
110060 rm -f conftest.err conftest.$ac_objext \
110061       conftest$ac_exeext conftest.$ac_ext
110062     if test "$ac_gcsections" = "yes"; then
110063       rm -f conftest.c
110064       touch conftest.c
110065       if $CC -c conftest.c; then
110066         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110067            grep "Warning: gc-sections option ignored" > /dev/null; then
110068           ac_gcsections=no
110069         fi
110070       fi
110071       rm -f conftest.c conftest.o conftest
110072     fi
110073     if test "$ac_gcsections" = "yes"; then
110074       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110075     fi
110076     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110077 echo "${ECHO_T}$ac_gcsections" >&6
110078
110079     if test "$ac_test_CFLAGS" = set; then
110080       CFLAGS="$ac_save_CFLAGS"
110081     else
110082       # this is the suspicious part
110083       CFLAGS=''
110084     fi
110085   fi
110086
110087   # Set -z,relro.
110088   # Note this is only for shared objects.
110089   ac_ld_relro=no
110090   if test x"$with_gnu_ld" = x"yes"; then
110091     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110092 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110093     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110094     if test -n "$cxx_z_relo"; then
110095       OPT_LDFLAGS="-Wl,-z,relro"
110096       ac_ld_relro=yes
110097     fi
110098     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110099 echo "${ECHO_T}$ac_ld_relro" >&6
110100   fi
110101
110102   # Set linker optimization flags.
110103   if test x"$with_gnu_ld" = x"yes"; then
110104     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110105   fi
110106
110107
110108
110109
110110
110111
110112 echo "$as_me:$LINENO: checking for main in -lm" >&5
110113 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110114 if test "${ac_cv_lib_m_main+set}" = set; then
110115   echo $ECHO_N "(cached) $ECHO_C" >&6
110116 else
110117   ac_check_lib_save_LIBS=$LIBS
110118 LIBS="-lm  $LIBS"
110119 if test x$gcc_no_link = xyes; then
110120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110122    { (exit 1); exit 1; }; }
110123 fi
110124 cat >conftest.$ac_ext <<_ACEOF
110125 /* confdefs.h.  */
110126 _ACEOF
110127 cat confdefs.h >>conftest.$ac_ext
110128 cat >>conftest.$ac_ext <<_ACEOF
110129 /* end confdefs.h.  */
110130
110131
110132 int
110133 main ()
110134 {
110135 main ();
110136   ;
110137   return 0;
110138 }
110139 _ACEOF
110140 rm -f conftest.$ac_objext conftest$ac_exeext
110141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110142   (eval $ac_link) 2>conftest.er1
110143   ac_status=$?
110144   grep -v '^ *+' conftest.er1 >conftest.err
110145   rm -f conftest.er1
110146   cat conftest.err >&5
110147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110148   (exit $ac_status); } &&
110149          { ac_try='test -z "$ac_c_werror_flag"
110150                          || test ! -s conftest.err'
110151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110152   (eval $ac_try) 2>&5
110153   ac_status=$?
110154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110155   (exit $ac_status); }; } &&
110156          { ac_try='test -s conftest$ac_exeext'
110157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110158   (eval $ac_try) 2>&5
110159   ac_status=$?
110160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110161   (exit $ac_status); }; }; then
110162   ac_cv_lib_m_main=yes
110163 else
110164   echo "$as_me: failed program was:" >&5
110165 sed 's/^/| /' conftest.$ac_ext >&5
110166
110167 ac_cv_lib_m_main=no
110168 fi
110169 rm -f conftest.err conftest.$ac_objext \
110170       conftest$ac_exeext conftest.$ac_ext
110171 LIBS=$ac_check_lib_save_LIBS
110172 fi
110173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110174 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110175 if test $ac_cv_lib_m_main = yes; then
110176   cat >>confdefs.h <<_ACEOF
110177 #define HAVE_LIBM 1
110178 _ACEOF
110179
110180   LIBS="-lm $LIBS"
110181
110182 fi
110183
110184
110185 for ac_func in copysignf
110186 do
110187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110188 echo "$as_me:$LINENO: checking for $ac_func" >&5
110189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110190 if eval "test \"\${$as_ac_var+set}\" = set"; then
110191   echo $ECHO_N "(cached) $ECHO_C" >&6
110192 else
110193   if test x$gcc_no_link = xyes; then
110194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110196    { (exit 1); exit 1; }; }
110197 fi
110198 cat >conftest.$ac_ext <<_ACEOF
110199 /* confdefs.h.  */
110200 _ACEOF
110201 cat confdefs.h >>conftest.$ac_ext
110202 cat >>conftest.$ac_ext <<_ACEOF
110203 /* end confdefs.h.  */
110204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110206 #define $ac_func innocuous_$ac_func
110207
110208 /* System header to define __stub macros and hopefully few prototypes,
110209     which can conflict with char $ac_func (); below.
110210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110211     <limits.h> exists even on freestanding compilers.  */
110212
110213 #ifdef __STDC__
110214 # include <limits.h>
110215 #else
110216 # include <assert.h>
110217 #endif
110218
110219 #undef $ac_func
110220
110221 /* Override any gcc2 internal prototype to avoid an error.  */
110222 #ifdef __cplusplus
110223 extern "C"
110224 {
110225 #endif
110226 /* We use char because int might match the return type of a gcc2
110227    builtin and then its argument prototype would still apply.  */
110228 char $ac_func ();
110229 /* The GNU C library defines this for functions which it implements
110230     to always fail with ENOSYS.  Some functions are actually named
110231     something starting with __ and the normal name is an alias.  */
110232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110233 choke me
110234 #else
110235 char (*f) () = $ac_func;
110236 #endif
110237 #ifdef __cplusplus
110238 }
110239 #endif
110240
110241 int
110242 main ()
110243 {
110244 return f != $ac_func;
110245   ;
110246   return 0;
110247 }
110248 _ACEOF
110249 rm -f conftest.$ac_objext conftest$ac_exeext
110250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110251   (eval $ac_link) 2>conftest.er1
110252   ac_status=$?
110253   grep -v '^ *+' conftest.er1 >conftest.err
110254   rm -f conftest.er1
110255   cat conftest.err >&5
110256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110257   (exit $ac_status); } &&
110258          { ac_try='test -z "$ac_c_werror_flag"
110259                          || test ! -s conftest.err'
110260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110261   (eval $ac_try) 2>&5
110262   ac_status=$?
110263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110264   (exit $ac_status); }; } &&
110265          { ac_try='test -s conftest$ac_exeext'
110266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110267   (eval $ac_try) 2>&5
110268   ac_status=$?
110269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110270   (exit $ac_status); }; }; then
110271   eval "$as_ac_var=yes"
110272 else
110273   echo "$as_me: failed program was:" >&5
110274 sed 's/^/| /' conftest.$ac_ext >&5
110275
110276 eval "$as_ac_var=no"
110277 fi
110278 rm -f conftest.err conftest.$ac_objext \
110279       conftest$ac_exeext conftest.$ac_ext
110280 fi
110281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110283 if test `eval echo '${'$as_ac_var'}'` = yes; then
110284   cat >>confdefs.h <<_ACEOF
110285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110286 _ACEOF
110287
110288 else
110289   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110290 fi
110291 done
110292
110293
110294
110295 for ac_func in __signbit
110296 do
110297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110298 echo "$as_me:$LINENO: checking for $ac_func" >&5
110299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110300 if eval "test \"\${$as_ac_var+set}\" = set"; then
110301   echo $ECHO_N "(cached) $ECHO_C" >&6
110302 else
110303   if test x$gcc_no_link = xyes; then
110304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110306    { (exit 1); exit 1; }; }
110307 fi
110308 cat >conftest.$ac_ext <<_ACEOF
110309 /* confdefs.h.  */
110310 _ACEOF
110311 cat confdefs.h >>conftest.$ac_ext
110312 cat >>conftest.$ac_ext <<_ACEOF
110313 /* end confdefs.h.  */
110314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110316 #define $ac_func innocuous_$ac_func
110317
110318 /* System header to define __stub macros and hopefully few prototypes,
110319     which can conflict with char $ac_func (); below.
110320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110321     <limits.h> exists even on freestanding compilers.  */
110322
110323 #ifdef __STDC__
110324 # include <limits.h>
110325 #else
110326 # include <assert.h>
110327 #endif
110328
110329 #undef $ac_func
110330
110331 /* Override any gcc2 internal prototype to avoid an error.  */
110332 #ifdef __cplusplus
110333 extern "C"
110334 {
110335 #endif
110336 /* We use char because int might match the return type of a gcc2
110337    builtin and then its argument prototype would still apply.  */
110338 char $ac_func ();
110339 /* The GNU C library defines this for functions which it implements
110340     to always fail with ENOSYS.  Some functions are actually named
110341     something starting with __ and the normal name is an alias.  */
110342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110343 choke me
110344 #else
110345 char (*f) () = $ac_func;
110346 #endif
110347 #ifdef __cplusplus
110348 }
110349 #endif
110350
110351 int
110352 main ()
110353 {
110354 return f != $ac_func;
110355   ;
110356   return 0;
110357 }
110358 _ACEOF
110359 rm -f conftest.$ac_objext conftest$ac_exeext
110360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110361   (eval $ac_link) 2>conftest.er1
110362   ac_status=$?
110363   grep -v '^ *+' conftest.er1 >conftest.err
110364   rm -f conftest.er1
110365   cat conftest.err >&5
110366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110367   (exit $ac_status); } &&
110368          { ac_try='test -z "$ac_c_werror_flag"
110369                          || test ! -s conftest.err'
110370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110371   (eval $ac_try) 2>&5
110372   ac_status=$?
110373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110374   (exit $ac_status); }; } &&
110375          { ac_try='test -s conftest$ac_exeext'
110376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110377   (eval $ac_try) 2>&5
110378   ac_status=$?
110379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110380   (exit $ac_status); }; }; then
110381   eval "$as_ac_var=yes"
110382 else
110383   echo "$as_me: failed program was:" >&5
110384 sed 's/^/| /' conftest.$ac_ext >&5
110385
110386 eval "$as_ac_var=no"
110387 fi
110388 rm -f conftest.err conftest.$ac_objext \
110389       conftest$ac_exeext conftest.$ac_ext
110390 fi
110391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110393 if test `eval echo '${'$as_ac_var'}'` = yes; then
110394   cat >>confdefs.h <<_ACEOF
110395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110396 _ACEOF
110397
110398 else
110399   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110400 fi
110401 done
110402
110403
110404
110405 for ac_func in __signbitf
110406 do
110407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110408 echo "$as_me:$LINENO: checking for $ac_func" >&5
110409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110410 if eval "test \"\${$as_ac_var+set}\" = set"; then
110411   echo $ECHO_N "(cached) $ECHO_C" >&6
110412 else
110413   if test x$gcc_no_link = xyes; then
110414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110416    { (exit 1); exit 1; }; }
110417 fi
110418 cat >conftest.$ac_ext <<_ACEOF
110419 /* confdefs.h.  */
110420 _ACEOF
110421 cat confdefs.h >>conftest.$ac_ext
110422 cat >>conftest.$ac_ext <<_ACEOF
110423 /* end confdefs.h.  */
110424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110426 #define $ac_func innocuous_$ac_func
110427
110428 /* System header to define __stub macros and hopefully few prototypes,
110429     which can conflict with char $ac_func (); below.
110430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110431     <limits.h> exists even on freestanding compilers.  */
110432
110433 #ifdef __STDC__
110434 # include <limits.h>
110435 #else
110436 # include <assert.h>
110437 #endif
110438
110439 #undef $ac_func
110440
110441 /* Override any gcc2 internal prototype to avoid an error.  */
110442 #ifdef __cplusplus
110443 extern "C"
110444 {
110445 #endif
110446 /* We use char because int might match the return type of a gcc2
110447    builtin and then its argument prototype would still apply.  */
110448 char $ac_func ();
110449 /* The GNU C library defines this for functions which it implements
110450     to always fail with ENOSYS.  Some functions are actually named
110451     something starting with __ and the normal name is an alias.  */
110452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110453 choke me
110454 #else
110455 char (*f) () = $ac_func;
110456 #endif
110457 #ifdef __cplusplus
110458 }
110459 #endif
110460
110461 int
110462 main ()
110463 {
110464 return f != $ac_func;
110465   ;
110466   return 0;
110467 }
110468 _ACEOF
110469 rm -f conftest.$ac_objext conftest$ac_exeext
110470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110471   (eval $ac_link) 2>conftest.er1
110472   ac_status=$?
110473   grep -v '^ *+' conftest.er1 >conftest.err
110474   rm -f conftest.er1
110475   cat conftest.err >&5
110476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110477   (exit $ac_status); } &&
110478          { ac_try='test -z "$ac_c_werror_flag"
110479                          || test ! -s conftest.err'
110480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110481   (eval $ac_try) 2>&5
110482   ac_status=$?
110483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110484   (exit $ac_status); }; } &&
110485          { ac_try='test -s conftest$ac_exeext'
110486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110487   (eval $ac_try) 2>&5
110488   ac_status=$?
110489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110490   (exit $ac_status); }; }; then
110491   eval "$as_ac_var=yes"
110492 else
110493   echo "$as_me: failed program was:" >&5
110494 sed 's/^/| /' conftest.$ac_ext >&5
110495
110496 eval "$as_ac_var=no"
110497 fi
110498 rm -f conftest.err conftest.$ac_objext \
110499       conftest$ac_exeext conftest.$ac_ext
110500 fi
110501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110503 if test `eval echo '${'$as_ac_var'}'` = yes; then
110504   cat >>confdefs.h <<_ACEOF
110505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110506 _ACEOF
110507
110508 else
110509   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110510 fi
110511 done
110512
110513
110514           if test x$ac_cv_func_copysignl = x"yes"; then
110515
110516 for ac_func in __signbitl
110517 do
110518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110519 echo "$as_me:$LINENO: checking for $ac_func" >&5
110520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110521 if eval "test \"\${$as_ac_var+set}\" = set"; then
110522   echo $ECHO_N "(cached) $ECHO_C" >&6
110523 else
110524   if test x$gcc_no_link = xyes; then
110525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110527    { (exit 1); exit 1; }; }
110528 fi
110529 cat >conftest.$ac_ext <<_ACEOF
110530 /* confdefs.h.  */
110531 _ACEOF
110532 cat confdefs.h >>conftest.$ac_ext
110533 cat >>conftest.$ac_ext <<_ACEOF
110534 /* end confdefs.h.  */
110535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110537 #define $ac_func innocuous_$ac_func
110538
110539 /* System header to define __stub macros and hopefully few prototypes,
110540     which can conflict with char $ac_func (); below.
110541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110542     <limits.h> exists even on freestanding compilers.  */
110543
110544 #ifdef __STDC__
110545 # include <limits.h>
110546 #else
110547 # include <assert.h>
110548 #endif
110549
110550 #undef $ac_func
110551
110552 /* Override any gcc2 internal prototype to avoid an error.  */
110553 #ifdef __cplusplus
110554 extern "C"
110555 {
110556 #endif
110557 /* We use char because int might match the return type of a gcc2
110558    builtin and then its argument prototype would still apply.  */
110559 char $ac_func ();
110560 /* The GNU C library defines this for functions which it implements
110561     to always fail with ENOSYS.  Some functions are actually named
110562     something starting with __ and the normal name is an alias.  */
110563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110564 choke me
110565 #else
110566 char (*f) () = $ac_func;
110567 #endif
110568 #ifdef __cplusplus
110569 }
110570 #endif
110571
110572 int
110573 main ()
110574 {
110575 return f != $ac_func;
110576   ;
110577   return 0;
110578 }
110579 _ACEOF
110580 rm -f conftest.$ac_objext conftest$ac_exeext
110581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110582   (eval $ac_link) 2>conftest.er1
110583   ac_status=$?
110584   grep -v '^ *+' conftest.er1 >conftest.err
110585   rm -f conftest.er1
110586   cat conftest.err >&5
110587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110588   (exit $ac_status); } &&
110589          { ac_try='test -z "$ac_c_werror_flag"
110590                          || test ! -s conftest.err'
110591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110592   (eval $ac_try) 2>&5
110593   ac_status=$?
110594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110595   (exit $ac_status); }; } &&
110596          { ac_try='test -s conftest$ac_exeext'
110597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110598   (eval $ac_try) 2>&5
110599   ac_status=$?
110600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110601   (exit $ac_status); }; }; then
110602   eval "$as_ac_var=yes"
110603 else
110604   echo "$as_me: failed program was:" >&5
110605 sed 's/^/| /' conftest.$ac_ext >&5
110606
110607 eval "$as_ac_var=no"
110608 fi
110609 rm -f conftest.err conftest.$ac_objext \
110610       conftest$ac_exeext conftest.$ac_ext
110611 fi
110612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110614 if test `eval echo '${'$as_ac_var'}'` = yes; then
110615   cat >>confdefs.h <<_ACEOF
110616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110617 _ACEOF
110618
110619 else
110620   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110621 fi
110622 done
110623
110624   fi
110625
110626   # Used in libmath/Makefile.am.
110627   if test -n "$LIBMATHOBJS"; then
110628     need_libmath=yes
110629   fi
110630
110631
110632     ;;
110633   *-netbsd*)
110634
110635
110636
110637
110638
110639
110640
110641
110642
110643
110644
110645
110646 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110647       machine/endian.h machine/param.h sys/machine.h sys/types.h \
110648       fp.h locale.h float.h inttypes.h
110649 do
110650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110652   echo "$as_me:$LINENO: checking for $ac_header" >&5
110653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110655   echo $ECHO_N "(cached) $ECHO_C" >&6
110656 fi
110657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110659 else
110660   # Is the header compilable?
110661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110663 cat >conftest.$ac_ext <<_ACEOF
110664 /* confdefs.h.  */
110665 _ACEOF
110666 cat confdefs.h >>conftest.$ac_ext
110667 cat >>conftest.$ac_ext <<_ACEOF
110668 /* end confdefs.h.  */
110669 $ac_includes_default
110670 #include <$ac_header>
110671 _ACEOF
110672 rm -f conftest.$ac_objext
110673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110674   (eval $ac_compile) 2>conftest.er1
110675   ac_status=$?
110676   grep -v '^ *+' conftest.er1 >conftest.err
110677   rm -f conftest.er1
110678   cat conftest.err >&5
110679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110680   (exit $ac_status); } &&
110681          { ac_try='test -z "$ac_c_werror_flag"
110682                          || test ! -s conftest.err'
110683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110684   (eval $ac_try) 2>&5
110685   ac_status=$?
110686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110687   (exit $ac_status); }; } &&
110688          { ac_try='test -s conftest.$ac_objext'
110689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110690   (eval $ac_try) 2>&5
110691   ac_status=$?
110692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110693   (exit $ac_status); }; }; then
110694   ac_header_compiler=yes
110695 else
110696   echo "$as_me: failed program was:" >&5
110697 sed 's/^/| /' conftest.$ac_ext >&5
110698
110699 ac_header_compiler=no
110700 fi
110701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110703 echo "${ECHO_T}$ac_header_compiler" >&6
110704
110705 # Is the header present?
110706 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110708 cat >conftest.$ac_ext <<_ACEOF
110709 /* confdefs.h.  */
110710 _ACEOF
110711 cat confdefs.h >>conftest.$ac_ext
110712 cat >>conftest.$ac_ext <<_ACEOF
110713 /* end confdefs.h.  */
110714 #include <$ac_header>
110715 _ACEOF
110716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110717   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110718   ac_status=$?
110719   grep -v '^ *+' conftest.er1 >conftest.err
110720   rm -f conftest.er1
110721   cat conftest.err >&5
110722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110723   (exit $ac_status); } >/dev/null; then
110724   if test -s conftest.err; then
110725     ac_cpp_err=$ac_c_preproc_warn_flag
110726     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110727   else
110728     ac_cpp_err=
110729   fi
110730 else
110731   ac_cpp_err=yes
110732 fi
110733 if test -z "$ac_cpp_err"; then
110734   ac_header_preproc=yes
110735 else
110736   echo "$as_me: failed program was:" >&5
110737 sed 's/^/| /' conftest.$ac_ext >&5
110738
110739   ac_header_preproc=no
110740 fi
110741 rm -f conftest.err conftest.$ac_ext
110742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110743 echo "${ECHO_T}$ac_header_preproc" >&6
110744
110745 # So?  What about this header?
110746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110747   yes:no: )
110748     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110750     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110751 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110752     ac_header_preproc=yes
110753     ;;
110754   no:yes:* )
110755     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110757     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110758 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110759     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110760 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110761     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110762 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110763     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110765     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110767     (
110768       cat <<\_ASBOX
110769 ## ----------------------------------------- ##
110770 ## Report this to the package-unused lists.  ##
110771 ## ----------------------------------------- ##
110772 _ASBOX
110773     ) |
110774       sed "s/^/$as_me: WARNING:     /" >&2
110775     ;;
110776 esac
110777 echo "$as_me:$LINENO: checking for $ac_header" >&5
110778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110780   echo $ECHO_N "(cached) $ECHO_C" >&6
110781 else
110782   eval "$as_ac_Header=\$ac_header_preproc"
110783 fi
110784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110786
110787 fi
110788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110789   cat >>confdefs.h <<_ACEOF
110790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110791 _ACEOF
110792
110793 fi
110794
110795 done
110796
110797     SECTION_FLAGS='-ffunction-sections -fdata-sections'
110798
110799
110800   # If we're not using GNU ld, then there's no point in even trying these
110801   # tests.  Check for that first.  We should have already tested for gld
110802   # by now (in libtool), but require it now just to be safe...
110803   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110804   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110805
110806
110807
110808   # The name set by libtool depends on the version of libtool.  Shame on us
110809   # for depending on an impl detail, but c'est la vie.  Older versions used
110810   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110811   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110812   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110813   # set (hence we're using an older libtool), then set it.
110814   if test x${with_gnu_ld+set} != xset; then
110815     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110816       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110817       with_gnu_ld=no
110818     else
110819       with_gnu_ld=$ac_cv_prog_gnu_ld
110820     fi
110821   fi
110822
110823   # Start by getting the version number.  I think the libtool test already
110824   # does some of this, but throws away the result.
110825   glibcxx_ld_is_gold=no
110826   if test x"$with_gnu_ld" = x"yes"; then
110827     echo "$as_me:$LINENO: checking for ld version" >&5
110828 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110829
110830     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110831       glibcxx_ld_is_gold=yes
110832     fi
110833     ldver=`$LD --version 2>/dev/null | head -1 | \
110834            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110835
110836     glibcxx_gnu_ld_version=`echo $ldver | \
110837            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110838     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110839 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110840   fi
110841
110842   # Set --gc-sections.
110843   glibcxx_have_gc_sections=no
110844   if test "$glibcxx_ld_is_gold" = "yes"; then
110845     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110846       glibcxx_have_gc_sections=yes
110847     fi
110848   else
110849     glibcxx_gcsections_min_ld=21602
110850     if test x"$with_gnu_ld" = x"yes" &&
110851         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110852       glibcxx_have_gc_sections=yes
110853     fi
110854   fi
110855   if test "$glibcxx_have_gc_sections" = "yes"; then
110856     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110857     # NB: This flag only works reliably after 2.16.1. Configure tests
110858     # for this are difficult, so hard wire a value that should work.
110859
110860     ac_test_CFLAGS="${CFLAGS+set}"
110861     ac_save_CFLAGS="$CFLAGS"
110862     CFLAGS='-Wl,--gc-sections'
110863
110864     # Check for -Wl,--gc-sections
110865     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110866 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110867     if test x$gcc_no_link = xyes; then
110868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110870    { (exit 1); exit 1; }; }
110871 fi
110872 cat >conftest.$ac_ext <<_ACEOF
110873 /* confdefs.h.  */
110874 _ACEOF
110875 cat confdefs.h >>conftest.$ac_ext
110876 cat >>conftest.$ac_ext <<_ACEOF
110877 /* end confdefs.h.  */
110878  int one(void) { return 1; }
110879      int two(void) { return 2; }
110880
110881 int
110882 main ()
110883 {
110884  two();
110885   ;
110886   return 0;
110887 }
110888 _ACEOF
110889 rm -f conftest.$ac_objext conftest$ac_exeext
110890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110891   (eval $ac_link) 2>conftest.er1
110892   ac_status=$?
110893   grep -v '^ *+' conftest.er1 >conftest.err
110894   rm -f conftest.er1
110895   cat conftest.err >&5
110896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110897   (exit $ac_status); } &&
110898          { ac_try='test -z "$ac_c_werror_flag"
110899                          || test ! -s conftest.err'
110900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110901   (eval $ac_try) 2>&5
110902   ac_status=$?
110903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110904   (exit $ac_status); }; } &&
110905          { ac_try='test -s conftest$ac_exeext'
110906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110907   (eval $ac_try) 2>&5
110908   ac_status=$?
110909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110910   (exit $ac_status); }; }; then
110911   ac_gcsections=yes
110912 else
110913   echo "$as_me: failed program was:" >&5
110914 sed 's/^/| /' conftest.$ac_ext >&5
110915
110916 ac_gcsections=no
110917 fi
110918 rm -f conftest.err conftest.$ac_objext \
110919       conftest$ac_exeext conftest.$ac_ext
110920     if test "$ac_gcsections" = "yes"; then
110921       rm -f conftest.c
110922       touch conftest.c
110923       if $CC -c conftest.c; then
110924         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110925            grep "Warning: gc-sections option ignored" > /dev/null; then
110926           ac_gcsections=no
110927         fi
110928       fi
110929       rm -f conftest.c conftest.o conftest
110930     fi
110931     if test "$ac_gcsections" = "yes"; then
110932       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110933     fi
110934     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110935 echo "${ECHO_T}$ac_gcsections" >&6
110936
110937     if test "$ac_test_CFLAGS" = set; then
110938       CFLAGS="$ac_save_CFLAGS"
110939     else
110940       # this is the suspicious part
110941       CFLAGS=''
110942     fi
110943   fi
110944
110945   # Set -z,relro.
110946   # Note this is only for shared objects.
110947   ac_ld_relro=no
110948   if test x"$with_gnu_ld" = x"yes"; then
110949     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110950 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110951     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110952     if test -n "$cxx_z_relo"; then
110953       OPT_LDFLAGS="-Wl,-z,relro"
110954       ac_ld_relro=yes
110955     fi
110956     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110957 echo "${ECHO_T}$ac_ld_relro" >&6
110958   fi
110959
110960   # Set linker optimization flags.
110961   if test x"$with_gnu_ld" = x"yes"; then
110962     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110963   fi
110964
110965
110966
110967
110968
110969
110970 echo "$as_me:$LINENO: checking for main in -lm" >&5
110971 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110972 if test "${ac_cv_lib_m_main+set}" = set; then
110973   echo $ECHO_N "(cached) $ECHO_C" >&6
110974 else
110975   ac_check_lib_save_LIBS=$LIBS
110976 LIBS="-lm  $LIBS"
110977 if test x$gcc_no_link = xyes; then
110978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110980    { (exit 1); exit 1; }; }
110981 fi
110982 cat >conftest.$ac_ext <<_ACEOF
110983 /* confdefs.h.  */
110984 _ACEOF
110985 cat confdefs.h >>conftest.$ac_ext
110986 cat >>conftest.$ac_ext <<_ACEOF
110987 /* end confdefs.h.  */
110988
110989
110990 int
110991 main ()
110992 {
110993 main ();
110994   ;
110995   return 0;
110996 }
110997 _ACEOF
110998 rm -f conftest.$ac_objext conftest$ac_exeext
110999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111000   (eval $ac_link) 2>conftest.er1
111001   ac_status=$?
111002   grep -v '^ *+' conftest.er1 >conftest.err
111003   rm -f conftest.er1
111004   cat conftest.err >&5
111005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111006   (exit $ac_status); } &&
111007          { ac_try='test -z "$ac_c_werror_flag"
111008                          || test ! -s conftest.err'
111009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111010   (eval $ac_try) 2>&5
111011   ac_status=$?
111012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111013   (exit $ac_status); }; } &&
111014          { ac_try='test -s conftest$ac_exeext'
111015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111016   (eval $ac_try) 2>&5
111017   ac_status=$?
111018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111019   (exit $ac_status); }; }; then
111020   ac_cv_lib_m_main=yes
111021 else
111022   echo "$as_me: failed program was:" >&5
111023 sed 's/^/| /' conftest.$ac_ext >&5
111024
111025 ac_cv_lib_m_main=no
111026 fi
111027 rm -f conftest.err conftest.$ac_objext \
111028       conftest$ac_exeext conftest.$ac_ext
111029 LIBS=$ac_check_lib_save_LIBS
111030 fi
111031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111032 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111033 if test $ac_cv_lib_m_main = yes; then
111034   cat >>confdefs.h <<_ACEOF
111035 #define HAVE_LIBM 1
111036 _ACEOF
111037
111038   LIBS="-lm $LIBS"
111039
111040 fi
111041
111042
111043 for ac_func in copysignf
111044 do
111045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111046 echo "$as_me:$LINENO: checking for $ac_func" >&5
111047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111048 if eval "test \"\${$as_ac_var+set}\" = set"; then
111049   echo $ECHO_N "(cached) $ECHO_C" >&6
111050 else
111051   if test x$gcc_no_link = xyes; then
111052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111054    { (exit 1); exit 1; }; }
111055 fi
111056 cat >conftest.$ac_ext <<_ACEOF
111057 /* confdefs.h.  */
111058 _ACEOF
111059 cat confdefs.h >>conftest.$ac_ext
111060 cat >>conftest.$ac_ext <<_ACEOF
111061 /* end confdefs.h.  */
111062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111064 #define $ac_func innocuous_$ac_func
111065
111066 /* System header to define __stub macros and hopefully few prototypes,
111067     which can conflict with char $ac_func (); below.
111068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111069     <limits.h> exists even on freestanding compilers.  */
111070
111071 #ifdef __STDC__
111072 # include <limits.h>
111073 #else
111074 # include <assert.h>
111075 #endif
111076
111077 #undef $ac_func
111078
111079 /* Override any gcc2 internal prototype to avoid an error.  */
111080 #ifdef __cplusplus
111081 extern "C"
111082 {
111083 #endif
111084 /* We use char because int might match the return type of a gcc2
111085    builtin and then its argument prototype would still apply.  */
111086 char $ac_func ();
111087 /* The GNU C library defines this for functions which it implements
111088     to always fail with ENOSYS.  Some functions are actually named
111089     something starting with __ and the normal name is an alias.  */
111090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111091 choke me
111092 #else
111093 char (*f) () = $ac_func;
111094 #endif
111095 #ifdef __cplusplus
111096 }
111097 #endif
111098
111099 int
111100 main ()
111101 {
111102 return f != $ac_func;
111103   ;
111104   return 0;
111105 }
111106 _ACEOF
111107 rm -f conftest.$ac_objext conftest$ac_exeext
111108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111109   (eval $ac_link) 2>conftest.er1
111110   ac_status=$?
111111   grep -v '^ *+' conftest.er1 >conftest.err
111112   rm -f conftest.er1
111113   cat conftest.err >&5
111114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111115   (exit $ac_status); } &&
111116          { ac_try='test -z "$ac_c_werror_flag"
111117                          || test ! -s conftest.err'
111118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111119   (eval $ac_try) 2>&5
111120   ac_status=$?
111121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111122   (exit $ac_status); }; } &&
111123          { ac_try='test -s conftest$ac_exeext'
111124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111125   (eval $ac_try) 2>&5
111126   ac_status=$?
111127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111128   (exit $ac_status); }; }; then
111129   eval "$as_ac_var=yes"
111130 else
111131   echo "$as_me: failed program was:" >&5
111132 sed 's/^/| /' conftest.$ac_ext >&5
111133
111134 eval "$as_ac_var=no"
111135 fi
111136 rm -f conftest.err conftest.$ac_objext \
111137       conftest$ac_exeext conftest.$ac_ext
111138 fi
111139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111141 if test `eval echo '${'$as_ac_var'}'` = yes; then
111142   cat >>confdefs.h <<_ACEOF
111143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111144 _ACEOF
111145
111146 else
111147   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111148 fi
111149 done
111150
111151
111152
111153 for ac_func in __signbit
111154 do
111155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111156 echo "$as_me:$LINENO: checking for $ac_func" >&5
111157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111158 if eval "test \"\${$as_ac_var+set}\" = set"; then
111159   echo $ECHO_N "(cached) $ECHO_C" >&6
111160 else
111161   if test x$gcc_no_link = xyes; then
111162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111164    { (exit 1); exit 1; }; }
111165 fi
111166 cat >conftest.$ac_ext <<_ACEOF
111167 /* confdefs.h.  */
111168 _ACEOF
111169 cat confdefs.h >>conftest.$ac_ext
111170 cat >>conftest.$ac_ext <<_ACEOF
111171 /* end confdefs.h.  */
111172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111174 #define $ac_func innocuous_$ac_func
111175
111176 /* System header to define __stub macros and hopefully few prototypes,
111177     which can conflict with char $ac_func (); below.
111178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111179     <limits.h> exists even on freestanding compilers.  */
111180
111181 #ifdef __STDC__
111182 # include <limits.h>
111183 #else
111184 # include <assert.h>
111185 #endif
111186
111187 #undef $ac_func
111188
111189 /* Override any gcc2 internal prototype to avoid an error.  */
111190 #ifdef __cplusplus
111191 extern "C"
111192 {
111193 #endif
111194 /* We use char because int might match the return type of a gcc2
111195    builtin and then its argument prototype would still apply.  */
111196 char $ac_func ();
111197 /* The GNU C library defines this for functions which it implements
111198     to always fail with ENOSYS.  Some functions are actually named
111199     something starting with __ and the normal name is an alias.  */
111200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111201 choke me
111202 #else
111203 char (*f) () = $ac_func;
111204 #endif
111205 #ifdef __cplusplus
111206 }
111207 #endif
111208
111209 int
111210 main ()
111211 {
111212 return f != $ac_func;
111213   ;
111214   return 0;
111215 }
111216 _ACEOF
111217 rm -f conftest.$ac_objext conftest$ac_exeext
111218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111219   (eval $ac_link) 2>conftest.er1
111220   ac_status=$?
111221   grep -v '^ *+' conftest.er1 >conftest.err
111222   rm -f conftest.er1
111223   cat conftest.err >&5
111224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111225   (exit $ac_status); } &&
111226          { ac_try='test -z "$ac_c_werror_flag"
111227                          || test ! -s conftest.err'
111228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111229   (eval $ac_try) 2>&5
111230   ac_status=$?
111231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111232   (exit $ac_status); }; } &&
111233          { ac_try='test -s conftest$ac_exeext'
111234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111235   (eval $ac_try) 2>&5
111236   ac_status=$?
111237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111238   (exit $ac_status); }; }; then
111239   eval "$as_ac_var=yes"
111240 else
111241   echo "$as_me: failed program was:" >&5
111242 sed 's/^/| /' conftest.$ac_ext >&5
111243
111244 eval "$as_ac_var=no"
111245 fi
111246 rm -f conftest.err conftest.$ac_objext \
111247       conftest$ac_exeext conftest.$ac_ext
111248 fi
111249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111251 if test `eval echo '${'$as_ac_var'}'` = yes; then
111252   cat >>confdefs.h <<_ACEOF
111253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111254 _ACEOF
111255
111256 else
111257   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111258 fi
111259 done
111260
111261
111262
111263 for ac_func in __signbitf
111264 do
111265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111266 echo "$as_me:$LINENO: checking for $ac_func" >&5
111267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111268 if eval "test \"\${$as_ac_var+set}\" = set"; then
111269   echo $ECHO_N "(cached) $ECHO_C" >&6
111270 else
111271   if test x$gcc_no_link = xyes; then
111272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111274    { (exit 1); exit 1; }; }
111275 fi
111276 cat >conftest.$ac_ext <<_ACEOF
111277 /* confdefs.h.  */
111278 _ACEOF
111279 cat confdefs.h >>conftest.$ac_ext
111280 cat >>conftest.$ac_ext <<_ACEOF
111281 /* end confdefs.h.  */
111282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111284 #define $ac_func innocuous_$ac_func
111285
111286 /* System header to define __stub macros and hopefully few prototypes,
111287     which can conflict with char $ac_func (); below.
111288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111289     <limits.h> exists even on freestanding compilers.  */
111290
111291 #ifdef __STDC__
111292 # include <limits.h>
111293 #else
111294 # include <assert.h>
111295 #endif
111296
111297 #undef $ac_func
111298
111299 /* Override any gcc2 internal prototype to avoid an error.  */
111300 #ifdef __cplusplus
111301 extern "C"
111302 {
111303 #endif
111304 /* We use char because int might match the return type of a gcc2
111305    builtin and then its argument prototype would still apply.  */
111306 char $ac_func ();
111307 /* The GNU C library defines this for functions which it implements
111308     to always fail with ENOSYS.  Some functions are actually named
111309     something starting with __ and the normal name is an alias.  */
111310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111311 choke me
111312 #else
111313 char (*f) () = $ac_func;
111314 #endif
111315 #ifdef __cplusplus
111316 }
111317 #endif
111318
111319 int
111320 main ()
111321 {
111322 return f != $ac_func;
111323   ;
111324   return 0;
111325 }
111326 _ACEOF
111327 rm -f conftest.$ac_objext conftest$ac_exeext
111328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111329   (eval $ac_link) 2>conftest.er1
111330   ac_status=$?
111331   grep -v '^ *+' conftest.er1 >conftest.err
111332   rm -f conftest.er1
111333   cat conftest.err >&5
111334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111335   (exit $ac_status); } &&
111336          { ac_try='test -z "$ac_c_werror_flag"
111337                          || test ! -s conftest.err'
111338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111339   (eval $ac_try) 2>&5
111340   ac_status=$?
111341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111342   (exit $ac_status); }; } &&
111343          { ac_try='test -s conftest$ac_exeext'
111344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111345   (eval $ac_try) 2>&5
111346   ac_status=$?
111347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111348   (exit $ac_status); }; }; then
111349   eval "$as_ac_var=yes"
111350 else
111351   echo "$as_me: failed program was:" >&5
111352 sed 's/^/| /' conftest.$ac_ext >&5
111353
111354 eval "$as_ac_var=no"
111355 fi
111356 rm -f conftest.err conftest.$ac_objext \
111357       conftest$ac_exeext conftest.$ac_ext
111358 fi
111359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111361 if test `eval echo '${'$as_ac_var'}'` = yes; then
111362   cat >>confdefs.h <<_ACEOF
111363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111364 _ACEOF
111365
111366 else
111367   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111368 fi
111369 done
111370
111371
111372           if test x$ac_cv_func_copysignl = x"yes"; then
111373
111374 for ac_func in __signbitl
111375 do
111376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111377 echo "$as_me:$LINENO: checking for $ac_func" >&5
111378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111379 if eval "test \"\${$as_ac_var+set}\" = set"; then
111380   echo $ECHO_N "(cached) $ECHO_C" >&6
111381 else
111382   if test x$gcc_no_link = xyes; then
111383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111385    { (exit 1); exit 1; }; }
111386 fi
111387 cat >conftest.$ac_ext <<_ACEOF
111388 /* confdefs.h.  */
111389 _ACEOF
111390 cat confdefs.h >>conftest.$ac_ext
111391 cat >>conftest.$ac_ext <<_ACEOF
111392 /* end confdefs.h.  */
111393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111395 #define $ac_func innocuous_$ac_func
111396
111397 /* System header to define __stub macros and hopefully few prototypes,
111398     which can conflict with char $ac_func (); below.
111399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111400     <limits.h> exists even on freestanding compilers.  */
111401
111402 #ifdef __STDC__
111403 # include <limits.h>
111404 #else
111405 # include <assert.h>
111406 #endif
111407
111408 #undef $ac_func
111409
111410 /* Override any gcc2 internal prototype to avoid an error.  */
111411 #ifdef __cplusplus
111412 extern "C"
111413 {
111414 #endif
111415 /* We use char because int might match the return type of a gcc2
111416    builtin and then its argument prototype would still apply.  */
111417 char $ac_func ();
111418 /* The GNU C library defines this for functions which it implements
111419     to always fail with ENOSYS.  Some functions are actually named
111420     something starting with __ and the normal name is an alias.  */
111421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111422 choke me
111423 #else
111424 char (*f) () = $ac_func;
111425 #endif
111426 #ifdef __cplusplus
111427 }
111428 #endif
111429
111430 int
111431 main ()
111432 {
111433 return f != $ac_func;
111434   ;
111435   return 0;
111436 }
111437 _ACEOF
111438 rm -f conftest.$ac_objext conftest$ac_exeext
111439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111440   (eval $ac_link) 2>conftest.er1
111441   ac_status=$?
111442   grep -v '^ *+' conftest.er1 >conftest.err
111443   rm -f conftest.er1
111444   cat conftest.err >&5
111445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111446   (exit $ac_status); } &&
111447          { ac_try='test -z "$ac_c_werror_flag"
111448                          || test ! -s conftest.err'
111449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111450   (eval $ac_try) 2>&5
111451   ac_status=$?
111452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111453   (exit $ac_status); }; } &&
111454          { ac_try='test -s conftest$ac_exeext'
111455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111456   (eval $ac_try) 2>&5
111457   ac_status=$?
111458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111459   (exit $ac_status); }; }; then
111460   eval "$as_ac_var=yes"
111461 else
111462   echo "$as_me: failed program was:" >&5
111463 sed 's/^/| /' conftest.$ac_ext >&5
111464
111465 eval "$as_ac_var=no"
111466 fi
111467 rm -f conftest.err conftest.$ac_objext \
111468       conftest$ac_exeext conftest.$ac_ext
111469 fi
111470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111472 if test `eval echo '${'$as_ac_var'}'` = yes; then
111473   cat >>confdefs.h <<_ACEOF
111474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111475 _ACEOF
111476
111477 else
111478   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111479 fi
111480 done
111481
111482   fi
111483
111484   # Used in libmath/Makefile.am.
111485   if test -n "$LIBMATHOBJS"; then
111486     need_libmath=yes
111487   fi
111488
111489
111490     cat >>confdefs.h <<\_ACEOF
111491 #define HAVE_COPYSIGN 1
111492 _ACEOF
111493
111494     cat >>confdefs.h <<\_ACEOF
111495 #define HAVE_COPYSIGNF 1
111496 _ACEOF
111497
111498     cat >>confdefs.h <<\_ACEOF
111499 #define HAVE_FINITEF 1
111500 _ACEOF
111501
111502     cat >>confdefs.h <<\_ACEOF
111503 #define HAVE_FINITE 1
111504 _ACEOF
111505
111506     cat >>confdefs.h <<\_ACEOF
111507 #define HAVE_FREXPF 1
111508 _ACEOF
111509
111510     cat >>confdefs.h <<\_ACEOF
111511 #define HAVE_HYPOTF 1
111512 _ACEOF
111513
111514     cat >>confdefs.h <<\_ACEOF
111515 #define HAVE_ISINF 1
111516 _ACEOF
111517
111518     cat >>confdefs.h <<\_ACEOF
111519 #define HAVE_ISINFF 1
111520 _ACEOF
111521
111522     cat >>confdefs.h <<\_ACEOF
111523 #define HAVE_ISNAN 1
111524 _ACEOF
111525
111526     cat >>confdefs.h <<\_ACEOF
111527 #define HAVE_ISNANF 1
111528 _ACEOF
111529
111530     if test x"long_double_math_on_this_cpu" = x"yes"; then
111531       cat >>confdefs.h <<\_ACEOF
111532 #define HAVE_FINITEL 1
111533 _ACEOF
111534
111535       cat >>confdefs.h <<\_ACEOF
111536 #define HAVE_ISINFL 1
111537 _ACEOF
111538
111539       cat >>confdefs.h <<\_ACEOF
111540 #define HAVE_ISNANL 1
111541 _ACEOF
111542
111543     fi
111544     ;;
111545   *-netware)
111546
111547
111548
111549
111550
111551
111552
111553
111554 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111555       sys/types.h locale.h float.h inttypes.h
111556 do
111557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111559   echo "$as_me:$LINENO: checking for $ac_header" >&5
111560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111562   echo $ECHO_N "(cached) $ECHO_C" >&6
111563 fi
111564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111566 else
111567   # Is the header compilable?
111568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111570 cat >conftest.$ac_ext <<_ACEOF
111571 /* confdefs.h.  */
111572 _ACEOF
111573 cat confdefs.h >>conftest.$ac_ext
111574 cat >>conftest.$ac_ext <<_ACEOF
111575 /* end confdefs.h.  */
111576 $ac_includes_default
111577 #include <$ac_header>
111578 _ACEOF
111579 rm -f conftest.$ac_objext
111580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111581   (eval $ac_compile) 2>conftest.er1
111582   ac_status=$?
111583   grep -v '^ *+' conftest.er1 >conftest.err
111584   rm -f conftest.er1
111585   cat conftest.err >&5
111586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111587   (exit $ac_status); } &&
111588          { ac_try='test -z "$ac_c_werror_flag"
111589                          || test ! -s conftest.err'
111590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111591   (eval $ac_try) 2>&5
111592   ac_status=$?
111593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111594   (exit $ac_status); }; } &&
111595          { ac_try='test -s conftest.$ac_objext'
111596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111597   (eval $ac_try) 2>&5
111598   ac_status=$?
111599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111600   (exit $ac_status); }; }; then
111601   ac_header_compiler=yes
111602 else
111603   echo "$as_me: failed program was:" >&5
111604 sed 's/^/| /' conftest.$ac_ext >&5
111605
111606 ac_header_compiler=no
111607 fi
111608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111610 echo "${ECHO_T}$ac_header_compiler" >&6
111611
111612 # Is the header present?
111613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111615 cat >conftest.$ac_ext <<_ACEOF
111616 /* confdefs.h.  */
111617 _ACEOF
111618 cat confdefs.h >>conftest.$ac_ext
111619 cat >>conftest.$ac_ext <<_ACEOF
111620 /* end confdefs.h.  */
111621 #include <$ac_header>
111622 _ACEOF
111623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111624   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111625   ac_status=$?
111626   grep -v '^ *+' conftest.er1 >conftest.err
111627   rm -f conftest.er1
111628   cat conftest.err >&5
111629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111630   (exit $ac_status); } >/dev/null; then
111631   if test -s conftest.err; then
111632     ac_cpp_err=$ac_c_preproc_warn_flag
111633     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111634   else
111635     ac_cpp_err=
111636   fi
111637 else
111638   ac_cpp_err=yes
111639 fi
111640 if test -z "$ac_cpp_err"; then
111641   ac_header_preproc=yes
111642 else
111643   echo "$as_me: failed program was:" >&5
111644 sed 's/^/| /' conftest.$ac_ext >&5
111645
111646   ac_header_preproc=no
111647 fi
111648 rm -f conftest.err conftest.$ac_ext
111649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111650 echo "${ECHO_T}$ac_header_preproc" >&6
111651
111652 # So?  What about this header?
111653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111654   yes:no: )
111655     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111657     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111659     ac_header_preproc=yes
111660     ;;
111661   no:yes:* )
111662     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111664     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111665 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111666     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111668     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111669 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111672     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111674     (
111675       cat <<\_ASBOX
111676 ## ----------------------------------------- ##
111677 ## Report this to the package-unused lists.  ##
111678 ## ----------------------------------------- ##
111679 _ASBOX
111680     ) |
111681       sed "s/^/$as_me: WARNING:     /" >&2
111682     ;;
111683 esac
111684 echo "$as_me:$LINENO: checking for $ac_header" >&5
111685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111687   echo $ECHO_N "(cached) $ECHO_C" >&6
111688 else
111689   eval "$as_ac_Header=\$ac_header_preproc"
111690 fi
111691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111693
111694 fi
111695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111696   cat >>confdefs.h <<_ACEOF
111697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111698 _ACEOF
111699
111700 fi
111701
111702 done
111703
111704     SECTION_FLAGS='-ffunction-sections -fdata-sections'
111705
111706
111707   # If we're not using GNU ld, then there's no point in even trying these
111708   # tests.  Check for that first.  We should have already tested for gld
111709   # by now (in libtool), but require it now just to be safe...
111710   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111711   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111712
111713
111714
111715   # The name set by libtool depends on the version of libtool.  Shame on us
111716   # for depending on an impl detail, but c'est la vie.  Older versions used
111717   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111718   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111719   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111720   # set (hence we're using an older libtool), then set it.
111721   if test x${with_gnu_ld+set} != xset; then
111722     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111723       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111724       with_gnu_ld=no
111725     else
111726       with_gnu_ld=$ac_cv_prog_gnu_ld
111727     fi
111728   fi
111729
111730   # Start by getting the version number.  I think the libtool test already
111731   # does some of this, but throws away the result.
111732   glibcxx_ld_is_gold=no
111733   if test x"$with_gnu_ld" = x"yes"; then
111734     echo "$as_me:$LINENO: checking for ld version" >&5
111735 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111736
111737     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111738       glibcxx_ld_is_gold=yes
111739     fi
111740     ldver=`$LD --version 2>/dev/null | head -1 | \
111741            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111742
111743     glibcxx_gnu_ld_version=`echo $ldver | \
111744            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111745     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111746 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111747   fi
111748
111749   # Set --gc-sections.
111750   glibcxx_have_gc_sections=no
111751   if test "$glibcxx_ld_is_gold" = "yes"; then
111752     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111753       glibcxx_have_gc_sections=yes
111754     fi
111755   else
111756     glibcxx_gcsections_min_ld=21602
111757     if test x"$with_gnu_ld" = x"yes" &&
111758         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111759       glibcxx_have_gc_sections=yes
111760     fi
111761   fi
111762   if test "$glibcxx_have_gc_sections" = "yes"; then
111763     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111764     # NB: This flag only works reliably after 2.16.1. Configure tests
111765     # for this are difficult, so hard wire a value that should work.
111766
111767     ac_test_CFLAGS="${CFLAGS+set}"
111768     ac_save_CFLAGS="$CFLAGS"
111769     CFLAGS='-Wl,--gc-sections'
111770
111771     # Check for -Wl,--gc-sections
111772     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111773 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111774     if test x$gcc_no_link = xyes; then
111775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111777    { (exit 1); exit 1; }; }
111778 fi
111779 cat >conftest.$ac_ext <<_ACEOF
111780 /* confdefs.h.  */
111781 _ACEOF
111782 cat confdefs.h >>conftest.$ac_ext
111783 cat >>conftest.$ac_ext <<_ACEOF
111784 /* end confdefs.h.  */
111785  int one(void) { return 1; }
111786      int two(void) { return 2; }
111787
111788 int
111789 main ()
111790 {
111791  two();
111792   ;
111793   return 0;
111794 }
111795 _ACEOF
111796 rm -f conftest.$ac_objext conftest$ac_exeext
111797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111798   (eval $ac_link) 2>conftest.er1
111799   ac_status=$?
111800   grep -v '^ *+' conftest.er1 >conftest.err
111801   rm -f conftest.er1
111802   cat conftest.err >&5
111803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111804   (exit $ac_status); } &&
111805          { ac_try='test -z "$ac_c_werror_flag"
111806                          || test ! -s conftest.err'
111807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111808   (eval $ac_try) 2>&5
111809   ac_status=$?
111810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111811   (exit $ac_status); }; } &&
111812          { ac_try='test -s conftest$ac_exeext'
111813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111814   (eval $ac_try) 2>&5
111815   ac_status=$?
111816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111817   (exit $ac_status); }; }; then
111818   ac_gcsections=yes
111819 else
111820   echo "$as_me: failed program was:" >&5
111821 sed 's/^/| /' conftest.$ac_ext >&5
111822
111823 ac_gcsections=no
111824 fi
111825 rm -f conftest.err conftest.$ac_objext \
111826       conftest$ac_exeext conftest.$ac_ext
111827     if test "$ac_gcsections" = "yes"; then
111828       rm -f conftest.c
111829       touch conftest.c
111830       if $CC -c conftest.c; then
111831         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111832            grep "Warning: gc-sections option ignored" > /dev/null; then
111833           ac_gcsections=no
111834         fi
111835       fi
111836       rm -f conftest.c conftest.o conftest
111837     fi
111838     if test "$ac_gcsections" = "yes"; then
111839       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111840     fi
111841     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111842 echo "${ECHO_T}$ac_gcsections" >&6
111843
111844     if test "$ac_test_CFLAGS" = set; then
111845       CFLAGS="$ac_save_CFLAGS"
111846     else
111847       # this is the suspicious part
111848       CFLAGS=''
111849     fi
111850   fi
111851
111852   # Set -z,relro.
111853   # Note this is only for shared objects.
111854   ac_ld_relro=no
111855   if test x"$with_gnu_ld" = x"yes"; then
111856     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111857 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111858     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111859     if test -n "$cxx_z_relo"; then
111860       OPT_LDFLAGS="-Wl,-z,relro"
111861       ac_ld_relro=yes
111862     fi
111863     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111864 echo "${ECHO_T}$ac_ld_relro" >&6
111865   fi
111866
111867   # Set linker optimization flags.
111868   if test x"$with_gnu_ld" = x"yes"; then
111869     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111870   fi
111871
111872
111873
111874
111875
111876
111877 echo "$as_me:$LINENO: checking for main in -lm" >&5
111878 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111879 if test "${ac_cv_lib_m_main+set}" = set; then
111880   echo $ECHO_N "(cached) $ECHO_C" >&6
111881 else
111882   ac_check_lib_save_LIBS=$LIBS
111883 LIBS="-lm  $LIBS"
111884 if test x$gcc_no_link = xyes; then
111885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111887    { (exit 1); exit 1; }; }
111888 fi
111889 cat >conftest.$ac_ext <<_ACEOF
111890 /* confdefs.h.  */
111891 _ACEOF
111892 cat confdefs.h >>conftest.$ac_ext
111893 cat >>conftest.$ac_ext <<_ACEOF
111894 /* end confdefs.h.  */
111895
111896
111897 int
111898 main ()
111899 {
111900 main ();
111901   ;
111902   return 0;
111903 }
111904 _ACEOF
111905 rm -f conftest.$ac_objext conftest$ac_exeext
111906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111907   (eval $ac_link) 2>conftest.er1
111908   ac_status=$?
111909   grep -v '^ *+' conftest.er1 >conftest.err
111910   rm -f conftest.er1
111911   cat conftest.err >&5
111912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111913   (exit $ac_status); } &&
111914          { ac_try='test -z "$ac_c_werror_flag"
111915                          || test ! -s conftest.err'
111916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111917   (eval $ac_try) 2>&5
111918   ac_status=$?
111919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111920   (exit $ac_status); }; } &&
111921          { ac_try='test -s conftest$ac_exeext'
111922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111923   (eval $ac_try) 2>&5
111924   ac_status=$?
111925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111926   (exit $ac_status); }; }; then
111927   ac_cv_lib_m_main=yes
111928 else
111929   echo "$as_me: failed program was:" >&5
111930 sed 's/^/| /' conftest.$ac_ext >&5
111931
111932 ac_cv_lib_m_main=no
111933 fi
111934 rm -f conftest.err conftest.$ac_objext \
111935       conftest$ac_exeext conftest.$ac_ext
111936 LIBS=$ac_check_lib_save_LIBS
111937 fi
111938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111939 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111940 if test $ac_cv_lib_m_main = yes; then
111941   cat >>confdefs.h <<_ACEOF
111942 #define HAVE_LIBM 1
111943 _ACEOF
111944
111945   LIBS="-lm $LIBS"
111946
111947 fi
111948
111949
111950 for ac_func in copysignf
111951 do
111952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111953 echo "$as_me:$LINENO: checking for $ac_func" >&5
111954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111955 if eval "test \"\${$as_ac_var+set}\" = set"; then
111956   echo $ECHO_N "(cached) $ECHO_C" >&6
111957 else
111958   if test x$gcc_no_link = xyes; then
111959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111961    { (exit 1); exit 1; }; }
111962 fi
111963 cat >conftest.$ac_ext <<_ACEOF
111964 /* confdefs.h.  */
111965 _ACEOF
111966 cat confdefs.h >>conftest.$ac_ext
111967 cat >>conftest.$ac_ext <<_ACEOF
111968 /* end confdefs.h.  */
111969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111971 #define $ac_func innocuous_$ac_func
111972
111973 /* System header to define __stub macros and hopefully few prototypes,
111974     which can conflict with char $ac_func (); below.
111975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111976     <limits.h> exists even on freestanding compilers.  */
111977
111978 #ifdef __STDC__
111979 # include <limits.h>
111980 #else
111981 # include <assert.h>
111982 #endif
111983
111984 #undef $ac_func
111985
111986 /* Override any gcc2 internal prototype to avoid an error.  */
111987 #ifdef __cplusplus
111988 extern "C"
111989 {
111990 #endif
111991 /* We use char because int might match the return type of a gcc2
111992    builtin and then its argument prototype would still apply.  */
111993 char $ac_func ();
111994 /* The GNU C library defines this for functions which it implements
111995     to always fail with ENOSYS.  Some functions are actually named
111996     something starting with __ and the normal name is an alias.  */
111997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111998 choke me
111999 #else
112000 char (*f) () = $ac_func;
112001 #endif
112002 #ifdef __cplusplus
112003 }
112004 #endif
112005
112006 int
112007 main ()
112008 {
112009 return f != $ac_func;
112010   ;
112011   return 0;
112012 }
112013 _ACEOF
112014 rm -f conftest.$ac_objext conftest$ac_exeext
112015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112016   (eval $ac_link) 2>conftest.er1
112017   ac_status=$?
112018   grep -v '^ *+' conftest.er1 >conftest.err
112019   rm -f conftest.er1
112020   cat conftest.err >&5
112021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112022   (exit $ac_status); } &&
112023          { ac_try='test -z "$ac_c_werror_flag"
112024                          || test ! -s conftest.err'
112025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112026   (eval $ac_try) 2>&5
112027   ac_status=$?
112028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112029   (exit $ac_status); }; } &&
112030          { ac_try='test -s conftest$ac_exeext'
112031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112032   (eval $ac_try) 2>&5
112033   ac_status=$?
112034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112035   (exit $ac_status); }; }; then
112036   eval "$as_ac_var=yes"
112037 else
112038   echo "$as_me: failed program was:" >&5
112039 sed 's/^/| /' conftest.$ac_ext >&5
112040
112041 eval "$as_ac_var=no"
112042 fi
112043 rm -f conftest.err conftest.$ac_objext \
112044       conftest$ac_exeext conftest.$ac_ext
112045 fi
112046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112048 if test `eval echo '${'$as_ac_var'}'` = yes; then
112049   cat >>confdefs.h <<_ACEOF
112050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112051 _ACEOF
112052
112053 else
112054   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112055 fi
112056 done
112057
112058
112059
112060 for ac_func in __signbit
112061 do
112062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112063 echo "$as_me:$LINENO: checking for $ac_func" >&5
112064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112065 if eval "test \"\${$as_ac_var+set}\" = set"; then
112066   echo $ECHO_N "(cached) $ECHO_C" >&6
112067 else
112068   if test x$gcc_no_link = xyes; then
112069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112071    { (exit 1); exit 1; }; }
112072 fi
112073 cat >conftest.$ac_ext <<_ACEOF
112074 /* confdefs.h.  */
112075 _ACEOF
112076 cat confdefs.h >>conftest.$ac_ext
112077 cat >>conftest.$ac_ext <<_ACEOF
112078 /* end confdefs.h.  */
112079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112081 #define $ac_func innocuous_$ac_func
112082
112083 /* System header to define __stub macros and hopefully few prototypes,
112084     which can conflict with char $ac_func (); below.
112085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112086     <limits.h> exists even on freestanding compilers.  */
112087
112088 #ifdef __STDC__
112089 # include <limits.h>
112090 #else
112091 # include <assert.h>
112092 #endif
112093
112094 #undef $ac_func
112095
112096 /* Override any gcc2 internal prototype to avoid an error.  */
112097 #ifdef __cplusplus
112098 extern "C"
112099 {
112100 #endif
112101 /* We use char because int might match the return type of a gcc2
112102    builtin and then its argument prototype would still apply.  */
112103 char $ac_func ();
112104 /* The GNU C library defines this for functions which it implements
112105     to always fail with ENOSYS.  Some functions are actually named
112106     something starting with __ and the normal name is an alias.  */
112107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112108 choke me
112109 #else
112110 char (*f) () = $ac_func;
112111 #endif
112112 #ifdef __cplusplus
112113 }
112114 #endif
112115
112116 int
112117 main ()
112118 {
112119 return f != $ac_func;
112120   ;
112121   return 0;
112122 }
112123 _ACEOF
112124 rm -f conftest.$ac_objext conftest$ac_exeext
112125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112126   (eval $ac_link) 2>conftest.er1
112127   ac_status=$?
112128   grep -v '^ *+' conftest.er1 >conftest.err
112129   rm -f conftest.er1
112130   cat conftest.err >&5
112131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112132   (exit $ac_status); } &&
112133          { ac_try='test -z "$ac_c_werror_flag"
112134                          || test ! -s conftest.err'
112135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112136   (eval $ac_try) 2>&5
112137   ac_status=$?
112138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112139   (exit $ac_status); }; } &&
112140          { ac_try='test -s conftest$ac_exeext'
112141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112142   (eval $ac_try) 2>&5
112143   ac_status=$?
112144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112145   (exit $ac_status); }; }; then
112146   eval "$as_ac_var=yes"
112147 else
112148   echo "$as_me: failed program was:" >&5
112149 sed 's/^/| /' conftest.$ac_ext >&5
112150
112151 eval "$as_ac_var=no"
112152 fi
112153 rm -f conftest.err conftest.$ac_objext \
112154       conftest$ac_exeext conftest.$ac_ext
112155 fi
112156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112158 if test `eval echo '${'$as_ac_var'}'` = yes; then
112159   cat >>confdefs.h <<_ACEOF
112160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112161 _ACEOF
112162
112163 else
112164   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112165 fi
112166 done
112167
112168
112169
112170 for ac_func in __signbitf
112171 do
112172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112173 echo "$as_me:$LINENO: checking for $ac_func" >&5
112174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112175 if eval "test \"\${$as_ac_var+set}\" = set"; then
112176   echo $ECHO_N "(cached) $ECHO_C" >&6
112177 else
112178   if test x$gcc_no_link = xyes; then
112179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112181    { (exit 1); exit 1; }; }
112182 fi
112183 cat >conftest.$ac_ext <<_ACEOF
112184 /* confdefs.h.  */
112185 _ACEOF
112186 cat confdefs.h >>conftest.$ac_ext
112187 cat >>conftest.$ac_ext <<_ACEOF
112188 /* end confdefs.h.  */
112189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112191 #define $ac_func innocuous_$ac_func
112192
112193 /* System header to define __stub macros and hopefully few prototypes,
112194     which can conflict with char $ac_func (); below.
112195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112196     <limits.h> exists even on freestanding compilers.  */
112197
112198 #ifdef __STDC__
112199 # include <limits.h>
112200 #else
112201 # include <assert.h>
112202 #endif
112203
112204 #undef $ac_func
112205
112206 /* Override any gcc2 internal prototype to avoid an error.  */
112207 #ifdef __cplusplus
112208 extern "C"
112209 {
112210 #endif
112211 /* We use char because int might match the return type of a gcc2
112212    builtin and then its argument prototype would still apply.  */
112213 char $ac_func ();
112214 /* The GNU C library defines this for functions which it implements
112215     to always fail with ENOSYS.  Some functions are actually named
112216     something starting with __ and the normal name is an alias.  */
112217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112218 choke me
112219 #else
112220 char (*f) () = $ac_func;
112221 #endif
112222 #ifdef __cplusplus
112223 }
112224 #endif
112225
112226 int
112227 main ()
112228 {
112229 return f != $ac_func;
112230   ;
112231   return 0;
112232 }
112233 _ACEOF
112234 rm -f conftest.$ac_objext conftest$ac_exeext
112235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112236   (eval $ac_link) 2>conftest.er1
112237   ac_status=$?
112238   grep -v '^ *+' conftest.er1 >conftest.err
112239   rm -f conftest.er1
112240   cat conftest.err >&5
112241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112242   (exit $ac_status); } &&
112243          { ac_try='test -z "$ac_c_werror_flag"
112244                          || test ! -s conftest.err'
112245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112246   (eval $ac_try) 2>&5
112247   ac_status=$?
112248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112249   (exit $ac_status); }; } &&
112250          { ac_try='test -s conftest$ac_exeext'
112251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112252   (eval $ac_try) 2>&5
112253   ac_status=$?
112254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112255   (exit $ac_status); }; }; then
112256   eval "$as_ac_var=yes"
112257 else
112258   echo "$as_me: failed program was:" >&5
112259 sed 's/^/| /' conftest.$ac_ext >&5
112260
112261 eval "$as_ac_var=no"
112262 fi
112263 rm -f conftest.err conftest.$ac_objext \
112264       conftest$ac_exeext conftest.$ac_ext
112265 fi
112266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112268 if test `eval echo '${'$as_ac_var'}'` = yes; then
112269   cat >>confdefs.h <<_ACEOF
112270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112271 _ACEOF
112272
112273 else
112274   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112275 fi
112276 done
112277
112278
112279           if test x$ac_cv_func_copysignl = x"yes"; then
112280
112281 for ac_func in __signbitl
112282 do
112283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112284 echo "$as_me:$LINENO: checking for $ac_func" >&5
112285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112286 if eval "test \"\${$as_ac_var+set}\" = set"; then
112287   echo $ECHO_N "(cached) $ECHO_C" >&6
112288 else
112289   if test x$gcc_no_link = xyes; then
112290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112292    { (exit 1); exit 1; }; }
112293 fi
112294 cat >conftest.$ac_ext <<_ACEOF
112295 /* confdefs.h.  */
112296 _ACEOF
112297 cat confdefs.h >>conftest.$ac_ext
112298 cat >>conftest.$ac_ext <<_ACEOF
112299 /* end confdefs.h.  */
112300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112302 #define $ac_func innocuous_$ac_func
112303
112304 /* System header to define __stub macros and hopefully few prototypes,
112305     which can conflict with char $ac_func (); below.
112306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112307     <limits.h> exists even on freestanding compilers.  */
112308
112309 #ifdef __STDC__
112310 # include <limits.h>
112311 #else
112312 # include <assert.h>
112313 #endif
112314
112315 #undef $ac_func
112316
112317 /* Override any gcc2 internal prototype to avoid an error.  */
112318 #ifdef __cplusplus
112319 extern "C"
112320 {
112321 #endif
112322 /* We use char because int might match the return type of a gcc2
112323    builtin and then its argument prototype would still apply.  */
112324 char $ac_func ();
112325 /* The GNU C library defines this for functions which it implements
112326     to always fail with ENOSYS.  Some functions are actually named
112327     something starting with __ and the normal name is an alias.  */
112328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112329 choke me
112330 #else
112331 char (*f) () = $ac_func;
112332 #endif
112333 #ifdef __cplusplus
112334 }
112335 #endif
112336
112337 int
112338 main ()
112339 {
112340 return f != $ac_func;
112341   ;
112342   return 0;
112343 }
112344 _ACEOF
112345 rm -f conftest.$ac_objext conftest$ac_exeext
112346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112347   (eval $ac_link) 2>conftest.er1
112348   ac_status=$?
112349   grep -v '^ *+' conftest.er1 >conftest.err
112350   rm -f conftest.er1
112351   cat conftest.err >&5
112352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112353   (exit $ac_status); } &&
112354          { ac_try='test -z "$ac_c_werror_flag"
112355                          || test ! -s conftest.err'
112356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112357   (eval $ac_try) 2>&5
112358   ac_status=$?
112359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112360   (exit $ac_status); }; } &&
112361          { ac_try='test -s conftest$ac_exeext'
112362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112363   (eval $ac_try) 2>&5
112364   ac_status=$?
112365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112366   (exit $ac_status); }; }; then
112367   eval "$as_ac_var=yes"
112368 else
112369   echo "$as_me: failed program was:" >&5
112370 sed 's/^/| /' conftest.$ac_ext >&5
112371
112372 eval "$as_ac_var=no"
112373 fi
112374 rm -f conftest.err conftest.$ac_objext \
112375       conftest$ac_exeext conftest.$ac_ext
112376 fi
112377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112379 if test `eval echo '${'$as_ac_var'}'` = yes; then
112380   cat >>confdefs.h <<_ACEOF
112381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112382 _ACEOF
112383
112384 else
112385   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112386 fi
112387 done
112388
112389   fi
112390
112391   # Used in libmath/Makefile.am.
112392   if test -n "$LIBMATHOBJS"; then
112393     need_libmath=yes
112394   fi
112395
112396
112397     cat >>confdefs.h <<\_ACEOF
112398 #define HAVE_HYPOT 1
112399 _ACEOF
112400
112401     cat >>confdefs.h <<\_ACEOF
112402 #define HAVE_ISINF 1
112403 _ACEOF
112404
112405     cat >>confdefs.h <<\_ACEOF
112406 #define HAVE_ISNAN 1
112407 _ACEOF
112408
112409
112410     # For showmanyc_helper().
112411
112412
112413 for ac_header in sys/ioctl.h sys/filio.h
112414 do
112415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112417   echo "$as_me:$LINENO: checking for $ac_header" >&5
112418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112420   echo $ECHO_N "(cached) $ECHO_C" >&6
112421 fi
112422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112424 else
112425   # Is the header compilable?
112426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112428 cat >conftest.$ac_ext <<_ACEOF
112429 /* confdefs.h.  */
112430 _ACEOF
112431 cat confdefs.h >>conftest.$ac_ext
112432 cat >>conftest.$ac_ext <<_ACEOF
112433 /* end confdefs.h.  */
112434 $ac_includes_default
112435 #include <$ac_header>
112436 _ACEOF
112437 rm -f conftest.$ac_objext
112438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112439   (eval $ac_compile) 2>conftest.er1
112440   ac_status=$?
112441   grep -v '^ *+' conftest.er1 >conftest.err
112442   rm -f conftest.er1
112443   cat conftest.err >&5
112444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112445   (exit $ac_status); } &&
112446          { ac_try='test -z "$ac_c_werror_flag"
112447                          || test ! -s conftest.err'
112448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112449   (eval $ac_try) 2>&5
112450   ac_status=$?
112451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112452   (exit $ac_status); }; } &&
112453          { ac_try='test -s conftest.$ac_objext'
112454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112455   (eval $ac_try) 2>&5
112456   ac_status=$?
112457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112458   (exit $ac_status); }; }; then
112459   ac_header_compiler=yes
112460 else
112461   echo "$as_me: failed program was:" >&5
112462 sed 's/^/| /' conftest.$ac_ext >&5
112463
112464 ac_header_compiler=no
112465 fi
112466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112468 echo "${ECHO_T}$ac_header_compiler" >&6
112469
112470 # Is the header present?
112471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112473 cat >conftest.$ac_ext <<_ACEOF
112474 /* confdefs.h.  */
112475 _ACEOF
112476 cat confdefs.h >>conftest.$ac_ext
112477 cat >>conftest.$ac_ext <<_ACEOF
112478 /* end confdefs.h.  */
112479 #include <$ac_header>
112480 _ACEOF
112481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112482   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112483   ac_status=$?
112484   grep -v '^ *+' conftest.er1 >conftest.err
112485   rm -f conftest.er1
112486   cat conftest.err >&5
112487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112488   (exit $ac_status); } >/dev/null; then
112489   if test -s conftest.err; then
112490     ac_cpp_err=$ac_c_preproc_warn_flag
112491     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112492   else
112493     ac_cpp_err=
112494   fi
112495 else
112496   ac_cpp_err=yes
112497 fi
112498 if test -z "$ac_cpp_err"; then
112499   ac_header_preproc=yes
112500 else
112501   echo "$as_me: failed program was:" >&5
112502 sed 's/^/| /' conftest.$ac_ext >&5
112503
112504   ac_header_preproc=no
112505 fi
112506 rm -f conftest.err conftest.$ac_ext
112507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112508 echo "${ECHO_T}$ac_header_preproc" >&6
112509
112510 # So?  What about this header?
112511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112512   yes:no: )
112513     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112515     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112517     ac_header_preproc=yes
112518     ;;
112519   no:yes:* )
112520     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112522     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112523 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112524     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112526     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112527 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112528     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112530     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112532     (
112533       cat <<\_ASBOX
112534 ## ----------------------------------------- ##
112535 ## Report this to the package-unused lists.  ##
112536 ## ----------------------------------------- ##
112537 _ASBOX
112538     ) |
112539       sed "s/^/$as_me: WARNING:     /" >&2
112540     ;;
112541 esac
112542 echo "$as_me:$LINENO: checking for $ac_header" >&5
112543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112545   echo $ECHO_N "(cached) $ECHO_C" >&6
112546 else
112547   eval "$as_ac_Header=\$ac_header_preproc"
112548 fi
112549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112551
112552 fi
112553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112554   cat >>confdefs.h <<_ACEOF
112555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112556 _ACEOF
112557
112558 fi
112559
112560 done
112561
112562
112563   echo "$as_me:$LINENO: checking for poll" >&5
112564 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112565   if test "${glibcxx_cv_POLL+set}" = set; then
112566   echo $ECHO_N "(cached) $ECHO_C" >&6
112567 else
112568
112569     if test x$gcc_no_link = xyes; then
112570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112572    { (exit 1); exit 1; }; }
112573 fi
112574 cat >conftest.$ac_ext <<_ACEOF
112575 /* confdefs.h.  */
112576 _ACEOF
112577 cat confdefs.h >>conftest.$ac_ext
112578 cat >>conftest.$ac_ext <<_ACEOF
112579 /* end confdefs.h.  */
112580 #include <poll.h>
112581 int
112582 main ()
112583 {
112584 struct pollfd pfd[1];
112585        pfd[0].events = POLLIN;
112586        poll(pfd, 1, 0);
112587   ;
112588   return 0;
112589 }
112590 _ACEOF
112591 rm -f conftest.$ac_objext conftest$ac_exeext
112592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112593   (eval $ac_link) 2>conftest.er1
112594   ac_status=$?
112595   grep -v '^ *+' conftest.er1 >conftest.err
112596   rm -f conftest.er1
112597   cat conftest.err >&5
112598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112599   (exit $ac_status); } &&
112600          { ac_try='test -z "$ac_c_werror_flag"
112601                          || test ! -s conftest.err'
112602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112603   (eval $ac_try) 2>&5
112604   ac_status=$?
112605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112606   (exit $ac_status); }; } &&
112607          { ac_try='test -s conftest$ac_exeext'
112608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112609   (eval $ac_try) 2>&5
112610   ac_status=$?
112611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112612   (exit $ac_status); }; }; then
112613   glibcxx_cv_POLL=yes
112614 else
112615   echo "$as_me: failed program was:" >&5
112616 sed 's/^/| /' conftest.$ac_ext >&5
112617
112618 glibcxx_cv_POLL=no
112619 fi
112620 rm -f conftest.err conftest.$ac_objext \
112621       conftest$ac_exeext conftest.$ac_ext
112622
112623 fi
112624
112625   if test $glibcxx_cv_POLL = yes; then
112626
112627 cat >>confdefs.h <<\_ACEOF
112628 #define HAVE_POLL 1
112629 _ACEOF
112630
112631   fi
112632   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112633 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112634
112635
112636   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112637 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112638   if test "${glibcxx_cv_S_ISREG+set}" = set; then
112639   echo $ECHO_N "(cached) $ECHO_C" >&6
112640 else
112641
112642     if test x$gcc_no_link = xyes; then
112643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112645    { (exit 1); exit 1; }; }
112646 fi
112647 cat >conftest.$ac_ext <<_ACEOF
112648 /* confdefs.h.  */
112649 _ACEOF
112650 cat confdefs.h >>conftest.$ac_ext
112651 cat >>conftest.$ac_ext <<_ACEOF
112652 /* end confdefs.h.  */
112653 #include <sys/stat.h>
112654 int
112655 main ()
112656 {
112657 struct stat buffer;
112658        fstat(0, &buffer);
112659        S_ISREG(buffer.st_mode);
112660   ;
112661   return 0;
112662 }
112663 _ACEOF
112664 rm -f conftest.$ac_objext conftest$ac_exeext
112665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112666   (eval $ac_link) 2>conftest.er1
112667   ac_status=$?
112668   grep -v '^ *+' conftest.er1 >conftest.err
112669   rm -f conftest.er1
112670   cat conftest.err >&5
112671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112672   (exit $ac_status); } &&
112673          { ac_try='test -z "$ac_c_werror_flag"
112674                          || test ! -s conftest.err'
112675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112676   (eval $ac_try) 2>&5
112677   ac_status=$?
112678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112679   (exit $ac_status); }; } &&
112680          { ac_try='test -s conftest$ac_exeext'
112681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112682   (eval $ac_try) 2>&5
112683   ac_status=$?
112684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112685   (exit $ac_status); }; }; then
112686   glibcxx_cv_S_ISREG=yes
112687 else
112688   echo "$as_me: failed program was:" >&5
112689 sed 's/^/| /' conftest.$ac_ext >&5
112690
112691 glibcxx_cv_S_ISREG=no
112692 fi
112693 rm -f conftest.err conftest.$ac_objext \
112694       conftest$ac_exeext conftest.$ac_ext
112695
112696 fi
112697
112698   if test "${glibcxx_cv_S_IFREG+set}" = set; then
112699   echo $ECHO_N "(cached) $ECHO_C" >&6
112700 else
112701
112702     if test x$gcc_no_link = xyes; then
112703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112705    { (exit 1); exit 1; }; }
112706 fi
112707 cat >conftest.$ac_ext <<_ACEOF
112708 /* confdefs.h.  */
112709 _ACEOF
112710 cat confdefs.h >>conftest.$ac_ext
112711 cat >>conftest.$ac_ext <<_ACEOF
112712 /* end confdefs.h.  */
112713 #include <sys/stat.h>
112714 int
112715 main ()
112716 {
112717 struct stat buffer;
112718        fstat(0, &buffer);
112719        S_IFREG & buffer.st_mode;
112720   ;
112721   return 0;
112722 }
112723 _ACEOF
112724 rm -f conftest.$ac_objext conftest$ac_exeext
112725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112726   (eval $ac_link) 2>conftest.er1
112727   ac_status=$?
112728   grep -v '^ *+' conftest.er1 >conftest.err
112729   rm -f conftest.er1
112730   cat conftest.err >&5
112731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112732   (exit $ac_status); } &&
112733          { ac_try='test -z "$ac_c_werror_flag"
112734                          || test ! -s conftest.err'
112735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112736   (eval $ac_try) 2>&5
112737   ac_status=$?
112738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112739   (exit $ac_status); }; } &&
112740          { ac_try='test -s conftest$ac_exeext'
112741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112742   (eval $ac_try) 2>&5
112743   ac_status=$?
112744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112745   (exit $ac_status); }; }; then
112746   glibcxx_cv_S_IFREG=yes
112747 else
112748   echo "$as_me: failed program was:" >&5
112749 sed 's/^/| /' conftest.$ac_ext >&5
112750
112751 glibcxx_cv_S_IFREG=no
112752 fi
112753 rm -f conftest.err conftest.$ac_objext \
112754       conftest$ac_exeext conftest.$ac_ext
112755
112756 fi
112757
112758   res=no
112759   if test $glibcxx_cv_S_ISREG = yes; then
112760
112761 cat >>confdefs.h <<\_ACEOF
112762 #define HAVE_S_ISREG 1
112763 _ACEOF
112764
112765     res=S_ISREG
112766   elif test $glibcxx_cv_S_IFREG = yes; then
112767
112768 cat >>confdefs.h <<\_ACEOF
112769 #define HAVE_S_IFREG 1
112770 _ACEOF
112771
112772     res=S_IFREG
112773   fi
112774   echo "$as_me:$LINENO: result: $res" >&5
112775 echo "${ECHO_T}$res" >&6
112776
112777
112778     # For xsputn_2().
112779
112780 for ac_header in sys/uio.h
112781 do
112782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112784   echo "$as_me:$LINENO: checking for $ac_header" >&5
112785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112787   echo $ECHO_N "(cached) $ECHO_C" >&6
112788 fi
112789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112791 else
112792   # Is the header compilable?
112793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112795 cat >conftest.$ac_ext <<_ACEOF
112796 /* confdefs.h.  */
112797 _ACEOF
112798 cat confdefs.h >>conftest.$ac_ext
112799 cat >>conftest.$ac_ext <<_ACEOF
112800 /* end confdefs.h.  */
112801 $ac_includes_default
112802 #include <$ac_header>
112803 _ACEOF
112804 rm -f conftest.$ac_objext
112805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112806   (eval $ac_compile) 2>conftest.er1
112807   ac_status=$?
112808   grep -v '^ *+' conftest.er1 >conftest.err
112809   rm -f conftest.er1
112810   cat conftest.err >&5
112811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112812   (exit $ac_status); } &&
112813          { ac_try='test -z "$ac_c_werror_flag"
112814                          || test ! -s conftest.err'
112815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112816   (eval $ac_try) 2>&5
112817   ac_status=$?
112818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112819   (exit $ac_status); }; } &&
112820          { ac_try='test -s conftest.$ac_objext'
112821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112822   (eval $ac_try) 2>&5
112823   ac_status=$?
112824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112825   (exit $ac_status); }; }; then
112826   ac_header_compiler=yes
112827 else
112828   echo "$as_me: failed program was:" >&5
112829 sed 's/^/| /' conftest.$ac_ext >&5
112830
112831 ac_header_compiler=no
112832 fi
112833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112835 echo "${ECHO_T}$ac_header_compiler" >&6
112836
112837 # Is the header present?
112838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112840 cat >conftest.$ac_ext <<_ACEOF
112841 /* confdefs.h.  */
112842 _ACEOF
112843 cat confdefs.h >>conftest.$ac_ext
112844 cat >>conftest.$ac_ext <<_ACEOF
112845 /* end confdefs.h.  */
112846 #include <$ac_header>
112847 _ACEOF
112848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112849   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112850   ac_status=$?
112851   grep -v '^ *+' conftest.er1 >conftest.err
112852   rm -f conftest.er1
112853   cat conftest.err >&5
112854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112855   (exit $ac_status); } >/dev/null; then
112856   if test -s conftest.err; then
112857     ac_cpp_err=$ac_c_preproc_warn_flag
112858     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112859   else
112860     ac_cpp_err=
112861   fi
112862 else
112863   ac_cpp_err=yes
112864 fi
112865 if test -z "$ac_cpp_err"; then
112866   ac_header_preproc=yes
112867 else
112868   echo "$as_me: failed program was:" >&5
112869 sed 's/^/| /' conftest.$ac_ext >&5
112870
112871   ac_header_preproc=no
112872 fi
112873 rm -f conftest.err conftest.$ac_ext
112874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112875 echo "${ECHO_T}$ac_header_preproc" >&6
112876
112877 # So?  What about this header?
112878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112879   yes:no: )
112880     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112882     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112884     ac_header_preproc=yes
112885     ;;
112886   no:yes:* )
112887     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112889     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112890 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112891     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112893     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112894 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112895     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112897     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112899     (
112900       cat <<\_ASBOX
112901 ## ----------------------------------------- ##
112902 ## Report this to the package-unused lists.  ##
112903 ## ----------------------------------------- ##
112904 _ASBOX
112905     ) |
112906       sed "s/^/$as_me: WARNING:     /" >&2
112907     ;;
112908 esac
112909 echo "$as_me:$LINENO: checking for $ac_header" >&5
112910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112912   echo $ECHO_N "(cached) $ECHO_C" >&6
112913 else
112914   eval "$as_ac_Header=\$ac_header_preproc"
112915 fi
112916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112918
112919 fi
112920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112921   cat >>confdefs.h <<_ACEOF
112922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112923 _ACEOF
112924
112925 fi
112926
112927 done
112928
112929
112930   echo "$as_me:$LINENO: checking for writev" >&5
112931 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112932   if test "${glibcxx_cv_WRITEV+set}" = set; then
112933   echo $ECHO_N "(cached) $ECHO_C" >&6
112934 else
112935
112936     if test x$gcc_no_link = xyes; then
112937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112939    { (exit 1); exit 1; }; }
112940 fi
112941 cat >conftest.$ac_ext <<_ACEOF
112942 /* confdefs.h.  */
112943 _ACEOF
112944 cat confdefs.h >>conftest.$ac_ext
112945 cat >>conftest.$ac_ext <<_ACEOF
112946 /* end confdefs.h.  */
112947 #include <sys/uio.h>
112948 int
112949 main ()
112950 {
112951 struct iovec iov[2];
112952        writev(0, iov, 0);
112953   ;
112954   return 0;
112955 }
112956 _ACEOF
112957 rm -f conftest.$ac_objext conftest$ac_exeext
112958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112959   (eval $ac_link) 2>conftest.er1
112960   ac_status=$?
112961   grep -v '^ *+' conftest.er1 >conftest.err
112962   rm -f conftest.er1
112963   cat conftest.err >&5
112964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112965   (exit $ac_status); } &&
112966          { ac_try='test -z "$ac_c_werror_flag"
112967                          || test ! -s conftest.err'
112968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112969   (eval $ac_try) 2>&5
112970   ac_status=$?
112971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112972   (exit $ac_status); }; } &&
112973          { ac_try='test -s conftest$ac_exeext'
112974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112975   (eval $ac_try) 2>&5
112976   ac_status=$?
112977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112978   (exit $ac_status); }; }; then
112979   glibcxx_cv_WRITEV=yes
112980 else
112981   echo "$as_me: failed program was:" >&5
112982 sed 's/^/| /' conftest.$ac_ext >&5
112983
112984 glibcxx_cv_WRITEV=no
112985 fi
112986 rm -f conftest.err conftest.$ac_objext \
112987       conftest$ac_exeext conftest.$ac_ext
112988
112989 fi
112990
112991   if test $glibcxx_cv_WRITEV = yes; then
112992
112993 cat >>confdefs.h <<\_ACEOF
112994 #define HAVE_WRITEV 1
112995 _ACEOF
112996
112997   fi
112998   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
112999 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113000
113001     ;;
113002   *-qnx6.1* | *-qnx6.2*)
113003     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113004
113005
113006   # If we're not using GNU ld, then there's no point in even trying these
113007   # tests.  Check for that first.  We should have already tested for gld
113008   # by now (in libtool), but require it now just to be safe...
113009   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113010   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113011
113012
113013
113014   # The name set by libtool depends on the version of libtool.  Shame on us
113015   # for depending on an impl detail, but c'est la vie.  Older versions used
113016   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113017   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113018   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113019   # set (hence we're using an older libtool), then set it.
113020   if test x${with_gnu_ld+set} != xset; then
113021     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113022       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113023       with_gnu_ld=no
113024     else
113025       with_gnu_ld=$ac_cv_prog_gnu_ld
113026     fi
113027   fi
113028
113029   # Start by getting the version number.  I think the libtool test already
113030   # does some of this, but throws away the result.
113031   glibcxx_ld_is_gold=no
113032   if test x"$with_gnu_ld" = x"yes"; then
113033     echo "$as_me:$LINENO: checking for ld version" >&5
113034 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113035
113036     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113037       glibcxx_ld_is_gold=yes
113038     fi
113039     ldver=`$LD --version 2>/dev/null | head -1 | \
113040            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113041
113042     glibcxx_gnu_ld_version=`echo $ldver | \
113043            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113044     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113045 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113046   fi
113047
113048   # Set --gc-sections.
113049   glibcxx_have_gc_sections=no
113050   if test "$glibcxx_ld_is_gold" = "yes"; then
113051     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113052       glibcxx_have_gc_sections=yes
113053     fi
113054   else
113055     glibcxx_gcsections_min_ld=21602
113056     if test x"$with_gnu_ld" = x"yes" &&
113057         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113058       glibcxx_have_gc_sections=yes
113059     fi
113060   fi
113061   if test "$glibcxx_have_gc_sections" = "yes"; then
113062     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113063     # NB: This flag only works reliably after 2.16.1. Configure tests
113064     # for this are difficult, so hard wire a value that should work.
113065
113066     ac_test_CFLAGS="${CFLAGS+set}"
113067     ac_save_CFLAGS="$CFLAGS"
113068     CFLAGS='-Wl,--gc-sections'
113069
113070     # Check for -Wl,--gc-sections
113071     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113072 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113073     if test x$gcc_no_link = xyes; then
113074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113076    { (exit 1); exit 1; }; }
113077 fi
113078 cat >conftest.$ac_ext <<_ACEOF
113079 /* confdefs.h.  */
113080 _ACEOF
113081 cat confdefs.h >>conftest.$ac_ext
113082 cat >>conftest.$ac_ext <<_ACEOF
113083 /* end confdefs.h.  */
113084  int one(void) { return 1; }
113085      int two(void) { return 2; }
113086
113087 int
113088 main ()
113089 {
113090  two();
113091   ;
113092   return 0;
113093 }
113094 _ACEOF
113095 rm -f conftest.$ac_objext conftest$ac_exeext
113096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113097   (eval $ac_link) 2>conftest.er1
113098   ac_status=$?
113099   grep -v '^ *+' conftest.er1 >conftest.err
113100   rm -f conftest.er1
113101   cat conftest.err >&5
113102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113103   (exit $ac_status); } &&
113104          { ac_try='test -z "$ac_c_werror_flag"
113105                          || test ! -s conftest.err'
113106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113107   (eval $ac_try) 2>&5
113108   ac_status=$?
113109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113110   (exit $ac_status); }; } &&
113111          { ac_try='test -s conftest$ac_exeext'
113112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113113   (eval $ac_try) 2>&5
113114   ac_status=$?
113115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113116   (exit $ac_status); }; }; then
113117   ac_gcsections=yes
113118 else
113119   echo "$as_me: failed program was:" >&5
113120 sed 's/^/| /' conftest.$ac_ext >&5
113121
113122 ac_gcsections=no
113123 fi
113124 rm -f conftest.err conftest.$ac_objext \
113125       conftest$ac_exeext conftest.$ac_ext
113126     if test "$ac_gcsections" = "yes"; then
113127       rm -f conftest.c
113128       touch conftest.c
113129       if $CC -c conftest.c; then
113130         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113131            grep "Warning: gc-sections option ignored" > /dev/null; then
113132           ac_gcsections=no
113133         fi
113134       fi
113135       rm -f conftest.c conftest.o conftest
113136     fi
113137     if test "$ac_gcsections" = "yes"; then
113138       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113139     fi
113140     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113141 echo "${ECHO_T}$ac_gcsections" >&6
113142
113143     if test "$ac_test_CFLAGS" = set; then
113144       CFLAGS="$ac_save_CFLAGS"
113145     else
113146       # this is the suspicious part
113147       CFLAGS=''
113148     fi
113149   fi
113150
113151   # Set -z,relro.
113152   # Note this is only for shared objects.
113153   ac_ld_relro=no
113154   if test x"$with_gnu_ld" = x"yes"; then
113155     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113156 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113157     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113158     if test -n "$cxx_z_relo"; then
113159       OPT_LDFLAGS="-Wl,-z,relro"
113160       ac_ld_relro=yes
113161     fi
113162     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113163 echo "${ECHO_T}$ac_ld_relro" >&6
113164   fi
113165
113166   # Set linker optimization flags.
113167   if test x"$with_gnu_ld" = x"yes"; then
113168     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113169   fi
113170
113171
113172
113173
113174
113175
113176 echo "$as_me:$LINENO: checking for main in -lm" >&5
113177 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113178 if test "${ac_cv_lib_m_main+set}" = set; then
113179   echo $ECHO_N "(cached) $ECHO_C" >&6
113180 else
113181   ac_check_lib_save_LIBS=$LIBS
113182 LIBS="-lm  $LIBS"
113183 if test x$gcc_no_link = xyes; then
113184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113186    { (exit 1); exit 1; }; }
113187 fi
113188 cat >conftest.$ac_ext <<_ACEOF
113189 /* confdefs.h.  */
113190 _ACEOF
113191 cat confdefs.h >>conftest.$ac_ext
113192 cat >>conftest.$ac_ext <<_ACEOF
113193 /* end confdefs.h.  */
113194
113195
113196 int
113197 main ()
113198 {
113199 main ();
113200   ;
113201   return 0;
113202 }
113203 _ACEOF
113204 rm -f conftest.$ac_objext conftest$ac_exeext
113205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113206   (eval $ac_link) 2>conftest.er1
113207   ac_status=$?
113208   grep -v '^ *+' conftest.er1 >conftest.err
113209   rm -f conftest.er1
113210   cat conftest.err >&5
113211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113212   (exit $ac_status); } &&
113213          { ac_try='test -z "$ac_c_werror_flag"
113214                          || test ! -s conftest.err'
113215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113216   (eval $ac_try) 2>&5
113217   ac_status=$?
113218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113219   (exit $ac_status); }; } &&
113220          { ac_try='test -s conftest$ac_exeext'
113221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113222   (eval $ac_try) 2>&5
113223   ac_status=$?
113224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113225   (exit $ac_status); }; }; then
113226   ac_cv_lib_m_main=yes
113227 else
113228   echo "$as_me: failed program was:" >&5
113229 sed 's/^/| /' conftest.$ac_ext >&5
113230
113231 ac_cv_lib_m_main=no
113232 fi
113233 rm -f conftest.err conftest.$ac_objext \
113234       conftest$ac_exeext conftest.$ac_ext
113235 LIBS=$ac_check_lib_save_LIBS
113236 fi
113237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113238 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113239 if test $ac_cv_lib_m_main = yes; then
113240   cat >>confdefs.h <<_ACEOF
113241 #define HAVE_LIBM 1
113242 _ACEOF
113243
113244   LIBS="-lm $LIBS"
113245
113246 fi
113247
113248
113249 for ac_func in copysignf
113250 do
113251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113252 echo "$as_me:$LINENO: checking for $ac_func" >&5
113253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113254 if eval "test \"\${$as_ac_var+set}\" = set"; then
113255   echo $ECHO_N "(cached) $ECHO_C" >&6
113256 else
113257   if test x$gcc_no_link = xyes; then
113258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113260    { (exit 1); exit 1; }; }
113261 fi
113262 cat >conftest.$ac_ext <<_ACEOF
113263 /* confdefs.h.  */
113264 _ACEOF
113265 cat confdefs.h >>conftest.$ac_ext
113266 cat >>conftest.$ac_ext <<_ACEOF
113267 /* end confdefs.h.  */
113268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113270 #define $ac_func innocuous_$ac_func
113271
113272 /* System header to define __stub macros and hopefully few prototypes,
113273     which can conflict with char $ac_func (); below.
113274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113275     <limits.h> exists even on freestanding compilers.  */
113276
113277 #ifdef __STDC__
113278 # include <limits.h>
113279 #else
113280 # include <assert.h>
113281 #endif
113282
113283 #undef $ac_func
113284
113285 /* Override any gcc2 internal prototype to avoid an error.  */
113286 #ifdef __cplusplus
113287 extern "C"
113288 {
113289 #endif
113290 /* We use char because int might match the return type of a gcc2
113291    builtin and then its argument prototype would still apply.  */
113292 char $ac_func ();
113293 /* The GNU C library defines this for functions which it implements
113294     to always fail with ENOSYS.  Some functions are actually named
113295     something starting with __ and the normal name is an alias.  */
113296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113297 choke me
113298 #else
113299 char (*f) () = $ac_func;
113300 #endif
113301 #ifdef __cplusplus
113302 }
113303 #endif
113304
113305 int
113306 main ()
113307 {
113308 return f != $ac_func;
113309   ;
113310   return 0;
113311 }
113312 _ACEOF
113313 rm -f conftest.$ac_objext conftest$ac_exeext
113314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113315   (eval $ac_link) 2>conftest.er1
113316   ac_status=$?
113317   grep -v '^ *+' conftest.er1 >conftest.err
113318   rm -f conftest.er1
113319   cat conftest.err >&5
113320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113321   (exit $ac_status); } &&
113322          { ac_try='test -z "$ac_c_werror_flag"
113323                          || test ! -s conftest.err'
113324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113325   (eval $ac_try) 2>&5
113326   ac_status=$?
113327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113328   (exit $ac_status); }; } &&
113329          { ac_try='test -s conftest$ac_exeext'
113330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113331   (eval $ac_try) 2>&5
113332   ac_status=$?
113333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113334   (exit $ac_status); }; }; then
113335   eval "$as_ac_var=yes"
113336 else
113337   echo "$as_me: failed program was:" >&5
113338 sed 's/^/| /' conftest.$ac_ext >&5
113339
113340 eval "$as_ac_var=no"
113341 fi
113342 rm -f conftest.err conftest.$ac_objext \
113343       conftest$ac_exeext conftest.$ac_ext
113344 fi
113345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113347 if test `eval echo '${'$as_ac_var'}'` = yes; then
113348   cat >>confdefs.h <<_ACEOF
113349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113350 _ACEOF
113351
113352 else
113353   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113354 fi
113355 done
113356
113357
113358
113359 for ac_func in __signbit
113360 do
113361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113362 echo "$as_me:$LINENO: checking for $ac_func" >&5
113363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113364 if eval "test \"\${$as_ac_var+set}\" = set"; then
113365   echo $ECHO_N "(cached) $ECHO_C" >&6
113366 else
113367   if test x$gcc_no_link = xyes; then
113368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113370    { (exit 1); exit 1; }; }
113371 fi
113372 cat >conftest.$ac_ext <<_ACEOF
113373 /* confdefs.h.  */
113374 _ACEOF
113375 cat confdefs.h >>conftest.$ac_ext
113376 cat >>conftest.$ac_ext <<_ACEOF
113377 /* end confdefs.h.  */
113378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113380 #define $ac_func innocuous_$ac_func
113381
113382 /* System header to define __stub macros and hopefully few prototypes,
113383     which can conflict with char $ac_func (); below.
113384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113385     <limits.h> exists even on freestanding compilers.  */
113386
113387 #ifdef __STDC__
113388 # include <limits.h>
113389 #else
113390 # include <assert.h>
113391 #endif
113392
113393 #undef $ac_func
113394
113395 /* Override any gcc2 internal prototype to avoid an error.  */
113396 #ifdef __cplusplus
113397 extern "C"
113398 {
113399 #endif
113400 /* We use char because int might match the return type of a gcc2
113401    builtin and then its argument prototype would still apply.  */
113402 char $ac_func ();
113403 /* The GNU C library defines this for functions which it implements
113404     to always fail with ENOSYS.  Some functions are actually named
113405     something starting with __ and the normal name is an alias.  */
113406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113407 choke me
113408 #else
113409 char (*f) () = $ac_func;
113410 #endif
113411 #ifdef __cplusplus
113412 }
113413 #endif
113414
113415 int
113416 main ()
113417 {
113418 return f != $ac_func;
113419   ;
113420   return 0;
113421 }
113422 _ACEOF
113423 rm -f conftest.$ac_objext conftest$ac_exeext
113424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113425   (eval $ac_link) 2>conftest.er1
113426   ac_status=$?
113427   grep -v '^ *+' conftest.er1 >conftest.err
113428   rm -f conftest.er1
113429   cat conftest.err >&5
113430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113431   (exit $ac_status); } &&
113432          { ac_try='test -z "$ac_c_werror_flag"
113433                          || test ! -s conftest.err'
113434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113435   (eval $ac_try) 2>&5
113436   ac_status=$?
113437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113438   (exit $ac_status); }; } &&
113439          { ac_try='test -s conftest$ac_exeext'
113440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113441   (eval $ac_try) 2>&5
113442   ac_status=$?
113443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113444   (exit $ac_status); }; }; then
113445   eval "$as_ac_var=yes"
113446 else
113447   echo "$as_me: failed program was:" >&5
113448 sed 's/^/| /' conftest.$ac_ext >&5
113449
113450 eval "$as_ac_var=no"
113451 fi
113452 rm -f conftest.err conftest.$ac_objext \
113453       conftest$ac_exeext conftest.$ac_ext
113454 fi
113455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113457 if test `eval echo '${'$as_ac_var'}'` = yes; then
113458   cat >>confdefs.h <<_ACEOF
113459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113460 _ACEOF
113461
113462 else
113463   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113464 fi
113465 done
113466
113467
113468
113469 for ac_func in __signbitf
113470 do
113471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113472 echo "$as_me:$LINENO: checking for $ac_func" >&5
113473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113474 if eval "test \"\${$as_ac_var+set}\" = set"; then
113475   echo $ECHO_N "(cached) $ECHO_C" >&6
113476 else
113477   if test x$gcc_no_link = xyes; then
113478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113480    { (exit 1); exit 1; }; }
113481 fi
113482 cat >conftest.$ac_ext <<_ACEOF
113483 /* confdefs.h.  */
113484 _ACEOF
113485 cat confdefs.h >>conftest.$ac_ext
113486 cat >>conftest.$ac_ext <<_ACEOF
113487 /* end confdefs.h.  */
113488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113490 #define $ac_func innocuous_$ac_func
113491
113492 /* System header to define __stub macros and hopefully few prototypes,
113493     which can conflict with char $ac_func (); below.
113494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113495     <limits.h> exists even on freestanding compilers.  */
113496
113497 #ifdef __STDC__
113498 # include <limits.h>
113499 #else
113500 # include <assert.h>
113501 #endif
113502
113503 #undef $ac_func
113504
113505 /* Override any gcc2 internal prototype to avoid an error.  */
113506 #ifdef __cplusplus
113507 extern "C"
113508 {
113509 #endif
113510 /* We use char because int might match the return type of a gcc2
113511    builtin and then its argument prototype would still apply.  */
113512 char $ac_func ();
113513 /* The GNU C library defines this for functions which it implements
113514     to always fail with ENOSYS.  Some functions are actually named
113515     something starting with __ and the normal name is an alias.  */
113516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113517 choke me
113518 #else
113519 char (*f) () = $ac_func;
113520 #endif
113521 #ifdef __cplusplus
113522 }
113523 #endif
113524
113525 int
113526 main ()
113527 {
113528 return f != $ac_func;
113529   ;
113530   return 0;
113531 }
113532 _ACEOF
113533 rm -f conftest.$ac_objext conftest$ac_exeext
113534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113535   (eval $ac_link) 2>conftest.er1
113536   ac_status=$?
113537   grep -v '^ *+' conftest.er1 >conftest.err
113538   rm -f conftest.er1
113539   cat conftest.err >&5
113540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113541   (exit $ac_status); } &&
113542          { ac_try='test -z "$ac_c_werror_flag"
113543                          || test ! -s conftest.err'
113544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113545   (eval $ac_try) 2>&5
113546   ac_status=$?
113547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113548   (exit $ac_status); }; } &&
113549          { ac_try='test -s conftest$ac_exeext'
113550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113551   (eval $ac_try) 2>&5
113552   ac_status=$?
113553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113554   (exit $ac_status); }; }; then
113555   eval "$as_ac_var=yes"
113556 else
113557   echo "$as_me: failed program was:" >&5
113558 sed 's/^/| /' conftest.$ac_ext >&5
113559
113560 eval "$as_ac_var=no"
113561 fi
113562 rm -f conftest.err conftest.$ac_objext \
113563       conftest$ac_exeext conftest.$ac_ext
113564 fi
113565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113567 if test `eval echo '${'$as_ac_var'}'` = yes; then
113568   cat >>confdefs.h <<_ACEOF
113569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113570 _ACEOF
113571
113572 else
113573   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113574 fi
113575 done
113576
113577
113578           if test x$ac_cv_func_copysignl = x"yes"; then
113579
113580 for ac_func in __signbitl
113581 do
113582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113583 echo "$as_me:$LINENO: checking for $ac_func" >&5
113584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113585 if eval "test \"\${$as_ac_var+set}\" = set"; then
113586   echo $ECHO_N "(cached) $ECHO_C" >&6
113587 else
113588   if test x$gcc_no_link = xyes; then
113589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113591    { (exit 1); exit 1; }; }
113592 fi
113593 cat >conftest.$ac_ext <<_ACEOF
113594 /* confdefs.h.  */
113595 _ACEOF
113596 cat confdefs.h >>conftest.$ac_ext
113597 cat >>conftest.$ac_ext <<_ACEOF
113598 /* end confdefs.h.  */
113599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113601 #define $ac_func innocuous_$ac_func
113602
113603 /* System header to define __stub macros and hopefully few prototypes,
113604     which can conflict with char $ac_func (); below.
113605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113606     <limits.h> exists even on freestanding compilers.  */
113607
113608 #ifdef __STDC__
113609 # include <limits.h>
113610 #else
113611 # include <assert.h>
113612 #endif
113613
113614 #undef $ac_func
113615
113616 /* Override any gcc2 internal prototype to avoid an error.  */
113617 #ifdef __cplusplus
113618 extern "C"
113619 {
113620 #endif
113621 /* We use char because int might match the return type of a gcc2
113622    builtin and then its argument prototype would still apply.  */
113623 char $ac_func ();
113624 /* The GNU C library defines this for functions which it implements
113625     to always fail with ENOSYS.  Some functions are actually named
113626     something starting with __ and the normal name is an alias.  */
113627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113628 choke me
113629 #else
113630 char (*f) () = $ac_func;
113631 #endif
113632 #ifdef __cplusplus
113633 }
113634 #endif
113635
113636 int
113637 main ()
113638 {
113639 return f != $ac_func;
113640   ;
113641   return 0;
113642 }
113643 _ACEOF
113644 rm -f conftest.$ac_objext conftest$ac_exeext
113645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113646   (eval $ac_link) 2>conftest.er1
113647   ac_status=$?
113648   grep -v '^ *+' conftest.er1 >conftest.err
113649   rm -f conftest.er1
113650   cat conftest.err >&5
113651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113652   (exit $ac_status); } &&
113653          { ac_try='test -z "$ac_c_werror_flag"
113654                          || test ! -s conftest.err'
113655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113656   (eval $ac_try) 2>&5
113657   ac_status=$?
113658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113659   (exit $ac_status); }; } &&
113660          { ac_try='test -s conftest$ac_exeext'
113661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113662   (eval $ac_try) 2>&5
113663   ac_status=$?
113664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113665   (exit $ac_status); }; }; then
113666   eval "$as_ac_var=yes"
113667 else
113668   echo "$as_me: failed program was:" >&5
113669 sed 's/^/| /' conftest.$ac_ext >&5
113670
113671 eval "$as_ac_var=no"
113672 fi
113673 rm -f conftest.err conftest.$ac_objext \
113674       conftest$ac_exeext conftest.$ac_ext
113675 fi
113676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113678 if test `eval echo '${'$as_ac_var'}'` = yes; then
113679   cat >>confdefs.h <<_ACEOF
113680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113681 _ACEOF
113682
113683 else
113684   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113685 fi
113686 done
113687
113688   fi
113689
113690   # Used in libmath/Makefile.am.
113691   if test -n "$LIBMATHOBJS"; then
113692     need_libmath=yes
113693   fi
113694
113695
113696     cat >>confdefs.h <<\_ACEOF
113697 #define HAVE_COSF 1
113698 _ACEOF
113699
113700     cat >>confdefs.h <<\_ACEOF
113701 #define HAVE_COSL 1
113702 _ACEOF
113703
113704     cat >>confdefs.h <<\_ACEOF
113705 #define HAVE_COSHF 1
113706 _ACEOF
113707
113708     cat >>confdefs.h <<\_ACEOF
113709 #define HAVE_COSHL 1
113710 _ACEOF
113711
113712     cat >>confdefs.h <<\_ACEOF
113713 #define HAVE_LOGF 1
113714 _ACEOF
113715
113716     cat >>confdefs.h <<\_ACEOF
113717 #define HAVE_LOGL 1
113718 _ACEOF
113719
113720     cat >>confdefs.h <<\_ACEOF
113721 #define HAVE_LOG10F 1
113722 _ACEOF
113723
113724     cat >>confdefs.h <<\_ACEOF
113725 #define HAVE_LOG10L 1
113726 _ACEOF
113727
113728     cat >>confdefs.h <<\_ACEOF
113729 #define HAVE_SINF 1
113730 _ACEOF
113731
113732     cat >>confdefs.h <<\_ACEOF
113733 #define HAVE_SINL 1
113734 _ACEOF
113735
113736     cat >>confdefs.h <<\_ACEOF
113737 #define HAVE_SINHF 1
113738 _ACEOF
113739
113740     cat >>confdefs.h <<\_ACEOF
113741 #define HAVE_SINHL 1
113742 _ACEOF
113743
113744     ;;
113745   *-solaris*)
113746     case "$target" in
113747       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113748
113749   # If we're not using GNU ld, then there's no point in even trying these
113750   # tests.  Check for that first.  We should have already tested for gld
113751   # by now (in libtool), but require it now just to be safe...
113752   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113753   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113754
113755
113756
113757   # The name set by libtool depends on the version of libtool.  Shame on us
113758   # for depending on an impl detail, but c'est la vie.  Older versions used
113759   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113760   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113761   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113762   # set (hence we're using an older libtool), then set it.
113763   if test x${with_gnu_ld+set} != xset; then
113764     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113765       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113766       with_gnu_ld=no
113767     else
113768       with_gnu_ld=$ac_cv_prog_gnu_ld
113769     fi
113770   fi
113771
113772   # Start by getting the version number.  I think the libtool test already
113773   # does some of this, but throws away the result.
113774   glibcxx_ld_is_gold=no
113775   if test x"$with_gnu_ld" = x"yes"; then
113776     echo "$as_me:$LINENO: checking for ld version" >&5
113777 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113778
113779     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113780       glibcxx_ld_is_gold=yes
113781     fi
113782     ldver=`$LD --version 2>/dev/null | head -1 | \
113783            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113784
113785     glibcxx_gnu_ld_version=`echo $ldver | \
113786            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113787     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113788 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113789   fi
113790
113791   # Set --gc-sections.
113792   glibcxx_have_gc_sections=no
113793   if test "$glibcxx_ld_is_gold" = "yes"; then
113794     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113795       glibcxx_have_gc_sections=yes
113796     fi
113797   else
113798     glibcxx_gcsections_min_ld=21602
113799     if test x"$with_gnu_ld" = x"yes" &&
113800         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113801       glibcxx_have_gc_sections=yes
113802     fi
113803   fi
113804   if test "$glibcxx_have_gc_sections" = "yes"; then
113805     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113806     # NB: This flag only works reliably after 2.16.1. Configure tests
113807     # for this are difficult, so hard wire a value that should work.
113808
113809     ac_test_CFLAGS="${CFLAGS+set}"
113810     ac_save_CFLAGS="$CFLAGS"
113811     CFLAGS='-Wl,--gc-sections'
113812
113813     # Check for -Wl,--gc-sections
113814     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113815 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113816     if test x$gcc_no_link = xyes; then
113817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113819    { (exit 1); exit 1; }; }
113820 fi
113821 cat >conftest.$ac_ext <<_ACEOF
113822 /* confdefs.h.  */
113823 _ACEOF
113824 cat confdefs.h >>conftest.$ac_ext
113825 cat >>conftest.$ac_ext <<_ACEOF
113826 /* end confdefs.h.  */
113827  int one(void) { return 1; }
113828      int two(void) { return 2; }
113829
113830 int
113831 main ()
113832 {
113833  two();
113834   ;
113835   return 0;
113836 }
113837 _ACEOF
113838 rm -f conftest.$ac_objext conftest$ac_exeext
113839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113840   (eval $ac_link) 2>conftest.er1
113841   ac_status=$?
113842   grep -v '^ *+' conftest.er1 >conftest.err
113843   rm -f conftest.er1
113844   cat conftest.err >&5
113845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113846   (exit $ac_status); } &&
113847          { ac_try='test -z "$ac_c_werror_flag"
113848                          || test ! -s conftest.err'
113849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113850   (eval $ac_try) 2>&5
113851   ac_status=$?
113852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113853   (exit $ac_status); }; } &&
113854          { ac_try='test -s conftest$ac_exeext'
113855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113856   (eval $ac_try) 2>&5
113857   ac_status=$?
113858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113859   (exit $ac_status); }; }; then
113860   ac_gcsections=yes
113861 else
113862   echo "$as_me: failed program was:" >&5
113863 sed 's/^/| /' conftest.$ac_ext >&5
113864
113865 ac_gcsections=no
113866 fi
113867 rm -f conftest.err conftest.$ac_objext \
113868       conftest$ac_exeext conftest.$ac_ext
113869     if test "$ac_gcsections" = "yes"; then
113870       rm -f conftest.c
113871       touch conftest.c
113872       if $CC -c conftest.c; then
113873         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113874            grep "Warning: gc-sections option ignored" > /dev/null; then
113875           ac_gcsections=no
113876         fi
113877       fi
113878       rm -f conftest.c conftest.o conftest
113879     fi
113880     if test "$ac_gcsections" = "yes"; then
113881       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113882     fi
113883     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113884 echo "${ECHO_T}$ac_gcsections" >&6
113885
113886     if test "$ac_test_CFLAGS" = set; then
113887       CFLAGS="$ac_save_CFLAGS"
113888     else
113889       # this is the suspicious part
113890       CFLAGS=''
113891     fi
113892   fi
113893
113894   # Set -z,relro.
113895   # Note this is only for shared objects.
113896   ac_ld_relro=no
113897   if test x"$with_gnu_ld" = x"yes"; then
113898     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113899 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113900     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113901     if test -n "$cxx_z_relo"; then
113902       OPT_LDFLAGS="-Wl,-z,relro"
113903       ac_ld_relro=yes
113904     fi
113905     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113906 echo "${ECHO_T}$ac_ld_relro" >&6
113907   fi
113908
113909   # Set linker optimization flags.
113910   if test x"$with_gnu_ld" = x"yes"; then
113911     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113912   fi
113913
113914
113915
113916
113917          cat >>confdefs.h <<\_ACEOF
113918 #define HAVE_MBSTATE_T 1
113919 _ACEOF
113920
113921          cat >>confdefs.h <<\_ACEOF
113922 #define HAVE_POLL 1
113923 _ACEOF
113924
113925          cat >>confdefs.h <<\_ACEOF
113926 #define HAVE_S_ISREG 1
113927 _ACEOF
113928
113929          cat >>confdefs.h <<\_ACEOF
113930 #define HAVE_LC_MESSAGES 1
113931 _ACEOF
113932
113933          cat >>confdefs.h <<\_ACEOF
113934 #define HAVE_FINITE 1
113935 _ACEOF
113936
113937          cat >>confdefs.h <<\_ACEOF
113938 #define HAVE_FPCLASS 1
113939 _ACEOF
113940
113941          # All of the dependencies for wide character support are here, so
113942          # turn it on.
113943          cat >>confdefs.h <<\_ACEOF
113944 #define _GLIBCXX_USE_WCHAR_T 1
113945 _ACEOF
113946
113947          # Are these tested for even when cross?
113948          cat >>confdefs.h <<\_ACEOF
113949 #define HAVE_FLOAT_H 1
113950 _ACEOF
113951
113952          cat >>confdefs.h <<\_ACEOF
113953 #define HAVE_IEEEFP_H 1
113954 _ACEOF
113955
113956          cat >>confdefs.h <<\_ACEOF
113957 #define HAVE_INTTYPES_H 1
113958 _ACEOF
113959
113960          cat >>confdefs.h <<\_ACEOF
113961 #define HAVE_LOCALE_H 1
113962 _ACEOF
113963
113964          cat >>confdefs.h <<\_ACEOF
113965 #define HAVE_NAN_H 1
113966 _ACEOF
113967
113968          cat >>confdefs.h <<\_ACEOF
113969 #define HAVE_SYS_FILIO_H 1
113970 _ACEOF
113971
113972          cat >>confdefs.h <<\_ACEOF
113973 #define HAVE_SYS_IOCTL_H 1
113974 _ACEOF
113975
113976          cat >>confdefs.h <<\_ACEOF
113977 #define HAVE_SYS_ISA_DEFS_H 1
113978 _ACEOF
113979
113980          cat >>confdefs.h <<\_ACEOF
113981 #define HAVE_SYS_RESOURCE_H 1
113982 _ACEOF
113983
113984          cat >>confdefs.h <<\_ACEOF
113985 #define HAVE_SYS_TIME_H 1
113986 _ACEOF
113987
113988          cat >>confdefs.h <<\_ACEOF
113989 #define HAVE_SYS_TYPES_H 1
113990 _ACEOF
113991
113992          cat >>confdefs.h <<\_ACEOF
113993 #define HAVE_UNISTD_H 1
113994 _ACEOF
113995
113996          cat >>confdefs.h <<\_ACEOF
113997 #define HAVE_WCHAR_H 1
113998 _ACEOF
113999
114000          cat >>confdefs.h <<\_ACEOF
114001 #define HAVE_WCTYPE_H 1
114002 _ACEOF
114003
114004          cat >>confdefs.h <<\_ACEOF
114005 #define HAVE_LIBM 1
114006 _ACEOF
114007
114008         ;;
114009     esac
114010     case "$target" in
114011       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114012         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114013         cat >>confdefs.h <<\_ACEOF
114014 #define HAVE___BUILTIN_ABS 1
114015 _ACEOF
114016
114017         cat >>confdefs.h <<\_ACEOF
114018 #define HAVE___BUILTIN_LABS 1
114019 _ACEOF
114020
114021         cat >>confdefs.h <<\_ACEOF
114022 #define HAVE___BUILTIN_FABS 1
114023 _ACEOF
114024
114025         cat >>confdefs.h <<\_ACEOF
114026 #define HAVE___BUILTIN_FABSF 1
114027 _ACEOF
114028
114029         cat >>confdefs.h <<\_ACEOF
114030 #define HAVE___BUILTIN_FABSL 1
114031 _ACEOF
114032
114033         cat >>confdefs.h <<\_ACEOF
114034 #define HAVE___BUILTIN_COS 1
114035 _ACEOF
114036
114037         cat >>confdefs.h <<\_ACEOF
114038 #define HAVE___BUILTIN_COSF 1
114039 _ACEOF
114040
114041         cat >>confdefs.h <<\_ACEOF
114042 #define HAVE___BUILTIN_SIN 1
114043 _ACEOF
114044
114045         cat >>confdefs.h <<\_ACEOF
114046 #define HAVE___BUILTIN_SINF 1
114047 _ACEOF
114048
114049        ;;
114050     esac
114051     case "$target" in
114052       *-*-solaris2.10)
114053       # These two C99 functions are present only in Solaris >= 10
114054       cat >>confdefs.h <<\_ACEOF
114055 #define HAVE_STRTOF 1
114056 _ACEOF
114057
114058       cat >>confdefs.h <<\_ACEOF
114059 #define HAVE_STRTOLD 1
114060 _ACEOF
114061
114062      ;;
114063     esac
114064     cat >>confdefs.h <<\_ACEOF
114065 #define HAVE_COPYSIGN 1
114066 _ACEOF
114067
114068     cat >>confdefs.h <<\_ACEOF
114069 #define HAVE_ISNAN 1
114070 _ACEOF
114071
114072     cat >>confdefs.h <<\_ACEOF
114073 #define HAVE_ISNANF 1
114074 _ACEOF
114075
114076     cat >>confdefs.h <<\_ACEOF
114077 #define HAVE_MODFF 1
114078 _ACEOF
114079
114080     cat >>confdefs.h <<\_ACEOF
114081 #define HAVE_HYPOT 1
114082 _ACEOF
114083
114084     ;;
114085   *-tpf)
114086
114087
114088
114089
114090
114091
114092
114093
114094 for ac_header in nan.h endian.h machine/endian.h  \
114095       sys/param.h sys/types.h locale.h float.h inttypes.h
114096 do
114097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114099   echo "$as_me:$LINENO: checking for $ac_header" >&5
114100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114102   echo $ECHO_N "(cached) $ECHO_C" >&6
114103 fi
114104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114106 else
114107   # Is the header compilable?
114108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114110 cat >conftest.$ac_ext <<_ACEOF
114111 /* confdefs.h.  */
114112 _ACEOF
114113 cat confdefs.h >>conftest.$ac_ext
114114 cat >>conftest.$ac_ext <<_ACEOF
114115 /* end confdefs.h.  */
114116 $ac_includes_default
114117 #include <$ac_header>
114118 _ACEOF
114119 rm -f conftest.$ac_objext
114120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114121   (eval $ac_compile) 2>conftest.er1
114122   ac_status=$?
114123   grep -v '^ *+' conftest.er1 >conftest.err
114124   rm -f conftest.er1
114125   cat conftest.err >&5
114126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114127   (exit $ac_status); } &&
114128          { ac_try='test -z "$ac_c_werror_flag"
114129                          || test ! -s conftest.err'
114130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114131   (eval $ac_try) 2>&5
114132   ac_status=$?
114133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114134   (exit $ac_status); }; } &&
114135          { ac_try='test -s conftest.$ac_objext'
114136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114137   (eval $ac_try) 2>&5
114138   ac_status=$?
114139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114140   (exit $ac_status); }; }; then
114141   ac_header_compiler=yes
114142 else
114143   echo "$as_me: failed program was:" >&5
114144 sed 's/^/| /' conftest.$ac_ext >&5
114145
114146 ac_header_compiler=no
114147 fi
114148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114150 echo "${ECHO_T}$ac_header_compiler" >&6
114151
114152 # Is the header present?
114153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114155 cat >conftest.$ac_ext <<_ACEOF
114156 /* confdefs.h.  */
114157 _ACEOF
114158 cat confdefs.h >>conftest.$ac_ext
114159 cat >>conftest.$ac_ext <<_ACEOF
114160 /* end confdefs.h.  */
114161 #include <$ac_header>
114162 _ACEOF
114163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114164   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114165   ac_status=$?
114166   grep -v '^ *+' conftest.er1 >conftest.err
114167   rm -f conftest.er1
114168   cat conftest.err >&5
114169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114170   (exit $ac_status); } >/dev/null; then
114171   if test -s conftest.err; then
114172     ac_cpp_err=$ac_c_preproc_warn_flag
114173     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114174   else
114175     ac_cpp_err=
114176   fi
114177 else
114178   ac_cpp_err=yes
114179 fi
114180 if test -z "$ac_cpp_err"; then
114181   ac_header_preproc=yes
114182 else
114183   echo "$as_me: failed program was:" >&5
114184 sed 's/^/| /' conftest.$ac_ext >&5
114185
114186   ac_header_preproc=no
114187 fi
114188 rm -f conftest.err conftest.$ac_ext
114189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114190 echo "${ECHO_T}$ac_header_preproc" >&6
114191
114192 # So?  What about this header?
114193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114194   yes:no: )
114195     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114197     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114199     ac_header_preproc=yes
114200     ;;
114201   no:yes:* )
114202     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114204     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114205 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114206     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114208     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114209 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114210     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114212     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114214     (
114215       cat <<\_ASBOX
114216 ## ----------------------------------------- ##
114217 ## Report this to the package-unused lists.  ##
114218 ## ----------------------------------------- ##
114219 _ASBOX
114220     ) |
114221       sed "s/^/$as_me: WARNING:     /" >&2
114222     ;;
114223 esac
114224 echo "$as_me:$LINENO: checking for $ac_header" >&5
114225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114227   echo $ECHO_N "(cached) $ECHO_C" >&6
114228 else
114229   eval "$as_ac_Header=\$ac_header_preproc"
114230 fi
114231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114233
114234 fi
114235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114236   cat >>confdefs.h <<_ACEOF
114237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114238 _ACEOF
114239
114240 fi
114241
114242 done
114243
114244     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114245
114246
114247   # If we're not using GNU ld, then there's no point in even trying these
114248   # tests.  Check for that first.  We should have already tested for gld
114249   # by now (in libtool), but require it now just to be safe...
114250   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114251   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114252
114253
114254
114255   # The name set by libtool depends on the version of libtool.  Shame on us
114256   # for depending on an impl detail, but c'est la vie.  Older versions used
114257   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114258   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114259   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114260   # set (hence we're using an older libtool), then set it.
114261   if test x${with_gnu_ld+set} != xset; then
114262     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114263       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114264       with_gnu_ld=no
114265     else
114266       with_gnu_ld=$ac_cv_prog_gnu_ld
114267     fi
114268   fi
114269
114270   # Start by getting the version number.  I think the libtool test already
114271   # does some of this, but throws away the result.
114272   glibcxx_ld_is_gold=no
114273   if test x"$with_gnu_ld" = x"yes"; then
114274     echo "$as_me:$LINENO: checking for ld version" >&5
114275 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114276
114277     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114278       glibcxx_ld_is_gold=yes
114279     fi
114280     ldver=`$LD --version 2>/dev/null | head -1 | \
114281            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114282
114283     glibcxx_gnu_ld_version=`echo $ldver | \
114284            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114285     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114286 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114287   fi
114288
114289   # Set --gc-sections.
114290   glibcxx_have_gc_sections=no
114291   if test "$glibcxx_ld_is_gold" = "yes"; then
114292     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114293       glibcxx_have_gc_sections=yes
114294     fi
114295   else
114296     glibcxx_gcsections_min_ld=21602
114297     if test x"$with_gnu_ld" = x"yes" &&
114298         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114299       glibcxx_have_gc_sections=yes
114300     fi
114301   fi
114302   if test "$glibcxx_have_gc_sections" = "yes"; then
114303     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114304     # NB: This flag only works reliably after 2.16.1. Configure tests
114305     # for this are difficult, so hard wire a value that should work.
114306
114307     ac_test_CFLAGS="${CFLAGS+set}"
114308     ac_save_CFLAGS="$CFLAGS"
114309     CFLAGS='-Wl,--gc-sections'
114310
114311     # Check for -Wl,--gc-sections
114312     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114313 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114314     if test x$gcc_no_link = xyes; then
114315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114317    { (exit 1); exit 1; }; }
114318 fi
114319 cat >conftest.$ac_ext <<_ACEOF
114320 /* confdefs.h.  */
114321 _ACEOF
114322 cat confdefs.h >>conftest.$ac_ext
114323 cat >>conftest.$ac_ext <<_ACEOF
114324 /* end confdefs.h.  */
114325  int one(void) { return 1; }
114326      int two(void) { return 2; }
114327
114328 int
114329 main ()
114330 {
114331  two();
114332   ;
114333   return 0;
114334 }
114335 _ACEOF
114336 rm -f conftest.$ac_objext conftest$ac_exeext
114337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114338   (eval $ac_link) 2>conftest.er1
114339   ac_status=$?
114340   grep -v '^ *+' conftest.er1 >conftest.err
114341   rm -f conftest.er1
114342   cat conftest.err >&5
114343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114344   (exit $ac_status); } &&
114345          { ac_try='test -z "$ac_c_werror_flag"
114346                          || test ! -s conftest.err'
114347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114348   (eval $ac_try) 2>&5
114349   ac_status=$?
114350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114351   (exit $ac_status); }; } &&
114352          { ac_try='test -s conftest$ac_exeext'
114353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114354   (eval $ac_try) 2>&5
114355   ac_status=$?
114356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114357   (exit $ac_status); }; }; then
114358   ac_gcsections=yes
114359 else
114360   echo "$as_me: failed program was:" >&5
114361 sed 's/^/| /' conftest.$ac_ext >&5
114362
114363 ac_gcsections=no
114364 fi
114365 rm -f conftest.err conftest.$ac_objext \
114366       conftest$ac_exeext conftest.$ac_ext
114367     if test "$ac_gcsections" = "yes"; then
114368       rm -f conftest.c
114369       touch conftest.c
114370       if $CC -c conftest.c; then
114371         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114372            grep "Warning: gc-sections option ignored" > /dev/null; then
114373           ac_gcsections=no
114374         fi
114375       fi
114376       rm -f conftest.c conftest.o conftest
114377     fi
114378     if test "$ac_gcsections" = "yes"; then
114379       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114380     fi
114381     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114382 echo "${ECHO_T}$ac_gcsections" >&6
114383
114384     if test "$ac_test_CFLAGS" = set; then
114385       CFLAGS="$ac_save_CFLAGS"
114386     else
114387       # this is the suspicious part
114388       CFLAGS=''
114389     fi
114390   fi
114391
114392   # Set -z,relro.
114393   # Note this is only for shared objects.
114394   ac_ld_relro=no
114395   if test x"$with_gnu_ld" = x"yes"; then
114396     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114397 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114398     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114399     if test -n "$cxx_z_relo"; then
114400       OPT_LDFLAGS="-Wl,-z,relro"
114401       ac_ld_relro=yes
114402     fi
114403     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114404 echo "${ECHO_T}$ac_ld_relro" >&6
114405   fi
114406
114407   # Set linker optimization flags.
114408   if test x"$with_gnu_ld" = x"yes"; then
114409     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114410   fi
114411
114412
114413
114414
114415
114416
114417 echo "$as_me:$LINENO: checking for main in -lm" >&5
114418 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114419 if test "${ac_cv_lib_m_main+set}" = set; then
114420   echo $ECHO_N "(cached) $ECHO_C" >&6
114421 else
114422   ac_check_lib_save_LIBS=$LIBS
114423 LIBS="-lm  $LIBS"
114424 if test x$gcc_no_link = xyes; then
114425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114427    { (exit 1); exit 1; }; }
114428 fi
114429 cat >conftest.$ac_ext <<_ACEOF
114430 /* confdefs.h.  */
114431 _ACEOF
114432 cat confdefs.h >>conftest.$ac_ext
114433 cat >>conftest.$ac_ext <<_ACEOF
114434 /* end confdefs.h.  */
114435
114436
114437 int
114438 main ()
114439 {
114440 main ();
114441   ;
114442   return 0;
114443 }
114444 _ACEOF
114445 rm -f conftest.$ac_objext conftest$ac_exeext
114446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114447   (eval $ac_link) 2>conftest.er1
114448   ac_status=$?
114449   grep -v '^ *+' conftest.er1 >conftest.err
114450   rm -f conftest.er1
114451   cat conftest.err >&5
114452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114453   (exit $ac_status); } &&
114454          { ac_try='test -z "$ac_c_werror_flag"
114455                          || test ! -s conftest.err'
114456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114457   (eval $ac_try) 2>&5
114458   ac_status=$?
114459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114460   (exit $ac_status); }; } &&
114461          { ac_try='test -s conftest$ac_exeext'
114462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114463   (eval $ac_try) 2>&5
114464   ac_status=$?
114465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114466   (exit $ac_status); }; }; then
114467   ac_cv_lib_m_main=yes
114468 else
114469   echo "$as_me: failed program was:" >&5
114470 sed 's/^/| /' conftest.$ac_ext >&5
114471
114472 ac_cv_lib_m_main=no
114473 fi
114474 rm -f conftest.err conftest.$ac_objext \
114475       conftest$ac_exeext conftest.$ac_ext
114476 LIBS=$ac_check_lib_save_LIBS
114477 fi
114478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114479 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114480 if test $ac_cv_lib_m_main = yes; then
114481   cat >>confdefs.h <<_ACEOF
114482 #define HAVE_LIBM 1
114483 _ACEOF
114484
114485   LIBS="-lm $LIBS"
114486
114487 fi
114488
114489
114490 for ac_func in copysignf
114491 do
114492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114493 echo "$as_me:$LINENO: checking for $ac_func" >&5
114494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114495 if eval "test \"\${$as_ac_var+set}\" = set"; then
114496   echo $ECHO_N "(cached) $ECHO_C" >&6
114497 else
114498   if test x$gcc_no_link = xyes; then
114499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114501    { (exit 1); exit 1; }; }
114502 fi
114503 cat >conftest.$ac_ext <<_ACEOF
114504 /* confdefs.h.  */
114505 _ACEOF
114506 cat confdefs.h >>conftest.$ac_ext
114507 cat >>conftest.$ac_ext <<_ACEOF
114508 /* end confdefs.h.  */
114509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114511 #define $ac_func innocuous_$ac_func
114512
114513 /* System header to define __stub macros and hopefully few prototypes,
114514     which can conflict with char $ac_func (); below.
114515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114516     <limits.h> exists even on freestanding compilers.  */
114517
114518 #ifdef __STDC__
114519 # include <limits.h>
114520 #else
114521 # include <assert.h>
114522 #endif
114523
114524 #undef $ac_func
114525
114526 /* Override any gcc2 internal prototype to avoid an error.  */
114527 #ifdef __cplusplus
114528 extern "C"
114529 {
114530 #endif
114531 /* We use char because int might match the return type of a gcc2
114532    builtin and then its argument prototype would still apply.  */
114533 char $ac_func ();
114534 /* The GNU C library defines this for functions which it implements
114535     to always fail with ENOSYS.  Some functions are actually named
114536     something starting with __ and the normal name is an alias.  */
114537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114538 choke me
114539 #else
114540 char (*f) () = $ac_func;
114541 #endif
114542 #ifdef __cplusplus
114543 }
114544 #endif
114545
114546 int
114547 main ()
114548 {
114549 return f != $ac_func;
114550   ;
114551   return 0;
114552 }
114553 _ACEOF
114554 rm -f conftest.$ac_objext conftest$ac_exeext
114555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114556   (eval $ac_link) 2>conftest.er1
114557   ac_status=$?
114558   grep -v '^ *+' conftest.er1 >conftest.err
114559   rm -f conftest.er1
114560   cat conftest.err >&5
114561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114562   (exit $ac_status); } &&
114563          { ac_try='test -z "$ac_c_werror_flag"
114564                          || test ! -s conftest.err'
114565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114566   (eval $ac_try) 2>&5
114567   ac_status=$?
114568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114569   (exit $ac_status); }; } &&
114570          { ac_try='test -s conftest$ac_exeext'
114571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114572   (eval $ac_try) 2>&5
114573   ac_status=$?
114574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114575   (exit $ac_status); }; }; then
114576   eval "$as_ac_var=yes"
114577 else
114578   echo "$as_me: failed program was:" >&5
114579 sed 's/^/| /' conftest.$ac_ext >&5
114580
114581 eval "$as_ac_var=no"
114582 fi
114583 rm -f conftest.err conftest.$ac_objext \
114584       conftest$ac_exeext conftest.$ac_ext
114585 fi
114586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114588 if test `eval echo '${'$as_ac_var'}'` = yes; then
114589   cat >>confdefs.h <<_ACEOF
114590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114591 _ACEOF
114592
114593 else
114594   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114595 fi
114596 done
114597
114598
114599
114600 for ac_func in __signbit
114601 do
114602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114603 echo "$as_me:$LINENO: checking for $ac_func" >&5
114604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114605 if eval "test \"\${$as_ac_var+set}\" = set"; then
114606   echo $ECHO_N "(cached) $ECHO_C" >&6
114607 else
114608   if test x$gcc_no_link = xyes; then
114609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114611    { (exit 1); exit 1; }; }
114612 fi
114613 cat >conftest.$ac_ext <<_ACEOF
114614 /* confdefs.h.  */
114615 _ACEOF
114616 cat confdefs.h >>conftest.$ac_ext
114617 cat >>conftest.$ac_ext <<_ACEOF
114618 /* end confdefs.h.  */
114619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114620    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114621 #define $ac_func innocuous_$ac_func
114622
114623 /* System header to define __stub macros and hopefully few prototypes,
114624     which can conflict with char $ac_func (); below.
114625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114626     <limits.h> exists even on freestanding compilers.  */
114627
114628 #ifdef __STDC__
114629 # include <limits.h>
114630 #else
114631 # include <assert.h>
114632 #endif
114633
114634 #undef $ac_func
114635
114636 /* Override any gcc2 internal prototype to avoid an error.  */
114637 #ifdef __cplusplus
114638 extern "C"
114639 {
114640 #endif
114641 /* We use char because int might match the return type of a gcc2
114642    builtin and then its argument prototype would still apply.  */
114643 char $ac_func ();
114644 /* The GNU C library defines this for functions which it implements
114645     to always fail with ENOSYS.  Some functions are actually named
114646     something starting with __ and the normal name is an alias.  */
114647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114648 choke me
114649 #else
114650 char (*f) () = $ac_func;
114651 #endif
114652 #ifdef __cplusplus
114653 }
114654 #endif
114655
114656 int
114657 main ()
114658 {
114659 return f != $ac_func;
114660   ;
114661   return 0;
114662 }
114663 _ACEOF
114664 rm -f conftest.$ac_objext conftest$ac_exeext
114665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114666   (eval $ac_link) 2>conftest.er1
114667   ac_status=$?
114668   grep -v '^ *+' conftest.er1 >conftest.err
114669   rm -f conftest.er1
114670   cat conftest.err >&5
114671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114672   (exit $ac_status); } &&
114673          { ac_try='test -z "$ac_c_werror_flag"
114674                          || test ! -s conftest.err'
114675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114676   (eval $ac_try) 2>&5
114677   ac_status=$?
114678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114679   (exit $ac_status); }; } &&
114680          { ac_try='test -s conftest$ac_exeext'
114681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114682   (eval $ac_try) 2>&5
114683   ac_status=$?
114684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114685   (exit $ac_status); }; }; then
114686   eval "$as_ac_var=yes"
114687 else
114688   echo "$as_me: failed program was:" >&5
114689 sed 's/^/| /' conftest.$ac_ext >&5
114690
114691 eval "$as_ac_var=no"
114692 fi
114693 rm -f conftest.err conftest.$ac_objext \
114694       conftest$ac_exeext conftest.$ac_ext
114695 fi
114696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114698 if test `eval echo '${'$as_ac_var'}'` = yes; then
114699   cat >>confdefs.h <<_ACEOF
114700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114701 _ACEOF
114702
114703 else
114704   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114705 fi
114706 done
114707
114708
114709
114710 for ac_func in __signbitf
114711 do
114712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114713 echo "$as_me:$LINENO: checking for $ac_func" >&5
114714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114715 if eval "test \"\${$as_ac_var+set}\" = set"; then
114716   echo $ECHO_N "(cached) $ECHO_C" >&6
114717 else
114718   if test x$gcc_no_link = xyes; then
114719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114721    { (exit 1); exit 1; }; }
114722 fi
114723 cat >conftest.$ac_ext <<_ACEOF
114724 /* confdefs.h.  */
114725 _ACEOF
114726 cat confdefs.h >>conftest.$ac_ext
114727 cat >>conftest.$ac_ext <<_ACEOF
114728 /* end confdefs.h.  */
114729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114731 #define $ac_func innocuous_$ac_func
114732
114733 /* System header to define __stub macros and hopefully few prototypes,
114734     which can conflict with char $ac_func (); below.
114735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114736     <limits.h> exists even on freestanding compilers.  */
114737
114738 #ifdef __STDC__
114739 # include <limits.h>
114740 #else
114741 # include <assert.h>
114742 #endif
114743
114744 #undef $ac_func
114745
114746 /* Override any gcc2 internal prototype to avoid an error.  */
114747 #ifdef __cplusplus
114748 extern "C"
114749 {
114750 #endif
114751 /* We use char because int might match the return type of a gcc2
114752    builtin and then its argument prototype would still apply.  */
114753 char $ac_func ();
114754 /* The GNU C library defines this for functions which it implements
114755     to always fail with ENOSYS.  Some functions are actually named
114756     something starting with __ and the normal name is an alias.  */
114757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114758 choke me
114759 #else
114760 char (*f) () = $ac_func;
114761 #endif
114762 #ifdef __cplusplus
114763 }
114764 #endif
114765
114766 int
114767 main ()
114768 {
114769 return f != $ac_func;
114770   ;
114771   return 0;
114772 }
114773 _ACEOF
114774 rm -f conftest.$ac_objext conftest$ac_exeext
114775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114776   (eval $ac_link) 2>conftest.er1
114777   ac_status=$?
114778   grep -v '^ *+' conftest.er1 >conftest.err
114779   rm -f conftest.er1
114780   cat conftest.err >&5
114781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114782   (exit $ac_status); } &&
114783          { ac_try='test -z "$ac_c_werror_flag"
114784                          || test ! -s conftest.err'
114785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114786   (eval $ac_try) 2>&5
114787   ac_status=$?
114788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114789   (exit $ac_status); }; } &&
114790          { ac_try='test -s conftest$ac_exeext'
114791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114792   (eval $ac_try) 2>&5
114793   ac_status=$?
114794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114795   (exit $ac_status); }; }; then
114796   eval "$as_ac_var=yes"
114797 else
114798   echo "$as_me: failed program was:" >&5
114799 sed 's/^/| /' conftest.$ac_ext >&5
114800
114801 eval "$as_ac_var=no"
114802 fi
114803 rm -f conftest.err conftest.$ac_objext \
114804       conftest$ac_exeext conftest.$ac_ext
114805 fi
114806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114808 if test `eval echo '${'$as_ac_var'}'` = yes; then
114809   cat >>confdefs.h <<_ACEOF
114810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114811 _ACEOF
114812
114813 else
114814   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114815 fi
114816 done
114817
114818
114819           if test x$ac_cv_func_copysignl = x"yes"; then
114820
114821 for ac_func in __signbitl
114822 do
114823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114824 echo "$as_me:$LINENO: checking for $ac_func" >&5
114825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114826 if eval "test \"\${$as_ac_var+set}\" = set"; then
114827   echo $ECHO_N "(cached) $ECHO_C" >&6
114828 else
114829   if test x$gcc_no_link = xyes; then
114830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114832    { (exit 1); exit 1; }; }
114833 fi
114834 cat >conftest.$ac_ext <<_ACEOF
114835 /* confdefs.h.  */
114836 _ACEOF
114837 cat confdefs.h >>conftest.$ac_ext
114838 cat >>conftest.$ac_ext <<_ACEOF
114839 /* end confdefs.h.  */
114840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114842 #define $ac_func innocuous_$ac_func
114843
114844 /* System header to define __stub macros and hopefully few prototypes,
114845     which can conflict with char $ac_func (); below.
114846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114847     <limits.h> exists even on freestanding compilers.  */
114848
114849 #ifdef __STDC__
114850 # include <limits.h>
114851 #else
114852 # include <assert.h>
114853 #endif
114854
114855 #undef $ac_func
114856
114857 /* Override any gcc2 internal prototype to avoid an error.  */
114858 #ifdef __cplusplus
114859 extern "C"
114860 {
114861 #endif
114862 /* We use char because int might match the return type of a gcc2
114863    builtin and then its argument prototype would still apply.  */
114864 char $ac_func ();
114865 /* The GNU C library defines this for functions which it implements
114866     to always fail with ENOSYS.  Some functions are actually named
114867     something starting with __ and the normal name is an alias.  */
114868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114869 choke me
114870 #else
114871 char (*f) () = $ac_func;
114872 #endif
114873 #ifdef __cplusplus
114874 }
114875 #endif
114876
114877 int
114878 main ()
114879 {
114880 return f != $ac_func;
114881   ;
114882   return 0;
114883 }
114884 _ACEOF
114885 rm -f conftest.$ac_objext conftest$ac_exeext
114886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114887   (eval $ac_link) 2>conftest.er1
114888   ac_status=$?
114889   grep -v '^ *+' conftest.er1 >conftest.err
114890   rm -f conftest.er1
114891   cat conftest.err >&5
114892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114893   (exit $ac_status); } &&
114894          { ac_try='test -z "$ac_c_werror_flag"
114895                          || test ! -s conftest.err'
114896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114897   (eval $ac_try) 2>&5
114898   ac_status=$?
114899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114900   (exit $ac_status); }; } &&
114901          { ac_try='test -s conftest$ac_exeext'
114902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114903   (eval $ac_try) 2>&5
114904   ac_status=$?
114905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114906   (exit $ac_status); }; }; then
114907   eval "$as_ac_var=yes"
114908 else
114909   echo "$as_me: failed program was:" >&5
114910 sed 's/^/| /' conftest.$ac_ext >&5
114911
114912 eval "$as_ac_var=no"
114913 fi
114914 rm -f conftest.err conftest.$ac_objext \
114915       conftest$ac_exeext conftest.$ac_ext
114916 fi
114917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114919 if test `eval echo '${'$as_ac_var'}'` = yes; then
114920   cat >>confdefs.h <<_ACEOF
114921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114922 _ACEOF
114923
114924 else
114925   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114926 fi
114927 done
114928
114929   fi
114930
114931   # Used in libmath/Makefile.am.
114932   if test -n "$LIBMATHOBJS"; then
114933     need_libmath=yes
114934   fi
114935
114936
114937     cat >>confdefs.h <<\_ACEOF
114938 #define HAVE_COPYSIGN 1
114939 _ACEOF
114940
114941     cat >>confdefs.h <<\_ACEOF
114942 #define HAVE_COPYSIGNF 1
114943 _ACEOF
114944
114945     cat >>confdefs.h <<\_ACEOF
114946 #define HAVE_FINITE 1
114947 _ACEOF
114948
114949     cat >>confdefs.h <<\_ACEOF
114950 #define HAVE_FINITEF 1
114951 _ACEOF
114952
114953     cat >>confdefs.h <<\_ACEOF
114954 #define HAVE_FREXPF 1
114955 _ACEOF
114956
114957     cat >>confdefs.h <<\_ACEOF
114958 #define HAVE_HYPOTF 1
114959 _ACEOF
114960
114961     cat >>confdefs.h <<\_ACEOF
114962 #define HAVE_ISINF 1
114963 _ACEOF
114964
114965     cat >>confdefs.h <<\_ACEOF
114966 #define HAVE_ISINFF 1
114967 _ACEOF
114968
114969     cat >>confdefs.h <<\_ACEOF
114970 #define HAVE_ISNAN 1
114971 _ACEOF
114972
114973     cat >>confdefs.h <<\_ACEOF
114974 #define HAVE_ISNANF 1
114975 _ACEOF
114976
114977     cat >>confdefs.h <<\_ACEOF
114978 #define HAVE_SINCOS 1
114979 _ACEOF
114980
114981     cat >>confdefs.h <<\_ACEOF
114982 #define HAVE_SINCOSF 1
114983 _ACEOF
114984
114985     if test x"long_double_math_on_this_cpu" = x"yes"; then
114986       cat >>confdefs.h <<\_ACEOF
114987 #define HAVE_FINITEL 1
114988 _ACEOF
114989
114990       cat >>confdefs.h <<\_ACEOF
114991 #define HAVE_HYPOTL 1
114992 _ACEOF
114993
114994       cat >>confdefs.h <<\_ACEOF
114995 #define HAVE_ISINFL 1
114996 _ACEOF
114997
114998       cat >>confdefs.h <<\_ACEOF
114999 #define HAVE_ISNANL 1
115000 _ACEOF
115001
115002     fi
115003     ;;
115004   *-vxworks)
115005     cat >>confdefs.h <<\_ACEOF
115006 #define HAVE_ACOSF 1
115007 _ACEOF
115008
115009     cat >>confdefs.h <<\_ACEOF
115010 #define HAVE_ASINF 1
115011 _ACEOF
115012
115013     cat >>confdefs.h <<\_ACEOF
115014 #define HAVE_ATAN2F 1
115015 _ACEOF
115016
115017     cat >>confdefs.h <<\_ACEOF
115018 #define HAVE_ATANF 1
115019 _ACEOF
115020
115021     cat >>confdefs.h <<\_ACEOF
115022 #define HAVE_CEILF 1
115023 _ACEOF
115024
115025     cat >>confdefs.h <<\_ACEOF
115026 #define HAVE_COSF 1
115027 _ACEOF
115028
115029     cat >>confdefs.h <<\_ACEOF
115030 #define HAVE_COSHF 1
115031 _ACEOF
115032
115033     cat >>confdefs.h <<\_ACEOF
115034 #define HAVE_EXPF 1
115035 _ACEOF
115036
115037     cat >>confdefs.h <<\_ACEOF
115038 #define HAVE_FABSF 1
115039 _ACEOF
115040
115041     cat >>confdefs.h <<\_ACEOF
115042 #define HAVE_FLOORF 1
115043 _ACEOF
115044
115045     cat >>confdefs.h <<\_ACEOF
115046 #define HAVE_FMODF 1
115047 _ACEOF
115048
115049     cat >>confdefs.h <<\_ACEOF
115050 #define HAVE_HYPOT 1
115051 _ACEOF
115052
115053     cat >>confdefs.h <<\_ACEOF
115054 #define HAVE_LOG10F 1
115055 _ACEOF
115056
115057     cat >>confdefs.h <<\_ACEOF
115058 #define HAVE_LOGF 1
115059 _ACEOF
115060
115061     cat >>confdefs.h <<\_ACEOF
115062 #define HAVE_POWF 1
115063 _ACEOF
115064
115065     cat >>confdefs.h <<\_ACEOF
115066 #define HAVE_SINF 1
115067 _ACEOF
115068
115069     cat >>confdefs.h <<\_ACEOF
115070 #define HAVE_SINHF 1
115071 _ACEOF
115072
115073     cat >>confdefs.h <<\_ACEOF
115074 #define HAVE_SQRTF 1
115075 _ACEOF
115076
115077     cat >>confdefs.h <<\_ACEOF
115078 #define HAVE_TANF 1
115079 _ACEOF
115080
115081     cat >>confdefs.h <<\_ACEOF
115082 #define HAVE_TANHF 1
115083 _ACEOF
115084
115085     ;;
115086   *)
115087     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115088 echo "$as_me: error: No support for this host/target combination." >&2;}
115089    { (exit 1); exit 1; }; }
115090    ;;
115091 esac
115092
115093   fi
115094
115095   # At some point, we should differentiate between architectures
115096   # like x86, which have long double versions, and alpha/powerpc/etc.,
115097   # which don't. For the time being, punt.
115098   if test x"long_double_math_on_this_cpu" = x"yes"; then
115099     cat >>confdefs.h <<\_ACEOF
115100 #define HAVE_ACOSL 1
115101 _ACEOF
115102
115103     cat >>confdefs.h <<\_ACEOF
115104 #define HAVE_ASINL 1
115105 _ACEOF
115106
115107     cat >>confdefs.h <<\_ACEOF
115108 #define HAVE_ATAN2L 1
115109 _ACEOF
115110
115111     cat >>confdefs.h <<\_ACEOF
115112 #define HAVE_ATANL 1
115113 _ACEOF
115114
115115     cat >>confdefs.h <<\_ACEOF
115116 #define HAVE_CEILL 1
115117 _ACEOF
115118
115119     cat >>confdefs.h <<\_ACEOF
115120 #define HAVE_COPYSIGNL 1
115121 _ACEOF
115122
115123     cat >>confdefs.h <<\_ACEOF
115124 #define HAVE_COSL 1
115125 _ACEOF
115126
115127     cat >>confdefs.h <<\_ACEOF
115128 #define HAVE_COSHL 1
115129 _ACEOF
115130
115131     cat >>confdefs.h <<\_ACEOF
115132 #define HAVE_EXPL 1
115133 _ACEOF
115134
115135     cat >>confdefs.h <<\_ACEOF
115136 #define HAVE_FABSL 1
115137 _ACEOF
115138
115139     cat >>confdefs.h <<\_ACEOF
115140 #define HAVE_FLOORL 1
115141 _ACEOF
115142
115143     cat >>confdefs.h <<\_ACEOF
115144 #define HAVE_FMODL 1
115145 _ACEOF
115146
115147     cat >>confdefs.h <<\_ACEOF
115148 #define HAVE_FREXPL 1
115149 _ACEOF
115150
115151     cat >>confdefs.h <<\_ACEOF
115152 #define HAVE_LDEXPL 1
115153 _ACEOF
115154
115155     cat >>confdefs.h <<\_ACEOF
115156 #define HAVE_LOG10L 1
115157 _ACEOF
115158
115159     cat >>confdefs.h <<\_ACEOF
115160 #define HAVE_LOGL 1
115161 _ACEOF
115162
115163     cat >>confdefs.h <<\_ACEOF
115164 #define HAVE_MODFL 1
115165 _ACEOF
115166
115167     cat >>confdefs.h <<\_ACEOF
115168 #define HAVE_POWL 1
115169 _ACEOF
115170
115171     cat >>confdefs.h <<\_ACEOF
115172 #define HAVE_SINCOSL 1
115173 _ACEOF
115174
115175     cat >>confdefs.h <<\_ACEOF
115176 #define HAVE_SINL 1
115177 _ACEOF
115178
115179     cat >>confdefs.h <<\_ACEOF
115180 #define HAVE_SINHL 1
115181 _ACEOF
115182
115183     cat >>confdefs.h <<\_ACEOF
115184 #define HAVE_SQRTL 1
115185 _ACEOF
115186
115187     cat >>confdefs.h <<\_ACEOF
115188 #define HAVE_TANL 1
115189 _ACEOF
115190
115191     cat >>confdefs.h <<\_ACEOF
115192 #define HAVE_TANHL 1
115193 _ACEOF
115194
115195   fi
115196
115197   # Assume we have _Unwind_GetIPInfo for cross-compiles.
115198   cat >>confdefs.h <<\_ACEOF
115199 #define HAVE_GETIPINFO 1
115200 _ACEOF
115201
115202 fi
115203
115204  # Check whether --enable-linux-futex or --disable-linux-futex was given.
115205 if test "${enable_linux_futex+set}" = set; then
115206   enableval="$enable_linux_futex"
115207
115208       case "$enableval" in
115209        yes|no|default) ;;
115210        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115211 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115212    { (exit 1); exit 1; }; } ;;
115213                           esac
115214
115215 else
115216   enable_linux_futex=default
115217 fi;
115218
115219 case "$target" in
115220   *-linux*)
115221     case "$enable_linux_futex" in
115222       default)
115223         # If headers don't have gettid/futex syscalls definition, then
115224         # default to no, otherwise there will be compile time failures.
115225         # Otherwise, default to yes.  If we don't detect we are
115226         # compiled/linked against NPTL and not cross-compiling, check
115227         # if programs are run by default against NPTL and if not, issue
115228         # a warning.
115229         enable_linux_futex=no
115230         if test x$gcc_no_link = xyes; then
115231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115233    { (exit 1); exit 1; }; }
115234 fi
115235 cat >conftest.$ac_ext <<_ACEOF
115236 /* confdefs.h.  */
115237 _ACEOF
115238 cat confdefs.h >>conftest.$ac_ext
115239 cat >>conftest.$ac_ext <<_ACEOF
115240 /* end confdefs.h.  */
115241 #include <sys/syscall.h>
115242            int lk;
115243 int
115244 main ()
115245 {
115246 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115247   ;
115248   return 0;
115249 }
115250 _ACEOF
115251 rm -f conftest.$ac_objext conftest$ac_exeext
115252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115253   (eval $ac_link) 2>conftest.er1
115254   ac_status=$?
115255   grep -v '^ *+' conftest.er1 >conftest.err
115256   rm -f conftest.er1
115257   cat conftest.err >&5
115258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115259   (exit $ac_status); } &&
115260          { ac_try='test -z "$ac_c_werror_flag"
115261                          || test ! -s conftest.err'
115262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115263   (eval $ac_try) 2>&5
115264   ac_status=$?
115265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115266   (exit $ac_status); }; } &&
115267          { ac_try='test -s conftest$ac_exeext'
115268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115269   (eval $ac_try) 2>&5
115270   ac_status=$?
115271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115272   (exit $ac_status); }; }; then
115273   save_LIBS="$LIBS"
115274            LIBS="-lpthread $LIBS"
115275            if test x$gcc_no_link = xyes; then
115276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115278    { (exit 1); exit 1; }; }
115279 fi
115280 cat >conftest.$ac_ext <<_ACEOF
115281 /* confdefs.h.  */
115282 _ACEOF
115283 cat confdefs.h >>conftest.$ac_ext
115284 cat >>conftest.$ac_ext <<_ACEOF
115285 /* end confdefs.h.  */
115286 #ifndef _GNU_SOURCE
115287              #define _GNU_SOURCE 1
115288              #endif
115289              #include <pthread.h>
115290              pthread_t th; void *status;
115291 int
115292 main ()
115293 {
115294 pthread_tryjoin_np (th, &status);
115295   ;
115296   return 0;
115297 }
115298 _ACEOF
115299 rm -f conftest.$ac_objext conftest$ac_exeext
115300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115301   (eval $ac_link) 2>conftest.er1
115302   ac_status=$?
115303   grep -v '^ *+' conftest.er1 >conftest.err
115304   rm -f conftest.er1
115305   cat conftest.err >&5
115306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115307   (exit $ac_status); } &&
115308          { ac_try='test -z "$ac_c_werror_flag"
115309                          || test ! -s conftest.err'
115310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115311   (eval $ac_try) 2>&5
115312   ac_status=$?
115313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115314   (exit $ac_status); }; } &&
115315          { ac_try='test -s conftest$ac_exeext'
115316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115317   (eval $ac_try) 2>&5
115318   ac_status=$?
115319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115320   (exit $ac_status); }; }; then
115321   enable_linux_futex=yes
115322 else
115323   echo "$as_me: failed program was:" >&5
115324 sed 's/^/| /' conftest.$ac_ext >&5
115325
115326 if test x$cross_compiling = xno; then
115327                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115328                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115329                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115330 If so, please configure with --disable-linux-futex" >&5
115331 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115332 If so, please configure with --disable-linux-futex" >&2;}
115333                fi
115334              fi
115335              enable_linux_futex=yes
115336 fi
115337 rm -f conftest.err conftest.$ac_objext \
115338       conftest$ac_exeext conftest.$ac_ext
115339            LIBS="$save_LIBS"
115340 else
115341   echo "$as_me: failed program was:" >&5
115342 sed 's/^/| /' conftest.$ac_ext >&5
115343
115344 fi
115345 rm -f conftest.err conftest.$ac_objext \
115346       conftest$ac_exeext conftest.$ac_ext
115347         ;;
115348       yes)
115349         if test x$gcc_no_link = xyes; then
115350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115352    { (exit 1); exit 1; }; }
115353 fi
115354 cat >conftest.$ac_ext <<_ACEOF
115355 /* confdefs.h.  */
115356 _ACEOF
115357 cat confdefs.h >>conftest.$ac_ext
115358 cat >>conftest.$ac_ext <<_ACEOF
115359 /* end confdefs.h.  */
115360 #include <sys/syscall.h>
115361            int lk;
115362 int
115363 main ()
115364 {
115365 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115366   ;
115367   return 0;
115368 }
115369 _ACEOF
115370 rm -f conftest.$ac_objext conftest$ac_exeext
115371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115372   (eval $ac_link) 2>conftest.er1
115373   ac_status=$?
115374   grep -v '^ *+' conftest.er1 >conftest.err
115375   rm -f conftest.er1
115376   cat conftest.err >&5
115377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115378   (exit $ac_status); } &&
115379          { ac_try='test -z "$ac_c_werror_flag"
115380                          || test ! -s conftest.err'
115381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115382   (eval $ac_try) 2>&5
115383   ac_status=$?
115384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115385   (exit $ac_status); }; } &&
115386          { ac_try='test -s conftest$ac_exeext'
115387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115388   (eval $ac_try) 2>&5
115389   ac_status=$?
115390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115391   (exit $ac_status); }; }; then
115392   :
115393 else
115394   echo "$as_me: failed program was:" >&5
115395 sed 's/^/| /' conftest.$ac_ext >&5
115396
115397 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115398 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115399    { (exit 1); exit 1; }; }
115400 fi
115401 rm -f conftest.err conftest.$ac_objext \
115402       conftest$ac_exeext conftest.$ac_ext
115403         ;;
115404     esac
115405     ;;
115406   *)
115407     enable_linux_futex=no
115408     ;;
115409 esac
115410 if test x$enable_linux_futex = xyes; then
115411
115412 cat >>confdefs.h <<\_ACEOF
115413 #define HAVE_LINUX_FUTEX 1
115414 _ACEOF
115415
115416 fi
115417
115418
115419
115420
115421 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
115422
115423 acx_cv_header_stdint=stddef.h
115424 acx_cv_header_stdint_kind="(already complete)"
115425 for i in stdint.h $inttype_headers; do
115426   unset ac_cv_type_uintptr_t
115427   unset ac_cv_type_uintmax_t
115428   unset ac_cv_type_int_least32_t
115429   unset ac_cv_type_int_fast32_t
115430   unset ac_cv_type_uint64_t
115431   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
115432   echo "$as_me:$LINENO: checking for uintmax_t" >&5
115433 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
115434 if test "${ac_cv_type_uintmax_t+set}" = set; then
115435   echo $ECHO_N "(cached) $ECHO_C" >&6
115436 else
115437   cat >conftest.$ac_ext <<_ACEOF
115438 /* confdefs.h.  */
115439 _ACEOF
115440 cat confdefs.h >>conftest.$ac_ext
115441 cat >>conftest.$ac_ext <<_ACEOF
115442 /* end confdefs.h.  */
115443 #include <sys/types.h>
115444 #include <$i>
115445
115446 int
115447 main ()
115448 {
115449 if ((uintmax_t *) 0)
115450   return 0;
115451 if (sizeof (uintmax_t))
115452   return 0;
115453   ;
115454   return 0;
115455 }
115456 _ACEOF
115457 rm -f conftest.$ac_objext
115458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115459   (eval $ac_compile) 2>conftest.er1
115460   ac_status=$?
115461   grep -v '^ *+' conftest.er1 >conftest.err
115462   rm -f conftest.er1
115463   cat conftest.err >&5
115464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115465   (exit $ac_status); } &&
115466          { ac_try='test -z "$ac_c_werror_flag"
115467                          || test ! -s conftest.err'
115468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115469   (eval $ac_try) 2>&5
115470   ac_status=$?
115471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115472   (exit $ac_status); }; } &&
115473          { ac_try='test -s conftest.$ac_objext'
115474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115475   (eval $ac_try) 2>&5
115476   ac_status=$?
115477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115478   (exit $ac_status); }; }; then
115479   ac_cv_type_uintmax_t=yes
115480 else
115481   echo "$as_me: failed program was:" >&5
115482 sed 's/^/| /' conftest.$ac_ext >&5
115483
115484 ac_cv_type_uintmax_t=no
115485 fi
115486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115487 fi
115488 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
115489 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
115490 if test $ac_cv_type_uintmax_t = yes; then
115491   acx_cv_header_stdint=$i
115492 else
115493   continue
115494 fi
115495
115496   echo "$as_me:$LINENO: checking for uintptr_t" >&5
115497 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
115498 if test "${ac_cv_type_uintptr_t+set}" = set; then
115499   echo $ECHO_N "(cached) $ECHO_C" >&6
115500 else
115501   cat >conftest.$ac_ext <<_ACEOF
115502 /* confdefs.h.  */
115503 _ACEOF
115504 cat confdefs.h >>conftest.$ac_ext
115505 cat >>conftest.$ac_ext <<_ACEOF
115506 /* end confdefs.h.  */
115507 #include <sys/types.h>
115508 #include <$i>
115509
115510 int
115511 main ()
115512 {
115513 if ((uintptr_t *) 0)
115514   return 0;
115515 if (sizeof (uintptr_t))
115516   return 0;
115517   ;
115518   return 0;
115519 }
115520 _ACEOF
115521 rm -f conftest.$ac_objext
115522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115523   (eval $ac_compile) 2>conftest.er1
115524   ac_status=$?
115525   grep -v '^ *+' conftest.er1 >conftest.err
115526   rm -f conftest.er1
115527   cat conftest.err >&5
115528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115529   (exit $ac_status); } &&
115530          { ac_try='test -z "$ac_c_werror_flag"
115531                          || test ! -s conftest.err'
115532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115533   (eval $ac_try) 2>&5
115534   ac_status=$?
115535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115536   (exit $ac_status); }; } &&
115537          { ac_try='test -s conftest.$ac_objext'
115538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115539   (eval $ac_try) 2>&5
115540   ac_status=$?
115541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115542   (exit $ac_status); }; }; then
115543   ac_cv_type_uintptr_t=yes
115544 else
115545   echo "$as_me: failed program was:" >&5
115546 sed 's/^/| /' conftest.$ac_ext >&5
115547
115548 ac_cv_type_uintptr_t=no
115549 fi
115550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115551 fi
115552 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
115553 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
115554 if test $ac_cv_type_uintptr_t = yes; then
115555   :
115556 else
115557   acx_cv_header_stdint_kind="(mostly complete)"
115558 fi
115559
115560   echo "$as_me:$LINENO: checking for int_least32_t" >&5
115561 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
115562 if test "${ac_cv_type_int_least32_t+set}" = set; then
115563   echo $ECHO_N "(cached) $ECHO_C" >&6
115564 else
115565   cat >conftest.$ac_ext <<_ACEOF
115566 /* confdefs.h.  */
115567 _ACEOF
115568 cat confdefs.h >>conftest.$ac_ext
115569 cat >>conftest.$ac_ext <<_ACEOF
115570 /* end confdefs.h.  */
115571 #include <sys/types.h>
115572 #include <$i>
115573
115574 int
115575 main ()
115576 {
115577 if ((int_least32_t *) 0)
115578   return 0;
115579 if (sizeof (int_least32_t))
115580   return 0;
115581   ;
115582   return 0;
115583 }
115584 _ACEOF
115585 rm -f conftest.$ac_objext
115586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115587   (eval $ac_compile) 2>conftest.er1
115588   ac_status=$?
115589   grep -v '^ *+' conftest.er1 >conftest.err
115590   rm -f conftest.er1
115591   cat conftest.err >&5
115592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115593   (exit $ac_status); } &&
115594          { ac_try='test -z "$ac_c_werror_flag"
115595                          || test ! -s conftest.err'
115596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115597   (eval $ac_try) 2>&5
115598   ac_status=$?
115599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115600   (exit $ac_status); }; } &&
115601          { ac_try='test -s conftest.$ac_objext'
115602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115603   (eval $ac_try) 2>&5
115604   ac_status=$?
115605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115606   (exit $ac_status); }; }; then
115607   ac_cv_type_int_least32_t=yes
115608 else
115609   echo "$as_me: failed program was:" >&5
115610 sed 's/^/| /' conftest.$ac_ext >&5
115611
115612 ac_cv_type_int_least32_t=no
115613 fi
115614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115615 fi
115616 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
115617 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
115618 if test $ac_cv_type_int_least32_t = yes; then
115619   :
115620 else
115621   acx_cv_header_stdint_kind="(mostly complete)"
115622 fi
115623
115624   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
115625 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
115626 if test "${ac_cv_type_int_fast32_t+set}" = set; then
115627   echo $ECHO_N "(cached) $ECHO_C" >&6
115628 else
115629   cat >conftest.$ac_ext <<_ACEOF
115630 /* confdefs.h.  */
115631 _ACEOF
115632 cat confdefs.h >>conftest.$ac_ext
115633 cat >>conftest.$ac_ext <<_ACEOF
115634 /* end confdefs.h.  */
115635 #include <sys/types.h>
115636 #include <$i>
115637
115638 int
115639 main ()
115640 {
115641 if ((int_fast32_t *) 0)
115642   return 0;
115643 if (sizeof (int_fast32_t))
115644   return 0;
115645   ;
115646   return 0;
115647 }
115648 _ACEOF
115649 rm -f conftest.$ac_objext
115650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115651   (eval $ac_compile) 2>conftest.er1
115652   ac_status=$?
115653   grep -v '^ *+' conftest.er1 >conftest.err
115654   rm -f conftest.er1
115655   cat conftest.err >&5
115656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115657   (exit $ac_status); } &&
115658          { ac_try='test -z "$ac_c_werror_flag"
115659                          || test ! -s conftest.err'
115660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115661   (eval $ac_try) 2>&5
115662   ac_status=$?
115663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115664   (exit $ac_status); }; } &&
115665          { ac_try='test -s conftest.$ac_objext'
115666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115667   (eval $ac_try) 2>&5
115668   ac_status=$?
115669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115670   (exit $ac_status); }; }; then
115671   ac_cv_type_int_fast32_t=yes
115672 else
115673   echo "$as_me: failed program was:" >&5
115674 sed 's/^/| /' conftest.$ac_ext >&5
115675
115676 ac_cv_type_int_fast32_t=no
115677 fi
115678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115679 fi
115680 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
115681 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
115682 if test $ac_cv_type_int_fast32_t = yes; then
115683   :
115684 else
115685   acx_cv_header_stdint_kind="(mostly complete)"
115686 fi
115687
115688   echo "$as_me:$LINENO: checking for uint64_t" >&5
115689 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
115690 if test "${ac_cv_type_uint64_t+set}" = set; then
115691   echo $ECHO_N "(cached) $ECHO_C" >&6
115692 else
115693   cat >conftest.$ac_ext <<_ACEOF
115694 /* confdefs.h.  */
115695 _ACEOF
115696 cat confdefs.h >>conftest.$ac_ext
115697 cat >>conftest.$ac_ext <<_ACEOF
115698 /* end confdefs.h.  */
115699 #include <sys/types.h>
115700 #include <$i>
115701
115702 int
115703 main ()
115704 {
115705 if ((uint64_t *) 0)
115706   return 0;
115707 if (sizeof (uint64_t))
115708   return 0;
115709   ;
115710   return 0;
115711 }
115712 _ACEOF
115713 rm -f conftest.$ac_objext
115714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115715   (eval $ac_compile) 2>conftest.er1
115716   ac_status=$?
115717   grep -v '^ *+' conftest.er1 >conftest.err
115718   rm -f conftest.er1
115719   cat conftest.err >&5
115720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115721   (exit $ac_status); } &&
115722          { ac_try='test -z "$ac_c_werror_flag"
115723                          || test ! -s conftest.err'
115724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115725   (eval $ac_try) 2>&5
115726   ac_status=$?
115727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115728   (exit $ac_status); }; } &&
115729          { ac_try='test -s conftest.$ac_objext'
115730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115731   (eval $ac_try) 2>&5
115732   ac_status=$?
115733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115734   (exit $ac_status); }; }; then
115735   ac_cv_type_uint64_t=yes
115736 else
115737   echo "$as_me: failed program was:" >&5
115738 sed 's/^/| /' conftest.$ac_ext >&5
115739
115740 ac_cv_type_uint64_t=no
115741 fi
115742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115743 fi
115744 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
115745 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
115746 if test $ac_cv_type_uint64_t = yes; then
115747   :
115748 else
115749   acx_cv_header_stdint_kind="(lacks uint64_t)"
115750 fi
115751
115752   break
115753 done
115754 if test "$acx_cv_header_stdint" = stddef.h; then
115755   acx_cv_header_stdint_kind="(lacks uintmax_t)"
115756   for i in stdint.h $inttype_headers; do
115757     unset ac_cv_type_uintptr_t
115758     unset ac_cv_type_uint32_t
115759     unset ac_cv_type_uint64_t
115760     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
115761     echo "$as_me:$LINENO: checking for uint32_t" >&5
115762 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
115763 if test "${ac_cv_type_uint32_t+set}" = set; then
115764   echo $ECHO_N "(cached) $ECHO_C" >&6
115765 else
115766   cat >conftest.$ac_ext <<_ACEOF
115767 /* confdefs.h.  */
115768 _ACEOF
115769 cat confdefs.h >>conftest.$ac_ext
115770 cat >>conftest.$ac_ext <<_ACEOF
115771 /* end confdefs.h.  */
115772 #include <sys/types.h>
115773 #include <$i>
115774
115775 int
115776 main ()
115777 {
115778 if ((uint32_t *) 0)
115779   return 0;
115780 if (sizeof (uint32_t))
115781   return 0;
115782   ;
115783   return 0;
115784 }
115785 _ACEOF
115786 rm -f conftest.$ac_objext
115787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115788   (eval $ac_compile) 2>conftest.er1
115789   ac_status=$?
115790   grep -v '^ *+' conftest.er1 >conftest.err
115791   rm -f conftest.er1
115792   cat conftest.err >&5
115793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115794   (exit $ac_status); } &&
115795          { ac_try='test -z "$ac_c_werror_flag"
115796                          || test ! -s conftest.err'
115797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115798   (eval $ac_try) 2>&5
115799   ac_status=$?
115800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115801   (exit $ac_status); }; } &&
115802          { ac_try='test -s conftest.$ac_objext'
115803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115804   (eval $ac_try) 2>&5
115805   ac_status=$?
115806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115807   (exit $ac_status); }; }; then
115808   ac_cv_type_uint32_t=yes
115809 else
115810   echo "$as_me: failed program was:" >&5
115811 sed 's/^/| /' conftest.$ac_ext >&5
115812
115813 ac_cv_type_uint32_t=no
115814 fi
115815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115816 fi
115817 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
115818 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
115819 if test $ac_cv_type_uint32_t = yes; then
115820   acx_cv_header_stdint=$i
115821 else
115822   continue
115823 fi
115824
115825     echo "$as_me:$LINENO: checking for uint64_t" >&5
115826 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
115827 if test "${ac_cv_type_uint64_t+set}" = set; then
115828   echo $ECHO_N "(cached) $ECHO_C" >&6
115829 else
115830   cat >conftest.$ac_ext <<_ACEOF
115831 /* confdefs.h.  */
115832 _ACEOF
115833 cat confdefs.h >>conftest.$ac_ext
115834 cat >>conftest.$ac_ext <<_ACEOF
115835 /* end confdefs.h.  */
115836 #include <sys/types.h>
115837 #include <$i>
115838
115839 int
115840 main ()
115841 {
115842 if ((uint64_t *) 0)
115843   return 0;
115844 if (sizeof (uint64_t))
115845   return 0;
115846   ;
115847   return 0;
115848 }
115849 _ACEOF
115850 rm -f conftest.$ac_objext
115851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115852   (eval $ac_compile) 2>conftest.er1
115853   ac_status=$?
115854   grep -v '^ *+' conftest.er1 >conftest.err
115855   rm -f conftest.er1
115856   cat conftest.err >&5
115857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115858   (exit $ac_status); } &&
115859          { ac_try='test -z "$ac_c_werror_flag"
115860                          || test ! -s conftest.err'
115861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115862   (eval $ac_try) 2>&5
115863   ac_status=$?
115864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115865   (exit $ac_status); }; } &&
115866          { ac_try='test -s conftest.$ac_objext'
115867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115868   (eval $ac_try) 2>&5
115869   ac_status=$?
115870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115871   (exit $ac_status); }; }; then
115872   ac_cv_type_uint64_t=yes
115873 else
115874   echo "$as_me: failed program was:" >&5
115875 sed 's/^/| /' conftest.$ac_ext >&5
115876
115877 ac_cv_type_uint64_t=no
115878 fi
115879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115880 fi
115881 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
115882 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
115883
115884     echo "$as_me:$LINENO: checking for uintptr_t" >&5
115885 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
115886 if test "${ac_cv_type_uintptr_t+set}" = set; then
115887   echo $ECHO_N "(cached) $ECHO_C" >&6
115888 else
115889   cat >conftest.$ac_ext <<_ACEOF
115890 /* confdefs.h.  */
115891 _ACEOF
115892 cat confdefs.h >>conftest.$ac_ext
115893 cat >>conftest.$ac_ext <<_ACEOF
115894 /* end confdefs.h.  */
115895 #include <sys/types.h>
115896 #include <$i>
115897
115898 int
115899 main ()
115900 {
115901 if ((uintptr_t *) 0)
115902   return 0;
115903 if (sizeof (uintptr_t))
115904   return 0;
115905   ;
115906   return 0;
115907 }
115908 _ACEOF
115909 rm -f conftest.$ac_objext
115910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115911   (eval $ac_compile) 2>conftest.er1
115912   ac_status=$?
115913   grep -v '^ *+' conftest.er1 >conftest.err
115914   rm -f conftest.er1
115915   cat conftest.err >&5
115916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115917   (exit $ac_status); } &&
115918          { ac_try='test -z "$ac_c_werror_flag"
115919                          || test ! -s conftest.err'
115920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115921   (eval $ac_try) 2>&5
115922   ac_status=$?
115923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115924   (exit $ac_status); }; } &&
115925          { ac_try='test -s conftest.$ac_objext'
115926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115927   (eval $ac_try) 2>&5
115928   ac_status=$?
115929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115930   (exit $ac_status); }; }; then
115931   ac_cv_type_uintptr_t=yes
115932 else
115933   echo "$as_me: failed program was:" >&5
115934 sed 's/^/| /' conftest.$ac_ext >&5
115935
115936 ac_cv_type_uintptr_t=no
115937 fi
115938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115939 fi
115940 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
115941 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
115942
115943     break
115944   done
115945 fi
115946 if test "$acx_cv_header_stdint" = stddef.h; then
115947   acx_cv_header_stdint_kind="(u_intXX_t style)"
115948   for i in sys/types.h $inttype_headers; do
115949     unset ac_cv_type_u_int32_t
115950     unset ac_cv_type_u_int64_t
115951     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
115952     echo "$as_me:$LINENO: checking for u_int32_t" >&5
115953 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
115954 if test "${ac_cv_type_u_int32_t+set}" = set; then
115955   echo $ECHO_N "(cached) $ECHO_C" >&6
115956 else
115957   cat >conftest.$ac_ext <<_ACEOF
115958 /* confdefs.h.  */
115959 _ACEOF
115960 cat confdefs.h >>conftest.$ac_ext
115961 cat >>conftest.$ac_ext <<_ACEOF
115962 /* end confdefs.h.  */
115963 #include <sys/types.h>
115964 #include <$i>
115965
115966 int
115967 main ()
115968 {
115969 if ((u_int32_t *) 0)
115970   return 0;
115971 if (sizeof (u_int32_t))
115972   return 0;
115973   ;
115974   return 0;
115975 }
115976 _ACEOF
115977 rm -f conftest.$ac_objext
115978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115979   (eval $ac_compile) 2>conftest.er1
115980   ac_status=$?
115981   grep -v '^ *+' conftest.er1 >conftest.err
115982   rm -f conftest.er1
115983   cat conftest.err >&5
115984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115985   (exit $ac_status); } &&
115986          { ac_try='test -z "$ac_c_werror_flag"
115987                          || test ! -s conftest.err'
115988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115989   (eval $ac_try) 2>&5
115990   ac_status=$?
115991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115992   (exit $ac_status); }; } &&
115993          { ac_try='test -s conftest.$ac_objext'
115994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115995   (eval $ac_try) 2>&5
115996   ac_status=$?
115997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115998   (exit $ac_status); }; }; then
115999   ac_cv_type_u_int32_t=yes
116000 else
116001   echo "$as_me: failed program was:" >&5
116002 sed 's/^/| /' conftest.$ac_ext >&5
116003
116004 ac_cv_type_u_int32_t=no
116005 fi
116006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116007 fi
116008 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116009 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116010 if test $ac_cv_type_u_int32_t = yes; then
116011   acx_cv_header_stdint=$i
116012 else
116013   continue
116014 fi
116015
116016     echo "$as_me:$LINENO: checking for u_int64_t" >&5
116017 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116018 if test "${ac_cv_type_u_int64_t+set}" = set; then
116019   echo $ECHO_N "(cached) $ECHO_C" >&6
116020 else
116021   cat >conftest.$ac_ext <<_ACEOF
116022 /* confdefs.h.  */
116023 _ACEOF
116024 cat confdefs.h >>conftest.$ac_ext
116025 cat >>conftest.$ac_ext <<_ACEOF
116026 /* end confdefs.h.  */
116027 #include <sys/types.h>
116028 #include <$i>
116029
116030 int
116031 main ()
116032 {
116033 if ((u_int64_t *) 0)
116034   return 0;
116035 if (sizeof (u_int64_t))
116036   return 0;
116037   ;
116038   return 0;
116039 }
116040 _ACEOF
116041 rm -f conftest.$ac_objext
116042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116043   (eval $ac_compile) 2>conftest.er1
116044   ac_status=$?
116045   grep -v '^ *+' conftest.er1 >conftest.err
116046   rm -f conftest.er1
116047   cat conftest.err >&5
116048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116049   (exit $ac_status); } &&
116050          { ac_try='test -z "$ac_c_werror_flag"
116051                          || test ! -s conftest.err'
116052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116053   (eval $ac_try) 2>&5
116054   ac_status=$?
116055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116056   (exit $ac_status); }; } &&
116057          { ac_try='test -s conftest.$ac_objext'
116058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116059   (eval $ac_try) 2>&5
116060   ac_status=$?
116061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116062   (exit $ac_status); }; }; then
116063   ac_cv_type_u_int64_t=yes
116064 else
116065   echo "$as_me: failed program was:" >&5
116066 sed 's/^/| /' conftest.$ac_ext >&5
116067
116068 ac_cv_type_u_int64_t=no
116069 fi
116070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116071 fi
116072 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116073 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116074
116075     break
116076   done
116077 fi
116078 if test "$acx_cv_header_stdint" = stddef.h; then
116079   acx_cv_header_stdint_kind="(using manual detection)"
116080 fi
116081
116082 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116083 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116084 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116085 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116086 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116087
116088 # ----------------- Summarize what we found so far
116089
116090 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116091 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116092
116093 case `$as_basename include/gstdint.h ||
116094 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116095          Xinclude/gstdint.h : 'X\(//\)$' \| \
116096          Xinclude/gstdint.h : 'X\(/\)$' \| \
116097          .     : '\(.\)' 2>/dev/null ||
116098 echo X/include/gstdint.h |
116099     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116100           /^X\/\(\/\/\)$/{ s//\1/; q; }
116101           /^X\/\(\/\).*/{ s//\1/; q; }
116102           s/.*/./; q'` in
116103   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116104 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116105   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116106 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116107   *) ;;
116108 esac
116109
116110 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116111 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116112
116113 # ----------------- done included file, check C basic types --------
116114
116115 # Lacking an uintptr_t?  Test size of void *
116116 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116117   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116118 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116119 if test "${ac_cv_type_void_p+set}" = set; then
116120   echo $ECHO_N "(cached) $ECHO_C" >&6
116121 else
116122   cat >conftest.$ac_ext <<_ACEOF
116123 /* confdefs.h.  */
116124 _ACEOF
116125 cat confdefs.h >>conftest.$ac_ext
116126 cat >>conftest.$ac_ext <<_ACEOF
116127 /* end confdefs.h.  */
116128 $ac_includes_default
116129 int
116130 main ()
116131 {
116132 if ((void * *) 0)
116133   return 0;
116134 if (sizeof (void *))
116135   return 0;
116136   ;
116137   return 0;
116138 }
116139 _ACEOF
116140 rm -f conftest.$ac_objext
116141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116142   (eval $ac_compile) 2>conftest.er1
116143   ac_status=$?
116144   grep -v '^ *+' conftest.er1 >conftest.err
116145   rm -f conftest.er1
116146   cat conftest.err >&5
116147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116148   (exit $ac_status); } &&
116149          { ac_try='test -z "$ac_c_werror_flag"
116150                          || test ! -s conftest.err'
116151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116152   (eval $ac_try) 2>&5
116153   ac_status=$?
116154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116155   (exit $ac_status); }; } &&
116156          { ac_try='test -s conftest.$ac_objext'
116157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116158   (eval $ac_try) 2>&5
116159   ac_status=$?
116160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116161   (exit $ac_status); }; }; then
116162   ac_cv_type_void_p=yes
116163 else
116164   echo "$as_me: failed program was:" >&5
116165 sed 's/^/| /' conftest.$ac_ext >&5
116166
116167 ac_cv_type_void_p=no
116168 fi
116169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116170 fi
116171 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116172 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116173
116174 echo "$as_me:$LINENO: checking size of void *" >&5
116175 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116176 if test "${ac_cv_sizeof_void_p+set}" = set; then
116177   echo $ECHO_N "(cached) $ECHO_C" >&6
116178 else
116179   if test "$ac_cv_type_void_p" = yes; then
116180   # The cast to unsigned long works around a bug in the HP C Compiler
116181   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116182   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116183   # This bug is HP SR number 8606223364.
116184   if test "$cross_compiling" = yes; then
116185   # Depending upon the size, compute the lo and hi bounds.
116186 cat >conftest.$ac_ext <<_ACEOF
116187 /* confdefs.h.  */
116188 _ACEOF
116189 cat confdefs.h >>conftest.$ac_ext
116190 cat >>conftest.$ac_ext <<_ACEOF
116191 /* end confdefs.h.  */
116192 $ac_includes_default
116193 int
116194 main ()
116195 {
116196 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116197 test_array [0] = 0
116198
116199   ;
116200   return 0;
116201 }
116202 _ACEOF
116203 rm -f conftest.$ac_objext
116204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116205   (eval $ac_compile) 2>conftest.er1
116206   ac_status=$?
116207   grep -v '^ *+' conftest.er1 >conftest.err
116208   rm -f conftest.er1
116209   cat conftest.err >&5
116210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116211   (exit $ac_status); } &&
116212          { ac_try='test -z "$ac_c_werror_flag"
116213                          || test ! -s conftest.err'
116214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116215   (eval $ac_try) 2>&5
116216   ac_status=$?
116217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116218   (exit $ac_status); }; } &&
116219          { ac_try='test -s conftest.$ac_objext'
116220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116221   (eval $ac_try) 2>&5
116222   ac_status=$?
116223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116224   (exit $ac_status); }; }; then
116225   ac_lo=0 ac_mid=0
116226   while :; do
116227     cat >conftest.$ac_ext <<_ACEOF
116228 /* confdefs.h.  */
116229 _ACEOF
116230 cat confdefs.h >>conftest.$ac_ext
116231 cat >>conftest.$ac_ext <<_ACEOF
116232 /* end confdefs.h.  */
116233 $ac_includes_default
116234 int
116235 main ()
116236 {
116237 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116238 test_array [0] = 0
116239
116240   ;
116241   return 0;
116242 }
116243 _ACEOF
116244 rm -f conftest.$ac_objext
116245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116246   (eval $ac_compile) 2>conftest.er1
116247   ac_status=$?
116248   grep -v '^ *+' conftest.er1 >conftest.err
116249   rm -f conftest.er1
116250   cat conftest.err >&5
116251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116252   (exit $ac_status); } &&
116253          { ac_try='test -z "$ac_c_werror_flag"
116254                          || test ! -s conftest.err'
116255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116256   (eval $ac_try) 2>&5
116257   ac_status=$?
116258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116259   (exit $ac_status); }; } &&
116260          { ac_try='test -s conftest.$ac_objext'
116261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116262   (eval $ac_try) 2>&5
116263   ac_status=$?
116264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116265   (exit $ac_status); }; }; then
116266   ac_hi=$ac_mid; break
116267 else
116268   echo "$as_me: failed program was:" >&5
116269 sed 's/^/| /' conftest.$ac_ext >&5
116270
116271 ac_lo=`expr $ac_mid + 1`
116272                     if test $ac_lo -le $ac_mid; then
116273                       ac_lo= ac_hi=
116274                       break
116275                     fi
116276                     ac_mid=`expr 2 '*' $ac_mid + 1`
116277 fi
116278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116279   done
116280 else
116281   echo "$as_me: failed program was:" >&5
116282 sed 's/^/| /' conftest.$ac_ext >&5
116283
116284 cat >conftest.$ac_ext <<_ACEOF
116285 /* confdefs.h.  */
116286 _ACEOF
116287 cat confdefs.h >>conftest.$ac_ext
116288 cat >>conftest.$ac_ext <<_ACEOF
116289 /* end confdefs.h.  */
116290 $ac_includes_default
116291 int
116292 main ()
116293 {
116294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
116295 test_array [0] = 0
116296
116297   ;
116298   return 0;
116299 }
116300 _ACEOF
116301 rm -f conftest.$ac_objext
116302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116303   (eval $ac_compile) 2>conftest.er1
116304   ac_status=$?
116305   grep -v '^ *+' conftest.er1 >conftest.err
116306   rm -f conftest.er1
116307   cat conftest.err >&5
116308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116309   (exit $ac_status); } &&
116310          { ac_try='test -z "$ac_c_werror_flag"
116311                          || test ! -s conftest.err'
116312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116313   (eval $ac_try) 2>&5
116314   ac_status=$?
116315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116316   (exit $ac_status); }; } &&
116317          { ac_try='test -s conftest.$ac_objext'
116318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116319   (eval $ac_try) 2>&5
116320   ac_status=$?
116321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116322   (exit $ac_status); }; }; then
116323   ac_hi=-1 ac_mid=-1
116324   while :; do
116325     cat >conftest.$ac_ext <<_ACEOF
116326 /* confdefs.h.  */
116327 _ACEOF
116328 cat confdefs.h >>conftest.$ac_ext
116329 cat >>conftest.$ac_ext <<_ACEOF
116330 /* end confdefs.h.  */
116331 $ac_includes_default
116332 int
116333 main ()
116334 {
116335 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
116336 test_array [0] = 0
116337
116338   ;
116339   return 0;
116340 }
116341 _ACEOF
116342 rm -f conftest.$ac_objext
116343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116344   (eval $ac_compile) 2>conftest.er1
116345   ac_status=$?
116346   grep -v '^ *+' conftest.er1 >conftest.err
116347   rm -f conftest.er1
116348   cat conftest.err >&5
116349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116350   (exit $ac_status); } &&
116351          { ac_try='test -z "$ac_c_werror_flag"
116352                          || test ! -s conftest.err'
116353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116354   (eval $ac_try) 2>&5
116355   ac_status=$?
116356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116357   (exit $ac_status); }; } &&
116358          { ac_try='test -s conftest.$ac_objext'
116359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116360   (eval $ac_try) 2>&5
116361   ac_status=$?
116362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116363   (exit $ac_status); }; }; then
116364   ac_lo=$ac_mid; break
116365 else
116366   echo "$as_me: failed program was:" >&5
116367 sed 's/^/| /' conftest.$ac_ext >&5
116368
116369 ac_hi=`expr '(' $ac_mid ')' - 1`
116370                        if test $ac_mid -le $ac_hi; then
116371                          ac_lo= ac_hi=
116372                          break
116373                        fi
116374                        ac_mid=`expr 2 '*' $ac_mid`
116375 fi
116376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116377   done
116378 else
116379   echo "$as_me: failed program was:" >&5
116380 sed 's/^/| /' conftest.$ac_ext >&5
116381
116382 ac_lo= ac_hi=
116383 fi
116384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116385 fi
116386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116387 # Binary search between lo and hi bounds.
116388 while test "x$ac_lo" != "x$ac_hi"; do
116389   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116390   cat >conftest.$ac_ext <<_ACEOF
116391 /* confdefs.h.  */
116392 _ACEOF
116393 cat confdefs.h >>conftest.$ac_ext
116394 cat >>conftest.$ac_ext <<_ACEOF
116395 /* end confdefs.h.  */
116396 $ac_includes_default
116397 int
116398 main ()
116399 {
116400 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116401 test_array [0] = 0
116402
116403   ;
116404   return 0;
116405 }
116406 _ACEOF
116407 rm -f conftest.$ac_objext
116408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116409   (eval $ac_compile) 2>conftest.er1
116410   ac_status=$?
116411   grep -v '^ *+' conftest.er1 >conftest.err
116412   rm -f conftest.er1
116413   cat conftest.err >&5
116414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116415   (exit $ac_status); } &&
116416          { ac_try='test -z "$ac_c_werror_flag"
116417                          || test ! -s conftest.err'
116418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116419   (eval $ac_try) 2>&5
116420   ac_status=$?
116421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116422   (exit $ac_status); }; } &&
116423          { ac_try='test -s conftest.$ac_objext'
116424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116425   (eval $ac_try) 2>&5
116426   ac_status=$?
116427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116428   (exit $ac_status); }; }; then
116429   ac_hi=$ac_mid
116430 else
116431   echo "$as_me: failed program was:" >&5
116432 sed 's/^/| /' conftest.$ac_ext >&5
116433
116434 ac_lo=`expr '(' $ac_mid ')' + 1`
116435 fi
116436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116437 done
116438 case $ac_lo in
116439 ?*) ac_cv_sizeof_void_p=$ac_lo;;
116440 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116441 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116443 See \`config.log' for more details." >&5
116444 echo "$as_me: error: cannot compute sizeof (void *), 77
116445 See \`config.log' for more details." >&2;}
116446    { (exit 1); exit 1; }; }; } ;;
116447 esac
116448 else
116449   if test "$cross_compiling" = yes; then
116450   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116451 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116452 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116453 See \`config.log' for more details." >&5
116454 echo "$as_me: error: cannot run test program while cross compiling
116455 See \`config.log' for more details." >&2;}
116456    { (exit 1); exit 1; }; }; }
116457 else
116458   cat >conftest.$ac_ext <<_ACEOF
116459 /* confdefs.h.  */
116460 _ACEOF
116461 cat confdefs.h >>conftest.$ac_ext
116462 cat >>conftest.$ac_ext <<_ACEOF
116463 /* end confdefs.h.  */
116464 $ac_includes_default
116465 long longval () { return (long) (sizeof (void *)); }
116466 unsigned long ulongval () { return (long) (sizeof (void *)); }
116467 #include <stdio.h>
116468 #include <stdlib.h>
116469 int
116470 main ()
116471 {
116472
116473   FILE *f = fopen ("conftest.val", "w");
116474   if (! f)
116475     exit (1);
116476   if (((long) (sizeof (void *))) < 0)
116477     {
116478       long i = longval ();
116479       if (i != ((long) (sizeof (void *))))
116480         exit (1);
116481       fprintf (f, "%ld\n", i);
116482     }
116483   else
116484     {
116485       unsigned long i = ulongval ();
116486       if (i != ((long) (sizeof (void *))))
116487         exit (1);
116488       fprintf (f, "%lu\n", i);
116489     }
116490   exit (ferror (f) || fclose (f) != 0);
116491
116492   ;
116493   return 0;
116494 }
116495 _ACEOF
116496 rm -f conftest$ac_exeext
116497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116498   (eval $ac_link) 2>&5
116499   ac_status=$?
116500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116501   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116503   (eval $ac_try) 2>&5
116504   ac_status=$?
116505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116506   (exit $ac_status); }; }; then
116507   ac_cv_sizeof_void_p=`cat conftest.val`
116508 else
116509   echo "$as_me: program exited with status $ac_status" >&5
116510 echo "$as_me: failed program was:" >&5
116511 sed 's/^/| /' conftest.$ac_ext >&5
116512
116513 ( exit $ac_status )
116514 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116517 See \`config.log' for more details." >&5
116518 echo "$as_me: error: cannot compute sizeof (void *), 77
116519 See \`config.log' for more details." >&2;}
116520    { (exit 1); exit 1; }; }; }
116521 fi
116522 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116523 fi
116524 fi
116525 rm -f conftest.val
116526 else
116527   ac_cv_sizeof_void_p=0
116528 fi
116529 fi
116530 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
116531 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
116532 cat >>confdefs.h <<_ACEOF
116533 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
116534 _ACEOF
116535
116536  ;;
116537 esac
116538
116539 # Lacking an uint64_t?  Test size of long
116540 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
116541   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
116542 echo $ECHO_N "checking for long... $ECHO_C" >&6
116543 if test "${ac_cv_type_long+set}" = set; then
116544   echo $ECHO_N "(cached) $ECHO_C" >&6
116545 else
116546   cat >conftest.$ac_ext <<_ACEOF
116547 /* confdefs.h.  */
116548 _ACEOF
116549 cat confdefs.h >>conftest.$ac_ext
116550 cat >>conftest.$ac_ext <<_ACEOF
116551 /* end confdefs.h.  */
116552 $ac_includes_default
116553 int
116554 main ()
116555 {
116556 if ((long *) 0)
116557   return 0;
116558 if (sizeof (long))
116559   return 0;
116560   ;
116561   return 0;
116562 }
116563 _ACEOF
116564 rm -f conftest.$ac_objext
116565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116566   (eval $ac_compile) 2>conftest.er1
116567   ac_status=$?
116568   grep -v '^ *+' conftest.er1 >conftest.err
116569   rm -f conftest.er1
116570   cat conftest.err >&5
116571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116572   (exit $ac_status); } &&
116573          { ac_try='test -z "$ac_c_werror_flag"
116574                          || test ! -s conftest.err'
116575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116576   (eval $ac_try) 2>&5
116577   ac_status=$?
116578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116579   (exit $ac_status); }; } &&
116580          { ac_try='test -s conftest.$ac_objext'
116581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116582   (eval $ac_try) 2>&5
116583   ac_status=$?
116584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116585   (exit $ac_status); }; }; then
116586   ac_cv_type_long=yes
116587 else
116588   echo "$as_me: failed program was:" >&5
116589 sed 's/^/| /' conftest.$ac_ext >&5
116590
116591 ac_cv_type_long=no
116592 fi
116593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116594 fi
116595 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
116596 echo "${ECHO_T}$ac_cv_type_long" >&6
116597
116598 echo "$as_me:$LINENO: checking size of long" >&5
116599 echo $ECHO_N "checking size of long... $ECHO_C" >&6
116600 if test "${ac_cv_sizeof_long+set}" = set; then
116601   echo $ECHO_N "(cached) $ECHO_C" >&6
116602 else
116603   if test "$ac_cv_type_long" = yes; then
116604   # The cast to unsigned long works around a bug in the HP C Compiler
116605   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116606   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116607   # This bug is HP SR number 8606223364.
116608   if test "$cross_compiling" = yes; then
116609   # Depending upon the size, compute the lo and hi bounds.
116610 cat >conftest.$ac_ext <<_ACEOF
116611 /* confdefs.h.  */
116612 _ACEOF
116613 cat confdefs.h >>conftest.$ac_ext
116614 cat >>conftest.$ac_ext <<_ACEOF
116615 /* end confdefs.h.  */
116616 $ac_includes_default
116617 int
116618 main ()
116619 {
116620 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
116621 test_array [0] = 0
116622
116623   ;
116624   return 0;
116625 }
116626 _ACEOF
116627 rm -f conftest.$ac_objext
116628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116629   (eval $ac_compile) 2>conftest.er1
116630   ac_status=$?
116631   grep -v '^ *+' conftest.er1 >conftest.err
116632   rm -f conftest.er1
116633   cat conftest.err >&5
116634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116635   (exit $ac_status); } &&
116636          { ac_try='test -z "$ac_c_werror_flag"
116637                          || test ! -s conftest.err'
116638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116639   (eval $ac_try) 2>&5
116640   ac_status=$?
116641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116642   (exit $ac_status); }; } &&
116643          { ac_try='test -s conftest.$ac_objext'
116644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116645   (eval $ac_try) 2>&5
116646   ac_status=$?
116647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116648   (exit $ac_status); }; }; then
116649   ac_lo=0 ac_mid=0
116650   while :; do
116651     cat >conftest.$ac_ext <<_ACEOF
116652 /* confdefs.h.  */
116653 _ACEOF
116654 cat confdefs.h >>conftest.$ac_ext
116655 cat >>conftest.$ac_ext <<_ACEOF
116656 /* end confdefs.h.  */
116657 $ac_includes_default
116658 int
116659 main ()
116660 {
116661 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
116662 test_array [0] = 0
116663
116664   ;
116665   return 0;
116666 }
116667 _ACEOF
116668 rm -f conftest.$ac_objext
116669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116670   (eval $ac_compile) 2>conftest.er1
116671   ac_status=$?
116672   grep -v '^ *+' conftest.er1 >conftest.err
116673   rm -f conftest.er1
116674   cat conftest.err >&5
116675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116676   (exit $ac_status); } &&
116677          { ac_try='test -z "$ac_c_werror_flag"
116678                          || test ! -s conftest.err'
116679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116680   (eval $ac_try) 2>&5
116681   ac_status=$?
116682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116683   (exit $ac_status); }; } &&
116684          { ac_try='test -s conftest.$ac_objext'
116685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116686   (eval $ac_try) 2>&5
116687   ac_status=$?
116688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116689   (exit $ac_status); }; }; then
116690   ac_hi=$ac_mid; break
116691 else
116692   echo "$as_me: failed program was:" >&5
116693 sed 's/^/| /' conftest.$ac_ext >&5
116694
116695 ac_lo=`expr $ac_mid + 1`
116696                     if test $ac_lo -le $ac_mid; then
116697                       ac_lo= ac_hi=
116698                       break
116699                     fi
116700                     ac_mid=`expr 2 '*' $ac_mid + 1`
116701 fi
116702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116703   done
116704 else
116705   echo "$as_me: failed program was:" >&5
116706 sed 's/^/| /' conftest.$ac_ext >&5
116707
116708 cat >conftest.$ac_ext <<_ACEOF
116709 /* confdefs.h.  */
116710 _ACEOF
116711 cat confdefs.h >>conftest.$ac_ext
116712 cat >>conftest.$ac_ext <<_ACEOF
116713 /* end confdefs.h.  */
116714 $ac_includes_default
116715 int
116716 main ()
116717 {
116718 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
116719 test_array [0] = 0
116720
116721   ;
116722   return 0;
116723 }
116724 _ACEOF
116725 rm -f conftest.$ac_objext
116726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116727   (eval $ac_compile) 2>conftest.er1
116728   ac_status=$?
116729   grep -v '^ *+' conftest.er1 >conftest.err
116730   rm -f conftest.er1
116731   cat conftest.err >&5
116732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116733   (exit $ac_status); } &&
116734          { ac_try='test -z "$ac_c_werror_flag"
116735                          || test ! -s conftest.err'
116736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116737   (eval $ac_try) 2>&5
116738   ac_status=$?
116739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116740   (exit $ac_status); }; } &&
116741          { ac_try='test -s conftest.$ac_objext'
116742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116743   (eval $ac_try) 2>&5
116744   ac_status=$?
116745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116746   (exit $ac_status); }; }; then
116747   ac_hi=-1 ac_mid=-1
116748   while :; do
116749     cat >conftest.$ac_ext <<_ACEOF
116750 /* confdefs.h.  */
116751 _ACEOF
116752 cat confdefs.h >>conftest.$ac_ext
116753 cat >>conftest.$ac_ext <<_ACEOF
116754 /* end confdefs.h.  */
116755 $ac_includes_default
116756 int
116757 main ()
116758 {
116759 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
116760 test_array [0] = 0
116761
116762   ;
116763   return 0;
116764 }
116765 _ACEOF
116766 rm -f conftest.$ac_objext
116767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116768   (eval $ac_compile) 2>conftest.er1
116769   ac_status=$?
116770   grep -v '^ *+' conftest.er1 >conftest.err
116771   rm -f conftest.er1
116772   cat conftest.err >&5
116773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116774   (exit $ac_status); } &&
116775          { ac_try='test -z "$ac_c_werror_flag"
116776                          || test ! -s conftest.err'
116777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116778   (eval $ac_try) 2>&5
116779   ac_status=$?
116780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116781   (exit $ac_status); }; } &&
116782          { ac_try='test -s conftest.$ac_objext'
116783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116784   (eval $ac_try) 2>&5
116785   ac_status=$?
116786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116787   (exit $ac_status); }; }; then
116788   ac_lo=$ac_mid; break
116789 else
116790   echo "$as_me: failed program was:" >&5
116791 sed 's/^/| /' conftest.$ac_ext >&5
116792
116793 ac_hi=`expr '(' $ac_mid ')' - 1`
116794                        if test $ac_mid -le $ac_hi; then
116795                          ac_lo= ac_hi=
116796                          break
116797                        fi
116798                        ac_mid=`expr 2 '*' $ac_mid`
116799 fi
116800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116801   done
116802 else
116803   echo "$as_me: failed program was:" >&5
116804 sed 's/^/| /' conftest.$ac_ext >&5
116805
116806 ac_lo= ac_hi=
116807 fi
116808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116809 fi
116810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116811 # Binary search between lo and hi bounds.
116812 while test "x$ac_lo" != "x$ac_hi"; do
116813   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116814   cat >conftest.$ac_ext <<_ACEOF
116815 /* confdefs.h.  */
116816 _ACEOF
116817 cat confdefs.h >>conftest.$ac_ext
116818 cat >>conftest.$ac_ext <<_ACEOF
116819 /* end confdefs.h.  */
116820 $ac_includes_default
116821 int
116822 main ()
116823 {
116824 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
116825 test_array [0] = 0
116826
116827   ;
116828   return 0;
116829 }
116830 _ACEOF
116831 rm -f conftest.$ac_objext
116832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116833   (eval $ac_compile) 2>conftest.er1
116834   ac_status=$?
116835   grep -v '^ *+' conftest.er1 >conftest.err
116836   rm -f conftest.er1
116837   cat conftest.err >&5
116838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116839   (exit $ac_status); } &&
116840          { ac_try='test -z "$ac_c_werror_flag"
116841                          || test ! -s conftest.err'
116842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116843   (eval $ac_try) 2>&5
116844   ac_status=$?
116845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116846   (exit $ac_status); }; } &&
116847          { ac_try='test -s conftest.$ac_objext'
116848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116849   (eval $ac_try) 2>&5
116850   ac_status=$?
116851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116852   (exit $ac_status); }; }; then
116853   ac_hi=$ac_mid
116854 else
116855   echo "$as_me: failed program was:" >&5
116856 sed 's/^/| /' conftest.$ac_ext >&5
116857
116858 ac_lo=`expr '(' $ac_mid ')' + 1`
116859 fi
116860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116861 done
116862 case $ac_lo in
116863 ?*) ac_cv_sizeof_long=$ac_lo;;
116864 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116865 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116866 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
116867 See \`config.log' for more details." >&5
116868 echo "$as_me: error: cannot compute sizeof (long), 77
116869 See \`config.log' for more details." >&2;}
116870    { (exit 1); exit 1; }; }; } ;;
116871 esac
116872 else
116873   if test "$cross_compiling" = yes; then
116874   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116875 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116876 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116877 See \`config.log' for more details." >&5
116878 echo "$as_me: error: cannot run test program while cross compiling
116879 See \`config.log' for more details." >&2;}
116880    { (exit 1); exit 1; }; }; }
116881 else
116882   cat >conftest.$ac_ext <<_ACEOF
116883 /* confdefs.h.  */
116884 _ACEOF
116885 cat confdefs.h >>conftest.$ac_ext
116886 cat >>conftest.$ac_ext <<_ACEOF
116887 /* end confdefs.h.  */
116888 $ac_includes_default
116889 long longval () { return (long) (sizeof (long)); }
116890 unsigned long ulongval () { return (long) (sizeof (long)); }
116891 #include <stdio.h>
116892 #include <stdlib.h>
116893 int
116894 main ()
116895 {
116896
116897   FILE *f = fopen ("conftest.val", "w");
116898   if (! f)
116899     exit (1);
116900   if (((long) (sizeof (long))) < 0)
116901     {
116902       long i = longval ();
116903       if (i != ((long) (sizeof (long))))
116904         exit (1);
116905       fprintf (f, "%ld\n", i);
116906     }
116907   else
116908     {
116909       unsigned long i = ulongval ();
116910       if (i != ((long) (sizeof (long))))
116911         exit (1);
116912       fprintf (f, "%lu\n", i);
116913     }
116914   exit (ferror (f) || fclose (f) != 0);
116915
116916   ;
116917   return 0;
116918 }
116919 _ACEOF
116920 rm -f conftest$ac_exeext
116921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116922   (eval $ac_link) 2>&5
116923   ac_status=$?
116924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116925   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116927   (eval $ac_try) 2>&5
116928   ac_status=$?
116929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116930   (exit $ac_status); }; }; then
116931   ac_cv_sizeof_long=`cat conftest.val`
116932 else
116933   echo "$as_me: program exited with status $ac_status" >&5
116934 echo "$as_me: failed program was:" >&5
116935 sed 's/^/| /' conftest.$ac_ext >&5
116936
116937 ( exit $ac_status )
116938 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116939 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
116941 See \`config.log' for more details." >&5
116942 echo "$as_me: error: cannot compute sizeof (long), 77
116943 See \`config.log' for more details." >&2;}
116944    { (exit 1); exit 1; }; }; }
116945 fi
116946 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116947 fi
116948 fi
116949 rm -f conftest.val
116950 else
116951   ac_cv_sizeof_long=0
116952 fi
116953 fi
116954 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
116955 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
116956 cat >>confdefs.h <<_ACEOF
116957 #define SIZEOF_LONG $ac_cv_sizeof_long
116958 _ACEOF
116959
116960  ;;
116961 esac
116962
116963 if test $acx_cv_header_stdint = stddef.h; then
116964   # Lacking a good header?  Test size of everything and deduce all types.
116965   echo "$as_me:$LINENO: checking for int" >&5
116966 echo $ECHO_N "checking for int... $ECHO_C" >&6
116967 if test "${ac_cv_type_int+set}" = set; then
116968   echo $ECHO_N "(cached) $ECHO_C" >&6
116969 else
116970   cat >conftest.$ac_ext <<_ACEOF
116971 /* confdefs.h.  */
116972 _ACEOF
116973 cat confdefs.h >>conftest.$ac_ext
116974 cat >>conftest.$ac_ext <<_ACEOF
116975 /* end confdefs.h.  */
116976 $ac_includes_default
116977 int
116978 main ()
116979 {
116980 if ((int *) 0)
116981   return 0;
116982 if (sizeof (int))
116983   return 0;
116984   ;
116985   return 0;
116986 }
116987 _ACEOF
116988 rm -f conftest.$ac_objext
116989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116990   (eval $ac_compile) 2>conftest.er1
116991   ac_status=$?
116992   grep -v '^ *+' conftest.er1 >conftest.err
116993   rm -f conftest.er1
116994   cat conftest.err >&5
116995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116996   (exit $ac_status); } &&
116997          { ac_try='test -z "$ac_c_werror_flag"
116998                          || test ! -s conftest.err'
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); }; } &&
117004          { ac_try='test -s conftest.$ac_objext'
117005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117006   (eval $ac_try) 2>&5
117007   ac_status=$?
117008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117009   (exit $ac_status); }; }; then
117010   ac_cv_type_int=yes
117011 else
117012   echo "$as_me: failed program was:" >&5
117013 sed 's/^/| /' conftest.$ac_ext >&5
117014
117015 ac_cv_type_int=no
117016 fi
117017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117018 fi
117019 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117020 echo "${ECHO_T}$ac_cv_type_int" >&6
117021
117022 echo "$as_me:$LINENO: checking size of int" >&5
117023 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117024 if test "${ac_cv_sizeof_int+set}" = set; then
117025   echo $ECHO_N "(cached) $ECHO_C" >&6
117026 else
117027   if test "$ac_cv_type_int" = yes; then
117028   # The cast to unsigned long works around a bug in the HP C Compiler
117029   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117030   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117031   # This bug is HP SR number 8606223364.
117032   if test "$cross_compiling" = yes; then
117033   # Depending upon the size, compute the lo and hi bounds.
117034 cat >conftest.$ac_ext <<_ACEOF
117035 /* confdefs.h.  */
117036 _ACEOF
117037 cat confdefs.h >>conftest.$ac_ext
117038 cat >>conftest.$ac_ext <<_ACEOF
117039 /* end confdefs.h.  */
117040 $ac_includes_default
117041 int
117042 main ()
117043 {
117044 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117045 test_array [0] = 0
117046
117047   ;
117048   return 0;
117049 }
117050 _ACEOF
117051 rm -f conftest.$ac_objext
117052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117053   (eval $ac_compile) 2>conftest.er1
117054   ac_status=$?
117055   grep -v '^ *+' conftest.er1 >conftest.err
117056   rm -f conftest.er1
117057   cat conftest.err >&5
117058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117059   (exit $ac_status); } &&
117060          { ac_try='test -z "$ac_c_werror_flag"
117061                          || test ! -s conftest.err'
117062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117063   (eval $ac_try) 2>&5
117064   ac_status=$?
117065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117066   (exit $ac_status); }; } &&
117067          { ac_try='test -s conftest.$ac_objext'
117068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117069   (eval $ac_try) 2>&5
117070   ac_status=$?
117071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117072   (exit $ac_status); }; }; then
117073   ac_lo=0 ac_mid=0
117074   while :; do
117075     cat >conftest.$ac_ext <<_ACEOF
117076 /* confdefs.h.  */
117077 _ACEOF
117078 cat confdefs.h >>conftest.$ac_ext
117079 cat >>conftest.$ac_ext <<_ACEOF
117080 /* end confdefs.h.  */
117081 $ac_includes_default
117082 int
117083 main ()
117084 {
117085 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117086 test_array [0] = 0
117087
117088   ;
117089   return 0;
117090 }
117091 _ACEOF
117092 rm -f conftest.$ac_objext
117093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117094   (eval $ac_compile) 2>conftest.er1
117095   ac_status=$?
117096   grep -v '^ *+' conftest.er1 >conftest.err
117097   rm -f conftest.er1
117098   cat conftest.err >&5
117099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117100   (exit $ac_status); } &&
117101          { ac_try='test -z "$ac_c_werror_flag"
117102                          || test ! -s conftest.err'
117103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117104   (eval $ac_try) 2>&5
117105   ac_status=$?
117106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117107   (exit $ac_status); }; } &&
117108          { ac_try='test -s conftest.$ac_objext'
117109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117110   (eval $ac_try) 2>&5
117111   ac_status=$?
117112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117113   (exit $ac_status); }; }; then
117114   ac_hi=$ac_mid; break
117115 else
117116   echo "$as_me: failed program was:" >&5
117117 sed 's/^/| /' conftest.$ac_ext >&5
117118
117119 ac_lo=`expr $ac_mid + 1`
117120                     if test $ac_lo -le $ac_mid; then
117121                       ac_lo= ac_hi=
117122                       break
117123                     fi
117124                     ac_mid=`expr 2 '*' $ac_mid + 1`
117125 fi
117126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117127   done
117128 else
117129   echo "$as_me: failed program was:" >&5
117130 sed 's/^/| /' conftest.$ac_ext >&5
117131
117132 cat >conftest.$ac_ext <<_ACEOF
117133 /* confdefs.h.  */
117134 _ACEOF
117135 cat confdefs.h >>conftest.$ac_ext
117136 cat >>conftest.$ac_ext <<_ACEOF
117137 /* end confdefs.h.  */
117138 $ac_includes_default
117139 int
117140 main ()
117141 {
117142 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117143 test_array [0] = 0
117144
117145   ;
117146   return 0;
117147 }
117148 _ACEOF
117149 rm -f conftest.$ac_objext
117150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117151   (eval $ac_compile) 2>conftest.er1
117152   ac_status=$?
117153   grep -v '^ *+' conftest.er1 >conftest.err
117154   rm -f conftest.er1
117155   cat conftest.err >&5
117156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117157   (exit $ac_status); } &&
117158          { ac_try='test -z "$ac_c_werror_flag"
117159                          || test ! -s conftest.err'
117160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117161   (eval $ac_try) 2>&5
117162   ac_status=$?
117163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117164   (exit $ac_status); }; } &&
117165          { ac_try='test -s conftest.$ac_objext'
117166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117167   (eval $ac_try) 2>&5
117168   ac_status=$?
117169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117170   (exit $ac_status); }; }; then
117171   ac_hi=-1 ac_mid=-1
117172   while :; do
117173     cat >conftest.$ac_ext <<_ACEOF
117174 /* confdefs.h.  */
117175 _ACEOF
117176 cat confdefs.h >>conftest.$ac_ext
117177 cat >>conftest.$ac_ext <<_ACEOF
117178 /* end confdefs.h.  */
117179 $ac_includes_default
117180 int
117181 main ()
117182 {
117183 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117184 test_array [0] = 0
117185
117186   ;
117187   return 0;
117188 }
117189 _ACEOF
117190 rm -f conftest.$ac_objext
117191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117192   (eval $ac_compile) 2>conftest.er1
117193   ac_status=$?
117194   grep -v '^ *+' conftest.er1 >conftest.err
117195   rm -f conftest.er1
117196   cat conftest.err >&5
117197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117198   (exit $ac_status); } &&
117199          { ac_try='test -z "$ac_c_werror_flag"
117200                          || test ! -s conftest.err'
117201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117202   (eval $ac_try) 2>&5
117203   ac_status=$?
117204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117205   (exit $ac_status); }; } &&
117206          { ac_try='test -s conftest.$ac_objext'
117207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117208   (eval $ac_try) 2>&5
117209   ac_status=$?
117210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117211   (exit $ac_status); }; }; then
117212   ac_lo=$ac_mid; break
117213 else
117214   echo "$as_me: failed program was:" >&5
117215 sed 's/^/| /' conftest.$ac_ext >&5
117216
117217 ac_hi=`expr '(' $ac_mid ')' - 1`
117218                        if test $ac_mid -le $ac_hi; then
117219                          ac_lo= ac_hi=
117220                          break
117221                        fi
117222                        ac_mid=`expr 2 '*' $ac_mid`
117223 fi
117224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117225   done
117226 else
117227   echo "$as_me: failed program was:" >&5
117228 sed 's/^/| /' conftest.$ac_ext >&5
117229
117230 ac_lo= ac_hi=
117231 fi
117232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117233 fi
117234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117235 # Binary search between lo and hi bounds.
117236 while test "x$ac_lo" != "x$ac_hi"; do
117237   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117238   cat >conftest.$ac_ext <<_ACEOF
117239 /* confdefs.h.  */
117240 _ACEOF
117241 cat confdefs.h >>conftest.$ac_ext
117242 cat >>conftest.$ac_ext <<_ACEOF
117243 /* end confdefs.h.  */
117244 $ac_includes_default
117245 int
117246 main ()
117247 {
117248 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117249 test_array [0] = 0
117250
117251   ;
117252   return 0;
117253 }
117254 _ACEOF
117255 rm -f conftest.$ac_objext
117256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117257   (eval $ac_compile) 2>conftest.er1
117258   ac_status=$?
117259   grep -v '^ *+' conftest.er1 >conftest.err
117260   rm -f conftest.er1
117261   cat conftest.err >&5
117262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117263   (exit $ac_status); } &&
117264          { ac_try='test -z "$ac_c_werror_flag"
117265                          || test ! -s conftest.err'
117266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117267   (eval $ac_try) 2>&5
117268   ac_status=$?
117269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117270   (exit $ac_status); }; } &&
117271          { ac_try='test -s conftest.$ac_objext'
117272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117273   (eval $ac_try) 2>&5
117274   ac_status=$?
117275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117276   (exit $ac_status); }; }; then
117277   ac_hi=$ac_mid
117278 else
117279   echo "$as_me: failed program was:" >&5
117280 sed 's/^/| /' conftest.$ac_ext >&5
117281
117282 ac_lo=`expr '(' $ac_mid ')' + 1`
117283 fi
117284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117285 done
117286 case $ac_lo in
117287 ?*) ac_cv_sizeof_int=$ac_lo;;
117288 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117289 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117291 See \`config.log' for more details." >&5
117292 echo "$as_me: error: cannot compute sizeof (int), 77
117293 See \`config.log' for more details." >&2;}
117294    { (exit 1); exit 1; }; }; } ;;
117295 esac
117296 else
117297   if test "$cross_compiling" = yes; then
117298   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117299 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117300 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117301 See \`config.log' for more details." >&5
117302 echo "$as_me: error: cannot run test program while cross compiling
117303 See \`config.log' for more details." >&2;}
117304    { (exit 1); exit 1; }; }; }
117305 else
117306   cat >conftest.$ac_ext <<_ACEOF
117307 /* confdefs.h.  */
117308 _ACEOF
117309 cat confdefs.h >>conftest.$ac_ext
117310 cat >>conftest.$ac_ext <<_ACEOF
117311 /* end confdefs.h.  */
117312 $ac_includes_default
117313 long longval () { return (long) (sizeof (int)); }
117314 unsigned long ulongval () { return (long) (sizeof (int)); }
117315 #include <stdio.h>
117316 #include <stdlib.h>
117317 int
117318 main ()
117319 {
117320
117321   FILE *f = fopen ("conftest.val", "w");
117322   if (! f)
117323     exit (1);
117324   if (((long) (sizeof (int))) < 0)
117325     {
117326       long i = longval ();
117327       if (i != ((long) (sizeof (int))))
117328         exit (1);
117329       fprintf (f, "%ld\n", i);
117330     }
117331   else
117332     {
117333       unsigned long i = ulongval ();
117334       if (i != ((long) (sizeof (int))))
117335         exit (1);
117336       fprintf (f, "%lu\n", i);
117337     }
117338   exit (ferror (f) || fclose (f) != 0);
117339
117340   ;
117341   return 0;
117342 }
117343 _ACEOF
117344 rm -f conftest$ac_exeext
117345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117346   (eval $ac_link) 2>&5
117347   ac_status=$?
117348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117349   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117351   (eval $ac_try) 2>&5
117352   ac_status=$?
117353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117354   (exit $ac_status); }; }; then
117355   ac_cv_sizeof_int=`cat conftest.val`
117356 else
117357   echo "$as_me: program exited with status $ac_status" >&5
117358 echo "$as_me: failed program was:" >&5
117359 sed 's/^/| /' conftest.$ac_ext >&5
117360
117361 ( exit $ac_status )
117362 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117365 See \`config.log' for more details." >&5
117366 echo "$as_me: error: cannot compute sizeof (int), 77
117367 See \`config.log' for more details." >&2;}
117368    { (exit 1); exit 1; }; }; }
117369 fi
117370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117371 fi
117372 fi
117373 rm -f conftest.val
117374 else
117375   ac_cv_sizeof_int=0
117376 fi
117377 fi
117378 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
117379 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
117380 cat >>confdefs.h <<_ACEOF
117381 #define SIZEOF_INT $ac_cv_sizeof_int
117382 _ACEOF
117383
117384
117385   echo "$as_me:$LINENO: checking for short" >&5
117386 echo $ECHO_N "checking for short... $ECHO_C" >&6
117387 if test "${ac_cv_type_short+set}" = set; then
117388   echo $ECHO_N "(cached) $ECHO_C" >&6
117389 else
117390   cat >conftest.$ac_ext <<_ACEOF
117391 /* confdefs.h.  */
117392 _ACEOF
117393 cat confdefs.h >>conftest.$ac_ext
117394 cat >>conftest.$ac_ext <<_ACEOF
117395 /* end confdefs.h.  */
117396 $ac_includes_default
117397 int
117398 main ()
117399 {
117400 if ((short *) 0)
117401   return 0;
117402 if (sizeof (short))
117403   return 0;
117404   ;
117405   return 0;
117406 }
117407 _ACEOF
117408 rm -f conftest.$ac_objext
117409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117410   (eval $ac_compile) 2>conftest.er1
117411   ac_status=$?
117412   grep -v '^ *+' conftest.er1 >conftest.err
117413   rm -f conftest.er1
117414   cat conftest.err >&5
117415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117416   (exit $ac_status); } &&
117417          { ac_try='test -z "$ac_c_werror_flag"
117418                          || test ! -s conftest.err'
117419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117420   (eval $ac_try) 2>&5
117421   ac_status=$?
117422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117423   (exit $ac_status); }; } &&
117424          { ac_try='test -s conftest.$ac_objext'
117425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117426   (eval $ac_try) 2>&5
117427   ac_status=$?
117428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117429   (exit $ac_status); }; }; then
117430   ac_cv_type_short=yes
117431 else
117432   echo "$as_me: failed program was:" >&5
117433 sed 's/^/| /' conftest.$ac_ext >&5
117434
117435 ac_cv_type_short=no
117436 fi
117437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117438 fi
117439 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
117440 echo "${ECHO_T}$ac_cv_type_short" >&6
117441
117442 echo "$as_me:$LINENO: checking size of short" >&5
117443 echo $ECHO_N "checking size of short... $ECHO_C" >&6
117444 if test "${ac_cv_sizeof_short+set}" = set; then
117445   echo $ECHO_N "(cached) $ECHO_C" >&6
117446 else
117447   if test "$ac_cv_type_short" = yes; then
117448   # The cast to unsigned long works around a bug in the HP C Compiler
117449   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117450   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117451   # This bug is HP SR number 8606223364.
117452   if test "$cross_compiling" = yes; then
117453   # Depending upon the size, compute the lo and hi bounds.
117454 cat >conftest.$ac_ext <<_ACEOF
117455 /* confdefs.h.  */
117456 _ACEOF
117457 cat confdefs.h >>conftest.$ac_ext
117458 cat >>conftest.$ac_ext <<_ACEOF
117459 /* end confdefs.h.  */
117460 $ac_includes_default
117461 int
117462 main ()
117463 {
117464 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
117465 test_array [0] = 0
117466
117467   ;
117468   return 0;
117469 }
117470 _ACEOF
117471 rm -f conftest.$ac_objext
117472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117473   (eval $ac_compile) 2>conftest.er1
117474   ac_status=$?
117475   grep -v '^ *+' conftest.er1 >conftest.err
117476   rm -f conftest.er1
117477   cat conftest.err >&5
117478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117479   (exit $ac_status); } &&
117480          { ac_try='test -z "$ac_c_werror_flag"
117481                          || test ! -s conftest.err'
117482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117483   (eval $ac_try) 2>&5
117484   ac_status=$?
117485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117486   (exit $ac_status); }; } &&
117487          { ac_try='test -s conftest.$ac_objext'
117488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117489   (eval $ac_try) 2>&5
117490   ac_status=$?
117491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117492   (exit $ac_status); }; }; then
117493   ac_lo=0 ac_mid=0
117494   while :; do
117495     cat >conftest.$ac_ext <<_ACEOF
117496 /* confdefs.h.  */
117497 _ACEOF
117498 cat confdefs.h >>conftest.$ac_ext
117499 cat >>conftest.$ac_ext <<_ACEOF
117500 /* end confdefs.h.  */
117501 $ac_includes_default
117502 int
117503 main ()
117504 {
117505 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
117506 test_array [0] = 0
117507
117508   ;
117509   return 0;
117510 }
117511 _ACEOF
117512 rm -f conftest.$ac_objext
117513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117514   (eval $ac_compile) 2>conftest.er1
117515   ac_status=$?
117516   grep -v '^ *+' conftest.er1 >conftest.err
117517   rm -f conftest.er1
117518   cat conftest.err >&5
117519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117520   (exit $ac_status); } &&
117521          { ac_try='test -z "$ac_c_werror_flag"
117522                          || test ! -s conftest.err'
117523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117524   (eval $ac_try) 2>&5
117525   ac_status=$?
117526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117527   (exit $ac_status); }; } &&
117528          { ac_try='test -s conftest.$ac_objext'
117529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117530   (eval $ac_try) 2>&5
117531   ac_status=$?
117532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117533   (exit $ac_status); }; }; then
117534   ac_hi=$ac_mid; break
117535 else
117536   echo "$as_me: failed program was:" >&5
117537 sed 's/^/| /' conftest.$ac_ext >&5
117538
117539 ac_lo=`expr $ac_mid + 1`
117540                     if test $ac_lo -le $ac_mid; then
117541                       ac_lo= ac_hi=
117542                       break
117543                     fi
117544                     ac_mid=`expr 2 '*' $ac_mid + 1`
117545 fi
117546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117547   done
117548 else
117549   echo "$as_me: failed program was:" >&5
117550 sed 's/^/| /' conftest.$ac_ext >&5
117551
117552 cat >conftest.$ac_ext <<_ACEOF
117553 /* confdefs.h.  */
117554 _ACEOF
117555 cat confdefs.h >>conftest.$ac_ext
117556 cat >>conftest.$ac_ext <<_ACEOF
117557 /* end confdefs.h.  */
117558 $ac_includes_default
117559 int
117560 main ()
117561 {
117562 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
117563 test_array [0] = 0
117564
117565   ;
117566   return 0;
117567 }
117568 _ACEOF
117569 rm -f conftest.$ac_objext
117570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117571   (eval $ac_compile) 2>conftest.er1
117572   ac_status=$?
117573   grep -v '^ *+' conftest.er1 >conftest.err
117574   rm -f conftest.er1
117575   cat conftest.err >&5
117576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117577   (exit $ac_status); } &&
117578          { ac_try='test -z "$ac_c_werror_flag"
117579                          || test ! -s conftest.err'
117580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117581   (eval $ac_try) 2>&5
117582   ac_status=$?
117583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117584   (exit $ac_status); }; } &&
117585          { ac_try='test -s conftest.$ac_objext'
117586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117587   (eval $ac_try) 2>&5
117588   ac_status=$?
117589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117590   (exit $ac_status); }; }; then
117591   ac_hi=-1 ac_mid=-1
117592   while :; do
117593     cat >conftest.$ac_ext <<_ACEOF
117594 /* confdefs.h.  */
117595 _ACEOF
117596 cat confdefs.h >>conftest.$ac_ext
117597 cat >>conftest.$ac_ext <<_ACEOF
117598 /* end confdefs.h.  */
117599 $ac_includes_default
117600 int
117601 main ()
117602 {
117603 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
117604 test_array [0] = 0
117605
117606   ;
117607   return 0;
117608 }
117609 _ACEOF
117610 rm -f conftest.$ac_objext
117611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117612   (eval $ac_compile) 2>conftest.er1
117613   ac_status=$?
117614   grep -v '^ *+' conftest.er1 >conftest.err
117615   rm -f conftest.er1
117616   cat conftest.err >&5
117617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117618   (exit $ac_status); } &&
117619          { ac_try='test -z "$ac_c_werror_flag"
117620                          || test ! -s conftest.err'
117621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117622   (eval $ac_try) 2>&5
117623   ac_status=$?
117624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117625   (exit $ac_status); }; } &&
117626          { ac_try='test -s conftest.$ac_objext'
117627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117628   (eval $ac_try) 2>&5
117629   ac_status=$?
117630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117631   (exit $ac_status); }; }; then
117632   ac_lo=$ac_mid; break
117633 else
117634   echo "$as_me: failed program was:" >&5
117635 sed 's/^/| /' conftest.$ac_ext >&5
117636
117637 ac_hi=`expr '(' $ac_mid ')' - 1`
117638                        if test $ac_mid -le $ac_hi; then
117639                          ac_lo= ac_hi=
117640                          break
117641                        fi
117642                        ac_mid=`expr 2 '*' $ac_mid`
117643 fi
117644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117645   done
117646 else
117647   echo "$as_me: failed program was:" >&5
117648 sed 's/^/| /' conftest.$ac_ext >&5
117649
117650 ac_lo= ac_hi=
117651 fi
117652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117653 fi
117654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117655 # Binary search between lo and hi bounds.
117656 while test "x$ac_lo" != "x$ac_hi"; do
117657   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 (short))) <= $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_hi=$ac_mid
117698 else
117699   echo "$as_me: failed program was:" >&5
117700 sed 's/^/| /' conftest.$ac_ext >&5
117701
117702 ac_lo=`expr '(' $ac_mid ')' + 1`
117703 fi
117704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117705 done
117706 case $ac_lo in
117707 ?*) ac_cv_sizeof_short=$ac_lo;;
117708 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117709 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
117711 See \`config.log' for more details." >&5
117712 echo "$as_me: error: cannot compute sizeof (short), 77
117713 See \`config.log' for more details." >&2;}
117714    { (exit 1); exit 1; }; }; } ;;
117715 esac
117716 else
117717   if test "$cross_compiling" = yes; then
117718   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117719 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117720 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117721 See \`config.log' for more details." >&5
117722 echo "$as_me: error: cannot run test program while cross compiling
117723 See \`config.log' for more details." >&2;}
117724    { (exit 1); exit 1; }; }; }
117725 else
117726   cat >conftest.$ac_ext <<_ACEOF
117727 /* confdefs.h.  */
117728 _ACEOF
117729 cat confdefs.h >>conftest.$ac_ext
117730 cat >>conftest.$ac_ext <<_ACEOF
117731 /* end confdefs.h.  */
117732 $ac_includes_default
117733 long longval () { return (long) (sizeof (short)); }
117734 unsigned long ulongval () { return (long) (sizeof (short)); }
117735 #include <stdio.h>
117736 #include <stdlib.h>
117737 int
117738 main ()
117739 {
117740
117741   FILE *f = fopen ("conftest.val", "w");
117742   if (! f)
117743     exit (1);
117744   if (((long) (sizeof (short))) < 0)
117745     {
117746       long i = longval ();
117747       if (i != ((long) (sizeof (short))))
117748         exit (1);
117749       fprintf (f, "%ld\n", i);
117750     }
117751   else
117752     {
117753       unsigned long i = ulongval ();
117754       if (i != ((long) (sizeof (short))))
117755         exit (1);
117756       fprintf (f, "%lu\n", i);
117757     }
117758   exit (ferror (f) || fclose (f) != 0);
117759
117760   ;
117761   return 0;
117762 }
117763 _ACEOF
117764 rm -f conftest$ac_exeext
117765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117766   (eval $ac_link) 2>&5
117767   ac_status=$?
117768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117769   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117771   (eval $ac_try) 2>&5
117772   ac_status=$?
117773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117774   (exit $ac_status); }; }; then
117775   ac_cv_sizeof_short=`cat conftest.val`
117776 else
117777   echo "$as_me: program exited with status $ac_status" >&5
117778 echo "$as_me: failed program was:" >&5
117779 sed 's/^/| /' conftest.$ac_ext >&5
117780
117781 ( exit $ac_status )
117782 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117783 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
117785 See \`config.log' for more details." >&5
117786 echo "$as_me: error: cannot compute sizeof (short), 77
117787 See \`config.log' for more details." >&2;}
117788    { (exit 1); exit 1; }; }; }
117789 fi
117790 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117791 fi
117792 fi
117793 rm -f conftest.val
117794 else
117795   ac_cv_sizeof_short=0
117796 fi
117797 fi
117798 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
117799 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
117800 cat >>confdefs.h <<_ACEOF
117801 #define SIZEOF_SHORT $ac_cv_sizeof_short
117802 _ACEOF
117803
117804
117805   echo "$as_me:$LINENO: checking for char" >&5
117806 echo $ECHO_N "checking for char... $ECHO_C" >&6
117807 if test "${ac_cv_type_char+set}" = set; then
117808   echo $ECHO_N "(cached) $ECHO_C" >&6
117809 else
117810   cat >conftest.$ac_ext <<_ACEOF
117811 /* confdefs.h.  */
117812 _ACEOF
117813 cat confdefs.h >>conftest.$ac_ext
117814 cat >>conftest.$ac_ext <<_ACEOF
117815 /* end confdefs.h.  */
117816 $ac_includes_default
117817 int
117818 main ()
117819 {
117820 if ((char *) 0)
117821   return 0;
117822 if (sizeof (char))
117823   return 0;
117824   ;
117825   return 0;
117826 }
117827 _ACEOF
117828 rm -f conftest.$ac_objext
117829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117830   (eval $ac_compile) 2>conftest.er1
117831   ac_status=$?
117832   grep -v '^ *+' conftest.er1 >conftest.err
117833   rm -f conftest.er1
117834   cat conftest.err >&5
117835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117836   (exit $ac_status); } &&
117837          { ac_try='test -z "$ac_c_werror_flag"
117838                          || test ! -s conftest.err'
117839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117840   (eval $ac_try) 2>&5
117841   ac_status=$?
117842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117843   (exit $ac_status); }; } &&
117844          { ac_try='test -s conftest.$ac_objext'
117845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117846   (eval $ac_try) 2>&5
117847   ac_status=$?
117848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117849   (exit $ac_status); }; }; then
117850   ac_cv_type_char=yes
117851 else
117852   echo "$as_me: failed program was:" >&5
117853 sed 's/^/| /' conftest.$ac_ext >&5
117854
117855 ac_cv_type_char=no
117856 fi
117857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117858 fi
117859 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
117860 echo "${ECHO_T}$ac_cv_type_char" >&6
117861
117862 echo "$as_me:$LINENO: checking size of char" >&5
117863 echo $ECHO_N "checking size of char... $ECHO_C" >&6
117864 if test "${ac_cv_sizeof_char+set}" = set; then
117865   echo $ECHO_N "(cached) $ECHO_C" >&6
117866 else
117867   if test "$ac_cv_type_char" = yes; then
117868   # The cast to unsigned long works around a bug in the HP C Compiler
117869   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117870   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117871   # This bug is HP SR number 8606223364.
117872   if test "$cross_compiling" = yes; then
117873   # Depending upon the size, compute the lo and hi bounds.
117874 cat >conftest.$ac_ext <<_ACEOF
117875 /* confdefs.h.  */
117876 _ACEOF
117877 cat confdefs.h >>conftest.$ac_ext
117878 cat >>conftest.$ac_ext <<_ACEOF
117879 /* end confdefs.h.  */
117880 $ac_includes_default
117881 int
117882 main ()
117883 {
117884 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
117885 test_array [0] = 0
117886
117887   ;
117888   return 0;
117889 }
117890 _ACEOF
117891 rm -f conftest.$ac_objext
117892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117893   (eval $ac_compile) 2>conftest.er1
117894   ac_status=$?
117895   grep -v '^ *+' conftest.er1 >conftest.err
117896   rm -f conftest.er1
117897   cat conftest.err >&5
117898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117899   (exit $ac_status); } &&
117900          { ac_try='test -z "$ac_c_werror_flag"
117901                          || test ! -s conftest.err'
117902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117903   (eval $ac_try) 2>&5
117904   ac_status=$?
117905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117906   (exit $ac_status); }; } &&
117907          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
117913   ac_lo=0 ac_mid=0
117914   while :; do
117915     cat >conftest.$ac_ext <<_ACEOF
117916 /* confdefs.h.  */
117917 _ACEOF
117918 cat confdefs.h >>conftest.$ac_ext
117919 cat >>conftest.$ac_ext <<_ACEOF
117920 /* end confdefs.h.  */
117921 $ac_includes_default
117922 int
117923 main ()
117924 {
117925 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
117926 test_array [0] = 0
117927
117928   ;
117929   return 0;
117930 }
117931 _ACEOF
117932 rm -f conftest.$ac_objext
117933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117934   (eval $ac_compile) 2>conftest.er1
117935   ac_status=$?
117936   grep -v '^ *+' conftest.er1 >conftest.err
117937   rm -f conftest.er1
117938   cat conftest.err >&5
117939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117940   (exit $ac_status); } &&
117941          { ac_try='test -z "$ac_c_werror_flag"
117942                          || test ! -s conftest.err'
117943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117944   (eval $ac_try) 2>&5
117945   ac_status=$?
117946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117947   (exit $ac_status); }; } &&
117948          { ac_try='test -s conftest.$ac_objext'
117949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117950   (eval $ac_try) 2>&5
117951   ac_status=$?
117952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117953   (exit $ac_status); }; }; then
117954   ac_hi=$ac_mid; break
117955 else
117956   echo "$as_me: failed program was:" >&5
117957 sed 's/^/| /' conftest.$ac_ext >&5
117958
117959 ac_lo=`expr $ac_mid + 1`
117960                     if test $ac_lo -le $ac_mid; then
117961                       ac_lo= ac_hi=
117962                       break
117963                     fi
117964                     ac_mid=`expr 2 '*' $ac_mid + 1`
117965 fi
117966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117967   done
117968 else
117969   echo "$as_me: failed program was:" >&5
117970 sed 's/^/| /' conftest.$ac_ext >&5
117971
117972 cat >conftest.$ac_ext <<_ACEOF
117973 /* confdefs.h.  */
117974 _ACEOF
117975 cat confdefs.h >>conftest.$ac_ext
117976 cat >>conftest.$ac_ext <<_ACEOF
117977 /* end confdefs.h.  */
117978 $ac_includes_default
117979 int
117980 main ()
117981 {
117982 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
117983 test_array [0] = 0
117984
117985   ;
117986   return 0;
117987 }
117988 _ACEOF
117989 rm -f conftest.$ac_objext
117990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117991   (eval $ac_compile) 2>conftest.er1
117992   ac_status=$?
117993   grep -v '^ *+' conftest.er1 >conftest.err
117994   rm -f conftest.er1
117995   cat conftest.err >&5
117996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117997   (exit $ac_status); } &&
117998          { ac_try='test -z "$ac_c_werror_flag"
117999                          || test ! -s conftest.err'
118000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118001   (eval $ac_try) 2>&5
118002   ac_status=$?
118003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118004   (exit $ac_status); }; } &&
118005          { ac_try='test -s conftest.$ac_objext'
118006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118007   (eval $ac_try) 2>&5
118008   ac_status=$?
118009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118010   (exit $ac_status); }; }; then
118011   ac_hi=-1 ac_mid=-1
118012   while :; do
118013     cat >conftest.$ac_ext <<_ACEOF
118014 /* confdefs.h.  */
118015 _ACEOF
118016 cat confdefs.h >>conftest.$ac_ext
118017 cat >>conftest.$ac_ext <<_ACEOF
118018 /* end confdefs.h.  */
118019 $ac_includes_default
118020 int
118021 main ()
118022 {
118023 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118024 test_array [0] = 0
118025
118026   ;
118027   return 0;
118028 }
118029 _ACEOF
118030 rm -f conftest.$ac_objext
118031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118032   (eval $ac_compile) 2>conftest.er1
118033   ac_status=$?
118034   grep -v '^ *+' conftest.er1 >conftest.err
118035   rm -f conftest.er1
118036   cat conftest.err >&5
118037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118038   (exit $ac_status); } &&
118039          { ac_try='test -z "$ac_c_werror_flag"
118040                          || test ! -s conftest.err'
118041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118042   (eval $ac_try) 2>&5
118043   ac_status=$?
118044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118045   (exit $ac_status); }; } &&
118046          { ac_try='test -s conftest.$ac_objext'
118047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118048   (eval $ac_try) 2>&5
118049   ac_status=$?
118050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118051   (exit $ac_status); }; }; then
118052   ac_lo=$ac_mid; break
118053 else
118054   echo "$as_me: failed program was:" >&5
118055 sed 's/^/| /' conftest.$ac_ext >&5
118056
118057 ac_hi=`expr '(' $ac_mid ')' - 1`
118058                        if test $ac_mid -le $ac_hi; then
118059                          ac_lo= ac_hi=
118060                          break
118061                        fi
118062                        ac_mid=`expr 2 '*' $ac_mid`
118063 fi
118064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118065   done
118066 else
118067   echo "$as_me: failed program was:" >&5
118068 sed 's/^/| /' conftest.$ac_ext >&5
118069
118070 ac_lo= ac_hi=
118071 fi
118072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118073 fi
118074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118075 # Binary search between lo and hi bounds.
118076 while test "x$ac_lo" != "x$ac_hi"; do
118077   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118078   cat >conftest.$ac_ext <<_ACEOF
118079 /* confdefs.h.  */
118080 _ACEOF
118081 cat confdefs.h >>conftest.$ac_ext
118082 cat >>conftest.$ac_ext <<_ACEOF
118083 /* end confdefs.h.  */
118084 $ac_includes_default
118085 int
118086 main ()
118087 {
118088 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118089 test_array [0] = 0
118090
118091   ;
118092   return 0;
118093 }
118094 _ACEOF
118095 rm -f conftest.$ac_objext
118096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118097   (eval $ac_compile) 2>conftest.er1
118098   ac_status=$?
118099   grep -v '^ *+' conftest.er1 >conftest.err
118100   rm -f conftest.er1
118101   cat conftest.err >&5
118102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118103   (exit $ac_status); } &&
118104          { ac_try='test -z "$ac_c_werror_flag"
118105                          || test ! -s conftest.err'
118106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118107   (eval $ac_try) 2>&5
118108   ac_status=$?
118109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118110   (exit $ac_status); }; } &&
118111          { ac_try='test -s conftest.$ac_objext'
118112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118113   (eval $ac_try) 2>&5
118114   ac_status=$?
118115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118116   (exit $ac_status); }; }; then
118117   ac_hi=$ac_mid
118118 else
118119   echo "$as_me: failed program was:" >&5
118120 sed 's/^/| /' conftest.$ac_ext >&5
118121
118122 ac_lo=`expr '(' $ac_mid ')' + 1`
118123 fi
118124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118125 done
118126 case $ac_lo in
118127 ?*) ac_cv_sizeof_char=$ac_lo;;
118128 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118129 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118131 See \`config.log' for more details." >&5
118132 echo "$as_me: error: cannot compute sizeof (char), 77
118133 See \`config.log' for more details." >&2;}
118134    { (exit 1); exit 1; }; }; } ;;
118135 esac
118136 else
118137   if test "$cross_compiling" = yes; then
118138   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118139 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118141 See \`config.log' for more details." >&5
118142 echo "$as_me: error: cannot run test program while cross compiling
118143 See \`config.log' for more details." >&2;}
118144    { (exit 1); exit 1; }; }; }
118145 else
118146   cat >conftest.$ac_ext <<_ACEOF
118147 /* confdefs.h.  */
118148 _ACEOF
118149 cat confdefs.h >>conftest.$ac_ext
118150 cat >>conftest.$ac_ext <<_ACEOF
118151 /* end confdefs.h.  */
118152 $ac_includes_default
118153 long longval () { return (long) (sizeof (char)); }
118154 unsigned long ulongval () { return (long) (sizeof (char)); }
118155 #include <stdio.h>
118156 #include <stdlib.h>
118157 int
118158 main ()
118159 {
118160
118161   FILE *f = fopen ("conftest.val", "w");
118162   if (! f)
118163     exit (1);
118164   if (((long) (sizeof (char))) < 0)
118165     {
118166       long i = longval ();
118167       if (i != ((long) (sizeof (char))))
118168         exit (1);
118169       fprintf (f, "%ld\n", i);
118170     }
118171   else
118172     {
118173       unsigned long i = ulongval ();
118174       if (i != ((long) (sizeof (char))))
118175         exit (1);
118176       fprintf (f, "%lu\n", i);
118177     }
118178   exit (ferror (f) || fclose (f) != 0);
118179
118180   ;
118181   return 0;
118182 }
118183 _ACEOF
118184 rm -f conftest$ac_exeext
118185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118186   (eval $ac_link) 2>&5
118187   ac_status=$?
118188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118189   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118191   (eval $ac_try) 2>&5
118192   ac_status=$?
118193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118194   (exit $ac_status); }; }; then
118195   ac_cv_sizeof_char=`cat conftest.val`
118196 else
118197   echo "$as_me: program exited with status $ac_status" >&5
118198 echo "$as_me: failed program was:" >&5
118199 sed 's/^/| /' conftest.$ac_ext >&5
118200
118201 ( exit $ac_status )
118202 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118203 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118205 See \`config.log' for more details." >&5
118206 echo "$as_me: error: cannot compute sizeof (char), 77
118207 See \`config.log' for more details." >&2;}
118208    { (exit 1); exit 1; }; }; }
118209 fi
118210 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118211 fi
118212 fi
118213 rm -f conftest.val
118214 else
118215   ac_cv_sizeof_char=0
118216 fi
118217 fi
118218 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118219 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118220 cat >>confdefs.h <<_ACEOF
118221 #define SIZEOF_CHAR $ac_cv_sizeof_char
118222 _ACEOF
118223
118224
118225
118226   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118227 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118228   case "$ac_cv_sizeof_char" in
118229     1) acx_cv_type_int8_t=char ;;
118230     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118231 echo "$as_me: error: no 8-bit type" >&2;}
118232    { (exit please report a bug); exit please report a bug; }; }
118233   esac
118234   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
118235 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
118236
118237   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
118238 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
118239   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
118240     2:*) acx_cv_type_int16_t=int ;;
118241     *:2) acx_cv_type_int16_t=short ;;
118242     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
118243 echo "$as_me: error: no 16-bit type" >&2;}
118244    { (exit please report a bug); exit please report a bug; }; }
118245   esac
118246   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
118247 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
118248
118249   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
118250 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
118251   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
118252     4:*) acx_cv_type_int32_t=int ;;
118253     *:4) acx_cv_type_int32_t=long ;;
118254     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
118255 echo "$as_me: error: no 32-bit type" >&2;}
118256    { (exit please report a bug); exit please report a bug; }; }
118257   esac
118258   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
118259 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
118260 fi
118261
118262 # These tests are here to make the output prettier
118263
118264 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
118265   case "$ac_cv_sizeof_long" in
118266     8) acx_cv_type_int64_t=long ;;
118267   esac
118268   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
118269 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
118270   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
118271 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
118272 fi
118273
118274 # Now we can use the above types
118275
118276 if test "$ac_cv_type_uintptr_t" != yes; then
118277   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
118278 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
118279   case $ac_cv_sizeof_void_p in
118280     2) acx_cv_type_intptr_t=int16_t ;;
118281     4) acx_cv_type_intptr_t=int32_t ;;
118282     8) acx_cv_type_intptr_t=int64_t ;;
118283     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
118284 echo "$as_me: error: no equivalent for intptr_t" >&2;}
118285    { (exit please report a bug); exit please report a bug; }; }
118286   esac
118287   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
118288 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
118289 fi
118290
118291 # ----------------- done all checks, emit header -------------
118292           ac_config_commands="$ac_config_commands include/gstdint.h"
118293
118294
118295
118296
118297 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
118298
118299
118300  # Check whether --enable-symvers or --disable-symvers was given.
118301 if test "${enable_symvers+set}" = set; then
118302   enableval="$enable_symvers"
118303
118304       case "$enableval" in
118305        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
118306        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
118307 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
118308    { (exit 1); exit 1; }; } ;;
118309                           esac
118310
118311 else
118312   enable_symvers=yes
118313 fi;
118314
118315
118316 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
118317 # don't know enough about $LD to do tricks...
118318
118319
118320 # Turn a 'yes' into a suitable default.
118321 if test x$enable_symvers = xyes ; then
118322   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
118323     enable_symvers=no
118324   else
118325     if test $with_gnu_ld = yes ; then
118326       enable_symvers=gnu
118327     else
118328       case ${target_os} in
118329         darwin*)
118330           enable_symvers=darwin ;;
118331         *)
118332           enable_symvers=no ;;
118333       esac
118334     fi
118335   fi
118336 fi
118337
118338 # Check to see if 'darwin' or 'darwin-export' can win.
118339 if test x$enable_symvers = xdarwin-export ; then
118340     enable_symvers=darwin
118341 fi
118342
118343 # Check to see if 'gnu' can win.
118344 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
118345   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
118346   echo "$as_me:$LINENO: checking for shared libgcc" >&5
118347 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
118348   ac_save_CFLAGS="$CFLAGS"
118349   CFLAGS=' -lgcc_s'
118350   if test x$gcc_no_link = xyes; then
118351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118353    { (exit 1); exit 1; }; }
118354 fi
118355 cat >conftest.$ac_ext <<_ACEOF
118356 /* confdefs.h.  */
118357 _ACEOF
118358 cat confdefs.h >>conftest.$ac_ext
118359 cat >>conftest.$ac_ext <<_ACEOF
118360 /* end confdefs.h.  */
118361
118362 int
118363 main ()
118364 {
118365 return 0;
118366   ;
118367   return 0;
118368 }
118369 _ACEOF
118370 rm -f conftest.$ac_objext conftest$ac_exeext
118371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118372   (eval $ac_link) 2>conftest.er1
118373   ac_status=$?
118374   grep -v '^ *+' conftest.er1 >conftest.err
118375   rm -f conftest.er1
118376   cat conftest.err >&5
118377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118378   (exit $ac_status); } &&
118379          { ac_try='test -z "$ac_c_werror_flag"
118380                          || test ! -s conftest.err'
118381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118382   (eval $ac_try) 2>&5
118383   ac_status=$?
118384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118385   (exit $ac_status); }; } &&
118386          { ac_try='test -s conftest$ac_exeext'
118387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118388   (eval $ac_try) 2>&5
118389   ac_status=$?
118390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118391   (exit $ac_status); }; }; then
118392   glibcxx_shared_libgcc=yes
118393 else
118394   echo "$as_me: failed program was:" >&5
118395 sed 's/^/| /' conftest.$ac_ext >&5
118396
118397 glibcxx_shared_libgcc=no
118398 fi
118399 rm -f conftest.err conftest.$ac_objext \
118400       conftest$ac_exeext conftest.$ac_ext
118401   CFLAGS="$ac_save_CFLAGS"
118402   if test $glibcxx_shared_libgcc = no; then
118403     cat > conftest.c <<EOF
118404 int main (void) { return 0; }
118405 EOF
118406     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
118407                              -shared -shared-libgcc -o conftest.so \
118408                              conftest.c -v 2>&1 >/dev/null \
118409                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
118410     rm -f conftest.c conftest.so
118411     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
118412       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
118413       if test x$gcc_no_link = xyes; then
118414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118416    { (exit 1); exit 1; }; }
118417 fi
118418 cat >conftest.$ac_ext <<_ACEOF
118419 /* confdefs.h.  */
118420 _ACEOF
118421 cat confdefs.h >>conftest.$ac_ext
118422 cat >>conftest.$ac_ext <<_ACEOF
118423 /* end confdefs.h.  */
118424
118425 int
118426 main ()
118427 {
118428 return 0;
118429   ;
118430   return 0;
118431 }
118432 _ACEOF
118433 rm -f conftest.$ac_objext conftest$ac_exeext
118434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118435   (eval $ac_link) 2>conftest.er1
118436   ac_status=$?
118437   grep -v '^ *+' conftest.er1 >conftest.err
118438   rm -f conftest.er1
118439   cat conftest.err >&5
118440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118441   (exit $ac_status); } &&
118442          { ac_try='test -z "$ac_c_werror_flag"
118443                          || test ! -s conftest.err'
118444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118445   (eval $ac_try) 2>&5
118446   ac_status=$?
118447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118448   (exit $ac_status); }; } &&
118449          { ac_try='test -s conftest$ac_exeext'
118450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118451   (eval $ac_try) 2>&5
118452   ac_status=$?
118453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118454   (exit $ac_status); }; }; then
118455   glibcxx_shared_libgcc=yes
118456 else
118457   echo "$as_me: failed program was:" >&5
118458 sed 's/^/| /' conftest.$ac_ext >&5
118459
118460 fi
118461 rm -f conftest.err conftest.$ac_objext \
118462       conftest$ac_exeext conftest.$ac_ext
118463       CFLAGS="$ac_save_CFLAGS"
118464     fi
118465   fi
118466   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
118467 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
118468
118469   # For GNU ld, we need at least this version.  The format is described in
118470   # GLIBCXX_CHECK_LINKER_FEATURES above.
118471   glibcxx_min_gnu_ld_version=21400
118472
118473   # If no shared libgcc, can't win.
118474   if test $glibcxx_shared_libgcc != yes; then
118475       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118476 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118477       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
118478 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
118479       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118480 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118481       enable_symvers=no
118482   elif test $with_gnu_ld != yes ; then
118483     # just fail for now
118484     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118485 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118486     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
118487 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
118488     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118489 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118490     enable_symvers=no
118491   elif test $glibcxx_ld_is_gold = yes ; then
118492     : All versions of gold support symbol versioning.
118493   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
118494     # The right tools, the right setup, but too old.  Fallbacks?
118495     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
118496 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
118497     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
118498 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
118499     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
118500 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
118501     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
118502 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
118503     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118504 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118505     enable_symvers=no
118506   fi
118507 fi
118508
118509 # Everything parsed; figure out what file to use.
118510 case $enable_symvers in
118511   no)
118512     SYMVER_FILE=config/abi/pre/none.ver
118513     ;;
118514   gnu)
118515     SYMVER_FILE=config/abi/pre/gnu.ver
118516
118517 cat >>confdefs.h <<\_ACEOF
118518 #define _GLIBCXX_SYMVER_GNU 1
118519 _ACEOF
118520
118521     ;;
118522   gnu-versioned-namespace)
118523     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
118524
118525 cat >>confdefs.h <<\_ACEOF
118526 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
118527 _ACEOF
118528
118529     ;;
118530   darwin)
118531     SYMVER_FILE=config/abi/pre/gnu.ver
118532
118533 cat >>confdefs.h <<\_ACEOF
118534 #define _GLIBCXX_SYMVER_DARWIN 1
118535 _ACEOF
118536
118537     ;;
118538 esac
118539
118540 if test x$enable_symvers != xno ; then
118541
118542 cat >>confdefs.h <<\_ACEOF
118543 #define _GLIBCXX_SYMVER 1
118544 _ACEOF
118545
118546 fi
118547
118548
118549
118550
118551
118552
118553
118554 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
118555 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
118556
118557 # Now, set up compatibility support, if any.
118558 # In addition, need this to deal with std::size_t mangling in
118559 # src/compatibility.cc.  In a perfect world, could use
118560 # typeid(std::size_t).name()[0] to do direct substitution.
118561 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
118562 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
118563 ac_save_CFLAGS="$CFLAGS"
118564 CFLAGS="-Werror"
118565 cat >conftest.$ac_ext <<_ACEOF
118566 /* confdefs.h.  */
118567 _ACEOF
118568 cat confdefs.h >>conftest.$ac_ext
118569 cat >>conftest.$ac_ext <<_ACEOF
118570 /* end confdefs.h.  */
118571
118572 int
118573 main ()
118574 {
118575 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
118576   ;
118577   return 0;
118578 }
118579 _ACEOF
118580 rm -f conftest.$ac_objext
118581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118582   (eval $ac_compile) 2>conftest.er1
118583   ac_status=$?
118584   grep -v '^ *+' conftest.er1 >conftest.err
118585   rm -f conftest.er1
118586   cat conftest.err >&5
118587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118588   (exit $ac_status); } &&
118589          { ac_try='test -z "$ac_c_werror_flag"
118590                          || test ! -s conftest.err'
118591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118592   (eval $ac_try) 2>&5
118593   ac_status=$?
118594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118595   (exit $ac_status); }; } &&
118596          { ac_try='test -s conftest.$ac_objext'
118597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118598   (eval $ac_try) 2>&5
118599   ac_status=$?
118600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118601   (exit $ac_status); }; }; then
118602   glibcxx_size_t_is_i=yes
118603 else
118604   echo "$as_me: failed program was:" >&5
118605 sed 's/^/| /' conftest.$ac_ext >&5
118606
118607 glibcxx_size_t_is_i=no
118608 fi
118609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118610 CFLAGS=$ac_save_CFLAGS
118611 if test "$glibcxx_size_t_is_i" = yes; then
118612
118613 cat >>confdefs.h <<\_ACEOF
118614 #define _GLIBCXX_SIZE_T_IS_UINT 1
118615 _ACEOF
118616
118617 fi
118618 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
118619 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
118620
118621 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
118622 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
118623 ac_save_CFLAGS="$CFLAGS"
118624 CFLAGS="-Werror"
118625 cat >conftest.$ac_ext <<_ACEOF
118626 /* confdefs.h.  */
118627 _ACEOF
118628 cat confdefs.h >>conftest.$ac_ext
118629 cat >>conftest.$ac_ext <<_ACEOF
118630 /* end confdefs.h.  */
118631
118632 int
118633 main ()
118634 {
118635 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
118636   ;
118637   return 0;
118638 }
118639 _ACEOF
118640 rm -f conftest.$ac_objext
118641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118642   (eval $ac_compile) 2>conftest.er1
118643   ac_status=$?
118644   grep -v '^ *+' conftest.er1 >conftest.err
118645   rm -f conftest.er1
118646   cat conftest.err >&5
118647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118648   (exit $ac_status); } &&
118649          { ac_try='test -z "$ac_c_werror_flag"
118650                          || test ! -s conftest.err'
118651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118652   (eval $ac_try) 2>&5
118653   ac_status=$?
118654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118655   (exit $ac_status); }; } &&
118656          { ac_try='test -s conftest.$ac_objext'
118657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118658   (eval $ac_try) 2>&5
118659   ac_status=$?
118660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118661   (exit $ac_status); }; }; then
118662   glibcxx_ptrdiff_t_is_i=yes
118663 else
118664   echo "$as_me: failed program was:" >&5
118665 sed 's/^/| /' conftest.$ac_ext >&5
118666
118667 glibcxx_ptrdiff_t_is_i=no
118668 fi
118669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118670 CFLAGS=$ac_save_CFLAGS
118671 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
118672
118673 cat >>confdefs.h <<\_ACEOF
118674 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
118675 _ACEOF
118676
118677 fi
118678 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
118679 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
118680
118681
118682  # Check whether --enable-visibility or --disable-visibility was given.
118683 if test "${enable_visibility+set}" = set; then
118684   enableval="$enable_visibility"
118685
118686       case "$enableval" in
118687        yes|no) ;;
118688        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
118689 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
118690    { (exit 1); exit 1; }; } ;;
118691       esac
118692
118693 else
118694   enable_visibility=yes
118695 fi;
118696
118697
118698 if test x$enable_visibility = xyes ; then
118699       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
118700 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
118701 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
118702   echo $ECHO_N "(cached) $ECHO_C" >&6
118703 else
118704
118705   save_CFLAGS="$CFLAGS"
118706   CFLAGS="$CFLAGS -Werror"
118707   cat >conftest.$ac_ext <<_ACEOF
118708 /* confdefs.h.  */
118709 _ACEOF
118710 cat confdefs.h >>conftest.$ac_ext
118711 cat >>conftest.$ac_ext <<_ACEOF
118712 /* end confdefs.h.  */
118713 void __attribute__((visibility("hidden"))) foo(void) { }
118714 int
118715 main ()
118716 {
118717
118718   ;
118719   return 0;
118720 }
118721 _ACEOF
118722 rm -f conftest.$ac_objext
118723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118724   (eval $ac_compile) 2>conftest.er1
118725   ac_status=$?
118726   grep -v '^ *+' conftest.er1 >conftest.err
118727   rm -f conftest.er1
118728   cat conftest.err >&5
118729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118730   (exit $ac_status); } &&
118731          { ac_try='test -z "$ac_c_werror_flag"
118732                          || test ! -s conftest.err'
118733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118734   (eval $ac_try) 2>&5
118735   ac_status=$?
118736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118737   (exit $ac_status); }; } &&
118738          { ac_try='test -s conftest.$ac_objext'
118739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118740   (eval $ac_try) 2>&5
118741   ac_status=$?
118742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118743   (exit $ac_status); }; }; then
118744   glibcxx_cv_have_attribute_visibility=yes
118745 else
118746   echo "$as_me: failed program was:" >&5
118747 sed 's/^/| /' conftest.$ac_ext >&5
118748
118749 glibcxx_cv_have_attribute_visibility=no
118750 fi
118751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118752   CFLAGS="$save_CFLAGS"
118753 fi
118754 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
118755 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
118756   if test $glibcxx_cv_have_attribute_visibility = no; then
118757     enable_visibility=no
118758   fi
118759 fi
118760
118761
118762 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
118763 echo "$as_me: visibility supported: $enable_visibility" >&6;}
118764
118765
118766 ac_ldbl_compat=no
118767 case "$target" in
118768   powerpc*-*-linux* | \
118769   powerpc*-*-gnu* | \
118770   sparc*-*-linux* | \
118771   s390*-*-linux* | \
118772   alpha*-*-linux*)
118773   cat >conftest.$ac_ext <<_ACEOF
118774 /* confdefs.h.  */
118775 _ACEOF
118776 cat confdefs.h >>conftest.$ac_ext
118777 cat >>conftest.$ac_ext <<_ACEOF
118778 /* end confdefs.h.  */
118779
118780 int
118781 main ()
118782 {
118783
118784 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
118785 #error no need for long double compatibility
118786 #endif
118787
118788   ;
118789   return 0;
118790 }
118791 _ACEOF
118792 rm -f conftest.$ac_objext
118793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118794   (eval $ac_compile) 2>conftest.er1
118795   ac_status=$?
118796   grep -v '^ *+' conftest.er1 >conftest.err
118797   rm -f conftest.er1
118798   cat conftest.err >&5
118799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118800   (exit $ac_status); } &&
118801          { ac_try='test -z "$ac_c_werror_flag"
118802                          || test ! -s conftest.err'
118803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118804   (eval $ac_try) 2>&5
118805   ac_status=$?
118806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118807   (exit $ac_status); }; } &&
118808          { ac_try='test -s conftest.$ac_objext'
118809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118810   (eval $ac_try) 2>&5
118811   ac_status=$?
118812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118813   (exit $ac_status); }; }; then
118814   ac_ldbl_compat=yes
118815 else
118816   echo "$as_me: failed program was:" >&5
118817 sed 's/^/| /' conftest.$ac_ext >&5
118818
118819 ac_ldbl_compat=no
118820 fi
118821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118822   if test "$ac_ldbl_compat" = yes; then
118823
118824 cat >>confdefs.h <<\_ACEOF
118825 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
118826 _ACEOF
118827
118828     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
118829   fi
118830 esac
118831
118832
118833 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
118834
118835   if $GLIBCXX_IS_NATIVE ; then
118836     # Do checks for resource limit functions.
118837
118838   setrlimit_have_headers=yes
118839
118840
118841
118842 for ac_header in unistd.h sys/time.h sys/resource.h
118843 do
118844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
118845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
118846   echo "$as_me:$LINENO: checking for $ac_header" >&5
118847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
118848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
118849   echo $ECHO_N "(cached) $ECHO_C" >&6
118850 fi
118851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
118852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
118853 else
118854   # Is the header compilable?
118855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
118856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
118857 cat >conftest.$ac_ext <<_ACEOF
118858 /* confdefs.h.  */
118859 _ACEOF
118860 cat confdefs.h >>conftest.$ac_ext
118861 cat >>conftest.$ac_ext <<_ACEOF
118862 /* end confdefs.h.  */
118863 $ac_includes_default
118864 #include <$ac_header>
118865 _ACEOF
118866 rm -f conftest.$ac_objext
118867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118868   (eval $ac_compile) 2>conftest.er1
118869   ac_status=$?
118870   grep -v '^ *+' conftest.er1 >conftest.err
118871   rm -f conftest.er1
118872   cat conftest.err >&5
118873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118874   (exit $ac_status); } &&
118875          { ac_try='test -z "$ac_c_werror_flag"
118876                          || test ! -s conftest.err'
118877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118878   (eval $ac_try) 2>&5
118879   ac_status=$?
118880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118881   (exit $ac_status); }; } &&
118882          { ac_try='test -s conftest.$ac_objext'
118883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118884   (eval $ac_try) 2>&5
118885   ac_status=$?
118886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118887   (exit $ac_status); }; }; then
118888   ac_header_compiler=yes
118889 else
118890   echo "$as_me: failed program was:" >&5
118891 sed 's/^/| /' conftest.$ac_ext >&5
118892
118893 ac_header_compiler=no
118894 fi
118895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
118897 echo "${ECHO_T}$ac_header_compiler" >&6
118898
118899 # Is the header present?
118900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
118901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
118902 cat >conftest.$ac_ext <<_ACEOF
118903 /* confdefs.h.  */
118904 _ACEOF
118905 cat confdefs.h >>conftest.$ac_ext
118906 cat >>conftest.$ac_ext <<_ACEOF
118907 /* end confdefs.h.  */
118908 #include <$ac_header>
118909 _ACEOF
118910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
118911   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
118912   ac_status=$?
118913   grep -v '^ *+' conftest.er1 >conftest.err
118914   rm -f conftest.er1
118915   cat conftest.err >&5
118916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118917   (exit $ac_status); } >/dev/null; then
118918   if test -s conftest.err; then
118919     ac_cpp_err=$ac_c_preproc_warn_flag
118920     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
118921   else
118922     ac_cpp_err=
118923   fi
118924 else
118925   ac_cpp_err=yes
118926 fi
118927 if test -z "$ac_cpp_err"; then
118928   ac_header_preproc=yes
118929 else
118930   echo "$as_me: failed program was:" >&5
118931 sed 's/^/| /' conftest.$ac_ext >&5
118932
118933   ac_header_preproc=no
118934 fi
118935 rm -f conftest.err conftest.$ac_ext
118936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
118937 echo "${ECHO_T}$ac_header_preproc" >&6
118938
118939 # So?  What about this header?
118940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
118941   yes:no: )
118942     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
118943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
118944     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
118945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
118946     ac_header_preproc=yes
118947     ;;
118948   no:yes:* )
118949     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
118950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
118951     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
118952 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
118953     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
118954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
118955     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
118956 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
118957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
118958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
118959     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
118960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
118961     (
118962       cat <<\_ASBOX
118963 ## ----------------------------------------- ##
118964 ## Report this to the package-unused lists.  ##
118965 ## ----------------------------------------- ##
118966 _ASBOX
118967     ) |
118968       sed "s/^/$as_me: WARNING:     /" >&2
118969     ;;
118970 esac
118971 echo "$as_me:$LINENO: checking for $ac_header" >&5
118972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
118973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
118974   echo $ECHO_N "(cached) $ECHO_C" >&6
118975 else
118976   eval "$as_ac_Header=\$ac_header_preproc"
118977 fi
118978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
118979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
118980
118981 fi
118982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
118983   cat >>confdefs.h <<_ACEOF
118984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
118985 _ACEOF
118986
118987 else
118988   setrlimit_have_headers=no
118989 fi
118990
118991 done
118992
118993   # If don't have the headers, then we can't run the tests now, and we
118994   # won't be seeing any of these during testsuite compilation.
118995   if test $setrlimit_have_headers = yes; then
118996     # Can't do these in a loop, else the resulting syntax is wrong.
118997
118998   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
118999 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119000   cat >conftest.$ac_ext <<_ACEOF
119001 /* confdefs.h.  */
119002 _ACEOF
119003 cat confdefs.h >>conftest.$ac_ext
119004 cat >>conftest.$ac_ext <<_ACEOF
119005 /* end confdefs.h.  */
119006 #include <unistd.h>
119007      #include <sys/time.h>
119008      #include <sys/resource.h>
119009
119010 int
119011 main ()
119012 {
119013  int f = RLIMIT_DATA ;
119014   ;
119015   return 0;
119016 }
119017 _ACEOF
119018 rm -f conftest.$ac_objext
119019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119020   (eval $ac_compile) 2>conftest.er1
119021   ac_status=$?
119022   grep -v '^ *+' conftest.er1 >conftest.err
119023   rm -f conftest.er1
119024   cat conftest.err >&5
119025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119026   (exit $ac_status); } &&
119027          { ac_try='test -z "$ac_c_werror_flag"
119028                          || test ! -s conftest.err'
119029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119030   (eval $ac_try) 2>&5
119031   ac_status=$?
119032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119033   (exit $ac_status); }; } &&
119034          { ac_try='test -s conftest.$ac_objext'
119035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119036   (eval $ac_try) 2>&5
119037   ac_status=$?
119038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119039   (exit $ac_status); }; }; then
119040   glibcxx_mresult=1
119041 else
119042   echo "$as_me: failed program was:" >&5
119043 sed 's/^/| /' conftest.$ac_ext >&5
119044
119045 glibcxx_mresult=0
119046 fi
119047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119048
119049 cat >>confdefs.h <<_ACEOF
119050 #define HAVE_LIMIT_DATA $glibcxx_mresult
119051 _ACEOF
119052
119053   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119054   echo "$as_me:$LINENO: result: $res" >&5
119055 echo "${ECHO_T}$res" >&6
119056
119057
119058   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119059 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119060   cat >conftest.$ac_ext <<_ACEOF
119061 /* confdefs.h.  */
119062 _ACEOF
119063 cat confdefs.h >>conftest.$ac_ext
119064 cat >>conftest.$ac_ext <<_ACEOF
119065 /* end confdefs.h.  */
119066 #include <unistd.h>
119067      #include <sys/time.h>
119068      #include <sys/resource.h>
119069
119070 int
119071 main ()
119072 {
119073  int f = RLIMIT_RSS ;
119074   ;
119075   return 0;
119076 }
119077 _ACEOF
119078 rm -f conftest.$ac_objext
119079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119080   (eval $ac_compile) 2>conftest.er1
119081   ac_status=$?
119082   grep -v '^ *+' conftest.er1 >conftest.err
119083   rm -f conftest.er1
119084   cat conftest.err >&5
119085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119086   (exit $ac_status); } &&
119087          { ac_try='test -z "$ac_c_werror_flag"
119088                          || test ! -s conftest.err'
119089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119090   (eval $ac_try) 2>&5
119091   ac_status=$?
119092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119093   (exit $ac_status); }; } &&
119094          { ac_try='test -s conftest.$ac_objext'
119095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119096   (eval $ac_try) 2>&5
119097   ac_status=$?
119098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119099   (exit $ac_status); }; }; then
119100   glibcxx_mresult=1
119101 else
119102   echo "$as_me: failed program was:" >&5
119103 sed 's/^/| /' conftest.$ac_ext >&5
119104
119105 glibcxx_mresult=0
119106 fi
119107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119108
119109 cat >>confdefs.h <<_ACEOF
119110 #define HAVE_LIMIT_RSS $glibcxx_mresult
119111 _ACEOF
119112
119113   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119114   echo "$as_me:$LINENO: result: $res" >&5
119115 echo "${ECHO_T}$res" >&6
119116
119117
119118   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119119 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119120   cat >conftest.$ac_ext <<_ACEOF
119121 /* confdefs.h.  */
119122 _ACEOF
119123 cat confdefs.h >>conftest.$ac_ext
119124 cat >>conftest.$ac_ext <<_ACEOF
119125 /* end confdefs.h.  */
119126 #include <unistd.h>
119127      #include <sys/time.h>
119128      #include <sys/resource.h>
119129
119130 int
119131 main ()
119132 {
119133  int f = RLIMIT_VMEM ;
119134   ;
119135   return 0;
119136 }
119137 _ACEOF
119138 rm -f conftest.$ac_objext
119139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119140   (eval $ac_compile) 2>conftest.er1
119141   ac_status=$?
119142   grep -v '^ *+' conftest.er1 >conftest.err
119143   rm -f conftest.er1
119144   cat conftest.err >&5
119145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119146   (exit $ac_status); } &&
119147          { ac_try='test -z "$ac_c_werror_flag"
119148                          || test ! -s conftest.err'
119149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119150   (eval $ac_try) 2>&5
119151   ac_status=$?
119152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119153   (exit $ac_status); }; } &&
119154          { ac_try='test -s conftest.$ac_objext'
119155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119156   (eval $ac_try) 2>&5
119157   ac_status=$?
119158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119159   (exit $ac_status); }; }; then
119160   glibcxx_mresult=1
119161 else
119162   echo "$as_me: failed program was:" >&5
119163 sed 's/^/| /' conftest.$ac_ext >&5
119164
119165 glibcxx_mresult=0
119166 fi
119167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119168
119169 cat >>confdefs.h <<_ACEOF
119170 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119171 _ACEOF
119172
119173   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119174   echo "$as_me:$LINENO: result: $res" >&5
119175 echo "${ECHO_T}$res" >&6
119176
119177
119178   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119179 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119180   cat >conftest.$ac_ext <<_ACEOF
119181 /* confdefs.h.  */
119182 _ACEOF
119183 cat confdefs.h >>conftest.$ac_ext
119184 cat >>conftest.$ac_ext <<_ACEOF
119185 /* end confdefs.h.  */
119186 #include <unistd.h>
119187      #include <sys/time.h>
119188      #include <sys/resource.h>
119189
119190 int
119191 main ()
119192 {
119193  int f = RLIMIT_AS ;
119194   ;
119195   return 0;
119196 }
119197 _ACEOF
119198 rm -f conftest.$ac_objext
119199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119200   (eval $ac_compile) 2>conftest.er1
119201   ac_status=$?
119202   grep -v '^ *+' conftest.er1 >conftest.err
119203   rm -f conftest.er1
119204   cat conftest.err >&5
119205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119206   (exit $ac_status); } &&
119207          { ac_try='test -z "$ac_c_werror_flag"
119208                          || test ! -s conftest.err'
119209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119210   (eval $ac_try) 2>&5
119211   ac_status=$?
119212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119213   (exit $ac_status); }; } &&
119214          { ac_try='test -s conftest.$ac_objext'
119215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119216   (eval $ac_try) 2>&5
119217   ac_status=$?
119218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119219   (exit $ac_status); }; }; then
119220   glibcxx_mresult=1
119221 else
119222   echo "$as_me: failed program was:" >&5
119223 sed 's/^/| /' conftest.$ac_ext >&5
119224
119225 glibcxx_mresult=0
119226 fi
119227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119228
119229 cat >>confdefs.h <<_ACEOF
119230 #define HAVE_LIMIT_AS $glibcxx_mresult
119231 _ACEOF
119232
119233   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119234   echo "$as_me:$LINENO: result: $res" >&5
119235 echo "${ECHO_T}$res" >&6
119236
119237
119238   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
119239 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
119240   cat >conftest.$ac_ext <<_ACEOF
119241 /* confdefs.h.  */
119242 _ACEOF
119243 cat confdefs.h >>conftest.$ac_ext
119244 cat >>conftest.$ac_ext <<_ACEOF
119245 /* end confdefs.h.  */
119246 #include <unistd.h>
119247      #include <sys/time.h>
119248      #include <sys/resource.h>
119249
119250 int
119251 main ()
119252 {
119253  int f = RLIMIT_FSIZE ;
119254   ;
119255   return 0;
119256 }
119257 _ACEOF
119258 rm -f conftest.$ac_objext
119259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119260   (eval $ac_compile) 2>conftest.er1
119261   ac_status=$?
119262   grep -v '^ *+' conftest.er1 >conftest.err
119263   rm -f conftest.er1
119264   cat conftest.err >&5
119265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119266   (exit $ac_status); } &&
119267          { ac_try='test -z "$ac_c_werror_flag"
119268                          || test ! -s conftest.err'
119269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119270   (eval $ac_try) 2>&5
119271   ac_status=$?
119272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119273   (exit $ac_status); }; } &&
119274          { ac_try='test -s conftest.$ac_objext'
119275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119276   (eval $ac_try) 2>&5
119277   ac_status=$?
119278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119279   (exit $ac_status); }; }; then
119280   glibcxx_mresult=1
119281 else
119282   echo "$as_me: failed program was:" >&5
119283 sed 's/^/| /' conftest.$ac_ext >&5
119284
119285 glibcxx_mresult=0
119286 fi
119287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119288
119289 cat >>confdefs.h <<_ACEOF
119290 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
119291 _ACEOF
119292
119293   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119294   echo "$as_me:$LINENO: result: $res" >&5
119295 echo "${ECHO_T}$res" >&6
119296
119297
119298     # Check for rlimit, setrlimit.
119299     if test "${glibcxx_cv_setrlimit+set}" = set; then
119300   echo $ECHO_N "(cached) $ECHO_C" >&6
119301 else
119302
119303       cat >conftest.$ac_ext <<_ACEOF
119304 /* confdefs.h.  */
119305 _ACEOF
119306 cat confdefs.h >>conftest.$ac_ext
119307 cat >>conftest.$ac_ext <<_ACEOF
119308 /* end confdefs.h.  */
119309 #include <unistd.h>
119310          #include <sys/time.h>
119311          #include <sys/resource.h>
119312
119313 int
119314 main ()
119315 {
119316 struct rlimit r;
119317          setrlimit(0, &r);
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   glibcxx_cv_setrlimit=yes
119345 else
119346   echo "$as_me: failed program was:" >&5
119347 sed 's/^/| /' conftest.$ac_ext >&5
119348
119349 glibcxx_cv_setrlimit=no
119350 fi
119351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119352
119353 fi
119354
119355   fi
119356
119357   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
119358 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
119359   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
119360     ac_res_limits=yes
119361
119362 cat >>confdefs.h <<\_ACEOF
119363 #define _GLIBCXX_RES_LIMITS 1
119364 _ACEOF
119365
119366   else
119367     ac_res_limits=no
119368   fi
119369   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
119370 echo "${ECHO_T}$ac_res_limits" >&6
119371
119372
119373     # Look for setenv, so that extended locale tests can be performed.
119374
119375   echo "$as_me:$LINENO: checking for setenv declaration" >&5
119376 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
119377   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
119378     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
119379   echo $ECHO_N "(cached) $ECHO_C" >&6
119380 else
119381
119382
119383
119384       ac_ext=cc
119385 ac_cpp='$CXXCPP $CPPFLAGS'
119386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119389
119390       cat >conftest.$ac_ext <<_ACEOF
119391 /* confdefs.h.  */
119392 _ACEOF
119393 cat confdefs.h >>conftest.$ac_ext
119394 cat >>conftest.$ac_ext <<_ACEOF
119395 /* end confdefs.h.  */
119396 #include <stdlib.h>
119397 int
119398 main ()
119399 {
119400  setenv(0, 0, 0);
119401   ;
119402   return 0;
119403 }
119404 _ACEOF
119405 rm -f conftest.$ac_objext
119406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119407   (eval $ac_compile) 2>conftest.er1
119408   ac_status=$?
119409   grep -v '^ *+' conftest.er1 >conftest.err
119410   rm -f conftest.er1
119411   cat conftest.err >&5
119412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119413   (exit $ac_status); } &&
119414          { ac_try='test -z "$ac_cxx_werror_flag"
119415                          || test ! -s conftest.err'
119416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119417   (eval $ac_try) 2>&5
119418   ac_status=$?
119419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119420   (exit $ac_status); }; } &&
119421          { ac_try='test -s conftest.$ac_objext'
119422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119423   (eval $ac_try) 2>&5
119424   ac_status=$?
119425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119426   (exit $ac_status); }; }; then
119427   glibcxx_cv_func_setenv_use=yes
119428 else
119429   echo "$as_me: failed program was:" >&5
119430 sed 's/^/| /' conftest.$ac_ext >&5
119431
119432 glibcxx_cv_func_setenv_use=no
119433 fi
119434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119435       ac_ext=c
119436 ac_cpp='$CPP $CPPFLAGS'
119437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119440
119441
119442 fi
119443
119444   fi
119445   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
119446 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
119447   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
119448
119449 for ac_func in setenv
119450 do
119451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119452 echo "$as_me:$LINENO: checking for $ac_func" >&5
119453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119454 if eval "test \"\${$as_ac_var+set}\" = set"; then
119455   echo $ECHO_N "(cached) $ECHO_C" >&6
119456 else
119457   if test x$gcc_no_link = xyes; then
119458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119460    { (exit 1); exit 1; }; }
119461 fi
119462 cat >conftest.$ac_ext <<_ACEOF
119463 /* confdefs.h.  */
119464 _ACEOF
119465 cat confdefs.h >>conftest.$ac_ext
119466 cat >>conftest.$ac_ext <<_ACEOF
119467 /* end confdefs.h.  */
119468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
119470 #define $ac_func innocuous_$ac_func
119471
119472 /* System header to define __stub macros and hopefully few prototypes,
119473     which can conflict with char $ac_func (); below.
119474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119475     <limits.h> exists even on freestanding compilers.  */
119476
119477 #ifdef __STDC__
119478 # include <limits.h>
119479 #else
119480 # include <assert.h>
119481 #endif
119482
119483 #undef $ac_func
119484
119485 /* Override any gcc2 internal prototype to avoid an error.  */
119486 #ifdef __cplusplus
119487 extern "C"
119488 {
119489 #endif
119490 /* We use char because int might match the return type of a gcc2
119491    builtin and then its argument prototype would still apply.  */
119492 char $ac_func ();
119493 /* The GNU C library defines this for functions which it implements
119494     to always fail with ENOSYS.  Some functions are actually named
119495     something starting with __ and the normal name is an alias.  */
119496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119497 choke me
119498 #else
119499 char (*f) () = $ac_func;
119500 #endif
119501 #ifdef __cplusplus
119502 }
119503 #endif
119504
119505 int
119506 main ()
119507 {
119508 return f != $ac_func;
119509   ;
119510   return 0;
119511 }
119512 _ACEOF
119513 rm -f conftest.$ac_objext conftest$ac_exeext
119514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119515   (eval $ac_link) 2>conftest.er1
119516   ac_status=$?
119517   grep -v '^ *+' conftest.er1 >conftest.err
119518   rm -f conftest.er1
119519   cat conftest.err >&5
119520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119521   (exit $ac_status); } &&
119522          { ac_try='test -z "$ac_c_werror_flag"
119523                          || test ! -s conftest.err'
119524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119525   (eval $ac_try) 2>&5
119526   ac_status=$?
119527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119528   (exit $ac_status); }; } &&
119529          { ac_try='test -s conftest$ac_exeext'
119530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119531   (eval $ac_try) 2>&5
119532   ac_status=$?
119533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119534   (exit $ac_status); }; }; then
119535   eval "$as_ac_var=yes"
119536 else
119537   echo "$as_me: failed program was:" >&5
119538 sed 's/^/| /' conftest.$ac_ext >&5
119539
119540 eval "$as_ac_var=no"
119541 fi
119542 rm -f conftest.err conftest.$ac_objext \
119543       conftest$ac_exeext conftest.$ac_ext
119544 fi
119545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119547 if test `eval echo '${'$as_ac_var'}'` = yes; then
119548   cat >>confdefs.h <<_ACEOF
119549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119550 _ACEOF
119551
119552 fi
119553 done
119554
119555   fi
119556
119557   fi
119558
119559   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
119560      test $enable_symvers != no; then
119561     case "$host" in
119562       *-*-cygwin*)
119563         enable_abi_check=no ;;
119564       *)
119565         enable_abi_check=yes ;;
119566     esac
119567   else
119568     # Only build this as native, since automake does not understand
119569     # CXX_FOR_BUILD.
119570     enable_abi_check=no
119571   fi
119572
119573   # Export file names for ABI checking.
119574   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
119575
119576
119577
119578 # Propagate the target-specific source directories through the build chain.
119579 ATOMICITY_SRCDIR=config/${atomicity_dir}
119580 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
119581 ATOMIC_FLAGS=${atomic_flags}
119582 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
119583 OS_INC_SRCDIR=config/${os_include_dir}
119584 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
119585 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
119586
119587
119588
119589
119590
119591
119592
119593
119594
119595 # Determine cross-compile flags and AM_CONDITIONALs.
119596 #AC_SUBST(GLIBCXX_IS_NATIVE)
119597 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
119598 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
119599 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
119600
119601
119602 if test $is_hosted = yes; then
119603   GLIBCXX_HOSTED_TRUE=
119604   GLIBCXX_HOSTED_FALSE='#'
119605 else
119606   GLIBCXX_HOSTED_TRUE='#'
119607   GLIBCXX_HOSTED_FALSE=
119608 fi
119609
119610
119611
119612
119613 if test $enable_libstdcxx_pch = yes; then
119614   GLIBCXX_BUILD_PCH_TRUE=
119615   GLIBCXX_BUILD_PCH_FALSE='#'
119616 else
119617   GLIBCXX_BUILD_PCH_TRUE='#'
119618   GLIBCXX_BUILD_PCH_FALSE=
119619 fi
119620
119621
119622
119623
119624 if test $enable_cheaders = c; then
119625   GLIBCXX_C_HEADERS_C_TRUE=
119626   GLIBCXX_C_HEADERS_C_FALSE='#'
119627 else
119628   GLIBCXX_C_HEADERS_C_TRUE='#'
119629   GLIBCXX_C_HEADERS_C_FALSE=
119630 fi
119631
119632
119633
119634
119635 if test $enable_cheaders = c_std; then
119636   GLIBCXX_C_HEADERS_C_STD_TRUE=
119637   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
119638 else
119639   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
119640   GLIBCXX_C_HEADERS_C_STD_FALSE=
119641 fi
119642
119643
119644
119645
119646 if test $enable_cheaders = c_global; then
119647   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
119648   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
119649 else
119650   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
119651   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
119652 fi
119653
119654
119655
119656
119657 if test $c_compatibility = yes; then
119658   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
119659   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
119660 else
119661   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
119662   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
119663 fi
119664
119665
119666
119667
119668 if test $c_extra = yes; then
119669   GLIBCXX_C_HEADERS_EXTRA_TRUE=
119670   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
119671 else
119672   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
119673   GLIBCXX_C_HEADERS_EXTRA_FALSE=
119674 fi
119675
119676
119677
119678
119679 if test $enable_libstdcxx_debug = yes; then
119680   GLIBCXX_BUILD_DEBUG_TRUE=
119681   GLIBCXX_BUILD_DEBUG_FALSE='#'
119682 else
119683   GLIBCXX_BUILD_DEBUG_TRUE='#'
119684   GLIBCXX_BUILD_DEBUG_FALSE=
119685 fi
119686
119687
119688
119689
119690 if test $enable_parallel = yes; then
119691   ENABLE_PARALLEL_TRUE=
119692   ENABLE_PARALLEL_FALSE='#'
119693 else
119694   ENABLE_PARALLEL_TRUE='#'
119695   ENABLE_PARALLEL_FALSE=
119696 fi
119697
119698
119699
119700
119701 if test $enable_symvers != no; then
119702   ENABLE_SYMVERS_TRUE=
119703   ENABLE_SYMVERS_FALSE='#'
119704 else
119705   ENABLE_SYMVERS_TRUE='#'
119706   ENABLE_SYMVERS_FALSE=
119707 fi
119708
119709
119710
119711
119712 if test $enable_symvers = gnu; then
119713   ENABLE_SYMVERS_GNU_TRUE=
119714   ENABLE_SYMVERS_GNU_FALSE='#'
119715 else
119716   ENABLE_SYMVERS_GNU_TRUE='#'
119717   ENABLE_SYMVERS_GNU_FALSE=
119718 fi
119719
119720
119721
119722
119723 if test $enable_symvers = gnu-versioned-namespace; then
119724   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
119725   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
119726 else
119727   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
119728   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
119729 fi
119730
119731
119732
119733
119734 if test $enable_symvers = darwin; then
119735   ENABLE_SYMVERS_DARWIN_TRUE=
119736   ENABLE_SYMVERS_DARWIN_FALSE='#'
119737 else
119738   ENABLE_SYMVERS_DARWIN_TRUE='#'
119739   ENABLE_SYMVERS_DARWIN_FALSE=
119740 fi
119741
119742
119743
119744
119745 if test $enable_visibility = yes; then
119746   ENABLE_VISIBILITY_TRUE=
119747   ENABLE_VISIBILITY_FALSE='#'
119748 else
119749   ENABLE_VISIBILITY_TRUE='#'
119750   ENABLE_VISIBILITY_FALSE=
119751 fi
119752
119753
119754
119755
119756 if test $ac_ldbl_compat = yes; then
119757   GLIBCXX_LDBL_COMPAT_TRUE=
119758   GLIBCXX_LDBL_COMPAT_FALSE='#'
119759 else
119760   GLIBCXX_LDBL_COMPAT_TRUE='#'
119761   GLIBCXX_LDBL_COMPAT_FALSE=
119762 fi
119763
119764
119765
119766
119767 cat >confcache <<\_ACEOF
119768 # This file is a shell script that caches the results of configure
119769 # tests run on this system so they can be shared between configure
119770 # scripts and configure runs, see configure's option --config-cache.
119771 # It is not useful on other systems.  If it contains results you don't
119772 # want to keep, you may remove or edit it.
119773 #
119774 # config.status only pays attention to the cache file if you give it
119775 # the --recheck option to rerun configure.
119776 #
119777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
119778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
119779 # following values.
119780
119781 _ACEOF
119782
119783 # The following way of writing the cache mishandles newlines in values,
119784 # but we know of no workaround that is simple, portable, and efficient.
119785 # So, don't put newlines in cache variables' values.
119786 # Ultrix sh set writes to stderr and can't be redirected directly,
119787 # and sets the high bit in the cache file unless we assign to the vars.
119788 {
119789   (set) 2>&1 |
119790     case `(ac_space=' '; set | grep ac_space) 2>&1` in
119791     *ac_space=\ *)
119792       # `set' does not quote correctly, so add quotes (double-quote
119793       # substitution turns \\\\ into \\, and sed turns \\ into \).
119794       sed -n \
119795         "s/'/'\\\\''/g;
119796           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
119797       ;;
119798     *)
119799       # `set' quotes correctly as required by POSIX, so do not add quotes.
119800       sed -n \
119801         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
119802       ;;
119803     esac;
119804 } |
119805   sed '
119806      t clear
119807      : clear
119808      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
119809      t end
119810      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
119811      : end' >>confcache
119812 if diff $cache_file confcache >/dev/null 2>&1; then :; else
119813   if test -w $cache_file; then
119814     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
119815     cat confcache >$cache_file
119816   else
119817     echo "not updating unwritable cache $cache_file"
119818   fi
119819 fi
119820 rm -f confcache
119821
119822 if test ${multilib} = yes; then
119823   multilib_arg="--enable-multilib"
119824 else
119825   multilib_arg=
119826 fi
119827
119828 # Export all the install information.
119829
119830   glibcxx_toolexecdir=no
119831   glibcxx_toolexeclibdir=no
119832   glibcxx_prefixdir=$prefix
119833
119834   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
119835 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
119836
119837 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
119838 if test "${with_gxx_include_dir+set}" = set; then
119839   withval="$with_gxx_include_dir"
119840   case "$withval" in
119841       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
119842 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
119843    { (exit 1); exit 1; }; } ;;
119844       no)  gxx_include_dir=no ;;
119845       *)   gxx_include_dir=$withval ;;
119846      esac
119847 else
119848   gxx_include_dir=no
119849 fi;
119850   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
119851 echo "${ECHO_T}$gxx_include_dir" >&6
119852
119853   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
119854 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
119855   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
119856 if test "${enable_version_specific_runtime_libs+set}" = set; then
119857   enableval="$enable_version_specific_runtime_libs"
119858   case "$enableval" in
119859       yes) version_specific_libs=yes ;;
119860       no)  version_specific_libs=no ;;
119861       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
119862 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
119863    { (exit 1); exit 1; }; };;
119864      esac
119865 else
119866   version_specific_libs=no
119867 fi;
119868   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
119869 echo "${ECHO_T}$version_specific_libs" >&6
119870
119871   # Default case for install directory for include files.
119872   if test $version_specific_libs = no && test $gxx_include_dir = no; then
119873     gxx_include_dir='include/c++/${gcc_version}'
119874     if test -n "$with_cross_host" &&
119875        test x"$with_cross_host" != x"no"; then
119876       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
119877     else
119878       gxx_include_dir='${prefix}/'"$gxx_include_dir"
119879     fi
119880   fi
119881
119882   # Version-specific runtime libs processing.
119883   if test $version_specific_libs = yes; then
119884     # Need the gcc compiler version to know where to install libraries
119885     # and header files if --enable-version-specific-runtime-libs option
119886     # is selected.  FIXME: these variables are misnamed, there are
119887     # no executables installed in _toolexecdir or _toolexeclibdir.
119888     if test x"$gxx_include_dir" = x"no"; then
119889       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
119890     fi
119891     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
119892     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
119893   fi
119894
119895   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
119896   # Install a library built with a cross compiler in tooldir, not libdir.
119897   if test x"$glibcxx_toolexecdir" = x"no"; then
119898     if test -n "$with_cross_host" &&
119899        test x"$with_cross_host" != x"no"; then
119900       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
119901       glibcxx_toolexeclibdir='${toolexecdir}/lib'
119902     else
119903       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
119904       glibcxx_toolexeclibdir='${libdir}'
119905     fi
119906     multi_os_directory=`$CXX -print-multi-os-directory`
119907     case $multi_os_directory in
119908       .) ;; # Avoid trailing /.
119909       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
119910     esac
119911   fi
119912
119913   echo "$as_me:$LINENO: checking for install location" >&5
119914 echo $ECHO_N "checking for install location... $ECHO_C" >&6
119915   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
119916 echo "${ECHO_T}$gxx_include_dir" >&6
119917
119918
119919
119920
119921
119922
119923
119924 # Export all the include and flag information to Makefiles.
119925
119926   # Used for every C++ compile we perform.
119927   GLIBCXX_INCLUDES="\
119928 -I$glibcxx_builddir/include/$host_alias \
119929 -I$glibcxx_builddir/include \
119930 -I$glibcxx_srcdir/libsupc++"
119931
119932   # For Canadian crosses, pick this up too.
119933   if test $CANADIAN = yes; then
119934     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
119935   fi
119936
119937   # Stuff in the actual top level.  Currently only used by libsupc++ to
119938   # get unwind* headers from the gcc dir.
119939   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
119940   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
119941
119942   # Now, export this to all the little Makefiles....
119943
119944
119945
119946
119947   # Optimization flags that are probably a good idea for thrill-seekers. Just
119948   # uncomment the lines below and make, everything else is ready to go...
119949   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
119950   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
119951
119952
119953   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
119954
119955
119956
119957 if test "$enable_shared" = yes; then
119958   LIBSUPCXX_PICFLAGS="-prefer-pic"
119959 else
119960   LIBSUPCXX_PICFLAGS=
119961 fi
119962
119963
119964                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
119965
119966           ac_config_files="$ac_config_files scripts/testsuite_flags"
119967
119968
119969           ac_config_commands="$ac_config_commands default"
119970
119971
119972 cat >confcache <<\_ACEOF
119973 # This file is a shell script that caches the results of configure
119974 # tests run on this system so they can be shared between configure
119975 # scripts and configure runs, see configure's option --config-cache.
119976 # It is not useful on other systems.  If it contains results you don't
119977 # want to keep, you may remove or edit it.
119978 #
119979 # config.status only pays attention to the cache file if you give it
119980 # the --recheck option to rerun configure.
119981 #
119982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
119983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
119984 # following values.
119985
119986 _ACEOF
119987
119988 # The following way of writing the cache mishandles newlines in values,
119989 # but we know of no workaround that is simple, portable, and efficient.
119990 # So, don't put newlines in cache variables' values.
119991 # Ultrix sh set writes to stderr and can't be redirected directly,
119992 # and sets the high bit in the cache file unless we assign to the vars.
119993 {
119994   (set) 2>&1 |
119995     case `(ac_space=' '; set | grep ac_space) 2>&1` in
119996     *ac_space=\ *)
119997       # `set' does not quote correctly, so add quotes (double-quote
119998       # substitution turns \\\\ into \\, and sed turns \\ into \).
119999       sed -n \
120000         "s/'/'\\\\''/g;
120001           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120002       ;;
120003     *)
120004       # `set' quotes correctly as required by POSIX, so do not add quotes.
120005       sed -n \
120006         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120007       ;;
120008     esac;
120009 } |
120010   sed '
120011      t clear
120012      : clear
120013      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120014      t end
120015      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120016      : end' >>confcache
120017 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120018   if test -w $cache_file; then
120019     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120020     cat confcache >$cache_file
120021   else
120022     echo "not updating unwritable cache $cache_file"
120023   fi
120024 fi
120025 rm -f confcache
120026
120027 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120028 # Let make expand exec_prefix.
120029 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120030
120031 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120032 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120033 # trailing colons and then remove the whole line if VPATH becomes empty
120034 # (actually we leave an empty line to preserve line numbers).
120035 if test "x$srcdir" = x.; then
120036   ac_vpsub='/^[  ]*VPATH[        ]*=/{
120037 s/:*\$(srcdir):*/:/;
120038 s/:*\${srcdir}:*/:/;
120039 s/:*@srcdir@:*/:/;
120040 s/^\([^=]*=[     ]*\):*/\1/;
120041 s/:*$//;
120042 s/^[^=]*=[       ]*$//;
120043 }'
120044 fi
120045
120046 DEFS=-DHAVE_CONFIG_H
120047
120048 ac_libobjs=
120049 ac_ltlibobjs=
120050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120051   # 1. Remove the extension, and $U if already installed.
120052   ac_i=`echo "$ac_i" |
120053          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120054   # 2. Add them.
120055   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120056   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120057 done
120058 LIBOBJS=$ac_libobjs
120059
120060 LTLIBOBJS=$ac_ltlibobjs
120061
120062
120063 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120064   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120065 Usually this means the macro was only invoked conditionally." >&5
120066 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120067 Usually this means the macro was only invoked conditionally." >&2;}
120068    { (exit 1); exit 1; }; }
120069 fi
120070 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120071   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120072 Usually this means the macro was only invoked conditionally." >&5
120073 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120074 Usually this means the macro was only invoked conditionally." >&2;}
120075    { (exit 1); exit 1; }; }
120076 fi
120077 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120078   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120079 Usually this means the macro was only invoked conditionally." >&5
120080 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120081 Usually this means the macro was only invoked conditionally." >&2;}
120082    { (exit 1); exit 1; }; }
120083 fi
120084 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120085   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120086 Usually this means the macro was only invoked conditionally." >&5
120087 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120088 Usually this means the macro was only invoked conditionally." >&2;}
120089    { (exit 1); exit 1; }; }
120090 fi
120091 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120092   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120093 Usually this means the macro was only invoked conditionally." >&5
120094 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120095 Usually this means the macro was only invoked conditionally." >&2;}
120096    { (exit 1); exit 1; }; }
120097 fi
120098 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120099   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120100 Usually this means the macro was only invoked conditionally." >&5
120101 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120102 Usually this means the macro was only invoked conditionally." >&2;}
120103    { (exit 1); exit 1; }; }
120104 fi
120105 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120106   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120107 Usually this means the macro was only invoked conditionally." >&5
120108 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120109 Usually this means the macro was only invoked conditionally." >&2;}
120110    { (exit 1); exit 1; }; }
120111 fi
120112 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120113   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120114 Usually this means the macro was only invoked conditionally." >&5
120115 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120116 Usually this means the macro was only invoked conditionally." >&2;}
120117    { (exit 1); exit 1; }; }
120118 fi
120119 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120120   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120121 Usually this means the macro was only invoked conditionally." >&5
120122 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120123 Usually this means the macro was only invoked conditionally." >&2;}
120124    { (exit 1); exit 1; }; }
120125 fi
120126 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120127   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120128 Usually this means the macro was only invoked conditionally." >&5
120129 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120130 Usually this means the macro was only invoked conditionally." >&2;}
120131    { (exit 1); exit 1; }; }
120132 fi
120133 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120134   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120135 Usually this means the macro was only invoked conditionally." >&5
120136 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120137 Usually this means the macro was only invoked conditionally." >&2;}
120138    { (exit 1); exit 1; }; }
120139 fi
120140 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120141   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120142 Usually this means the macro was only invoked conditionally." >&5
120143 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120144 Usually this means the macro was only invoked conditionally." >&2;}
120145    { (exit 1); exit 1; }; }
120146 fi
120147 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120148   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120149 Usually this means the macro was only invoked conditionally." >&5
120150 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120151 Usually this means the macro was only invoked conditionally." >&2;}
120152    { (exit 1); exit 1; }; }
120153 fi
120154 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120155   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120156 Usually this means the macro was only invoked conditionally." >&5
120157 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120158 Usually this means the macro was only invoked conditionally." >&2;}
120159    { (exit 1); exit 1; }; }
120160 fi
120161 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120162   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120163 Usually this means the macro was only invoked conditionally." >&5
120164 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120165 Usually this means the macro was only invoked conditionally." >&2;}
120166    { (exit 1); exit 1; }; }
120167 fi
120168 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120169   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120170 Usually this means the macro was only invoked conditionally." >&5
120171 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120172 Usually this means the macro was only invoked conditionally." >&2;}
120173    { (exit 1); exit 1; }; }
120174 fi
120175
120176 : ${CONFIG_STATUS=./config.status}
120177 ac_clean_files_save=$ac_clean_files
120178 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120179 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120180 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120181 cat >$CONFIG_STATUS <<_ACEOF
120182 #! $SHELL
120183 # Generated by $as_me.
120184 # Run this file to recreate the current configuration.
120185 # Compiler output produced by configure, useful for debugging
120186 # configure, is in config.log if it exists.
120187
120188 debug=false
120189 ac_cs_recheck=false
120190 ac_cs_silent=false
120191 SHELL=\${CONFIG_SHELL-$SHELL}
120192 _ACEOF
120193
120194 cat >>$CONFIG_STATUS <<\_ACEOF
120195 ## --------------------- ##
120196 ## M4sh Initialization.  ##
120197 ## --------------------- ##
120198
120199 # Be Bourne compatible
120200 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120201   emulate sh
120202   NULLCMD=:
120203   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120204   # is contrary to our usage.  Disable this feature.
120205   alias -g '${1+"$@"}'='"$@"'
120206 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120207   set -o posix
120208 fi
120209 DUALCASE=1; export DUALCASE # for MKS sh
120210
120211 # Support unset when possible.
120212 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120213   as_unset=unset
120214 else
120215   as_unset=false
120216 fi
120217
120218
120219 # Work around bugs in pre-3.0 UWIN ksh.
120220 $as_unset ENV MAIL MAILPATH
120221 PS1='$ '
120222 PS2='> '
120223 PS4='+ '
120224
120225 # NLS nuisances.
120226 for as_var in \
120227   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120228   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120229   LC_TELEPHONE LC_TIME
120230 do
120231   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
120232     eval $as_var=C; export $as_var
120233   else
120234     $as_unset $as_var
120235   fi
120236 done
120237
120238 # Required to use basename.
120239 if expr a : '\(a\)' >/dev/null 2>&1; then
120240   as_expr=expr
120241 else
120242   as_expr=false
120243 fi
120244
120245 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
120246   as_basename=basename
120247 else
120248   as_basename=false
120249 fi
120250
120251
120252 # Name of the executable.
120253 as_me=`$as_basename "$0" ||
120254 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120255          X"$0" : 'X\(//\)$' \| \
120256          X"$0" : 'X\(/\)$' \| \
120257          .     : '\(.\)' 2>/dev/null ||
120258 echo X/"$0" |
120259     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
120260           /^X\/\(\/\/\)$/{ s//\1/; q; }
120261           /^X\/\(\/\).*/{ s//\1/; q; }
120262           s/.*/./; q'`
120263
120264
120265 # PATH needs CR, and LINENO needs CR and PATH.
120266 # Avoid depending upon Character Ranges.
120267 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
120268 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
120269 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
120270 as_cr_digits='0123456789'
120271 as_cr_alnum=$as_cr_Letters$as_cr_digits
120272
120273 # The user is always right.
120274 if test "${PATH_SEPARATOR+set}" != set; then
120275   echo "#! /bin/sh" >conf$$.sh
120276   echo  "exit 0"   >>conf$$.sh
120277   chmod +x conf$$.sh
120278   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
120279     PATH_SEPARATOR=';'
120280   else
120281     PATH_SEPARATOR=:
120282   fi
120283   rm -f conf$$.sh
120284 fi
120285
120286
120287   as_lineno_1=$LINENO
120288   as_lineno_2=$LINENO
120289   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120290   test "x$as_lineno_1" != "x$as_lineno_2" &&
120291   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
120292   # Find who we are.  Look in the path if we contain no path at all
120293   # relative or not.
120294   case $0 in
120295     *[\\/]* ) as_myself=$0 ;;
120296     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120297 for as_dir in $PATH
120298 do
120299   IFS=$as_save_IFS
120300   test -z "$as_dir" && as_dir=.
120301   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120302 done
120303
120304        ;;
120305   esac
120306   # We did not find ourselves, most probably we were run as `sh COMMAND'
120307   # in which case we are not to be found in the path.
120308   if test "x$as_myself" = x; then
120309     as_myself=$0
120310   fi
120311   if test ! -f "$as_myself"; then
120312     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
120313 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
120314    { (exit 1); exit 1; }; }
120315   fi
120316   case $CONFIG_SHELL in
120317   '')
120318     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120319 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
120320 do
120321   IFS=$as_save_IFS
120322   test -z "$as_dir" && as_dir=.
120323   for as_base in sh bash ksh sh5; do
120324          case $as_dir in
120325          /*)
120326            if ("$as_dir/$as_base" -c '
120327   as_lineno_1=$LINENO
120328   as_lineno_2=$LINENO
120329   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120330   test "x$as_lineno_1" != "x$as_lineno_2" &&
120331   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
120332              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
120333              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
120334              CONFIG_SHELL=$as_dir/$as_base
120335              export CONFIG_SHELL
120336              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
120337            fi;;
120338          esac
120339        done
120340 done
120341 ;;
120342   esac
120343
120344   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
120345   # uniformly replaced by the line number.  The first 'sed' inserts a
120346   # line-number line before each line; the second 'sed' does the real
120347   # work.  The second script uses 'N' to pair each line-number line
120348   # with the numbered line, and appends trailing '-' during
120349   # substitution so that $LINENO is not a special case at line end.
120350   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
120351   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
120352   sed '=' <$as_myself |
120353     sed '
120354       N
120355       s,$,-,
120356       : loop
120357       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
120358       t loop
120359       s,-$,,
120360       s,^['$as_cr_digits']*\n,,
120361     ' >$as_me.lineno &&
120362   chmod +x $as_me.lineno ||
120363     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
120364 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
120365    { (exit 1); exit 1; }; }
120366
120367   # Don't try to exec as it changes $[0], causing all sort of problems
120368   # (the dirname of $[0] is not the place where we might find the
120369   # original and so on.  Autoconf is especially sensible to this).
120370   . ./$as_me.lineno
120371   # Exit status is that of the last command.
120372   exit
120373 }
120374
120375
120376 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
120377   *c*,-n*) ECHO_N= ECHO_C='
120378 ' ECHO_T='      ' ;;
120379   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
120380   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
120381 esac
120382
120383 if expr a : '\(a\)' >/dev/null 2>&1; then
120384   as_expr=expr
120385 else
120386   as_expr=false
120387 fi
120388
120389 rm -f conf$$ conf$$.exe conf$$.file
120390 echo >conf$$.file
120391 if ln -s conf$$.file conf$$ 2>/dev/null; then
120392   # We could just check for DJGPP; but this test a) works b) is more generic
120393   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
120394   if test -f conf$$.exe; then
120395     # Don't use ln at all; we don't have any links
120396     as_ln_s='cp -p'
120397   else
120398     as_ln_s='ln -s'
120399   fi
120400 elif ln conf$$.file conf$$ 2>/dev/null; then
120401   as_ln_s=ln
120402 else
120403   as_ln_s='cp -p'
120404 fi
120405 rm -f conf$$ conf$$.exe conf$$.file
120406
120407 if mkdir -p . 2>/dev/null; then
120408   as_mkdir_p=:
120409 else
120410   test -d ./-p && rmdir ./-p
120411   as_mkdir_p=false
120412 fi
120413
120414 as_executable_p="test -f"
120415
120416 # Sed expression to map a string onto a valid CPP name.
120417 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120418
120419 # Sed expression to map a string onto a valid variable name.
120420 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
120421
120422
120423 # IFS
120424 # We need space, tab and new line, in precisely that order.
120425 as_nl='
120426 '
120427 IFS="   $as_nl"
120428
120429 # CDPATH.
120430 $as_unset CDPATH
120431
120432 exec 6>&1
120433
120434 # Open the log real soon, to keep \$[0] and so on meaningful, and to
120435 # report actual input values of CONFIG_FILES etc. instead of their
120436 # values after options handling.  Logging --version etc. is OK.
120437 exec 5>>config.log
120438 {
120439   echo
120440   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
120441 ## Running $as_me. ##
120442 _ASBOX
120443 } >&5
120444 cat >&5 <<_CSEOF
120445
120446 This file was extended by package-unused $as_me version-unused, which was
120447 generated by GNU Autoconf 2.59.  Invocation command line was
120448
120449   CONFIG_FILES    = $CONFIG_FILES
120450   CONFIG_HEADERS  = $CONFIG_HEADERS
120451   CONFIG_LINKS    = $CONFIG_LINKS
120452   CONFIG_COMMANDS = $CONFIG_COMMANDS
120453   $ $0 $@
120454
120455 _CSEOF
120456 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
120457 echo >&5
120458 _ACEOF
120459
120460 # Files that config.status was made for.
120461 if test -n "$ac_config_files"; then
120462   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
120463 fi
120464
120465 if test -n "$ac_config_headers"; then
120466   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
120467 fi
120468
120469 if test -n "$ac_config_links"; then
120470   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
120471 fi
120472
120473 if test -n "$ac_config_commands"; then
120474   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
120475 fi
120476
120477 cat >>$CONFIG_STATUS <<\_ACEOF
120478
120479 ac_cs_usage="\
120480 \`$as_me' instantiates files from templates according to the
120481 current configuration.
120482
120483 Usage: $0 [OPTIONS] [FILE]...
120484
120485   -h, --help       print this help, then exit
120486   -V, --version    print version number, then exit
120487   -q, --quiet      do not print progress messages
120488   -d, --debug      don't remove temporary files
120489       --recheck    update $as_me by reconfiguring in the same conditions
120490   --file=FILE[:TEMPLATE]
120491                    instantiate the configuration file FILE
120492   --header=FILE[:TEMPLATE]
120493                    instantiate the configuration header FILE
120494
120495 Configuration files:
120496 $config_files
120497
120498 Configuration headers:
120499 $config_headers
120500
120501 Configuration commands:
120502 $config_commands
120503
120504 Report bugs to <bug-autoconf@gnu.org>."
120505 _ACEOF
120506
120507 cat >>$CONFIG_STATUS <<_ACEOF
120508 ac_cs_version="\\
120509 package-unused config.status version-unused
120510 configured by $0, generated by GNU Autoconf 2.59,
120511   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
120512
120513 Copyright (C) 2003 Free Software Foundation, Inc.
120514 This config.status script is free software; the Free Software Foundation
120515 gives unlimited permission to copy, distribute and modify it."
120516 srcdir=$srcdir
120517 INSTALL="$INSTALL"
120518 _ACEOF
120519
120520 cat >>$CONFIG_STATUS <<\_ACEOF
120521 # If no file are specified by the user, then we need to provide default
120522 # value.  By we need to know if files were specified by the user.
120523 ac_need_defaults=:
120524 while test $# != 0
120525 do
120526   case $1 in
120527   --*=*)
120528     ac_option=`expr "x$1" : 'x\([^=]*\)='`
120529     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
120530     ac_shift=:
120531     ;;
120532   -*)
120533     ac_option=$1
120534     ac_optarg=$2
120535     ac_shift=shift
120536     ;;
120537   *) # This is not an option, so the user has probably given explicit
120538      # arguments.
120539      ac_option=$1
120540      ac_need_defaults=false;;
120541   esac
120542
120543   case $ac_option in
120544   # Handling of the options.
120545 _ACEOF
120546 cat >>$CONFIG_STATUS <<\_ACEOF
120547   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
120548     ac_cs_recheck=: ;;
120549   --version | --vers* | -V )
120550     echo "$ac_cs_version"; exit 0 ;;
120551   --he | --h)
120552     # Conflict between --help and --header
120553     { { echo "$as_me:$LINENO: error: ambiguous option: $1
120554 Try \`$0 --help' for more information." >&5
120555 echo "$as_me: error: ambiguous option: $1
120556 Try \`$0 --help' for more information." >&2;}
120557    { (exit 1); exit 1; }; };;
120558   --help | --hel | -h )
120559     echo "$ac_cs_usage"; exit 0 ;;
120560   --debug | --d* | -d )
120561     debug=: ;;
120562   --file | --fil | --fi | --f )
120563     $ac_shift
120564     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
120565     ac_need_defaults=false;;
120566   --header | --heade | --head | --hea )
120567     $ac_shift
120568     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
120569     ac_need_defaults=false;;
120570   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
120571   | -silent | --silent | --silen | --sile | --sil | --si | --s)
120572     ac_cs_silent=: ;;
120573
120574   # This is an error.
120575   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
120576 Try \`$0 --help' for more information." >&5
120577 echo "$as_me: error: unrecognized option: $1
120578 Try \`$0 --help' for more information." >&2;}
120579    { (exit 1); exit 1; }; } ;;
120580
120581   *) ac_config_targets="$ac_config_targets $1" ;;
120582
120583   esac
120584   shift
120585 done
120586
120587 ac_configure_extra_args=
120588
120589 if $ac_cs_silent; then
120590   exec 6>/dev/null
120591   ac_configure_extra_args="$ac_configure_extra_args --silent"
120592 fi
120593
120594 _ACEOF
120595 cat >>$CONFIG_STATUS <<_ACEOF
120596 if \$ac_cs_recheck; then
120597   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
120598   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
120599 fi
120600
120601 _ACEOF
120602
120603 cat >>$CONFIG_STATUS <<_ACEOF
120604 #
120605 # INIT-COMMANDS section.
120606 #
120607
120608
120609 srcdir="$srcdir"
120610 host="$host"
120611 target="$target"
120612 with_multisubdir="$with_multisubdir"
120613 with_multisrctop="$with_multisrctop"
120614 with_target_subdir="$with_target_subdir"
120615 ac_configure_args="${multilib_arg} ${ac_configure_args}"
120616 multi_basedir="$multi_basedir"
120617 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
120618 CC="$CC"
120619
120620
120621 # The HP-UX ksh and POSIX shell print the target directory to stdout
120622 # if CDPATH is set.
120623 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
120624
120625 sed_quote_subst='$sed_quote_subst'
120626 double_quote_subst='$double_quote_subst'
120627 delay_variable_subst='$delay_variable_subst'
120628 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
120629 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
120630 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
120631 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
120632 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
120633 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
120634 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
120635 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
120636 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
120637 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
120638 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
120639 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
120640 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
120641 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
120642 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
120643 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
120644 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
120645 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
120646 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
120647 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
120648 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
120649 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
120650 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
120651 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
120652 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
120653 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
120654 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
120655 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120656 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
120657 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
120658 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
120659 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
120660 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
120661 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
120662 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120663 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120664 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120665 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
120666 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
120667 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
120668 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
120669 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
120670 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
120671 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"`'
120672 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
120673 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
120674 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
120675 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
120676 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
120677 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
120678 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
120679 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
120680 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
120681 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
120682 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
120683 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120684 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120685 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
120686 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
120687 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
120688 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
120689 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
120690 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120691 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120692 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120693 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120694 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120695 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120696 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
120697 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
120698 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
120699 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
120700 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
120701 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
120702 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
120703 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
120704 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
120705 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
120706 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
120707 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
120708 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
120709 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
120710 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
120711 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120712 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
120713 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
120714 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120715 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
120716 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
120717 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
120718 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
120719 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
120720 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
120721 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
120722 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
120723 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
120724 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
120725 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
120726 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120727 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120728 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
120729 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
120730 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
120731 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
120732 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
120733 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
120734 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
120735 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
120736 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
120737 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
120738 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
120739 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
120740 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
120741 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
120742 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
120743 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
120744 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120745 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120746 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120747 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120748 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120749 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120750 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120751 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120752 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120753 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120754 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120755 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120756 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120757 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120758 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120759 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120760 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120761 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120762 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120763 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120764 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120765 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120766 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120767 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120768 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120769 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120770 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120771 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120772 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120773 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120774 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120775 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120776 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120777 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120778 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120779 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120780 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120781 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120782 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120783 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120784 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120785 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120786 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120787 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120788 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120789 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
120790
120791 LTCC='$LTCC'
120792 LTCFLAGS='$LTCFLAGS'
120793 compiler='$compiler_DEFAULT'
120794
120795 # Quote evaled strings.
120796 for var in SED \
120797 GREP \
120798 EGREP \
120799 FGREP \
120800 LD \
120801 NM \
120802 LN_S \
120803 lt_SP2NL \
120804 lt_NL2SP \
120805 reload_flag \
120806 deplibs_check_method \
120807 file_magic_cmd \
120808 AR \
120809 AR_FLAGS \
120810 STRIP \
120811 RANLIB \
120812 CC \
120813 CFLAGS \
120814 compiler \
120815 lt_cv_sys_global_symbol_pipe \
120816 lt_cv_sys_global_symbol_to_cdecl \
120817 lt_cv_sys_global_symbol_to_c_name_address \
120818 SHELL \
120819 ECHO \
120820 lt_prog_compiler_no_builtin_flag \
120821 lt_prog_compiler_wl \
120822 lt_prog_compiler_pic \
120823 lt_prog_compiler_static \
120824 lt_cv_prog_compiler_c_o \
120825 need_locks \
120826 shrext_cmds \
120827 export_dynamic_flag_spec \
120828 whole_archive_flag_spec \
120829 compiler_needs_object \
120830 with_gnu_ld \
120831 allow_undefined_flag \
120832 no_undefined_flag \
120833 hardcode_libdir_flag_spec \
120834 hardcode_libdir_flag_spec_ld \
120835 hardcode_libdir_separator \
120836 fix_srcfile_path \
120837 exclude_expsyms \
120838 include_expsyms \
120839 file_list_spec \
120840 variables_saved_for_relink \
120841 libname_spec \
120842 library_names_spec \
120843 soname_spec \
120844 finish_eval \
120845 old_striplib \
120846 striplib \
120847 predep_objects \
120848 postdep_objects \
120849 predeps \
120850 postdeps \
120851 compiler_lib_search_path \
120852 LD_CXX \
120853 compiler_CXX \
120854 lt_prog_compiler_no_builtin_flag_CXX \
120855 lt_prog_compiler_wl_CXX \
120856 lt_prog_compiler_pic_CXX \
120857 lt_prog_compiler_static_CXX \
120858 lt_cv_prog_compiler_c_o_CXX \
120859 export_dynamic_flag_spec_CXX \
120860 whole_archive_flag_spec_CXX \
120861 compiler_needs_object_CXX \
120862 with_gnu_ld_CXX \
120863 allow_undefined_flag_CXX \
120864 no_undefined_flag_CXX \
120865 hardcode_libdir_flag_spec_CXX \
120866 hardcode_libdir_flag_spec_ld_CXX \
120867 hardcode_libdir_separator_CXX \
120868 fix_srcfile_path_CXX \
120869 exclude_expsyms_CXX \
120870 include_expsyms_CXX \
120871 file_list_spec_CXX \
120872 predep_objects_CXX \
120873 postdep_objects_CXX \
120874 predeps_CXX \
120875 postdeps_CXX \
120876 compiler_lib_search_path_CXX; do
120877     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
120878     *[\\\\\\\`\\"\\\$]*)
120879       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
120880       ;;
120881     *)
120882       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
120883       ;;
120884     esac
120885 done
120886
120887 # Double-quote double-evaled strings.
120888 for var in reload_cmds \
120889 old_postinstall_cmds \
120890 old_postuninstall_cmds \
120891 old_archive_cmds \
120892 extract_expsyms_cmds \
120893 old_archive_from_new_cmds \
120894 old_archive_from_expsyms_cmds \
120895 archive_cmds \
120896 archive_expsym_cmds \
120897 module_cmds \
120898 module_expsym_cmds \
120899 export_symbols_cmds \
120900 prelink_cmds \
120901 postinstall_cmds \
120902 postuninstall_cmds \
120903 finish_cmds \
120904 sys_lib_search_path_spec \
120905 sys_lib_dlsearch_path_spec \
120906 old_archive_cmds_CXX \
120907 old_archive_from_new_cmds_CXX \
120908 old_archive_from_expsyms_cmds_CXX \
120909 archive_cmds_CXX \
120910 archive_expsym_cmds_CXX \
120911 module_cmds_CXX \
120912 module_expsym_cmds_CXX \
120913 export_symbols_cmds_CXX \
120914 prelink_cmds_CXX; do
120915     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
120916     *[\\\\\\\`\\"\\\$]*)
120917       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
120918       ;;
120919     *)
120920       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
120921       ;;
120922     esac
120923 done
120924
120925 # Fix-up fallback echo if it was mangled by the above quoting rules.
120926 case \$lt_ECHO in
120927 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
120928   ;;
120929 esac
120930
120931 ac_aux_dir='$ac_aux_dir'
120932 xsi_shell='$xsi_shell'
120933 lt_shell_append='$lt_shell_append'
120934
120935 # See if we are running on zsh, and set the options which allow our
120936 # commands through without removal of \ escapes INIT.
120937 if test -n "\${ZSH_VERSION+set}" ; then
120938    setopt NO_GLOB_SUBST
120939 fi
120940
120941
120942     PACKAGE='$PACKAGE'
120943     VERSION='$VERSION'
120944     TIMESTAMP='$TIMESTAMP'
120945     RM='$RM'
120946     ofile='$ofile'
120947
120948
120949
120950
120951
120952
120953 GCC="$GCC"
120954 CC="$CC"
120955 acx_cv_header_stdint="$acx_cv_header_stdint"
120956 acx_cv_type_int8_t="$acx_cv_type_int8_t"
120957 acx_cv_type_int16_t="$acx_cv_type_int16_t"
120958 acx_cv_type_int32_t="$acx_cv_type_int32_t"
120959 acx_cv_type_int64_t="$acx_cv_type_int64_t"
120960 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
120961 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
120962 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
120963 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
120964 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
120965 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
120966 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
120967 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
120968 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
120969
120970
120971 # Variables needed in config.status (file generation) which aren't already
120972 # passed by autoconf.
120973 SUBDIRS="$SUBDIRS"
120974
120975
120976 _ACEOF
120977
120978
120979
120980 cat >>$CONFIG_STATUS <<\_ACEOF
120981 for ac_config_target in $ac_config_targets
120982 do
120983   case "$ac_config_target" in
120984   # Handling of arguments.
120985   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
120986   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
120987   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
120988   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
120989   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
120990   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
120991   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
120992   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
120993   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
120994   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
120995   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
120996   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
120997   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
120998   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
120999   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121000 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121001    { (exit 1); exit 1; }; };;
121002   esac
121003 done
121004
121005 # If the user did not use the arguments to specify the items to instantiate,
121006 # then the envvar interface is used.  Set only those that are not.
121007 # We use the long form for the default assignment because of an extremely
121008 # bizarre bug on SunOS 4.1.3.
121009 if $ac_need_defaults; then
121010   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121011   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121012   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121013 fi
121014
121015 # Have a temporary directory for convenience.  Make it in the build tree
121016 # simply because there is no reason to put it here, and in addition,
121017 # creating and moving files from /tmp can sometimes cause problems.
121018 # Create a temporary directory, and hook for its removal unless debugging.
121019 $debug ||
121020 {
121021   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121022   trap '{ (exit 1); exit 1; }' 1 2 13 15
121023 }
121024
121025 # Create a (secure) tmp directory for tmp files.
121026
121027 {
121028   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121029   test -n "$tmp" && test -d "$tmp"
121030 }  ||
121031 {
121032   tmp=./confstat$$-$RANDOM
121033   (umask 077 && mkdir $tmp)
121034 } ||
121035 {
121036    echo "$me: cannot create a temporary directory in ." >&2
121037    { (exit 1); exit 1; }
121038 }
121039
121040 _ACEOF
121041
121042 cat >>$CONFIG_STATUS <<_ACEOF
121043
121044 #
121045 # CONFIG_FILES section.
121046 #
121047
121048 # No need to generate the scripts if there are no CONFIG_FILES.
121049 # This happens for instance when ./config.status config.h
121050 if test -n "\$CONFIG_FILES"; then
121051   # Protect against being on the right side of a sed subst in config.status.
121052   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121053    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121054 s,@SHELL@,$SHELL,;t t
121055 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121056 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121057 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121058 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121059 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121060 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121061 s,@exec_prefix@,$exec_prefix,;t t
121062 s,@prefix@,$prefix,;t t
121063 s,@program_transform_name@,$program_transform_name,;t t
121064 s,@bindir@,$bindir,;t t
121065 s,@sbindir@,$sbindir,;t t
121066 s,@libexecdir@,$libexecdir,;t t
121067 s,@datadir@,$datadir,;t t
121068 s,@sysconfdir@,$sysconfdir,;t t
121069 s,@sharedstatedir@,$sharedstatedir,;t t
121070 s,@localstatedir@,$localstatedir,;t t
121071 s,@libdir@,$libdir,;t t
121072 s,@includedir@,$includedir,;t t
121073 s,@oldincludedir@,$oldincludedir,;t t
121074 s,@infodir@,$infodir,;t t
121075 s,@mandir@,$mandir,;t t
121076 s,@build_alias@,$build_alias,;t t
121077 s,@host_alias@,$host_alias,;t t
121078 s,@target_alias@,$target_alias,;t t
121079 s,@DEFS@,$DEFS,;t t
121080 s,@ECHO_C@,$ECHO_C,;t t
121081 s,@ECHO_N@,$ECHO_N,;t t
121082 s,@ECHO_T@,$ECHO_T,;t t
121083 s,@LIBS@,$LIBS,;t t
121084 s,@libtool_VERSION@,$libtool_VERSION,;t t
121085 s,@multi_basedir@,$multi_basedir,;t t
121086 s,@build@,$build,;t t
121087 s,@build_cpu@,$build_cpu,;t t
121088 s,@build_vendor@,$build_vendor,;t t
121089 s,@build_os@,$build_os,;t t
121090 s,@host@,$host,;t t
121091 s,@host_cpu@,$host_cpu,;t t
121092 s,@host_vendor@,$host_vendor,;t t
121093 s,@host_os@,$host_os,;t t
121094 s,@target@,$target,;t t
121095 s,@target_cpu@,$target_cpu,;t t
121096 s,@target_vendor@,$target_vendor,;t t
121097 s,@target_os@,$target_os,;t t
121098 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121099 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121100 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121101 s,@CYGPATH_W@,$CYGPATH_W,;t t
121102 s,@PACKAGE@,$PACKAGE,;t t
121103 s,@VERSION@,$VERSION,;t t
121104 s,@ACLOCAL@,$ACLOCAL,;t t
121105 s,@AUTOCONF@,$AUTOCONF,;t t
121106 s,@AUTOMAKE@,$AUTOMAKE,;t t
121107 s,@AUTOHEADER@,$AUTOHEADER,;t t
121108 s,@MAKEINFO@,$MAKEINFO,;t t
121109 s,@install_sh@,$install_sh,;t t
121110 s,@STRIP@,$STRIP,;t t
121111 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121112 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121113 s,@mkdir_p@,$mkdir_p,;t t
121114 s,@AWK@,$AWK,;t t
121115 s,@SET_MAKE@,$SET_MAKE,;t t
121116 s,@am__leading_dot@,$am__leading_dot,;t t
121117 s,@AMTAR@,$AMTAR,;t t
121118 s,@am__tar@,$am__tar,;t t
121119 s,@am__untar@,$am__untar,;t t
121120 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121121 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121122 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121123 s,@CC@,$CC,;t t
121124 s,@ac_ct_CC@,$ac_ct_CC,;t t
121125 s,@EXEEXT@,$EXEEXT,;t t
121126 s,@OBJEXT@,$OBJEXT,;t t
121127 s,@CXX@,$CXX,;t t
121128 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121129 s,@CFLAGS@,$CFLAGS,;t t
121130 s,@CXXFLAGS@,$CXXFLAGS,;t t
121131 s,@LN_S@,$LN_S,;t t
121132 s,@AS@,$AS,;t t
121133 s,@ac_ct_AS@,$ac_ct_AS,;t t
121134 s,@AR@,$AR,;t t
121135 s,@ac_ct_AR@,$ac_ct_AR,;t t
121136 s,@RANLIB@,$RANLIB,;t t
121137 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121138 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121139 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121140 s,@MAINT@,$MAINT,;t t
121141 s,@CPP@,$CPP,;t t
121142 s,@CPPFLAGS@,$CPPFLAGS,;t t
121143 s,@EGREP@,$EGREP,;t t
121144 s,@LIBTOOL@,$LIBTOOL,;t t
121145 s,@SED@,$SED,;t t
121146 s,@FGREP@,$FGREP,;t t
121147 s,@GREP@,$GREP,;t t
121148 s,@LD@,$LD,;t t
121149 s,@DUMPBIN@,$DUMPBIN,;t t
121150 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121151 s,@NM@,$NM,;t t
121152 s,@lt_ECHO@,$lt_ECHO,;t t
121153 s,@LDFLAGS@,$LDFLAGS,;t t
121154 s,@CXXCPP@,$CXXCPP,;t t
121155 s,@enable_shared@,$enable_shared,;t t
121156 s,@enable_static@,$enable_static,;t t
121157 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121158 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121159 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121160 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121161 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121162 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121163 s,@WERROR@,$WERROR,;t t
121164 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121165 s,@CSTDIO_H@,$CSTDIO_H,;t t
121166 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121167 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121168 s,@check_msgfmt@,$check_msgfmt,;t t
121169 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121170 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121171 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121172 s,@USE_NLS@,$USE_NLS,;t t
121173 s,@CLOCALE_H@,$CLOCALE_H,;t t
121174 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121175 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121176 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121177 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121178 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121179 s,@CMONEY_CC@,$CMONEY_CC,;t t
121180 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121181 s,@CTIME_H@,$CTIME_H,;t t
121182 s,@CTIME_CC@,$CTIME_CC,;t t
121183 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121184 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121185 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121186 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121187 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121188 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121189 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121190 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121191 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121192 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121193 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121194 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121195 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121196 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121197 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121198 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121199 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121200 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121201 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121202 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121203 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121204 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121205 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121206 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121207 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
121208 s,@LIBICONV@,$LIBICONV,;t t
121209 s,@LTLIBICONV@,$LTLIBICONV,;t t
121210 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121211 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121212 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121213 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121214 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121215 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121216 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121217 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121218 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121219 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121220 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121221 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121222 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121223 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121224 s,@baseline_dir@,$baseline_dir,;t t
121225 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121226 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121227 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121228 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121229 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121230 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121231 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121232 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
121233 s,@gxx_include_dir@,$gxx_include_dir,;t t
121234 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
121235 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
121236 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
121237 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
121238 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
121239 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
121240 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
121241 s,@LIBOBJS@,$LIBOBJS,;t t
121242 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
121243 CEOF
121244
121245 _ACEOF
121246
121247   cat >>$CONFIG_STATUS <<\_ACEOF
121248   # Split the substitutions into bite-sized pieces for seds with
121249   # small command number limits, like on Digital OSF/1 and HP-UX.
121250   ac_max_sed_lines=48
121251   ac_sed_frag=1 # Number of current file.
121252   ac_beg=1 # First line for current file.
121253   ac_end=$ac_max_sed_lines # Line after last line for current file.
121254   ac_more_lines=:
121255   ac_sed_cmds=
121256   while $ac_more_lines; do
121257     if test $ac_beg -gt 1; then
121258       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121259     else
121260       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121261     fi
121262     if test ! -s $tmp/subs.frag; then
121263       ac_more_lines=false
121264     else
121265       # The purpose of the label and of the branching condition is to
121266       # speed up the sed processing (if there are no `@' at all, there
121267       # is no need to browse any of the substitutions).
121268       # These are the two extra sed commands mentioned above.
121269       (echo ':t
121270   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
121271       if test -z "$ac_sed_cmds"; then
121272         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
121273       else
121274         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
121275       fi
121276       ac_sed_frag=`expr $ac_sed_frag + 1`
121277       ac_beg=$ac_end
121278       ac_end=`expr $ac_end + $ac_max_sed_lines`
121279     fi
121280   done
121281   if test -z "$ac_sed_cmds"; then
121282     ac_sed_cmds=cat
121283   fi
121284 fi # test -n "$CONFIG_FILES"
121285
121286 _ACEOF
121287 cat >>$CONFIG_STATUS <<\_ACEOF
121288 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
121289   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121290   case $ac_file in
121291   - | *:- | *:-:* ) # input from stdin
121292         cat >$tmp/stdin
121293         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121294         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121295   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121296         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121297   * )   ac_file_in=$ac_file.in ;;
121298   esac
121299
121300   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
121301   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
121302 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121303          X"$ac_file" : 'X\(//\)[^/]' \| \
121304          X"$ac_file" : 'X\(//\)$' \| \
121305          X"$ac_file" : 'X\(/\)' \| \
121306          .     : '\(.\)' 2>/dev/null ||
121307 echo X"$ac_file" |
121308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121309           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121310           /^X\(\/\/\)$/{ s//\1/; q; }
121311           /^X\(\/\).*/{ s//\1/; q; }
121312           s/.*/./; q'`
121313   { if $as_mkdir_p; then
121314     mkdir -p "$ac_dir"
121315   else
121316     as_dir="$ac_dir"
121317     as_dirs=
121318     while test ! -d "$as_dir"; do
121319       as_dirs="$as_dir $as_dirs"
121320       as_dir=`(dirname "$as_dir") 2>/dev/null ||
121321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121322          X"$as_dir" : 'X\(//\)[^/]' \| \
121323          X"$as_dir" : 'X\(//\)$' \| \
121324          X"$as_dir" : 'X\(/\)' \| \
121325          .     : '\(.\)' 2>/dev/null ||
121326 echo X"$as_dir" |
121327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121328           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121329           /^X\(\/\/\)$/{ s//\1/; q; }
121330           /^X\(\/\).*/{ s//\1/; q; }
121331           s/.*/./; q'`
121332     done
121333     test ! -n "$as_dirs" || mkdir $as_dirs
121334   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121335 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121336    { (exit 1); exit 1; }; }; }
121337
121338   ac_builddir=.
121339
121340 if test "$ac_dir" != .; then
121341   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
121342   # A "../" for each directory in $ac_dir_suffix.
121343   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
121344 else
121345   ac_dir_suffix= ac_top_builddir=
121346 fi
121347
121348 case $srcdir in
121349   .)  # No --srcdir option.  We are building in place.
121350     ac_srcdir=.
121351     if test -z "$ac_top_builddir"; then
121352        ac_top_srcdir=.
121353     else
121354        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
121355     fi ;;
121356   [\\/]* | ?:[\\/]* )  # Absolute path.
121357     ac_srcdir=$srcdir$ac_dir_suffix;
121358     ac_top_srcdir=$srcdir ;;
121359   *) # Relative path.
121360     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
121361     ac_top_srcdir=$ac_top_builddir$srcdir ;;
121362 esac
121363
121364 # Do not use `cd foo && pwd` to compute absolute paths, because
121365 # the directories may not exist.
121366 case `pwd` in
121367 .) ac_abs_builddir="$ac_dir";;
121368 *)
121369   case "$ac_dir" in
121370   .) ac_abs_builddir=`pwd`;;
121371   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
121372   *) ac_abs_builddir=`pwd`/"$ac_dir";;
121373   esac;;
121374 esac
121375 case $ac_abs_builddir in
121376 .) ac_abs_top_builddir=${ac_top_builddir}.;;
121377 *)
121378   case ${ac_top_builddir}. in
121379   .) ac_abs_top_builddir=$ac_abs_builddir;;
121380   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
121381   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
121382   esac;;
121383 esac
121384 case $ac_abs_builddir in
121385 .) ac_abs_srcdir=$ac_srcdir;;
121386 *)
121387   case $ac_srcdir in
121388   .) ac_abs_srcdir=$ac_abs_builddir;;
121389   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
121390   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
121391   esac;;
121392 esac
121393 case $ac_abs_builddir in
121394 .) ac_abs_top_srcdir=$ac_top_srcdir;;
121395 *)
121396   case $ac_top_srcdir in
121397   .) ac_abs_top_srcdir=$ac_abs_builddir;;
121398   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
121399   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
121400   esac;;
121401 esac
121402
121403
121404   case $INSTALL in
121405   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
121406   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
121407   esac
121408
121409   if test x"$ac_file" != x-; then
121410     { echo "$as_me:$LINENO: creating $ac_file" >&5
121411 echo "$as_me: creating $ac_file" >&6;}
121412     rm -f "$ac_file"
121413   fi
121414   # Let's still pretend it is `configure' which instantiates (i.e., don't
121415   # use $as_me), people would be surprised to read:
121416   #    /* config.h.  Generated by config.status.  */
121417   if test x"$ac_file" = x-; then
121418     configure_input=
121419   else
121420     configure_input="$ac_file.  "
121421   fi
121422   configure_input=$configure_input"Generated from `echo $ac_file_in |
121423                                      sed 's,.*/,,'` by configure."
121424
121425   # First look for the input files in the build tree, otherwise in the
121426   # src tree.
121427   ac_file_inputs=`IFS=:
121428     for f in $ac_file_in; do
121429       case $f in
121430       -) echo $tmp/stdin ;;
121431       [\\/$]*)
121432          # Absolute (can't be DOS-style, as IFS=:)
121433          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121434 echo "$as_me: error: cannot find input file: $f" >&2;}
121435    { (exit 1); exit 1; }; }
121436          echo "$f";;
121437       *) # Relative
121438          if test -f "$f"; then
121439            # Build tree
121440            echo "$f"
121441          elif test -f "$srcdir/$f"; then
121442            # Source tree
121443            echo "$srcdir/$f"
121444          else
121445            # /dev/null tree
121446            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121447 echo "$as_me: error: cannot find input file: $f" >&2;}
121448    { (exit 1); exit 1; }; }
121449          fi;;
121450       esac
121451     done` || { (exit 1); exit 1; }
121452 _ACEOF
121453 cat >>$CONFIG_STATUS <<_ACEOF
121454   sed "$ac_vpsub
121455 $extrasub
121456 _ACEOF
121457 cat >>$CONFIG_STATUS <<\_ACEOF
121458 :t
121459 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
121460 s,@configure_input@,$configure_input,;t t
121461 s,@srcdir@,$ac_srcdir,;t t
121462 s,@abs_srcdir@,$ac_abs_srcdir,;t t
121463 s,@top_srcdir@,$ac_top_srcdir,;t t
121464 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
121465 s,@builddir@,$ac_builddir,;t t
121466 s,@abs_builddir@,$ac_abs_builddir,;t t
121467 s,@top_builddir@,$ac_top_builddir,;t t
121468 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
121469 s,@INSTALL@,$ac_INSTALL,;t t
121470 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
121471   rm -f $tmp/stdin
121472   if test x"$ac_file" != x-; then
121473     mv $tmp/out $ac_file
121474   else
121475     cat $tmp/out
121476     rm -f $tmp/out
121477   fi
121478
121479   # Run the commands associated with the file.
121480   case $ac_file in
121481     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
121482   esac
121483 done
121484 _ACEOF
121485 cat >>$CONFIG_STATUS <<\_ACEOF
121486
121487 #
121488 # CONFIG_HEADER section.
121489 #
121490
121491 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
121492 # NAME is the cpp macro being defined and VALUE is the value it is being given.
121493 #
121494 # ac_d sets the value in "#define NAME VALUE" lines.
121495 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
121496 ac_dB='[         ].*$,\1#\2'
121497 ac_dC=' '
121498 ac_dD=',;t'
121499 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
121500 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
121501 ac_uB='$,\1#\2define\3'
121502 ac_uC=' '
121503 ac_uD=',;t'
121504
121505 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
121506   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121507   case $ac_file in
121508   - | *:- | *:-:* ) # input from stdin
121509         cat >$tmp/stdin
121510         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121511         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121512   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121513         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121514   * )   ac_file_in=$ac_file.in ;;
121515   esac
121516
121517   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
121518 echo "$as_me: creating $ac_file" >&6;}
121519
121520   # First look for the input files in the build tree, otherwise in the
121521   # src tree.
121522   ac_file_inputs=`IFS=:
121523     for f in $ac_file_in; do
121524       case $f in
121525       -) echo $tmp/stdin ;;
121526       [\\/$]*)
121527          # Absolute (can't be DOS-style, as IFS=:)
121528          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121529 echo "$as_me: error: cannot find input file: $f" >&2;}
121530    { (exit 1); exit 1; }; }
121531          # Do quote $f, to prevent DOS paths from being IFS'd.
121532          echo "$f";;
121533       *) # Relative
121534          if test -f "$f"; then
121535            # Build tree
121536            echo "$f"
121537          elif test -f "$srcdir/$f"; then
121538            # Source tree
121539            echo "$srcdir/$f"
121540          else
121541            # /dev/null tree
121542            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121543 echo "$as_me: error: cannot find input file: $f" >&2;}
121544    { (exit 1); exit 1; }; }
121545          fi;;
121546       esac
121547     done` || { (exit 1); exit 1; }
121548   # Remove the trailing spaces.
121549   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
121550
121551 _ACEOF
121552
121553 # Transform confdefs.h into two sed scripts, `conftest.defines' and
121554 # `conftest.undefs', that substitutes the proper values into
121555 # config.h.in to produce config.h.  The first handles `#define'
121556 # templates, and the second `#undef' templates.
121557 # And first: Protect against being on the right side of a sed subst in
121558 # config.status.  Protect against being in an unquoted here document
121559 # in config.status.
121560 rm -f conftest.defines conftest.undefs
121561 # Using a here document instead of a string reduces the quoting nightmare.
121562 # Putting comments in sed scripts is not portable.
121563 #
121564 # `end' is used to avoid that the second main sed command (meant for
121565 # 0-ary CPP macros) applies to n-ary macro definitions.
121566 # See the Autoconf documentation for `clear'.
121567 cat >confdef2sed.sed <<\_ACEOF
121568 s/[\\&,]/\\&/g
121569 s,[\\$`],\\&,g
121570 t clear
121571 : clear
121572 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
121573 t end
121574 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
121575 : end
121576 _ACEOF
121577 # If some macros were called several times there might be several times
121578 # the same #defines, which is useless.  Nevertheless, we may not want to
121579 # sort them, since we want the *last* AC-DEFINE to be honored.
121580 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
121581 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
121582 rm -f confdef2sed.sed
121583
121584 # This sed command replaces #undef with comments.  This is necessary, for
121585 # example, in the case of _POSIX_SOURCE, which is predefined and required
121586 # on some systems where configure will not decide to define it.
121587 cat >>conftest.undefs <<\_ACEOF
121588 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
121589 _ACEOF
121590
121591 # Break up conftest.defines because some shells have a limit on the size
121592 # of here documents, and old seds have small limits too (100 cmds).
121593 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
121594 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
121595 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
121596 echo '  :' >>$CONFIG_STATUS
121597 rm -f conftest.tail
121598 while grep . conftest.defines >/dev/null
121599 do
121600   # Write a limited-size here document to $tmp/defines.sed.
121601   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
121602   # Speed up: don't consider the non `#define' lines.
121603   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
121604   # Work around the forget-to-reset-the-flag bug.
121605   echo 't clr' >>$CONFIG_STATUS
121606   echo ': clr' >>$CONFIG_STATUS
121607   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
121608   echo 'CEOF
121609   sed -f $tmp/defines.sed $tmp/in >$tmp/out
121610   rm -f $tmp/in
121611   mv $tmp/out $tmp/in
121612 ' >>$CONFIG_STATUS
121613   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
121614   rm -f conftest.defines
121615   mv conftest.tail conftest.defines
121616 done
121617 rm -f conftest.defines
121618 echo '  fi # grep' >>$CONFIG_STATUS
121619 echo >>$CONFIG_STATUS
121620
121621 # Break up conftest.undefs because some shells have a limit on the size
121622 # of here documents, and old seds have small limits too (100 cmds).
121623 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
121624 rm -f conftest.tail
121625 while grep . conftest.undefs >/dev/null
121626 do
121627   # Write a limited-size here document to $tmp/undefs.sed.
121628   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
121629   # Speed up: don't consider the non `#undef'
121630   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
121631   # Work around the forget-to-reset-the-flag bug.
121632   echo 't clr' >>$CONFIG_STATUS
121633   echo ': clr' >>$CONFIG_STATUS
121634   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
121635   echo 'CEOF
121636   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
121637   rm -f $tmp/in
121638   mv $tmp/out $tmp/in
121639 ' >>$CONFIG_STATUS
121640   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
121641   rm -f conftest.undefs
121642   mv conftest.tail conftest.undefs
121643 done
121644 rm -f conftest.undefs
121645
121646 cat >>$CONFIG_STATUS <<\_ACEOF
121647   # Let's still pretend it is `configure' which instantiates (i.e., don't
121648   # use $as_me), people would be surprised to read:
121649   #    /* config.h.  Generated by config.status.  */
121650   if test x"$ac_file" = x-; then
121651     echo "/* Generated by configure.  */" >$tmp/config.h
121652   else
121653     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
121654   fi
121655   cat $tmp/in >>$tmp/config.h
121656   rm -f $tmp/in
121657   if test x"$ac_file" != x-; then
121658     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
121659       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
121660 echo "$as_me: $ac_file is unchanged" >&6;}
121661     else
121662       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
121663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121664          X"$ac_file" : 'X\(//\)[^/]' \| \
121665          X"$ac_file" : 'X\(//\)$' \| \
121666          X"$ac_file" : 'X\(/\)' \| \
121667          .     : '\(.\)' 2>/dev/null ||
121668 echo X"$ac_file" |
121669     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121670           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121671           /^X\(\/\/\)$/{ s//\1/; q; }
121672           /^X\(\/\).*/{ s//\1/; q; }
121673           s/.*/./; q'`
121674       { if $as_mkdir_p; then
121675     mkdir -p "$ac_dir"
121676   else
121677     as_dir="$ac_dir"
121678     as_dirs=
121679     while test ! -d "$as_dir"; do
121680       as_dirs="$as_dir $as_dirs"
121681       as_dir=`(dirname "$as_dir") 2>/dev/null ||
121682 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121683          X"$as_dir" : 'X\(//\)[^/]' \| \
121684          X"$as_dir" : 'X\(//\)$' \| \
121685          X"$as_dir" : 'X\(/\)' \| \
121686          .     : '\(.\)' 2>/dev/null ||
121687 echo X"$as_dir" |
121688     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121689           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121690           /^X\(\/\/\)$/{ s//\1/; q; }
121691           /^X\(\/\).*/{ s//\1/; q; }
121692           s/.*/./; q'`
121693     done
121694     test ! -n "$as_dirs" || mkdir $as_dirs
121695   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121696 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121697    { (exit 1); exit 1; }; }; }
121698
121699       rm -f $ac_file
121700       mv $tmp/config.h $ac_file
121701     fi
121702   else
121703     cat $tmp/config.h
121704     rm -f $tmp/config.h
121705   fi
121706 # Compute $ac_file's index in $config_headers.
121707 _am_stamp_count=1
121708 for _am_header in $config_headers :; do
121709   case $_am_header in
121710     $ac_file | $ac_file:* )
121711       break ;;
121712     * )
121713       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
121714   esac
121715 done
121716 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
121717 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121718          X$ac_file : 'X\(//\)[^/]' \| \
121719          X$ac_file : 'X\(//\)$' \| \
121720          X$ac_file : 'X\(/\)' \| \
121721          .     : '\(.\)' 2>/dev/null ||
121722 echo X$ac_file |
121723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121724           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121725           /^X\(\/\/\)$/{ s//\1/; q; }
121726           /^X\(\/\).*/{ s//\1/; q; }
121727           s/.*/./; q'`/stamp-h$_am_stamp_count
121728 done
121729 _ACEOF
121730 cat >>$CONFIG_STATUS <<\_ACEOF
121731
121732 #
121733 # CONFIG_COMMANDS section.
121734 #
121735 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
121736   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
121737   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
121738   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
121739 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121740          X"$ac_dest" : 'X\(//\)[^/]' \| \
121741          X"$ac_dest" : 'X\(//\)$' \| \
121742          X"$ac_dest" : 'X\(/\)' \| \
121743          .     : '\(.\)' 2>/dev/null ||
121744 echo X"$ac_dest" |
121745     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121746           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121747           /^X\(\/\/\)$/{ s//\1/; q; }
121748           /^X\(\/\).*/{ s//\1/; q; }
121749           s/.*/./; q'`
121750   { if $as_mkdir_p; then
121751     mkdir -p "$ac_dir"
121752   else
121753     as_dir="$ac_dir"
121754     as_dirs=
121755     while test ! -d "$as_dir"; do
121756       as_dirs="$as_dir $as_dirs"
121757       as_dir=`(dirname "$as_dir") 2>/dev/null ||
121758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121759          X"$as_dir" : 'X\(//\)[^/]' \| \
121760          X"$as_dir" : 'X\(//\)$' \| \
121761          X"$as_dir" : 'X\(/\)' \| \
121762          .     : '\(.\)' 2>/dev/null ||
121763 echo X"$as_dir" |
121764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121765           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121766           /^X\(\/\/\)$/{ s//\1/; q; }
121767           /^X\(\/\).*/{ s//\1/; q; }
121768           s/.*/./; q'`
121769     done
121770     test ! -n "$as_dirs" || mkdir $as_dirs
121771   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121772 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121773    { (exit 1); exit 1; }; }; }
121774
121775   ac_builddir=.
121776
121777 if test "$ac_dir" != .; then
121778   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
121779   # A "../" for each directory in $ac_dir_suffix.
121780   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
121781 else
121782   ac_dir_suffix= ac_top_builddir=
121783 fi
121784
121785 case $srcdir in
121786   .)  # No --srcdir option.  We are building in place.
121787     ac_srcdir=.
121788     if test -z "$ac_top_builddir"; then
121789        ac_top_srcdir=.
121790     else
121791        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
121792     fi ;;
121793   [\\/]* | ?:[\\/]* )  # Absolute path.
121794     ac_srcdir=$srcdir$ac_dir_suffix;
121795     ac_top_srcdir=$srcdir ;;
121796   *) # Relative path.
121797     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
121798     ac_top_srcdir=$ac_top_builddir$srcdir ;;
121799 esac
121800
121801 # Do not use `cd foo && pwd` to compute absolute paths, because
121802 # the directories may not exist.
121803 case `pwd` in
121804 .) ac_abs_builddir="$ac_dir";;
121805 *)
121806   case "$ac_dir" in
121807   .) ac_abs_builddir=`pwd`;;
121808   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
121809   *) ac_abs_builddir=`pwd`/"$ac_dir";;
121810   esac;;
121811 esac
121812 case $ac_abs_builddir in
121813 .) ac_abs_top_builddir=${ac_top_builddir}.;;
121814 *)
121815   case ${ac_top_builddir}. in
121816   .) ac_abs_top_builddir=$ac_abs_builddir;;
121817   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
121818   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
121819   esac;;
121820 esac
121821 case $ac_abs_builddir in
121822 .) ac_abs_srcdir=$ac_srcdir;;
121823 *)
121824   case $ac_srcdir in
121825   .) ac_abs_srcdir=$ac_abs_builddir;;
121826   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
121827   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
121828   esac;;
121829 esac
121830 case $ac_abs_builddir in
121831 .) ac_abs_top_srcdir=$ac_top_srcdir;;
121832 *)
121833   case $ac_top_srcdir in
121834   .) ac_abs_top_srcdir=$ac_abs_builddir;;
121835   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
121836   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
121837   esac;;
121838 esac
121839
121840
121841   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
121842 echo "$as_me: executing $ac_dest commands" >&6;}
121843   case $ac_dest in
121844     default-1 )
121845 # Only add multilib support code if we just rebuilt the top-level
121846 # Makefile.
121847 case " $CONFIG_FILES " in
121848  *" Makefile "*)
121849    ac_file=Makefile . ${multi_basedir}/config-ml.in
121850    ;;
121851 esac ;;
121852     libtool )
121853
121854     # See if we are running on zsh, and set the options which allow our
121855     # commands through without removal of \ escapes.
121856     if test -n "${ZSH_VERSION+set}" ; then
121857       setopt NO_GLOB_SUBST
121858     fi
121859
121860     cfgfile="${ofile}T"
121861     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
121862     $RM "$cfgfile"
121863
121864     cat <<_LT_EOF >> "$cfgfile"
121865 #! $SHELL
121866
121867 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
121868 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
121869 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
121870 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
121871 #
121872 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
121873 # 2006, 2007 Free Software Foundation, Inc.
121874 #
121875 # This file is part of GNU Libtool:
121876 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
121877 #
121878 # This program is free software; you can redistribute it and/or modify
121879 # it under the terms of the GNU General Public License as published by
121880 # the Free Software Foundation; either version 2 of the License, or
121881 # (at your option) any later version.
121882 #
121883 # This program is distributed in the hope that it will be useful, but
121884 # WITHOUT ANY WARRANTY; without even the implied warranty of
121885 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
121886 # General Public License for more details.
121887 #
121888 # You should have received a copy of the GNU General Public License
121889 # along with this program; if not, a copy can be downloaded from
121890 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
121891 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
121892 # MA 02110-1301, USA.
121893 #
121894 # As a special exception to the GNU General Public License, if you
121895 # distribute this file as part of a program that contains a
121896 # configuration script generated by Autoconf, you may include it under
121897 # the same distribution terms that you use for the rest of that program.
121898
121899
121900 # The names of the tagged configurations supported by this script.
121901 available_tags="CXX "
121902
121903 # ### BEGIN LIBTOOL CONFIG
121904
121905 # Which release of libtool.m4 was used?
121906 macro_version=$macro_version
121907 macro_revision=$macro_revision
121908
121909 # Whether or not to build shared libraries.
121910 build_libtool_libs=$enable_shared
121911
121912 # Whether or not to build static libraries.
121913 build_old_libs=$enable_static
121914
121915 # What type of objects to build.
121916 pic_mode=$pic_mode
121917
121918 # Whether or not to optimize for fast installation.
121919 fast_install=$enable_fast_install
121920
121921 # The host system.
121922 host_alias=$host_alias
121923 host=$host
121924 host_os=$host_os
121925
121926 # The build system.
121927 build_alias=$build_alias
121928 build=$build
121929 build_os=$build_os
121930
121931 # A sed program that does not truncate output.
121932 SED=$lt_SED
121933
121934 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
121935 Xsed="\$SED -e 1s/^X//"
121936
121937 # A grep program that handles long lines.
121938 GREP=$lt_GREP
121939
121940 # An ERE matcher.
121941 EGREP=$lt_EGREP
121942
121943 # A literal string matcher.
121944 FGREP=$lt_FGREP
121945
121946 # A BSD- or MS-compatible name lister.
121947 NM=$lt_NM
121948
121949 # Whether we need soft or hard links.
121950 LN_S=$lt_LN_S
121951
121952 # What is the maximum length of a command?
121953 max_cmd_len=$max_cmd_len
121954
121955 # Object file suffix (normally "o").
121956 objext=$ac_objext
121957
121958 # Executable file suffix (normally "").
121959 exeext=$exeext
121960
121961 # whether the shell understands "unset".
121962 lt_unset=$lt_unset
121963
121964 # turn spaces into newlines.
121965 SP2NL=$lt_lt_SP2NL
121966
121967 # turn newlines into spaces.
121968 NL2SP=$lt_lt_NL2SP
121969
121970 # How to create reloadable object files.
121971 reload_flag=$lt_reload_flag
121972 reload_cmds=$lt_reload_cmds
121973
121974 # Method to check whether dependent libraries are shared objects.
121975 deplibs_check_method=$lt_deplibs_check_method
121976
121977 # Command to use when deplibs_check_method == "file_magic".
121978 file_magic_cmd=$lt_file_magic_cmd
121979
121980 # The archiver.
121981 AR=$lt_AR
121982 AR_FLAGS=$lt_AR_FLAGS
121983
121984 # A symbol stripping program.
121985 STRIP=$lt_STRIP
121986
121987 # Commands used to install an old-style archive.
121988 RANLIB=$lt_RANLIB
121989 old_postinstall_cmds=$lt_old_postinstall_cmds
121990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
121991
121992 # A C compiler.
121993 LTCC=$lt_CC
121994
121995 # LTCC compiler flags.
121996 LTCFLAGS=$lt_CFLAGS
121997
121998 # Take the output of nm and produce a listing of raw symbols and C names.
121999 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122000
122001 # Transform the output of nm in a proper C declaration.
122002 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122003
122004 # Transform the output of nm in a C name address pair.
122005 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122006
122007 # The name of the directory that contains temporary libtool files.
122008 objdir=$objdir
122009
122010 # Shell to use when invoking shell scripts.
122011 SHELL=$lt_SHELL
122012
122013 # An echo program that does not interpret backslashes.
122014 ECHO=$lt_ECHO
122015
122016 # Used to examine libraries when file_magic_cmd begins with "file".
122017 MAGIC_CMD=$MAGIC_CMD
122018
122019 # Must we lock files when doing compilation?
122020 need_locks=$lt_need_locks
122021
122022 # Old archive suffix (normally "a").
122023 libext=$libext
122024
122025 # Shared library suffix (normally ".so").
122026 shrext_cmds=$lt_shrext_cmds
122027
122028 # The commands to extract the exported symbol list from a shared archive.
122029 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122030
122031 # Variables whose values should be saved in libtool wrapper scripts and
122032 # restored at link time.
122033 variables_saved_for_relink=$lt_variables_saved_for_relink
122034
122035 # Do we need the "lib" prefix for modules?
122036 need_lib_prefix=$need_lib_prefix
122037
122038 # Do we need a version for libraries?
122039 need_version=$need_version
122040
122041 # Library versioning type.
122042 version_type=$version_type
122043
122044 # Shared library runtime path variable.
122045 runpath_var=$runpath_var
122046
122047 # Shared library path variable.
122048 shlibpath_var=$shlibpath_var
122049
122050 # Is shlibpath searched before the hard-coded library search path?
122051 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122052
122053 # Format of library name prefix.
122054 libname_spec=$lt_libname_spec
122055
122056 # List of archive names.  First name is the real one, the rest are links.
122057 # The last name is the one that the linker finds with -lNAME
122058 library_names_spec=$lt_library_names_spec
122059
122060 # The coded name of the library, if different from the real name.
122061 soname_spec=$lt_soname_spec
122062
122063 # Command to use after installation of a shared archive.
122064 postinstall_cmds=$lt_postinstall_cmds
122065
122066 # Command to use after uninstallation of a shared archive.
122067 postuninstall_cmds=$lt_postuninstall_cmds
122068
122069 # Commands used to finish a libtool library installation in a directory.
122070 finish_cmds=$lt_finish_cmds
122071
122072 # As "finish_cmds", except a single script fragment to be evaled but
122073 # not shown.
122074 finish_eval=$lt_finish_eval
122075
122076 # Whether we should hardcode library paths into libraries.
122077 hardcode_into_libs=$hardcode_into_libs
122078
122079 # Compile-time system search path for libraries.
122080 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122081
122082 # Run-time system search path for libraries.
122083 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122084
122085 # Whether dlopen is supported.
122086 dlopen_support=$enable_dlopen
122087
122088 # Whether dlopen of programs is supported.
122089 dlopen_self=$enable_dlopen_self
122090
122091 # Whether dlopen of statically linked programs is supported.
122092 dlopen_self_static=$enable_dlopen_self_static
122093
122094 # Commands to strip libraries.
122095 old_striplib=$lt_old_striplib
122096 striplib=$lt_striplib
122097
122098
122099 # The linker used to build libraries.
122100 LD=$lt_LD
122101
122102 # Commands used to build an old-style archive.
122103 old_archive_cmds=$lt_old_archive_cmds
122104
122105 # A language specific compiler.
122106 CC=$lt_compiler
122107
122108 # Is the compiler the GNU compiler?
122109 with_gcc=$GCC
122110
122111 # Compiler flag to turn off builtin functions.
122112 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122113
122114 # How to pass a linker flag through the compiler.
122115 wl=$lt_lt_prog_compiler_wl
122116
122117 # Additional compiler flags for building library objects.
122118 pic_flag=$lt_lt_prog_compiler_pic
122119
122120 # Compiler flag to prevent dynamic linking.
122121 link_static_flag=$lt_lt_prog_compiler_static
122122
122123 # Does compiler simultaneously support -c and -o options?
122124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122125
122126 # Whether or not to add -lc for building shared libraries.
122127 build_libtool_need_lc=$archive_cmds_need_lc
122128
122129 # Whether or not to disallow shared libs when runtime libs are static.
122130 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122131
122132 # Compiler flag to allow reflexive dlopens.
122133 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122134
122135 # Compiler flag to generate shared objects directly from archives.
122136 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122137
122138 # Whether the compiler copes with passing no objects directly.
122139 compiler_needs_object=$lt_compiler_needs_object
122140
122141 # Create an old-style archive from a shared archive.
122142 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122143
122144 # Create a temporary old-style archive to link instead of a shared archive.
122145 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122146
122147 # Commands used to build a shared archive.
122148 archive_cmds=$lt_archive_cmds
122149 archive_expsym_cmds=$lt_archive_expsym_cmds
122150
122151 # Commands used to build a loadable module if different from building
122152 # a shared archive.
122153 module_cmds=$lt_module_cmds
122154 module_expsym_cmds=$lt_module_expsym_cmds
122155
122156 # Whether we are building with GNU ld or not.
122157 with_gnu_ld=$lt_with_gnu_ld
122158
122159 # Flag that allows shared libraries with undefined symbols to be built.
122160 allow_undefined_flag=$lt_allow_undefined_flag
122161
122162 # Flag that enforces no undefined symbols.
122163 no_undefined_flag=$lt_no_undefined_flag
122164
122165 # Flag to hardcode \$libdir into a binary during linking.
122166 # This must work even if \$libdir does not exist
122167 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122168
122169 # If ld is used when linking, flag to hardcode \$libdir into a binary
122170 # during linking.  This must work even if \$libdir does not exist.
122171 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122172
122173 # Whether we need a single "-rpath" flag with a separated argument.
122174 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122175
122176 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122177 # DIR into the resulting binary.
122178 hardcode_direct=$hardcode_direct
122179
122180 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122181 # DIR into the resulting binary and the resulting library dependency is
122182 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122183 # library is relocated.
122184 hardcode_direct_absolute=$hardcode_direct_absolute
122185
122186 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122187 # into the resulting binary.
122188 hardcode_minus_L=$hardcode_minus_L
122189
122190 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122191 # into the resulting binary.
122192 hardcode_shlibpath_var=$hardcode_shlibpath_var
122193
122194 # Set to "yes" if building a shared library automatically hardcodes DIR
122195 # into the library and all subsequent libraries and executables linked
122196 # against it.
122197 hardcode_automatic=$hardcode_automatic
122198
122199 # Set to yes if linker adds runtime paths of dependent libraries
122200 # to runtime path list.
122201 inherit_rpath=$inherit_rpath
122202
122203 # Whether libtool must link a program against all its dependency libraries.
122204 link_all_deplibs=$link_all_deplibs
122205
122206 # Fix the shell variable \$srcfile for the compiler.
122207 fix_srcfile_path=$lt_fix_srcfile_path
122208
122209 # Set to "yes" if exported symbols are required.
122210 always_export_symbols=$always_export_symbols
122211
122212 # The commands to list exported symbols.
122213 export_symbols_cmds=$lt_export_symbols_cmds
122214
122215 # Symbols that should not be listed in the preloaded symbols.
122216 exclude_expsyms=$lt_exclude_expsyms
122217
122218 # Symbols that must always be exported.
122219 include_expsyms=$lt_include_expsyms
122220
122221 # Commands necessary for linking programs (against libraries) with templates.
122222 prelink_cmds=$lt_prelink_cmds
122223
122224 # Specify filename containing input files.
122225 file_list_spec=$lt_file_list_spec
122226
122227 # How to hardcode a shared library path into an executable.
122228 hardcode_action=$hardcode_action
122229
122230 # Dependencies to place before and after the objects being linked to
122231 # create a shared library.
122232 predep_objects=$lt_predep_objects
122233 postdep_objects=$lt_postdep_objects
122234 predeps=$lt_predeps
122235 postdeps=$lt_postdeps
122236
122237 # The library search path used internally by the compiler when linking
122238 # a shared library.
122239 compiler_lib_search_path=$lt_compiler_lib_search_path
122240
122241 # ### END LIBTOOL CONFIG
122242
122243 _LT_EOF
122244
122245   case $host_os in
122246   aix3*)
122247     cat <<\_LT_EOF >> "$cfgfile"
122248 # AIX sometimes has problems with the GCC collect2 program.  For some
122249 # reason, if we set the COLLECT_NAMES environment variable, the problems
122250 # vanish in a puff of smoke.
122251 if test "X${COLLECT_NAMES+set}" != Xset; then
122252   COLLECT_NAMES=
122253   export COLLECT_NAMES
122254 fi
122255 _LT_EOF
122256     ;;
122257   esac
122258
122259
122260 ltmain="$ac_aux_dir/ltmain.sh"
122261
122262
122263   # We use sed instead of cat because bash on DJGPP gets confused if
122264   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
122265   # text mode, it properly converts lines to CR/LF.  This bash problem
122266   # is reportedly fixed, but why not run on old versions too?
122267   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
122268     || (rm -f "$cfgfile"; exit 1)
122269
122270   case $xsi_shell in
122271   yes)
122272     cat << \_LT_EOF >> "$cfgfile"
122273 # func_dirname file append nondir_replacement
122274 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
122275 # otherwise set result to NONDIR_REPLACEMENT.
122276 func_dirname ()
122277 {
122278   case ${1} in
122279     */*) func_dirname_result="${1%/*}${2}" ;;
122280     *  ) func_dirname_result="${3}" ;;
122281   esac
122282 }
122283
122284 # func_basename file
122285 func_basename ()
122286 {
122287   func_basename_result="${1##*/}"
122288 }
122289
122290 # func_stripname prefix suffix name
122291 # strip PREFIX and SUFFIX off of NAME.
122292 # PREFIX and SUFFIX must not contain globbing or regex special
122293 # characters, hashes, percent signs, but SUFFIX may contain a leading
122294 # dot (in which case that matches only a dot).
122295 func_stripname ()
122296 {
122297   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
122298   # positional parameters, so assign one to ordinary parameter first.
122299   func_stripname_result=${3}
122300   func_stripname_result=${func_stripname_result#"${1}"}
122301   func_stripname_result=${func_stripname_result%"${2}"}
122302 }
122303
122304 # func_opt_split
122305 func_opt_split ()
122306 {
122307   func_opt_split_opt=${1%%=*}
122308   func_opt_split_arg=${1#*=}
122309 }
122310
122311 # func_lo2o object
122312 func_lo2o ()
122313 {
122314   case ${1} in
122315     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
122316     *)    func_lo2o_result=${1} ;;
122317   esac
122318 }
122319 _LT_EOF
122320     ;;
122321   *) # Bourne compatible functions.
122322     cat << \_LT_EOF >> "$cfgfile"
122323 # func_dirname file append nondir_replacement
122324 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
122325 # otherwise set result to NONDIR_REPLACEMENT.
122326 func_dirname ()
122327 {
122328   # Extract subdirectory from the argument.
122329   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
122330   if test "X$func_dirname_result" = "X${1}"; then
122331     func_dirname_result="${3}"
122332   else
122333     func_dirname_result="$func_dirname_result${2}"
122334   fi
122335 }
122336
122337 # func_basename file
122338 func_basename ()
122339 {
122340   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
122341 }
122342
122343 # func_stripname prefix suffix name
122344 # strip PREFIX and SUFFIX off of NAME.
122345 # PREFIX and SUFFIX must not contain globbing or regex special
122346 # characters, hashes, percent signs, but SUFFIX may contain a leading
122347 # dot (in which case that matches only a dot).
122348 # func_strip_suffix prefix name
122349 func_stripname ()
122350 {
122351   case ${2} in
122352     .*) func_stripname_result=`$ECHO "X${3}" \
122353            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
122354     *)  func_stripname_result=`$ECHO "X${3}" \
122355            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
122356   esac
122357 }
122358
122359 # sed scripts:
122360 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
122361 my_sed_long_arg='1s/^-[^=]*=//'
122362
122363 # func_opt_split
122364 func_opt_split ()
122365 {
122366   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
122367   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
122368 }
122369
122370 # func_lo2o object
122371 func_lo2o ()
122372 {
122373   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
122374 }
122375 _LT_EOF
122376 esac
122377
122378 case $lt_shell_append in
122379   yes)
122380     cat << \_LT_EOF >> "$cfgfile"
122381
122382 # func_append var value
122383 # Append VALUE to the end of shell variable VAR.
122384 func_append ()
122385 {
122386   eval "$1+=\$2"
122387 }
122388 _LT_EOF
122389     ;;
122390   *)
122391     cat << \_LT_EOF >> "$cfgfile"
122392
122393 # func_append var value
122394 # Append VALUE to the end of shell variable VAR.
122395 func_append ()
122396 {
122397   eval "$1=\$$1\$2"
122398 }
122399 _LT_EOF
122400     ;;
122401   esac
122402
122403
122404   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
122405     || (rm -f "$cfgfile"; exit 1)
122406
122407   mv -f "$cfgfile" "$ofile" ||
122408     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
122409   chmod +x "$ofile"
122410
122411
122412     cat <<_LT_EOF >> "$ofile"
122413
122414 # ### BEGIN LIBTOOL TAG CONFIG: CXX
122415
122416 # The linker used to build libraries.
122417 LD=$lt_LD_CXX
122418
122419 # Commands used to build an old-style archive.
122420 old_archive_cmds=$lt_old_archive_cmds_CXX
122421
122422 # A language specific compiler.
122423 CC=$lt_compiler_CXX
122424
122425 # Is the compiler the GNU compiler?
122426 with_gcc=$GCC_CXX
122427
122428 # Compiler flag to turn off builtin functions.
122429 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
122430
122431 # How to pass a linker flag through the compiler.
122432 wl=$lt_lt_prog_compiler_wl_CXX
122433
122434 # Additional compiler flags for building library objects.
122435 pic_flag=$lt_lt_prog_compiler_pic_CXX
122436
122437 # Compiler flag to prevent dynamic linking.
122438 link_static_flag=$lt_lt_prog_compiler_static_CXX
122439
122440 # Does compiler simultaneously support -c and -o options?
122441 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
122442
122443 # Whether or not to add -lc for building shared libraries.
122444 build_libtool_need_lc=$archive_cmds_need_lc_CXX
122445
122446 # Whether or not to disallow shared libs when runtime libs are static.
122447 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
122448
122449 # Compiler flag to allow reflexive dlopens.
122450 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
122451
122452 # Compiler flag to generate shared objects directly from archives.
122453 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
122454
122455 # Whether the compiler copes with passing no objects directly.
122456 compiler_needs_object=$lt_compiler_needs_object_CXX
122457
122458 # Create an old-style archive from a shared archive.
122459 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
122460
122461 # Create a temporary old-style archive to link instead of a shared archive.
122462 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
122463
122464 # Commands used to build a shared archive.
122465 archive_cmds=$lt_archive_cmds_CXX
122466 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
122467
122468 # Commands used to build a loadable module if different from building
122469 # a shared archive.
122470 module_cmds=$lt_module_cmds_CXX
122471 module_expsym_cmds=$lt_module_expsym_cmds_CXX
122472
122473 # Whether we are building with GNU ld or not.
122474 with_gnu_ld=$lt_with_gnu_ld_CXX
122475
122476 # Flag that allows shared libraries with undefined symbols to be built.
122477 allow_undefined_flag=$lt_allow_undefined_flag_CXX
122478
122479 # Flag that enforces no undefined symbols.
122480 no_undefined_flag=$lt_no_undefined_flag_CXX
122481
122482 # Flag to hardcode \$libdir into a binary during linking.
122483 # This must work even if \$libdir does not exist
122484 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
122485
122486 # If ld is used when linking, flag to hardcode \$libdir into a binary
122487 # during linking.  This must work even if \$libdir does not exist.
122488 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
122489
122490 # Whether we need a single "-rpath" flag with a separated argument.
122491 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
122492
122493 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122494 # DIR into the resulting binary.
122495 hardcode_direct=$hardcode_direct_CXX
122496
122497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122498 # DIR into the resulting binary and the resulting library dependency is
122499 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122500 # library is relocated.
122501 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
122502
122503 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122504 # into the resulting binary.
122505 hardcode_minus_L=$hardcode_minus_L_CXX
122506
122507 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122508 # into the resulting binary.
122509 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
122510
122511 # Set to "yes" if building a shared library automatically hardcodes DIR
122512 # into the library and all subsequent libraries and executables linked
122513 # against it.
122514 hardcode_automatic=$hardcode_automatic_CXX
122515
122516 # Set to yes if linker adds runtime paths of dependent libraries
122517 # to runtime path list.
122518 inherit_rpath=$inherit_rpath_CXX
122519
122520 # Whether libtool must link a program against all its dependency libraries.
122521 link_all_deplibs=$link_all_deplibs_CXX
122522
122523 # Fix the shell variable \$srcfile for the compiler.
122524 fix_srcfile_path=$lt_fix_srcfile_path_CXX
122525
122526 # Set to "yes" if exported symbols are required.
122527 always_export_symbols=$always_export_symbols_CXX
122528
122529 # The commands to list exported symbols.
122530 export_symbols_cmds=$lt_export_symbols_cmds_CXX
122531
122532 # Symbols that should not be listed in the preloaded symbols.
122533 exclude_expsyms=$lt_exclude_expsyms_CXX
122534
122535 # Symbols that must always be exported.
122536 include_expsyms=$lt_include_expsyms_CXX
122537
122538 # Commands necessary for linking programs (against libraries) with templates.
122539 prelink_cmds=$lt_prelink_cmds_CXX
122540
122541 # Specify filename containing input files.
122542 file_list_spec=$lt_file_list_spec_CXX
122543
122544 # How to hardcode a shared library path into an executable.
122545 hardcode_action=$hardcode_action_CXX
122546
122547 # Dependencies to place before and after the objects being linked to
122548 # create a shared library.
122549 predep_objects=$lt_predep_objects_CXX
122550 postdep_objects=$lt_postdep_objects_CXX
122551 predeps=$lt_predeps_CXX
122552 postdeps=$lt_postdeps_CXX
122553
122554 # The library search path used internally by the compiler when linking
122555 # a shared library.
122556 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
122557
122558 # ### END LIBTOOL TAG CONFIG: CXX
122559 _LT_EOF
122560
122561  ;;
122562     include/gstdint.h )
122563 if test "$GCC" = yes; then
122564   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
122565 else
122566   echo "/* generated for $CC */" > tmp-stdint.h
122567 fi
122568
122569 sed 's/^ *//' >> tmp-stdint.h <<EOF
122570
122571   #ifndef GCC_GENERATED_STDINT_H
122572   #define GCC_GENERATED_STDINT_H 1
122573
122574   #include <sys/types.h>
122575 EOF
122576
122577 if test "$acx_cv_header_stdint" != stdint.h; then
122578   echo "#include <stddef.h>" >> tmp-stdint.h
122579 fi
122580 if test "$acx_cv_header_stdint" != stddef.h; then
122581   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
122582 fi
122583
122584 sed 's/^ *//' >> tmp-stdint.h <<EOF
122585   /* glibc uses these symbols as guards to prevent redefinitions.  */
122586   #ifdef __int8_t_defined
122587   #define _INT8_T
122588   #define _INT16_T
122589   #define _INT32_T
122590   #endif
122591   #ifdef __uint32_t_defined
122592   #define _UINT32_T
122593   #endif
122594
122595 EOF
122596
122597 # ----------------- done header, emit basic int types -------------
122598 if test "$acx_cv_header_stdint" = stddef.h; then
122599   sed 's/^ *//' >> tmp-stdint.h <<EOF
122600
122601     #ifndef _UINT8_T
122602     #define _UINT8_T
122603     #ifndef __uint8_t_defined
122604     #define __uint8_t_defined
122605     typedef unsigned $acx_cv_type_int8_t uint8_t;
122606     #endif
122607     #endif
122608
122609     #ifndef _UINT16_T
122610     #define _UINT16_T
122611     #ifndef __uint16_t_defined
122612     #define __uint16_t_defined
122613     typedef unsigned $acx_cv_type_int16_t uint16_t;
122614     #endif
122615     #endif
122616
122617     #ifndef _UINT32_T
122618     #define _UINT32_T
122619     #ifndef __uint32_t_defined
122620     #define __uint32_t_defined
122621     typedef unsigned $acx_cv_type_int32_t uint32_t;
122622     #endif
122623     #endif
122624
122625     #ifndef _INT8_T
122626     #define _INT8_T
122627     #ifndef __int8_t_defined
122628     #define __int8_t_defined
122629     typedef $acx_cv_type_int8_t int8_t;
122630     #endif
122631     #endif
122632
122633     #ifndef _INT16_T
122634     #define _INT16_T
122635     #ifndef __int16_t_defined
122636     #define __int16_t_defined
122637     typedef $acx_cv_type_int16_t int16_t;
122638     #endif
122639     #endif
122640
122641     #ifndef _INT32_T
122642     #define _INT32_T
122643     #ifndef __int32_t_defined
122644     #define __int32_t_defined
122645     typedef $acx_cv_type_int32_t int32_t;
122646     #endif
122647     #endif
122648 EOF
122649 elif test "$ac_cv_type_u_int32_t" = yes; then
122650   sed 's/^ *//' >> tmp-stdint.h <<EOF
122651
122652     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
122653     #ifndef _INT8_T
122654     #define _INT8_T
122655     #endif
122656     #ifndef _INT16_T
122657     #define _INT16_T
122658     #endif
122659     #ifndef _INT32_T
122660     #define _INT32_T
122661     #endif
122662
122663     #ifndef _UINT8_T
122664     #define _UINT8_T
122665     #ifndef __uint8_t_defined
122666     #define __uint8_t_defined
122667     typedef u_int8_t uint8_t;
122668     #endif
122669     #endif
122670
122671     #ifndef _UINT16_T
122672     #define _UINT16_T
122673     #ifndef __uint16_t_defined
122674     #define __uint16_t_defined
122675     typedef u_int16_t uint16_t;
122676     #endif
122677     #endif
122678
122679     #ifndef _UINT32_T
122680     #define _UINT32_T
122681     #ifndef __uint32_t_defined
122682     #define __uint32_t_defined
122683     typedef u_int32_t uint32_t;
122684     #endif
122685     #endif
122686 EOF
122687 else
122688   sed 's/^ *//' >> tmp-stdint.h <<EOF
122689
122690     /* Some systems have guard macros to prevent redefinitions, define them.  */
122691     #ifndef _INT8_T
122692     #define _INT8_T
122693     #endif
122694     #ifndef _INT16_T
122695     #define _INT16_T
122696     #endif
122697     #ifndef _INT32_T
122698     #define _INT32_T
122699     #endif
122700     #ifndef _UINT8_T
122701     #define _UINT8_T
122702     #endif
122703     #ifndef _UINT16_T
122704     #define _UINT16_T
122705     #endif
122706     #ifndef _UINT32_T
122707     #define _UINT32_T
122708     #endif
122709 EOF
122710 fi
122711
122712 # ------------- done basic int types, emit int64_t types ------------
122713 if test "$ac_cv_type_uint64_t" = yes; then
122714   sed 's/^ *//' >> tmp-stdint.h <<EOF
122715
122716     /* system headers have good uint64_t and int64_t */
122717     #ifndef _INT64_T
122718     #define _INT64_T
122719     #endif
122720     #ifndef _UINT64_T
122721     #define _UINT64_T
122722     #endif
122723 EOF
122724 elif test "$ac_cv_type_u_int64_t" = yes; then
122725   sed 's/^ *//' >> tmp-stdint.h <<EOF
122726
122727     /* system headers have an u_int64_t (and int64_t) */
122728     #ifndef _INT64_T
122729     #define _INT64_T
122730     #endif
122731     #ifndef _UINT64_T
122732     #define _UINT64_T
122733     #ifndef __uint64_t_defined
122734     #define __uint64_t_defined
122735     typedef u_int64_t uint64_t;
122736     #endif
122737     #endif
122738 EOF
122739 elif test -n "$acx_cv_type_int64_t"; then
122740   sed 's/^ *//' >> tmp-stdint.h <<EOF
122741
122742     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
122743     #ifndef _INT64_T
122744     #define _INT64_T
122745     typedef $acx_cv_type_int64_t int64_t;
122746     #endif
122747     #ifndef _UINT64_T
122748     #define _UINT64_T
122749     #ifndef __uint64_t_defined
122750     #define __uint64_t_defined
122751     typedef unsigned $acx_cv_type_int64_t uint64_t;
122752     #endif
122753     #endif
122754 EOF
122755 else
122756   sed 's/^ *//' >> tmp-stdint.h <<EOF
122757
122758     /* some common heuristics for int64_t, using compiler-specific tests */
122759     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
122760     #ifndef _INT64_T
122761     #define _INT64_T
122762     #ifndef __int64_t_defined
122763     typedef long long int64_t;
122764     #endif
122765     #endif
122766     #ifndef _UINT64_T
122767     #define _UINT64_T
122768     typedef unsigned long long uint64_t;
122769     #endif
122770
122771     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
122772     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
122773        does not implement __extension__.  But that compiler doesn't define
122774        __GNUC_MINOR__.  */
122775     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
122776     # define __extension__
122777     # endif
122778
122779     # ifndef _INT64_T
122780     # define _INT64_T
122781     __extension__ typedef long long int64_t;
122782     # endif
122783     # ifndef _UINT64_T
122784     # define _UINT64_T
122785     __extension__ typedef unsigned long long uint64_t;
122786     # endif
122787
122788     #elif !defined __STRICT_ANSI__
122789     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
122790
122791     #  ifndef _INT64_T
122792     #  define _INT64_T
122793     typedef __int64 int64_t;
122794     #  endif
122795     #  ifndef _UINT64_T
122796     #  define _UINT64_T
122797     typedef unsigned __int64 uint64_t;
122798     #  endif
122799     # endif /* compiler */
122800
122801     #endif /* ANSI version */
122802 EOF
122803 fi
122804
122805 # ------------- done int64_t types, emit intptr types ------------
122806 if test "$ac_cv_type_uintptr_t" != yes; then
122807   sed 's/^ *//' >> tmp-stdint.h <<EOF
122808
122809     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
122810     #ifndef __uintptr_t_defined
122811     typedef u$acx_cv_type_intptr_t uintptr_t;
122812     #endif
122813     #ifndef __intptr_t_defined
122814     typedef $acx_cv_type_intptr_t  intptr_t;
122815     #endif
122816 EOF
122817 fi
122818
122819 # ------------- done intptr types, emit int_least types ------------
122820 if test "$ac_cv_type_int_least32_t" != yes; then
122821   sed 's/^ *//' >> tmp-stdint.h <<EOF
122822
122823     /* Define int_least types */
122824     typedef int8_t     int_least8_t;
122825     typedef int16_t    int_least16_t;
122826     typedef int32_t    int_least32_t;
122827     #ifdef _INT64_T
122828     typedef int64_t    int_least64_t;
122829     #endif
122830
122831     typedef uint8_t    uint_least8_t;
122832     typedef uint16_t   uint_least16_t;
122833     typedef uint32_t   uint_least32_t;
122834     #ifdef _UINT64_T
122835     typedef uint64_t   uint_least64_t;
122836     #endif
122837 EOF
122838 fi
122839
122840 # ------------- done intptr types, emit int_fast types ------------
122841 if test "$ac_cv_type_int_fast32_t" != yes; then
122842       sed 's/^ *//' >> tmp-stdint.h <<EOF
122843
122844     /* Define int_fast types.  short is often slow */
122845     typedef int8_t       int_fast8_t;
122846     typedef int          int_fast16_t;
122847     typedef int32_t      int_fast32_t;
122848     #ifdef _INT64_T
122849     typedef int64_t      int_fast64_t;
122850     #endif
122851
122852     typedef uint8_t      uint_fast8_t;
122853     typedef unsigned int uint_fast16_t;
122854     typedef uint32_t     uint_fast32_t;
122855     #ifdef _UINT64_T
122856     typedef uint64_t     uint_fast64_t;
122857     #endif
122858 EOF
122859 fi
122860
122861 if test "$ac_cv_type_uintmax_t" != yes; then
122862   sed 's/^ *//' >> tmp-stdint.h <<EOF
122863
122864     /* Define intmax based on what we found */
122865     #ifdef _INT64_T
122866     typedef int64_t       intmax_t;
122867     #else
122868     typedef long          intmax_t;
122869     #endif
122870     #ifdef _UINT64_T
122871     typedef uint64_t      uintmax_t;
122872     #else
122873     typedef unsigned long uintmax_t;
122874     #endif
122875 EOF
122876 fi
122877
122878 sed 's/^ *//' >> tmp-stdint.h <<EOF
122879
122880   #endif /* GCC_GENERATED_STDINT_H */
122881 EOF
122882
122883 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
122884   rm -f tmp-stdint.h
122885 else
122886   mv -f tmp-stdint.h include/gstdint.h
122887 fi
122888
122889  ;;
122890     default ) if test -n "$CONFIG_FILES"; then
122891    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
122892    # that multilib installs will end up installed in the correct place.
122893    # The testsuite needs it for multilib-aware ABI baseline files.
122894    # To work around this not being passed down from config-ml.in ->
122895    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
122896    # append it here.  Only modify Makefiles that have just been created.
122897    #
122898    # Also, get rid of this simulated-VPATH thing that automake does.
122899    cat > vpsed << \_EOF
122900 s!`test -f '$<' || echo '$(srcdir)/'`!!
122901 _EOF
122902    for i in $SUBDIRS; do
122903     case $CONFIG_FILES in
122904      *${i}/Makefile*)
122905        #echo "Adding MULTISUBDIR to $i/Makefile"
122906        sed -f vpsed $i/Makefile > tmp
122907        grep '^MULTISUBDIR =' Makefile >> tmp
122908        mv tmp $i/Makefile
122909        ;;
122910     esac
122911    done
122912    rm vpsed
122913  fi
122914  (cd include && ${MAKE-make})
122915  ;;
122916   esac
122917 done
122918 _ACEOF
122919
122920 cat >>$CONFIG_STATUS <<\_ACEOF
122921
122922 { (exit 0); exit 0; }
122923 _ACEOF
122924 chmod +x $CONFIG_STATUS
122925 ac_clean_files=$ac_clean_files_save
122926
122927
122928 # configure is writing to config.log, and then calls config.status.
122929 # config.status does its own redirection, appending to config.log.
122930 # Unfortunately, on DOS this fails, as config.log is still kept open
122931 # by configure, so config.status won't be able to write to it; its
122932 # output is simply discarded.  So we exec the FD to /dev/null,
122933 # effectively closing config.log, so it can be properly (re)opened and
122934 # appended to by config.status.  When coming back to configure, we
122935 # need to make the FD available again.
122936 if test "$no_create" != yes; then
122937   ac_cs_success=:
122938   ac_config_status_args=
122939   test "$silent" = yes &&
122940     ac_config_status_args="$ac_config_status_args --quiet"
122941   exec 5>/dev/null
122942   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
122943   exec 5>>config.log
122944   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
122945   # would make configure fail if this is the last instruction.
122946   $ac_cs_success || { (exit 1); exit 1; }
122947 fi
122948